diff --git a/clients/client-accessanalyzer/commands/CreateAnalyzerCommand.ts b/clients/client-accessanalyzer/commands/CreateAnalyzerCommand.ts index 0e9d573cfaae..c4cf3ca91536 100644 --- a/clients/client-accessanalyzer/commands/CreateAnalyzerCommand.ts +++ b/clients/client-accessanalyzer/commands/CreateAnalyzerCommand.ts @@ -28,7 +28,6 @@ export class CreateAnalyzerCommand extends $Command< CreateAnalyzerCommandOutput, AccessAnalyzerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateAnalyzerCommand extends $Command< configuration: AccessAnalyzerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-accessanalyzer/commands/CreateArchiveRuleCommand.ts b/clients/client-accessanalyzer/commands/CreateArchiveRuleCommand.ts index 4880b643e7e1..95c9acc5213f 100644 --- a/clients/client-accessanalyzer/commands/CreateArchiveRuleCommand.ts +++ b/clients/client-accessanalyzer/commands/CreateArchiveRuleCommand.ts @@ -29,7 +29,6 @@ export class CreateArchiveRuleCommand extends $Command< CreateArchiveRuleCommandOutput, AccessAnalyzerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateArchiveRuleCommand extends $Command< configuration: AccessAnalyzerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-accessanalyzer/commands/DeleteAnalyzerCommand.ts b/clients/client-accessanalyzer/commands/DeleteAnalyzerCommand.ts index a0e6670228fb..f7962e96f045 100644 --- a/clients/client-accessanalyzer/commands/DeleteAnalyzerCommand.ts +++ b/clients/client-accessanalyzer/commands/DeleteAnalyzerCommand.ts @@ -30,7 +30,6 @@ export class DeleteAnalyzerCommand extends $Command< DeleteAnalyzerCommandOutput, AccessAnalyzerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteAnalyzerCommand extends $Command< configuration: AccessAnalyzerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-accessanalyzer/commands/DeleteArchiveRuleCommand.ts b/clients/client-accessanalyzer/commands/DeleteArchiveRuleCommand.ts index 6027599f85a3..c8fb52a0cc75 100644 --- a/clients/client-accessanalyzer/commands/DeleteArchiveRuleCommand.ts +++ b/clients/client-accessanalyzer/commands/DeleteArchiveRuleCommand.ts @@ -28,7 +28,6 @@ export class DeleteArchiveRuleCommand extends $Command< DeleteArchiveRuleCommandOutput, AccessAnalyzerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteArchiveRuleCommand extends $Command< configuration: AccessAnalyzerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-accessanalyzer/commands/GetAnalyzedResourceCommand.ts b/clients/client-accessanalyzer/commands/GetAnalyzedResourceCommand.ts index 26f5ad3b9bce..ff5a0206b04d 100644 --- a/clients/client-accessanalyzer/commands/GetAnalyzedResourceCommand.ts +++ b/clients/client-accessanalyzer/commands/GetAnalyzedResourceCommand.ts @@ -28,7 +28,6 @@ export class GetAnalyzedResourceCommand extends $Command< GetAnalyzedResourceCommandOutput, AccessAnalyzerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetAnalyzedResourceCommand extends $Command< configuration: AccessAnalyzerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-accessanalyzer/commands/GetAnalyzerCommand.ts b/clients/client-accessanalyzer/commands/GetAnalyzerCommand.ts index 7fb7bd5edbf7..6df89f35a040 100644 --- a/clients/client-accessanalyzer/commands/GetAnalyzerCommand.ts +++ b/clients/client-accessanalyzer/commands/GetAnalyzerCommand.ts @@ -28,7 +28,6 @@ export class GetAnalyzerCommand extends $Command< GetAnalyzerCommandOutput, AccessAnalyzerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetAnalyzerCommand extends $Command< configuration: AccessAnalyzerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-accessanalyzer/commands/GetArchiveRuleCommand.ts b/clients/client-accessanalyzer/commands/GetArchiveRuleCommand.ts index 8ed170f98d54..7f0e2c7b9c88 100644 --- a/clients/client-accessanalyzer/commands/GetArchiveRuleCommand.ts +++ b/clients/client-accessanalyzer/commands/GetArchiveRuleCommand.ts @@ -28,7 +28,6 @@ export class GetArchiveRuleCommand extends $Command< GetArchiveRuleCommandOutput, AccessAnalyzerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetArchiveRuleCommand extends $Command< configuration: AccessAnalyzerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-accessanalyzer/commands/GetFindingCommand.ts b/clients/client-accessanalyzer/commands/GetFindingCommand.ts index 5cf77f21a82f..137da3b10fb0 100644 --- a/clients/client-accessanalyzer/commands/GetFindingCommand.ts +++ b/clients/client-accessanalyzer/commands/GetFindingCommand.ts @@ -28,7 +28,6 @@ export class GetFindingCommand extends $Command< GetFindingCommandOutput, AccessAnalyzerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetFindingCommand extends $Command< configuration: AccessAnalyzerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-accessanalyzer/commands/ListAnalyzedResourcesCommand.ts b/clients/client-accessanalyzer/commands/ListAnalyzedResourcesCommand.ts index 7399c44792e4..217c10bf9c4e 100644 --- a/clients/client-accessanalyzer/commands/ListAnalyzedResourcesCommand.ts +++ b/clients/client-accessanalyzer/commands/ListAnalyzedResourcesCommand.ts @@ -29,7 +29,6 @@ export class ListAnalyzedResourcesCommand extends $Command< ListAnalyzedResourcesCommandOutput, AccessAnalyzerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListAnalyzedResourcesCommand extends $Command< configuration: AccessAnalyzerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-accessanalyzer/commands/ListAnalyzersCommand.ts b/clients/client-accessanalyzer/commands/ListAnalyzersCommand.ts index 3f3256ac4560..7492aeeb4eb1 100644 --- a/clients/client-accessanalyzer/commands/ListAnalyzersCommand.ts +++ b/clients/client-accessanalyzer/commands/ListAnalyzersCommand.ts @@ -28,7 +28,6 @@ export class ListAnalyzersCommand extends $Command< ListAnalyzersCommandOutput, AccessAnalyzerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListAnalyzersCommand extends $Command< configuration: AccessAnalyzerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-accessanalyzer/commands/ListArchiveRulesCommand.ts b/clients/client-accessanalyzer/commands/ListArchiveRulesCommand.ts index 111d65a1515b..8e00f5711926 100644 --- a/clients/client-accessanalyzer/commands/ListArchiveRulesCommand.ts +++ b/clients/client-accessanalyzer/commands/ListArchiveRulesCommand.ts @@ -28,7 +28,6 @@ export class ListArchiveRulesCommand extends $Command< ListArchiveRulesCommandOutput, AccessAnalyzerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListArchiveRulesCommand extends $Command< configuration: AccessAnalyzerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-accessanalyzer/commands/ListFindingsCommand.ts b/clients/client-accessanalyzer/commands/ListFindingsCommand.ts index 601cb2b523b2..16458a951e1f 100644 --- a/clients/client-accessanalyzer/commands/ListFindingsCommand.ts +++ b/clients/client-accessanalyzer/commands/ListFindingsCommand.ts @@ -28,7 +28,6 @@ export class ListFindingsCommand extends $Command< ListFindingsCommandOutput, AccessAnalyzerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListFindingsCommand extends $Command< configuration: AccessAnalyzerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-accessanalyzer/commands/ListTagsForResourceCommand.ts b/clients/client-accessanalyzer/commands/ListTagsForResourceCommand.ts index e63be2f51e3c..d2cf31955018 100644 --- a/clients/client-accessanalyzer/commands/ListTagsForResourceCommand.ts +++ b/clients/client-accessanalyzer/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, AccessAnalyzerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: AccessAnalyzerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-accessanalyzer/commands/StartResourceScanCommand.ts b/clients/client-accessanalyzer/commands/StartResourceScanCommand.ts index 330fb86c93fe..3898570a2db5 100644 --- a/clients/client-accessanalyzer/commands/StartResourceScanCommand.ts +++ b/clients/client-accessanalyzer/commands/StartResourceScanCommand.ts @@ -28,7 +28,6 @@ export class StartResourceScanCommand extends $Command< StartResourceScanCommandOutput, AccessAnalyzerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StartResourceScanCommand extends $Command< configuration: AccessAnalyzerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-accessanalyzer/commands/TagResourceCommand.ts b/clients/client-accessanalyzer/commands/TagResourceCommand.ts index c13645dd0e36..2574b24af84c 100644 --- a/clients/client-accessanalyzer/commands/TagResourceCommand.ts +++ b/clients/client-accessanalyzer/commands/TagResourceCommand.ts @@ -28,7 +28,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, AccessAnalyzerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class TagResourceCommand extends $Command< configuration: AccessAnalyzerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-accessanalyzer/commands/UntagResourceCommand.ts b/clients/client-accessanalyzer/commands/UntagResourceCommand.ts index d37c511892b8..a24b783f606f 100644 --- a/clients/client-accessanalyzer/commands/UntagResourceCommand.ts +++ b/clients/client-accessanalyzer/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, AccessAnalyzerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: AccessAnalyzerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-accessanalyzer/commands/UpdateArchiveRuleCommand.ts b/clients/client-accessanalyzer/commands/UpdateArchiveRuleCommand.ts index 07f61b753a8e..b42076113ebd 100644 --- a/clients/client-accessanalyzer/commands/UpdateArchiveRuleCommand.ts +++ b/clients/client-accessanalyzer/commands/UpdateArchiveRuleCommand.ts @@ -28,7 +28,6 @@ export class UpdateArchiveRuleCommand extends $Command< UpdateArchiveRuleCommandOutput, AccessAnalyzerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateArchiveRuleCommand extends $Command< configuration: AccessAnalyzerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-accessanalyzer/commands/UpdateFindingsCommand.ts b/clients/client-accessanalyzer/commands/UpdateFindingsCommand.ts index a1b1d87f36bf..3622800d8d27 100644 --- a/clients/client-accessanalyzer/commands/UpdateFindingsCommand.ts +++ b/clients/client-accessanalyzer/commands/UpdateFindingsCommand.ts @@ -28,7 +28,6 @@ export class UpdateFindingsCommand extends $Command< UpdateFindingsCommandOutput, AccessAnalyzerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateFindingsCommand extends $Command< configuration: AccessAnalyzerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-acm-pca/commands/CreateCertificateAuthorityAuditReportCommand.ts b/clients/client-acm-pca/commands/CreateCertificateAuthorityAuditReportCommand.ts index 064835a7d231..0943a720b406 100644 --- a/clients/client-acm-pca/commands/CreateCertificateAuthorityAuditReportCommand.ts +++ b/clients/client-acm-pca/commands/CreateCertificateAuthorityAuditReportCommand.ts @@ -47,7 +47,6 @@ export class CreateCertificateAuthorityAuditReportCommand extends $Command< CreateCertificateAuthorityAuditReportCommandOutput, ACMPCAClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -65,10 +64,7 @@ export class CreateCertificateAuthorityAuditReportCommand extends $Command< configuration: ACMPCAClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-acm-pca/commands/CreateCertificateAuthorityCommand.ts b/clients/client-acm-pca/commands/CreateCertificateAuthorityCommand.ts index b07c08a0ec90..a89461417484 100644 --- a/clients/client-acm-pca/commands/CreateCertificateAuthorityCommand.ts +++ b/clients/client-acm-pca/commands/CreateCertificateAuthorityCommand.ts @@ -46,7 +46,6 @@ export class CreateCertificateAuthorityCommand extends $Command< CreateCertificateAuthorityCommandOutput, ACMPCAClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -64,10 +63,7 @@ export class CreateCertificateAuthorityCommand extends $Command< configuration: ACMPCAClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-acm-pca/commands/CreatePermissionCommand.ts b/clients/client-acm-pca/commands/CreatePermissionCommand.ts index 000531925623..837fcac3b851 100644 --- a/clients/client-acm-pca/commands/CreatePermissionCommand.ts +++ b/clients/client-acm-pca/commands/CreatePermissionCommand.ts @@ -54,7 +54,6 @@ export class CreatePermissionCommand extends $Command< CreatePermissionCommandOutput, ACMPCAClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -72,10 +71,7 @@ export class CreatePermissionCommand extends $Command< configuration: ACMPCAClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-acm-pca/commands/DeleteCertificateAuthorityCommand.ts b/clients/client-acm-pca/commands/DeleteCertificateAuthorityCommand.ts index af410c139f03..2f5a3fb2fdc4 100644 --- a/clients/client-acm-pca/commands/DeleteCertificateAuthorityCommand.ts +++ b/clients/client-acm-pca/commands/DeleteCertificateAuthorityCommand.ts @@ -47,7 +47,6 @@ export class DeleteCertificateAuthorityCommand extends $Command< DeleteCertificateAuthorityCommandOutput, ACMPCAClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -65,10 +64,7 @@ export class DeleteCertificateAuthorityCommand extends $Command< configuration: ACMPCAClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-acm-pca/commands/DeletePermissionCommand.ts b/clients/client-acm-pca/commands/DeletePermissionCommand.ts index 4ce1693fff88..5e1ca0761cce 100644 --- a/clients/client-acm-pca/commands/DeletePermissionCommand.ts +++ b/clients/client-acm-pca/commands/DeletePermissionCommand.ts @@ -56,7 +56,6 @@ export class DeletePermissionCommand extends $Command< DeletePermissionCommandOutput, ACMPCAClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -74,10 +73,7 @@ export class DeletePermissionCommand extends $Command< configuration: ACMPCAClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-acm-pca/commands/DeletePolicyCommand.ts b/clients/client-acm-pca/commands/DeletePolicyCommand.ts index e87081297307..acaa1a896184 100644 --- a/clients/client-acm-pca/commands/DeletePolicyCommand.ts +++ b/clients/client-acm-pca/commands/DeletePolicyCommand.ts @@ -62,7 +62,6 @@ export class DeletePolicyCommand extends $Command< DeletePolicyCommandOutput, ACMPCAClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -80,10 +79,7 @@ export class DeletePolicyCommand extends $Command< configuration: ACMPCAClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-acm-pca/commands/DescribeCertificateAuthorityAuditReportCommand.ts b/clients/client-acm-pca/commands/DescribeCertificateAuthorityAuditReportCommand.ts index a72eeab10d5c..d07d2497d37e 100644 --- a/clients/client-acm-pca/commands/DescribeCertificateAuthorityAuditReportCommand.ts +++ b/clients/client-acm-pca/commands/DescribeCertificateAuthorityAuditReportCommand.ts @@ -35,7 +35,6 @@ export class DescribeCertificateAuthorityAuditReportCommand extends $Command< DescribeCertificateAuthorityAuditReportCommandOutput, ACMPCAClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class DescribeCertificateAuthorityAuditReportCommand extends $Command< DescribeCertificateAuthorityAuditReportCommandInput, DescribeCertificateAuthorityAuditReportCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-acm-pca/commands/DescribeCertificateAuthorityCommand.ts b/clients/client-acm-pca/commands/DescribeCertificateAuthorityCommand.ts index 35b9816cf73b..df2d7bc6f8c7 100644 --- a/clients/client-acm-pca/commands/DescribeCertificateAuthorityCommand.ts +++ b/clients/client-acm-pca/commands/DescribeCertificateAuthorityCommand.ts @@ -68,7 +68,6 @@ export class DescribeCertificateAuthorityCommand extends $Command< DescribeCertificateAuthorityCommandOutput, ACMPCAClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -86,10 +85,7 @@ export class DescribeCertificateAuthorityCommand extends $Command< configuration: ACMPCAClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-acm-pca/commands/GetCertificateAuthorityCertificateCommand.ts b/clients/client-acm-pca/commands/GetCertificateAuthorityCertificateCommand.ts index 9b3707f2c670..e2c0c8177443 100644 --- a/clients/client-acm-pca/commands/GetCertificateAuthorityCertificateCommand.ts +++ b/clients/client-acm-pca/commands/GetCertificateAuthorityCertificateCommand.ts @@ -35,7 +35,6 @@ export class GetCertificateAuthorityCertificateCommand extends $Command< GetCertificateAuthorityCertificateCommandOutput, ACMPCAClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class GetCertificateAuthorityCertificateCommand extends $Command< configuration: ACMPCAClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-acm-pca/commands/GetCertificateAuthorityCsrCommand.ts b/clients/client-acm-pca/commands/GetCertificateAuthorityCsrCommand.ts index ae860b468d83..2af37292766b 100644 --- a/clients/client-acm-pca/commands/GetCertificateAuthorityCsrCommand.ts +++ b/clients/client-acm-pca/commands/GetCertificateAuthorityCsrCommand.ts @@ -32,7 +32,6 @@ export class GetCertificateAuthorityCsrCommand extends $Command< GetCertificateAuthorityCsrCommandOutput, ACMPCAClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetCertificateAuthorityCsrCommand extends $Command< configuration: ACMPCAClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-acm-pca/commands/GetCertificateCommand.ts b/clients/client-acm-pca/commands/GetCertificateCommand.ts index 7b20c7cf0079..b6a38e1ba150 100644 --- a/clients/client-acm-pca/commands/GetCertificateCommand.ts +++ b/clients/client-acm-pca/commands/GetCertificateCommand.ts @@ -35,7 +35,6 @@ export class GetCertificateCommand extends $Command< GetCertificateCommandOutput, ACMPCAClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class GetCertificateCommand extends $Command< configuration: ACMPCAClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-acm-pca/commands/GetPolicyCommand.ts b/clients/client-acm-pca/commands/GetPolicyCommand.ts index b19060ea46de..2a39d7151547 100644 --- a/clients/client-acm-pca/commands/GetPolicyCommand.ts +++ b/clients/client-acm-pca/commands/GetPolicyCommand.ts @@ -55,7 +55,6 @@ export class GetPolicyCommand extends $Command< GetPolicyCommandOutput, ACMPCAClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -73,10 +72,7 @@ export class GetPolicyCommand extends $Command< configuration: ACMPCAClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-acm-pca/commands/ImportCertificateAuthorityCertificateCommand.ts b/clients/client-acm-pca/commands/ImportCertificateAuthorityCertificateCommand.ts index 9605d5a2aa2f..209607ea6521 100644 --- a/clients/client-acm-pca/commands/ImportCertificateAuthorityCertificateCommand.ts +++ b/clients/client-acm-pca/commands/ImportCertificateAuthorityCertificateCommand.ts @@ -142,7 +142,6 @@ export class ImportCertificateAuthorityCertificateCommand extends $Command< ImportCertificateAuthorityCertificateCommandOutput, ACMPCAClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -160,10 +159,7 @@ export class ImportCertificateAuthorityCertificateCommand extends $Command< configuration: ACMPCAClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-acm-pca/commands/IssueCertificateCommand.ts b/clients/client-acm-pca/commands/IssueCertificateCommand.ts index 58791e958d3e..75131c8d05a2 100644 --- a/clients/client-acm-pca/commands/IssueCertificateCommand.ts +++ b/clients/client-acm-pca/commands/IssueCertificateCommand.ts @@ -36,7 +36,6 @@ export class IssueCertificateCommand extends $Command< IssueCertificateCommandOutput, ACMPCAClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class IssueCertificateCommand extends $Command< configuration: ACMPCAClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-acm-pca/commands/ListCertificateAuthoritiesCommand.ts b/clients/client-acm-pca/commands/ListCertificateAuthoritiesCommand.ts index bbd995cd7653..d62ea457a36b 100644 --- a/clients/client-acm-pca/commands/ListCertificateAuthoritiesCommand.ts +++ b/clients/client-acm-pca/commands/ListCertificateAuthoritiesCommand.ts @@ -28,7 +28,6 @@ export class ListCertificateAuthoritiesCommand extends $Command< ListCertificateAuthoritiesCommandOutput, ACMPCAClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListCertificateAuthoritiesCommand extends $Command< configuration: ACMPCAClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-acm-pca/commands/ListPermissionsCommand.ts b/clients/client-acm-pca/commands/ListPermissionsCommand.ts index 7b463b9ff9eb..55fb4f6cfce7 100644 --- a/clients/client-acm-pca/commands/ListPermissionsCommand.ts +++ b/clients/client-acm-pca/commands/ListPermissionsCommand.ts @@ -55,7 +55,6 @@ export class ListPermissionsCommand extends $Command< ListPermissionsCommandOutput, ACMPCAClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -73,10 +72,7 @@ export class ListPermissionsCommand extends $Command< configuration: ACMPCAClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-acm-pca/commands/ListTagsCommand.ts b/clients/client-acm-pca/commands/ListTagsCommand.ts index bac9599b6c89..058952c9f830 100644 --- a/clients/client-acm-pca/commands/ListTagsCommand.ts +++ b/clients/client-acm-pca/commands/ListTagsCommand.ts @@ -24,7 +24,6 @@ export type ListTagsCommandOutput = ListTagsResponse & __MetadataBearer; * action to add one or more tags to your CA. Call the UntagCertificateAuthority action to remove tags.

*/ export class ListTagsCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -42,10 +41,7 @@ export class ListTagsCommand extends $Command { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-acm-pca/commands/PutPolicyCommand.ts b/clients/client-acm-pca/commands/PutPolicyCommand.ts index 3321c6b79493..f66915d0e116 100644 --- a/clients/client-acm-pca/commands/PutPolicyCommand.ts +++ b/clients/client-acm-pca/commands/PutPolicyCommand.ts @@ -56,7 +56,6 @@ export class PutPolicyCommand extends $Command< PutPolicyCommandOutput, ACMPCAClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -74,10 +73,7 @@ export class PutPolicyCommand extends $Command< configuration: ACMPCAClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-acm-pca/commands/RestoreCertificateAuthorityCommand.ts b/clients/client-acm-pca/commands/RestoreCertificateAuthorityCommand.ts index c82d47f645da..5dfed12faf88 100644 --- a/clients/client-acm-pca/commands/RestoreCertificateAuthorityCommand.ts +++ b/clients/client-acm-pca/commands/RestoreCertificateAuthorityCommand.ts @@ -38,7 +38,6 @@ export class RestoreCertificateAuthorityCommand extends $Command< RestoreCertificateAuthorityCommandOutput, ACMPCAClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class RestoreCertificateAuthorityCommand extends $Command< configuration: ACMPCAClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-acm-pca/commands/RevokeCertificateCommand.ts b/clients/client-acm-pca/commands/RevokeCertificateCommand.ts index 5bdd5ede7b1c..7ee626a1ed43 100644 --- a/clients/client-acm-pca/commands/RevokeCertificateCommand.ts +++ b/clients/client-acm-pca/commands/RevokeCertificateCommand.ts @@ -47,7 +47,6 @@ export class RevokeCertificateCommand extends $Command< RevokeCertificateCommandOutput, ACMPCAClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -65,10 +64,7 @@ export class RevokeCertificateCommand extends $Command< configuration: ACMPCAClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-acm-pca/commands/TagCertificateAuthorityCommand.ts b/clients/client-acm-pca/commands/TagCertificateAuthorityCommand.ts index 97281b21d999..50ab521ef697 100644 --- a/clients/client-acm-pca/commands/TagCertificateAuthorityCommand.ts +++ b/clients/client-acm-pca/commands/TagCertificateAuthorityCommand.ts @@ -35,7 +35,6 @@ export class TagCertificateAuthorityCommand extends $Command< TagCertificateAuthorityCommandOutput, ACMPCAClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class TagCertificateAuthorityCommand extends $Command< configuration: ACMPCAClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-acm-pca/commands/UntagCertificateAuthorityCommand.ts b/clients/client-acm-pca/commands/UntagCertificateAuthorityCommand.ts index 7d6dd1db02e5..f9afb1353c3c 100644 --- a/clients/client-acm-pca/commands/UntagCertificateAuthorityCommand.ts +++ b/clients/client-acm-pca/commands/UntagCertificateAuthorityCommand.ts @@ -32,7 +32,6 @@ export class UntagCertificateAuthorityCommand extends $Command< UntagCertificateAuthorityCommandOutput, ACMPCAClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class UntagCertificateAuthorityCommand extends $Command< configuration: ACMPCAClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-acm-pca/commands/UpdateCertificateAuthorityCommand.ts b/clients/client-acm-pca/commands/UpdateCertificateAuthorityCommand.ts index e07d9e505606..78e8d9670bfb 100644 --- a/clients/client-acm-pca/commands/UpdateCertificateAuthorityCommand.ts +++ b/clients/client-acm-pca/commands/UpdateCertificateAuthorityCommand.ts @@ -38,7 +38,6 @@ export class UpdateCertificateAuthorityCommand extends $Command< UpdateCertificateAuthorityCommandOutput, ACMPCAClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class UpdateCertificateAuthorityCommand extends $Command< configuration: ACMPCAClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-acm/commands/AddTagsToCertificateCommand.ts b/clients/client-acm/commands/AddTagsToCertificateCommand.ts index f659394ab89f..e40ab7316cc8 100644 --- a/clients/client-acm/commands/AddTagsToCertificateCommand.ts +++ b/clients/client-acm/commands/AddTagsToCertificateCommand.ts @@ -43,7 +43,6 @@ export class AddTagsToCertificateCommand extends $Command< AddTagsToCertificateCommandOutput, ACMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -61,10 +60,7 @@ export class AddTagsToCertificateCommand extends $Command< configuration: ACMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-acm/commands/DeleteCertificateCommand.ts b/clients/client-acm/commands/DeleteCertificateCommand.ts index 83be8a3824e4..35c39075d301 100644 --- a/clients/client-acm/commands/DeleteCertificateCommand.ts +++ b/clients/client-acm/commands/DeleteCertificateCommand.ts @@ -35,7 +35,6 @@ export class DeleteCertificateCommand extends $Command< DeleteCertificateCommandOutput, ACMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DeleteCertificateCommand extends $Command< configuration: ACMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-acm/commands/DescribeCertificateCommand.ts b/clients/client-acm/commands/DescribeCertificateCommand.ts index a58d43d6d347..9209ed603f63 100644 --- a/clients/client-acm/commands/DescribeCertificateCommand.ts +++ b/clients/client-acm/commands/DescribeCertificateCommand.ts @@ -28,7 +28,6 @@ export class DescribeCertificateCommand extends $Command< DescribeCertificateCommandOutput, ACMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeCertificateCommand extends $Command< configuration: ACMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-acm/commands/ExportCertificateCommand.ts b/clients/client-acm/commands/ExportCertificateCommand.ts index d9754314b08a..905d60e8bd2c 100644 --- a/clients/client-acm/commands/ExportCertificateCommand.ts +++ b/clients/client-acm/commands/ExportCertificateCommand.ts @@ -34,7 +34,6 @@ export class ExportCertificateCommand extends $Command< ExportCertificateCommandOutput, ACMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class ExportCertificateCommand extends $Command< configuration: ACMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-acm/commands/GetCertificateCommand.ts b/clients/client-acm/commands/GetCertificateCommand.ts index 06ce4133110d..78169092af9f 100644 --- a/clients/client-acm/commands/GetCertificateCommand.ts +++ b/clients/client-acm/commands/GetCertificateCommand.ts @@ -31,7 +31,6 @@ export class GetCertificateCommand extends $Command< GetCertificateCommandOutput, ACMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class GetCertificateCommand extends $Command< configuration: ACMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-acm/commands/ImportCertificateCommand.ts b/clients/client-acm/commands/ImportCertificateCommand.ts index 31b11962cb32..cd004d535ba1 100644 --- a/clients/client-acm/commands/ImportCertificateCommand.ts +++ b/clients/client-acm/commands/ImportCertificateCommand.ts @@ -96,7 +96,6 @@ export class ImportCertificateCommand extends $Command< ImportCertificateCommandOutput, ACMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -114,10 +113,7 @@ export class ImportCertificateCommand extends $Command< configuration: ACMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-acm/commands/ListCertificatesCommand.ts b/clients/client-acm/commands/ListCertificatesCommand.ts index 4ad792ea9b2f..3c6e5c05d274 100644 --- a/clients/client-acm/commands/ListCertificatesCommand.ts +++ b/clients/client-acm/commands/ListCertificatesCommand.ts @@ -31,7 +31,6 @@ export class ListCertificatesCommand extends $Command< ListCertificatesCommandOutput, ACMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ListCertificatesCommand extends $Command< configuration: ACMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-acm/commands/ListTagsForCertificateCommand.ts b/clients/client-acm/commands/ListTagsForCertificateCommand.ts index 4d4bbd9ed35b..0736c702ed4e 100644 --- a/clients/client-acm/commands/ListTagsForCertificateCommand.ts +++ b/clients/client-acm/commands/ListTagsForCertificateCommand.ts @@ -30,7 +30,6 @@ export class ListTagsForCertificateCommand extends $Command< ListTagsForCertificateCommandOutput, ACMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListTagsForCertificateCommand extends $Command< configuration: ACMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-acm/commands/RemoveTagsFromCertificateCommand.ts b/clients/client-acm/commands/RemoveTagsFromCertificateCommand.ts index 90dceef7e98b..3d3056043775 100644 --- a/clients/client-acm/commands/RemoveTagsFromCertificateCommand.ts +++ b/clients/client-acm/commands/RemoveTagsFromCertificateCommand.ts @@ -34,7 +34,6 @@ export class RemoveTagsFromCertificateCommand extends $Command< RemoveTagsFromCertificateCommandOutput, ACMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class RemoveTagsFromCertificateCommand extends $Command< configuration: ACMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-acm/commands/RenewCertificateCommand.ts b/clients/client-acm/commands/RenewCertificateCommand.ts index 80fa0cb32817..45c4617c37a0 100644 --- a/clients/client-acm/commands/RenewCertificateCommand.ts +++ b/clients/client-acm/commands/RenewCertificateCommand.ts @@ -32,7 +32,6 @@ export class RenewCertificateCommand extends $Command< RenewCertificateCommandOutput, ACMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class RenewCertificateCommand extends $Command< configuration: ACMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-acm/commands/RequestCertificateCommand.ts b/clients/client-acm/commands/RequestCertificateCommand.ts index 4c10ec002ed7..5dfb1bacbe75 100644 --- a/clients/client-acm/commands/RequestCertificateCommand.ts +++ b/clients/client-acm/commands/RequestCertificateCommand.ts @@ -37,7 +37,6 @@ export class RequestCertificateCommand extends $Command< RequestCertificateCommandOutput, ACMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class RequestCertificateCommand extends $Command< configuration: ACMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-acm/commands/ResendValidationEmailCommand.ts b/clients/client-acm/commands/ResendValidationEmailCommand.ts index f012146e0316..f9e324c99f1b 100644 --- a/clients/client-acm/commands/ResendValidationEmailCommand.ts +++ b/clients/client-acm/commands/ResendValidationEmailCommand.ts @@ -36,7 +36,6 @@ export class ResendValidationEmailCommand extends $Command< ResendValidationEmailCommandOutput, ACMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class ResendValidationEmailCommand extends $Command< configuration: ACMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-acm/commands/UpdateCertificateOptionsCommand.ts b/clients/client-acm/commands/UpdateCertificateOptionsCommand.ts index 1839a9eefe91..cd01eda9978a 100644 --- a/clients/client-acm/commands/UpdateCertificateOptionsCommand.ts +++ b/clients/client-acm/commands/UpdateCertificateOptionsCommand.ts @@ -31,7 +31,6 @@ export class UpdateCertificateOptionsCommand extends $Command< UpdateCertificateOptionsCommandOutput, ACMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class UpdateCertificateOptionsCommand extends $Command< configuration: ACMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/ApproveSkillCommand.ts b/clients/client-alexa-for-business/commands/ApproveSkillCommand.ts index 3ea537129add..a1f785ec8872 100644 --- a/clients/client-alexa-for-business/commands/ApproveSkillCommand.ts +++ b/clients/client-alexa-for-business/commands/ApproveSkillCommand.ts @@ -29,7 +29,6 @@ export class ApproveSkillCommand extends $Command< ApproveSkillCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ApproveSkillCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/AssociateContactWithAddressBookCommand.ts b/clients/client-alexa-for-business/commands/AssociateContactWithAddressBookCommand.ts index 9a7e6bb2474e..5302dabd5828 100644 --- a/clients/client-alexa-for-business/commands/AssociateContactWithAddressBookCommand.ts +++ b/clients/client-alexa-for-business/commands/AssociateContactWithAddressBookCommand.ts @@ -28,7 +28,6 @@ export class AssociateContactWithAddressBookCommand extends $Command< AssociateContactWithAddressBookCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class AssociateContactWithAddressBookCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/AssociateDeviceWithNetworkProfileCommand.ts b/clients/client-alexa-for-business/commands/AssociateDeviceWithNetworkProfileCommand.ts index 2f8ef51cf887..0120c1c77ec0 100644 --- a/clients/client-alexa-for-business/commands/AssociateDeviceWithNetworkProfileCommand.ts +++ b/clients/client-alexa-for-business/commands/AssociateDeviceWithNetworkProfileCommand.ts @@ -32,7 +32,6 @@ export class AssociateDeviceWithNetworkProfileCommand extends $Command< AssociateDeviceWithNetworkProfileCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class AssociateDeviceWithNetworkProfileCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/AssociateDeviceWithRoomCommand.ts b/clients/client-alexa-for-business/commands/AssociateDeviceWithRoomCommand.ts index feef963a2b79..8ceb0375472d 100644 --- a/clients/client-alexa-for-business/commands/AssociateDeviceWithRoomCommand.ts +++ b/clients/client-alexa-for-business/commands/AssociateDeviceWithRoomCommand.ts @@ -30,7 +30,6 @@ export class AssociateDeviceWithRoomCommand extends $Command< AssociateDeviceWithRoomCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class AssociateDeviceWithRoomCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/AssociateSkillGroupWithRoomCommand.ts b/clients/client-alexa-for-business/commands/AssociateSkillGroupWithRoomCommand.ts index ed81465a0e86..301d2d753a21 100644 --- a/clients/client-alexa-for-business/commands/AssociateSkillGroupWithRoomCommand.ts +++ b/clients/client-alexa-for-business/commands/AssociateSkillGroupWithRoomCommand.ts @@ -29,7 +29,6 @@ export class AssociateSkillGroupWithRoomCommand extends $Command< AssociateSkillGroupWithRoomCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class AssociateSkillGroupWithRoomCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/AssociateSkillWithSkillGroupCommand.ts b/clients/client-alexa-for-business/commands/AssociateSkillWithSkillGroupCommand.ts index 313d10c98715..03aa7c1b94a5 100644 --- a/clients/client-alexa-for-business/commands/AssociateSkillWithSkillGroupCommand.ts +++ b/clients/client-alexa-for-business/commands/AssociateSkillWithSkillGroupCommand.ts @@ -28,7 +28,6 @@ export class AssociateSkillWithSkillGroupCommand extends $Command< AssociateSkillWithSkillGroupCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class AssociateSkillWithSkillGroupCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/AssociateSkillWithUsersCommand.ts b/clients/client-alexa-for-business/commands/AssociateSkillWithUsersCommand.ts index 895faa031583..68fffe4bb91c 100644 --- a/clients/client-alexa-for-business/commands/AssociateSkillWithUsersCommand.ts +++ b/clients/client-alexa-for-business/commands/AssociateSkillWithUsersCommand.ts @@ -28,7 +28,6 @@ export class AssociateSkillWithUsersCommand extends $Command< AssociateSkillWithUsersCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class AssociateSkillWithUsersCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/CreateAddressBookCommand.ts b/clients/client-alexa-for-business/commands/CreateAddressBookCommand.ts index 5a4f8594e609..cca31dfbeb66 100644 --- a/clients/client-alexa-for-business/commands/CreateAddressBookCommand.ts +++ b/clients/client-alexa-for-business/commands/CreateAddressBookCommand.ts @@ -28,7 +28,6 @@ export class CreateAddressBookCommand extends $Command< CreateAddressBookCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateAddressBookCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/CreateBusinessReportScheduleCommand.ts b/clients/client-alexa-for-business/commands/CreateBusinessReportScheduleCommand.ts index 51a9d89adee2..e29369f3c35a 100644 --- a/clients/client-alexa-for-business/commands/CreateBusinessReportScheduleCommand.ts +++ b/clients/client-alexa-for-business/commands/CreateBusinessReportScheduleCommand.ts @@ -29,7 +29,6 @@ export class CreateBusinessReportScheduleCommand extends $Command< CreateBusinessReportScheduleCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateBusinessReportScheduleCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/CreateConferenceProviderCommand.ts b/clients/client-alexa-for-business/commands/CreateConferenceProviderCommand.ts index 7c248277c6a0..672abf71e59b 100644 --- a/clients/client-alexa-for-business/commands/CreateConferenceProviderCommand.ts +++ b/clients/client-alexa-for-business/commands/CreateConferenceProviderCommand.ts @@ -28,7 +28,6 @@ export class CreateConferenceProviderCommand extends $Command< CreateConferenceProviderCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateConferenceProviderCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/CreateContactCommand.ts b/clients/client-alexa-for-business/commands/CreateContactCommand.ts index efabec2cb5e8..4a3b27fbb452 100644 --- a/clients/client-alexa-for-business/commands/CreateContactCommand.ts +++ b/clients/client-alexa-for-business/commands/CreateContactCommand.ts @@ -28,7 +28,6 @@ export class CreateContactCommand extends $Command< CreateContactCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateContactCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/CreateGatewayGroupCommand.ts b/clients/client-alexa-for-business/commands/CreateGatewayGroupCommand.ts index 232ae9bf16d3..f7437c87b03b 100644 --- a/clients/client-alexa-for-business/commands/CreateGatewayGroupCommand.ts +++ b/clients/client-alexa-for-business/commands/CreateGatewayGroupCommand.ts @@ -28,7 +28,6 @@ export class CreateGatewayGroupCommand extends $Command< CreateGatewayGroupCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateGatewayGroupCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/CreateNetworkProfileCommand.ts b/clients/client-alexa-for-business/commands/CreateNetworkProfileCommand.ts index b688c013b9a2..af5d326f2a98 100644 --- a/clients/client-alexa-for-business/commands/CreateNetworkProfileCommand.ts +++ b/clients/client-alexa-for-business/commands/CreateNetworkProfileCommand.ts @@ -28,7 +28,6 @@ export class CreateNetworkProfileCommand extends $Command< CreateNetworkProfileCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateNetworkProfileCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/CreateProfileCommand.ts b/clients/client-alexa-for-business/commands/CreateProfileCommand.ts index 5fa15e809b54..8974d1524e8a 100644 --- a/clients/client-alexa-for-business/commands/CreateProfileCommand.ts +++ b/clients/client-alexa-for-business/commands/CreateProfileCommand.ts @@ -28,7 +28,6 @@ export class CreateProfileCommand extends $Command< CreateProfileCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateProfileCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/CreateRoomCommand.ts b/clients/client-alexa-for-business/commands/CreateRoomCommand.ts index f25b1accd673..f8abb8ef16e6 100644 --- a/clients/client-alexa-for-business/commands/CreateRoomCommand.ts +++ b/clients/client-alexa-for-business/commands/CreateRoomCommand.ts @@ -28,7 +28,6 @@ export class CreateRoomCommand extends $Command< CreateRoomCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateRoomCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/CreateSkillGroupCommand.ts b/clients/client-alexa-for-business/commands/CreateSkillGroupCommand.ts index 4b7a49aff5db..9fd069429b05 100644 --- a/clients/client-alexa-for-business/commands/CreateSkillGroupCommand.ts +++ b/clients/client-alexa-for-business/commands/CreateSkillGroupCommand.ts @@ -28,7 +28,6 @@ export class CreateSkillGroupCommand extends $Command< CreateSkillGroupCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateSkillGroupCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/CreateUserCommand.ts b/clients/client-alexa-for-business/commands/CreateUserCommand.ts index 1afadf64890c..e5af186d23b9 100644 --- a/clients/client-alexa-for-business/commands/CreateUserCommand.ts +++ b/clients/client-alexa-for-business/commands/CreateUserCommand.ts @@ -28,7 +28,6 @@ export class CreateUserCommand extends $Command< CreateUserCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateUserCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/DeleteAddressBookCommand.ts b/clients/client-alexa-for-business/commands/DeleteAddressBookCommand.ts index d0cdda44f205..f0d93424f2a9 100644 --- a/clients/client-alexa-for-business/commands/DeleteAddressBookCommand.ts +++ b/clients/client-alexa-for-business/commands/DeleteAddressBookCommand.ts @@ -28,7 +28,6 @@ export class DeleteAddressBookCommand extends $Command< DeleteAddressBookCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteAddressBookCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/DeleteBusinessReportScheduleCommand.ts b/clients/client-alexa-for-business/commands/DeleteBusinessReportScheduleCommand.ts index 184850e7f99c..564b87a21bb8 100644 --- a/clients/client-alexa-for-business/commands/DeleteBusinessReportScheduleCommand.ts +++ b/clients/client-alexa-for-business/commands/DeleteBusinessReportScheduleCommand.ts @@ -29,7 +29,6 @@ export class DeleteBusinessReportScheduleCommand extends $Command< DeleteBusinessReportScheduleCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteBusinessReportScheduleCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/DeleteConferenceProviderCommand.ts b/clients/client-alexa-for-business/commands/DeleteConferenceProviderCommand.ts index 03f5c4f84d78..080b50622100 100644 --- a/clients/client-alexa-for-business/commands/DeleteConferenceProviderCommand.ts +++ b/clients/client-alexa-for-business/commands/DeleteConferenceProviderCommand.ts @@ -28,7 +28,6 @@ export class DeleteConferenceProviderCommand extends $Command< DeleteConferenceProviderCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteConferenceProviderCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/DeleteContactCommand.ts b/clients/client-alexa-for-business/commands/DeleteContactCommand.ts index 8a8b26ca2db0..8ed7d6de95d3 100644 --- a/clients/client-alexa-for-business/commands/DeleteContactCommand.ts +++ b/clients/client-alexa-for-business/commands/DeleteContactCommand.ts @@ -28,7 +28,6 @@ export class DeleteContactCommand extends $Command< DeleteContactCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteContactCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/DeleteDeviceCommand.ts b/clients/client-alexa-for-business/commands/DeleteDeviceCommand.ts index d31ecd3a2249..60f5b1359953 100644 --- a/clients/client-alexa-for-business/commands/DeleteDeviceCommand.ts +++ b/clients/client-alexa-for-business/commands/DeleteDeviceCommand.ts @@ -28,7 +28,6 @@ export class DeleteDeviceCommand extends $Command< DeleteDeviceCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteDeviceCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/DeleteDeviceUsageDataCommand.ts b/clients/client-alexa-for-business/commands/DeleteDeviceUsageDataCommand.ts index 7a6f97942ae6..b33b65d09414 100644 --- a/clients/client-alexa-for-business/commands/DeleteDeviceUsageDataCommand.ts +++ b/clients/client-alexa-for-business/commands/DeleteDeviceUsageDataCommand.ts @@ -30,7 +30,6 @@ export class DeleteDeviceUsageDataCommand extends $Command< DeleteDeviceUsageDataCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteDeviceUsageDataCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/DeleteGatewayGroupCommand.ts b/clients/client-alexa-for-business/commands/DeleteGatewayGroupCommand.ts index 64fcaed2005a..3f8983aeda5f 100644 --- a/clients/client-alexa-for-business/commands/DeleteGatewayGroupCommand.ts +++ b/clients/client-alexa-for-business/commands/DeleteGatewayGroupCommand.ts @@ -28,7 +28,6 @@ export class DeleteGatewayGroupCommand extends $Command< DeleteGatewayGroupCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteGatewayGroupCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/DeleteNetworkProfileCommand.ts b/clients/client-alexa-for-business/commands/DeleteNetworkProfileCommand.ts index 9216e320811a..48830d6fa93d 100644 --- a/clients/client-alexa-for-business/commands/DeleteNetworkProfileCommand.ts +++ b/clients/client-alexa-for-business/commands/DeleteNetworkProfileCommand.ts @@ -28,7 +28,6 @@ export class DeleteNetworkProfileCommand extends $Command< DeleteNetworkProfileCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteNetworkProfileCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/DeleteProfileCommand.ts b/clients/client-alexa-for-business/commands/DeleteProfileCommand.ts index 37e1fde0a476..ccc2287eef0d 100644 --- a/clients/client-alexa-for-business/commands/DeleteProfileCommand.ts +++ b/clients/client-alexa-for-business/commands/DeleteProfileCommand.ts @@ -28,7 +28,6 @@ export class DeleteProfileCommand extends $Command< DeleteProfileCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteProfileCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/DeleteRoomCommand.ts b/clients/client-alexa-for-business/commands/DeleteRoomCommand.ts index ec89681c3fca..d7d294e64b94 100644 --- a/clients/client-alexa-for-business/commands/DeleteRoomCommand.ts +++ b/clients/client-alexa-for-business/commands/DeleteRoomCommand.ts @@ -28,7 +28,6 @@ export class DeleteRoomCommand extends $Command< DeleteRoomCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteRoomCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/DeleteRoomSkillParameterCommand.ts b/clients/client-alexa-for-business/commands/DeleteRoomSkillParameterCommand.ts index 79f6fe45da17..58cf05115ebf 100644 --- a/clients/client-alexa-for-business/commands/DeleteRoomSkillParameterCommand.ts +++ b/clients/client-alexa-for-business/commands/DeleteRoomSkillParameterCommand.ts @@ -28,7 +28,6 @@ export class DeleteRoomSkillParameterCommand extends $Command< DeleteRoomSkillParameterCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteRoomSkillParameterCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/DeleteSkillAuthorizationCommand.ts b/clients/client-alexa-for-business/commands/DeleteSkillAuthorizationCommand.ts index ea9e9de83cd3..78c7cbeb3b20 100644 --- a/clients/client-alexa-for-business/commands/DeleteSkillAuthorizationCommand.ts +++ b/clients/client-alexa-for-business/commands/DeleteSkillAuthorizationCommand.ts @@ -28,7 +28,6 @@ export class DeleteSkillAuthorizationCommand extends $Command< DeleteSkillAuthorizationCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteSkillAuthorizationCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/DeleteSkillGroupCommand.ts b/clients/client-alexa-for-business/commands/DeleteSkillGroupCommand.ts index c2e15e5ce8a8..1fda377c7d97 100644 --- a/clients/client-alexa-for-business/commands/DeleteSkillGroupCommand.ts +++ b/clients/client-alexa-for-business/commands/DeleteSkillGroupCommand.ts @@ -28,7 +28,6 @@ export class DeleteSkillGroupCommand extends $Command< DeleteSkillGroupCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteSkillGroupCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/DeleteUserCommand.ts b/clients/client-alexa-for-business/commands/DeleteUserCommand.ts index f4f86a5e2bcb..f8cc8235ba88 100644 --- a/clients/client-alexa-for-business/commands/DeleteUserCommand.ts +++ b/clients/client-alexa-for-business/commands/DeleteUserCommand.ts @@ -28,7 +28,6 @@ export class DeleteUserCommand extends $Command< DeleteUserCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteUserCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/DisassociateContactFromAddressBookCommand.ts b/clients/client-alexa-for-business/commands/DisassociateContactFromAddressBookCommand.ts index 2c10da5b3df9..ea52d1469a7c 100644 --- a/clients/client-alexa-for-business/commands/DisassociateContactFromAddressBookCommand.ts +++ b/clients/client-alexa-for-business/commands/DisassociateContactFromAddressBookCommand.ts @@ -32,7 +32,6 @@ export class DisassociateContactFromAddressBookCommand extends $Command< DisassociateContactFromAddressBookCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DisassociateContactFromAddressBookCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/DisassociateDeviceFromRoomCommand.ts b/clients/client-alexa-for-business/commands/DisassociateDeviceFromRoomCommand.ts index ded7cbb2a7c5..be4f8bedf4b7 100644 --- a/clients/client-alexa-for-business/commands/DisassociateDeviceFromRoomCommand.ts +++ b/clients/client-alexa-for-business/commands/DisassociateDeviceFromRoomCommand.ts @@ -30,7 +30,6 @@ export class DisassociateDeviceFromRoomCommand extends $Command< DisassociateDeviceFromRoomCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DisassociateDeviceFromRoomCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/DisassociateSkillFromSkillGroupCommand.ts b/clients/client-alexa-for-business/commands/DisassociateSkillFromSkillGroupCommand.ts index ef91198fbecf..f04467b5676e 100644 --- a/clients/client-alexa-for-business/commands/DisassociateSkillFromSkillGroupCommand.ts +++ b/clients/client-alexa-for-business/commands/DisassociateSkillFromSkillGroupCommand.ts @@ -28,7 +28,6 @@ export class DisassociateSkillFromSkillGroupCommand extends $Command< DisassociateSkillFromSkillGroupCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DisassociateSkillFromSkillGroupCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/DisassociateSkillFromUsersCommand.ts b/clients/client-alexa-for-business/commands/DisassociateSkillFromUsersCommand.ts index d19f2c726b5b..cd5c4904f4c2 100644 --- a/clients/client-alexa-for-business/commands/DisassociateSkillFromUsersCommand.ts +++ b/clients/client-alexa-for-business/commands/DisassociateSkillFromUsersCommand.ts @@ -29,7 +29,6 @@ export class DisassociateSkillFromUsersCommand extends $Command< DisassociateSkillFromUsersCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DisassociateSkillFromUsersCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/DisassociateSkillGroupFromRoomCommand.ts b/clients/client-alexa-for-business/commands/DisassociateSkillGroupFromRoomCommand.ts index 06f4160ecd45..2a2d1d328a5b 100644 --- a/clients/client-alexa-for-business/commands/DisassociateSkillGroupFromRoomCommand.ts +++ b/clients/client-alexa-for-business/commands/DisassociateSkillGroupFromRoomCommand.ts @@ -29,7 +29,6 @@ export class DisassociateSkillGroupFromRoomCommand extends $Command< DisassociateSkillGroupFromRoomCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DisassociateSkillGroupFromRoomCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/ForgetSmartHomeAppliancesCommand.ts b/clients/client-alexa-for-business/commands/ForgetSmartHomeAppliancesCommand.ts index 09aac3ed5868..f52344eaa70c 100644 --- a/clients/client-alexa-for-business/commands/ForgetSmartHomeAppliancesCommand.ts +++ b/clients/client-alexa-for-business/commands/ForgetSmartHomeAppliancesCommand.ts @@ -28,7 +28,6 @@ export class ForgetSmartHomeAppliancesCommand extends $Command< ForgetSmartHomeAppliancesCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ForgetSmartHomeAppliancesCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/GetAddressBookCommand.ts b/clients/client-alexa-for-business/commands/GetAddressBookCommand.ts index efba86e5870d..a42eb3810e6a 100644 --- a/clients/client-alexa-for-business/commands/GetAddressBookCommand.ts +++ b/clients/client-alexa-for-business/commands/GetAddressBookCommand.ts @@ -28,7 +28,6 @@ export class GetAddressBookCommand extends $Command< GetAddressBookCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetAddressBookCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/GetConferencePreferenceCommand.ts b/clients/client-alexa-for-business/commands/GetConferencePreferenceCommand.ts index 2d5cb692d58f..b9f0b6a40593 100644 --- a/clients/client-alexa-for-business/commands/GetConferencePreferenceCommand.ts +++ b/clients/client-alexa-for-business/commands/GetConferencePreferenceCommand.ts @@ -28,7 +28,6 @@ export class GetConferencePreferenceCommand extends $Command< GetConferencePreferenceCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetConferencePreferenceCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/GetConferenceProviderCommand.ts b/clients/client-alexa-for-business/commands/GetConferenceProviderCommand.ts index ff2d40dbd66f..19fb90211c7a 100644 --- a/clients/client-alexa-for-business/commands/GetConferenceProviderCommand.ts +++ b/clients/client-alexa-for-business/commands/GetConferenceProviderCommand.ts @@ -28,7 +28,6 @@ export class GetConferenceProviderCommand extends $Command< GetConferenceProviderCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetConferenceProviderCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/GetContactCommand.ts b/clients/client-alexa-for-business/commands/GetContactCommand.ts index ee612277a635..08144c4e34c5 100644 --- a/clients/client-alexa-for-business/commands/GetContactCommand.ts +++ b/clients/client-alexa-for-business/commands/GetContactCommand.ts @@ -28,7 +28,6 @@ export class GetContactCommand extends $Command< GetContactCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetContactCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/GetDeviceCommand.ts b/clients/client-alexa-for-business/commands/GetDeviceCommand.ts index 8241ab85e81e..9dcd65b2363e 100644 --- a/clients/client-alexa-for-business/commands/GetDeviceCommand.ts +++ b/clients/client-alexa-for-business/commands/GetDeviceCommand.ts @@ -25,7 +25,6 @@ export class GetDeviceCommand extends $Command< GetDeviceCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class GetDeviceCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/GetGatewayCommand.ts b/clients/client-alexa-for-business/commands/GetGatewayCommand.ts index 9eba600e41d1..0fd3fa0616c3 100644 --- a/clients/client-alexa-for-business/commands/GetGatewayCommand.ts +++ b/clients/client-alexa-for-business/commands/GetGatewayCommand.ts @@ -28,7 +28,6 @@ export class GetGatewayCommand extends $Command< GetGatewayCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetGatewayCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/GetGatewayGroupCommand.ts b/clients/client-alexa-for-business/commands/GetGatewayGroupCommand.ts index 1cbbea57ca08..24972b55c9e5 100644 --- a/clients/client-alexa-for-business/commands/GetGatewayGroupCommand.ts +++ b/clients/client-alexa-for-business/commands/GetGatewayGroupCommand.ts @@ -28,7 +28,6 @@ export class GetGatewayGroupCommand extends $Command< GetGatewayGroupCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetGatewayGroupCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/GetInvitationConfigurationCommand.ts b/clients/client-alexa-for-business/commands/GetInvitationConfigurationCommand.ts index 2db7e294333d..54166ad406e3 100644 --- a/clients/client-alexa-for-business/commands/GetInvitationConfigurationCommand.ts +++ b/clients/client-alexa-for-business/commands/GetInvitationConfigurationCommand.ts @@ -29,7 +29,6 @@ export class GetInvitationConfigurationCommand extends $Command< GetInvitationConfigurationCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetInvitationConfigurationCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/GetNetworkProfileCommand.ts b/clients/client-alexa-for-business/commands/GetNetworkProfileCommand.ts index dbed69814c17..5d407427f8a1 100644 --- a/clients/client-alexa-for-business/commands/GetNetworkProfileCommand.ts +++ b/clients/client-alexa-for-business/commands/GetNetworkProfileCommand.ts @@ -28,7 +28,6 @@ export class GetNetworkProfileCommand extends $Command< GetNetworkProfileCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetNetworkProfileCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/GetProfileCommand.ts b/clients/client-alexa-for-business/commands/GetProfileCommand.ts index 7621ace9b7cb..42620a3b77fd 100644 --- a/clients/client-alexa-for-business/commands/GetProfileCommand.ts +++ b/clients/client-alexa-for-business/commands/GetProfileCommand.ts @@ -28,7 +28,6 @@ export class GetProfileCommand extends $Command< GetProfileCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetProfileCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/GetRoomCommand.ts b/clients/client-alexa-for-business/commands/GetRoomCommand.ts index bc39fa0728fb..8c2477c8cd94 100644 --- a/clients/client-alexa-for-business/commands/GetRoomCommand.ts +++ b/clients/client-alexa-for-business/commands/GetRoomCommand.ts @@ -25,7 +25,6 @@ export class GetRoomCommand extends $Command< GetRoomCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class GetRoomCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/GetRoomSkillParameterCommand.ts b/clients/client-alexa-for-business/commands/GetRoomSkillParameterCommand.ts index 23dc16b55078..f6a7773db984 100644 --- a/clients/client-alexa-for-business/commands/GetRoomSkillParameterCommand.ts +++ b/clients/client-alexa-for-business/commands/GetRoomSkillParameterCommand.ts @@ -28,7 +28,6 @@ export class GetRoomSkillParameterCommand extends $Command< GetRoomSkillParameterCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetRoomSkillParameterCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/GetSkillGroupCommand.ts b/clients/client-alexa-for-business/commands/GetSkillGroupCommand.ts index d6c5f42adef0..3011a2dcdf6b 100644 --- a/clients/client-alexa-for-business/commands/GetSkillGroupCommand.ts +++ b/clients/client-alexa-for-business/commands/GetSkillGroupCommand.ts @@ -28,7 +28,6 @@ export class GetSkillGroupCommand extends $Command< GetSkillGroupCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetSkillGroupCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/ListBusinessReportSchedulesCommand.ts b/clients/client-alexa-for-business/commands/ListBusinessReportSchedulesCommand.ts index 4bf10bbd5047..8d7920bb4229 100644 --- a/clients/client-alexa-for-business/commands/ListBusinessReportSchedulesCommand.ts +++ b/clients/client-alexa-for-business/commands/ListBusinessReportSchedulesCommand.ts @@ -28,7 +28,6 @@ export class ListBusinessReportSchedulesCommand extends $Command< ListBusinessReportSchedulesCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListBusinessReportSchedulesCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/ListConferenceProvidersCommand.ts b/clients/client-alexa-for-business/commands/ListConferenceProvidersCommand.ts index f9ded17f121d..cd3d61e823ee 100644 --- a/clients/client-alexa-for-business/commands/ListConferenceProvidersCommand.ts +++ b/clients/client-alexa-for-business/commands/ListConferenceProvidersCommand.ts @@ -28,7 +28,6 @@ export class ListConferenceProvidersCommand extends $Command< ListConferenceProvidersCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListConferenceProvidersCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/ListDeviceEventsCommand.ts b/clients/client-alexa-for-business/commands/ListDeviceEventsCommand.ts index 55eb62fbbae7..ab8096d2f37d 100644 --- a/clients/client-alexa-for-business/commands/ListDeviceEventsCommand.ts +++ b/clients/client-alexa-for-business/commands/ListDeviceEventsCommand.ts @@ -29,7 +29,6 @@ export class ListDeviceEventsCommand extends $Command< ListDeviceEventsCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListDeviceEventsCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/ListGatewayGroupsCommand.ts b/clients/client-alexa-for-business/commands/ListGatewayGroupsCommand.ts index e7e2e453a833..f8091f8370b4 100644 --- a/clients/client-alexa-for-business/commands/ListGatewayGroupsCommand.ts +++ b/clients/client-alexa-for-business/commands/ListGatewayGroupsCommand.ts @@ -29,7 +29,6 @@ export class ListGatewayGroupsCommand extends $Command< ListGatewayGroupsCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListGatewayGroupsCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/ListGatewaysCommand.ts b/clients/client-alexa-for-business/commands/ListGatewaysCommand.ts index bccba820f223..bab117aa9dea 100644 --- a/clients/client-alexa-for-business/commands/ListGatewaysCommand.ts +++ b/clients/client-alexa-for-business/commands/ListGatewaysCommand.ts @@ -30,7 +30,6 @@ export class ListGatewaysCommand extends $Command< ListGatewaysCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListGatewaysCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/ListSkillsCommand.ts b/clients/client-alexa-for-business/commands/ListSkillsCommand.ts index add1baeb785f..60b123a2fc2f 100644 --- a/clients/client-alexa-for-business/commands/ListSkillsCommand.ts +++ b/clients/client-alexa-for-business/commands/ListSkillsCommand.ts @@ -28,7 +28,6 @@ export class ListSkillsCommand extends $Command< ListSkillsCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListSkillsCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/ListSkillsStoreCategoriesCommand.ts b/clients/client-alexa-for-business/commands/ListSkillsStoreCategoriesCommand.ts index f3069e621bda..fa6d729cec37 100644 --- a/clients/client-alexa-for-business/commands/ListSkillsStoreCategoriesCommand.ts +++ b/clients/client-alexa-for-business/commands/ListSkillsStoreCategoriesCommand.ts @@ -28,7 +28,6 @@ export class ListSkillsStoreCategoriesCommand extends $Command< ListSkillsStoreCategoriesCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListSkillsStoreCategoriesCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/ListSkillsStoreSkillsByCategoryCommand.ts b/clients/client-alexa-for-business/commands/ListSkillsStoreSkillsByCategoryCommand.ts index b32a90d29670..f45508871f9e 100644 --- a/clients/client-alexa-for-business/commands/ListSkillsStoreSkillsByCategoryCommand.ts +++ b/clients/client-alexa-for-business/commands/ListSkillsStoreSkillsByCategoryCommand.ts @@ -28,7 +28,6 @@ export class ListSkillsStoreSkillsByCategoryCommand extends $Command< ListSkillsStoreSkillsByCategoryCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListSkillsStoreSkillsByCategoryCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/ListSmartHomeAppliancesCommand.ts b/clients/client-alexa-for-business/commands/ListSmartHomeAppliancesCommand.ts index a28dc3235c46..a19d0bab26b2 100644 --- a/clients/client-alexa-for-business/commands/ListSmartHomeAppliancesCommand.ts +++ b/clients/client-alexa-for-business/commands/ListSmartHomeAppliancesCommand.ts @@ -28,7 +28,6 @@ export class ListSmartHomeAppliancesCommand extends $Command< ListSmartHomeAppliancesCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListSmartHomeAppliancesCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/ListTagsCommand.ts b/clients/client-alexa-for-business/commands/ListTagsCommand.ts index d364e60bcd92..cec7102aad30 100644 --- a/clients/client-alexa-for-business/commands/ListTagsCommand.ts +++ b/clients/client-alexa-for-business/commands/ListTagsCommand.ts @@ -25,7 +25,6 @@ export class ListTagsCommand extends $Command< ListTagsCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class ListTagsCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/PutConferencePreferenceCommand.ts b/clients/client-alexa-for-business/commands/PutConferencePreferenceCommand.ts index d0e358872d05..a9171f23e67c 100644 --- a/clients/client-alexa-for-business/commands/PutConferencePreferenceCommand.ts +++ b/clients/client-alexa-for-business/commands/PutConferencePreferenceCommand.ts @@ -29,7 +29,6 @@ export class PutConferencePreferenceCommand extends $Command< PutConferencePreferenceCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class PutConferencePreferenceCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/PutInvitationConfigurationCommand.ts b/clients/client-alexa-for-business/commands/PutInvitationConfigurationCommand.ts index 5fa5015e6bbc..4a36d0f19fbd 100644 --- a/clients/client-alexa-for-business/commands/PutInvitationConfigurationCommand.ts +++ b/clients/client-alexa-for-business/commands/PutInvitationConfigurationCommand.ts @@ -29,7 +29,6 @@ export class PutInvitationConfigurationCommand extends $Command< PutInvitationConfigurationCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class PutInvitationConfigurationCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/PutRoomSkillParameterCommand.ts b/clients/client-alexa-for-business/commands/PutRoomSkillParameterCommand.ts index db5627a5667d..22ebf9166573 100644 --- a/clients/client-alexa-for-business/commands/PutRoomSkillParameterCommand.ts +++ b/clients/client-alexa-for-business/commands/PutRoomSkillParameterCommand.ts @@ -29,7 +29,6 @@ export class PutRoomSkillParameterCommand extends $Command< PutRoomSkillParameterCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class PutRoomSkillParameterCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/PutSkillAuthorizationCommand.ts b/clients/client-alexa-for-business/commands/PutSkillAuthorizationCommand.ts index e5ab9acbfa3e..a63463af0fc4 100644 --- a/clients/client-alexa-for-business/commands/PutSkillAuthorizationCommand.ts +++ b/clients/client-alexa-for-business/commands/PutSkillAuthorizationCommand.ts @@ -30,7 +30,6 @@ export class PutSkillAuthorizationCommand extends $Command< PutSkillAuthorizationCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class PutSkillAuthorizationCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/RegisterAVSDeviceCommand.ts b/clients/client-alexa-for-business/commands/RegisterAVSDeviceCommand.ts index d61962dd496d..a6152f9cbbfb 100644 --- a/clients/client-alexa-for-business/commands/RegisterAVSDeviceCommand.ts +++ b/clients/client-alexa-for-business/commands/RegisterAVSDeviceCommand.ts @@ -29,7 +29,6 @@ export class RegisterAVSDeviceCommand extends $Command< RegisterAVSDeviceCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class RegisterAVSDeviceCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/RejectSkillCommand.ts b/clients/client-alexa-for-business/commands/RejectSkillCommand.ts index 771535b9939c..07f35e5a7319 100644 --- a/clients/client-alexa-for-business/commands/RejectSkillCommand.ts +++ b/clients/client-alexa-for-business/commands/RejectSkillCommand.ts @@ -30,7 +30,6 @@ export class RejectSkillCommand extends $Command< RejectSkillCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class RejectSkillCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/ResolveRoomCommand.ts b/clients/client-alexa-for-business/commands/ResolveRoomCommand.ts index 6d2b216f8e07..927f7463fd6c 100644 --- a/clients/client-alexa-for-business/commands/ResolveRoomCommand.ts +++ b/clients/client-alexa-for-business/commands/ResolveRoomCommand.ts @@ -29,7 +29,6 @@ export class ResolveRoomCommand extends $Command< ResolveRoomCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ResolveRoomCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/RevokeInvitationCommand.ts b/clients/client-alexa-for-business/commands/RevokeInvitationCommand.ts index f62771830029..2b7a9070be3d 100644 --- a/clients/client-alexa-for-business/commands/RevokeInvitationCommand.ts +++ b/clients/client-alexa-for-business/commands/RevokeInvitationCommand.ts @@ -28,7 +28,6 @@ export class RevokeInvitationCommand extends $Command< RevokeInvitationCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RevokeInvitationCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/SearchAddressBooksCommand.ts b/clients/client-alexa-for-business/commands/SearchAddressBooksCommand.ts index 4acee8955453..9baafac259c9 100644 --- a/clients/client-alexa-for-business/commands/SearchAddressBooksCommand.ts +++ b/clients/client-alexa-for-business/commands/SearchAddressBooksCommand.ts @@ -29,7 +29,6 @@ export class SearchAddressBooksCommand extends $Command< SearchAddressBooksCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class SearchAddressBooksCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/SearchContactsCommand.ts b/clients/client-alexa-for-business/commands/SearchContactsCommand.ts index c705a48f987d..c42b1d47faf2 100644 --- a/clients/client-alexa-for-business/commands/SearchContactsCommand.ts +++ b/clients/client-alexa-for-business/commands/SearchContactsCommand.ts @@ -29,7 +29,6 @@ export class SearchContactsCommand extends $Command< SearchContactsCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class SearchContactsCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/SearchDevicesCommand.ts b/clients/client-alexa-for-business/commands/SearchDevicesCommand.ts index ea60db3879ea..b62649b25a23 100644 --- a/clients/client-alexa-for-business/commands/SearchDevicesCommand.ts +++ b/clients/client-alexa-for-business/commands/SearchDevicesCommand.ts @@ -28,7 +28,6 @@ export class SearchDevicesCommand extends $Command< SearchDevicesCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class SearchDevicesCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/SearchNetworkProfilesCommand.ts b/clients/client-alexa-for-business/commands/SearchNetworkProfilesCommand.ts index 911399d97a87..ac9c75032ff0 100644 --- a/clients/client-alexa-for-business/commands/SearchNetworkProfilesCommand.ts +++ b/clients/client-alexa-for-business/commands/SearchNetworkProfilesCommand.ts @@ -29,7 +29,6 @@ export class SearchNetworkProfilesCommand extends $Command< SearchNetworkProfilesCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class SearchNetworkProfilesCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/SearchProfilesCommand.ts b/clients/client-alexa-for-business/commands/SearchProfilesCommand.ts index 3de7ed333a0f..ba80945f6ae4 100644 --- a/clients/client-alexa-for-business/commands/SearchProfilesCommand.ts +++ b/clients/client-alexa-for-business/commands/SearchProfilesCommand.ts @@ -29,7 +29,6 @@ export class SearchProfilesCommand extends $Command< SearchProfilesCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class SearchProfilesCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/SearchRoomsCommand.ts b/clients/client-alexa-for-business/commands/SearchRoomsCommand.ts index 2141c90e9849..b742ef02d0f9 100644 --- a/clients/client-alexa-for-business/commands/SearchRoomsCommand.ts +++ b/clients/client-alexa-for-business/commands/SearchRoomsCommand.ts @@ -29,7 +29,6 @@ export class SearchRoomsCommand extends $Command< SearchRoomsCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class SearchRoomsCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/SearchSkillGroupsCommand.ts b/clients/client-alexa-for-business/commands/SearchSkillGroupsCommand.ts index a65b3ccb8e74..3ce261dcdadb 100644 --- a/clients/client-alexa-for-business/commands/SearchSkillGroupsCommand.ts +++ b/clients/client-alexa-for-business/commands/SearchSkillGroupsCommand.ts @@ -29,7 +29,6 @@ export class SearchSkillGroupsCommand extends $Command< SearchSkillGroupsCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class SearchSkillGroupsCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/SearchUsersCommand.ts b/clients/client-alexa-for-business/commands/SearchUsersCommand.ts index 0862650b3d2d..bd9af2cf26c5 100644 --- a/clients/client-alexa-for-business/commands/SearchUsersCommand.ts +++ b/clients/client-alexa-for-business/commands/SearchUsersCommand.ts @@ -29,7 +29,6 @@ export class SearchUsersCommand extends $Command< SearchUsersCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class SearchUsersCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/SendAnnouncementCommand.ts b/clients/client-alexa-for-business/commands/SendAnnouncementCommand.ts index 3f14f13bd4ba..f44f80fd6425 100644 --- a/clients/client-alexa-for-business/commands/SendAnnouncementCommand.ts +++ b/clients/client-alexa-for-business/commands/SendAnnouncementCommand.ts @@ -29,7 +29,6 @@ export class SendAnnouncementCommand extends $Command< SendAnnouncementCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class SendAnnouncementCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/SendInvitationCommand.ts b/clients/client-alexa-for-business/commands/SendInvitationCommand.ts index 9c89962ae12f..a35611fa8922 100644 --- a/clients/client-alexa-for-business/commands/SendInvitationCommand.ts +++ b/clients/client-alexa-for-business/commands/SendInvitationCommand.ts @@ -29,7 +29,6 @@ export class SendInvitationCommand extends $Command< SendInvitationCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class SendInvitationCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/StartDeviceSyncCommand.ts b/clients/client-alexa-for-business/commands/StartDeviceSyncCommand.ts index 04ad5294dfa5..fe2040245744 100644 --- a/clients/client-alexa-for-business/commands/StartDeviceSyncCommand.ts +++ b/clients/client-alexa-for-business/commands/StartDeviceSyncCommand.ts @@ -49,7 +49,6 @@ export class StartDeviceSyncCommand extends $Command< StartDeviceSyncCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -67,10 +66,7 @@ export class StartDeviceSyncCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/StartSmartHomeApplianceDiscoveryCommand.ts b/clients/client-alexa-for-business/commands/StartSmartHomeApplianceDiscoveryCommand.ts index e9d8911fcd35..3383faf38d7c 100644 --- a/clients/client-alexa-for-business/commands/StartSmartHomeApplianceDiscoveryCommand.ts +++ b/clients/client-alexa-for-business/commands/StartSmartHomeApplianceDiscoveryCommand.ts @@ -29,7 +29,6 @@ export class StartSmartHomeApplianceDiscoveryCommand extends $Command< StartSmartHomeApplianceDiscoveryCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class StartSmartHomeApplianceDiscoveryCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/TagResourceCommand.ts b/clients/client-alexa-for-business/commands/TagResourceCommand.ts index 6c33c6f86353..74678ca854f1 100644 --- a/clients/client-alexa-for-business/commands/TagResourceCommand.ts +++ b/clients/client-alexa-for-business/commands/TagResourceCommand.ts @@ -28,7 +28,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class TagResourceCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/UntagResourceCommand.ts b/clients/client-alexa-for-business/commands/UntagResourceCommand.ts index 031c8f36ba0b..fc2ba6916cb1 100644 --- a/clients/client-alexa-for-business/commands/UntagResourceCommand.ts +++ b/clients/client-alexa-for-business/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/UpdateAddressBookCommand.ts b/clients/client-alexa-for-business/commands/UpdateAddressBookCommand.ts index 7e458ced5078..06ad624a7ffa 100644 --- a/clients/client-alexa-for-business/commands/UpdateAddressBookCommand.ts +++ b/clients/client-alexa-for-business/commands/UpdateAddressBookCommand.ts @@ -28,7 +28,6 @@ export class UpdateAddressBookCommand extends $Command< UpdateAddressBookCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateAddressBookCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/UpdateBusinessReportScheduleCommand.ts b/clients/client-alexa-for-business/commands/UpdateBusinessReportScheduleCommand.ts index adbb10b80683..8cf77e182600 100644 --- a/clients/client-alexa-for-business/commands/UpdateBusinessReportScheduleCommand.ts +++ b/clients/client-alexa-for-business/commands/UpdateBusinessReportScheduleCommand.ts @@ -29,7 +29,6 @@ export class UpdateBusinessReportScheduleCommand extends $Command< UpdateBusinessReportScheduleCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateBusinessReportScheduleCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/UpdateConferenceProviderCommand.ts b/clients/client-alexa-for-business/commands/UpdateConferenceProviderCommand.ts index e237883c93a6..683d1a1e927d 100644 --- a/clients/client-alexa-for-business/commands/UpdateConferenceProviderCommand.ts +++ b/clients/client-alexa-for-business/commands/UpdateConferenceProviderCommand.ts @@ -28,7 +28,6 @@ export class UpdateConferenceProviderCommand extends $Command< UpdateConferenceProviderCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateConferenceProviderCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/UpdateContactCommand.ts b/clients/client-alexa-for-business/commands/UpdateContactCommand.ts index 7528032c4197..29566ab28d6c 100644 --- a/clients/client-alexa-for-business/commands/UpdateContactCommand.ts +++ b/clients/client-alexa-for-business/commands/UpdateContactCommand.ts @@ -28,7 +28,6 @@ export class UpdateContactCommand extends $Command< UpdateContactCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateContactCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/UpdateDeviceCommand.ts b/clients/client-alexa-for-business/commands/UpdateDeviceCommand.ts index ee280dc7b6c8..9a34cda6c9f6 100644 --- a/clients/client-alexa-for-business/commands/UpdateDeviceCommand.ts +++ b/clients/client-alexa-for-business/commands/UpdateDeviceCommand.ts @@ -28,7 +28,6 @@ export class UpdateDeviceCommand extends $Command< UpdateDeviceCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateDeviceCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/UpdateGatewayCommand.ts b/clients/client-alexa-for-business/commands/UpdateGatewayCommand.ts index 8b14acea4390..8f7148c3ea83 100644 --- a/clients/client-alexa-for-business/commands/UpdateGatewayCommand.ts +++ b/clients/client-alexa-for-business/commands/UpdateGatewayCommand.ts @@ -29,7 +29,6 @@ export class UpdateGatewayCommand extends $Command< UpdateGatewayCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateGatewayCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/UpdateGatewayGroupCommand.ts b/clients/client-alexa-for-business/commands/UpdateGatewayGroupCommand.ts index 2cc0aae41621..7248355a21eb 100644 --- a/clients/client-alexa-for-business/commands/UpdateGatewayGroupCommand.ts +++ b/clients/client-alexa-for-business/commands/UpdateGatewayGroupCommand.ts @@ -29,7 +29,6 @@ export class UpdateGatewayGroupCommand extends $Command< UpdateGatewayGroupCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateGatewayGroupCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/UpdateNetworkProfileCommand.ts b/clients/client-alexa-for-business/commands/UpdateNetworkProfileCommand.ts index 8a0e855b4f63..c53c8b67fd4b 100644 --- a/clients/client-alexa-for-business/commands/UpdateNetworkProfileCommand.ts +++ b/clients/client-alexa-for-business/commands/UpdateNetworkProfileCommand.ts @@ -28,7 +28,6 @@ export class UpdateNetworkProfileCommand extends $Command< UpdateNetworkProfileCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateNetworkProfileCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/UpdateProfileCommand.ts b/clients/client-alexa-for-business/commands/UpdateProfileCommand.ts index 0e812dad3970..72eea3152a9c 100644 --- a/clients/client-alexa-for-business/commands/UpdateProfileCommand.ts +++ b/clients/client-alexa-for-business/commands/UpdateProfileCommand.ts @@ -28,7 +28,6 @@ export class UpdateProfileCommand extends $Command< UpdateProfileCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateProfileCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/UpdateRoomCommand.ts b/clients/client-alexa-for-business/commands/UpdateRoomCommand.ts index 05c6e8ba1ca1..2f038d9e60f3 100644 --- a/clients/client-alexa-for-business/commands/UpdateRoomCommand.ts +++ b/clients/client-alexa-for-business/commands/UpdateRoomCommand.ts @@ -28,7 +28,6 @@ export class UpdateRoomCommand extends $Command< UpdateRoomCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateRoomCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-alexa-for-business/commands/UpdateSkillGroupCommand.ts b/clients/client-alexa-for-business/commands/UpdateSkillGroupCommand.ts index ac757b52e2ff..bdb34abbbb73 100644 --- a/clients/client-alexa-for-business/commands/UpdateSkillGroupCommand.ts +++ b/clients/client-alexa-for-business/commands/UpdateSkillGroupCommand.ts @@ -28,7 +28,6 @@ export class UpdateSkillGroupCommand extends $Command< UpdateSkillGroupCommandOutput, AlexaForBusinessClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateSkillGroupCommand extends $Command< configuration: AlexaForBusinessClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-amplify/commands/CreateAppCommand.ts b/clients/client-amplify/commands/CreateAppCommand.ts index 29fea9bc4b46..b0f5d91f4259 100644 --- a/clients/client-amplify/commands/CreateAppCommand.ts +++ b/clients/client-amplify/commands/CreateAppCommand.ts @@ -28,7 +28,6 @@ export class CreateAppCommand extends $Command< CreateAppCommandOutput, AmplifyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateAppCommand extends $Command< configuration: AmplifyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-amplify/commands/CreateBackendEnvironmentCommand.ts b/clients/client-amplify/commands/CreateBackendEnvironmentCommand.ts index 7d55355c1336..ad7664be49fa 100644 --- a/clients/client-amplify/commands/CreateBackendEnvironmentCommand.ts +++ b/clients/client-amplify/commands/CreateBackendEnvironmentCommand.ts @@ -28,7 +28,6 @@ export class CreateBackendEnvironmentCommand extends $Command< CreateBackendEnvironmentCommandOutput, AmplifyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateBackendEnvironmentCommand extends $Command< configuration: AmplifyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-amplify/commands/CreateBranchCommand.ts b/clients/client-amplify/commands/CreateBranchCommand.ts index 9637a2eb8074..9678e559560f 100644 --- a/clients/client-amplify/commands/CreateBranchCommand.ts +++ b/clients/client-amplify/commands/CreateBranchCommand.ts @@ -28,7 +28,6 @@ export class CreateBranchCommand extends $Command< CreateBranchCommandOutput, AmplifyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateBranchCommand extends $Command< configuration: AmplifyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-amplify/commands/CreateDeploymentCommand.ts b/clients/client-amplify/commands/CreateDeploymentCommand.ts index 733dd2106115..b9c2746399a0 100644 --- a/clients/client-amplify/commands/CreateDeploymentCommand.ts +++ b/clients/client-amplify/commands/CreateDeploymentCommand.ts @@ -29,7 +29,6 @@ export class CreateDeploymentCommand extends $Command< CreateDeploymentCommandOutput, AmplifyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateDeploymentCommand extends $Command< configuration: AmplifyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-amplify/commands/CreateDomainAssociationCommand.ts b/clients/client-amplify/commands/CreateDomainAssociationCommand.ts index 2d59aea38a9c..b8b38c3dff38 100644 --- a/clients/client-amplify/commands/CreateDomainAssociationCommand.ts +++ b/clients/client-amplify/commands/CreateDomainAssociationCommand.ts @@ -29,7 +29,6 @@ export class CreateDomainAssociationCommand extends $Command< CreateDomainAssociationCommandOutput, AmplifyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateDomainAssociationCommand extends $Command< configuration: AmplifyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-amplify/commands/CreateWebhookCommand.ts b/clients/client-amplify/commands/CreateWebhookCommand.ts index 3fbde8099b71..a8221e89d324 100644 --- a/clients/client-amplify/commands/CreateWebhookCommand.ts +++ b/clients/client-amplify/commands/CreateWebhookCommand.ts @@ -28,7 +28,6 @@ export class CreateWebhookCommand extends $Command< CreateWebhookCommandOutput, AmplifyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateWebhookCommand extends $Command< configuration: AmplifyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-amplify/commands/DeleteAppCommand.ts b/clients/client-amplify/commands/DeleteAppCommand.ts index 1c3e39c5223c..e5bd488e5c0b 100644 --- a/clients/client-amplify/commands/DeleteAppCommand.ts +++ b/clients/client-amplify/commands/DeleteAppCommand.ts @@ -28,7 +28,6 @@ export class DeleteAppCommand extends $Command< DeleteAppCommandOutput, AmplifyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteAppCommand extends $Command< configuration: AmplifyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-amplify/commands/DeleteBackendEnvironmentCommand.ts b/clients/client-amplify/commands/DeleteBackendEnvironmentCommand.ts index 53649a94346d..f1e73ee4c6f6 100644 --- a/clients/client-amplify/commands/DeleteBackendEnvironmentCommand.ts +++ b/clients/client-amplify/commands/DeleteBackendEnvironmentCommand.ts @@ -28,7 +28,6 @@ export class DeleteBackendEnvironmentCommand extends $Command< DeleteBackendEnvironmentCommandOutput, AmplifyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteBackendEnvironmentCommand extends $Command< configuration: AmplifyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-amplify/commands/DeleteBranchCommand.ts b/clients/client-amplify/commands/DeleteBranchCommand.ts index 2c2f26c1b201..d47dea76688f 100644 --- a/clients/client-amplify/commands/DeleteBranchCommand.ts +++ b/clients/client-amplify/commands/DeleteBranchCommand.ts @@ -28,7 +28,6 @@ export class DeleteBranchCommand extends $Command< DeleteBranchCommandOutput, AmplifyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteBranchCommand extends $Command< configuration: AmplifyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-amplify/commands/DeleteDomainAssociationCommand.ts b/clients/client-amplify/commands/DeleteDomainAssociationCommand.ts index 07c60ca580ab..c8866a42a015 100644 --- a/clients/client-amplify/commands/DeleteDomainAssociationCommand.ts +++ b/clients/client-amplify/commands/DeleteDomainAssociationCommand.ts @@ -28,7 +28,6 @@ export class DeleteDomainAssociationCommand extends $Command< DeleteDomainAssociationCommandOutput, AmplifyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteDomainAssociationCommand extends $Command< configuration: AmplifyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-amplify/commands/DeleteJobCommand.ts b/clients/client-amplify/commands/DeleteJobCommand.ts index 1d5449ce7d23..31f9db60ef1e 100644 --- a/clients/client-amplify/commands/DeleteJobCommand.ts +++ b/clients/client-amplify/commands/DeleteJobCommand.ts @@ -28,7 +28,6 @@ export class DeleteJobCommand extends $Command< DeleteJobCommandOutput, AmplifyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteJobCommand extends $Command< configuration: AmplifyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-amplify/commands/DeleteWebhookCommand.ts b/clients/client-amplify/commands/DeleteWebhookCommand.ts index 3848331aae71..a8580f4f965c 100644 --- a/clients/client-amplify/commands/DeleteWebhookCommand.ts +++ b/clients/client-amplify/commands/DeleteWebhookCommand.ts @@ -28,7 +28,6 @@ export class DeleteWebhookCommand extends $Command< DeleteWebhookCommandOutput, AmplifyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteWebhookCommand extends $Command< configuration: AmplifyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-amplify/commands/GenerateAccessLogsCommand.ts b/clients/client-amplify/commands/GenerateAccessLogsCommand.ts index cd8b73ae0f8a..fb9e993a7f5c 100644 --- a/clients/client-amplify/commands/GenerateAccessLogsCommand.ts +++ b/clients/client-amplify/commands/GenerateAccessLogsCommand.ts @@ -29,7 +29,6 @@ export class GenerateAccessLogsCommand extends $Command< GenerateAccessLogsCommandOutput, AmplifyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GenerateAccessLogsCommand extends $Command< configuration: AmplifyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-amplify/commands/GetAppCommand.ts b/clients/client-amplify/commands/GetAppCommand.ts index 8981eb07fcec..8b9b84ec923f 100644 --- a/clients/client-amplify/commands/GetAppCommand.ts +++ b/clients/client-amplify/commands/GetAppCommand.ts @@ -21,7 +21,6 @@ export type GetAppCommandOutput = GetAppResult & __MetadataBearer; *

Returns an existing Amplify app by appID.

*/ export class GetAppCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -39,10 +38,7 @@ export class GetAppCommand extends $Command { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-amplify/commands/GetArtifactUrlCommand.ts b/clients/client-amplify/commands/GetArtifactUrlCommand.ts index 8772b101603f..6f5a7146fa67 100644 --- a/clients/client-amplify/commands/GetArtifactUrlCommand.ts +++ b/clients/client-amplify/commands/GetArtifactUrlCommand.ts @@ -28,7 +28,6 @@ export class GetArtifactUrlCommand extends $Command< GetArtifactUrlCommandOutput, AmplifyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetArtifactUrlCommand extends $Command< configuration: AmplifyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-amplify/commands/GetBackendEnvironmentCommand.ts b/clients/client-amplify/commands/GetBackendEnvironmentCommand.ts index 5fe57ae954e1..0cf9d254be7c 100644 --- a/clients/client-amplify/commands/GetBackendEnvironmentCommand.ts +++ b/clients/client-amplify/commands/GetBackendEnvironmentCommand.ts @@ -28,7 +28,6 @@ export class GetBackendEnvironmentCommand extends $Command< GetBackendEnvironmentCommandOutput, AmplifyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetBackendEnvironmentCommand extends $Command< configuration: AmplifyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-amplify/commands/GetBranchCommand.ts b/clients/client-amplify/commands/GetBranchCommand.ts index 4139bfa737fa..e5ebbe746f57 100644 --- a/clients/client-amplify/commands/GetBranchCommand.ts +++ b/clients/client-amplify/commands/GetBranchCommand.ts @@ -28,7 +28,6 @@ export class GetBranchCommand extends $Command< GetBranchCommandOutput, AmplifyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetBranchCommand extends $Command< configuration: AmplifyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-amplify/commands/GetDomainAssociationCommand.ts b/clients/client-amplify/commands/GetDomainAssociationCommand.ts index 174bd4f0c772..092cc79753be 100644 --- a/clients/client-amplify/commands/GetDomainAssociationCommand.ts +++ b/clients/client-amplify/commands/GetDomainAssociationCommand.ts @@ -28,7 +28,6 @@ export class GetDomainAssociationCommand extends $Command< GetDomainAssociationCommandOutput, AmplifyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetDomainAssociationCommand extends $Command< configuration: AmplifyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-amplify/commands/GetJobCommand.ts b/clients/client-amplify/commands/GetJobCommand.ts index e63ad13ff0da..1bc2363b7f81 100644 --- a/clients/client-amplify/commands/GetJobCommand.ts +++ b/clients/client-amplify/commands/GetJobCommand.ts @@ -21,7 +21,6 @@ export type GetJobCommandOutput = GetJobResult & __MetadataBearer; *

Returns a job for a branch of an Amplify app.

*/ export class GetJobCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -39,10 +38,7 @@ export class GetJobCommand extends $Command { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-amplify/commands/GetWebhookCommand.ts b/clients/client-amplify/commands/GetWebhookCommand.ts index 034d26defd3a..e32f47ed559a 100644 --- a/clients/client-amplify/commands/GetWebhookCommand.ts +++ b/clients/client-amplify/commands/GetWebhookCommand.ts @@ -28,7 +28,6 @@ export class GetWebhookCommand extends $Command< GetWebhookCommandOutput, AmplifyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetWebhookCommand extends $Command< configuration: AmplifyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-amplify/commands/ListAppsCommand.ts b/clients/client-amplify/commands/ListAppsCommand.ts index 5cc2a50e05d4..aea9bb69ac25 100644 --- a/clients/client-amplify/commands/ListAppsCommand.ts +++ b/clients/client-amplify/commands/ListAppsCommand.ts @@ -28,7 +28,6 @@ export class ListAppsCommand extends $Command< ListAppsCommandOutput, AmplifyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListAppsCommand extends $Command< configuration: AmplifyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-amplify/commands/ListArtifactsCommand.ts b/clients/client-amplify/commands/ListArtifactsCommand.ts index c29932784059..4d2bfdbbadcf 100644 --- a/clients/client-amplify/commands/ListArtifactsCommand.ts +++ b/clients/client-amplify/commands/ListArtifactsCommand.ts @@ -28,7 +28,6 @@ export class ListArtifactsCommand extends $Command< ListArtifactsCommandOutput, AmplifyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListArtifactsCommand extends $Command< configuration: AmplifyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-amplify/commands/ListBackendEnvironmentsCommand.ts b/clients/client-amplify/commands/ListBackendEnvironmentsCommand.ts index 255c373190f7..fa47e6c22574 100644 --- a/clients/client-amplify/commands/ListBackendEnvironmentsCommand.ts +++ b/clients/client-amplify/commands/ListBackendEnvironmentsCommand.ts @@ -28,7 +28,6 @@ export class ListBackendEnvironmentsCommand extends $Command< ListBackendEnvironmentsCommandOutput, AmplifyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListBackendEnvironmentsCommand extends $Command< configuration: AmplifyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-amplify/commands/ListBranchesCommand.ts b/clients/client-amplify/commands/ListBranchesCommand.ts index e3e2b9e840d4..a977377a7bfe 100644 --- a/clients/client-amplify/commands/ListBranchesCommand.ts +++ b/clients/client-amplify/commands/ListBranchesCommand.ts @@ -28,7 +28,6 @@ export class ListBranchesCommand extends $Command< ListBranchesCommandOutput, AmplifyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListBranchesCommand extends $Command< configuration: AmplifyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-amplify/commands/ListDomainAssociationsCommand.ts b/clients/client-amplify/commands/ListDomainAssociationsCommand.ts index 6e869652b5cf..b24dc8762429 100644 --- a/clients/client-amplify/commands/ListDomainAssociationsCommand.ts +++ b/clients/client-amplify/commands/ListDomainAssociationsCommand.ts @@ -28,7 +28,6 @@ export class ListDomainAssociationsCommand extends $Command< ListDomainAssociationsCommandOutput, AmplifyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListDomainAssociationsCommand extends $Command< configuration: AmplifyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-amplify/commands/ListJobsCommand.ts b/clients/client-amplify/commands/ListJobsCommand.ts index eaccd101d40d..ef1e0ade37b0 100644 --- a/clients/client-amplify/commands/ListJobsCommand.ts +++ b/clients/client-amplify/commands/ListJobsCommand.ts @@ -28,7 +28,6 @@ export class ListJobsCommand extends $Command< ListJobsCommandOutput, AmplifyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListJobsCommand extends $Command< configuration: AmplifyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-amplify/commands/ListTagsForResourceCommand.ts b/clients/client-amplify/commands/ListTagsForResourceCommand.ts index 1ec5764603df..b2aad33b8ff8 100644 --- a/clients/client-amplify/commands/ListTagsForResourceCommand.ts +++ b/clients/client-amplify/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, AmplifyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: AmplifyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-amplify/commands/ListWebhooksCommand.ts b/clients/client-amplify/commands/ListWebhooksCommand.ts index d7c6be476528..ddf311effac9 100644 --- a/clients/client-amplify/commands/ListWebhooksCommand.ts +++ b/clients/client-amplify/commands/ListWebhooksCommand.ts @@ -28,7 +28,6 @@ export class ListWebhooksCommand extends $Command< ListWebhooksCommandOutput, AmplifyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListWebhooksCommand extends $Command< configuration: AmplifyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-amplify/commands/StartDeploymentCommand.ts b/clients/client-amplify/commands/StartDeploymentCommand.ts index 3a486153ce1c..4036601b1a98 100644 --- a/clients/client-amplify/commands/StartDeploymentCommand.ts +++ b/clients/client-amplify/commands/StartDeploymentCommand.ts @@ -29,7 +29,6 @@ export class StartDeploymentCommand extends $Command< StartDeploymentCommandOutput, AmplifyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class StartDeploymentCommand extends $Command< configuration: AmplifyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-amplify/commands/StartJobCommand.ts b/clients/client-amplify/commands/StartJobCommand.ts index d663336de3f7..e9eadb510e36 100644 --- a/clients/client-amplify/commands/StartJobCommand.ts +++ b/clients/client-amplify/commands/StartJobCommand.ts @@ -28,7 +28,6 @@ export class StartJobCommand extends $Command< StartJobCommandOutput, AmplifyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StartJobCommand extends $Command< configuration: AmplifyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-amplify/commands/StopJobCommand.ts b/clients/client-amplify/commands/StopJobCommand.ts index 75b7516a74e2..4f0d69223fcf 100644 --- a/clients/client-amplify/commands/StopJobCommand.ts +++ b/clients/client-amplify/commands/StopJobCommand.ts @@ -24,7 +24,6 @@ export type StopJobCommandOutput = StopJobResult & __MetadataBearer; *

Stops a job that is in progress for a branch of an Amplify app.

*/ export class StopJobCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -42,10 +41,7 @@ export class StopJobCommand extends $Command { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-amplify/commands/TagResourceCommand.ts b/clients/client-amplify/commands/TagResourceCommand.ts index c74e3d518e84..743b2dae29af 100644 --- a/clients/client-amplify/commands/TagResourceCommand.ts +++ b/clients/client-amplify/commands/TagResourceCommand.ts @@ -28,7 +28,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, AmplifyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class TagResourceCommand extends $Command< configuration: AmplifyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-amplify/commands/UntagResourceCommand.ts b/clients/client-amplify/commands/UntagResourceCommand.ts index f3445e46a30a..8b97393ba790 100644 --- a/clients/client-amplify/commands/UntagResourceCommand.ts +++ b/clients/client-amplify/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, AmplifyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: AmplifyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-amplify/commands/UpdateAppCommand.ts b/clients/client-amplify/commands/UpdateAppCommand.ts index 59ebea5e7c8d..cf97b5105766 100644 --- a/clients/client-amplify/commands/UpdateAppCommand.ts +++ b/clients/client-amplify/commands/UpdateAppCommand.ts @@ -28,7 +28,6 @@ export class UpdateAppCommand extends $Command< UpdateAppCommandOutput, AmplifyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateAppCommand extends $Command< configuration: AmplifyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-amplify/commands/UpdateBranchCommand.ts b/clients/client-amplify/commands/UpdateBranchCommand.ts index 783b1bdcf0cd..a56cae54093d 100644 --- a/clients/client-amplify/commands/UpdateBranchCommand.ts +++ b/clients/client-amplify/commands/UpdateBranchCommand.ts @@ -28,7 +28,6 @@ export class UpdateBranchCommand extends $Command< UpdateBranchCommandOutput, AmplifyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateBranchCommand extends $Command< configuration: AmplifyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-amplify/commands/UpdateDomainAssociationCommand.ts b/clients/client-amplify/commands/UpdateDomainAssociationCommand.ts index dc042a10556e..8788fd8528c4 100644 --- a/clients/client-amplify/commands/UpdateDomainAssociationCommand.ts +++ b/clients/client-amplify/commands/UpdateDomainAssociationCommand.ts @@ -28,7 +28,6 @@ export class UpdateDomainAssociationCommand extends $Command< UpdateDomainAssociationCommandOutput, AmplifyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateDomainAssociationCommand extends $Command< configuration: AmplifyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-amplify/commands/UpdateWebhookCommand.ts b/clients/client-amplify/commands/UpdateWebhookCommand.ts index f7c5c7191821..01b4d490ad21 100644 --- a/clients/client-amplify/commands/UpdateWebhookCommand.ts +++ b/clients/client-amplify/commands/UpdateWebhookCommand.ts @@ -28,7 +28,6 @@ export class UpdateWebhookCommand extends $Command< UpdateWebhookCommandOutput, AmplifyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateWebhookCommand extends $Command< configuration: AmplifyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-amplifybackend/commands/CloneBackendCommand.ts b/clients/client-amplifybackend/commands/CloneBackendCommand.ts index 9508ba8f2da8..e72dda96e1c8 100644 --- a/clients/client-amplifybackend/commands/CloneBackendCommand.ts +++ b/clients/client-amplifybackend/commands/CloneBackendCommand.ts @@ -28,7 +28,6 @@ export class CloneBackendCommand extends $Command< CloneBackendCommandOutput, AmplifyBackendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CloneBackendCommand extends $Command< configuration: AmplifyBackendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-amplifybackend/commands/CreateBackendAPICommand.ts b/clients/client-amplifybackend/commands/CreateBackendAPICommand.ts index c0e839725753..fa4f5576fd1e 100644 --- a/clients/client-amplifybackend/commands/CreateBackendAPICommand.ts +++ b/clients/client-amplifybackend/commands/CreateBackendAPICommand.ts @@ -28,7 +28,6 @@ export class CreateBackendAPICommand extends $Command< CreateBackendAPICommandOutput, AmplifyBackendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateBackendAPICommand extends $Command< configuration: AmplifyBackendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-amplifybackend/commands/CreateBackendAuthCommand.ts b/clients/client-amplifybackend/commands/CreateBackendAuthCommand.ts index ee66b1f262a8..fe64123da4cd 100644 --- a/clients/client-amplifybackend/commands/CreateBackendAuthCommand.ts +++ b/clients/client-amplifybackend/commands/CreateBackendAuthCommand.ts @@ -28,7 +28,6 @@ export class CreateBackendAuthCommand extends $Command< CreateBackendAuthCommandOutput, AmplifyBackendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateBackendAuthCommand extends $Command< configuration: AmplifyBackendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-amplifybackend/commands/CreateBackendCommand.ts b/clients/client-amplifybackend/commands/CreateBackendCommand.ts index 7c4ee7b5efc7..cf3b3aef4702 100644 --- a/clients/client-amplifybackend/commands/CreateBackendCommand.ts +++ b/clients/client-amplifybackend/commands/CreateBackendCommand.ts @@ -28,7 +28,6 @@ export class CreateBackendCommand extends $Command< CreateBackendCommandOutput, AmplifyBackendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateBackendCommand extends $Command< configuration: AmplifyBackendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-amplifybackend/commands/CreateBackendConfigCommand.ts b/clients/client-amplifybackend/commands/CreateBackendConfigCommand.ts index 413fe1da22bf..485eda85ae6f 100644 --- a/clients/client-amplifybackend/commands/CreateBackendConfigCommand.ts +++ b/clients/client-amplifybackend/commands/CreateBackendConfigCommand.ts @@ -28,7 +28,6 @@ export class CreateBackendConfigCommand extends $Command< CreateBackendConfigCommandOutput, AmplifyBackendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateBackendConfigCommand extends $Command< configuration: AmplifyBackendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-amplifybackend/commands/CreateTokenCommand.ts b/clients/client-amplifybackend/commands/CreateTokenCommand.ts index cab388b37683..a7df506a701d 100644 --- a/clients/client-amplifybackend/commands/CreateTokenCommand.ts +++ b/clients/client-amplifybackend/commands/CreateTokenCommand.ts @@ -28,7 +28,6 @@ export class CreateTokenCommand extends $Command< CreateTokenCommandOutput, AmplifyBackendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateTokenCommand extends $Command< configuration: AmplifyBackendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-amplifybackend/commands/DeleteBackendAPICommand.ts b/clients/client-amplifybackend/commands/DeleteBackendAPICommand.ts index 192b0b2001cd..834aeeedb123 100644 --- a/clients/client-amplifybackend/commands/DeleteBackendAPICommand.ts +++ b/clients/client-amplifybackend/commands/DeleteBackendAPICommand.ts @@ -28,7 +28,6 @@ export class DeleteBackendAPICommand extends $Command< DeleteBackendAPICommandOutput, AmplifyBackendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteBackendAPICommand extends $Command< configuration: AmplifyBackendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-amplifybackend/commands/DeleteBackendAuthCommand.ts b/clients/client-amplifybackend/commands/DeleteBackendAuthCommand.ts index d787c13fb45d..d3dc8c56d9fa 100644 --- a/clients/client-amplifybackend/commands/DeleteBackendAuthCommand.ts +++ b/clients/client-amplifybackend/commands/DeleteBackendAuthCommand.ts @@ -28,7 +28,6 @@ export class DeleteBackendAuthCommand extends $Command< DeleteBackendAuthCommandOutput, AmplifyBackendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteBackendAuthCommand extends $Command< configuration: AmplifyBackendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-amplifybackend/commands/DeleteBackendCommand.ts b/clients/client-amplifybackend/commands/DeleteBackendCommand.ts index c48e8d0eacf4..c56726b59a80 100644 --- a/clients/client-amplifybackend/commands/DeleteBackendCommand.ts +++ b/clients/client-amplifybackend/commands/DeleteBackendCommand.ts @@ -28,7 +28,6 @@ export class DeleteBackendCommand extends $Command< DeleteBackendCommandOutput, AmplifyBackendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteBackendCommand extends $Command< configuration: AmplifyBackendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-amplifybackend/commands/DeleteTokenCommand.ts b/clients/client-amplifybackend/commands/DeleteTokenCommand.ts index 16c9b5326105..50381ff5f9ed 100644 --- a/clients/client-amplifybackend/commands/DeleteTokenCommand.ts +++ b/clients/client-amplifybackend/commands/DeleteTokenCommand.ts @@ -28,7 +28,6 @@ export class DeleteTokenCommand extends $Command< DeleteTokenCommandOutput, AmplifyBackendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteTokenCommand extends $Command< configuration: AmplifyBackendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-amplifybackend/commands/GenerateBackendAPIModelsCommand.ts b/clients/client-amplifybackend/commands/GenerateBackendAPIModelsCommand.ts index f87d4bbbdf05..38b40362d622 100644 --- a/clients/client-amplifybackend/commands/GenerateBackendAPIModelsCommand.ts +++ b/clients/client-amplifybackend/commands/GenerateBackendAPIModelsCommand.ts @@ -28,7 +28,6 @@ export class GenerateBackendAPIModelsCommand extends $Command< GenerateBackendAPIModelsCommandOutput, AmplifyBackendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GenerateBackendAPIModelsCommand extends $Command< configuration: AmplifyBackendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-amplifybackend/commands/GetBackendAPICommand.ts b/clients/client-amplifybackend/commands/GetBackendAPICommand.ts index 83992454ab47..e7343e067158 100644 --- a/clients/client-amplifybackend/commands/GetBackendAPICommand.ts +++ b/clients/client-amplifybackend/commands/GetBackendAPICommand.ts @@ -28,7 +28,6 @@ export class GetBackendAPICommand extends $Command< GetBackendAPICommandOutput, AmplifyBackendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetBackendAPICommand extends $Command< configuration: AmplifyBackendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-amplifybackend/commands/GetBackendAPIModelsCommand.ts b/clients/client-amplifybackend/commands/GetBackendAPIModelsCommand.ts index 25c9a5dd59e1..4c82de84ff46 100644 --- a/clients/client-amplifybackend/commands/GetBackendAPIModelsCommand.ts +++ b/clients/client-amplifybackend/commands/GetBackendAPIModelsCommand.ts @@ -28,7 +28,6 @@ export class GetBackendAPIModelsCommand extends $Command< GetBackendAPIModelsCommandOutput, AmplifyBackendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetBackendAPIModelsCommand extends $Command< configuration: AmplifyBackendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-amplifybackend/commands/GetBackendAuthCommand.ts b/clients/client-amplifybackend/commands/GetBackendAuthCommand.ts index 11d15e905d1c..5a4d1a476315 100644 --- a/clients/client-amplifybackend/commands/GetBackendAuthCommand.ts +++ b/clients/client-amplifybackend/commands/GetBackendAuthCommand.ts @@ -28,7 +28,6 @@ export class GetBackendAuthCommand extends $Command< GetBackendAuthCommandOutput, AmplifyBackendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetBackendAuthCommand extends $Command< configuration: AmplifyBackendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-amplifybackend/commands/GetBackendCommand.ts b/clients/client-amplifybackend/commands/GetBackendCommand.ts index 71c3ad87f3d1..790c49d4ded4 100644 --- a/clients/client-amplifybackend/commands/GetBackendCommand.ts +++ b/clients/client-amplifybackend/commands/GetBackendCommand.ts @@ -28,7 +28,6 @@ export class GetBackendCommand extends $Command< GetBackendCommandOutput, AmplifyBackendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetBackendCommand extends $Command< configuration: AmplifyBackendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-amplifybackend/commands/GetBackendJobCommand.ts b/clients/client-amplifybackend/commands/GetBackendJobCommand.ts index d4568d24fb2c..a19b1ff38915 100644 --- a/clients/client-amplifybackend/commands/GetBackendJobCommand.ts +++ b/clients/client-amplifybackend/commands/GetBackendJobCommand.ts @@ -28,7 +28,6 @@ export class GetBackendJobCommand extends $Command< GetBackendJobCommandOutput, AmplifyBackendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetBackendJobCommand extends $Command< configuration: AmplifyBackendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-amplifybackend/commands/GetTokenCommand.ts b/clients/client-amplifybackend/commands/GetTokenCommand.ts index 177de6002795..f4d5d4508d47 100644 --- a/clients/client-amplifybackend/commands/GetTokenCommand.ts +++ b/clients/client-amplifybackend/commands/GetTokenCommand.ts @@ -28,7 +28,6 @@ export class GetTokenCommand extends $Command< GetTokenCommandOutput, AmplifyBackendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetTokenCommand extends $Command< configuration: AmplifyBackendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-amplifybackend/commands/ListBackendJobsCommand.ts b/clients/client-amplifybackend/commands/ListBackendJobsCommand.ts index 42590104fbff..6b5b5545ed74 100644 --- a/clients/client-amplifybackend/commands/ListBackendJobsCommand.ts +++ b/clients/client-amplifybackend/commands/ListBackendJobsCommand.ts @@ -28,7 +28,6 @@ export class ListBackendJobsCommand extends $Command< ListBackendJobsCommandOutput, AmplifyBackendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListBackendJobsCommand extends $Command< configuration: AmplifyBackendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-amplifybackend/commands/RemoveAllBackendsCommand.ts b/clients/client-amplifybackend/commands/RemoveAllBackendsCommand.ts index 06069dc19447..88da4106bf72 100644 --- a/clients/client-amplifybackend/commands/RemoveAllBackendsCommand.ts +++ b/clients/client-amplifybackend/commands/RemoveAllBackendsCommand.ts @@ -28,7 +28,6 @@ export class RemoveAllBackendsCommand extends $Command< RemoveAllBackendsCommandOutput, AmplifyBackendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RemoveAllBackendsCommand extends $Command< configuration: AmplifyBackendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-amplifybackend/commands/RemoveBackendConfigCommand.ts b/clients/client-amplifybackend/commands/RemoveBackendConfigCommand.ts index 2a8c2e3f54f6..ee3be6e760f1 100644 --- a/clients/client-amplifybackend/commands/RemoveBackendConfigCommand.ts +++ b/clients/client-amplifybackend/commands/RemoveBackendConfigCommand.ts @@ -28,7 +28,6 @@ export class RemoveBackendConfigCommand extends $Command< RemoveBackendConfigCommandOutput, AmplifyBackendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RemoveBackendConfigCommand extends $Command< configuration: AmplifyBackendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-amplifybackend/commands/UpdateBackendAPICommand.ts b/clients/client-amplifybackend/commands/UpdateBackendAPICommand.ts index fc5ef2e6ff38..7373cb4b5ae0 100644 --- a/clients/client-amplifybackend/commands/UpdateBackendAPICommand.ts +++ b/clients/client-amplifybackend/commands/UpdateBackendAPICommand.ts @@ -28,7 +28,6 @@ export class UpdateBackendAPICommand extends $Command< UpdateBackendAPICommandOutput, AmplifyBackendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateBackendAPICommand extends $Command< configuration: AmplifyBackendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-amplifybackend/commands/UpdateBackendAuthCommand.ts b/clients/client-amplifybackend/commands/UpdateBackendAuthCommand.ts index c33d75106e84..72dda5ca50cf 100644 --- a/clients/client-amplifybackend/commands/UpdateBackendAuthCommand.ts +++ b/clients/client-amplifybackend/commands/UpdateBackendAuthCommand.ts @@ -28,7 +28,6 @@ export class UpdateBackendAuthCommand extends $Command< UpdateBackendAuthCommandOutput, AmplifyBackendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateBackendAuthCommand extends $Command< configuration: AmplifyBackendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-amplifybackend/commands/UpdateBackendConfigCommand.ts b/clients/client-amplifybackend/commands/UpdateBackendConfigCommand.ts index b532ca273f6e..617e9f8db6d2 100644 --- a/clients/client-amplifybackend/commands/UpdateBackendConfigCommand.ts +++ b/clients/client-amplifybackend/commands/UpdateBackendConfigCommand.ts @@ -28,7 +28,6 @@ export class UpdateBackendConfigCommand extends $Command< UpdateBackendConfigCommandOutput, AmplifyBackendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateBackendConfigCommand extends $Command< configuration: AmplifyBackendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-amplifybackend/commands/UpdateBackendJobCommand.ts b/clients/client-amplifybackend/commands/UpdateBackendJobCommand.ts index 6ce59fc01dce..9f6b0662da7f 100644 --- a/clients/client-amplifybackend/commands/UpdateBackendJobCommand.ts +++ b/clients/client-amplifybackend/commands/UpdateBackendJobCommand.ts @@ -28,7 +28,6 @@ export class UpdateBackendJobCommand extends $Command< UpdateBackendJobCommandOutput, AmplifyBackendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateBackendJobCommand extends $Command< configuration: AmplifyBackendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/CreateApiKeyCommand.ts b/clients/client-api-gateway/commands/CreateApiKeyCommand.ts index 71800662e953..19ae4f0e2e44 100644 --- a/clients/client-api-gateway/commands/CreateApiKeyCommand.ts +++ b/clients/client-api-gateway/commands/CreateApiKeyCommand.ts @@ -29,7 +29,6 @@ export class CreateApiKeyCommand extends $Command< CreateApiKeyCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateApiKeyCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/CreateAuthorizerCommand.ts b/clients/client-api-gateway/commands/CreateAuthorizerCommand.ts index 39f2451e581a..4c6d477c9e15 100644 --- a/clients/client-api-gateway/commands/CreateAuthorizerCommand.ts +++ b/clients/client-api-gateway/commands/CreateAuthorizerCommand.ts @@ -29,7 +29,6 @@ export class CreateAuthorizerCommand extends $Command< CreateAuthorizerCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateAuthorizerCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/CreateBasePathMappingCommand.ts b/clients/client-api-gateway/commands/CreateBasePathMappingCommand.ts index eb34f31e9994..b7a3d403deba 100644 --- a/clients/client-api-gateway/commands/CreateBasePathMappingCommand.ts +++ b/clients/client-api-gateway/commands/CreateBasePathMappingCommand.ts @@ -28,7 +28,6 @@ export class CreateBasePathMappingCommand extends $Command< CreateBasePathMappingCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateBasePathMappingCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/CreateDeploymentCommand.ts b/clients/client-api-gateway/commands/CreateDeploymentCommand.ts index a1289f79e21d..3e8621103cfe 100644 --- a/clients/client-api-gateway/commands/CreateDeploymentCommand.ts +++ b/clients/client-api-gateway/commands/CreateDeploymentCommand.ts @@ -28,7 +28,6 @@ export class CreateDeploymentCommand extends $Command< CreateDeploymentCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateDeploymentCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/CreateDocumentationPartCommand.ts b/clients/client-api-gateway/commands/CreateDocumentationPartCommand.ts index 0de0b544d71c..7a8c17c9d822 100644 --- a/clients/client-api-gateway/commands/CreateDocumentationPartCommand.ts +++ b/clients/client-api-gateway/commands/CreateDocumentationPartCommand.ts @@ -25,7 +25,6 @@ export class CreateDocumentationPartCommand extends $Command< CreateDocumentationPartCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class CreateDocumentationPartCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/CreateDocumentationVersionCommand.ts b/clients/client-api-gateway/commands/CreateDocumentationVersionCommand.ts index 4d2dcdcce5cb..b1a828cc3144 100644 --- a/clients/client-api-gateway/commands/CreateDocumentationVersionCommand.ts +++ b/clients/client-api-gateway/commands/CreateDocumentationVersionCommand.ts @@ -25,7 +25,6 @@ export class CreateDocumentationVersionCommand extends $Command< CreateDocumentationVersionCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class CreateDocumentationVersionCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/CreateDomainNameCommand.ts b/clients/client-api-gateway/commands/CreateDomainNameCommand.ts index fe2f0860244f..fa5db3196082 100644 --- a/clients/client-api-gateway/commands/CreateDomainNameCommand.ts +++ b/clients/client-api-gateway/commands/CreateDomainNameCommand.ts @@ -28,7 +28,6 @@ export class CreateDomainNameCommand extends $Command< CreateDomainNameCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateDomainNameCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/CreateModelCommand.ts b/clients/client-api-gateway/commands/CreateModelCommand.ts index 7df75b598a0a..d20a4f58480c 100644 --- a/clients/client-api-gateway/commands/CreateModelCommand.ts +++ b/clients/client-api-gateway/commands/CreateModelCommand.ts @@ -28,7 +28,6 @@ export class CreateModelCommand extends $Command< CreateModelCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateModelCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/CreateRequestValidatorCommand.ts b/clients/client-api-gateway/commands/CreateRequestValidatorCommand.ts index f00f40d56c47..4d9129d84124 100644 --- a/clients/client-api-gateway/commands/CreateRequestValidatorCommand.ts +++ b/clients/client-api-gateway/commands/CreateRequestValidatorCommand.ts @@ -28,7 +28,6 @@ export class CreateRequestValidatorCommand extends $Command< CreateRequestValidatorCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateRequestValidatorCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/CreateResourceCommand.ts b/clients/client-api-gateway/commands/CreateResourceCommand.ts index 1a1a529a411a..ab38ab6c5998 100644 --- a/clients/client-api-gateway/commands/CreateResourceCommand.ts +++ b/clients/client-api-gateway/commands/CreateResourceCommand.ts @@ -28,7 +28,6 @@ export class CreateResourceCommand extends $Command< CreateResourceCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateResourceCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/CreateRestApiCommand.ts b/clients/client-api-gateway/commands/CreateRestApiCommand.ts index c685c1d7a913..0a87866da4ae 100644 --- a/clients/client-api-gateway/commands/CreateRestApiCommand.ts +++ b/clients/client-api-gateway/commands/CreateRestApiCommand.ts @@ -28,7 +28,6 @@ export class CreateRestApiCommand extends $Command< CreateRestApiCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateRestApiCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/CreateStageCommand.ts b/clients/client-api-gateway/commands/CreateStageCommand.ts index 2be0db2da443..82aa01658940 100644 --- a/clients/client-api-gateway/commands/CreateStageCommand.ts +++ b/clients/client-api-gateway/commands/CreateStageCommand.ts @@ -29,7 +29,6 @@ export class CreateStageCommand extends $Command< CreateStageCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateStageCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/CreateUsagePlanCommand.ts b/clients/client-api-gateway/commands/CreateUsagePlanCommand.ts index be20c89ed91e..cfa417486374 100644 --- a/clients/client-api-gateway/commands/CreateUsagePlanCommand.ts +++ b/clients/client-api-gateway/commands/CreateUsagePlanCommand.ts @@ -28,7 +28,6 @@ export class CreateUsagePlanCommand extends $Command< CreateUsagePlanCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateUsagePlanCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/CreateUsagePlanKeyCommand.ts b/clients/client-api-gateway/commands/CreateUsagePlanKeyCommand.ts index 5c31fe2c423e..3533ea08a48a 100644 --- a/clients/client-api-gateway/commands/CreateUsagePlanKeyCommand.ts +++ b/clients/client-api-gateway/commands/CreateUsagePlanKeyCommand.ts @@ -28,7 +28,6 @@ export class CreateUsagePlanKeyCommand extends $Command< CreateUsagePlanKeyCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateUsagePlanKeyCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/CreateVpcLinkCommand.ts b/clients/client-api-gateway/commands/CreateVpcLinkCommand.ts index 04b0cb5aac1b..3793c307e697 100644 --- a/clients/client-api-gateway/commands/CreateVpcLinkCommand.ts +++ b/clients/client-api-gateway/commands/CreateVpcLinkCommand.ts @@ -28,7 +28,6 @@ export class CreateVpcLinkCommand extends $Command< CreateVpcLinkCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateVpcLinkCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/DeleteApiKeyCommand.ts b/clients/client-api-gateway/commands/DeleteApiKeyCommand.ts index c3558474861c..7ea07afecd83 100644 --- a/clients/client-api-gateway/commands/DeleteApiKeyCommand.ts +++ b/clients/client-api-gateway/commands/DeleteApiKeyCommand.ts @@ -28,7 +28,6 @@ export class DeleteApiKeyCommand extends $Command< DeleteApiKeyCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteApiKeyCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/DeleteAuthorizerCommand.ts b/clients/client-api-gateway/commands/DeleteAuthorizerCommand.ts index 1594f204280f..1f3f1098e5af 100644 --- a/clients/client-api-gateway/commands/DeleteAuthorizerCommand.ts +++ b/clients/client-api-gateway/commands/DeleteAuthorizerCommand.ts @@ -29,7 +29,6 @@ export class DeleteAuthorizerCommand extends $Command< DeleteAuthorizerCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteAuthorizerCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/DeleteBasePathMappingCommand.ts b/clients/client-api-gateway/commands/DeleteBasePathMappingCommand.ts index 855c789746b9..ca0aa071ecb0 100644 --- a/clients/client-api-gateway/commands/DeleteBasePathMappingCommand.ts +++ b/clients/client-api-gateway/commands/DeleteBasePathMappingCommand.ts @@ -28,7 +28,6 @@ export class DeleteBasePathMappingCommand extends $Command< DeleteBasePathMappingCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteBasePathMappingCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/DeleteClientCertificateCommand.ts b/clients/client-api-gateway/commands/DeleteClientCertificateCommand.ts index cd929f22faf3..326578005b13 100644 --- a/clients/client-api-gateway/commands/DeleteClientCertificateCommand.ts +++ b/clients/client-api-gateway/commands/DeleteClientCertificateCommand.ts @@ -28,7 +28,6 @@ export class DeleteClientCertificateCommand extends $Command< DeleteClientCertificateCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteClientCertificateCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/DeleteDeploymentCommand.ts b/clients/client-api-gateway/commands/DeleteDeploymentCommand.ts index 1b1abf5f6370..a62f7278ba3a 100644 --- a/clients/client-api-gateway/commands/DeleteDeploymentCommand.ts +++ b/clients/client-api-gateway/commands/DeleteDeploymentCommand.ts @@ -28,7 +28,6 @@ export class DeleteDeploymentCommand extends $Command< DeleteDeploymentCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteDeploymentCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/DeleteDocumentationPartCommand.ts b/clients/client-api-gateway/commands/DeleteDocumentationPartCommand.ts index 37372462274a..5167dca39ca3 100644 --- a/clients/client-api-gateway/commands/DeleteDocumentationPartCommand.ts +++ b/clients/client-api-gateway/commands/DeleteDocumentationPartCommand.ts @@ -25,7 +25,6 @@ export class DeleteDocumentationPartCommand extends $Command< DeleteDocumentationPartCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class DeleteDocumentationPartCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/DeleteDocumentationVersionCommand.ts b/clients/client-api-gateway/commands/DeleteDocumentationVersionCommand.ts index 298db5c8d8dd..d4128b3b1d70 100644 --- a/clients/client-api-gateway/commands/DeleteDocumentationVersionCommand.ts +++ b/clients/client-api-gateway/commands/DeleteDocumentationVersionCommand.ts @@ -25,7 +25,6 @@ export class DeleteDocumentationVersionCommand extends $Command< DeleteDocumentationVersionCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class DeleteDocumentationVersionCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/DeleteDomainNameCommand.ts b/clients/client-api-gateway/commands/DeleteDomainNameCommand.ts index e2024e1e8c3a..1bbc1cdde911 100644 --- a/clients/client-api-gateway/commands/DeleteDomainNameCommand.ts +++ b/clients/client-api-gateway/commands/DeleteDomainNameCommand.ts @@ -28,7 +28,6 @@ export class DeleteDomainNameCommand extends $Command< DeleteDomainNameCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteDomainNameCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/DeleteGatewayResponseCommand.ts b/clients/client-api-gateway/commands/DeleteGatewayResponseCommand.ts index 33f56780975e..ee201f8167fb 100644 --- a/clients/client-api-gateway/commands/DeleteGatewayResponseCommand.ts +++ b/clients/client-api-gateway/commands/DeleteGatewayResponseCommand.ts @@ -28,7 +28,6 @@ export class DeleteGatewayResponseCommand extends $Command< DeleteGatewayResponseCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteGatewayResponseCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/DeleteIntegrationCommand.ts b/clients/client-api-gateway/commands/DeleteIntegrationCommand.ts index fdc0df17f255..df0f274bbbe1 100644 --- a/clients/client-api-gateway/commands/DeleteIntegrationCommand.ts +++ b/clients/client-api-gateway/commands/DeleteIntegrationCommand.ts @@ -28,7 +28,6 @@ export class DeleteIntegrationCommand extends $Command< DeleteIntegrationCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteIntegrationCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/DeleteIntegrationResponseCommand.ts b/clients/client-api-gateway/commands/DeleteIntegrationResponseCommand.ts index daa5a1849923..9b534d09f053 100644 --- a/clients/client-api-gateway/commands/DeleteIntegrationResponseCommand.ts +++ b/clients/client-api-gateway/commands/DeleteIntegrationResponseCommand.ts @@ -28,7 +28,6 @@ export class DeleteIntegrationResponseCommand extends $Command< DeleteIntegrationResponseCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteIntegrationResponseCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/DeleteMethodCommand.ts b/clients/client-api-gateway/commands/DeleteMethodCommand.ts index b89757a562ca..88270c47f3d0 100644 --- a/clients/client-api-gateway/commands/DeleteMethodCommand.ts +++ b/clients/client-api-gateway/commands/DeleteMethodCommand.ts @@ -28,7 +28,6 @@ export class DeleteMethodCommand extends $Command< DeleteMethodCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteMethodCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/DeleteMethodResponseCommand.ts b/clients/client-api-gateway/commands/DeleteMethodResponseCommand.ts index 3bbca491a002..0ecf9756db29 100644 --- a/clients/client-api-gateway/commands/DeleteMethodResponseCommand.ts +++ b/clients/client-api-gateway/commands/DeleteMethodResponseCommand.ts @@ -28,7 +28,6 @@ export class DeleteMethodResponseCommand extends $Command< DeleteMethodResponseCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteMethodResponseCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/DeleteModelCommand.ts b/clients/client-api-gateway/commands/DeleteModelCommand.ts index 3de839c5b990..e5d7baf176d3 100644 --- a/clients/client-api-gateway/commands/DeleteModelCommand.ts +++ b/clients/client-api-gateway/commands/DeleteModelCommand.ts @@ -28,7 +28,6 @@ export class DeleteModelCommand extends $Command< DeleteModelCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteModelCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/DeleteRequestValidatorCommand.ts b/clients/client-api-gateway/commands/DeleteRequestValidatorCommand.ts index 96ca359a8e69..0a886f9fa9f8 100644 --- a/clients/client-api-gateway/commands/DeleteRequestValidatorCommand.ts +++ b/clients/client-api-gateway/commands/DeleteRequestValidatorCommand.ts @@ -28,7 +28,6 @@ export class DeleteRequestValidatorCommand extends $Command< DeleteRequestValidatorCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteRequestValidatorCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/DeleteResourceCommand.ts b/clients/client-api-gateway/commands/DeleteResourceCommand.ts index c4105d919c1e..cfcc1e0365c4 100644 --- a/clients/client-api-gateway/commands/DeleteResourceCommand.ts +++ b/clients/client-api-gateway/commands/DeleteResourceCommand.ts @@ -28,7 +28,6 @@ export class DeleteResourceCommand extends $Command< DeleteResourceCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteResourceCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/DeleteRestApiCommand.ts b/clients/client-api-gateway/commands/DeleteRestApiCommand.ts index bef76ef640eb..6c18751d7af3 100644 --- a/clients/client-api-gateway/commands/DeleteRestApiCommand.ts +++ b/clients/client-api-gateway/commands/DeleteRestApiCommand.ts @@ -28,7 +28,6 @@ export class DeleteRestApiCommand extends $Command< DeleteRestApiCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteRestApiCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/DeleteStageCommand.ts b/clients/client-api-gateway/commands/DeleteStageCommand.ts index 2c34e421154c..de9788eaaa94 100644 --- a/clients/client-api-gateway/commands/DeleteStageCommand.ts +++ b/clients/client-api-gateway/commands/DeleteStageCommand.ts @@ -28,7 +28,6 @@ export class DeleteStageCommand extends $Command< DeleteStageCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteStageCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/DeleteUsagePlanCommand.ts b/clients/client-api-gateway/commands/DeleteUsagePlanCommand.ts index 7a9bf424771b..a2d9c2336bae 100644 --- a/clients/client-api-gateway/commands/DeleteUsagePlanCommand.ts +++ b/clients/client-api-gateway/commands/DeleteUsagePlanCommand.ts @@ -28,7 +28,6 @@ export class DeleteUsagePlanCommand extends $Command< DeleteUsagePlanCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteUsagePlanCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/DeleteUsagePlanKeyCommand.ts b/clients/client-api-gateway/commands/DeleteUsagePlanKeyCommand.ts index 6daee3ed4209..80c7abcb3d76 100644 --- a/clients/client-api-gateway/commands/DeleteUsagePlanKeyCommand.ts +++ b/clients/client-api-gateway/commands/DeleteUsagePlanKeyCommand.ts @@ -28,7 +28,6 @@ export class DeleteUsagePlanKeyCommand extends $Command< DeleteUsagePlanKeyCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteUsagePlanKeyCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/DeleteVpcLinkCommand.ts b/clients/client-api-gateway/commands/DeleteVpcLinkCommand.ts index 96218d201ad1..9de4b235cd23 100644 --- a/clients/client-api-gateway/commands/DeleteVpcLinkCommand.ts +++ b/clients/client-api-gateway/commands/DeleteVpcLinkCommand.ts @@ -28,7 +28,6 @@ export class DeleteVpcLinkCommand extends $Command< DeleteVpcLinkCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteVpcLinkCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/FlushStageAuthorizersCacheCommand.ts b/clients/client-api-gateway/commands/FlushStageAuthorizersCacheCommand.ts index 0a9e845ed04d..8553898d74f8 100644 --- a/clients/client-api-gateway/commands/FlushStageAuthorizersCacheCommand.ts +++ b/clients/client-api-gateway/commands/FlushStageAuthorizersCacheCommand.ts @@ -28,7 +28,6 @@ export class FlushStageAuthorizersCacheCommand extends $Command< FlushStageAuthorizersCacheCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class FlushStageAuthorizersCacheCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/FlushStageCacheCommand.ts b/clients/client-api-gateway/commands/FlushStageCacheCommand.ts index 2d155c1f367b..93206e621da4 100644 --- a/clients/client-api-gateway/commands/FlushStageCacheCommand.ts +++ b/clients/client-api-gateway/commands/FlushStageCacheCommand.ts @@ -28,7 +28,6 @@ export class FlushStageCacheCommand extends $Command< FlushStageCacheCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class FlushStageCacheCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/GenerateClientCertificateCommand.ts b/clients/client-api-gateway/commands/GenerateClientCertificateCommand.ts index c4fac3e1f7c8..acc5a0c0854e 100644 --- a/clients/client-api-gateway/commands/GenerateClientCertificateCommand.ts +++ b/clients/client-api-gateway/commands/GenerateClientCertificateCommand.ts @@ -28,7 +28,6 @@ export class GenerateClientCertificateCommand extends $Command< GenerateClientCertificateCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GenerateClientCertificateCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/GetAccountCommand.ts b/clients/client-api-gateway/commands/GetAccountCommand.ts index 7b7646a1c6c8..30ca8e36a66f 100644 --- a/clients/client-api-gateway/commands/GetAccountCommand.ts +++ b/clients/client-api-gateway/commands/GetAccountCommand.ts @@ -28,7 +28,6 @@ export class GetAccountCommand extends $Command< GetAccountCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetAccountCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/GetApiKeyCommand.ts b/clients/client-api-gateway/commands/GetApiKeyCommand.ts index 22239f1a5944..0ea49e19b276 100644 --- a/clients/client-api-gateway/commands/GetApiKeyCommand.ts +++ b/clients/client-api-gateway/commands/GetApiKeyCommand.ts @@ -28,7 +28,6 @@ export class GetApiKeyCommand extends $Command< GetApiKeyCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetApiKeyCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/GetApiKeysCommand.ts b/clients/client-api-gateway/commands/GetApiKeysCommand.ts index 101961255f75..05b95f7e057b 100644 --- a/clients/client-api-gateway/commands/GetApiKeysCommand.ts +++ b/clients/client-api-gateway/commands/GetApiKeysCommand.ts @@ -28,7 +28,6 @@ export class GetApiKeysCommand extends $Command< GetApiKeysCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetApiKeysCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/GetAuthorizerCommand.ts b/clients/client-api-gateway/commands/GetAuthorizerCommand.ts index 479da5aa6bbd..98a5be09b8ad 100644 --- a/clients/client-api-gateway/commands/GetAuthorizerCommand.ts +++ b/clients/client-api-gateway/commands/GetAuthorizerCommand.ts @@ -29,7 +29,6 @@ export class GetAuthorizerCommand extends $Command< GetAuthorizerCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetAuthorizerCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/GetAuthorizersCommand.ts b/clients/client-api-gateway/commands/GetAuthorizersCommand.ts index 5ee2af6eb748..b345720be0cc 100644 --- a/clients/client-api-gateway/commands/GetAuthorizersCommand.ts +++ b/clients/client-api-gateway/commands/GetAuthorizersCommand.ts @@ -29,7 +29,6 @@ export class GetAuthorizersCommand extends $Command< GetAuthorizersCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetAuthorizersCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/GetBasePathMappingCommand.ts b/clients/client-api-gateway/commands/GetBasePathMappingCommand.ts index e258ccb504d3..20204a1cb4cd 100644 --- a/clients/client-api-gateway/commands/GetBasePathMappingCommand.ts +++ b/clients/client-api-gateway/commands/GetBasePathMappingCommand.ts @@ -28,7 +28,6 @@ export class GetBasePathMappingCommand extends $Command< GetBasePathMappingCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetBasePathMappingCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/GetBasePathMappingsCommand.ts b/clients/client-api-gateway/commands/GetBasePathMappingsCommand.ts index 5d0c2f20eb80..2e7fc12cee71 100644 --- a/clients/client-api-gateway/commands/GetBasePathMappingsCommand.ts +++ b/clients/client-api-gateway/commands/GetBasePathMappingsCommand.ts @@ -28,7 +28,6 @@ export class GetBasePathMappingsCommand extends $Command< GetBasePathMappingsCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetBasePathMappingsCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/GetClientCertificateCommand.ts b/clients/client-api-gateway/commands/GetClientCertificateCommand.ts index f53789ff48bb..301e98e726a7 100644 --- a/clients/client-api-gateway/commands/GetClientCertificateCommand.ts +++ b/clients/client-api-gateway/commands/GetClientCertificateCommand.ts @@ -28,7 +28,6 @@ export class GetClientCertificateCommand extends $Command< GetClientCertificateCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetClientCertificateCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/GetClientCertificatesCommand.ts b/clients/client-api-gateway/commands/GetClientCertificatesCommand.ts index f5662dd71b73..9dc389d6868a 100644 --- a/clients/client-api-gateway/commands/GetClientCertificatesCommand.ts +++ b/clients/client-api-gateway/commands/GetClientCertificatesCommand.ts @@ -28,7 +28,6 @@ export class GetClientCertificatesCommand extends $Command< GetClientCertificatesCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetClientCertificatesCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/GetDeploymentCommand.ts b/clients/client-api-gateway/commands/GetDeploymentCommand.ts index 7f47fbcc46e6..9ed35c460790 100644 --- a/clients/client-api-gateway/commands/GetDeploymentCommand.ts +++ b/clients/client-api-gateway/commands/GetDeploymentCommand.ts @@ -28,7 +28,6 @@ export class GetDeploymentCommand extends $Command< GetDeploymentCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetDeploymentCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/GetDeploymentsCommand.ts b/clients/client-api-gateway/commands/GetDeploymentsCommand.ts index 7180e1d82809..b2f18d63113c 100644 --- a/clients/client-api-gateway/commands/GetDeploymentsCommand.ts +++ b/clients/client-api-gateway/commands/GetDeploymentsCommand.ts @@ -28,7 +28,6 @@ export class GetDeploymentsCommand extends $Command< GetDeploymentsCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetDeploymentsCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/GetDocumentationPartCommand.ts b/clients/client-api-gateway/commands/GetDocumentationPartCommand.ts index 2f68d30247cc..24a3e0b0f983 100644 --- a/clients/client-api-gateway/commands/GetDocumentationPartCommand.ts +++ b/clients/client-api-gateway/commands/GetDocumentationPartCommand.ts @@ -25,7 +25,6 @@ export class GetDocumentationPartCommand extends $Command< GetDocumentationPartCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class GetDocumentationPartCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/GetDocumentationPartsCommand.ts b/clients/client-api-gateway/commands/GetDocumentationPartsCommand.ts index 37e19e77e02e..d38f9722be96 100644 --- a/clients/client-api-gateway/commands/GetDocumentationPartsCommand.ts +++ b/clients/client-api-gateway/commands/GetDocumentationPartsCommand.ts @@ -25,7 +25,6 @@ export class GetDocumentationPartsCommand extends $Command< GetDocumentationPartsCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class GetDocumentationPartsCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/GetDocumentationVersionCommand.ts b/clients/client-api-gateway/commands/GetDocumentationVersionCommand.ts index c21fd7ebb8c9..5924b4feb416 100644 --- a/clients/client-api-gateway/commands/GetDocumentationVersionCommand.ts +++ b/clients/client-api-gateway/commands/GetDocumentationVersionCommand.ts @@ -25,7 +25,6 @@ export class GetDocumentationVersionCommand extends $Command< GetDocumentationVersionCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class GetDocumentationVersionCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/GetDocumentationVersionsCommand.ts b/clients/client-api-gateway/commands/GetDocumentationVersionsCommand.ts index ee207f95a941..151915b4ac04 100644 --- a/clients/client-api-gateway/commands/GetDocumentationVersionsCommand.ts +++ b/clients/client-api-gateway/commands/GetDocumentationVersionsCommand.ts @@ -25,7 +25,6 @@ export class GetDocumentationVersionsCommand extends $Command< GetDocumentationVersionsCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class GetDocumentationVersionsCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/GetDomainNameCommand.ts b/clients/client-api-gateway/commands/GetDomainNameCommand.ts index 37131d7b3aa7..ffed84646ea3 100644 --- a/clients/client-api-gateway/commands/GetDomainNameCommand.ts +++ b/clients/client-api-gateway/commands/GetDomainNameCommand.ts @@ -28,7 +28,6 @@ export class GetDomainNameCommand extends $Command< GetDomainNameCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetDomainNameCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/GetDomainNamesCommand.ts b/clients/client-api-gateway/commands/GetDomainNamesCommand.ts index b48ecf81c995..35da003283e3 100644 --- a/clients/client-api-gateway/commands/GetDomainNamesCommand.ts +++ b/clients/client-api-gateway/commands/GetDomainNamesCommand.ts @@ -28,7 +28,6 @@ export class GetDomainNamesCommand extends $Command< GetDomainNamesCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetDomainNamesCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/GetExportCommand.ts b/clients/client-api-gateway/commands/GetExportCommand.ts index 966d641d131f..2e0f88cc16ac 100644 --- a/clients/client-api-gateway/commands/GetExportCommand.ts +++ b/clients/client-api-gateway/commands/GetExportCommand.ts @@ -28,7 +28,6 @@ export class GetExportCommand extends $Command< GetExportCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetExportCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/GetGatewayResponseCommand.ts b/clients/client-api-gateway/commands/GetGatewayResponseCommand.ts index 52249bac457a..39c4c4f34686 100644 --- a/clients/client-api-gateway/commands/GetGatewayResponseCommand.ts +++ b/clients/client-api-gateway/commands/GetGatewayResponseCommand.ts @@ -28,7 +28,6 @@ export class GetGatewayResponseCommand extends $Command< GetGatewayResponseCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetGatewayResponseCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/GetGatewayResponsesCommand.ts b/clients/client-api-gateway/commands/GetGatewayResponsesCommand.ts index cc1961302d8d..7f90ff4a66fa 100644 --- a/clients/client-api-gateway/commands/GetGatewayResponsesCommand.ts +++ b/clients/client-api-gateway/commands/GetGatewayResponsesCommand.ts @@ -28,7 +28,6 @@ export class GetGatewayResponsesCommand extends $Command< GetGatewayResponsesCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetGatewayResponsesCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/GetIntegrationCommand.ts b/clients/client-api-gateway/commands/GetIntegrationCommand.ts index e359cbf3e6e3..3dc35f0a001a 100644 --- a/clients/client-api-gateway/commands/GetIntegrationCommand.ts +++ b/clients/client-api-gateway/commands/GetIntegrationCommand.ts @@ -28,7 +28,6 @@ export class GetIntegrationCommand extends $Command< GetIntegrationCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetIntegrationCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/GetIntegrationResponseCommand.ts b/clients/client-api-gateway/commands/GetIntegrationResponseCommand.ts index 0f1bff466a97..3a3c45b15652 100644 --- a/clients/client-api-gateway/commands/GetIntegrationResponseCommand.ts +++ b/clients/client-api-gateway/commands/GetIntegrationResponseCommand.ts @@ -28,7 +28,6 @@ export class GetIntegrationResponseCommand extends $Command< GetIntegrationResponseCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetIntegrationResponseCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/GetMethodCommand.ts b/clients/client-api-gateway/commands/GetMethodCommand.ts index abe61a925f48..d0d7d4acc6db 100644 --- a/clients/client-api-gateway/commands/GetMethodCommand.ts +++ b/clients/client-api-gateway/commands/GetMethodCommand.ts @@ -28,7 +28,6 @@ export class GetMethodCommand extends $Command< GetMethodCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetMethodCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/GetMethodResponseCommand.ts b/clients/client-api-gateway/commands/GetMethodResponseCommand.ts index 57b99b6b5b81..f35a227ede50 100644 --- a/clients/client-api-gateway/commands/GetMethodResponseCommand.ts +++ b/clients/client-api-gateway/commands/GetMethodResponseCommand.ts @@ -28,7 +28,6 @@ export class GetMethodResponseCommand extends $Command< GetMethodResponseCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetMethodResponseCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/GetModelCommand.ts b/clients/client-api-gateway/commands/GetModelCommand.ts index b6393840d118..c5172236846b 100644 --- a/clients/client-api-gateway/commands/GetModelCommand.ts +++ b/clients/client-api-gateway/commands/GetModelCommand.ts @@ -28,7 +28,6 @@ export class GetModelCommand extends $Command< GetModelCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetModelCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/GetModelTemplateCommand.ts b/clients/client-api-gateway/commands/GetModelTemplateCommand.ts index 47f0cd2c795f..1faa1baf966a 100644 --- a/clients/client-api-gateway/commands/GetModelTemplateCommand.ts +++ b/clients/client-api-gateway/commands/GetModelTemplateCommand.ts @@ -28,7 +28,6 @@ export class GetModelTemplateCommand extends $Command< GetModelTemplateCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetModelTemplateCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/GetModelsCommand.ts b/clients/client-api-gateway/commands/GetModelsCommand.ts index 4fe9b0c8dddb..af1c4e5d4cad 100644 --- a/clients/client-api-gateway/commands/GetModelsCommand.ts +++ b/clients/client-api-gateway/commands/GetModelsCommand.ts @@ -28,7 +28,6 @@ export class GetModelsCommand extends $Command< GetModelsCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetModelsCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/GetRequestValidatorCommand.ts b/clients/client-api-gateway/commands/GetRequestValidatorCommand.ts index 895afcc06e74..ebd9221be7a9 100644 --- a/clients/client-api-gateway/commands/GetRequestValidatorCommand.ts +++ b/clients/client-api-gateway/commands/GetRequestValidatorCommand.ts @@ -28,7 +28,6 @@ export class GetRequestValidatorCommand extends $Command< GetRequestValidatorCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetRequestValidatorCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/GetRequestValidatorsCommand.ts b/clients/client-api-gateway/commands/GetRequestValidatorsCommand.ts index 73fa685387f3..414244af05b4 100644 --- a/clients/client-api-gateway/commands/GetRequestValidatorsCommand.ts +++ b/clients/client-api-gateway/commands/GetRequestValidatorsCommand.ts @@ -28,7 +28,6 @@ export class GetRequestValidatorsCommand extends $Command< GetRequestValidatorsCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetRequestValidatorsCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/GetResourceCommand.ts b/clients/client-api-gateway/commands/GetResourceCommand.ts index 2ecc963ff600..81e114ddf20a 100644 --- a/clients/client-api-gateway/commands/GetResourceCommand.ts +++ b/clients/client-api-gateway/commands/GetResourceCommand.ts @@ -28,7 +28,6 @@ export class GetResourceCommand extends $Command< GetResourceCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetResourceCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/GetResourcesCommand.ts b/clients/client-api-gateway/commands/GetResourcesCommand.ts index 1e06ee479857..07aeb3cd8d22 100644 --- a/clients/client-api-gateway/commands/GetResourcesCommand.ts +++ b/clients/client-api-gateway/commands/GetResourcesCommand.ts @@ -28,7 +28,6 @@ export class GetResourcesCommand extends $Command< GetResourcesCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetResourcesCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/GetRestApiCommand.ts b/clients/client-api-gateway/commands/GetRestApiCommand.ts index 3423bfc906d7..51d4957dbb72 100644 --- a/clients/client-api-gateway/commands/GetRestApiCommand.ts +++ b/clients/client-api-gateway/commands/GetRestApiCommand.ts @@ -28,7 +28,6 @@ export class GetRestApiCommand extends $Command< GetRestApiCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetRestApiCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/GetRestApisCommand.ts b/clients/client-api-gateway/commands/GetRestApisCommand.ts index c77714ceeeaa..6f694ba942a3 100644 --- a/clients/client-api-gateway/commands/GetRestApisCommand.ts +++ b/clients/client-api-gateway/commands/GetRestApisCommand.ts @@ -28,7 +28,6 @@ export class GetRestApisCommand extends $Command< GetRestApisCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetRestApisCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/GetSdkCommand.ts b/clients/client-api-gateway/commands/GetSdkCommand.ts index 01e7b658cdf3..ff4aba94fdc1 100644 --- a/clients/client-api-gateway/commands/GetSdkCommand.ts +++ b/clients/client-api-gateway/commands/GetSdkCommand.ts @@ -21,7 +21,6 @@ export type GetSdkCommandOutput = SdkResponse & __MetadataBearer; *

Generates a client SDK for a RestApi and Stage.

*/ export class GetSdkCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -39,10 +38,7 @@ export class GetSdkCommand extends $Command { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/GetSdkTypeCommand.ts b/clients/client-api-gateway/commands/GetSdkTypeCommand.ts index 7711c34c6e0a..3950283a847e 100644 --- a/clients/client-api-gateway/commands/GetSdkTypeCommand.ts +++ b/clients/client-api-gateway/commands/GetSdkTypeCommand.ts @@ -25,7 +25,6 @@ export class GetSdkTypeCommand extends $Command< GetSdkTypeCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class GetSdkTypeCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-api-gateway/commands/GetSdkTypesCommand.ts b/clients/client-api-gateway/commands/GetSdkTypesCommand.ts index 99f93f3906ea..3090379cd58c 100644 --- a/clients/client-api-gateway/commands/GetSdkTypesCommand.ts +++ b/clients/client-api-gateway/commands/GetSdkTypesCommand.ts @@ -25,7 +25,6 @@ export class GetSdkTypesCommand extends $Command< GetSdkTypesCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class GetSdkTypesCommand extends $Command< configuration: APIGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = 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 db164bf2d964..a852bcc08b87 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 19c6725feff8..c65f6cc14695 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 f566bd21989d..915f1bacaf93 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 e4320331daa6..4f94cdd3ea33 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 cda9e70de09a..3ebd69a82993 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 01d1fc51851e..1f1b583421b8 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 36b94a5d0eaa..1cb866c11afb 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 e8d6b22c9152..2d8377cf74eb 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 da9438e83752..52076cde1d12 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 85291d43d96b..df5935f1ed27 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 8cf3cd4a0628..dd5c53d4ac9c 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 27630e63fd73..4444d7b53192 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 946e6b5ae869..d09dca0b6f0d 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 9a7a286ab4b4..cd103dd88711 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 d2faa513e005..08de2f805b4f 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 a9f2631a7f4c..f34a3da8c4a4 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 ea1075e786b9..30fab30c0bb2 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 2900c32f29d3..3eb4bf1a15db 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 fbbe66650d56..f6471880695b 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 8e52e4c92d0c..b41d8780d05f 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 44f6bf71672f..ba7e4df992f3 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 db6e7e4cf843..104328c82562 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 5971e531f22e..205ef9de8571 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 a6a33c7f746f..7acaa05d238e 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 215ec9e30529..a0fbe5d500b9 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 21efdc776539..2a088d7096be 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 634d1c963154..1a16e087d8ea 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 50591f00631d..06a20b3f9792 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 4a3e4c999169..a4f98cc6c737 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 6020fe3d96f1..5a937d59cc8e 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 b6de3c0e6688..5db0d2d087ef 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 5a7f0dfee65a..601db5d6f974 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 064242456da8..7bb0d29defab 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 a9e6139f520f..06e04821317a 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 a737ecf50e6f..a7410f46d37a 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 153190846597..d5674abb20a5 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 e408fddb1e6a..0c602033eb06 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 9a0764898010..e1fc5f84eec8 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 a2406fa467f0..9fb215829daa 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 8d0166b014af..c73dbf2f68b5 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 53e6a9deb199..fa874a1458e2 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 304a15756cbe..1b95416668f6 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 7d9102f09949..6164a9d5ee76 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 6a86c853a704..34a36311b0ca 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 bb495ecc5b0c..5899d4034091 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 dc32cf083d24..19121697d4c0 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 2be8139b426d..cf1aac108f65 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 e0855623f0d5..056e2de18eed 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 bfaf471d3020..d1ef6347c60f 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 4d343e656800..2a35c73d32fe 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 d8c55b299120..bc7f100964d0 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 2b220b67318a..eb0cd9dfd600 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 77407fde0d99..54a4bca49ca6 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 c1b158ae673e..2eeb89ccb677 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 9b24705cc06b..f78d1d0dc144 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 f6544cc3b91e..5fe48b900a9b 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 69ecb50012b3..bc8160906fe3 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 e3df1e353954..45c1bf36f520 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 b324abbbf000..fa1426fb86a7 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 5729a6c5441a..55a66933dbe0 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 76ddd45d178a..ba1fcfb56acc 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 892a999d149e..ca597cd75f18 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 496fb9fd9bc7..c81de516ed1c 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 eac141cf8992..884417b0ec99 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 e24057a8b680..83ac8b8ba565 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 6c110def8090..35eb4609f34b 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 3465dd14c7c1..d52465be3011 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 e20a7667805e..e4e1e15f9f36 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 2a2b194cb0c3..72bccaf1af76 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 869146e89a09..077fc3a899a5 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 22167d11cf3f..7a5af1260397 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 4d74151ceb68..dd40cce050d7 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 b4b550b7cab4..78585b03e689 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 703446ca8a94..a171f364f2aa 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 722db20b6c0e..20c621b303f5 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 8e4da3dffe61..94c1f577f795 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 e12ff9605782..fa6233e18907 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 d8a5f185fa38..c3ca5e31a3ec 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 991488244191..74ba7506cc2f 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 8a7dd3cb194a..c54e5f6a15e3 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 bc573d489da3..6e009d193cdc 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 4fea167434bf..9863b31c704f 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 e0b5fe6322a0..912e542a6836 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 dd8c72a7a605..00cd9eb9703b 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 6354926b9943..9ddc5be9d342 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 8fce97ad2a26..51fc233a485e 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 62018599ee9a..8322c97df535 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 64a2113c7cdf..ffcf970359c6 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 ff5eab5ef831..4fe7d77b6ce2 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 9dea7d8d5606..56a8e33ae9cd 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 b0f848797e73..d967bfe1ff97 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 4f1e5db2e37d..bcc4f60fd515 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 38392822acb9..08af0fb7df2e 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 ee62e6abaf23..6dc62ade7f3c 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 22a2b9d7f7d5..9e2bc5cdd46f 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 b1994cb37e19..c898ed7a8002 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 c0123f484c1b..b9d98972d989 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 0e3aad3bd406..437a163eb31c 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 09f92d29cde4..2f6c85152baf 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 93a97f9ebcb1..e38c40a5fafc 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 61def83fc62d..ea6016b12ad8 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 c80f4ce5e98a..996234a6fd15 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 9466e13e92c0..88290d1104e7 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 44d226937ff1..c6a42ebcfeb5 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 591010bed5fb..d63cbf9e663d 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 0d318229e4a4..d2353783e2be 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 20a25609872e..20213205be56 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 9c26fb04e89d..395974bded7b 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 4088994f80b5..8270ebfde71b 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 e6dcfe144db2..3a02ecb1c5e3 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 9b70911d5eb4..290fbd748893 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 d9b7d4afcbd9..e396708f2efc 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 3b2fc9c2abb9..ea700c6e5f8f 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 26c8866edc7c..9e847ad04136 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 63e4eada9fe7..cfee1e6543c8 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 96a9480737c3..810e0a93af62 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 a26bd6321f9a..f125cc20dffc 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 fcafd2701f56..eae64cd4f43b 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 16a00e2df751..2c558b77a2ee 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 e0ad9a3f4ee0..5d920ce804b1 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 41d41001f1d6..7277556b6da6 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 beac7462275a..a7f0b7e59ee0 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 c60119ec8ced..2759fa093a1c 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 2ffa0c43ec39..c3695a94d362 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 bd93a1f19231..d391257860a6 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 5bf7fa7ad2ea..e165af377de5 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 eee689ed9b8d..e870a771a417 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 0b5dbb6d27bb..fea3a17b4249 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 61270b3f5e8f..2a8bd391f6ce 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 00647a36ca4b..865a1df59d86 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 33e82e90966b..36846785e377 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 35e7369ad899..02acf9f4ccfe 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 ea14e9c0efbb..909b4af9a663 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 8aa9f84235a9..583f1cce7aa2 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 9c0fb33bb98a..fe89d1c4505e 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 e48a4a23a993..e3a7d2951de3 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 05522a0e195d..118f3f0cc9d0 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 2afcb23a7218..662abb6e4ef9 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 31825689e74e..125e726d33bb 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 40f2af92def4..c42f4784c689 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 9dac4256b6ea..621f23d50d94 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 52aebb76ff6d..7ab287f69161 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 66524fae6170..0dc3af3f2753 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 5e17f34b512c..fdf4d2be68e9 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 dde1e4eb2dcb..9433fbffda74 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 fedf8b731621..0c4827394962 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 9584c8ea19d7..188d5917cc87 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 9a825384f1b4..45458e5109dd 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 4146d37a2149..db6974f669b5 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 5eda520c8d00..e238a2f38fcc 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 6744df0b98c7..bffa40078827 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 5e05ceb5aeb3..520e3a9dcc4e 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 7d87c4485c56..a9c562d63576 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 8c58773f0517..10778260b13e 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 8566d1b3c3d4..6072e84901ba 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 7576dca9c437..480b10e609e9 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 75f8dfbcd623..9eccfc24f8d3 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 c94976cbfeba..0372c4384ff0 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 634cc661da17..00e28daa8a23 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 7c875a343690..37555cceb86c 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 a1892f40caa0..910fdb8beb95 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 d37a16b5833d..1cf7d06a4a87 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 cdb6ce707e8d..854ec94b8988 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 3a89eb125a74..cfd3186a072e 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 a76ee330a212..f412eadd9f80 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 43349784ab3e..3d50558e06ef 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 8caf330dd0e4..ac5d91574cc3 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 837115926490..316476e1d6f5 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 2bebd27c1a99..c79748a5a6a8 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 b55fcd0c604c..6060faca08ff 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 9ee41221a699..dce99fdd76a1 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 e88b8c19ed6f..1e85711b2d8b 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 98e6a1a29b63..00f05123c9a7 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 1a4d910bc26e..cef73ac7bc1f 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 a07451a220de..fad405acba8f 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 33d97b933e5a..7508ede6e1b6 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 7174c9a16325..11d618c52792 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 de9b27f43c1a..748305ac8e43 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 3774475f9948..0776bd2a1c74 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 8861050fc0a6..52b72c5f1059 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 9d4a62de7ddb..a98c5b97174a 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 a7398bde4425..6459dfaae3f7 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 e4c1370274af..171d1653a60c 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 0f86e83fd838..afada1849af5 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 f356e542a90e..649161d75cd9 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 132f151666f3..9b557a6c5e85 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 21d2bfb3435c..d514053af4c5 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 16b686146096..246341690c8f 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 e2877446f533..81f1b0165531 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 c8f46ae2be21..f33a73b57195 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 47a60b5835b6..73d0467b4795 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 1fc20fcfcdcd..65466daed6e7 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 9fe3d91e55d3..b480edff8ac4 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 c9d37d47205b..821fbbda48d6 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 54e52244cbef..1e1487388c4c 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 d8faba486dba..90d3f2ba8d28 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 8c9de3259764..526a505530ae 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 9595ff39f472..515db29a1874 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 a38983f4a9d6..382f88f2467e 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 2c9a5a9c2943..51efb8462fdb 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 80c0339e4b90..72646a8e0443 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 26518bf7a486..26e0a6411557 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 756bdc5bf790..2067442e1892 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 6e17400e8830..339f050e648b 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 b5eaa3c20f99..4c2fb768c80c 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 7394732ae55d..f3cf7870d4bf 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 b9b19a1af35e..4a39513f9748 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 302402c11b38..ae18b10dd470 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 a6b34ea54841..35560336a0f2 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 b8b0ed726bcc..1c4993a712ab 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 648463f52402..7e8ce1e612b7 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 4955a943498c..30d31419fa56 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 7020ed5cd176..a884b04bee47 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 441558a8b07c..0f86a67ea159 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 b57282f52a57..d9a586526cdf 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 9a69f3e0e30f..f88a5696ce6a 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 f6b86a59c98e..21b00e4cbc4f 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 2bb7c10ffb17..811ea822b340 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 d75fc30bc515..fff59c4b503f 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 e5f30019a866..9a3842b5e268 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 d03c449c78bc..3d12c8f65b03 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 83e4b44467a9..146afb95ce2e 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 3c0f0300a606..e1f3ad1c5e38 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 a0bb8c4ce89f..4ed337f2cde9 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 27e5518bc5eb..105a44c80fc5 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 07ce65344bd2..42168434f79d 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 af57834cfa1a..1bcea3568bc8 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 cb8472337d38..5cfc231ccf59 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 3ab5be1456e6..f3208d78f0bd 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 a2aab3b16c5c..e7343667a53f 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 10755f3b34a7..bc66c46c953b 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 f0515cf8fa6a..802714207a44 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 1ccc4beb01c1..2c3dd001207d 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 b887239c1c6d..f8d31bd9ba4f 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 99677b85efe6..c0780b9aed03 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 d9c828bacde6..0af880aa5d9b 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 efd5df2e3fb0..6a34440cea10 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 f4be28d5f9d4..6027e0a3b190 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 a934e789776e..09efe6920c5b 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 7ffe46cec265..45a86e6cb11a 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 bfd4bf77beb5..08e9e5680777 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 add3e360f682..894457108fea 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 3a8d454549ea..e2e434dba865 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 47a7ce107599..4005c449410d 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 eee70a6c4d3c..1a8810156f55 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 2988ecb88077..c51e4d63cf78 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 b9b898cf69c3..7b8df2f8479c 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 7ce9b89fcfe5..e3433495ceef 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 511a219e68ea..ea7d66acac04 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 09d9bfc34757..8ca28b398591 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 d8b524842bef..bdb391b6b5aa 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 e4c32c34c2c6..8c2908ab42e5 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 3c657d8ad2f7..c235baac8237 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 3b6965d5f95d..fc9d9bedbd32 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 4fbe5e6302d6..77170840db28 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 919345e44664..286b7ddb20dd 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 297fb6c5839a..dbe0d95e1b44 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 d1961bce4794..b587c9f74799 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 3fc26721fa3d..4a4f58aeb893 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 01f1cf443190..98cd3a1a7287 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 f4e3514dd740..20b0ea25fc12 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 655a9ba85c88..0c522ef16e64 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 2a9ab779678f..65ee3c816c24 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 6eecb4a1e462..406d141293bc 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 557bacae3c04..326fcee8618f 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 8888a26a96ed..87d3f49287bd 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 273938945c0c..e859b2da110c 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 672570d66719..f1ce989b073c 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 59ff16e68571..a82d84898a2a 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 17571be7ef6c..31cf0e47cd29 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 85dcb0464e0d..573d97f41741 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 3f54b68b8e82..c60932a0d3f2 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 ae7829db127f..5639261725b1 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 a44725114e2b..944b3e400ac3 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 873e360b8d4e..e6bd82d1218e 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 e9d6d1985e56..3562a9975fc8 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 eb6f5b3a51f9..e087733b58d7 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 d5552e086806..4580bc65485e 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 e6331ab9c080..a3f84a9e5bba 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 9c9f88cad2cd..f5bdb5e503db 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 f6b2b0eac0ec..1803e85f2bfa 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 7d04dadec888..7f26f8a071bd 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 9da7dae7e32c..98ad0bff9e16 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 1ec2fe9d3170..afd7898e5301 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 6e93b0a1212d..fc75d369f52f 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 d0d12c09ffea..af0a55401774 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 fedf00f41a53..03460604906c 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 411c170519d1..f93566349efd 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 e00c30d3d476..2cd718a93152 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 ccd33571e8b7..81958e3bbbd5 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 8a6868900304..dfe8464a3057 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 503bd774fb98..2872b1ad239a 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 e34aca4cd7aa..ae557922f5a6 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 6927c99ba92a..bddc8a1458c4 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 281455341f03..f9c8ca3ec747 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 cbbbeb6790fd..3b2c107f0d8e 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 4863970b5c7a..5808a55bba2a 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 4acc2ee60508..dc36ac60ae47 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 31ae582890cb..46e7d2ec71bd 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 d1d5b9345138..f90e3eb346f2 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 eac21e20a524..c4f2506a363f 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 21720737115e..7a3b0c4f4da7 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 d97fe35c08a0..1aa4945277bc 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 95d1a321f605..1fe7498ee4fb 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 b4cd44068543..5b41e89e295f 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 f397bd086e67..4093f6ad2736 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 39199e893d8c..57e48a530215 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 116aac2af3ba..265b2c34e978 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 b2361f044857..5a8c4fe168d4 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 0cae6b1c1c38..1915dcb7a31c 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 115ca4ce0776..20d92b00945e 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 b94000ebf0ee..23c835ed9ebd 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 e586e89d7f34..334a5a105ae0 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 aca64b26e996..7112375bf584 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 cc38d0f35244..f3f89ed64e4a 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 0768bb9d493b..ba13de1f1844 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 99d9039b1ba7..7dca995216ce 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 2f3b03cec8a8..a2bdb0591035 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 d1ad9717bfeb..bb5c0fe7212f 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 4f7b92827bc4..40b1b269dc04 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 220f2688ddae..b1d07dff3702 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 734857457e26..576273781bcc 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 532e7d12ce15..21fa4fb90b40 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 07a16e18a0d0..c1286f9e966a 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 f061bfb5247e..93e99b84e1e7 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 f72b151be7a2..5b8ea2a58660 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 6c18b5780a63..c92d2e06d6ac 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 be0b38ae3c26..c29e1031a013 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 0c3193b86366..ec3ab915d38c 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 c62b55944734..359b1f14a95e 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 e39476f3c0e4..feeb450c767b 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 95d333d74612..712e9f89fafd 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 2c0f7c029acb..8b3fe1e479fb 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 cf97443da9aa..465b04f97f6a 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 97e43aab3be3..96968aa6ecd5 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 a17ca65006fe..6f6676de3424 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 a39c8fe4f9af..b4abbe7f1828 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 7c669e739368..d2638c81e898 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 ee2a8504612b..5e3ea82a54a0 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 ccb45748efbb..f266a1833f2e 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 31c9099840cd..91b737b54953 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 96f7056c9bf3..beee0829c76e 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 f0d1f8f49b10..8256e4e86a9b 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 c33b03188fb6..835480fc7864 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 bda0e15a35a5..4ea7320030e9 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 ff55211703b0..da836eacfb9e 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 107b2a00d340..8b8566c9b5dd 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 9830a39ca55c..1d1903d259ff 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 4c4c822f618f..02d2d15d9680 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 b4182ca2c373..17b5168aab54 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 cd23d576bf58..42a3357c135b 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 88012e1c3083..31e158a21218 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 d4c5efdd4f5d..bdbf0e618e43 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 cf719b1d473d..757a2f6cc6e8 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 76c9c39a0f88..812360e573ba 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 2e46d50bddee..f6c83109735f 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 dd11ed0bfbb3..44956222f7b5 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 b46a1831d05e..6b15360d69a1 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 baff0538846c..59a8d26966c6 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 83a09aaa96f5..f3f98c166e18 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 834172c3a234..79b6ccc20360 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 b24d8eb07684..caf7108f2707 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 9cf263c16086..b1c76afcaf12 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 8f4bd1a4c6a6..ad7c629b54d0 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 3fbe707440ba..1b941dfd722a 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 6b87ce7c97b6..4ae9ca733bce 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 8bca50add8ee..dbafcd7b1252 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 17128f48c3b6..d0c523e7a09f 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 d7bcebd582ad..155b0433ac1f 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 79f2719d757c..f219b8e49e93 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 20ceaabb1276..922ae54afdd2 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 9c561687c2ca..ccbf67fbbcee 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 dc2e217eba18..8e567e86ed88 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 4be5bf0ec6b1..6ff381360c23 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 3daa79296dba..5a467cb666fb 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 53b2a3006171..0434c3565780 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 e0a897191f11..588f3ca39f68 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 435d3cc4551b..ac8c4eb08f5c 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 6a6ca88310ea..0684b7f5537a 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 386508573aad..11b3681186dd 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 f2768069f708..dbd768cdebbc 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 9c9b35c3593a..85c2cb01d047 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 11cf054c84f7..09af5eaaf103 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 e26a643b1b90..043241e36646 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 da9262179033..32b51960a794 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 60c1f6caad79..54171fb24098 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 cc6ea2896de7..49e8fb2ae9a6 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 e13e23053166..307c8f185c84 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 79a4bb98c251..35ca31fe07bd 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 312e5341fadd..6ad0918a81b8 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 480b813dfe09..2fcc36b97db0 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 710ce83685bd..b278ebd2534f 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 8937f452f16c..f4b1aa74da78 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 1371953221aa..8aa3fa9c9208 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 3a18044bb0e6..20933d8130a1 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 a3b2eb5664fe..4aef808a615b 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 85e3d005fa6b..ae43138b6dc7 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 d8a2bb241f99..70004d157904 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 6406907cfff5..863416f868e0 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 bb724154215d..0971cdace29a 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 af99c71a4445..050e7e56d00d 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 b9640a11a59c..654273d2550d 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 02e75d30dbbd..ae1f03be3e25 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 83d882f153c8..0e787550fdbe 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 6ee30eb4768b..a8fe0ca1b50e 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 5e847558daa4..d9af333207eb 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 fc0157429ca7..b33fffe11821 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 7999f1844162..da70c6b71ea0 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 98113aa55737..259eeb2afc10 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 6322b821dc04..a14a32dde4bb 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 88f185a5846e..625c2a0ba420 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 217e44b62289..a5653a7347a3 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 558f13cbc4a3..7b3a3b33578c 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 981c81045cb3..a0b766b5a08b 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 2aefdaa27c90..26a94935b541 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 d243f5319729..b106b13a939c 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 d0d9a2b34eff..91c9655c896c 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 75c2570df20b..457d91a4db38 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 e1a7952354ab..9941a04f270b 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 506be03cec54..6859a7064387 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 427d4825b39a..ba09543f9110 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 9f70b8c3e87f..4fbff80ba603 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 101c3731c417..52060cabb471 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 0500366951f5..d7e4f32559c4 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 7783ff44c34d..e36c48ea52db 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 8559a785564f..22e3efe6db08 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 68a38751d044..34e367cc0cf7 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 457f80c1617b..0069f7ffc745 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 3600d7ce1616..a04a9d7612af 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 90cc8abc43ff..e7f1c0c5f17f 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 58ed5e805630..10e6bedd853e 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 19e6195f521a..c06ecc92de71 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 1b0999ffea07..cd9819f00760 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 7dee16f7201d..23d4ef5da118 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 d9b37751b8a1..f2b7bba114a4 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 f12bffc6befc..bdfebaf09968 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 f55e964045d7..66acf1588179 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 cc04985c0f12..1e05e0bad80a 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 f7cec1545dcc..b81571c977f7 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 9a2833a0d79e..243b640438b8 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 7557aa1847b7..629237be5b5a 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 70da68d19e03..79e4ea9f5537 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 ffa2f40369d2..7d1526e88cd3 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 cb729aa556f5..b3810c8ff59c 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 8482d42340f9..a84568783de4 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 7a93c84fd669..fbeca66ab706 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 8959afafd29e..74c7d21b9e54 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 f571c9e2d969..7a073711919a 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 0a949f316c72..31afbdeec564 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 fb5752cccd20..b0b8bb55805d 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 b27fe2ebd44f..999b613e25ff 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 eefcac0c417b..27949d25c57f 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 bb02ee61cfc2..47bab565e153 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 9e7a044f1b35..0ff4078edfc1 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 ff9d7bf80018..1b4fceb14460 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 4f46cc30cf5c..c34d58b7fcff 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 e70fedbc2389..05db8091acd0 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 7ff1e4bddb4e..b2e3c323d53c 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 81f99fc37180..7e22c1f2f425 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 f67c845ebe93..211cf60eaa05 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 ecae7472759b..7ef2159c3c4e 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 87444e8f232a..fe67d02acd1b 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 04df0a168fc7..f367702da5c7 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 bc3ecd688748..7666e5c3e769 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 5a0617ebf764..c9e6c164c98f 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 8a5f12f15d62..3b46a3c0b1fc 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 c508ab3c2ec4..4ec654b54266 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 d8458f0ecc93..9ddfdefd1fff 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 e93a39dbc22a..332a375cb387 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 ff2a96d520f2..6e668df55fa0 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 c0272b25d06d..5ed7703358e4 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 52c9c584063e..1bb0006c7d99 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 2bc8cba57e86..84c7263e8589 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 420ed1a7401b..f66c1e4086a3 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 ecb576727e52..ba317e837468 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 119e6a000975..59f7087f03a0 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 fe2bb5dea09e..90058a010cba 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 4a1e29f2676d..26b85469e32f 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 7e29e24d9b9a..12d97eefd008 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 1a21ea1cfe9b..6e4814730055 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 7f7fa04ffa6f..490b732a9027 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 9c07df497b9c..9408ee15cd08 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 b0c5fac9ead3..71e4298b2d25 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 277d046f288e..2c4d177bcbba 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 c5f42dde5f6c..eba19fcc449a 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 81db9dbb3f4e..6a01a17a3c5a 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 99a458f2bb7a..0d092fb6a980 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 9bf245199f6e..27bcc0db58be 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 d2b547b51baa..8fa9b15b135b 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 9eebfce600cf..4a5fe402c498 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 2d460392bf5c..43f8e1647beb 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 4048c0bf9ed3..3a63c0732884 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 5bdac102a13f..7a218b0dd56e 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 fad9eb32a5be..d55137fbfd34 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 3327b844fe01..92ee319a69d9 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 44e82b9e143f..2fcdc18dbc5b 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 edc8d4fec537..57376b531068 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 6118927d7a0b..c0f01bf1b1d8 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 1e56498de93b..bad6216d1250 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 9f02c492ba0d..836eb635e47c 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 4f26cbc5a3db..96d34cc34198 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 1093673f4750..eb4dd154e0f8 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 0a2895086243..2a838cdb3afe 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 47b3a641702b..3f351c2875fc 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 7d47fb00bf5d..1cba299c87d5 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 98eaf062c32f..2180b4e63e5c 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 dae12bb09e29..d6d783d3e2de 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 40783c0409a5..3b1f2986c028 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 f975a02a3d5f..000840d3aedc 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 ff694ca4b151..a06d4dc176f3 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 d175c820b9ff..555387762ad2 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 32b47866382c..97ecbd1c3c7b 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 a3cb5261a64d..d05c6674d61f 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 a8368ed2a4a2..79bb812c6066 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 35084c0d8352..0ae6d9a8223d 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 2ca3e75de521..a42fe4994299 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 b77409fcbdba..863914415de3 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 782f5e0e138d..9a315b85d456 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 074ec7164f90..3d25b391351e 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 1c7508435518..cd220f563251 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 da2bd3a58cca..a5ce01f6e774 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 a3aa59c8d9c0..5fa71cacf750 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 e87eef3739a2..85bfd2793d6b 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 61e5fdbcd7e7..3e3016f9a05a 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 19bfc71dc889..c3b9fd1a8292 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 bcf10a8061a3..8027659fcf4e 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 772ceee5617d..3beae3c71762 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 b7f350165411..74f92fc40168 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 b7c1c418a2a6..73a417310803 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 9bd583943d8f..c776d9207aa1 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 aac9cca88604..3a67c56ab2d1 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 2b43ffc25461..d912f4f5ed45 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 6a04125e767b..6db8098da91d 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 2de439f0184b..2c24e79615a0 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 7933fdba355a..1826d594522d 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 e05792464e4a..df97e657659d 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 1ecd1afb7b9a..6cd60ce70bab 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 c1fdcfe369fc..d76f6addc4be 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 e631025d1e92..49d110bebe63 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 504019c4dace..6f67344e1459 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 2a953e8d4d22..ed47d72411be 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 18cdba5eb3b1..49554d077da6 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 caf40a47c702..aea4d1ec0b0a 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 9a3789d48fb8..e61c5a03517c 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 9d299154d212..7823c780fe94 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 74f5dc555b08..018aef8c1d61 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 ab0c07d3a342..0d716938f26e 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 bcc583c6aba6..ed7220385627 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 af256563f654..45f27dfb5267 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 3b94e892b6f8..9e4f5618aeda 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 15ac4486ca28..ffa897726882 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 88bcccd6dd08..9b0f89a7ef53 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 cc1c403ee8bf..fc52274bb573 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 81e6cd6c6768..47394314557e 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 30e739d8de96..e0c1240ef8eb 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 b3fa2fd76fe6..82bd505ad8dc 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 e109dc167588..f38329482c87 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 a144a246c9c1..1bd5a7926953 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 de72165cca57..5a302a4a18d2 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 927fe6e873d8..61f68a8ca286 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 f1713f5d231d..33bac7878c42 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 f131c8024825..17cdcfcc0a6b 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 60bbb5b1b0db..b65acf9ec6dd 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 2ca3188b2a71..a0998e32da5a 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 85a72bd735c5..e34775e97994 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 8a8a817f66bd..2e808d1ab49b 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 f6c2ed97884e..0ae3b5bd7928 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 b8968a8d64e3..91e44f78c4f3 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 27bc3d32edec..a3a4f471fe2d 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 ddc013af9505..eb3ccbb98ecf 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 711e3e6dbcf5..96d83a8d36a3 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 61c81ee76517..673539582b3b 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 8c5be346bc3f..90631b42cce1 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 d318e784b689..ca02312c882c 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 afaf0dac663f..c2e699819b0a 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 52b142036ada..dc1fe9acf71e 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 29231238fb18..ccd3070420e9 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 765439e13ede..5beaca197c6c 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 4eb1048a1630..9afdc7220122 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 dfac665bf93a..b4b6e41d16c7 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 46c7678dcf87..725b13c16135 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 505b9a4166a5..806805720aa2 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 5ae7897872c2..9c3782eed3ef 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 1e279b4e20f9..ea3a5a107212 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 67c149f592f0..338f5ba4dbed 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 198f61564d36..cfde8c7aa52e 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 4d355780173a..3a9faff8082e 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 69327d24afda..6334efac3dc4 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 fb9efe2142ff..c6af8238ce81 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 8f426a56dc77..4ad7265691b5 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 1122ceb04149..adc48086947a 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 521aaf90f44c..d0240ad09a48 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 fd3e4aee3e6d..e14fae5694b3 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 d52e663dfe44..16662f7b7447 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 0629f451ca07..864fb3e7c401 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 539b8d8f5687..6a1de3b96b3d 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 66d5389ddeaf..c951de61ac6a 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 dedb1b4beaa1..a7d9a488419e 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 470b94d62d8d..59b8cfc4db1b 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 ae30ecb20108..f8bb214a2269 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 4e97841f97c9..0e08c15b4833 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 6a75c8230afe..5b1eda28506c 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 d6abb63f991b..687791f24a99 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 5f3f13bf7a28..a134e00e135f 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 96f4a351c5ff..2b4a56dbd547 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 867f1d478bbd..8136fc7fe61f 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 94dd08951816..b876b87d6dab 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 ad3ff74d3aaa..3041577ba1ae 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 9f52ef75e491..0f9bbe87dc45 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 c8564ed61ba4..694b5d303ad0 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 919cd0667192..8a206b18941e 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 480e252dabe9..03efe818bc92 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 d6cf32e1bdfd..c2769b255e61 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 76f02082a32f..d35a4c37d203 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 00b85a7d2745..9e37ed7a055c 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 3d0b90d56889..f9d0d75bc10a 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 3ab14d0b8490..9c8b6c60d0d6 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 b46af5f8423a..35481d8e31d0 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 c6f903758f37..5b6d538c486f 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 23dc1efd7f48..44f3d1b3cc4e 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 3db9920d85d5..b6171235485d 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 fe46d076940c..f96877d0c1ab 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 c681d0e2366d..c7558d3f86fd 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 a817e528156f..1722474da26f 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 c926230384c6..5b73e109820f 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 f14260b4261d..cfd7c3409eff 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 30661a1252ff..833b6e45e80f 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 28b727acc7bf..b244afda36f4 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 0917398c0250..f5a812399c14 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 9c28cedac054..f242f395dc4f 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 78ade790606c..1ebb0d4ce5af 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 60bb935b9b8c..8ab0ed4da529 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 e35d618ea660..61a82c482230 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 579df5f0003e..27532c69d5bb 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 07a8d97345f9..446f97c85073 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 8e08d0132e2b..65cb75c1b5ef 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 caa172c25fe5..f3678a8554c3 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 008f30303873..222441ae4dec 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 77d3903ee6bb..2bfebd5f668b 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 3d0cf7d09153..179cef9fe816 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 35f51753cceb..9cc160121f2a 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 25e06601ecc1..53a2b12e9d65 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 5ae849422261..fdc2e21abf83 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 642e61c5485b..0acad0407c57 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 34f4200415e4..b5fcbd64091f 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 f8d49a3be5dd..73cd7d0026e1 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 590de9a91629..e77c7b93f1a4 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 64c46ea5a4a6..013166f3bc1f 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 b0ea2f20b10d..e39fa9cbf571 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 7a94ffc8436e..574310c81491 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 0a81114aa69f..53fd6069fa26 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 181e53b12d16..505f50ad0d00 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 6468d95ebc15..633f986516a6 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 fecb226fb18b..53b5a283b368 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 6eb12c11f575..02ca481a3874 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 9150cd8e546f..4b196c1ea9e8 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 dc0465e2d244..e854e73c5afc 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 6843e9dcd9a4..6220d7554ff4 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 677e90bec673..26e5889a99c6 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 dbcf40343c15..9d9a51237a79 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 784913cb17e1..53d73ea7463c 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 acc80587e9d5..38276faca7c5 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 c897261c5ff8..8c1d6cb11dee 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 8e872213eb86..97d816f2e43c 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 d56a432f6a9b..43806b2142e5 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 8d4e0bca4ac5..7d5ed06ab2dd 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 600a8a27a4c1..096b8413de7d 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 ee598050f6b3..516475b0592b 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 41279a88b249..3cde1e7c4b41 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 666484d139cc..406258ad38ea 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 6682c0e8b82d..4bcd1f06c287 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 fe5eb0113f4a..b2a380c1cb8c 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 9d971e6bfc73..ff9941b2e6f9 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 c9bb06b2e4dc..b29d5f9136d9 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 83af80414f93..43341dc336cd 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 37a044c1cd19..fb84f7116247 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 29c6e8174c30..e2397a402ba5 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 6d29179784a9..8420b72fd995 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 bfcebe6d3c5c..220b150bb8da 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 ea88a0988ef5..4dfc0c113b73 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 0b6b10f1a370..eb8831317baa 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 1d4ca60d31f1..2b850d5c0e4d 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 d15f74c222fe..c3581462cdbf 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 a17c23151ee5..e8a96a1279be 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 6e66070f4f29..7604bcaef40f 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 19042e45e908..c80d0fb9b764 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 566df4daed67..1bbdf0d8b65e 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 6bb1a13d8bf4..8ccfaab340f5 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 6a23abfd159d..3cf0fcd51366 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 51b8c602fb56..4f5b66544799 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 7f0191b4a8f1..8e1e3023f36a 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 6ef07d395ed6..74494a766627 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 dbbbe8a11423..485e923d8657 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 91c9a82ea508..d5a69fb8ccf4 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 bd432da426b0..77056b38132c 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 23b1d0e0aacf..b4033e0b7211 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 2e97928cf4f6..93cafc67d286 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 66cd992f75f8..64ef8d0bc1db 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 8e043be8f61b..13cdf7363c52 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 66d082aeee97..8d4cc330e46e 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 8c0952aabd78..bdf6cc275f44 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 94d9473d1c07..e548629c3b94 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 41adfa9683ad..e57cfe72f33f 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 04e7b66012c6..3b8080ecef57 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 285862bda3b2..1d498b45f3e1 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 f8bab2f5ed18..8e90ee2122a2 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 4b0b1b463eb5..2a09495067bb 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 78938f1d4c2d..02a6a78dfc82 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 33ad25683355..26dbbffcd319 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 c5b63f1c0aaa..d7adef89c265 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 369582e4241f..fad328a07cc9 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 1bcab795b503..76dc9829fbfd 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 9a1b9dc43d65..9e3e6615a497 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 8d9474395ae8..e50d0bf78c0f 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 848865e5d265..e16442064118 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 afe979ad3c96..2d7c6faf73c4 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 1f61488dfd21..f45baa6b2ea3 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 eb7820fce0ca..316e14bf8bfc 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 f43f40236907..8228b0cebe44 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 5befc6d9a98c..161134fa1646 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 bd31882daa76..a117a29e9d76 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 28108617c5c1..387852284e13 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 31ff4e4ef191..63d24f221a07 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 17a54cc4ad05..5fbb78d73692 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 2e6506834d37..3add5ce1b8d7 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 2547029e1c20..8cca3b520803 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 a592658dfbc5..30e2a922bfd6 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 2da88e222823..e632c3d080b1 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 a37db60a710f..05f8d75a08ec 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 89b69ed7856c..335c059c556f 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 ea1c1490d1b6..c37445b0e5ac 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 a9218bada668..167bd082c3ae 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 311961050978..7b875105918a 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 3f4f1911a01a..0dc21a9e7033 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 6af9ca8db4f3..586349ad1ada 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 703167f9b19a..4774f9a812d1 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 8e6785ae214a..aa4bb3b63dab 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 0e72620002da..912dbcf6148d 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 5ebd8d3d7fe6..0d6c2bec5ebe 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 a521f35cc097..9415b831220b 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 6aea67219a4d..7a11dfab5bff 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 0d142c49fb69..0f728dd08700 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 8a47b469c32c..73da3720bf03 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 2a98ec569304..fcba20cccd51 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 c3005f5c048a..b5ec6233f913 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 1f7da8d4cc6c..9d6c9dbbce8a 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 1d480a7bfbc0..52966debdd38 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 076aea641507..29757a0c3d97 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 153a9eb6a871..3555c9c48de0 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 bb16e44ddf90..46faf2b010f5 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 1bf036868a00..7fb3326a1dd3 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 cbe625a644b6..61ba59686591 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 ef0b5d95eb73..8ae007a5420b 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 94e50cab9feb..dec3c9576a2b 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 540127caff14..3ef44cd6b113 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 d432a778aa12..5c8949611453 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 3182cc76e91c..9959448e7f38 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 13bcb682d062..a7233e5ddac4 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 39c3b5ccd427..4bc0d5623c44 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 1570cab143d3..cadd955c9fab 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 a1cd7dd94502..cb8e515941eb 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 676d0ffe521c..7738086ec4bd 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 aaadc8bd75fc..3d61218bb95a 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 283968b66b56..73e5287587b8 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 a2dad9c2d15e..b6698e159207 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 f41258b46989..9bee373d7cb1 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 38df1c1c98ee..01dd8f1c331b 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 470743908e1b..18f6389785b8 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 9e46b5a94079..27ea85616b4c 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 0665bd302b2e..5bd2e9603428 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 0e21fd4b2e66..3160415d68fe 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 850e7907f185..ddb5f66ebe42 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 c9196d6bac54..ccf92b0b2152 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 d02db75e623c..18e8550758ed 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 9ab28b0c4b4c..5c92558d9f80 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 99cea46a1c14..4a31b84c3edf 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 9cdabbb35f5b..7d6a2cde36e9 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 95198829cc60..42347fca793c 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 0a67c714513b..907723d22bc5 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 653767c76c66..acdc9fede9f2 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 e8c16ee0421d..7566d19134cd 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 c0b43662695a..5317d57cb0fa 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 f73e1df7c83a..fb89c11e5677 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 0719ff6686a8..5b64a98bb4cc 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 d61ed0d5c761..0b6ff82db40a 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 328f45fcf096..01385aafdd69 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 3ed453588aa2..2387e32170d3 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 11c6c978c8fb..f2df770b1347 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 1f858020e0e5..cdf9a5388b09 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 64b981b3a7c0..e08a284d6ee8 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 81dfd152cafa..5d14412fc6da 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 34cbb2b498b0..483bf9733559 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 444b97536dc5..740b1e485df4 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 025668c48f75..b4533d03ea48 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 53f3f08bcbe1..16623032e29d 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 a65d3ae68e4f..10d37516679a 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 730945d374c8..f8b42d8512d9 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 30085996a853..5209276f5201 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 e98a47880408..e7e31857f853 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 fe56315b24d8..2915208637f6 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 7b959278ee87..910467b160fc 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 7cd695d57d76..d3572c538d4c 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 d742d562f385..e80c56b5c671 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 d4a019d6fd42..402067a65ef4 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 f2d9b6e5f2f2..ae42a66f6db1 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 6c64676dbe5f..9ceaaadf5044 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 53173ab66174..9bc9008b1055 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 f73ad5652bca..93f1887f7297 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 2f115f389947..413cc730bef1 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 fcb40c654b09..8f1d72fd4a66 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 b880994a5b39..3f159e628d3d 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 1dac7e065ff2..e48f6bc313a6 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 8ff6ebbca177..201287f7f1be 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 dabf9800da1b..513b7d585097 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 2f867ad3b802..279c4c9cdd18 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 225a1797a8de..49bd17493303 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 732649dcfff3..0dbeac3e9e48 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 449f60d0d7c8..613d25fd3fd3 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 d2a1710682b9..7b5307974894 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 38a5d98ccf50..f70515312bf6 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 36edd4196953..6cf1364f705c 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 3a8e53e42686..eadbf9749cc1 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 c3ce7c45bf2b..6209a12e37c7 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 738c0328f63a..7ef8c739994f 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 5aca9093d528..614e6d8bfea2 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 b94cf3576a06..a5f545ba6479 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 dc0bc2b29a38..b3270fbb49e4 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 90b819843d6c..bf15f9f90caa 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 8a46a599bd24..b45a6a94fae7 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 0cbe2df3133e..12cabd762305 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 96e63130dabd..bc6c2e3182cc 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 ceb99e3339ff..20965423215f 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 3bd901063116..b4c44f7ce01e 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 13da82dd73b9..ce37d34684f0 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 12370ac9302a..ceff9a8ebbd4 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 02bdc7860488..f4feab55e6d9 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 94f94693a687..0bcfb8974d99 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 913e65bc9d36..d148578c0393 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 ec522c0b00bd..4e8ae5ada16b 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 c758f95d5e7d..675c075e3bc6 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 2e7ebaf2ec16..39581f46d65f 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 8836efa244df..5eca11f70dd2 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 24c5d740c143..e38c0e66e234 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 5475a48f4508..369e1fc51703 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 1f5458384453..2fcdab6ab16b 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 a25d3aa77b04..6a4ea353c59b 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 759ce12c6e54..62c97760b6cb 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 1020cdc8e5e5..0e7d62c09406 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 c06190913c4f..fd2eb998fe31 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 364b3b076f1c..daef28c7dfcf 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 a720d89e0792..7b7b651652ef 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 04e29608240d..bd0ea140c743 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 9e33281ffb5d..9548911b7969 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 6c127c642fd4..919ff8bbdb1d 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 2eff764f5a67..1fbcf15aa1ba 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 32c441c78069..ab339ea2cbdb 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 5a17d6d17f7d..13feb593d107 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 52f56383c4b5..57e374f937d1 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 3068debf19ec..97ff1cdb9422 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 9a53facfec7e..1e5ba1afcd82 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 4844de28b889..d6bc6ffb4a3b 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 f100abe80b59..f02d9ca9ebcf 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 45234f8be0a8..e2708f3adb72 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 31582a1db826..4f1ded2abc94 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 30e65043bb73..5154684603d8 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 5b4c043a5421..f4ce2b03387e 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 247b99706fc9..56d08e337d41 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 dd310915fe85..ee1b2ff1d39f 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 6ef011dff51a..bf91fcfa765b 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 33ad1d34e785..da3ab45f710f 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 4d9537a3e637..cacdc7352845 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 e2a9258a330b..9faced1b1320 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 054bde8c7993..20caa0e0f6ac 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 bfaac76a2a25..07be4a068e36 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 efd13059a6a3..192fb3f556f8 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 13daa3571c08..2d50c81fff25 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 acd24946e6af..9382df1056f8 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 0755a041beaa..1a90f4505b69 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 784fc078979f..73239e657887 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 bca7e65c72b0..699be51e8ea0 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 9a5109a3d945..c6334d2f7258 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 ab138a333136..64954399ba8d 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 3bd0c7dbf863..cd9172818e5c 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 166a54014b35..dffd264dac03 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 6ad255eddc18..f80a443755cd 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 b0a4309716f6..93fcb924a56f 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 72ede89851f3..f45ff02a7492 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 853a8c5a4cb9..538df776fc8d 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 9db747725f1b..907c3a6e6cec 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 7a2d9be126a6..d025bf5c0bba 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 e743fcbca24d..2b91305a7dfd 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 7b5059cafdb7..46972197ab95 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 a6f28940777a..caa3d452a120 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 5284ded017f4..4a940488a89e 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 eadbbe2724a6..b541191fb419 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 8874a1a5a1a8..ae7fce2718af 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 d680d9fb80d3..b0a791205891 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 5433b5ff292b..bc75252f8c74 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 ed669017a4da..2131cc062df8 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 6473e4847607..1e7179543568 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 2829352305a1..5d59245d68c8 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 aafac7b03cba..21b2879f5af4 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 9e18acac7894..59b7d2415af8 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 77c66f5c45d1..6d046a9f8f19 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 bac3dcaa0c57..4139763cd100 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 7007cf735b0d..ee419bcb7f0e 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 8b204c723bc0..c4f4fc5e6279 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 9b7c601ab0ee..4684b49857a7 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 0a070ea53f06..43e058c0c740 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 767e37fec652..28c2e25c1756 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 8c656e0808ee..98a78a4d20c2 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 9a3f3263ad6b..bc99ba679fe4 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 222db726ed3f..04be5455fe0b 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 0f8aef7c3966..9256caff609f 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 178f3b345db5..58e3c7fac39e 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 f5c8fa5bd814..dfc522f25910 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 670bcceb9f57..63d9bf6c9a26 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 2a4db08747ad..37c45f76f9eb 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 cf8ddc0f123a..6cdd6ef0f9c4 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 23bc35cd6e87..f274eae91779 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 4dfc246e8415..ab66d17b4211 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 1a8c8cca4082..0152bbd07111 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 b0b1bf6497d0..611d69f30cdb 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 b644e18fb480..c72aba9b351e 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 b693ecc05a07..9534bbc93fe3 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 59064bafbe08..a42f66720553 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 c4369cd97152..a1291ab7db33 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 a21f376ae020..c242dcc2c2e8 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 db9a73da3b43..af46a3d64696 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 f9b7348edb75..d771f6d72e17 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 3c0f893fc637..00fcaa256fba 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 3bfb637d3daf..7f6c429727b7 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 56f8f1dd4b3b..557098409839 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 9adbea7e4158..2d8fd1dc6c63 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 5e9a5dbb9173..7307f2a2402e 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 47ef4186cb76..8448fcd7e5f1 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 59047ff49252..6cf8a14e1a75 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 1d52c8d6db48..01ceac4c1a14 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 c890771e5295..ff44733cd9ea 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 97be7edb2b09..597f9798e059 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 4859992f2696..fde2ebd6c270 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 b31d9a8a988a..dc41210b941e 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 7f459b4fe30e..8048fe6d3e86 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 5c1e90122e09..1e53ec6c848d 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 03c133f4749d..1cc1eadfed5d 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 14fa58ef0a3d..805907363f7b 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 798d69bad8d0..127993627b86 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 116195f613a8..1c39f7e92fbc 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 adcb01868127..d97a74d735e2 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 8869d7da9fc3..41974753f4e7 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 3b2edb383544..0fa7ddc8f9cb 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 9d8b6ec47784..24e44e85e3e8 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 ddfc9ad58c1e..b9e40542f704 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 d7791f75aec6..dae12ddbf27f 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 3c16879acf80..ab08ef78ccac 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 33b65f38ec15..95b2df7bd727 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 807a558c1dbb..1dd5e59caa70 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 182632a258a3..129052fb74c3 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 bffdd6e17de4..5879ecc41dfe 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 c286a38e0d9c..508d040524af 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 10bab13126bd..4ec1e419858c 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 94087fff788b..de351bd5eba8 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 ef7a84d3182f..339dde19964f 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 1b44ce61b19e..933d3a7a168d 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 d5ad148d35cd..1969894c093c 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 c4893f1e7cfb..6f06b1d40b95 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 a82955ffc67b..26db18583148 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 b2764acf84b7..2b918ceafb08 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 cb79903d670b..f930e4a4ae35 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 f7de66c49761..b5ccbcbdd991 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 3f7ffe0bc276..666435f6d8ca 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 c8dbca483b27..c1296ad80aad 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 eb9132b0cd68..499348bce929 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 1051091b7235..5240453c585a 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 036ce7946020..11b6b8448883 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 bb5694371cb2..9dfd64f2ee28 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 595b86b4015b..93efd6006fe1 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 ac3ee3e9405d..d1d622016ff3 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 e890488bab88..b364014a2421 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 31b582436658..12f8a43703a5 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 b1383103cb73..24e055143a27 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 26e813083062..68f6a6a7c161 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 812fee9c4d67..4a9877249548 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 682f9b6f9952..52f7317a60a0 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 3159e77d8f5a..af6557068419 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 eb01c651aef0..5e7d55e16cf0 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 58f413a6232b..645a81bc2ed2 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 5c4c42c8dc20..b5ec53427362 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 3bf8d4303782..e9300beed974 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 684b5acb78a2..a7e51608cb76 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 3f90605550c8..50dbdf98c14d 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 2e32dbbf70c3..f1f64fb843b9 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 3988850ec211..edb1388848fc 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 0a1937026a38..466c59e6a75b 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 0aa95bcc2ae7..996d25550769 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 70c61cb3e2b9..a5e0b01bd6fc 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 3d9bd3cc0296..e5281698af17 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 1f1d87ac9a1c..baefd0a4e1af 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 a9d32b3dede7..3c699009594d 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 989d1cd0113f..5919ecd221cc 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 70ebb51c3c39..813b25a27aba 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 ff855a5b3736..e11bad2bcebc 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 30f5a07d4a3a..1d8f0c455bf8 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 1188ebfd90b5..2f6424b054bb 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 3946a25cb626..c5663bb763db 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 ebd2aebfbf3d..ef05d66e6d74 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 958faf5031d9..7dbd06d192ea 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 141fc0f76463..51c208e4134a 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 5a1d60305026..7a9edcbd3f4d 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 d8920133f9dc..15cfe7ca6c54 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 756136339017..b949b6648e08 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 fcfeb8f7e881..2c4ad772bf35 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 6238fcc7af8e..e5e3c8a50feb 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 1cacd3476e51..19d5fb1067d0 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 7f7668649640..b1e54118fdaa 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 bd4c07772c7d..1f7af5674602 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 3fc7a6220200..326bf6a74960 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 7a9200ba5959..aa904558ec88 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 2abb29a30307..adbac5c6bea0 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 910e45bbffb8..039bca77dc8e 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 fe89e73d6107..b0e1b800a44b 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 4efcd05e3bb8..60951bcccbdf 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 fbcf4f49f19e..c59de235ef26 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 4081d1840bb5..a21aeb9bb989 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 c385f4a57e85..030c34704881 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 8215f844ce3a..3d4fe5a333e1 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 b8f5370ad643..2703fe06f7f1 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 9c74b63f97a9..97dfc7f49554 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 56502cdbc601..7311fc33d334 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 76dc33c3369b..fb26c9d7d893 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 c65fb628bbf2..eae7a9c4ff08 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 00274e849d0d..2da4db55ba8a 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 4db65920ec1d..4aecf766829b 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 59ca17eab242..6a5d61d77fea 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 ee360d7dae21..f5e90e6a6817 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 89ade6c1e772..c6c3cc66ee55 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 40fdf18118f7..8aed75779dac 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 c709ae5117c8..13deed1c25ae 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 5f5407300756..316e8f890299 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 92a1a3c036a0..f1ae0ee3d809 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 08ceaaa67353..74258fb45c1f 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 419acc701dfa..ec88e0c9b6f3 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 f6e0ec527ece..a7a8360a0726 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 a7630b461ec7..4ca34b9bfb5e 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 18dca4b7115b..7c5f225f323d 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 467b07059198..8b0b77723f3d 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 fe9972687e3c..14142c8a798c 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 008001c71422..500e82a4e498 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 c325557c91df..2ad2ca5bdbb1 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 f75a08dad6b0..7cad42fee775 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 824c0e5295fb..bd9607e89d75 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 8ae2c7487d68..97d98b4d92d4 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 5c6f98b8466a..6b31533ebe5d 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 8f3306ba2dcc..53d0da649846 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 b5b6c00aaf22..11c3c07df944 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 32efd57beb1f..67bc72349b17 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 8aed35e7b343..b9d11bded337 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 da5671b855b9..adbe7c138caa 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 de52fca971be..0ed3ea9e3216 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 f943ffbcb28a..c8af139df710 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 0faab1202aea..ca0c64d56aba 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 5dc12f1fff64..a35b590e4620 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 320bf7b4dcac..d3ce81a65589 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 5ac0fd5d5edf..b95eb47ce3f0 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 2e469a3d53a8..45854af1f93d 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 6c55c40a007c..f6c92ac927d6 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 ecc8247468d4..f3a81ec21bab 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 b3a1db82b1c5..5a8f2a47ee16 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 14c107a4bcae..36852fdfc725 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 958c06b1eed8..7637a9ca451d 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 610ef8ae5ebc..b614affdd339 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 0faba1191fe0..84fe4c277c17 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 a8fc57fc9f77..977f607711b4 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 3821a5ee6ca7..695e94d04ad1 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 c20c029263b1..c6d2c51b1cdb 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 308145e36b09..1a64e8ebc7da 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 2d4776d3d358..a91d85ef14cf 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 fbdfe06af695..167b0be89612 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 2542ca710103..120590ae3983 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 b13808e7deb6..605892d3c63e 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 386b9fbc3ad4..1ea3d1ca23bf 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 f89640f3ee52..05ae9f501d8f 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 2b3b1c1f5914..b46e9e7181f0 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 cef1d67f5a8a..c9d88e7921c2 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 d40d98c4dc12..123d91cbbb6a 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 dfdc84128251..bddddaa26283 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 ddc03ac6f69a..399b7a21c2a6 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 7c915761bb05..b5321dcc2205 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 c49495a2c453..5419a257eac7 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 ce34052db7ae..b6a7739801d3 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 b917ccae9dfb..87e56c2cf1c5 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 cf5ffcd0b315..3464f9b3057e 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 25fb7b58738b..1b46a190fa50 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 26a661c733e3..b97ebdf7b575 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 411c3a13725f..d8004dd09ab6 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 7ea15fda4731..1d14aac3c519 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 ec086f6a9b9c..f307cb173a17 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 c96d4005f434..5d6b5f11fe4b 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 b2a4570366b6..ae149c71da8f 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 182997cc50ba..56890a776030 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 29ec1bfdc99b..86307d84be73 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 6f4090b1ed9c..ba2d89ec31aa 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 d569fe4697c8..af0060867363 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 7f56e2c271b7..36a28cd023fd 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 a944cad1b706..0752f2f68c63 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 826d072e29d5..c8e11ad17c33 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 922d150c3649..00a64f155fe9 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 d6b95d026ed9..bad1e7a08063 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 23516992f83d..895e8296388e 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 289fde7a7f56..0f177a3227a1 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 bc4e04a3867d..df06b58a5368 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 3a5504701753..4fadb99842d4 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 68906c8025c2..f2c310219044 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 c35d4ee06650..51f4e2a8963f 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 12a8ffcb0211..5e56cb9c3b81 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 db8eccf8d8fb..d688b561997d 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 26c558385a3b..7d9fe36d0925 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 98488956da3f..c470bf65c1f9 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 2ba656e67c49..a1fe0dcc4215 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 68c571fc5a6c..c10a4a5fa34a 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 30c99f539ef8..368f6ffbb7dd 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 2369cd727589..e5e11545edd6 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 fe65bb3ca2d3..6b0122e05a41 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 efdd23bd7fb2..f771f6c238b1 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 42f765efb8bf..9b5b01250760 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 ae885f62d4eb..8bb64ca33308 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 d993ed2d2265..664b74bb65b1 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 6b83cef40959..1f1c4ae25bbc 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 1b227a28b811..02cb1425c1dd 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 a7e837f86371..1a50a1913548 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 ac3fa3aaba50..c93f9f9f8cee 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 d77cf2156f35..576f97c7a0ff 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 af10ef11b589..487ae3137cfb 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 e111a8b1aee3..fb3e5f325f30 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 406b569b8434..e790ea84daee 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 5c841067911f..007b80121b6b 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 07621e7358e3..7dee8988207b 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 a5467dd105f3..78343259aad8 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 d77bda01f416..d608684c6f79 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 d8eab2e93645..0ec5e80c6079 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 a647128133c3..5a76bdb68426 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 e711ea85990b..e44c407a4522 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 e92ba77a621d..25a376cd903c 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 f3af6c545978..41a1bbdde2d0 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 6649323c1c57..e6e5148b42d8 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 e6b1644a242b..5869221accd3 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 8bbdcc2ff282..0040a804a11f 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 4b7327896ab0..f0c81c422eca 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 ea07aeeec81b..324f53598df3 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 769bc8afa926..ea9dbe2b45cf 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 ea4eaa29e754..4dd550ee0d44 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 24ae2ff0f742..2761a3c3fa79 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 ad92a338f055..da6da7827d71 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 d7c2ffebaa3b..7b7019f4821a 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 06de5d145063..6c90b43fb460 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 81db2c098e02..a0aafe732f65 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 9ed333ee6623..078aee595f38 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 f5fde0476f92..a9060f7af3a0 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 dafb297ac1b7..9c295f881d19 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 04b96909f224..4d90a0273537 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 6864337e5e43..99cf0ee1b2f3 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 289c86810e19..239fc991dbce 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 fd8bd4d71654..e95046e11e3e 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 727287f393fc..cefd4ed4cb57 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 28ba84cbc0ae..59244897a329 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 58f0626b0963..1cd6173f7ed7 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 3fa17b30a7d8..19adeba18326 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 73e1beb0e819..b8472e7e5fa1 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 c224688c939a..85926772e1f2 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 0db7bb108455..c2c0df3aadd0 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 5cb156a164a9..07063694027b 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 0d22753450f9..729f520e3604 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 cb4fa236131c..0d7e966b1a75 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 aa9ba5a84b6e..aafec7ef7dca 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 f0ddb8de693d..7ad3ae141574 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 e7505bab95c7..fc8b649666da 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 976597b91a8c..86854d3849a4 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 2d7eb2a79913..91ff75a5b020 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 9e0bca83c6b5..7d9d59455565 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 55c0fdffe600..c586954589b9 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 9b7616023678..a433e63bca83 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 77f84783b7e2..02256cc6f8c9 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 c9b68f9ca904..967885d32b7e 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 0faf117d3295..8cda6c69e9d4 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 d96da4750c4b..4b15a3d5b37c 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 efa36a9e8d70..eb8018341ff0 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 153a64cad358..7503fbf75b18 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 f77f9f95223f..5a3d32306727 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 0a987a0fb200..7f5f4fe38a0c 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 bc7ab963f0a4..1120e32e1d24 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 b2bb1e956c0f..b8312ee2f833 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 7c550479cbaa..89fa566b26c8 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 b78a6b8c732c..61b87afddb2c 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 e15d94a1da89..cbc171d14a46 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 1cc0140d08dd..950033401bd1 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 20190aeb606d..f2204f51a2e7 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 c8cdf33a280e..141f0a875907 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 42be3fa0c959..4435550bf663 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 0b3a91845baa..eeade00930c2 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 90a59f7fa9c8..b80fd680d1b5 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 a4de169f0184..5bd21e9f6f8d 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 f9ab82b98a70..25bcc8015d40 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 f4482031217b..955b3ba589fb 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 e6deedbb8a99..a4d98e65ffcd 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 84fefa70cc04..800b1fa0fccd 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 ba442e07f128..55ce32545970 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 03ed6f775be1..0578fb1c1836 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 8924838039f8..db7e25c2cef2 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 4d97c834a09d..d8e38fd97b97 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 963c77339a61..92a771cc1806 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 0e5b91b117ac..6452b41e0d0a 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 0dfe2267f850..8f5ee2daa281 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 7c54c81703d4..056ac6eb10c2 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 4be20e8b7e7d..79038b8e361f 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 88d6b25fde31..d2fe769aef87 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 98dabc9cc69d..c1e48a569cb7 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 c025caac3d7e..9ce501d4cfe3 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 6511baa8290e..0be81c015b3d 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 9ce0d94e8441..2fc311b2435e 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 2e75a7516a4f..10b5bb529647 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 7adb5e3a8326..0c354eda3365 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 65a5a0bf75cd..621600393c6f 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 1880a7bf4a02..13ee3c973cbf 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 e3e05c8ff038..2daedaaf4b0a 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 4dd022ef5fc8..03680edecd15 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 0c101aa7da14..9e73d124646e 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 51b52098d119..7fedeeb9b409 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 c5e5ffe3a9a3..eb56eeb6962b 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 168aebc24510..3f166ff2f549 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 fe8cfa2d7925..d21e116cb28a 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 bba5b9a4912c..e9f8f920e157 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 87f2cc3962b4..48fcd4ea32df 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 29ee91dbfb96..8d194b459f11 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 4c8ed6ee9e2d..afff661c7f5d 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 b5daf5a25c0a..ceefa61aff12 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 c1ff41c52669..e5821c0602e8 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 22606594ca3a..6febeaef8e9e 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 ec41f4539e00..0ba334ba7c83 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 23d2f8db32ff..d7926205c1a4 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 a389220eb4ef..10f5154976fe 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 033cc274efa3..388de441f1bb 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 d6516b1c7a16..8c25494c5edb 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 d1b641f77aae..9ad89396e763 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 d51054d222ae..5aa6c3966887 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 69f17526cd24..108d9234bac4 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 acf6fbdd4a79..b4f770dcbc75 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 8620ab06929c..e0871bc77a7e 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 5f590cba5f66..1d650f88ecdd 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 0da80ef57125..454cf1e10b3b 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 5c6387bdfa31..5fa3094842e5 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 f32410654d5e..c4446e2c26dc 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 cc392ca8fe4c..4fa0944bd591 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 3826d5b36c61..fb17975acfb8 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 392957f446bd..cf5d2799443d 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 30237cefbf4f..6e147f1b0d57 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 d5329f1272c3..e0173cd457ff 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 5afca17dc9b2..90059ee7bda5 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 dc10c59052c9..a6cdd7621de1 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 eb647a6ad90b..80e2f993590f 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 e2928a451305..66605199bf72 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 c1d3613d2cde..757d24e54b91 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 22b15c2da587..a0c5e05b6e9e 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 60edb196d0f2..dc2e5c4b3910 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 837ab2f6f7f2..974002ab1190 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 b8e0d0bb7a53..f420a4ce1103 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 0a66cad99c01..84f54b3dec7c 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 f22fd627b483..b5000d8afd36 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 e31585b1e7aa..8f7ba830bf4b 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 62bbbd363495..669e489cf396 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 aeafde55f45b..c358c2eabb97 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 642bb9568b26..b7570fa4f201 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 e79e525afd38..4cd6ce623e3f 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 3a7de9b9c866..d90e26cce1f4 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 6bc6594c6c1d..77f210306a64 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 70a3093c88c4..3c9e9dbe43b9 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 66def32af89b..ebf816ba5e8e 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 bca6de6fbd36..33f6072c3bab 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 1f0fbac0a089..2bc417bbfc0f 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 39afe572ad2c..e834dae0dac4 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 e3666e6a4568..183227e60243 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 679e8e962a2f..ac1af38edd21 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 ab593bc09ee1..78b861c8b2cf 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 56e007659ab6..7f6eb10c015f 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 de05bb430fb7..61cb4815356a 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 8ea0d122fb2a..0829d918c9dd 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 fc560687f587..9cddded12e5c 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 edd51ee6215a..e1430b959ad3 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 78bcf5c293c7..ac169b5af6c0 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 21413052d887..1d677cf1cc5d 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 64040682bd2f..d38f6dcfd112 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 d0d6434ea4fd..d37a34115f6e 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 5a25bb3708bc..3489fcf1da7b 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 0831a8d804ec..bc2de22f3997 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 9b2cf6807edd..56b0c9c4c940 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 3d59fe05cebc..dacbbc80a6a5 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 a3273ede2e03..fc8779f39cff 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 e8ec90b0ba32..58cc60537cb7 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 dda4436d194f..f6ce2401057e 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 30937748c50a..558bf726e809 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 58cbdd8303b9..a669b47a1c94 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 36bc87db5f25..cc4986554301 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 f2d56b372378..caaf989d3c90 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 5118b41096b3..d13c36896bad 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 04ddc24eaea5..6adf6d310259 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 fc2ace2471ce..f9277b40f1d1 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 8fbc554260bc..43d263e9cf25 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 754e9647e7ee..c747ef85b7cc 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 d69e58422bea..8f909e8710da 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 711555e593a8..d0b40c748439 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 658798651820..32a177a91336 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 ef9df7c5af23..ff72ccdf8e38 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 309126eaf252..57081557b109 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 551e5ca81106..e47a0c62d09c 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 77333b676fcb..821f0d8f9fc6 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 aa7c737fe5f4..a75d7af344ad 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 fd0735f3834b..2316b32a2684 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 11936da4dd4f..c2f1624e8e00 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 ac950c04a1ec..de9726da7637 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 c7ebfcbd57cb..a03316a770dd 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 ae69ed190223..29a8b08c7e22 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 5e68846ebb84..1e4b4e25730e 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 635b5109ecb0..16f5bae10ee0 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 9777fd6d40d5..737f2811ba3a 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 66b169d7c601..1c5adb9dcefe 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 a17065ea970f..4144312c09a4 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 309850ace6d0..30a9aafdb544 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 050bd79b9b34..3c7f7af75c6a 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 7611a3760db5..1e08dbe33f74 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 b80ad34dc9f3..ca37e922a68d 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 cc90b92143b6..72cf06c2bbb1 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 7c6918a4c572..26a9dee71ebc 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 6647e36bb89d..f600fc8aa4f7 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 1c2bdda70cf9..51b89c380c19 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 267d6d245605..1c30610ad8b8 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 011c41b3aa16..cf402d1dc395 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 9920a242cf66..ad71c21ba168 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 eb4365ad770f..4b6120a35871 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 5dc7ff4f5100..0bace95f5e55 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 3c37c4265a00..963e8c2f7b49 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 7ba3f143c435..b6a197fffffa 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 011538550844..d9aab5870a7f 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 1313e2096e7d..b40dcdd922c0 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 8addcdbf8e91..9d8982b4cf1e 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 d9de66156849..c100978cdc22 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 2089eb9c574b..fb6cf1bb01f5 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 eb72e1d7877e..4410651fe86a 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 92124bfceb9e..d4818f2b1962 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 357f27ad5e44..d6548f10d32a 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 e1375207f8ad..db556b84711f 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 5eb7bee05e10..26def7fedb3e 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 b305b2cfa90f..9d4798aeb8aa 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 5be8ab0c7379..37867c7c850b 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 41886ee405b4..eeed5915188c 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 a43f1736acbb..90f9a2e45348 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 dba8e88b3842..3a14da8a2b50 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 8f17912f2643..653af7158905 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 2f19498aa261..c4ee7851069a 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 0e0dff43e1c3..4877b6c2130f 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 36cd1eb57080..8da5f78d1209 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 357dfa6dec1f..5fdafcab36e3 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 7d732c4075ff..d83cf4abf894 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 b484761b98ee..d56d01e6dc8f 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 d3381af99ffe..eb0ac0a890db 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 aa18be298c56..4aa48b3439cd 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 0d1adc13e60a..80c859b91fe5 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 842378a8a51d..d1e98d7eb960 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 cf47a3190364..98ac86c7fbef 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 564c049de7ef..af7b058459c8 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 037ca10629dd..143da0b5c405 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 962e3446f6c7..ac8321f60575 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 e26a5dac1e8a..ec2468718322 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 14251cb7ab23..d06c0bd4a8b6 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 811bc0cd746b..20b18dd5bf9e 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 189dcb6db85e..94de6b9581a8 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 2e582415bfea..60cf74392635 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 4e66f3e051d9..f2cb557dfbe9 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 d0bdd053b02e..ba57175af7e1 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 c5bc54b3722f..54a919359efe 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 924d513160a1..4dfb9c86781b 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 c030ec1edbb5..6aece388e653 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 1020f141df89..0821694d0aa9 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 4a90e744d1db..63cd80bfff1f 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 25a9ce6d6557..b89dd5955aa9 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 d16fc9c6587b..4f5ab792819c 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 150ade684dc6..935516a2d1d7 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 c169817a214d..bfbd9e3dc7c8 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 c53fa96a9288..1146102145bc 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 75e17c1d9a9c..a1ee46188954 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 1e20ed26bd44..2dc14ec0252a 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 681881e02001..7a4bc5c069c8 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 d90041978992..43a9d1e7c7e2 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 eecc59d17404..ec872f203c95 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 e7d0fdcffd91..e2757afbcad3 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 828bf4f71615..3ff025acd56e 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 257f0d438207..ed249b1056e2 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 9f95712af5cd..6f33bdd8bd99 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 1e72e9a2527f..5671e2d9f0b1 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 615e048f1d84..9391950692d5 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 d0255f501ce6..8c2d969866b9 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 4b0764943caa..ffe80752dbed 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 b955757e5eeb..e908236a92ca 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 65a1fac08b12..362359283171 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 04e4b4d01784..ed5fcb3aa5a9 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 c229c5a451a1..0c3961b42938 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 c29813bbe1e2..3e4611b1f7ae 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 06143f843e5f..b4fc879f7879 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 641f5f84b84a..4a1fed9a0aba 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 e1a6118204b0..e4f66eb9bce3 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 bc8326151997..96505f2a4c82 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 4250c89e8d6b..d3792471c8c2 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 00556a5ad817..a747cd7b19ce 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 3991faf66f2b..7f04046fac56 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 371fa3d383fd..3219a09fcc9f 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 351c633c2d05..f044996904a5 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 d5a20e9736da..f66196962325 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 20fdb68c1459..d60aecf48234 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 a4d206db7d96..5337c87614f9 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 80240ada1c03..6ff05f90a79c 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 4a2d04796012..b0e39e6b8881 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 645412ab0b90..4180bb5b140d 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 902938926025..79aff5207bbd 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 533fffd34507..64844ce94c80 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 120d54bbca7d..bc36584fd1fd 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 16493bea7fc1..8f4c68fbf71a 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 ece76e958571..42fc7d4a9f9e 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 915e219cbf79..939aa2923c7c 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 5c5603313dc0..e8f3495351ed 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 93a1507718b5..c8643aa70d07 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 1a25d76dc190..4df4daeffe0d 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 ba7f25e95c17..fc8082c035f0 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 994ad4378a0f..4d77fb604040 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 096b268d59d0..5072227ee171 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 a2acbd9d294a..3570bf0d14b1 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 e03cb4ef807e..b167a5a77cd0 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 d78d6857b539..6a8a4789c22d 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 c76f6d3b03ee..331d44454330 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 a557b597dff2..43a9e52ae101 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 4db5dd1a36b1..35817d24e018 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 dddc37c432cc..3eb2c218ac42 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 e6d18ec954f8..f68a49d7edd6 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 0618b079c288..86291b3ef891 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 6d2f532104fb..c33488ac7af1 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 6de6434711ad..73dd1c1ad44c 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 d866c4337348..2d428088e91a 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 7fbcd51e6d8f..5a4f933440b6 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 7170fbf9aee2..75bfcd5703b1 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 8f6a398e33f9..5b7a8396217a 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 96776bc2b89f..11d13cdc6123 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 b9771c62fcc3..67a0beacb38c 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 7ff02e3d7da4..1fdb56499277 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 d9f75259cee2..b986c89357bd 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 04959cfe6238..5586b963427f 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 b76c8d742a73..ae39e45b363b 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 d98d4a4e8a50..8752cd963a88 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 ce233aa5cff2..95f8ceecdd4e 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 5e342b0c4f44..8ed6973da3eb 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 e62897cc2692..af68c16fc7a2 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 f098b4f0b066..c730e12ae3fe 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 17204e986731..ce740096ce9f 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 13928c76efb0..23e8226cb525 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 3dd734f3754a..f2d863867c49 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 406ed091d702..20995d0a2c69 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 2b0d224686bf..845a848351f2 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 ad135e35aeba..42e4370f32f1 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 f5e3150125b1..9a8bcf8ff805 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 ed8bf469cbed..32d5bbf3ac11 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 fcfde60f1974..113c3a1ff507 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 2ce2acbe26f2..cac524b790d9 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 9e51af55a6a8..e6a41b6ac729 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 70a84c923ba5..6cc31f332938 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 ea155062c5b6..e72f6b1310cf 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 88afc0139c02..d9ec9851cae4 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 f094fdbdab8b..294deff67dc4 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 f7edd077db7d..be897732b0fa 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 ad540bc2203a..480821cf8300 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 cc337e4c4cfd..4ea1a8235ee9 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 03c1d0f62d39..e67eb4f0f81b 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 a90ee624ba57..9e0750dc7e51 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 a90ad1fbcaac..537c4a403fef 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 043fdd4fdda7..c9451ebb6469 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 5f4d27e509cf..20ccdfc99401 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 93457dda19fc..46c57fd50da7 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 d31ad3aedec3..e6e952bffebd 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 79e407b8c02a..0a040ea05546 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 86c809c32939..394a551d7f48 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 71cee56f5d0b..0beb30c19b69 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 89b351bb9ab1..c60a3b96c9d3 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 493425f7eb40..aad60c29084e 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 12a287ee3c72..6760f0c17858 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 6307ceed9840..d8400e7d7003 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 36a320d37fc3..daaa85b01d24 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 c8e74eec7664..92ba3b4f5ac6 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 e04f46a9223e..3eeeda09b7bf 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 b60d1f9595a3..0453b06bedd1 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 dc1e0aa589fe..366b3ed6fa69 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 c11c0f84deb3..0429ea018b5e 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 1f6cb0cfe25b..ee0f0607923f 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 c3b4e86f3b86..b0aded940da0 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 5af6745bf7e7..e180857d2e82 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 4535a853ee6a..47f8cc5c04ab 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 00cff2e3aaa2..af59d2c4dbe7 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 198e4bdb51be..105434439bbb 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 fbd1f4ede7eb..0554e16428bf 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 1895dbbaaacf..89b312126736 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 42652aad50ea..093d2db1ce29 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 995912994026..f7244c91789e 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 41246ee252a8..427318c046c1 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 43f91397e13d..9d1e01a6bb50 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 aea0956d33e2..c2f89f6fa2f4 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 22bf993eb310..f8ea5e36f129 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 5d35f3e3ec1b..a5060da7a97f 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 9d59665d1b6e..f15130d98faf 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 0391c8aabf7d..82d40435150b 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 4d2b481348c0..13101fb11397 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 8cd371b624b2..32a0ffb088fd 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 b3ad1a5ab63c..f6169dc15598 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 3789d90d3256..1a055a14d512 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 a665f70fce1b..8353bfc7e8b6 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 cf06e5442992..d8a7d760126c 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 d2107d8067d6..37a7d02a90a3 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 9b36c9d5a3b0..b7eed54ef1ba 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 cac594ef6f7e..180fb7047ee4 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 5204082e39ab..9bf57714f4a8 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 943487fd5f3b..3f417f7af9ba 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 c9a293dc6336..800e250ebbe0 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 59f6c1960581..e9d4d588ca99 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 4355ca96fe70..52a2b8f52576 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 298d805ab35f..dbc96735ca39 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 5c277c5b49d8..297e7a751a19 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 ea25889e4e2b..aa47edbd758f 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 0a1c4e2a32a8..2186a927118a 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 0b816bbc5935..09ce25752fca 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 c887b25d3a28..08f008662958 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 ae5960507b3d..079f834bcb68 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 6b3a94a96adf..4924942bf27b 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 0062a47ebb8f..487aa53a43ba 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 f86345e57104..5353e5b89373 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 9d177386e268..6d9a76575e9f 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 ece5292fd541..8632b0e115fe 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 1b191cf2284b..651041d05576 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 e0a9f4a7fa04..ad9dd013c345 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 bab4214adffc..d2619fbba303 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 64896c2742f5..df0090823b6a 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 03bd8bb1faf5..1535c21c69f6 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 c966a712f845..3847224fdfd5 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 7ca044639eb9..eb622b82a3f4 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 aaec17aac58b..bfe7bbd560fd 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 d834ab4508e6..ee8a3eb56cec 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 1b19edeaeefe..a4153968792e 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 ad35f4cdf4c1..1ea0f542aa0d 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 8c2fce71eaa1..b439be6d7e96 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 cd80bbebdb03..d696cf20d703 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 aa64e6fa1950..5fe8fed75b44 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 461a7ad99300..9ff4f98cd827 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 b5bfd07a055a..ac89b63cc900 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 7cd0f9753360..473e1e77cc94 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 1f44a477a7c3..2971de0f8800 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 55dad437997b..9be34f229769 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 97e25adee780..50e4843134d8 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 e079c3d38287..e9c829b5f8a7 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 f5e21ac2a010..f612729cd82c 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 53e91596e5aa..9b64cc933683 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 bde49a16776f..82822c19fda2 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 984b5cc8702a..bc55c43069b3 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 d3e499164620..9a92cbe532cb 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 ebf051fdf49e..91dfe32dae91 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 baf877b4bfa6..0fe5dcea6c51 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 8ae83c287821..347f978d6295 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 5f3b36cb9da4..2b518b4938b0 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 a49fd081fc0b..db6f53bb519e 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 3059089ab21d..a052a21318c5 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 97886cc1a032..efd54d1004c3 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 fd113a81157f..c0108f0347e3 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 fbe7d7bee21a..29d6ba7a0af4 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 155287a03c6c..e052a2d783ac 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 056c11cf433e..18619f598d7b 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 6192b38a4eec..c4d9d6a16367 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 a4252c381317..36b44b6b315d 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 55fd9294482f..76257da8f9ac 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 0c9a4beec856..7f0970e28ed7 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 5f71a6bf625f..39b2ce736ec8 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 d3b015ef51bc..38cc5ee69a95 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 02db43461ca5..051344fb2ad1 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 3c000bf39fbe..ba38dafab955 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 6ba687395ff7..76a03c875705 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 74121cb21eaa..033bf314650b 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 d1b2dfb87266..ec3aacae2e27 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 35a64a59a804..426b1daab7f9 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 fe53635c0410..8c57bcb4eba2 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 8a56e7c78f6b..c812315fd0e9 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 07f200c0fca1..57b75b473a0e 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 9237f0586931..df739f3c246b 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 d3c549efcbd0..f49ce3a66fe5 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 53e5669df950..45fd4bfdb7fc 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 edcdda84e228..d7e83030e98b 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 a7880720a82e..f31299723891 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 e74345f5fba9..b1c8ee0179ac 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 2fa20e89b96a..7975032858d8 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 bbf5485cf855..19399608e018 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 8dcafebee510..7d96263e61c8 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 2b51094a05ee..749dcaf0f7ec 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 1de944ad4726..f2f776c4fdf8 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 2d848a800c89..044c3ee4013b 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 a3d6b01a9569..89aa1b102a38 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 2caab833ff16..fdb70cf6c069 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 35d16125975f..6ff8e09bc8f2 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 de44a9834c86..2206a4236783 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 4fda5b844064..e329da8cdd02 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 58426e15a9f0..221478c855c3 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 736cd1e3fcb0..5b190f1cdd52 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 15b1648bac33..984ba541414b 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 516e9aa64410..d0a7e8d8167c 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 b31b525d146b..852cc1f23b7c 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 fc28e9727f78..4ce9015079a1 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 678910deb8aa..da30b63bd205 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 b7b97bf1b4f6..5fbd4921d0c7 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 8a6f1e39df45..217128423d50 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 9ad28b321ef3..1056b1691120 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 612666f885b6..68d4faa5341d 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 33734b8ad613..70e56882be12 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 fb958aa50bf3..798d899f428a 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 4414ba18e90c..60aaf3c4d0ce 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 a495b6482749..90c888539a3c 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 0aa57a324c6f..8b24ade1eb52 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 6469a13b1585..4c20d50311c0 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 65455f81b269..551ba62739f4 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 0af7e2f87506..e8341989bd59 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 b096d0b3ac92..d408d5679a31 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 ac76aae1476d..c7c84731074a 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 996960a2b4f6..76875ff9e4b4 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 7802897c722b..9f79009feefd 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 2d8d87789537..079b13debe26 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 4ef9385d05f4..3ee5351dd5ff 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 aded73426238..826af7bd2d56 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 9207f7b1b5fd..d4232d0c54ad 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 f480cc2517b6..070c7ab056af 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 4e1ec2f41309..1ff4f17ef3e4 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 7c86b7dda4c7..a3b7886aec25 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 a4b485d3112c..64b4b038c067 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 50a6c7296765..3f806adcc3cc 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 94245b40e690..0e275ace15c9 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 5fae865b2809..68089a5e0aeb 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 9f00e45b5c50..cce7cf3313d8 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 c6db7bc8ce6d..3f438508a3ff 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 14e60b746550..e0791af0da30 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 827fc5b59f0d..df247051edae 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 4ce114210bac..4209f65dcacc 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 0e640b499a47..850112a2d169 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 4eeabe651ffe..2607d182b1de 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 28e78e92f87c..63a56deca3a9 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 09ef498f9889..8ba43873ef2f 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 5c1759fbdc3c..6dff4fcad99d 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 acd1f56b7727..794f5811ff59 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 7b9b5ef8c583..d7e820239bcb 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 f1845585fc69..320767647642 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 2cf15d33cc35..e6153c537181 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 2703d1a710b4..6667820a0ae9 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 e4b5440dc945..8e9504730cac 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 f499ba0cd7b8..292d32c12c4d 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 75f5f17f6856..c8a2acb4e715 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 9f698b1841a4..0d5fe6b2a7c3 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 33e00435352f..ed830335c000 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 4cab239262ec..b8e3b0537d6b 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 b70821e61b55..bc1bd17c1faa 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 2c921fe67001..43482136a6be 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 019029ca0912..2a4bc0657d5b 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 43a3430f8570..8ea516136348 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 4f22384a3860..ef6231cd79af 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 af0530be48f5..67d705ac0cbf 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 764b587dec97..8bad9eadfd31 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 eba1fa09f3c0..6711a122425a 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 31257974e2c3..efe9d458072f 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 6b484721924a..b005c636bea8 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 9a7664a66ceb..259ac2edbf25 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 f6acf6d8aacd..bf1d22524d9e 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 c485e23c29d6..af0ea23f3e3b 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 c0b5b35e2813..0cc8e0d764a4 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 6004028f9c98..f2e7068feb4d 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 d380acb9b4a4..5b22b669e1cd 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 b97ef12798d6..2c5d63be794a 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 d8a24b3bfe06..95f95e7a6eca 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 44ba2a4b9117..acbaa6c482a9 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 a860dac0dbfa..0cf49dd011e0 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 546958420201..2e01249fbb10 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 4b4984c91d49..97e119418ffc 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 168b272bdcb6..9bd1300c1090 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 947ec76eb2fa..b15585935767 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 fa849d8fe322..afa0dba73716 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 2d125cd508ac..19ece653ae41 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 cb067e9c1f0c..3a9229ae1fb3 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 637a41537942..831a0ce7bac4 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 bfdca5d4880e..0f12be0677fd 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 19b54b235095..cfccefbfd7f9 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 f220e2fe2c41..cd5588c80ae9 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 85c069f48f65..32b4394387e3 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 3825f14768ce..c7ada7889699 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 4e3eee0b0517..2adef2715cbd 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 9b76d428d59c..0f2c35885f4d 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 10a65a97600f..6b02d56be69a 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 315566d1abb4..ccdb7b5c0bc1 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 4db40829ca06..218dd5a83808 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 7892b02dc7b1..d7d699375fca 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 f01c0faae99f..8609ebce765e 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 6cf685cbda57..5f1f26ea553b 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 6fa0aa8a724a..37792203d7b0 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 f549428279db..0bf61e230863 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 19cc788d2109..2d0071850e09 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 b1989d788a8c..7c9ba4ff8d36 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 143f86b4ed4b..25e34d4d3d3c 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 1135d820c0b0..5db24cb194bd 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 0bc35b213333..c248d64cd8d3 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 cc1dea18ce90..f813b449b269 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 f5accbe87c98..61f622ba8585 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 beb41787674a..59884dfdfbb4 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 a57e5d5185c2..18a7fe202e0b 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 7e7d0c893818..d2b84197b95e 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 fb4a13f92ab7..ddb33e0b6960 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 54c37fd4bc6b..c815adf1573c 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 4ac04c1cceb4..970c76ffb612 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 3bbaf7907da1..d4e479debba6 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 ca5e281703d2..814c3d27a056 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 50dad64350d2..507831718eec 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 ad61dec17c8e..09f884465e73 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 a1c6eb9c8f86..c0203c9b2173 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 736c134f58fe..bac989649bd8 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 0dd813e77237..98b064b56128 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 0f6b7ba7376c..0e3f4952123f 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 ad602ccb2e08..614f7cfa1e5d 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 b49f9c4da5fd..29c86df99fad 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 a998519cf85b..4e1d9e6e6237 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 b97860ef68f7..a1f784cb2976 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 28f09b55fb1b..5a57a5dffdf3 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 af1cde98874a..6758b818be24 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 26ea554177d8..65b646c030c5 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 94c4e6316969..c57070ee155d 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 e6c299843dc0..3431d3873086 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 19d108ab1296..3b2bde9b45bc 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 4a107cc378fb..aa0cae7525dc 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 9a4d4a24ccf4..7e398e3c81e4 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 111a548eb470..2478dd5bace0 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 edcbcc4a7e44..e9d40438e332 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 a748fbe5d652..b25b0a6e8f2a 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 4c13e1ae3f90..deb1769ddf21 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 4b373dbb4b5a..1bd476dcd4b8 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 46d3d759f4cf..58ce494f9cf5 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 71e1abd2edf9..3c2096b90a50 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 ff5fe5e2452c..40679c07bbb3 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 941054a36668..e4c93f0eb818 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 a15cd2d4b0a1..70cc42b094b5 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 a062b1b02014..04acf978aaa1 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 22e74b442783..3e888f1b005f 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 4994b3ec4f37..2466a9df9003 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 2a72f611fbe7..7c63610de7cf 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 a1a62f6bd651..4e158490fab0 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 7b9b3b1cf856..5d11ca0bd513 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 8aa8a166f27b..c0dc2c4fdb95 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 b160652c874d..56fc9db24fa1 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 06e1cf01dca9..ae98bf445e0c 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 a5e6145bf035..f7389078bd24 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 524f4d1e5f65..ee72d971e2c2 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 14f59efd240f..d86280bc416b 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 ac00ca570c58..af938aa5b1ed 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 bc9ca886fe0e..99a4f2cdb5b4 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 9d97122e2172..a5a48b7470a7 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 bc2d18814d7b..99d8cfa09735 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 d1ba10d6721f..3b94ecd72f7f 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 cdf4191c270a..232c2db767de 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 4c11ab693d28..33da5ebbbfa0 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 2e17d573cc83..1ccb70087fea 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 fafb7d90a49d..629a459b2b6c 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 6f1085aa1fbe..2c0cec9acecf 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 a83523c5a8bb..689e217b0038 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 d4ee292369f8..99a3c41bf8ec 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 366760fb73e7..8135ed810271 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 bdcf8dcb0913..06ff926c35a6 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 00187875975f..599725a5fa65 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 86442ae74e70..157f8f890220 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 3dcc31f99414..0af061c82673 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 5427ea70760c..93362e04a238 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 1e3ebd848318..0e6c259107ce 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 cd385064bc6f..de3a86656591 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 da58fd1ea49d..0dd4e4cda189 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 3534b5689c03..90b3ac1def24 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 58b044b59968..d818a492d601 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 02434caba5da..994caa930a1f 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 cd20005f4a32..0e1c12dac351 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 a8d2869f26f9..d61a551240ed 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 49b6e18aa6b2..c0820b0aa1ae 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 6da1eb746020..02c4135de51e 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 768cb0bb242c..49117a371c0c 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 f1c655e1f3ba..7259964ad6bc 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 14d626974e47..b686cd6d99aa 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 1d7e6cb85dae..61048d24b21b 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 52ff2bbc80e9..020e7f96bc55 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 7a56e8956cf8..00208602ca3d 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 1572038c0570..9094cd8ccea1 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 e1eb7018bbc0..fc784a97047c 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 d1a3d3013b7b..22bd6926332e 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 1a11ab6761de..a175b5199b79 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 f9f8712c4c4a..e9ffd1daa300 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 a62aa66966ac..36e062344929 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 d59371a7ef34..459c1db30b98 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 d826cfbe9494..6548e1a52a24 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 8ab2ccac1d96..7429016c2c7a 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 79bed483547d..5d5d58c78eeb 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 c98179a56e11..11160eac8ced 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 367eace09720..11b3aeee32f3 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 06f3fff34fba..ed2a0ab04e1d 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 d9b78a0076b6..1c519f4e0d07 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 209f949810e7..fffe21a45e83 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 e4eab8659205..14e9d6d12be9 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 480bf03d7c29..be5827fdf113 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 5add0baf9cc3..e7398fd8d811 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 72c9e59f4fb0..87751d0fa280 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 282f094e2b26..fd247268345c 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 2156fc06f485..6b39518a6e13 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 def591d6624c..2cab768697a5 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 70e881157ebd..9f8a517e536b 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 82195e70a1e8..c42e21fefb89 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 8f66f3daf744..c3775abfc873 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 0ddf23e4d1aa..0a6a85d37200 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 25cdbef1c8fe..2fc306cc6168 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 cf8e3a242333..63b3f0a70709 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 a6081680b611..680751c91c45 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 4a6d23a86061..236745f96b9f 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 e8157f15b5e0..2653c22db7aa 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 165aa7cf97c2..b4b19dc5c7f1 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 1bdaad99993f..999d5b731b7e 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 449aee02caf0..75829360a736 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 448c56a82f87..9aaf4a420317 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 c85318aec57b..431b2ace2e4f 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 1a8b70c42ffb..f7967265f56b 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 4d86636fdb9d..4ceb3a255d5f 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 f785ef4453e0..f0878ed435f5 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 2893e7ace7b2..f91edab8eff4 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 983cc768396a..80cdc4fa46e8 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 956214b38d0a..a85afff323a1 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 a6e583ab1f91..b44dc077367c 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 d1ef7012e994..95348b719fab 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 dd54b3073add..c633ef23240d 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 1079d9bebe6d..3b17723c92c8 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 106b273b32fe..3802609242a3 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 c1ae275633f1..89f9669290ca 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 2c2501aa1cf8..29a7ddf1b7c9 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 b78160bb94ee..1b56fcbad1e8 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 04502208f88e..3c1161f990e7 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 d38e13a80cf4..b06df286bf39 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 136528fc23d7..e1370a241912 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 c3d25f649b7f..9c864a5b69a4 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 479cf2bba97b..7f3515f854c7 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 4d36c5ee696c..8f72aa55a665 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 b2b1d86e707d..5670f64cb37f 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 2220a9f864c8..aa24cc3a946c 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 49a06ecd5f83..01e585cf86a4 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 e0520a065ae7..15a525961607 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 a006dbb5f0ff..64e7f57d883f 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 ee4a74c2dc0f..c30e8e1e4db2 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 1ff7d06b1412..fbbf32cad329 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 d41cf4be32a9..6b4551889a76 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 c929d14c174c..8d7e943d5307 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 43913005fb57..aff002ca8661 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 08459fed7c1b..da3387e015ae 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 2fcdefd4cb3e..716cc76fdbaf 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 3947b4674408..ef881bef3ee0 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 c368fe99ae38..ffd09e75bd9c 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 d9c8f1830ad9..871b716a697b 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 ae453390889a..23d1cd965da8 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 5a0575ce1d18..6ebee00da36b 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 04edac72f7a1..7089f01bf630 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 8bd55e22984a..75adc0b5db5b 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 53b8b739f32a..c37b9133021f 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 24f894547db7..83f7aa4fc1ee 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 42ad3f2c934b..e9cd69407068 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 1fd4a55846d4..eb8eafaa2dda 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 081a9917657d..54e825885b1c 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 ad408d8df672..47729e51d7db 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 b37618d874ec..db1e53ec6a36 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 60c51c75a76a..b450e0ee5bfb 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 b46783d06b00..645a9adfb34b 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 52029268a43a..4e37cc190eba 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 3855264df572..c793ee897c0f 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 37046ae6acf5..8ca3a5665667 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 4bce8c648a64..7a20c0542d73 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 18eb72c5f5dd..bba949049e53 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 8341f32fab20..d7197d827cf6 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 3034a99df917..7688a3fbcf8a 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 fdeee07a00c5..dbad18975748 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 59de60ba861f..c099b0f3ed4e 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 3c39a10b5db8..6f9b544af895 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 12238081efad..9367db9c0e8e 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 c68a689f6340..4c4d8c99633f 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 200758a964ef..ce5085b60699 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 26df45643a69..362ddfd1043e 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 cf93570b7dd3..fd4695e56a7c 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 b1e7e24af6c6..e8d01544801c 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 4708c75899ec..9e9e35441e53 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 fbd17514aa13..d163ea70614e 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 be19eb9d61c6..e9f4be423947 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 068ed2a1ad2a..625bd65e1bce 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 034c280ec10a..1096da917261 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 2d9c74fb14dc..4f4543b644c5 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 88aa33017bba..526eb3e045a9 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 581243ca2a0e..b4d9c77d7e71 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 f28a06e447f1..6a2f03555e21 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 8a8db8eed80e..cb74e2ec408d 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 a9be16fe5d2d..1e3cb0609a06 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 df31fa23134b..c280f6566702 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 799678740bfc..dca623c08060 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 291bb656da37..a9ee409810c7 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 fb5e4ab06031..3cb09ecccc6d 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 cbc02f33f8fc..5142f7263611 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 e3a2af382ad9..ee0dc052f05c 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 1fa4c6eca1b4..14f23c62917f 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 e7ed4f5485ee..76c7f6b70885 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 a27ed356e6b1..71570e2ff4b3 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 7f9b350ebb69..748709b88f23 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 f0ea7fe9e1fc..e8faab45a956 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 08333f970b29..81a931390ae7 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 c144b0038730..ba8dda582d19 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 fe2f3e021282..36ea1fa2ba1c 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 d903d6908d4d..3857095f1d7f 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 c2963ed852c6..9295177318c8 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 9fdaf53854f7..666e8a8dc27b 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 06e5c063d4d1..703a0a2cc2ff 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 c9537e4ebc14..00144cea2109 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 7f4eb9b242b5..c01e33999f59 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 39cba0305cc1..c0ea3d8f3d92 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 2c8670770905..d90d9ad739d3 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 ae4d25118dee..2682ed95bde5 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 61d09585d8df..c5c0e86bd2ed 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 b7ad2f35c041..6ca0904420ac 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 a419f8e01dca..9a3c09fd7062 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 9f0a8b4ed8c2..04cd97271c65 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 d2c3ae5e6425..635797d49890 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 96d865b37d13..ec8f4cbf3bea 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 d7913ab181ba..8cba137f28e7 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 1287bb8fc7eb..bc3f3427f1e5 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 4bc0a9b03f41..9b043199167f 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 47c7d857240e..f06298503e8f 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 8ce175425ded..72ee9fb12b51 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 824e2983c0f0..0e0691e61ab0 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 cdf0b9bb7e91..1111b3c2d094 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 3c2f9f7e736a..fb310f826c0c 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 bd33d9d42913..f30eed31b0c1 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 e62cba04a987..cd76bdd11d58 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 44952ac2c29b..6e9871bf094e 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 bffd475d2d67..34123cd3ce33 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 77cc056ac1d2..c7bea81de825 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 154fc6c73a9b..024f6a82acab 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 17cd96b11dfd..c8e7deafc883 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 1347ddc68135..d66d77cc5c86 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 546176bcf948..cb793a13951d 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 7822cdcb4012..0c2d6770be4d 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 18bdd5e083f4..6cdd1ecb6594 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 d9e0dc248560..6f4039ec8e08 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 7c5bccbbb828..8946ff4f6694 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 1b1aa9edd819..0eacdaeb4ef4 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 032675d74ff2..7b1590176b0e 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 14a42b25a4b5..b68aeeae8ca5 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 7e8595fd0554..a9db751098c3 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 d2bcc3d15133..8238bea0ce71 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 f332bd8b4655..3e012aabae46 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 15e4d2231544..11674481a3ca 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 5579f32782cb..1083fba5f712 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 8e9ae8621fa8..f745ac889698 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 f5869b18d260..416b4bb2a621 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 707f159db6a9..d48f287ef159 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 f7215c5ffda6..6e7ebf1bea8c 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 a1f61a4184a7..aa75c44de6e7 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 dce083be8a85..79a5a1ade7cd 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 48de995372a7..22bb1f59eeb7 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 8902d66f96d1..0ee773469810 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 013743e677da..dec1c84cd369 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 57e989243353..d01e076ebd25 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 75f923743864..61352dea9fb6 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 54c259c83189..c7f73aaf701a 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 6924bf1c51d6..c9554c7e7942 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 8558b84d9bb4..5b6064de46ad 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 e0b08f274ba5..8249839371a9 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 4bba8533c57a..203f4f04866f 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 722c7bc4a328..c567e2731c1f 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 051ad6f0e997..38ca327b9052 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 0f85def20b4c..15bf19472dd3 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 a8a3acb8d63e..a54600f17de1 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 646ba4f11d08..64533806fbea 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 61afc48c0a2e..92458d8cc8da 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 c8bcdb698d96..f5a92b85fafe 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 e5c23feda5af..8479c17506f4 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 40630ddcc198..8fa565380a9c 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 92ec1516fdf8..c95317a35b55 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 c8b7d8864a0b..6c8662080616 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 b5737132a72b..0da022240e0a 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 cd57d53af836..82d6308f7590 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 040c7bb72865..992fa01b7546 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 eb5f5a2e3242..4528ac71422a 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 a67803fe5db6..39b6e84bd6dd 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 f7366846b621..392d0871b631 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 b120d06ba965..c8f8be2ea6c0 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 e4c98beb913d..150f72f3684c 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 c362a059d97d..046282f0a76b 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 01243cea806b..f1d831df7a36 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 edd2041c380f..eef87d7dffd7 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 08cdc01a92d3..580ca276f7ca 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 f5652aa32c7c..5ca6b75e6826 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 25cb67b784d6..cb44536cfa66 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 d22cc9855d77..4102642be23b 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 ea7e95a76f93..8a203f605533 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 41e8e8c8f80a..35e227d88721 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 00ba077b4551..b3ac04254dac 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 ba579d2dcd55..7cb35aafe36c 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 f26f33b0e522..1a863b9b1608 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 c9cfe0c6c700..e8be176ad358 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 814714924eb9..7530a76c5ca4 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 7f8d0593ae79..74854126867e 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 01e780270c92..99dae69cf613 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 069c2abc0ac3..958f7363f716 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 7dafac52012d..a6e7d468a37f 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 079181627c0b..7c0d4f666fbc 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 e8c15341f2d1..d00367316d36 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 983860a406e4..1a077bfaa755 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 d0145e3e7191..5d0165950abd 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 48c4af8e704c..df0939ef9e72 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 80a0aa9df789..a70b73be9c60 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 2955a3ad57b2..0f679a8caa31 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 c1e78c751f47..2142dce66e22 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 d0177df87556..9816fcd75527 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 e2372f6002ca..5ff17b76fedd 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 869bfa05195f..d92b455c268f 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 031099f4cc20..7bc6c4e157df 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 215db62a205c..d530e6c75ba2 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 76fc58120bdc..c12c1031b04e 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 449ea8d51d7e..f791bffb7152 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 25b4ddcf68d0..9845dcd2e594 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 408e91acdc7c..fe3b480ac139 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 fa7022b6389c..d5b7740a34ab 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 2800480365ed..c3b172045999 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 5176f03c4130..1c029ec8f5d5 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 0d3420e9d427..2d815b896b78 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 0b8567cf47ad..baa13fde800c 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 8b5cad26266e..e352ac31b7bb 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 3e4a466b4f76..d0eb486c6fc9 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 bd1ca2c2c309..12bd090232f5 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 48cab3577be4..220b974bf649 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 6c3892dc4743..c14123430e88 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 489cd912022e..c513312c47a6 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 7024b300eb0b..12cebccc85f9 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 5f6ba6f192a3..5909843bd448 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 fb30b5a37186..038e6d67b000 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 5ff9be7376cd..be82ee1ccef8 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 3e98cb8275b9..2e424859141d 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 cab64167ab20..489567d76594 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 dd6614ac260c..560184c0a396 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 36bfe545d7e6..9866aa6ad82e 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 034e2b0a823a..1d2084df430f 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 c4a09f57c661..46a2ef52919c 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 2636c03a4612..92ab00805c3c 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 db1190cef333..fea3a5aba8a7 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 177ed5a30db9..730c530c0314 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 ab3b88194cef..0b39c78585c3 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 bf8a8aee30e0..f6dea6b91436 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 70167daf6328..194119406081 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 5152728bd90a..7395b86c2e91 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 a9a6eebf576f..6d50d0b46668 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 99b390285e52..8f6f9dbcee68 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 3eded4e72b84..094b8953db35 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 2730a0bde9c1..a612d7befcb9 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 22bfb9c81c75..f9b7bef3d150 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 59003f39bbae..01413eced2a7 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 23813c1db688..69ceb50590da 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 f3865db9ced9..c1e558990d32 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 a1d393daa03c..fd51b111e337 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 0b840cc918e7..aa674c7e8e9a 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 6c11109cca5a..e82dbe9dcfaa 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 a0601a6bab8c..a8a85c8629fc 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 f581a68cb811..888050f82928 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 cedbdfe32947..d44c04b4e325 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 bdfd473eeb00..b552b1956512 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 0799be9623c1..d4ab3b37e82c 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 8278717cf484..1cb1454f2c20 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 215383dc1b46..d20d3b796a9f 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 8a08652ddf22..8ea57ad77540 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 871724fb4208..fb6621e42979 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 baf40afcd575..9a1237bb62c6 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 07b69a79f91c..8f9b4eb2f51e 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 2e38b2723059..69f12ad586f7 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 88ce839b0663..9ba7cfbf54bf 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 567af996d606..defc61b8c641 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 a45506816ebd..a29ff709de33 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 536cea0ddc38..f2bcd33c0875 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 aedb28b8a32c..70de5fabbcd7 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 3628c6eb43d7..0135f223a1d0 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 560f7f31f61a..955fdceecc1f 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 f4d1de579830..ceadd81fe6e0 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 dd4ad235cdf2..0dfb6acfee39 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 26f9f40b2dc8..4d94bd164f9d 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 73b90b56e619..a28848e35bad 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 346587a02168..1b201bf8c3bd 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 4267ea43bfbf..deebbe720888 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 44a7c5515521..483a50e8fa16 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 b218d7ccb23a..ae541733044c 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 96515b4066cf..6da86f9ae586 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 5b1bb1b09f4e..b6bce86d8545 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 15076670ed98..071ea6561a2a 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 9b686c6fb494..a311fae82766 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 92bf42b003f6..588c649a54e3 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 60d9f0b71733..c9555e306fde 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 930a1be8e26d..d03279a098d1 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 66cfcc3e895d..bfc28f946e6b 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 8a2324b58df8..8893927347da 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 f24173050d97..6dfffc4085a3 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 a31786711362..e91363fa0aa8 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 40405848af65..511cfd1ca4da 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 5ac4825aa9fb..219d287dd294 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 9633f328f336..45662ab3e944 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 4214cfa7868d..729b1e5c661b 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 a2949cd7714f..800b06b5d080 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 ba81657eff5c..001092dcd5ac 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 b445e3468d88..866c5b071c7f 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 97bc153dec95..f8833388861c 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 a98008be38c2..fabbbb89994a 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 bfea472f219e..1d0271416c1e 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 66769a188cd0..d8e6cfccec4a 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 21036af6fc6b..152d0dd73e01 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 bf12442b6588..fe48c34c8dd1 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 c9b77023ebd2..3dcfd80e18e3 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 25337741dee4..ba3b284e63e1 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 a5584976b39d..8dbd51eb4072 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 45e413007c8c..0492525ab571 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 a44d0edc3458..bf930c95c8c8 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 0dad06b6e2a9..4731c6482efc 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 cdc01368d851..66218920a810 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 275db4babc5c..67e6ddcf7f6e 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 df7a4fbba0ca..15bf0c67e4f4 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 2d12208b90ef..e4ac63160688 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 e0695f76857b..738f956d23f3 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 b409c9276db8..263e15a435bd 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 832428be2cde..350caa267a93 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 5607f090c5fc..4e9af727d241 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 04eebad44f66..9d1bb0e6b082 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 c7b4cc92f7f5..4139048077f4 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 becacd24d8f9..e34f65fb7e15 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 0059788b70fb..71b8252f87f7 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 8a69af179a22..e910674405e8 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 6909d3e0b314..d62ad8e04f4b 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 c04b7b7a0a2e..f01d39afa2c8 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 d4e56158ff41..3137ac4bb793 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 c50c11f24ca9..fcaa403cd363 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 da4d0460f803..2fcbf3ce9992 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 0a444d9faeb3..821f382eaa77 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 719a59296510..781adf5c9ed5 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 1fb28c8d9c85..c5a4cb71ec29 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 8209ce0f59c8..ba7199427197 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 33d714ec378a..5c845900bed9 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 993620c8d0ed..ef628282de3b 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 133f627553e0..3f3d7bcf427f 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 9007ffe898d0..00504877cedf 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 07b46f004b42..a8abfc10907c 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 b96a29811944..301eba6a24b3 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 f4c7d2443645..458bbbc28328 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 fe15c269e299..2c0a345f3e17 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 bbff3a1be0ac..d21295ad2e32 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 169ab52a5df1..447f17bb8394 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 c102c3b5cc0a..51953f0eaccb 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 aa41081254d3..c380d58a8d4a 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 58af42e7f4fa..edba29fd2fcc 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 5af4ae58f6d9..104ac1c28ed0 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 f593693b1486..a19ccb95e8e3 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 3d155dc09ce2..7113b329dbd5 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 81bc3844c5ac..36f5f478ee16 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 f9a3964d9ec7..8ed6809218b6 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 4c6d99bdf51c..0391d5984ed3 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 a699b7434840..9008d9fb21f7 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 db3f4d9e973c..640f467a722d 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 808155516460..09b02952c3df 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 747515299e8f..b069ca985e13 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 81b1962f24ec..a7fa5a74b384 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 f12e30ccb42b..e3af30ee9699 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 74bd03117983..ca5e2f31622b 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 36fc52221de5..b23e327f72c8 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 3bf73e9f6075..5914765bfc83 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 4b3224e61f91..343cf9ba8a1e 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 abe14820977a..1ef6285b9b79 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 61df8edff0c0..328ad7abe221 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 84b2b09cfd8f..e8d0680a382b 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 6c0d39dbcea3..7516c88b1dc5 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 d596f184d72e..08effbf4d371 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 b9b0ea99738a..86ed875577d5 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 10b3d3415b2b..caad3bffe7a0 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 cd300ee13fc8..67ae175d7533 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 497003247c62..dc2701593597 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 dcac950ffa98..24bb3215d2ab 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 d1c0202884d4..a2ba30dc1e25 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 f92b1329c8a2..309d3fc274f1 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 69f2e690b223..54e1cf86190c 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 9f5dcfbec234..cbe95d092c06 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 c8131512ae8f..6551cbd8ee9f 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 501acfcf18ae..37e4b5d05a1b 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 c428c5cceffd..f47c37e25532 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 65523daae30d..d1a6804ce55f 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 25be8275431f..d89990fa8213 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 eed3dc5a6e9d..1cc4d8410f07 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 979d8c49271d..2e9b4d1bd495 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 7e164d7a1ec4..96b476ebb3d3 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 f72f05200732..182040d83c7a 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 99277fdba72d..6edba59fed99 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 e4ea53ac91df..c1508575cf07 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 836dc2fb06cf..d52ba7112c74 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 4fd2e2704918..7ccaac5d625e 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 d238a0c3bcc0..c2c62ab724ed 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 93da0e6d25a7..6f170c23bf6f 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 f75b8d0bf772..0c440b9f4afa 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 cc879abd6521..755be9399529 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 3c79d3414860..a599224f0b63 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 7704c82e10c0..97fd14d41f1f 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 397825ab7f9f..88416055517d 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 ff411ec00ca2..d4a00188b16f 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 6ae34cc00626..920bf123df2c 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 46bfad9e9e6a..bd466fee69a6 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 91723e9e3d88..f6e81415241c 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 75bcb4460972..bb5c7d571be1 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 01d262d7bb0f..a3aa75556238 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 86c128aeecda..e3a619e6d4c2 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 462b5870542f..44fcc75efae3 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 9226d0e87846..05c78b40371b 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 291371508c55..de7aa3a5a41c 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 5158d71c173a..0e922f89d933 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 205d1a452a49..13ec3bc294bc 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 735b94ef1883..90c0ecf16a5a 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 6c8743dfc9fa..ca7dae4f08e5 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 58954f744e3d..9806980be9bf 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 fb3ae65cb713..2501b01cba92 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 065aa00c6860..f287e46b22b9 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 3edb2e143c75..f55e0a1e5f75 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 92b032eb4c7b..2057e89fb86c 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 bf24c891d95a..049ff09527a0 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 488ce47332ef..80cac3cf4e10 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 c9d0035d6d3e..813a18e4dc4b 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 3ca8c9c72715..f68d0ac8098b 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 4d8d14be33b1..56d085832969 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 2bc9a0be9033..d162b52020f5 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 7b5be662da7d..f52be8d7de44 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 56c787e8ebc2..ad9e86b886e0 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 39095e4e6c12..7c2b56687521 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 bfa834ee9ec2..bf652ef5aa1a 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 4012446e35b0..30d00b5eb896 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 88120f0f7105..51832905e253 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 7b6912de1c22..dbd333edf932 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 396f7bc42b1e..0301d44de86f 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 9e8b97b377e5..8fbe880b11f3 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 89330aa1f80b..531887ce6a04 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 3fb4a1b41a76..eb0f5b467d75 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 52a4e9f5f756..e955f89da08b 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 651cdd625bc4..3e02e60695ca 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 2319179dc3f0..3f9522342275 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 5c7b9e5755ae..a0a4fa0b196b 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 50b826704a14..e81097f4324e 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 75a2aa9abf46..16fa8549ccf6 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 e44256ba3a77..9c9ba8a5c988 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 6add7950f135..35ad73073191 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 15c0a6655fd8..2835b4cb7bcd 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 82dd5840f6d3..068dfbbb8b62 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 432409500d3f..06ef0f33a2e7 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 cd1c5dc4a435..2c7c2a32e40c 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 1b3835bed60b..2f93f0332027 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 82405e3c70fe..a8bae2cfad5e 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 c0d0142aa694..934e29181e75 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 57593e14427c..e3821317fa92 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 f76373e0fb27..2267ce5b01b2 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 cf89e09a2d7b..aa01fb884dda 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 67ac2f0579ac..712726bc39d0 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 aad461e6a5aa..7d893db66d2e 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 5d0a8aca687b..b03d3ef67139 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 7241227bf635..11eb8d8a1abf 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 bcc622bceaed..ce706f48c2ac 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 899c9941db80..371d4f3c1f3f 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 b31e9ee2bd76..770e1ff90aa9 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 9853df3736f5..827235618a27 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 c0f28361b06e..fc235c36b1b3 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 12b9037ba3be..01bf2c7cb6b7 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 c29155095982..70beb9b31742 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 d439ce2219b0..ae32aec6dc3e 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 0c7786e0f18d..88d7081f0d48 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 6e99cd30b59e..f0411b8b5a28 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 c5f8272c1911..74ada2457bd3 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 f2a76c2036b1..bd9a2376a174 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 be3b473ae2dd..c5f7a02963d9 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 07061db54821..98f15ce6069d 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 962aabde1aad..faf61f291728 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 4208a56c7b85..e85f9c47cbca 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 706331df0368..ef93bbff3a06 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 4bef0369dcea..ae0623251d99 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 17bb65c24f31..608b5848bfd5 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 05838e109158..7e5c38aa64d8 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 e19ca4e9e65c..077ebb3732d0 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 92b98c6a0f7f..655de9b05ca0 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 c62e204cf32e..8ffef4b0a5e1 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 5262e208e4dc..a78d7a294802 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 b0a4f5d0cf83..f4bc9431df89 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 d2c780ecbb33..787cce67f0e5 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 a0f9ba3a15af..3d59cde74d2c 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 77c431e5997b..3e37f63d9ea6 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 fd54d26f8212..793ce959160d 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 ddb9434aa2da..d983af7c25e6 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 41bd3ed589eb..441e3d47bc35 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 137d2cbaeb18..f2ec85879da8 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 ad14df34b747..e379e7cba5b1 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 0b81b4b8ef46..df4f61358a8f 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 8db38d9976ca..5a1c1ec021e0 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 569ad03b9535..61d9ec9ac56a 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 c4f3776a14f2..c40b858e2e52 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 c323faccd7ce..779d922f1787 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 5b3b66ef8a49..f954af67edac 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 fd55a1edc85e..4b0183a55dfd 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 f43947ccf841..551ae9b535e0 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 4a00df4740e9..5adbd6087226 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 7cb64bebec96..00144103d33f 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 403c0953441c..3f467bf7a695 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 1a9326fde182..683bb29bd184 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 cd42c59af35e..53b42751f855 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 a610f0e6971f..e7761029138e 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 396b793b18d5..a254a61fd745 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 9d5de40a9237..abcdf5497eb2 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 d27220f7b11c..1ec996b8eb31 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 80ca76e6752b..75afb1761df9 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 0ee0f1d4e465..035cd4feb5ee 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 4ee55adb6f27..894be5a9da3d 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 250745d246df..74ca11a54215 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 de7041eea6bb..4309f1ce52b1 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 8d88b32aedcc..c6533f164f9b 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 ab19377f6388..408d5a1de70e 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 d860a160c4dd..11d312ac2e21 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 8dc698b5ee5c..c19cb3611e90 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 7bef593dcd17..a71db4e023bf 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 909c9ff0a324..4a98a17d57dd 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 e52e17703675..b5c84d8ecf1c 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 2c7eb12bb3dc..8e1135889a73 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 3be4e7173dc8..0f58d1a7b979 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 cf5a0bb8516d..a972cd7965b9 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 1138f10b7af3..4b50c2b3df61 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 ff83f13a45ad..7cf703eefeef 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 bc5cac00346a..7540bfa2c398 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 3c37fa6d587a..84e58fbd6718 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 3162d418a4f4..8819128f0456 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 4de80b4f95e9..777675df1671 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 6c7fcca97d88..dd88d245852b 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 aa87be4939a8..c146886e6172 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 9122f71af454..d95b1e7280fa 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 e10f757b9d16..52e38c7cf9c3 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 110462665843..2616e9a6df75 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 52485e643bf2..ef6f923aa605 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 6e0fcfd395bb..69745665916b 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 53742d8f8038..83eaf84389a1 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 6402a5601bce..db8a31e6ecae 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 5dcc1d82240c..eee16ac426d7 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 a27293d3ac8e..e73c5d637844 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 14c50becd92c..d8807740e31c 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 67eb868aed9b..0f904556bbfd 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 20093a6b5a72..ecfcd47c8cdb 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 1f2672ef849f..f3d2908efc48 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 bbda0b7fc3e4..6b3b0d5fdec8 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 33e625c805c8..dffcea6a2955 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 fe31e3d914b7..4af533458e0d 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 04e86c56afe7..f2f36526091b 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 0b4a860d2542..e95a5bf00155 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 afa648541c6a..49038ead9f78 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 dd3b966ca7f3..8b570e971b7c 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 909d64d625d0..af7d3da32f07 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 79c81b19652e..126cc6a265b8 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 9e5be282d548..3cbd11c4a22e 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 5f934bad002e..23d4f076dff0 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 dd424b76fdc0..6e6dbf0c3d40 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 b68e03866205..a9e4b698b467 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 ddaf20e62a5b..be2a715d62e9 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 156abdce1fb9..0853eccc3246 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 0ff175588e74..d33d1ee8bfca 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 bd1283b6001e..ed1559090fa4 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 946788d5c115..efb4221c8a42 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 27f3c407ec66..834a4f9358e3 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 634bad9686d7..55ee9a405c6f 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 fe4103b3dccc..28dda39ad513 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 6a72d7668296..3a331eb92978 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 d7def1c78110..5e43e055e803 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 03fb26e2f773..f777ba89e329 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 87cc31bcf6b9..4ba683c7bca4 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 793d0bd4a7f9..cb934bfefc39 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 8eb839eecba7..ddaf138bf488 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 4125aeb68d3a..e664e8b0bf9a 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 2b40b9241484..8140ffaada8e 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 231da9b6a6de..695f47cfef26 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 0ff5bfc05c49..c2682822c056 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 9bdca05b5e4c..200acab4ae25 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 8c9ad878bed7..3852f2373c08 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 23da79683314..8d666685b522 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 eae9b4c2a37a..f74c9013660c 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 07a19a279712..774f8ea852bf 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 ca89f981fe13..654920483a92 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 86a1f85a76e2..245f5685832d 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 b6225093d89c..844bc6c5bfff 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 102f54f63e47..1fd022cf3d95 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 cf01bc9b09f6..cc7a4c3a91cf 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 fa232ef21228..614bf2eecabc 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 75a587d94f00..62a4f5796ea6 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 082db227ea59..c761e9198385 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 a97e1ca83c5c..3d14cdbfc37a 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 ee8ae005c4c9..31d054b919c4 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 99be025827ee..ceb27852d96a 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 18102ac2e2fd..2c8a4dde7395 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 867c3f48b582..5efd767bbcaa 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 8365c894e9d2..9369ef17298c 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 912b4c1a99e1..c09f72d8a7d4 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 f02cd9cccc77..ea7d4ee0b09a 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 f2c3839743f4..13ca7fb620e9 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 50fc5bd9d15e..f070a8645b1e 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 425e4db7fe5d..0e4d33bb7fd7 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 329e9eb562ac..216c30df51fd 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 d5e1e708fc6d..09e3740e5261 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 59edac51b907..4a4ae38b5a1b 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 7a86b757e226..ff51076fd96e 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 7668269930ce..3ea52a03f2f3 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 645cfc291ce8..af6741b826ec 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 537221beaefe..7942dea7de44 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 1bab9c18713d..19f155e36b25 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 3863193ec06f..bdfd97993da4 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 01fa16db54ba..7fcba35ceeb6 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 08663b769fe8..b37b28270108 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 813b00eb25b3..c8701af25f22 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 eb60321dc010..7e33ecd89123 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 aadae53f0c4e..70305e0fbfda 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 07ae986c04b4..31fbc3a74b0f 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 132ee49a889b..1e0587b05869 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 758bf5c47f5a..5dfd9059a32c 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 d00a8b05c25c..e38240c49514 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 323955c24611..fa320b292598 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 7d02237461dd..ebf687597933 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 83e53b45aafe..10d275db60f9 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 07aea03833cd..7d80b34920bd 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 bf7b36a5a2d7..6f160fc2ea06 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 5ae5aff77c7b..270b271a16b2 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 9861895c1710..a6eb3e3cdc83 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 fa18c5446461..75748cddf9ad 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 89a3ba1dbb3b..219b8f08795c 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 4c9348dd0038..1693f71000ce 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 0c8f68986a06..2ebb683d9dc4 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 f413028160df..2c62706b19bd 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 089078bc388b..4f0267c568f0 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 852c912708e4..4abf824cf001 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 f776ce386bb8..cb7ec7ea31f5 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 ba573828a2fb..ebb96c5a67d5 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 2ca498349cb0..3d32a836af96 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 e155fa3a2861..36b85a86142f 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 8e2eb5eb6465..3c7b49e6ef38 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 3242f370ee16..d52255c2ce65 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 59cd9b7bd22c..049aece2a3b4 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 7a004be6fba0..333cc4f0d0a3 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 c8ae96dae508..b9d4820261f7 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 1b96f28dc8b2..1590d8b4c449 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 b285512c5e16..cb983c4be172 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 b8e7ea10a1cf..efe9d6939877 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 777010fa2aff..bb446152f2a2 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 ab3a3a61faaa..557eb04bf2fb 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 fc3e24dae1f7..d9332672cb8d 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 61b9a5047a49..eb349a53e575 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 2ab93799d9a5..78cdfeddf2c2 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 b425358f4c18..4b4eef616edc 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 7f4926a8ece2..4d77b1f87c6c 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 9dac663d8a32..c4ac2c89b77d 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 29294b97c127..9dc8effd5c0f 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 56fcc2408d54..56bd8d6362e9 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 855b92519235..cbedf5c17475 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 bf2288b36d69..35cae07e8354 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 ec0e19b31cdd..25b03875be80 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 eae550bec5b9..86c262738092 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 c1fea171083a..70baaa99f314 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 6ec1b2d1ae69..d0e007d51499 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 93744182ca65..e72f2301e2a7 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 2e2567772fa0..736d7f3efac6 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 f01b1ae6d7cf..0a3ee11d81d9 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 3fb6d2637b0b..a10673c90757 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 259b03ef385f..adc7d164e768 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 1593443e6455..49f09856d6d9 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 738715653d28..4ca115e7dc09 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 1883103d8d2f..0ae1003072fc 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 d5b309510885..90df09721fc1 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 205f8137968b..90cd2faccf8b 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 934ac7e44433..8cd812522398 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 d74a62eadeae..bf0432232bf2 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 d52a51b7b4fc..55bbb9ed4933 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 34bfb7337190..630c2a825049 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 5d67922024ce..767c780a4fba 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 eae5480c461b..5b477c140008 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 30402f3a250b..38db528b7fc7 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 696a2279e4a6..4f787b89b4f3 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 5ea695de0c92..8e3214ed97b8 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 fb57ab30ac62..ce87911d20b5 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 973fe0afa4a6..fb48dbaf5247 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 c24d9d5a41cc..4dae23715537 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 4135ece75852..cb9a2db0ee9c 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 adb2d7e81869..c841042f9675 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 535e7a7cd9c6..9210dcbacbbb 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 51503d7189bb..d9bd18d6085a 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 948f64a56018..805131ee8a85 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 304a25579726..bc0c290d4fb1 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 01a6cbb85ad8..d5453577f539 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 d312d30af7d5..0c446b98caea 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 e8f47e81d3ae..2c11e9f77e1d 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 35bc12749a81..cbc125232576 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 e8ca224c857b..68e44cd785ac 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 73c036665123..054c3d9c6a8e 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 514815260e92..8310d38bdb47 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 065c699f0fd7..792d0a953805 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 9e71cef9aedc..041c7ee02e0d 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 31f22da9aba4..c6e0e9bb3154 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 86e3d991f627..45d36feb3a8d 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 7339e972073d..479f31396604 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 74be73474487..d3ac375df456 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 99e420be185f..a8fdfe7a2885 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 2d879229bb4e..b5b19332dbae 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 0d6377cbb57e..40d7c6049634 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 f350eaeda783..2b7ca5e34127 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 3cc7bc3d9091..0250eee8eb1f 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 5f4ebc314a5b..e69ded476554 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 ff5d9a291edb..e391a8fe8e0b 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 d96d4c6465c4..ab83ed893b7e 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 fb8c8d61b330..3e7eb21320c0 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 aa32b053cd81..ece75fe3e74e 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 9dd0e7c1c07c..d526137c9e71 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 582b6d0505b8..edf0c87515ea 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 559576565de9..790da5c9615f 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 1459de50bcb6..3f63e95fe804 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 905590574b53..dacff3232827 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 7dddc67f27f7..c4df543b1472 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 1b337cacb70d..93251b38cc92 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 3155718502d6..9bf62fadd83b 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 ba6cfc124827..a4e138f9b785 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 92f5f4343ed0..bfda50c620dd 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 a171d281c45e..3efbd9687d17 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 b1e4f9190fb1..8008bc1a6971 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 9cf639f25740..adbf87b3ad72 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 88755800a493..82548dcedb91 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 e3d288c76afe..71e0002142b2 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 201755982086..2abb3ac89681 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 62bac0944728..b8b158e089a7 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 62d0cad4bf16..c001206dd872 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 976dbd346321..d1e66d77f679 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 2603d85ad7fa..bfa0a1d1a3d9 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 7a197f74dd3e..fbb71a856721 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 1b06e2e88b8d..04462cc70184 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 0f2717eb3d57..faa3c2bafc01 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 978543cea99e..fa5f5188693e 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 1523c44b7ff6..ea1cf64e8768 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 3ac2c7f5a4ed..33bbd26ebdcb 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 a4d8da0870ae..ff44370053f9 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 4900d9f766af..40d47586173d 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 eef96e4a182c..346d3465d993 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 69a70f5c39ad..bb2ecbc2229d 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 e0132dfa755b..7eaae5823b63 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 a8938799b777..3b9e8f64f6e7 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 77a06bb24918..6710f7b45fea 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 8581c6de7cfd..ba1cad3678e3 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 962db5395c19..362c47375338 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 576681a860fe..2b91dc8d9961 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 e0e59729184e..584ca9f5f61e 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 50b47ac28824..a0a248274693 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 f78f1b49ed9b..00e3cea067af 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 f45d7e0aeaa0..156555223ed9 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 47790e37a183..921ab35b21a7 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 9b3bf582a202..5cf555df8c8a 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 0f9d9178baf6..e9d3b21563f2 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 861cf86d19ff..02d16795de07 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 3c4fce3f4c12..73173f87d463 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 bb11548a824b..f0fcb2dd00ed 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 e686828de328..027c962efca2 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 f595057300af..bee597e7cf63 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 ffdbd508d160..d2e5241e612f 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 d4893a17436f..4d3a1fe3ff0c 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 028db0412c22..49f7e25aa984 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 4a744408778f..f90f0e3e61e7 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 8115a6fc4505..c80074121618 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 9bf24aa34c52..539e5162e528 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 cec9bf766286..c99b440906fe 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 0f0590302e33..91198f83b46e 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 5aa8be8f9808..5aba3d9f658d 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 dc6453641018..ea21b6b73501 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 d02483308414..bc0b809ab567 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 93180235546b..66e7d9abbc2f 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 37b77c9b82f5..282d90ed6598 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 7f0dc3d8c3b3..609cf651826e 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 5f309261c3d2..66805499c7f0 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 59d9cddc675f..3f879f943681 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 542d1f02f165..78f1fcef779a 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 5cd89a741716..293e0832d7a7 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 ca189162df9d..81cb98238411 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 b21a428f0bba..d6d616916095 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 995fb3d3c402..b0dfcdcc2c3e 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 8f4adc5cad0f..659224433927 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 0702090cdf21..9c3037338fed 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 b41945d5c497..641d60498c83 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 7eafcc41d6a6..cd4bc518cc8c 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 a33712ba3ac7..9f75a6cfa547 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 b84c74746996..e9fdeee5528e 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 e9f4e294ed3f..2cd1ea649df1 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 ba215f535195..7975ce279d7c 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 bde7178b5d7a..dafeb572281f 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 3699aaf038a4..f22b3cb740ba 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 df42e1ae1fb2..1c007fad7e6b 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 4d55e84ef21c..6f29d3460cdc 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 4cadf6f44a98..8c3f0e8eb756 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 f05e62e620c6..fd628c48f4f7 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 7a152be397be..e2b9b7b262dd 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 4de8395e098d..824c71f50c49 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 a46e947bfed2..72e22a302c6a 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 217cd5308dd6..f686a2e88ed9 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 59c900c5d16d..4412b7a5c293 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 cbf1f0164bb3..e37627ae8747 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 33a2704af354..ceee9a003c2f 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 6ba8b3d0d14d..a5173b9746b3 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 166456ccd663..927a2777b339 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 6c3427c8b867..8a49abf75f39 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 b71ab19fe02e..ccdd3387116a 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 efaad7d49530..0e15aba094b2 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 6ecd2559e27c..3d02f95f6811 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 d525613d4c9a..0f2f4d075217 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 d23033eb0bd9..f7e7287b836c 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 75a6df64e23d..48be135f0310 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 49fce71f9061..58100ff493cd 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 cee5bacd4520..1b09b9045c85 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 de45b185d66e..a889f346ccfd 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 330063a04efd..8970858d4028 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 fe823930c969..a1d725431c28 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 be131c1f4702..80f9cca1a1e1 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 e71a3ce7dca1..5a281feee6b5 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 a9cb0bbfd23f..ed1a281318be 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 54d7a2a71b16..dcf52ff784c8 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 0cf0b7694a03..d9f5ab9fa730 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 4b4e2e1b96ab..daa21d160612 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 7f6a83683807..39099f8e02fc 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 668a6657c18f..aba7d39e4f09 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 98bcd627d895..1db0a129365a 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 8761fa0aad75..597d176074a5 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 3e4f6b296029..2213e967239d 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 f6cad7902d9b..362c4930f241 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 fa16264f1172..8279da9a72f8 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 bfaa634e744b..8d0748b5fb84 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 32f3f95e1233..d64f7df37f2b 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 ab01bd3effff..fe3409696a07 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 4a78b5e4e5cf..682b47d0894d 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 57771a4ac1e8..1704e1f3ac4b 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 7845b189d2d8..4fa29988c5c6 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 85c58f8f01ee..097df393379b 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 b7a585c9351e..bcaa636a2c52 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 0c5a610dc34f..8632516e4f71 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 34631e0c2d26..1215baa07f88 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 cada1b02d326..54b7e27a56b7 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 367b67673b0a..9363e33de2fc 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 a30a259d59b3..dab43896224c 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 285058579c79..9d67e7bb4e75 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 0db9dceccd26..a5d7c46b6abe 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 cbccfdfe8a67..b4b35adcf870 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 14116418c069..92bf0dae9b50 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 3d0d0b866e27..a0850682c58f 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 d14d42c662fb..9579ad621b64 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 8bf44d59e618..1ee3714bfa80 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 314863e32738..8b4cc5d39e19 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 a4a075d8a2f2..a2fc708e90c3 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 d39cf103ee3a..75ca7b5f567c 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 3b959c665e77..c87bdb09a29b 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 9d6f2e96eef7..665ab67f818c 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 6374bdbe9361..7be0cce3bdf2 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 5540fb337370..d0b74d39027c 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 c7245c53ae39..c9fd416fd200 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 d8695c183bae..c596287dce05 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 e8baf7dd0494..ea52512aa264 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 8e8bd308e761..ba6a3161645a 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 017c586e9e5a..3e2ed6cd52f1 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 316a874d9667..6ddb3b855e9b 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 6f98a042bc07..28cd5d31b2fb 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 fd0513bce012..d645cdddf182 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 68ba483a7b35..a1f7729634ac 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 5da6195ca519..61c1a848fe9d 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 39ef272ad7c9..d479c9c2aa59 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 322ae3ccf501..b00503c1540d 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 2c84a0090391..f9ed37cf5735 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 0f8ce1d8329f..3f86f3f98702 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 6d38b62d8c3e..811ca31f53c3 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 da51df62f80a..ba5a86068445 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 90f08e4e9e6a..1f6880c631ae 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 082a8bc3293c..43f07eebba23 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 77cea0377968..fcfd2b3970b0 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 49627559518b..d87c3a9ed4a4 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 c495e494cc05..f03cc1a8eea8 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 d7b3efb89f03..76f9822caadc 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 e01f0f56d02b..01f090ad4963 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 feb1435ce075..c120643b5aaa 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 f1df837a85ee..d88ab29b2f98 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 d855227b64f5..acefc422c594 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 a3a6a5baa09e..13523ee383a5 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 c91a2bedeaf8..da3875595a01 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 0b2bcd4e712b..55879105622f 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 f3ac45dbbb79..2dd004e77b6c 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 f92beeafcf9c..1896a9d55305 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 46ff5a0ec424..29fabe0c0078 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 f428250649f1..90042008f1ab 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 76ff7c6a8332..a36c4bacbc97 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 f76d72d923d5..497cbcd70404 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 ce985b73f975..2e5fda5f8ffb 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 4b130456a800..99b5eb80a15e 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 bc38ddffa021..0b5f35a6c0ac 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 3bcc261d3fef..deb7390e6d47 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 b9a5a68a8b33..238dcf1f9032 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 f2ae1fada66d..bddff745cd56 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 ba6874e522c9..c47669522d5d 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 2bb33228f5d0..30ab005bd41b 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 5878760a844c..80a793d57400 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 bfc17be97a54..0214493501f3 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 12fe8733d08d..2c08c6cf7626 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 ccfe6ad4856f..f5d3ec21b055 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 7678114a49d1..13097ce25da9 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 21f3efa949e7..b638ec72fd06 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 6bd20550f41d..df7853511dfc 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 5d464bac7280..e1a0a4905a6c 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 4ffdb68cc94c..d6c9227e7cdd 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 9ab36f6a2bd1..7c2ee449f2f2 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 6f79147efcd4..bf5c5335babf 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 66ac52474133..2c37f0dd9600 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 55875154aec3..11d48684f6f4 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 f649f3e2b33f..7dc254acc862 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 eb019bf03de2..b6fd509fb7e1 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 8432f0a084ae..39313435cef5 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 d987d45dd1ed..185263e90246 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 922a79143f13..e19a4a198f18 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 a24cc768e8ad..834ad4a9bb87 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 5b03d347d033..41450de5778c 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 9ee3e0317cc4..afb7d5d0ede2 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 819e5e2ff37a..e13d524dd2ec 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 dc8638701714..3ad5219acda3 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 a3822f2f145e..ff44a5c50f9a 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 42894b1aebcb..1fe9e549ac7c 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 82e9d6bb3955..d3cf9cd1fe34 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 4de36b2396df..4d896ca2e1da 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 2207bc187975..e98425694cf9 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 da33730235ac..4c40e71a6e6e 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 35260e247031..79dfd62afd5d 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 8bc58e34d136..07fe038b87aa 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 7f14b317ddc7..e742d77528fa 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 072697520d21..27a00324d4a9 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 2139858f106a..50cd9a31025a 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 14e83fffb674..39537cc5cdfd 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 dc95f7840487..f573fcb40667 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 5836f6676ca0..f7f1a7c40b34 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 0efc3a0624b3..ffef8bd5775e 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 cc734183b812..7fdec7c7f2aa 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 e7afda20c5c2..6d6adadfb498 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 a1b94fc1127b..8adbda6eb776 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 d55fb7a7143f..67d8b17ee813 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 0468f0a07f0d..8bc388d4224f 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 3f9d518968a7..94c130d0b226 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 2d5f7540ff65..b79a8a412dc3 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 46bdf8e191a9..d10bfba8ee89 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 b9931757f6e7..dedf9ed55d3d 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 ca0a42535a10..780815a7c3f1 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 205750c61ce5..b575118411ee 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 7ee7a5172b23..044d0ba6ea39 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 8286dd69a272..180ae72abaca 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 dc10737e7feb..6dec142ef4dc 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 e2bf72584b10..42c0d0cfecd8 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 e03b2772c7aa..ecfd3feb6699 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 052a294c85b6..1dd8f1c1fa7a 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 74c9bfc555bc..7ee0ebb9438e 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 8249f76f2c8d..c7a44140dadd 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 f892e356973f..24de67f46714 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 28b3537de0e4..833334786b50 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 de93bf60cfcc..728a56da79b7 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 3e3d3dc4163b..32235a8ad51b 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 54e8f67fc87c..cd3cfaed292c 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 bfee12296896..dd967eedcfa4 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 d2ad1562896f..2db2d9baa4e4 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 bb15c02a48b7..75bd830be01e 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 9b5ed30b9a3a..08fab49e38ad 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 e48c4a6d948c..062698539dbd 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 d3bc92280905..6dffb76e8810 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 b651990c71ea..e4114ffa7db9 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 3d18305164fb..819ff53fc021 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 a39280e8df1d..c62142897033 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 47b0aa11a8ec..f57a6b5d3687 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 c429110ddc05..45bb28a19247 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 8884c92f1240..1503eea243e9 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 14ec5579545e..d102120036fb 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 c97b13ede587..47f382297630 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 5547e0047e88..9b5edf66501e 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 bb2c4b4c4ac6..e95b0718d43a 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 0f5e9f1b16c9..05b845d22756 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 8efd1aac54fb..d54516e48d6f 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 5f90cc4cfd6d..789b08de606c 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 15002f24730b..75348edc899b 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 9399b291cca3..035f6cbd051a 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 aa71c44f41b6..5d2cef91f457 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 1080888f6f1b..8ca85e9c4cc0 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 afff04680f22..8308dd6f1222 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 3c3d28997fc8..568975a79da0 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 ccf7728a5d94..ff86e4d1eec0 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 d736fed899b5..56b051b51b1f 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 2dabda909d6e..2f5db959550c 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 0423da8f0dca..75ef1e913194 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 8a7fb774861a..7eaac4f23386 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 74facceca247..ab71db8d2d03 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 2e394359b186..e27c110650d2 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 e942898fdf22..71bcfc630d3a 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 5326bdf60126..d5ec17e7c4c8 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 722b3484fa29..97f9c35c7892 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 b95240b64a41..7eacd0e65c98 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 e17d70c03376..4280ef2f788f 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 b507707f595f..b70778c70430 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 0df1bb5e1aee..6d891ba95b94 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 59f097501141..079fb0b2170e 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 65dd657e65b2..e74e30a457b3 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 b76a427799f6..9c90f8f2db62 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 2005f5445f1d..262b31d904a8 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 8661031d7454..68a3ade7ccc3 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 eb544f62bc91..da0f225f1218 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 249f2f28798b..83306179c0e6 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 9f34c037a70b..d0404284ba73 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 6624dbd6f461..6854ca2796fc 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 6e6a0239a5ba..6d7bdec67b7f 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 b41ad24c3fe2..982f20c42b1a 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 35aeb5e87045..8ca1d1fa46a4 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 96c1f87cf3a2..8efb20dd0e4e 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 cdeeb83ed766..88592652f34e 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 6c891dd4069f..3c94bbb52627 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 60df96997ad9..464b34c06c5b 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 e35473300c42..c152bf281c8c 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 60ac55dc5980..dbbc4fa38816 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 da9cccb405ed..d35e3867d89b 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 61cee5c405d0..9874c7abc981 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 8f6a893230f4..0c98d2ddf758 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 3fb41304036a..62a639797ef8 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 8fee79ab9b36..fd4bfc86d0d0 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 3bfa90e170fc..7ac71e9b3724 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 76116cc5fc86..47706ffaa166 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 e42be80f1602..f08b5a7185bd 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 e98b5a407376..284f6ffd87e6 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 90434fcf0fc6..62f07e6e7c05 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 0d690ad7acfb..3f015268f555 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 e4d48a49748f..08acfb465ab8 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 82eaf8a6466f..0a5658c98208 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 32c7c5858dc8..cf583c5c348a 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 ec0b37cf515e..19a86211ecb7 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 a7c73e5fa271..d59a174effc7 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 60574d73b512..0e68f2242004 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 c6ccfe44f2a4..861be1db034e 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 c17023a0f7e9..045ecdfcb0ee 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 c9529ab5cbc0..82a8e735cbe0 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 e1dea18d467e..9eeac6e6c717 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 85d0d5904fe0..afabd7efd582 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 0b3da1eedc22..72f603e8c9f9 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 f02b7b051c02..b29d1b940e1e 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 e74c82953527..84dc9eac0a9f 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 de8b898887a5..153467b6af86 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 5da3cef5648c..ec190dcee3fa 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 72fe820d8050..3e5a1b0b81d4 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 e11a55a48e52..13051efc5ca9 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 9c122b8d1d04..84ac2fb9ff5a 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 652a37671a5a..27e1e053a5f9 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 a265dffde59d..aaa6c8ef9ede 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 cc2ffd4ff21d..fba3a2c094a6 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 b3838a4a3866..c3e0d2d7cad8 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 dc3ea690a9ae..63c84e1a4d6d 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 1222b53e6993..292f99a47094 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 30edc22706ba..32fdac6e4433 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 05ea10e5f079..6324d689732a 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 78c1948d97fe..c8755d0cc836 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 05f26c68a78b..6acc76806c38 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 97d9a1c79d51..974109692d09 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 f3e387f059ef..4da5e6e10b18 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 dfb737bc61de..069b79f332f0 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 d959debdaecf..83721491bbe7 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 08b6f2bfda46..db5e5199bc7c 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 8dfa5aa1a0a5..42cdcba9f960 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 7de72ce706ca..8b3e1fefc7ba 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 56409c28e464..11849e8ca4b2 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 88c64a318fa7..672f1470d274 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 c2546e9dfb3c..22e3da495b31 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 bc382a092943..0f60b32a761a 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 7ff279c8ebbd..3746b65d308c 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 a1ec1e92042b..d57a247d368d 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 0d6f64b27b79..617dd19cd8e4 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 844eaa14fdd8..2062dcfd3556 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 9589b7b18c4c..e441425b6add 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 7f50f1c44e43..7f2aacca3174 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 836ee0be36e2..538a3d4c45cf 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 1997b5625468..5fd2f0742c3c 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 546f93ce8f4b..6be0299e7694 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 e7ad69700dd5..d6a262bb638a 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 1e30156e22f7..993c2236930a 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 67c89de316da..f6f8a6a4ba2d 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 6343751f49cb..9b7daa68f418 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 946731210756..acf518c6893e 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 c33c11b59606..641911376474 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 f073ea12ee49..4bd0c4dc29ef 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 300f44b9f943..f56db2b40dd6 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 2720093c0457..026b991a17d1 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 11417265154c..43c576dd63f5 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 be453c223352..75483ebf568e 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 4eea792b9eee..50a963aa26f7 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 68fa991421f5..d7caa56e29ce 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 fb26eebeed38..7de4000dc192 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 290b13beb4bc..3efd015485ad 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 eb8822c2cd34..d01fb8f205c5 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 cbaff82f64a9..13a66d5794b4 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 9e2b09ffaf7b..8ece797cdb9e 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 991477b7613a..a0fe930eaea0 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 d97a803c71e1..fef2e4ac5292 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 a16faacdddce..5c6b2a0042dc 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 846b411dec3b..e25d097f6144 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 d8f85fc5f550..5837b8e2ef2d 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 246086348d35..7b385b134fb7 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 3f6318295a4d..ac147afaf91e 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 10b023bbe279..cf2d408b8bd2 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 58c12608cf1f..e2742d2ba81a 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 aeee6472dc55..cdf9f6b4b05c 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 2b7734664738..6913c5fa9d12 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 03049f6bf5e8..f5254e9900b1 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 c0902bb0e3d1..f6bb5f50b91c 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 19c0e07bace5..0c2e4595ee5a 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 50a152a8b084..b533db7e93f8 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 4bb9e7e3df10..747c7bfe1fbe 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 53dc89e923dc..8de189abca8d 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 108d2af30821..b3ca709371ff 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 a9711e780178..48972a8198db 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 f9b921b2211e..a1db0f3bb9f6 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 480233c18dd9..2e8ce97bd20b 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 d38510f2ca9f..be3d0893dfb5 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 80f88b5f7b7c..be71e0ec8415 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 3b62626cf79a..ca042bff0939 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 a2c18fbc1cb7..8d3280ac3b18 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 694f66348177..88b5f412186b 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 2659f4d3967b..02b0323b1bd7 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 514daf6519bc..c31b63bc026f 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 ff053e847b9f..012165f4d228 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 bca57da1a281..a166c3c07094 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 44e5711bf882..cceb7ec24d7d 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 cca1466b48d1..0301a0ef05be 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 9ced7f2a22a1..f051bec99557 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 8da5fad01701..13f7133e6f2a 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 40e8544ee97f..c74ac594a585 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 5e9b6d35cc49..feb19a65fa9c 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 ecd99f898d9c..122cea169cdf 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 9712cbcbe968..49158053cb3e 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 abc962fb98e4..692c00f7507f 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 285d23372109..e9c1eb6c522e 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 95a29e5a5cae..bb15fcddff9a 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 99bd610f326d..4d8d713ff363 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 4a6954ff2a1f..75a44c3c356e 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 91499adc6d9c..74fb593c8835 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 4d0a3107b8dc..00bcad4f6d67 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 640df146521d..0329e45994ae 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 6d1caa92ffd7..7ad936fbb4d7 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 c62fe2f1fcb9..ef425affebfc 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 dd72ff98c9a7..3a12528ae372 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 4d385f6b6b4f..f86d139a3563 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 8a957b84778c..15d8a12e8983 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 8cfdecde6e56..c83491a80a14 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 75aeab15c152..07222e4f4c26 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 9e7b6835bcb0..e1ad4f812756 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 14ac42ce516a..cb143372f21e 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 fe6e570d107d..e0fc7c95dd24 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 51fa00e8dc2d..a56ce25b6f4e 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 54a62e66e8fe..c3678c16a18d 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 9a766e98f477..a3ce10e5ae26 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 1db00972148f..d0895d8ebd0f 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 42ba75334c74..b1f9be4a90ce 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 7d3722f493fd..ea20b7b602cd 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 0aa2e1ca1501..1802fac577db 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 18616521da32..7ac19508efb7 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 6b86f07421ef..71018b583dd9 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 451f554bc952..85c60b4c79b7 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 92b246490425..eec6ff3221f6 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 5c6a09d4cfce..ebfe1b983757 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 1b136729ee13..5daa46924bb8 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 50cf5d3a0780..0136834397e0 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 d292f430f517..1b82130b9f69 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 f35f46e27f6b..56e1759bf8ec 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 673735b78538..2d7f6152c27d 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 91fc0eda1628..e0911c815fc0 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 c1760ab74db0..86dacac5cb98 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 34b05b36c1b2..24ab330d4cf7 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 2d4fb117a28d..de2d05173617 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 2cdb4870a382..a3d3d5eec759 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 47248ca20456..46c8b1e46779 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 e3f903543115..58cfd97c6a92 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 abbb880bbed4..3b419396e44a 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 89a3dc15f4ec..0d3225a11428 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 78e89abf0217..6cbe6eaf7a68 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 597413dc733a..ecc78c4a4ade 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 b4e8ef1ff176..e83bde3e1fa5 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 d1ab873ea93b..efe69334d6ca 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 4ee4531266aa..6e1ccb5a9e0e 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 18e415225367..9a30fe921f61 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 a315a6e9c3c2..bee7ef979233 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 8dbe3cb4728a..8df1b803a274 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 34b568b56ba7..b1cfc80680fe 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 25c97b6575fb..3546b9368f04 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 fc039be86b20..fe9b4a15518b 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 6b4ef29ab53f..536bb97eccdf 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 57a04a979a96..8516ca736ecb 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 32b3765720b9..bf64d6c4b95a 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 2a6748a44d79..ea69d28e0122 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 48a801238cb8..a9bf5f8c8ba7 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 f88d6223f41f..bfb217d96672 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 773289bd035c..b49a5095b54f 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 664d619eb63a..aae09fc253e6 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 605564825f2f..f5329fb683b3 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 dae6206544a1..1d2f0e666b08 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 a36ec903b4da..c28d6bf3bf8b 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 6993456da59f..0e4e5a864199 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 f2bf61de2a59..80a503c8a009 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 b30a0e3caa18..4fd49af62384 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 554bd2d018f7..0b630ef5b913 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 c6952f19ad61..351fd6ebf191 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 7ca4f5586559..6fbde774b90c 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 e92092de4275..c244beb671d0 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 878a34748bd9..ea1c0bef7d3c 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 55b4e80952d1..831e0667d2a7 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 4c457c53cda4..c55cf31c1c03 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 74e63793ce25..9623c3b53f9a 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 ae2f316f0696..bf8ec581106b 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 ba6e27f034e6..af6ba5134bc8 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 57532c889d71..f419b779a5e5 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 48511bd9c9b5..85cb41915c80 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 951f41715cde..aa35220076d8 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 07eb5b6725e7..1789b6229083 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 7fadc6cd5687..333289d19a07 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 5fc1c7f1b8c1..689b8c9b21ab 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 b0b1279ee844..76d94b59f285 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 a11515dfc188..7128908368d5 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 8e7cb48bab8e..3360bde99b63 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 5e271c29b724..86fd2b9224b2 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 03270443844e..3daa1a1eee06 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 418ac3211e4b..38bf5348fe21 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 a69c06989615..cef343bbfc1d 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 76f176a1a72e..f5bafd378b24 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 03487920020c..2e437f4cd0af 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 8b0968120e7d..156bb1241edd 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 9635c6e33bcc..705e8a6778e1 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 ff28ea5ed715..bcef585b8676 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 c24e1da00cfe..001ea2516862 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 bffa07463249..2eb29b5a8515 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 0e56ea2fd6f4..6b6fdddd29cb 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 0b835f5e4d16..770a1e559892 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 7ff4b53e0a06..781e16bf93f6 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 f005da0cd6c6..2d610596d360 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 f475b3cfe653..4a018fcba890 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 8d68390c6759..4ee17c7abc4c 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 245ed23e6e7f..9c3077855bbe 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 7e601b2d8d9e..77d455598d6f 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 2dd08f413392..d31e31e18ad0 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 f88da64af6dd..ef10ad4ee4fe 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 e300c3741c7a..e7f8821c6e26 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 0ef64ca050a1..7555edac0ad9 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 ea9c09ed4638..5d9c83226605 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 2a46dff93235..f120ec551bef 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 4c39712dd298..428f57258b71 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 61a525191fc3..6021a35a70e3 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 1e5da4be88f2..32c599b94783 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 8622c6d03296..62c70618a911 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 f6cd1bbcca7a..9be8f5edbd9f 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 32cd69763e8a..1a2852144a60 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 7739f1cf95c2..a2c22183c1bd 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 41de49327297..4414aae1973f 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 0e515edf8fda..4d6f82862051 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 7c80e3cd64e3..d627584896f1 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 913f172813f4..a5e0997c8bd2 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 278332240789..49b9e4870199 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 5205e637749c..33e3ab9db551 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 6c87d1bbf0dc..321af7d1610f 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 477f94568478..eabd8358508e 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 6825c605014a..d4ab194b276a 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 6abbcd252ffb..602fc2561d94 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 6553d703d97d..9ec9e731353d 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 b4e9e4c7aa9a..91f2fdbdc8dc 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 fac8d5612074..e40ba479bb08 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 e2e2bda07954..7d9e9d9e063e 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 33b177adf9ab..e49e04f34166 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 b03e14111693..a2efc72a5d61 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 bf772f31165d..a0719a52597a 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 8631829cb9eb..04e08db235f6 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 c4651e926e42..fde9026456b9 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 13cf174cb566..fd8475265291 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 86bbea5c826a..8810871e8254 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 1151ee24a8ae..88b52bd9e040 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 43ad405ca3dd..6015ecc260cd 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 0bd4c5c99f21..0b8be7c5e6dd 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 a9d297a8ff69..137e87f947e4 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 d91cf513b561..04e2eac267ef 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 0cd423548662..390e44177928 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 06676e6d0230..3ee993d36b74 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 8a896a61a06f..1ccc0c26c3b7 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 7f57ecb7b908..1bb8391afd29 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 206e95a1fb86..4bacace2c190 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 90ddb9045398..dc1a91a057a1 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 033a8e62ace4..1350b9da9ec0 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 43087fb731ef..e92b4dec8efa 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 f2a205bca379..1dd10e0b8bbe 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 98d17f2c5aba..56651f22ef8e 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 e664dc7cb1e3..78699ab0bf14 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 57b613f450d8..eec98c4c1e71 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 1a6309b9f162..983b1a935304 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 4b78459bea37..0a4e872cfe26 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 df6a88c287d4..dd4cc43a6205 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 a941b8991c1d..3bc88d1e11ad 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 e614025320e3..cece9a930c62 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 6a08546774ad..2450873725bb 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 d8d934fb7b22..23886c8bca7d 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 6b5b3fcee441..f62e6f70a0e3 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 23761c71cf44..2f19a5888468 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 9db940b15d1a..7e49b60edc4e 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 f445a825013e..2b0deaa8109e 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 1c01b8ff1884..122c14e3fd90 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 443688a0dd04..570625eedc6c 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 98a9f7a88032..eefa02b411df 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 2004f16894c0..c2c8370523e9 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 b9cdd6596618..302340023ce3 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 91e01cbcf60f..8f79ce52a70e 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 66e090cb9c75..2d303849fad9 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 2f92a4a2ac5b..5613bc786b69 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 5c6a9360708c..5bf33f8f0ed6 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 dcd4396c336d..26f948cbf6e6 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 3dbeed33c651..657bca5fa609 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 67fd74eab867..f3a5ca8abaf0 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 3e649159e09f..04202a798915 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 7a236121da5e..5a1b4a519bb1 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 7d423a17ce54..41bed008ea4e 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 2905f20d2c6c..93f3facaca22 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 167e8986ce9b..c1d530dc635d 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 11300845754c..6d1cdfb6ca53 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 bfee2c412004..a7825a3695c8 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 9e829a82c7e1..a79ddc0bb348 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 3d6ed8c741ea..ccc4d3ae813a 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 cbd5847f5f75..e13074fd78d0 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 f271286241f3..49a3ced229dc 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 94c068fc4133..39724259dfb3 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 9d6fe2bba2eb..f68e7dd8d995 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 5d0e659b80b3..766cfdf6de0e 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 e6d38bcf97ca..4ff74ea89d9c 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 9e66a2847e0c..030c7a4195fe 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 345054debc2b..51e48bcccf65 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 01c2403b7bdb..82ea0565c401 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 158d79227741..304b6f36687c 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 ea4bb89a621b..ac6ad597a251 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 3d0aede99dd9..6e5a5f5ca54d 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 3fefa07be2e6..1321ab69cba6 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 b472a02ac698..c36652dc8d35 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 bc9d9ab87daa..8f24ff2f55dc 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 efa38272ac3f..c42ce2c2bf40 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 6e88a6954dfa..6ec134ff5bf4 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 7a281400fa83..1d547190b3a8 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 b5dfc5fbb2a8..4f18e58a8769 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 f23bf7e96f1e..3a8a94b8bdbe 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 7116d56e73d4..d42549aa52d6 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 55c8cc16c194..761535f813ff 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 9315124ff21d..09ecf9abc936 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 b187fb18479e..a710fbfced64 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 d13c872d253c..4607164c0f5e 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 da43257deb98..a8fbec240978 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 7217c7ccb240..59ec7592d5de 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 bc210f9fd6ac..4df2c3434d47 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 adb6ed50fb9b..662304fb3348 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 c76e7eec2ff9..4577e2669e7d 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 c79fc6fd894d..07df0cb3d239 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 d55488837486..464ee3726143 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 3a14a722ca63..d08e2fcee375 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 64a257fe6f7e..0ea1760a640f 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 bec0b5b33fdc..51c3ac17552e 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 48ade75145ff..bd5e5d00f4a1 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 88134ace3f36..fe3e6368ea25 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 1f31704049e7..0bccc06ce461 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 35cbbdcd03cb..a8834d518c4f 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 08f0f59d2864..672617a76a94 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 34db355b0d1d..e700bcb6d864 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 65c91b617578..20e9f615309a 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 525d0907c5af..f2d0893232d0 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 9bc67f1ef9d7..b1c497a034b3 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 c93cdafd16e6..027a813e967a 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 29a6377df476..ebe6c3aa6411 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 943ed17bebe1..b0d86036f4ff 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 f37aa681008b..4d613a8e87b9 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 491f3e2539d9..6a3a2df75272 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 ec2e80b29d04..b7d85b28a47b 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 bbcaf4b20b9a..506fb87f61a5 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 68ca79f0c8ea..15f55f86c690 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 19e82dbead00..c5cb29e61b79 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 992caf153524..9edca9eb77a8 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 690399478743..9501f0c3429a 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 60b9dc9c8c40..b8b429be198d 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 c1e15c571526..e43d722c5d81 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 9d6739088879..61c48775bf14 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 058283bbe6c3..914e5312d9db 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 a811e19a294a..17e56b3ca762 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 f9de7ed59bef..057d90657250 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 a0942743534c..2114a0b7ef29 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 6e91f8ec9951..9b943d57704b 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 13d7f14d7983..fbb812bff70d 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 cb5fa44b377d..a9d0766eb717 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 e33d83acba27..dbf2444b2e15 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 7471cb35132a..40ede8acd3c6 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 27027e2a4716..4a0fa3185f05 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 4279c61d6793..52e8b1731e62 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 2a2b172856ff..7a54dd9fc74b 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 b14ce9f42866..6efccaeb7967 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 4e9995505cfa..666995767a11 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 9b5889481556..0c2b226a430f 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 bb2748cff16a..ee63437c3701 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 6be5d2c50962..3c8b5cad00f6 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 9dc3f3f67721..84ef51feb9d6 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 9e8042e819b9..1a7816e99106 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 1f1bb01c762a..c4d29c3f9f0f 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 98fdbcc96bd3..d9dfd5ae542b 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 c14c6726f939..25e5cfcd404e 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 44bb2412cce5..62e970652b49 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 961f414bece1..547e89875547 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 d1d9263dc980..1f344e17fe74 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 cd0a1b403ccf..a20995e48377 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 5ba1711802c7..fc3afe80dbb6 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 c92896ad7311..4021fb058733 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 569c5f0a25de..c6a2914a64a4 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 920d2b2ea782..e6aafdd585fb 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 d7d20a9f6c88..260a17630152 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 10ddebd323d2..5d8a89e155c6 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 29940be90d6e..eeeb005234d1 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 7d689c7aaae4..6bc4ef3c797b 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 b99068f596f2..978610b08f26 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 0ea841a2b04e..de224dc6104c 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 684566b903bb..a17ba8065f62 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 7daffd3bfab0..0d9f4149b8ec 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 994b3dda9702..b9617069a58d 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 ea58b350e641..031cf310e652 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 2696fd845b33..6d13a09945b6 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 6a302813f4d9..a3feeffb549e 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 3963af8070db..da54c1e3a5f1 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 6b5c7ab338e7..edfac5176dd0 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 8137b1ca3548..0890d6e82fa5 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 3cd365c0ace4..2ac1b951d8b2 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 6f2335e42afd..8f4f06af57e7 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 66d2038d63a9..6f42ad3fa0d6 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 b29767af8ca8..0acabbc456ab 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 cb1cc6a16ea0..6a85c9f74014 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 2bc645197849..26b879a92527 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 516aaf8529f8..58d0e7d57213 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 9201ba4bc1f1..705db42da068 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 37eae1e29764..677d5f1fed0c 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 565c9132bbda..88fd7cba34dc 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 4ceb227e8cc3..38f56024ff0b 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 4a37524ef9c3..14abd8d7f4c0 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 d17c3d7cd49b..6d71ad64132a 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 8f1c9f2ba215..38b59fce1f96 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 7ff2d80e7095..b401b94ab3a4 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 adc4642782e9..9e05e406b7d8 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 cc60d0ca84c1..652e125d2e1f 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 e51bb21a4af7..03841342e4c5 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 7b840dd8ba96..551dc0649405 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 e4580f25bd70..76d9017950a7 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 59cdc0be6270..803951b89a96 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 9488d2a42cb6..3eab93a38833 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 67450d628122..5bdfc4ef2ba7 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 495a469c89fe..0ffafd92c5a5 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 6b487cdd3bb8..329ad38bf8c3 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 dca4ade24774..665f6e83c520 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 d82c4198d4af..15f3cd635d59 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 c42f2db5b416..4439b43c5d7c 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 909046297aa1..9981751a9b8f 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 e844b1b28b13..80a951b7d63d 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 bde201ca05f1..6fb2e2eae639 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 3a3ce10a2f58..935d0677cf52 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 1bffefb68bb3..3ab7e0edb4f7 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 8ae9071294b7..00d8a9bdb1e8 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 a0778d53fcab..3d40cbd9a146 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 f446430a409d..336685aed71c 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 27ef26b722d2..b7cc2adbee8e 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 68ccda979070..47f8a93ff662 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 085b7bc161a9..71f7d703f320 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 244fe49fdf74..50c49ff62a17 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 30b906b32c4d..c841fe0b9f1d 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 f0de05c17f28..5ff84bef021f 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 a8cf6ea19085..a7c8ac3342b1 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 c85de47a40a7..ec5ed24e57b2 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 7c3ea381c017..9c8e37704d74 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 9453454b7031..e31c174f785c 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 248b3c38e543..27d856225b56 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 e4bd4e4de602..928bbf9f6c03 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 e0142a0c9c49..287df7af0335 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 8e7471479415..c5b5a5a439e0 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 5fa89d76ccec..c574b5db9148 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 1944a7a11529..ab04a9054cea 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 68d5dcf1f9ff..9518f7f920ed 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 db84bbb8b0c0..808a4e0372ce 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 3b3ff19c131f..921dcccf2d40 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 99cd4d5d5df1..7bd1a171b19f 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 256730ef4451..7c9cef37c7b8 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 41ead172b6f9..6d6797f8f6c8 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 ea80d1600e5b..be8b72690527 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 8495f1268ca1..16fcbcdc57b2 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 fc2f1a58bda8..b168a2db4bd6 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 da90a7e11ca2..2c0cc298de13 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 aa0c618918ca..1cd489f611d5 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 3ddd436a7200..6f7b51337c77 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 c53e7eed989c..3d24674a0809 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 a5a78f0a71ae..e0ac30015be6 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 3acee3ac316c..f572fde3d14f 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 fc6cbf1542af..78f94099b5e6 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 98cc5a1d85a5..13ba0382e4cd 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 6aea22fcd9ff..cc4611b5013f 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 e704cfbb14e5..1bbfec8dce51 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 fc2a9ed70d46..c2d5071977b1 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 84fc62ce0f8f..1f21bb5ce53f 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 f0f9b3120309..b5161eeb23b9 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 f1bcf4f578bc..884dbae8c0a1 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 c83bcef0b071..0bd1da1988ff 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 3e9f7b843edd..66b29186130b 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 340ed440c638..56e4b71e6a48 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 e7f8a591b4ae..aa9d2e38473f 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 693f32c2ab62..b8e67adee235 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 d709b98cf6ec..793309183b83 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 10c563164c7c..a590fd45f8aa 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 ccc1ba6a699e..4865beb7c6db 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 314ca55b4e41..46edb61df46a 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 ce2544fc6e57..469b4eb0b484 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 576e1063f5f7..c3c71e8d370e 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 a8d39d357623..4066caee151e 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 7d01a4c9ba7f..9ae52575d145 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 5176b24b0261..8652ed37d7dd 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 f653d05d8619..c99fc14e4a06 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 f7d9ce6254c6..c450a68d4597 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 73e781b4243f..1f11ee22a67d 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 04e40c67583b..a32aaf2f3d0d 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 46bd02588e3e..b9d7e20dbd7f 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 e5e39c5360ef..c5e87f78ac53 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 4a15f54931a8..60b1e54786a7 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 cbbf285c2672..51770e54ba24 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 fde386e62e2b..d2f1e9ad0724 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 1d0a18bdd3a2..61e95ff2a247 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 c443adb45149..2b6945207cc8 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 76f890624b53..dcf577cc64de 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 9b4a57b657c6..2698f8eb86bf 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 591c8139e312..4e5c98e74bb2 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 93ee670945d0..b1c5ab676413 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 33faf2764606..a39df094e114 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 7cc0b68a3a20..f6dbfb872fe1 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 f4a9319224b6..cca9c38f3b68 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 5904496de4aa..217d59a0d47f 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 293f30ed1bd5..e722e5eb0fce 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 6bfca039c4f8..5dc16c13bf86 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 5f49c649c4af..c5512d184d3b 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 9bb025c4a2bc..27093a166482 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 dccdb909e566..9497f1a57b69 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 da365fb2b930..9603faadf500 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 bea5e0a9c758..159dfff10e23 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 90a5bffb2d40..ea61821cbfeb 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 c7b655e849d9..a5b3ce9f7de9 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 ca449f601502..212cfa216efc 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 e7f04a85214c..5258c0cbaa36 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 1fc39a677589..b8a39c1cb503 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 90442e78f1a4..73e4bebb50a3 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 fd9ce8bf21b5..c29a3605acf2 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 ed5969142071..ba5e22fd1ba5 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 f95edaf06312..384b6f83df06 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 03566a8f7e10..172bbaf538a7 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 c8bb36c7fc1d..02cff0b5c193 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 e76252f6c4ac..5a03fab12d24 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 98a133afca5b..b42f70ffe585 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 32a8c94967a9..7907aa73fcfb 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 ce5d487cc384..87d497ff526d 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 927149ab7683..093a6f9881c3 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 090d3fb108c3..7cebde9158a2 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 731d7754b012..72b71c02a689 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 5be4e34cc7ef..d4e6a0a571dc 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 f2e3c7e5f20b..567861ae8d9b 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 ad37cc788176..1705f29ee14c 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 68a5916cf600..73e32690c458 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 cfcd9bffb15d..ee7f8db14502 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 6994d578dada..bbd48db03e10 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 0a4a072b1869..b9ac2f5978ff 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 bebe7f007f22..e74baed381fa 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 48b6fd53bcba..cb8bd602fa1b 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 3cce08754082..be689a73b1ec 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 5727351371de..5f54fa6d45ce 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 0dc612602e97..e6b5da74d77a 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 a6ecb38ea44f..ea0b7177158e 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 83f6f0f87815..6d150dcd9b5f 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 d353d2d52322..4eb76f462e21 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 3c124962a927..3f7554c8299a 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 66994fd7d2f5..4c604396d4da 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 dc14d1be9d25..79e507e7d12a 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 afe351f37843..2ddc3075c61a 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 0d088c099dbb..0a20b11a42d2 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 d64900596d5b..ee4c71e2ac19 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 80d4381d09f5..2c8dee33ba26 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 662d314a23b7..8a5f5e20ebd5 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 26f225137dba..54f6e1a34b7b 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 71bd1556265c..046a48f91d6e 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 d06ebe7069f5..b8baeca2f990 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 6f0a6c45ca06..28bd8f4e169e 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 8f05cad1e1c4..d632666793f9 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 0da6683f3d3f..a89ebe3d3213 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 020857eb8917..0fabffb75c53 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 3c25a81ea4ab..f6f996563210 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 906b9b5336c7..65b0731d0f46 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 f77077f92a0b..9a2dc21d0ea7 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 9bd4ee259d9e..92c01444ee7e 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 fdae724c0bcc..4ee37b4f0418 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 b30886201b5b..a4214e428416 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 a79e1fb28174..2d474c8c1f4f 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 ae72248fd612..6943ac944477 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 aca74e1a21f6..737f37b4e16f 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 d12032882726..7470406b6ac2 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 0bd84922ac75..ceed34e9ddeb 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 42be5a4d49fa..074d5d3a2605 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 20fb63fbd594..1cab14f0725b 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 56c1bbaac40c..3475d4f721f8 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 a40374111bed..49555da85901 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 4a71ba78f348..224219260cf0 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 1cdb3233ff53..49f08c67309d 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 e67302ec4219..d8c79e6e5913 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 4e1bc261c065..0fce9bf4d4ca 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 19d1700a173b..8719cb4a1011 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 52388543ef9e..c3a28915b057 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 c8aa10e61ecc..0ca899c30658 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 3c72c67e9498..5af9419f4f6f 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 b0d46dc18973..2b3933df0676 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 80f2b76682cd..0b63935735e9 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 55a3297728f5..fdbfef37e8f9 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 61eb94700e7c..715f457f8920 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 a9fa15863bc2..8819fee5dcff 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 7d773f892501..57d7ffd7806d 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 176e7da2b4a7..222b2b0aa662 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 75e5535045ba..5b2f02c781d7 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 2fa37f0d828c..0f56ae22feb6 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 b51ca6e63835..31b092fc4849 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 e93b7c598ef3..1ecba3ec4045 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 d3f2d2e1ff1f..03964db93f0d 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 bfdfac619ed5..46c664bf89fe 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 9c8d847886ce..d783cfd20c1d 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 b3886f57ed70..0f7240133145 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 47fb9f111c9a..e7f562139d81 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 89ff640099df..7464a7a6adf7 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 f25939c08803..af0d2223bdaa 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 e9a2c9cb42b6..63e32afb41bd 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 d59b89436f3a..a23e0b2a6363 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 ae7bae790a04..cfb9120a1022 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 f7c7017f39e3..2f8425603972 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 e64c8a717756..c6f7d570ceb7 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 74c70338334c..de3219a981e3 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 bdd9696299ac..0e5cfdea4101 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 b8d318773bc5..1c4e4b2e3d52 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 25e05859b724..748f8783a2aa 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 5f217fd77fc0..2c44dc41cb17 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 cec5d1bea2e8..fc36386645ec 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 b0a1b26c6bc4..9b2f970ebfb5 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 0b702b2a438b..8b8865f27c2b 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 6c3529120f80..7d60f55e67c1 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 00d99435cb29..65bd35f2cc83 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 a0930a319310..d50b41075bea 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 7bb6a5ac7994..8b847b37b240 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 98adf1f8bd04..54ce5b4240e2 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 e816e4d8ef71..2b6b01a4a445 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 ac5355f05e73..64d83cec072b 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 8b7fcd3108b4..e9df7385efba 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 8d4591ca8d4b..3b38da11c9cf 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 21ed905aea65..e09976a9251c 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 c4bbc4a3e91f..d2c2936d9415 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 864bf0cbca7a..c3db02e94137 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 d6295b8998d8..102ff476681e 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 de30b40b2def..834666a31c62 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 fcfaa0290684..95e2e29a6d98 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 78e93b6c1af8..c14be8c93547 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 eb7333308c16..3b5452b253fc 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 abdea8d45015..d0f7f0619d7c 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 9ec10960c0f5..2cb282b74fe4 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 bd9ceff3e415..b59eadd72d12 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 37a6f47fe101..b6ee75250b38 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 36f58da7c627..2d38876c74e8 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 2cdf04f8a75c..672dbeddb847 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 014c03bce89a..58c1f0033dc4 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 096774ae15f6..e273ed0abe73 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 6749c96448c1..86f7ea1cdf7e 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 2b65951afcc1..1de6edd6181d 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 025f0ee33d6f..fe61609013cb 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 036655e742ae..92f2e6609b6c 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 d21df5830313..802a85e0cca3 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 e39a8a7b4c44..221639c868be 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 fa09ee9b8923..ecd57109149f 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 067f128bd8a4..1ebfceadbba2 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 1d86109086a9..98ffd6cc404e 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 9da677eda305..7926a5ffb16a 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 8b32ec889bb6..da75fdf50937 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 f74fbde5ebfb..d70b97150d99 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 85e1764f391d..ea74da4e9fd3 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 c02e285b8f3c..8f3946cf2c8e 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 8cbeaee3558f..67f3804640b3 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 e2d64d3a9479..4b1bc886af13 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 daac2c665fa0..01fd3592a3b8 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 d4bedc5cee59..e9ab6a51fb0d 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 73f21a8751ba..64d5bc5c6590 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 2a1dcc3ab380..5fef2e0ac98e 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 0b3b7312b023..f6c73a62b04d 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 246dadc4ba0f..6bb655beb562 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 2d02fdddc7f7..6fa562ce653c 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 da7c5c792e51..a9c612ee429b 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 c596f32cc622..f75a77d6fa1e 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 ee308bac10b2..7c7190506d7c 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 879c0d0992e8..30ab554816fc 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 f95af8e14bde..9e572c166adb 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 1fe292817c47..15e811fa4dbd 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 2774cafe1c3b..c8620799e381 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 c54dd60f6f3c..fa87ed2507e4 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 9c79fdb73fdf..8077e2fca369 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 ab05c9fc10ac..7e177b1a7d57 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 7a22736b624b..6956e8f0e590 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 b74e902b6d18..c842e9e2c6c7 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 ad289f7f06a2..08c09b61fe60 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 722b797e4036..b5560ffc47cd 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 a818db33e49d..cddae270577f 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 4ae70cde71cf..d36e35460e3a 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 eea51fd11136..b558093d0b34 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 761a838c0c0b..8f1e050d970a 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 3927f8d7374f..e6302dbd56c7 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 4afcb3a99ef0..d411fabd28a3 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 3a0a4599e3dd..a5776a139764 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 6cc19e76ea16..00bed0e40562 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 3ee8cda76561..ff2b476b0629 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 d44c68075ab3..c4585365691d 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 fd2f472c424e..927ca822e5a4 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 f3ad36870f33..2791471f98fc 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 2a21d6808ae0..b64e6f519ff6 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 25482611a9fc..f908ea9b56d0 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 f72f20d1f756..fd3943f9db27 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 308facd7eb69..2dcfffafeba4 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 fbe80aff000e..fdf5b1ab1521 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 840565351c29..a813eaa79fa8 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 b112f5955e4b..43a252f5c36d 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 c2a06b980131..64913036133f 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 a9bfd79d732b..46832c65c3a2 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 9e1c30b32c88..8fa82ddb238d 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 467e420e9e2d..108fe4e19dbc 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 24ab345da6f3..da762fa81013 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 f1d7e5fdf559..b26893731486 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 95ebaecf5272..4e8c51225edb 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 cdb387581438..80c66468e60e 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 a404b4545fd6..b734f83f8ba4 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 f65765abbfc9..f88dbb931898 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 588cc54c8838..688785da5ff4 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 04524a15b301..9b9a45141bbf 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 f4197c0a6a01..a8f313ca1b5d 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 f9d4debd0ae6..798b07f5d7c5 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 4c4ef50e37f2..fcae6f1b3029 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 3f7d7cd4386f..4740f9dacfd3 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 61c6cf7aaa66..b6d7591398f0 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 6f8b971e92f4..28ed6d2107fd 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 88379fd0c1fc..244aca99e049 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 ec728ad8da52..e4515ffb2832 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 579680c29054..18e768a6e22d 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 56f756f35ab4..9e78beb9df44 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 db55fb854933..3bec63c93c42 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 d148a9830fcd..4461bdbbe316 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 41b8d8950816..7ebcad418d75 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 613c505de04e..519e3f383f53 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 cec6e264f741..a22a4f492501 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 56eb9de39f0b..387cdbf11614 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 ed225bff2c41..c3a7302ed371 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 75b4c8244205..6760845cd893 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 6b85d81aab61..562d3359002e 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 d80a88ef3f8c..cdfe1f245ae2 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 b4faf5a9679f..ddf0ff5769bd 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 a3230183fbfa..1de7c4056ace 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 a6344eb400b7..9593ca343e57 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 df2fa4146efa..bc6fed57d0c3 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 3fa2f307e681..12d4d541ad81 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 e757a8c2c81f..f0d882e0c877 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 111016581829..65835e822d5f 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 5ba4c71381ea..e2b869d90fd5 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 4d8375e06ba5..081d26180d6d 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 7db16abfc77b..b0e74d86c224 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 e95453f102a6..e777922ff2c3 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 a6aff465b6ad..bb5ebb37b625 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 ae4dbb425d8a..3143da3976cc 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 c12069850ed2..ef37dfe731ea 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 cc1e6416f15a..760f853f0e46 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 d2cc883b8507..f83e566ea087 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 02eb66acaeed..6578d59eaae3 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 bb1783beac95..b733f34b1056 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 f98d942814d8..6bb38f7cc91f 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 ffff216d1668..bc03fd8ad9b6 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 59d26e526bd4..d3653cba8f13 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 c7559b65572f..ab9c7a97e2bc 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 097347b7ff36..4b1ee2332a0c 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 62d1838eb1dc..b43e8a5ec833 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 f96ca0acf625..f76972704018 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 4e6683fc3407..5209a21a4295 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 c958cbbbf259..4735bcbd066e 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 41785781f38a..778e204d5bf3 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 1b2d7f9df185..a523936c4c78 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 dbadfe6004c2..ca546d0907f8 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 ac30e41f6872..ca731913703b 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 156aae67ac27..f4949b4b5fa7 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 45cac52fff14..650ca8f8a4a3 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 6d1dd33581e5..ac85869fbcd0 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 155102c764e3..fbe1190d0223 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 1e8bb4440635..8da241758427 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 ec27687fec63..d7c9cdc2ff30 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 c2114072601d..d9602e39b0b7 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 05fcde1b2da1..58fbf436b6e8 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 3d9873a3a812..6a236934d518 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 4f112cc840cb..47f828eb5323 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 86b0842a407d..d081e686bbce 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 27a32ba1653e..ce4e82ab6f16 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 ff45fc2fa729..2b47a7cabf02 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 f8d05a816d13..a861a3e2e2a3 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 d9e1f99236d2..ecfee921841a 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 9139a59db961..6dfe29314db0 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 8807324bb9c5..32ef2013d573 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 234443258c33..96cdfcd49652 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 71bdc8453e47..0c62c24c8f9e 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 b1b9ab43a66e..222deb6b587b 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 a93050b70709..0e637fbdcdf6 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 6dc3da9bfd30..df09f343f33d 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 2dae1c54e07f..e023ac44429d 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 55e15d6f8581..acfa14c8b0f9 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 830ebab0b26a..a365e485734d 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 a68a09ee865c..942b82554c02 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 65d7e755c855..4169fd87c792 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 011c8bcab858..456184bfa74f 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 28100540cbe7..b7d5a980fa1e 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 8b8bb2a329b7..b5ace786d396 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 49a405ff3a26..2101546637bc 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 f56b99d32577..602166603915 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 2ddc608c71c1..5dfb51c190f5 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 461440ae20b6..032d2a6a1661 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 90a6808d095c..9c2fd5abd8fc 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 ee9da8adf6c9..1ec117386bec 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 d941357feae5..3cd280632784 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 02ebfc651651..e7488ca6d4f1 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 9cf48f05c25a..bac4e8534d25 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 b21244ec3b16..fe383609cdc9 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 7378a7925bf1..788ac487f203 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 6c5d9877fb91..5b020a4cc61f 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 986d52e7d113..2273c8e643ca 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 4e30e16d4ab4..26b3eef620a6 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 9c14687be73a..67423b077a05 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 e3910bb48963..02e16def8961 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 3dd41e787ad0..8a6b2cc6ec78 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 b0c20ca07fec..71ac387fe212 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 9822c45508e6..f34514dd6ff1 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 7ce68a66f30c..0587d8a68dc5 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 293a0b7d1000..bc169dd3f873 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 cd674a1b205f..c159569f6d00 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 dad359282bae..436e77d0e30c 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 c1757a27d261..f4b69a1ad138 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 e5726735f229..153f1cb074ca 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 f5ae3429c9bf..ed980bf9d78b 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 40ee6b726e47..6e626e8e551b 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 47ad58919eb2..726ea5d52303 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 8e51253ce0a0..bb17b4e4fab9 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 345345ebd4f4..9a03ee050855 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 3ac76efc4d36..11b6288dc62d 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 01032fb66cd9..1d312a023ea0 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 afdd9da39f76..06d1e9d00321 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 13aaef1fb428..35ecf0ac90a1 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 f41f2121f893..3ec142e16fc0 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 49c103f7582d..f4c54b0c82d5 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 1f7293f235b9..f5aef115a65a 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 407103bbbf18..902a79461030 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 0d674275a9b6..73a367d80662 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 dd05c8502c26..02c2fe963234 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 2590cb8febab..90292d2f5818 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 1cd7ed685571..8c373d9869eb 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 4fe878014eb7..84948056c971 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 6dc4334b385a..ca0d318121f9 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 6c9b8e8f87da..04f979a83303 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 57d55923fe45..e705a345892c 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 c07914ad1214..74a8d834ef78 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 420e34e887c6..fde3f4041a7c 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 6c461c4a82af..d2696ce233f2 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 2b2a1b31fbfb..9bbac44cd5f9 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 e02235e52be2..2f5a4586281a 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 0841abd0c9a3..4456b543ddc7 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 fdf080dad0c9..7918a82db0a2 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 0a9891c1f9b8..aabc9652f88c 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 063b40388fe5..d4f5933986a5 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 9c2cff8adc0f..159cbac08d33 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 7db29942ced3..3d1e65e2516b 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 ad910790b21b..0bd1ad6e6eb4 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 8e03b14c16bd..b0b209b4affd 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 b9e4c3f3e065..cf202d329451 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 532de22d285c..e158ea73de86 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 2ff2c18e27a7..f2e44a2bc4af 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 f12051c4fd67..981dd7ab849e 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 5ee2cff12b7b..a8e28fac9813 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 54674097046a..a592cc44bb71 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 bfa13c24eacd..370ee6ddf1d0 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 07bedf024312..f8f7bf55cdd0 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 d610274ad78c..9aedc4a5dd41 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 10973cbb6fa0..131f55989b3a 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 8c8660c1ec8a..0183edce8092 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 2c9aca505f37..1b83c0beac43 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 4dcd0cb480b5..ec08dd26b0a5 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 8fcf5790dfb8..947f83538dab 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 c5283f09a083..ecbc53991469 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 31cba5bc8e4d..5e87b2c3f6d2 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 6d28783599b0..31e3c1b6f4c7 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 3a5d6c52af8d..e2131d8923b9 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 760f2a5db570..98e22864d810 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 9231ca7a6265..91961589775d 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 1ad1bb9125e7..1693d8c6b89f 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 329c62ae4534..39f951508442 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 6ebf0004408f..e814ee539f46 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 6fffa6814c8a..77aa896ec375 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 ab298b9e56a4..e36eb4fd39b5 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 4a3cde7f6ce0..6ce36cbf7b11 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 d135b99067db..ece3fcc0d6de 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 80e7ea090db7..af6ce41d2d5c 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 e8184087834b..c9ca197c6ff2 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 57b3399b1941..7b245209facf 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 6a95aa3af22c..45cbb412890b 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 ca8bf72ed72a..2c29e6d35569 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 aa5f22d89ec3..27e0a8e4b08a 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 341640a0dc56..d6988a6aeabf 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 70a00bc936cd..3f06a8f54aa9 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 b44202285846..63d965cd66fc 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 016383a8da08..62c2d802e9d8 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 716bf76b4c48..400b72b04317 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 612042b7fd1c..863fe43cfcee 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 7767ac2b3e10..ddb39ce77289 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 1a242947a33d..dc1aabd6c58c 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 1fa1d9509548..bf5fe955fed2 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 fd86fc835818..f3fd18b7983a 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 a199c87d0fcc..6f8f1569bfd8 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 6ce93b6d9eee..a3fa4ea4c309 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 ce69c0e51872..3c8ed7f627da 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 a94ce73f812a..4eb23af4385a 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 e64deb20987a..a7dbeb8b924e 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 01d606a47fd5..071c1bc116c3 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 463c70ed8e53..4f853e0c0b71 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 2297c75de2fe..d1dcd5799f7c 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 b80cf966b8b3..8e6f145068db 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 f74fc64147de..8364f5c9d805 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 9b3e4f8d2f4c..89105cc5cf5c 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 9fb153d01a48..ac3340924432 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 c3050f975f5d..91fbd4166d85 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 68c3670fb72b..f55a1eb4badd 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 dab52764152e..187018ec578d 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 0d7209c43e5a..23a855cb5d97 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 181bb929cb9d..768b3f4cfb63 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 1365a1bd6a6b..836f3e3e576a 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 6df020a006d6..56a76c6439e5 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 f543afab7492..f56b1cf47bac 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 de4ca81fdc9b..df5cdb8d2fd2 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 5027df8043ab..6284e601cf25 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 2c577f172cd9..cf81c6ddc2d7 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 782110423d91..58394efd3b24 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 b83dea46e228..3224210c2075 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 f0dacd909e2d..dbb530d59cf1 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 65341bc88a44..d0dd5c39a560 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 303b0147b3ad..e1294c82350c 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 c0317e1f176a..2e86634a39fa 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 69bec5bf4846..a1caaeca9f01 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 c98a8268e3d9..bb66f6eda063 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 1cc700531f2f..3402595f87f7 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 a273a9f67c35..e95c2b4ad227 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 5afc6260445c..c1dc6eef02e4 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 147449e89432..7a6839b56256 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 cf2d3b75ed9a..968ef437e7a9 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 b36c3d44b136..ddc06e93fd5e 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 9df801af40d4..60a31383baa6 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 56a43f193195..f36137d298ec 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 f801d7ff08ff..e16c84414e5a 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 2be44c4fab09..643807bb5e2f 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 5b16648e979d..1e7d3283dc48 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 503cfaa3adb5..a30119a22a13 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 d75127e60acd..4167f7737feb 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 54eb906d45f3..6fab936a3f22 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 ace2cbe41b63..6a3e4d1b43e9 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 30c538ca3538..b8d373bcf36f 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 a14bc2f65974..8d83e634249b 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 021e1be7c157..7b83a44daad1 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 bfaf556ec75f..e32d8914be2a 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 68f0dc85a5ce..e3c9a3871933 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 d3ccf35585b0..268f319d3787 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 ea548fdad9d3..3c924db15c00 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 0b736fbbc240..0ea9f3dc6b1a 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 086fb4499a35..92615802a9bc 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 91612dab127e..7b317fb244e4 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 d5a6b4ad3e06..8b82fb95b03e 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 e06c7e89524b..723f74cbaafb 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 ac0e868642a8..57ca282a9450 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 0a05f61fa8de..f0aaf0638922 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 7afedaa548b8..6ad5bb5eeedc 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 cfe0a85c1c07..4824dd8c7618 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 dea0649ca3fb..70c2bf0a621c 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 732b43b652cf..c3dd8d41a5ac 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 8816ed26f4b9..2e0b2cf4988e 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 afd5294a3042..46a060a84d79 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 8f62b8a11c11..fbf128e14120 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 d664638340fb..476febb19a28 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 beac40932451..dfaec585c28b 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 c5f10591fe94..a8aca057525d 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 69771be665e5..ff533820670d 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 ce976aaf9016..ad997204284f 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 5a4fb4410603..d3c3586a8f7b 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 7193efe1193a..df959688b1b0 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 e186a80818c2..402f7e99f0f3 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 1cdb1fdab191..6a755069ed32 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 d67b3c488f97..4812bb4b6e6b 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 af077154a106..38dee10f9a0f 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 4fe9113f2e52..a9b0c958a03d 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 77971b2cb14b..255f5f296c10 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 fb3adc6125be..fbc42a9f514f 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 5b78558c0ce4..afdd175a75b0 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 128a775a12cd..12f60ae5ef83 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 96c09a57cf3a..f40fc7707e2c 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 12dde711cc04..823fec990da2 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 0b5b78db43c6..8c62f4901377 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 2ac1280162e9..b5f2a0b6375b 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 b7d70d261e2b..913970ad1a48 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 8ba3ade0f991..c4609b31e8fc 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 aa0785d2512a..d9c7e8681739 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 8a69695e9090..e35da9f7f08b 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 c2698a322b74..0e8dd578bf34 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 6f72d4225ea8..ab048c4664fa 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 93b8d9e890a6..a775108769bd 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 c55e3a657965..b60e676af0c5 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 7ed57ce18eb8..d0c647b0353a 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 b390ac5539d2..ebfd0e1bb4c0 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 89c729b590ae..9281c7517c3a 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 196940e02813..8973ad51e60e 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 88bf54fe54c8..ef7880673e07 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 cb85a6735e5a..a2642dd345c4 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 fcfd6b40dbc5..8d916549e3e5 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 01721d38e1be..cff4426e982c 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 9d2925921c61..2a96e7b6f2f7 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 7b6b128d7b44..f241879abc8c 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 934d887bdce1..947f9051a324 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 8758f61cf2e0..1b07af7ce3cc 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 c9d124a51bfb..2a7f37f037c0 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 ca578b76e016..9c6407e23551 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 7fbaa2defbe8..b25396a97330 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 e013ae38426c..2b8af54c8d98 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 f88d3cef14e1..9bda8340bbbf 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 7a40ad19cda0..0f1eeeea54cb 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 d72222a7aa86..ed7b7155a1f0 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 ccc6574cc865..b3920e9c1cfc 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 ac897851c8ee..453c9c35710b 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 0bf34ba43629..63eab8cf5cb1 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 306be1900195..91557aa59157 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 61115dea18a2..42a453d9edba 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 4aaab31e9a35..9dcc6132a2a1 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 9e3781b1b711..1c2d1242c805 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 faad12107b60..1c4904414e54 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 c67360b1df77..285924de4c70 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 011350b70dc5..dca8d10e821d 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 1c3d4fb548d3..15cb12a65d97 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 37c682044bf1..b90c7e67ffcf 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 15f8c192ee28..a900ee4778fe 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 8e839019c916..560e72063260 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 eec99a448b78..5d5dbffa97ad 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 754265f04cfc..0ae3d7a32214 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 3547a6012a5f..e34ec77c0c98 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 7cdcfeac8022..49eabbbf8342 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 ef20e4f41299..c1784e63ca6a 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 2cff17b7c8ed..b86b6122322e 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 fe65e57ce340..0ec31eff1775 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 15f326b4b691..7bf3a88b9f5a 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 b9f44d5a7492..5875ce62fb58 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 b3d893e1d351..6e4d91dae0c1 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 dd244f9cee44..b7cc5668f9f8 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 8c302575bc40..2ee632d243c8 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 06484e40894a..59a685061426 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 869e42b70baa..1d0a3572946e 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 cdf36da2b8ef..8fedcd80e010 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 d04508696853..17bba8e59523 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 874d3430532d..48e78cc3dff2 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 0d6ed4765797..757e89276cef 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 4d0953803710..79153a3d89c4 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 c0af10ec358a..987652a9fd7c 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 8d4be7d44dc1..e8ab3532fcd9 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 50df9302859d..d9edea757f22 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 60c76818009b..7163ceadf65a 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 f7957ab8ab00..8b3a5b16b6aa 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 9f1f3e1ebb02..e8235391ccae 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 00dad335200f..bed723618033 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 3f98434084dd..806546e878aa 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 5352fee8e490..7788225fde17 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 c37afe5fec79..14e357103a33 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 bec7b5045e0f..1dece4155372 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 c4ee4006a1e1..421d2ee8015c 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 7ba6e43b7303..d6c1e94f3b73 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 d06e17a10117..6ab97b991de1 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 25dc69752084..bf3765273e2d 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 e440c7f0e769..c7e16c9026e9 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 66e1dc49c713..7908a230d51b 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 4b269b2689bf..82a74205eef5 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 ed4199f6fe6a..aab56ba64951 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 b6e1c4cd40a9..687982c6819a 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 cff877b5a4a0..2b03c3714eb1 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 7ca629ca832d..1fc62ebb2c6b 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 ab5b0b5e9292..cbeeb8120ee8 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 8f471a7a3b24..a0948971a162 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 3f2a5c4a6f7a..4dd31cc7e41e 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 a16886ccdcfd..4999454d316f 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 e54e27d597d5..8346d199471b 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 0220d097401e..bfff51a36d5e 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 3f83377d9764..1db996416664 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 3e0cb27fb40b..672c67e8a937 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 28d982ec869f..4bcecc0908d5 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 5b1f43c20628..d52518655e44 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 3eceb9c4f385..6c0c41836546 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 37474ef47096..3c0a9fb0eed2 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 57c6d03866d0..fe54208b002d 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 e6fae85a5b25..0ae494910dd3 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 94d7013c0267..b9850e0e12a6 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 54c4fb725ff0..58dac9b5deb7 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 da89ab401c51..eae55af607aa 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 30eda8f2063f..34726d2c0a3d 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 1712196ef38c..3535e961d47b 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 906d4fce9826..83735b266044 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 9b9ec100bd24..0c1c1777d8a3 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 fd6fff502c73..6c81a92bebdd 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 512ab76a4e1a..d0a463bb4694 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 8b2b01946575..d700415563e5 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 856b9d205852..d0833bf57167 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 a97a70d0b4ad..d04ebacf5ec5 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 279b298e4431..446d4866c6f9 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 58d22593124a..e4e7ebe08625 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 ebc5f10bddde..9a89b319102b 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 96501c77349a..052ccb26064f 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 a5832684ed7a..38eb19bfaa99 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 0bf28e1e5087..f583d0573724 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 042fcb06c877..c349d2395454 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 d43fa6a6ae3b..5c6547d3bce4 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 acd9cbb410da..a7a7137c7fff 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 603c47ce18cc..aaf1d6c77e42 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 a82b2e65a908..9b62d5621c3c 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 908838426477..7395be476fe5 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 8a9b76f7101e..58443b98b9e3 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 c975a41acbe3..6ea1c8792fed 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 561dc3e0dacc..76d90e2f6e75 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 a5efd9d9172a..625f19addd8f 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 9171d3531820..b3e3b97a1cb7 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 ddd130af8541..b0982db920fd 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 1279ec04e6b2..2bc9489fcc10 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 8374cda7d71b..6467c87a2790 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 424441cea528..347f69e87157 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 08407973307c..58e8f3193dfe 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 91477b1df610..2fa316dd28b7 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 c4be1e405fa8..b7c0c0dbc833 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 2fa11f54e201..5a789544ca49 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 040b796f026c..453726ffba4e 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 af2bf4783d5a..c8e833344b3d 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 5c3b592aa827..3f13503df149 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 9a838bbe54b7..95706b64b8fc 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 fea73350c0b2..fa29c2cbcdb4 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 00cde797d603..2c67d2019bcb 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 64bc3a32fd05..17b657a074e7 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 e3ffe8f59fe4..cc7cdecf7a18 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 c07db0823843..d1e21c65ea94 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 9fb2962efc61..0edc941e768b 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 403503d12501..fbf55be7f004 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 74d74382649f..b49c38d4e02d 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 b950dbe4adb1..082a61c523fd 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 557463eb3c19..aeff2d8f8aa7 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 4c5038ddaefb..06c1c1cede5e 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 946294706d7d..7ab74ab80b36 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 fa54d2c95d1d..5a0b78049132 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 ba8b7d14516c..8a29c1c3b076 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 d3cf795a9fb5..806ea792f31f 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 5d121e806702..35be2803f962 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 ce5e40170e97..26f3ee1403ee 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 497d0293dcf8..75921fbc405b 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 3fe1d4eeb312..7f2d13edd57a 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 f601c8018ce1..3f41fad2e131 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 639974e0532e..d30d229f5987 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 7512859dc1d5..378043a8b990 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 d664773cb1dd..427a7ef96418 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 b88033d1b97a..9cbd7d25ef9a 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 17e6e20922d2..c4cc5357a007 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 6b7de5e419b2..4ae73ec0f0ca 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 bfe05b5a8e1b..023361f2ee86 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 53fbe4ae9b7c..8b08dafddcee 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 fa2428a8c0eb..8d666aae65d3 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 8d606a00b5cc..f5641575b3dd 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 0312c8884124..913f371cd192 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 cabf5d3a4b5e..f54e163205d0 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 24ce6a4a43df..ffdbafa6acb0 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 8f9f36d52444..3d1742929b41 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 56f8e795e663..12146be7f3bb 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 4c19e733f296..368332d64698 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 a8a6a3e2a8b3..480c8c49662d 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 fd4c9a0ef6f6..8ee5ff977dd6 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 74aa10903455..9468bba4af7b 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 69ac403fd1d5..5e78e83c9c8b 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 0bebd2f9b55e..7b805993e9b3 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 966eab1646e3..c1de38e8104d 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 40be5e8a203f..815a9640f489 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 3bc49a85ac8c..3d481ace545d 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 97daee89682e..adad67abb1b2 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 4af1d10e7427..08d246a82aed 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 9a8f43c7a441..bece06db8155 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 a2b857e07684..d7616181b97f 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 e2a574338c31..1a35dc3b736b 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 4a30ea791561..f796ed1400f5 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 0061bc9ec38e..fa31ba8958ba 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 b9a444c8eb2d..bd5adbc8b5f3 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 b5678c00a9c7..c495af7f8244 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 acb365eb1609..26a36dc1d243 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 d1473ceaf45b..1c1048a90194 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 d0a07704de16..7c30f47e7ead 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 4c4bd4c3b3b1..f8e61749652a 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 c0f50701b32d..487b4a5ec753 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 31352fc4a042..e8d9139718b6 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 160f42fa47e8..972091aa5439 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 1d1694383a14..856297959344 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 b59e50e7396b..69885fcf3b0f 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 52a5aa3e1019..b0c91bbd6db1 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 83f5cd93bd5e..c6c2b7cbc3a9 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 4e393d350f03..03e002d2b460 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 ada8dc7a18c7..37dc87025a76 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 e4cefbf8d031..b3b3bfa59c05 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 f1a8d13314c1..8f833cef2013 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 20283844f027..ec340a7ebd67 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 bffce2163463..7f34807017c5 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 7bc0915ea7ff..42526c758d45 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 0c01be533dcf..3b407b5a1ef3 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 2fa51d30eca3..139cb40f0b69 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 128392be1155..0f0f2195d884 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 07d9fe16727d..56a3df860324 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 b338fa6a9e69..25098db3341e 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 ca0a59c6618f..5c1ea342ab76 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 e3ec9c1ae10c..f4f0a47b3ff5 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 13f400309add..49b50e90b7fa 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 6238eade8436..30da3d98ece7 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 07d093c9dfd7..828fcb87efbb 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 095c42f9d6fb..f8d287e9cee8 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 da30a8844984..e8198f691641 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 f7f7a73cdec4..ff3e69dbea60 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 76eefa80ad8a..b6c417b05208 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 993ba17cdc9b..f8f6b19980ba 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 b41d58f86718..3176a325d1b2 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 760e139e07c4..bb1aba0eb816 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 419c6014159e..a78f4773cce3 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 3f8a79aa4ef2..90b685f35891 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 70675a2d8988..671c7039b666 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 cca7194ad3c5..d96973820adc 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 4569711415f0..de7e5ba214d5 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 64a0ca1b24f7..d77c63c7ab5f 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 f54546e8e2ef..f0d079729aa0 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 cbcbcf43f4e7..2873829ff1df 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 cd240c15bc03..7b891e7d535d 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 48f1d2f180d1..db87ae890bdf 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 57e71a94179f..d7bdd650ec20 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 810c9de6cc95..145c62063bc1 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 ee70ebfe1b41..7cef1f2e2392 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 8a0ae1cfd4fa..7cfb39469c64 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 0abe1f81f615..f4f713658ba6 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 0e66749869f1..9cdd51bd6c2e 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 1fb9724642ee..23b91c3d95c3 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 388225200a27..bd6e6fbd3ddc 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 c2cd82d462e5..0914f248c41a 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 166a81d18a53..1f66904e1a1d 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 9a396960e66e..f10be0a15613 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 8cd1fa754696..2818de7947e3 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 16e93a8440e6..8ab5f72ac1ee 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 54a62e6721d3..1bc35d2ff104 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 b551cd250a1e..69adb98f4f28 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 f9d9ea5ea7de..a62f58577070 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 7c2c755ab8f3..dde601a93c6c 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 df7057cb203d..51a4a1997f10 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 d8592140033d..9b9210cd8229 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 212891348c56..d4a124ce8942 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 c048d44efb62..28235b2ddf79 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 de2b0adc975b..35dcec2c1212 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 4b918d17afd4..83ef177895a0 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 81849bce8ef7..3b5bb14a57cd 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 40ee2c5f8713..9a7c38f33121 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 628319e939b0..49eb26f81080 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 5c90e1545f46..9420582fd4ac 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 2d691147fde6..d4921e0d8650 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 1383d8c65ab3..0f91483fc6ab 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 3b2a0c2e5ff1..5c71145bfbe3 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 46da4ee3440e..b4702b14b229 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 aefb1bbc959c..a865afe4b43d 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 61616a2c8ed9..2e069270778e 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 3c3f07a3b2bb..745bcb9598c4 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 dbd60b5f8f52..07751cd035bd 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 6f2989984d82..e6366054438f 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 3610999278eb..957815b8a2fc 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 ab623fe70349..5d4ae0bfcd81 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 390123a5c15a..30ca2efd4a3c 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 eda0deec5a9e..0f60a410e808 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 83f566e03186..49c4fb966855 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 1ca681c8342f..c97ea87b7059 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 c884a4ee0e5f..7e727dd9f347 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 f708b7a56866..21681e61df92 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 be2acf01c7b7..1c4481dab282 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 1a03cdd28e8d..155034158f41 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 b9c193723675..c39ee2c1ba85 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 ae1cd6c7a5e9..af97b2d04685 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 16935d206f7f..5e77c624aa72 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 7052c706a2a9..cd4eed94b128 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 cb6c7926fd05..44a647513e1b 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 7e2cf809c0d7..cb471d2ee01f 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 579596ffee99..953035ae2ad4 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 15e772416f9f..83e35a563666 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 936144aabcf4..78a0cc4222e7 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 b21037cb1db3..fbdc731ebbbe 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 3ef766cb9207..c7c889855411 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 0578df9ebeb0..e38fd2003d13 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 93c18b089860..e67ce8a6db24 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 5e6c43bed58a..546368981e42 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 80f1fb5c2fc2..b6a688c4f204 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 e4ef2680120c..b7814b1c5278 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 2327548f6e5b..cda9d6188553 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 3f2cfa0ee453..cc26873d1c97 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 cb0323500f16..e0bbcd150b43 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 5a6c5820ec6f..72e1d6710337 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 e01af6de487c..3aafd9d50911 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 03c657246456..b01efb8362ee 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 e81218417010..2db5419a6b38 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 d617bd908a7a..556b5957e492 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 6d8f449d4e59..52135d34a9b9 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 0cafc79b8f86..2dc5e8e72985 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 528f70605d48..01336605274f 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 a8162e706936..51995df760b0 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 bdb71c72c926..c611cf49c7d5 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 4d68d98088d5..f70e7d096dac 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 e4caa2119d7e..b0d9ceaf1765 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 1ea7d3155481..687d5794be35 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 67041bf620cd..3521e20adf32 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 4101dc216ae2..5c4408c63366 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 5fdb76418a94..85420ec0494e 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 fc30d261fe64..67e37c578542 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 b0e773b89adb..fd65202e7b4d 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 3627fce3a8fa..7bf97c38b8ba 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 fd9f0908c17f..1a2b117652ad 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 1186b7562991..5ffd881d57e0 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 8488243235fd..d1982663fb70 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 ff143422dd1a..da6b6692fadd 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 cb55a337f2a9..7987ad877a3e 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 890216b41b95..7eb41b5a684a 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 95e52f72dfc8..502e41087b2c 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 9305138839fe..c2c14e9b8aee 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 eda4bc00ce55..d74dfda1322c 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 0e439e199926..dc7e694dde16 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 60867aecaea5..b02c7d39cd54 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 a8635b446f33..2f6a52b07dfb 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 1a5237040ee9..f7de94abfeff 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 7a04b86b406c..b67ad16d67ab 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 fb55b7ca9a88..3de9c6cdb323 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 61b43a09bd79..77e73e64929b 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 dc6a45725d9d..fc9cfd56b7c4 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 dd3ec110c94e..6086a8fed871 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 9586a9729760..33b21eee03ee 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 5969d3abb748..8447fd196435 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 2452fc93a8ae..f4b293558a63 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 3c364c3a5b4c..e226724823ec 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 865790f99978..8a22b3147b2d 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 4babeb46b8fe..1f98c609d71e 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 a5b5ece0ca85..c9fd117571d3 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 b9ac09e00884..132513bd626b 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 53704a65aa8f..2bae5ac7c5ec 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 26e8d56efe3f..7d53ade02417 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 04fddad201d2..e2d28efc48cb 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 7d29534c112a..924bb0e3d981 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 0e0e3d97c95c..4c91e8645bc9 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 6aa951c9568a..1db31d7a4f0c 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 4ad0a6ca93b0..8e99285a6afb 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 63cef386bb87..dd12eb01d25f 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 7e7390cd7523..6aa8ccefeb5e 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 271d205570bf..22222c95bf0e 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 2037413911a6..b64c2bbba7b8 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 548c04467bf5..856e555cb1a1 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 862e8ccdd140..455a81d6c068 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 65c1bd77c040..c537a99940a9 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 a76f522fbcf2..545caadac3fc 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 3e142e8bc517..a53f9eedc394 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 6d6280a7385e..0e5243ab9244 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 cd72229878e2..2f5e21ab0b59 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 62014a12350d..c8f409d20696 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 a9efd82ff4af..fe50f61aa526 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 c342db2af707..a8addbbbbdbb 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 7bf11e4249a1..41a42d76235b 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 2298dff52522..851849d58116 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 6571f19f4174..db8214d9ef49 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 750d38e7f1bc..88e8433178ea 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 450cc492896d..0885a7e8cd41 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 45da41d7a7a9..041814dce869 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 6aaa58423806..d0a1e5853d99 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 3e9eb87e307e..8da28c1fb28e 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 bd16d44fc206..50f287319409 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 e1c8836ca4c2..2048cdd66ed1 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 ff445423c32f..c0c6138c6c8d 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 89097bc07909..018603f86d9b 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 486c6c5e79a8..1bd22f74081b 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 6b4a67f49bf2..b25d3e1d66a7 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 7507ac820b27..f5ef2a4e2e28 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 5399dcee3268..ed4a92781662 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 8d9684398619..18a21d9d7c5f 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 f3dc97364a3a..64167f211e17 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 446f3c43f575..213f828f7c3c 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 f7ba4c4b9929..e12596639ddd 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 fa38c982b615..b503d1b6dd3a 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 2106aec30030..c61def9df4f8 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 4cd9730477a2..0d606198076f 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 6388637677ce..0d8435eb429d 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 1346a8059bb3..60827421fa9d 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 8710fc622d8e..b4ec5bc022dd 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 8567c709d468..3ba210a2a231 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 d4bd4582263d..2c55b700233d 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 84529161acfe..eda5fe727f22 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 748bbdc2465c..5b68c400681d 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 61ff94895a3e..9fb2e2b9467a 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 f33e0a6bdff2..88d7604315b6 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 dace6a035bb2..877f832a2f3a 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 b5727d091482..47bc17e2ef2c 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 b52e36dd2e06..7cb8233ee445 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 a6a2d7efadfb..bf796c97f8a1 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 3e9f67873086..95188e70f15f 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 d8a7511400a8..5e0dea14b05d 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 df2da9e2b9bd..ff25e0c6c0d3 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 cf2bb90a0794..c3f82b01633b 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 981ff309edb3..d9f7beaaf3e1 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 a506dd389801..9c14c37dce90 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 abd607249813..c41c64e82c04 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 0d62f1d8c78e..1bec592d616d 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 dd5066e0b97d..30dd793933ed 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 5539a186bbb3..daddb9681cb0 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 310024d1be4f..294f396d0a85 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 bb62514eeb83..beda85e2fddd 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 55ae157fcc94..56dbc0b9f74a 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 2ed4dfc1610a..03e211eca864 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 144beeb14955..a12d746e670b 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 d10b0415f1cd..26b6f8e8b835 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 f4f1a72f08d5..2605e9dcb49e 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 d9dc699c1b00..ba0593be9fd1 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 1ada7e54b542..d887fd72b1c1 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 ee4e189f0590..972014a60d2e 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 039866d330cb..0a12d7d6a917 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 0af72583e1b9..45fe739cda18 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 7bde23d3922f..f4252faf6407 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 65636a17cd77..df5a6d355085 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 5e9b032993da..4d793cc3ccf0 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 0a7cd2a0afa1..6852492f9ab4 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 7f2c438b89d5..cb9837fdc978 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 7f0b77d14f8c..bbe8f8916866 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 2a3316a85ac0..a1f702eff05f 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 43232cfdb4eb..47a349a5343b 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 b50234029606..37ff3aaacf5c 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 fcb3a74b06b6..b1018c961728 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 b08f9e7fa266..cbc48e489ab2 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 38bee4b71b63..6f2c2d525887 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 596d4f26fe67..bf6b0026447e 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 2b7d4b194fed..8f8989a85084 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 50aa8885e39a..1347defc1adb 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 fb4752b555a8..ef5809b72b7b 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 92ef5c3b3dd0..c7830b518ea8 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 3823ee73bb71..bee6ad8b9716 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 92fd5d9a984f..5237b23c70b8 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 204af24ae0f0..ab1f69af4fc9 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 6c2c7406aa99..83a227274644 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 2fa543309cc0..351900982347 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 e63ac1d16ac2..ae2445d2977c 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 3874602c6986..d180086902fa 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 7cff8af39b6a..2b25d22db1a7 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 133e009f0fcf..3200cab22be0 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 01575ba25a8f..444e9dcd8c1d 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 25000830b756..abb37b9c1461 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 757854c24c4c..bc5145f9e2a2 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 2ca529a521b1..d6958fdd5980 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 3254080414d9..93e71c687f21 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 99981f2c1e46..207caca53c4e 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 98ae5515e17d..9d9714e65349 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 2cc6197d2f91..d2cc64e7f009 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 a483c2f3abbe..2cd80fdab1c2 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 b8773770938c..95ee95774bc4 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 0ca3d37cfbef..f5b89d7d326a 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 1d53b50e93e0..221aab5bebe9 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 854b422a5de7..ab9a7285b845 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 7d6391bec093..a1ed957515e6 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 42c48f3fe228..7fffbdf7973c 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 d05edb9e17ea..83e7e2a1947c 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 33a370e3f034..619c3693b34c 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 29a097f4974d..51f997480a9d 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 3c66253f797b..c8dba61ea83c 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 d489be9097bd..9cd3efc88405 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 eb73974b4e8f..c2b857ec6937 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 ccaffb296f71..c1741a506b38 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 16d53e109f18..ee35bb036d94 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 5dc990c271e7..43b3249153c0 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 b22b08f4d3bd..e73cb0405763 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 fbf372a776ed..06c13327d47d 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 b406b9459d69..291db74d6e9b 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 3039ab8022d5..1b7275250da3 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 adfe99458d5f..8b88594524db 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 912baefdb009..f26de9fd1dd7 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 8cb4442719b7..2394ca2d3a82 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 796852b9fb72..0e2d3b74f023 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 b90638764fc1..25f93b165873 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 1472ca3f103a..28de739ffb6c 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 b3323143c48e..32ca48e0ccf2 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 f87ee196f83a..701c20d47a97 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 efdd60e9c6e8..431443336e6c 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 4dbe223534d2..88c060baad64 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 e9c4a9a648d8..87e5673ac067 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 402aae1e13a6..6815d129a30a 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 a5c8668379e4..ca14f51fe33b 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 fee4a4cea02e..495314c33da3 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 786cc62dde41..6dcd13117884 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 86ed2b452584..eb398602cb5f 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 6152d612ec1d..24ce92b9918b 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 24a26f12ceb1..9e09aa4d6d03 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 4bcf55e71208..73dd73a8bacf 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 7917b6ef9ce9..df9ce84993e4 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 f2c7dfd9f768..10631f7b36ba 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 ce2a5573f5fd..6ee2d8dd8412 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 462833c39bde..387bf7205818 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 adf8ad0dc5cb..bc612a49df0c 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 11694c909ae4..0aa7ade5c121 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 d6d3d4e1d095..f45f4639e7d9 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 8f70295d1d91..fb837e1e9b20 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 38cd79be0c3f..e05df5ab4730 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 08fc97f12523..076d030f1a87 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 95abc6d22202..754d7989ae73 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 cc859f8b97ba..1ac157171552 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 09ef107d480f..9b1f4884a753 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 9384dbba165a..a828225ab938 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 2988083474f2..c61c02d4a646 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 57c044e43fa8..13a07f669244 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 a062e5706102..381443e57684 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 71b9af632e64..e5522ae54a56 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 2e97be1237d2..2cce8d8a7ee1 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 924b5c84140d..082c3b4c3376 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 8ec238d9f961..71d1a739f652 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 a6cfbda5897a..7ac6a62e3a63 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 cb07f8d10734..eb390c6ff660 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 b9311d52f72f..6e1fd6169bf2 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 8c6714fef0ce..82a274320134 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 04ae0b334106..423cda933776 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 e03950e68d64..e488ab0834c4 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 4be4c14da8f7..03b15c5fd598 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 a6b90b8a0401..c19ab62f72ec 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 98f56167859f..34e6961d35dd 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 2735c20223d7..2171891d4d90 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 163cc4ef3394..6daab5b1acd6 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 9c0eaed50d3a..ea4c10e21458 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 b04d5e703b4f..0af9f0a382ed 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 1cccea10b3a4..cade20de5674 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 60ac22beea25..c5a317bb6ecb 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 207aa814effe..f4e25e2c4947 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 162d8bf36536..eac50ddb898d 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 76ab1e593125..cf3f985637cc 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 ce977799de0e..5aafdf091fe3 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 d6c5191afc34..b9cf6ccd67d5 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 7343867ccf4e..bcbd7dde9303 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 6ea49a81150e..59c1a97d6b18 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 0fe2ad00ba77..349d37130315 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 7e35c9db0fce..76f40febf223 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 edd6ac991464..ddc82ccda043 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 5bb3dbe867ce..4f2560b2211e 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 93d3a980b2e0..86c3e443198e 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 50a648762309..2b1473485364 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 9b5e27d81f86..a356a7a8c8f5 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 9c64df0fa11a..e3bdcb232bc8 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 b3c899003d75..4baba2a785f1 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 77a66e86f0ea..f1e8a208d261 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 bcc049bebba4..eb63303b442a 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 399e57dd0743..eff98e27ca06 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 74ca8734596e..68c08b0e925f 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 d9cb33995029..75d02044b1b4 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 0d472c06d84e..f8de61e13449 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 31912d4c9f78..e0c6df09e395 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 5f897f37128e..578521c83b81 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 708bdc13775e..5cef9dc1c5e0 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 e60fcefa3884..b272fcc61ffd 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 44682aa05240..097b3080cb75 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 ecaff8093330..918e2efcabbf 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 4e32ff2dc586..db02012a903f 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 05eb02f3c928..dc76389718be 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 1f566dafc6e9..9796e2e58ad5 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 61179594e675..b13c2e80328d 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 43a8758c27cf..cd771df78f52 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 1d2351f31117..cebf1cc7562c 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 3e28b61edbd3..38945b0d2890 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 f932b515ede9..da851b14f48f 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 0377fbc54ffe..7aa3d693946f 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 25c352644118..3a30adae4d38 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 424a3c035aac..c4fc925de320 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 1b263c422fa4..d385d8263483 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 fe1ea21f411e..ba01dafae0a6 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 f5c474e8ed76..e6cceae61f03 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 b07962937696..f61ebaf1a623 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 60881e1b8432..f5627ae826ec 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 b2932c6c3bf4..6193e94b7832 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 abd908029b1c..3ebb3aa25db5 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 98445dabf622..d1bbc61e8640 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 236a32b80934..562ca0f07195 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 d19e97f5a198..d4f9b2de1ed4 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 2949a8eb822c..c994650bdc77 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 09456f06ad93..9d393618fcaa 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 c28e8087dee3..010ed19b8f24 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 dde1981e3c9e..dbb764eb9a41 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 0331ceb22e9c..0baa6e682adf 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 5d4e745d4116..bf5ca24fe34a 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 2931ba1da2df..f79db839a30f 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 3db90ed4b6f4..fd128264a0fa 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 b0cbad01a76e..2662365b3441 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 9ac55622062f..bedfd4eca9a0 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 b604eb16c6be..b0a2e0c799eb 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 ad5b651d8de3..5138cd60b5b1 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 adbad77b4009..f90d2a0b08e9 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 93cffc74865b..f9eb0374d41f 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 9a0fc4eb4f53..eebc0c4363f1 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 7c4d20feeeb8..1823a064f5df 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 e8a2ff4c7d78..61cade41af7e 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 935e034e4576..d73d33d5b2d8 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 bb81fcc03856..f9743aec11a4 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 dadb8fb66732..c84bf45d9d9c 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 34cd07d879fc..cc03d85e8be0 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 0b4572384cca..d63889e89e8a 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 00d109a6d0d1..37e2ece440ef 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 47eb4bf2e0ba..1e18fc5cdd1a 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 729101fe47f5..7184ecafbbb8 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 08fdfaf88149..5649ebe10e6f 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 8c48e99b7748..d06472ae6d9e 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 b77d7c2e5618..482b578a8eda 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 1d474d577019..4e3d37e5788a 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 9d641fe4f9dc..7b4f1ad7cab9 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 3a59e7213f9e..13b40fe90845 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 5f3744532594..28d33d85d091 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 f54fcf71ca97..2540ec20df83 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 42f24c29ee5c..ef293d5f8a3c 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 e6000bfd1ad5..351903ad3490 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 36e345fc7bc2..b708415491cb 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 e60c6376c565..8a59f2d2f511 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 c8b4bacdd2ed..d453d952244f 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 49d1c10cbc13..d4fc14236543 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 6a6d35fdec96..f942fb7a2b83 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 1cf6040dd50b..8936d26c53cb 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 b83e741ec726..ca9366229671 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 54bc952bb6b7..9f98f2052ff8 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 e8fda4a962c6..b5005a43ea91 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 5b1b30fd5b38..73e04c842338 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 1cec42421b7e..ae78bc5d2787 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 bb10fc8a5ee0..fad2ea8dcf78 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 1a8d0d149bfb..bc0f5c2d063f 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 7150f57137b8..18ad4a72f674 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 9f6071fc86fb..82e9148f83e7 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 9dc407b8380a..dee5dd2f8ecf 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 37a8f133e483..f36fd9f21a52 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 67bf24c0f4f9..8bd37e5ccdcf 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 4d58a9aef08e..3628cb264a77 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 d0c3234c6f6e..076919a407cd 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 3bb998974606..8662b7ae3ecb 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 9c2d765406fe..9b3b0675551e 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 dfb615473d8e..69be9e4d69ea 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 5fca2bc5f973..2e86037cb512 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 23d1bf2badb8..1060865e2ed6 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 6286ca3324f8..eb45c9dd9bdc 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 cdbf9ef632df..19d71d5486da 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 71d7f08e6d07..96469ec11147 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 a223212935c9..bb932f1488ac 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 ed60b3de4199..b9b2b13debb4 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 7fff4d935003..bf55d028421b 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 c495a728746e..09eb21253e45 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 37339ea995f9..a686fc9bf4b1 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 041737e2d930..7c144b34d3e2 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 ba669cf1f710..ec741109e899 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 3ab53767cdbe..8ef3b1fb6638 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 22bc4271a651..4187d6ea31b1 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 8d3aac0c97e2..dcaa9f3851c6 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 cea3db58eab6..d751b4f0a381 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 0414c2cc0c50..36f7fc414c0f 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 f380d8f5d5ed..dee969d0be74 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 488bc3c105ba..a48bd5a55ad9 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 5ec660be09ef..ab830f4c255d 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 7b3eaeaa6fd8..ca4b3a114fb3 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 9ee4eb7826b5..85501b0e51cc 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 38f82ed77ef7..3f719872a799 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 645628fea819..5ce6f426e476 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 ec0b596d8d30..148d9c5ea679 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 4933dd721516..11ae212e3d30 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 47a244ca819a..b4768557bbd2 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 81767a035259..b35c76feab32 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 691d10355865..78319de50ab4 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 ea6f0135640b..56272d679f66 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 be99fa25b46a..070ffd377bc1 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 a79306b17836..27d6a5ac91d6 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 13d10bc1f8bc..18f032ba30e5 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 5238a78a0397..85bbf355e64b 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 6f3c731f9369..3ab6bea27be8 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 989c2f2b86a6..0c250c451f77 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 408931488321..a886695f7d1d 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 50903cf6eae5..92e8cb6f3b8c 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 7aa06515841e..2b2f06cf37c7 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 966f26cc0d22..37c00f26d9e1 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 715f37da46bb..0957cbf7c102 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 841103bbf1c7..622f15e0cdaa 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 aeaa7660efc0..c39455be4d1c 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 6a33c0d23717..6b75ccf386fe 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 cef37e3e169a..55565f4c0ca2 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 7fca34818b34..7970187dafb3 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 284cb2c9a968..f90246b90908 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 d4b9063667f8..361b00d61284 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 f60049935575..62fd53724b6b 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 0ee1d4d01333..f85a77b332e5 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 1cf69403b88d..08c822b62250 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 d9132561d824..917a6e06c84e 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 5a708216496a..e82e5fc22ec5 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 56ea975a141d..47e24206556c 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 328bd0738a82..db3f7f5fef37 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 e506b4a9a21b..b8b6403dea16 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 b0b8dc31bbdb..3f3840af87aa 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 4ec2043bce54..af6d2ce4bd1d 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 1327a06fd92d..cc8e3d9564b3 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 bc3d9f7e2f6d..8a691c8b5572 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 c952d8985af3..496441e12a73 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 fa7780e1a9fa..b42586c4b573 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 8629a80d54e9..adeee29525f7 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 616c9a6a9cb6..e46721124aba 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 9ee9a7748461..9841dc801d42 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 9839c87668d7..7eb15a03de61 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 ae8cd0dc5549..49e018382216 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 a96b030088da..a88614b8954d 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 ac716b6426f2..8d3bce300fd2 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 ace7d4bf6c32..ec9b407b90d6 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 baf914b6a75e..86e288ec3d16 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 d0eac62aaf58..8154cca1a523 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 40b7292a6cf6..c51285a068ca 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 ec97a89ebfca..1900b8a5a433 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 25a907477c16..5b1fa857c5a2 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 897339cad974..1e842ec079da 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 f3d47f08baad..a2b40cd2312e 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 098cee140f97..c3dde1829db5 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 fcac4a823e60..ad2cdfb7b803 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 56dbb5b5b1f8..5cc35adceaf8 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 278a650d3e19..c6a319afba5b 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 0863b8d359d4..c1e4f3f9e600 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 be97d42fd3c7..25560cbc2728 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 7018e77935b9..d9ce22e16ff3 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 d137c9d357e5..1772bfa9eb76 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 fa80bbea2296..9a6bcabbada1 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 aa235996298c..daf5966aa25c 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 f96730e02395..93ccc7905a54 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 863d0816eb94..c43ff85f9c22 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 beba19d22ed0..aba9c6c915af 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 448b8840e993..cdc7ddcc8494 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 37d8c7bb6ae9..29c52bd49d14 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 32b40e5024d1..d42cbaf94be2 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 bea565eeb9e0..f67b9a350f4c 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 ca85585f72c6..535988387916 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 19853916cb98..439a0e073218 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 9c8f0ca615b1..494030c95fc8 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 9a70fe98472d..7b6d451bb672 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 10ed3b13f299..f0170200dc8c 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 5f8602392297..080faea92632 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 fe55b1de402d..9e84ae268661 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 35fa31700324..7b337aaec11b 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 2492d8155319..ed26571af739 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 48ee88e25d25..5e69e29e61ef 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 4b9517803b8a..c46168a15e9f 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 2daa59a133df..581f501ca76c 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 bae79bca945f..1e69926c75e3 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 ff278e6441f2..93b3b236534d 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 f5e57106335c..1f5767cdfcc5 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 0d620b3f6c41..e26a0065987a 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 4c28743638b9..89460778c7c7 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 a55dbfb10f7a..2f084bb545d7 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 33bc913f0982..3712333ec6a4 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 fa098c3e55e9..66f4c8232f8c 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 1c3f4543db48..52eb9900f3d4 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 56658df7a1a0..64140f25c04b 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 6bf05f7a250b..8ee80fbe77cb 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 7009edb51ede..a4cb72c49344 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 21c51fc8a8c0..1bf01fe5d86e 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 2ad300b706e9..b93439dc72fc 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 4af91cc8a03e..cc41e32ab9e9 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 36888903113d..c92167bdc78f 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 f7e012467cb8..35ad8e0d8a21 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 bddfb1316a14..9d0faf82e923 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 d5ff0a213f9c..683d7fa9be8d 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 890e6869911d..40733ba308f7 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 b25392ec15d2..41371b5458e3 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 1fedb65afd8e..b77e992258e2 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 ac5b0a4e3f04..f2aee70c9e74 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 4bbeb7994f8d..a640a66276db 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 8040dd028c54..d76b11f010d5 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 ccbfcf15bcde..e2b2364028c0 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 fca95e0451e9..be9b4eed014d 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 85732bd87a2e..691b962d97f1 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 80cd1c462abd..53489fa20cd9 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 4bc61f4f2356..2dbb2de73031 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 7ef7437d4feb..69d77903471e 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 f115f2658f2c..f3fcf179ddeb 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 817df3428e0b..a6768db61310 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 a627daba8005..48d85cde3a1a 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 5cf36e8080f2..7244b11e9544 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 bbc0b5c61569..cdee032fa38e 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 005f212c7bda..91e051fb7cde 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 7de35acdbf0c..79369774c163 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 7193ef30bbd1..aeecded3efe5 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 3b0ba8532900..b7bb286695e1 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 d68fff3ea14b..af947a11cadc 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 f470a04f3562..075da1d8dad2 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 9ccd8e218e4e..7449c050da26 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 c18681b33e40..3e7b9da80be2 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 833cb0cac0e2..798ce976d059 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 7589ded846de..63c0621fffc2 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 1292f05d4cab..d06b74432e73 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 253fcc09469c..5b5185ff6a2d 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 83eba6118aff..9966b414de56 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 689cf0c1d209..00bf0c1ac64e 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 3c2e39b7468b..fd45bd6d067b 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 4b308bf436d8..7f59384fd631 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 aaa847aedefd..287ae3b1e46b 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 37bf4c40be60..88df079929b3 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 539c7bf51b7d..ca724b05cbce 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 64fc9fbf03ef..ee4cad2cbfe0 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 0b710de5d1ee..bd0c86ef1d00 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 d8a8afd92905..0c16f501a1f2 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 1dd298091392..e4dc0517d523 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 94357b842c69..3111088fbe2e 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 5369ecba6c77..1d20cb3a7414 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 bc9420e075d1..010ca5e6a088 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 20a0eecd016b..26f267fb0516 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 108d072937a5..074d6bd7970d 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 cb1b0b850a8c..2de6fa3e5668 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 7967ef8ba36c..d2bbda69fdfc 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 c97842766ccc..4258465651af 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 196d28bdf819..29fbefd252ce 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 24bb243214dd..32a9aca5f850 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 8d1a054f3144..ad5c90ab7207 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 4c75e3fed83c..93b03fdde3db 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 1acda51d008c..f5272b8d5aba 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 55e28c8f928a..a6cdca698bf5 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 8b0ee297aa1f..57ca3f7c5afb 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 58eaa53fce42..c6c1063eeb78 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 73c5ce5d0888..e5955aef99d2 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 48604703f724..b4082da2be3f 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 486e69e9c283..3d1c0ee96d91 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 5c9623888090..de5c0c56c6c0 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 adb59b15cd05..f16d090cbee8 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 7bdb0ad1bfb8..564459428f61 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 e42daec94712..3885d5e21d2a 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 fdc02a2600b7..3becb6d55511 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 405e8f8e8de2..dfae2e181889 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 218afb316038..eac9f084117e 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 1d29ec9c86fa..218c3e122688 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 c3cdb38a4ef0..752714db08a9 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 e5064bd62d73..9082929688af 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 ed98a12544f2..09ab885e515c 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 e999dd8a3f65..d0caf15c8722 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 144f1f45549f..63feb52b37c9 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 d6469351d4e7..6d0afd3931be 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 ff2caf63c9fa..c36ea9aa2624 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 35b10b2799cf..1d59630b8a46 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 299945161841..7b9d5da2f10f 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 77acd0d06c0f..f1e22777cb5c 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 dbae81cdf663..7f92c053e79c 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 d27ec99e6dcb..13a994cd8991 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 a74b794b4f9a..11670232e20c 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 483e68b507ac..a84d49442f69 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 4b28d3c107f8..1249c430c4ca 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 acf12ba4a8d1..ae5991ce19cb 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 42e6867e4d21..8f9c26ae34e1 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 74e6f632ceff..354901234022 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 6f61a837f864..50c89ee8223d 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 0526e2be61f6..df80bcf20c9f 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 4198663759d6..29f613f8178b 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 c5499c503d24..d7a4d8b544a9 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 afb04c237d39..06d9403d558e 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 47199026e6a2..86b21ea797e4 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 03f15a6349cf..22a58659d3a9 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 0da756de4379..4e98fc326d66 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 fc704ab1e6e8..a18c3cb6b53d 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 4e07d51cc184..1b81be96c300 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 bbfae0b83099..37a5ef2dec49 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 ed3f0f3725a0..bf4da65be93c 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 1c7dcd853cb1..eefc39f0cbe7 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 9a2eba308cde..703e4918302a 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 892a7121344f..af71ec7b42ab 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 581511e0dab3..a26bfb08c3f4 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 c9db87b20e60..84a72aaaa1e1 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 8c409a97cb5f..4c609def3d7a 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 e6a3e39e7c03..90acbea304e8 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 f122fc393ffd..96a53504624c 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 282f1124c56c..a6612f62df43 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 95e4ac6b0ce1..0da39885f5a9 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 b4899f13847f..0262db3cfc87 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 57fad9c13c14..b5721b163a09 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 80432b5d543d..4ecfa2d86b7c 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 6de4010fb792..ae23bacbf946 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 c315dc816ac0..40f9211e8c4a 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 0df41c0f1663..8e0f6a34e887 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 a926d9d73157..ede5be233a44 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 c9414beeff5e..6e023144d3c3 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 a36df3504176..d531e206449f 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 61bb9edad826..d49c67ee4994 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 8ebc37eaecfa..28b34123cae4 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 ce2f9e967d50..48f0d3a8d4e5 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 8fff93292c0a..6f8e166fce1a 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 bbf5c1522f81..00863aed14f5 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 78b2fc86235b..fc658d2e9f70 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 5c71b94b4f10..91e15540deae 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 54e7e987b1b0..27fb6f8f7753 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 463d12ffcdba..2d22f262cc7b 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 6863226c5551..036c1fc3f443 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 67a7c5cac0e0..b978aca8425f 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 3842cf9c2935..ea0c6dc30c97 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 135b3d9cd3b7..649ae0fe6e6d 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 3d40435145c0..46879bb97425 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 2232e47561c3..f665a8ec1b69 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 65bdb33cc39f..49ed288a1f4e 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 ca4fd2cb6433..29346e78b658 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 c58ca1e713eb..e1f6c73cbf11 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 71e77193a67c..599cd71dc045 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 d60c0d1a3518..570bea837d66 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 000573e2b164..676bb45105f7 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 54ea9a1817cb..e5383da854ed 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 86f0574f87fc..73262177ff7d 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 2af7099ce336..96c4e6adfa9c 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 632f9b761eb2..8ab7baed1a71 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 8d9d8f27cf70..8771ee193ed2 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 a35bb921358b..f20e0bba705d 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 641a8847e25a..c7bc46b6b529 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 818049573cf2..f35af71c760a 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 66a847fe189e..1247bd82fb43 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 683ce26b89ae..307bd2ad5332 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 17e4e42e557f..9069071511f6 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 7c1b5b784a9f..1d46872fc6b4 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 0d644dc49df1..1704f7303f05 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 973d551989e0..61556fbe1aba 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 782a55922faf..64a46aab3336 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 75120dac9995..f8ce4d954692 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 aa4a2d5a7991..e75d12dc45bd 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 56d226208cc2..52acda7c8d98 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 a6886b241cab..e6d7d031bae4 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 bebbbc2299b8..5d3210f40a8e 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 69de69f9bdc7..1e5ed4b815b8 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 8728d8c1b5b9..a18406fca887 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 a7c1afd9c70a..60e1c5ebbd22 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 301048fcd9c0..b7addf6abb0d 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 c3bd53e32043..cfc416343888 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 da37410b6d68..afe945b35356 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 ef0a94978db9..b217682d2536 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 36ed2c3cbb85..65d1384ce83f 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 ffba96cdbb03..ecc6a78e842a 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 1c76005a789d..67e80a51b8c1 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 ae9c944bdbef..7902a072509b 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 99a56ec563b9..be9e8d56a5d1 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 8a5c88de2c9a..d0969e50aa43 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 67c76c9f9e27..9a6433308ed3 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 d6f6681e97e4..4e73e92c92b3 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 b2e1e834d0f4..dccea77d8d40 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 abd073a0a01b..9e6849eca093 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 1791f6eb5ebf..1784ce3a5eae 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 062c1e5db529..5c4c71d333e9 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 273f7ae1716c..6f76f3ad7503 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 1ebb561df770..cb1f258fd21f 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 0237a6116596..3cce1500b27c 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 c46f17682bba..e6449181ec7e 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 43dd8390202e..3d433442bdcb 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 4e486ea8c5a9..a0971373bb3b 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 6bf24b18a9af..bf5947ee1475 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 ae1baa1f2348..764d002c8f01 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 4370f84d7294..baa29eedb8d9 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 1671e3518f9a..785e54c81bc4 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 2e9a3dd9b2f0..43cc0a0ef3f3 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 522a8331fab8..04fe77ab74b8 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 2630d2b7e55a..f75685c2c3ba 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 d067b41b64b6..be7b8c6b08b7 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 0a4449aef771..a519391a7d74 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 7c0251e59055..a6ef8e1dd6cb 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 1b768151e59b..17e16d5fd2be 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 58d1228997fb..06033a0336c6 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 a0b82b4aca9d..a82ff4fbf84e 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 f1e4e9e4fcbc..c287eaaba99d 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 1a7196956217..d1916102c950 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 090ceead970a..893361c59398 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 af6662988f04..edc2d8348101 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 d2d37a932f7d..fbf77532399a 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 05c0b4718d5f..a54e19f3dfa1 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 294845d7fa19..a1141f45a613 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 a3f4373faf81..e6f0db72888d 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 2704a70f4949..2ca9e75f06b6 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 afa0d4698d29..9a6b9965b79d 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 4ab918f9fb2c..246548a67b98 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 9ab2f5c89749..f728e8be5634 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 aea01cc8ae77..0a65096fa2b0 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 fc9658878767..289a379f8db7 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 811e8a0c08b8..9440e92248c6 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 28f166be751d..dc6f0698559c 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 a910e54ec4f2..397e6cf31735 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 5ca48abd090a..44547b0f1194 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 e962928dfe1f..e38228600590 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 fb65f8c98acb..d83ac9b803bf 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 bda24c4d3328..a2a5e136013c 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 2aa825df1712..c25779f8880e 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 047c130a174f..f99bcb4c1a4b 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 0c41fd539633..0ad3568bfcbd 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 ef4721e42446..35a4cc39d15c 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 22239ff361b0..f860b1795b35 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 494adcec4692..a1aa42549bc6 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 a60027587bc9..452274bef1df 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 343cc04b8fbf..35c700221eb5 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 8416b9419e03..35589a926827 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 df0e1c209dfa..0c114cd3d941 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 79dfdae0a1d3..7666bfce1686 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 0c91ec917a03..83d38a05af01 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 4ad35e901e62..58016fb9d0ba 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 409e4f1508ee..6313310ba134 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 808bea1941c3..69b6e1419b5b 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 36303e478e53..0894baf5005e 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 d0a5469a3c53..24c379683eae 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 2d31738e8851..f8a503c51ea3 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 e6bb7d110745..462a74805681 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 31af0083be16..8f43e77fb42f 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 0f0626e7c369..60841170d219 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 4d0a031ec4a8..11392490355d 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 0f33de16c10c..1abd84cf66e7 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 509d1b4f49d6..3f5b395bfd09 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 994ed13b7866..c25b371fb9c6 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 7ea5f3330e34..97c88a83f893 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 6262e1f63265..fcf1408e0928 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 d6c7747e620b..c74def74f484 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 31dbcb97463c..46ee3baf4eb0 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 23533e18d2a9..4af64ad378e2 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 a8fbb7e479d6..f657b028ba1d 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 daef1536fb83..84e8a1c22e4e 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 aff84ecb9e46..f8fa7665d1dc 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 3ebff7b2e68b..81e91791eae6 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 ea70dc2211fa..46a66e52b8de 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 8a861c67ce3b..4b48bb44e1a1 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 7610af09d3a4..5c740efa4598 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 683e41d4245e..9a87a251c870 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 32a1bdc0a0d5..7f101724018a 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 beaa18859534..b7de1f070225 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 38b773bccbec..37cf7429031f 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 d9bccd0bb5c0..600aa857d0eb 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 e95eae4b77c1..f2739643f7e0 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 706a3bb8b37e..52e6ed7db918 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 261c3813fa2b..7582436ecc50 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 155f9832e015..3e246e952b80 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 57819328fd97..27928b9375d3 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 9fc948f86803..3a77d020b259 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 23312649c4fc..adf7b91511ba 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 ee627d5583c1..0a47aa13d845 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 63d54e3651a7..39e3b124b9ce 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 5a51f4e91d9e..ac26d7f39475 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 cea24ce46769..68981d5ea37f 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 60ebf65c7551..1d96ed46c0d3 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 e97563b44c47..1056045316ef 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 683cb897103c..af7ceabbcfd2 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 57d2c6c80074..25ec1963612f 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 fb95d4825595..a203122969e6 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 73b07fe13f04..81903fb438b8 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 e84a61a41876..e981322fcf91 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 a45754c38f06..da22cf90391f 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 e612f4db6eb6..582bc43ac0ef 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 052e8ae7aeae..a9cf2ddbeaec 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 cf4153f35a1a..9ec029dfb8fb 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 ae42525425d8..5988cd5d1fbf 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 f5727f54df8d..f0288af96c48 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 04054a56f9b4..50f44f2903be 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 ba1720ed2b4c..8493bc0881d3 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 cf628516073b..736da98be8ac 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 5ef25d882d6d..1d209521c205 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 f61356ca749b..7f2d95e9c93e 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 af20a73238b8..70a2b06525f6 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 993f0a095856..75b97c10a18d 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 b2a8d5e1fcd7..2f255637cc8b 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 87314a5dddc5..da4b3f3935d6 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 082f0b3fab87..d08042c65494 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 4a03db8a4db0..d648ca47b312 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 56209d3a7923..bc467ad103c2 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 bdd12497b527..f9bca6848c45 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 1008975ba5be..d9bd6a18f579 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 b02d6854ea91..eb1eae56bd54 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 11270069f753..342c40dc0773 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 8b1d50055676..55e7986f2c34 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 72d37f2d3ef0..b793dc402eed 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 fe1b1911529c..da3f616a1d5a 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 e9a998002c51..8055ea5981ac 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 0f550c3f58ee..a20ca4328f52 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 21c2df4580ff..679566750d6e 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 2293255c6b8f..5b6ef67b4220 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 94fabd321f93..e3035825b768 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 a928f5795c2b..cf00f550976a 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 73df9f299d01..e3245ead67e2 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 32c8a1d04342..94a6869db231 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 f99c201a3dbf..4b1cfd6d6b61 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 0b77b3b73fd6..e68977d07691 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 85a51b2b8905..0181e6e25a0e 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 bd33e6a706e8..ff70bde76a5d 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 aa9efb5fb629..ae79b36f4174 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 887d4cc8904d..cee9bcdc457c 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 e16763bc9dd9..5a51cc671473 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 d023e2c39b23..aaca2297b566 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 6cb5346616b2..83bcba530b7f 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 5abb3c82b912..5d650645f45b 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 d48910d270ec..8706c3d5dc94 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 cd74dea83cf1..b7368eaecb2a 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 6b95b5e22ee8..eff1b18f432c 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 3adebe3f7163..9452e5705965 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 c4f2e4e02f5c..ba2420bbfe4a 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 3d4f61bde08a..d521869c9235 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 f56021dc8064..976da275b161 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 7b53cad87684..0d5dee2389ff 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 9f052e3b91c7..8c85b8eec579 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 a30fe8877b50..4f9e3f505fcd 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 a9d56822f1d1..7328f0dbf7e2 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 a5e12dcf8a76..6a06d6e87acd 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 d35ef8e8616d..8c017d11149d 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 3a9d84c58173..4a3d9ba11a7d 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 7f9ca0f0df1f..44651c8e8f6c 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 3df968e99f78..33a2ccd77ae2 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 c157368e568a..a2f13846033e 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 c59f3e5aeb63..46e59bdda5bd 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 9db33ada32bd..3ee3145ab891 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 20e81175cfc7..7485e8e6cb0a 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 9b34146d9a87..32621e8802df 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 3936a6431043..f60145c8820b 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 b8c25aa7c113..226de9bfcd28 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 daa66fdcda6a..34bef56977f3 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 d62acfdc026b..2dcafe5d32c5 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 813d1d3c143b..0368a3fda00f 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 d71fff152b79..282a6f74ab5c 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 7a5f1115d08e..ff257f81d94b 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 6e9a9b45c967..194338cf9567 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 6d85256a6c22..0d141b792bd8 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 ef87f53c8695..98e32242cf31 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 679b9691e61e..bf778b97bbf2 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 dbfa7a4da731..45da98d5a79b 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 5a01ac51d4fb..8c2a83467a3f 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 87a20cabceb9..d780bcfaa494 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 d4312ea5c8dc..4b3f4d0a2d27 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 e1d85397dcfd..d4c1eaef67ec 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 9cb58934dc67..2d231ebc3af7 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 90e83abe3f56..07e5e86f7b57 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 d4ced2cec1c2..a95a704822ce 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 e932b73f9cc5..ce9c27a6e431 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 d4cb239d34eb..954a7eacfdd6 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 dc7089729c1b..86ff344cebbb 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 5ab2b435cea0..9661a2602b85 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 bfb69e2a31fa..2681abb0bab5 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 b06caaaf1a5d..ecc51bc4a145 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 c6e815dcc037..5afb7430c080 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 337188d748f4..fa4bf5bf652b 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 314f58b29b1d..c5f8c23004cd 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 b11e37d1d3c1..dbdd9675c1ec 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 00052287494c..f39379dae535 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 210e74b26eda..00db1f1d0229 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 424da096230b..44686eb7980f 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 befb128bec8f..cdf29509d4c4 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 849345590820..49b4e1274ed9 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 fe15eb88a96e..c03ef6929104 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 886aeb4acb9c..763af6d1bcb3 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 2f456c39fe86..7c08f35b0ef7 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 2268d61631f9..7f76e746f5c9 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 9efdfb53903c..ce9f1090bae2 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 a545cc981b5e..e5c0c94b0708 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 e6016be2a7b8..2c54c96eed55 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 cea986e57225..2d47607a1341 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 cfe545067cf1..eecb4d05d298 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 5184e1375389..e034a5512388 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 266744f8b1c6..749567e6470d 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 9807d521b6b9..a99b7f9b50c7 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 036a79714a64..70bdf3e1d2a4 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 bd748400420d..277f3376f5fa 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 c98b98e250f4..58526cfcb784 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 86756c1a473c..5f73224a6e98 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 b3c527c0be2c..0515c523d869 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 45d0a0a1f584..7315ea0d6f9a 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 3a2885214df7..1d351e5905cf 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 2fc912f424f7..34b52d21ce46 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 4a83163c877e..ec86c3b66f45 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 cdc0cb09c6eb..c88fe85208d1 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 993768357e4f..bbaff126a414 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 cf66b6894a77..b5f8807d886f 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 4da640066caf..669af3f180e4 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 f561caf9ec73..ab480aeadf23 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 17fe1e7dcc15..61542efe685a 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 543c7fe2876d..7953e58d6751 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 f463af8ef53d..7534f9a063d7 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 ed4660f2aae3..b74f3f3d449d 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 9218e99db93c..b1321f1cb7fc 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 857d506c246d..f98e25c0f3da 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 030b33fe3c7c..631b209503e1 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 d908aa2ac4d4..0af4d55d9680 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 6a3c8186908a..db19951a71b6 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 c3f1eb6ef384..e9b46d9f5ebd 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 51d730e11b68..db8db229aba3 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 5b18d7f373ca..d3637fb8bed6 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 a9ea9923124d..4078f1df8539 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 f05e4be2f83b..d11225c5d8b7 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 61ddd4a236ff..f44dc3a3a3e2 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 9cc4434b67b4..3e1f94a91e1c 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 99350021572b..09c014d51f5e 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 d52cae864955..fc3d0373b8f0 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 73cf327e32b8..c0b693e11724 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 4eda6fbd47be..a94c9c1b736a 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 77e3cb1df29a..c8a1696c6e97 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 95370e0b49af..c3f8af643ce6 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 e9ffe2f03130..b05184e667dd 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 fd7d0bb7211f..6537dd0d3d01 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 37fcdc136835..67c31c2d37b1 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 67e7a52952c8..8c45d265c89a 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 ac574642d2e0..0a25f502e5f5 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 2de6d22f1140..9315016d93f4 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 4d6778db4e0e..e049a14ce00e 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 28591f2afce9..d411196af4f7 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 e3c9d9725ab5..5fb281312c99 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 22593fdf3f58..117be3493dc6 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 a5d6cb34f271..4433db46f271 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 4053221e05c4..6ea063d17333 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 db824cba87d5..99a6973cd634 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 2bcaa3d285f2..c5934ef69546 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 61bfe4696960..75534df2b90d 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 de82aae3910c..105f138986e7 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 154054d41cc0..efacb59da176 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 1711d7c96805..6badc1920224 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 791a77005a3b..1082caba563d 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 78ebe724f91a..a118db224787 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 a1da132f330d..60028815bf69 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 28c08f29d6b1..8a349b36bd26 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 193f2b44d520..59fce20daf2f 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 d8e2e299cc3d..855ccfecd271 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 ff82d3bc4e51..defe3a8f2e99 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 e0659ad9f3b4..fac175684764 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 12c1aadcd1aa..b907e9dafcad 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 9b2b3e71de04..0d5be3e163c0 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 c46bcc70e044..6782e0048f25 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 f3ec6dbfc9dc..9cdb1ad35198 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 4ba68c9aff64..dead988e9575 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 7de677ee22bc..0ec0b2b52138 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 737cd305930e..ac0fe5524825 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 f9630a326f1d..0f77af78186d 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 22f010ec4c3e..3ff3b32d9d71 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 c5e2c4026a38..f5e9a728d672 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 4416e9755452..05d4b8b9d3f1 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 86e066de978a..353e9dcbdce9 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 4a982e99166c..5e757e2aa849 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 aece86fbbe0d..7b97c88317f3 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 48ef7ab3c248..f12378cf3032 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 3f04caed3fac..dbe78917213c 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 a303d0358d93..1fc602ec43b1 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 01e6f97dabb8..c6e0e546c383 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 5436ae1d1b35..31982b16c912 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 4c7f7936af2d..6fa46690b8c7 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 3d8e62366886..5ed5fe4ab2ae 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 77e1a73d16f8..6227f42efcda 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 6d85c98a7812..6d89a52f260a 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 75709bc11fb5..e7097585e673 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 6e09c8129cfb..9806ffb022b8 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 f8b4f5713036..d5cb8d102de3 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 d039685dc681..41354e6727ae 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 091b5b070e81..28067ac5a36c 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 d12a31a2fc54..76ab10e81999 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 b168009e3795..efca7d46c1b9 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 93d7bb2c8f02..61f78f841089 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 3b131821049c..cdca30722e83 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 7656ae258707..a16d74784283 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 df04d99e4f24..188a7f8e6f0e 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 53a6483e8d04..8bb2a6e791ad 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 99d0f50ad7d3..a05bc61b64c4 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 410c6ce6f2ec..a9680d57c7cb 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 d243ef16d977..8f7c0f3dccae 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 3e5a124554c7..077f75b65f29 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 b40395403aeb..95e4fc94349c 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 d9fb0b41a71a..68414bf58cc6 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 d79f31baa535..e1f4630ee45f 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 4d9d4959d554..f0e9e5cb93e7 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 e8ca2fd5813c..beffd54143bc 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 248343a351df..a7712775982f 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 23e219273f3b..65492aa7585f 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 6ce05e3d63e6..fa284ababb30 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 c1419ca49650..512d386b6405 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 404db98de864..d72e55038e66 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 01570631a2a2..b9ff782addb4 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 1b155a8b6e7b..955757efcbe7 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 d8a2417a9d15..b0ff972c911a 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 4a077a982c7b..ccfe578def9f 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 aff211f2f6eb..42c3a7b6d728 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 bde349638e90..3987d3c54b98 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 8ff8aee18386..5f5600a01ff1 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 1fecd3160d80..82c02e3510df 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 569076627de4..69133bbe0dae 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 5df1d5d08087..50d1bf9cf375 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 a836673a9399..14cab6e14a7a 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 2aa56c3989e4..64fd98b7376d 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 a051e2c10c87..89e28bce59af 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 6528e315a1b5..039abe6beb00 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 a3430f0bdd55..ac35e1b60000 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 f1ccee9137b0..77b81491c400 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 f9b911d0b9b1..025df70eb367 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 def21b0f7161..35eb9328d611 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 898be0cd17f9..60ba714a4153 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 0036999c9372..bc409ccf2725 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 4bc87d19f13f..c8e03656f6ca 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 5b5422641521..e6ece1cb23fb 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 7aa44883522b..a80b2dcf3538 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 15b32d1e425d..7d341ebe9700 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 4ebb640ecc5e..1f6256226e35 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 4e3cb0929378..6ecfd6ff1760 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 84c27065c2c0..d0bb5d467917 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 322c60c43895..d8619e9efe18 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 8ca096cb12ac..c849e136aa60 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 40405ba39a55..0734a39230ef 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 8b752cf09878..49243fd39974 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 2b3dfa6550f8..b4535e40af95 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 8e42408bd422..848a98786da1 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 ecb11266af28..7cba0a09ddaa 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 88a0c4ce2ceb..d476f9ff2ee8 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 58ec9d6551cc..aff93582af5d 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 27bfa7c42d5b..2350d43de105 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 0e4c86a0ab27..3cb70173cceb 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 ec1a5625b567..fffa93e8c8ec 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 8fb9f9e581f5..378aff7d1f21 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 3b9ab82461b5..6355f398a2b4 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 d12db4236b6c..63c4bff8b0e1 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 a38a57898695..a41a3cc52763 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 8e3f6b78d971..295103043524 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 15cd62f6c9c9..1e639d735a4b 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 4583ac0284a5..fab05607846f 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 e2f3231fe2b5..1a132b2ea927 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 46da7e00b0d8..26ced4d1a5bc 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 4273c038ec60..2e161e34235f 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 f8682337882d..ec9bce64fad1 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 a5b399ce8b4b..e8b238312834 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 02f0416d1602..9c30bbabd687 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 4dc57e21c2c2..6b07be245a0e 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 42c70efaeadf..f9d153b42868 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 ef8f81af0909..b31cfbff23fe 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 5e7c21f0024a..bbe05d4a2527 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 ab954e4a8e90..fe61ccddfdb1 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 c1de9ea504e7..9d2aa00e9675 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 fe94ee0af7f5..1c8df6de9e05 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 85f9da6e27c3..08e4d4cd973e 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 e1256ffa9480..1929891a40e4 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 36ed49ccf4ca..add2697c9277 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 dc81802b7421..2fe46145c21f 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 5d90d370f3f6..cddbf5245b70 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 a4b5eebbc05e..297ccdef91b5 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 24faf947ff8a..e9113076fd98 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 fbabaac2084a..a425564040bf 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 254c00f36d13..f9ac17fc9b4d 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 41a75c47947e..b41f22e200df 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 d9c9e4c228a1..9570597c3e9b 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 920b832c0956..f4629aca4112 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 e8547871c28d..f09c1ab3e7d2 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 662d36233ad6..c956df64c6f3 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 77f6b23c3abe..c87e12edec90 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 777f86a835eb..6fbbab5c4b4e 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 5d4a21d36a7f..ee9c20d5ebd3 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 559be3226670..96b6434898f8 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 9b4a6e45a995..28df75e10123 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 727e6df1ea0a..f267be5b9896 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 62ca1f27ca4c..09055f5d7f3b 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 71e3224f468d..88e4d4c1be58 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 e4a0e00ad88f..7e1741865ab4 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 3c2a8056d8f7..8cc0ff1c278d 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 7d03e51344df..7b299c2ff803 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 4e3ba82d4ae2..17d0a039be0c 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 a8c940abd3e8..19e4a739fc3e 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 0cd3926c67f1..657bacbd5572 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 33aeb39fe6b8..6a7ae24cbc9b 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 9e8a910be999..6f30bb21ec4b 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 4b10eee760aa..6a3fc5ba8863 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 1e3de882af4d..f5ff7d0602cf 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 bb19600ca301..38cf6e1b21a4 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 f68abecc51bc..8fb6ca45ea6b 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 e3907932d4fb..71d0aae316f4 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 e567185ac5c4..75cfa30d32f8 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 03b47392a208..52c01d33a702 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 81bdf4de0819..71268e9878cc 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 9e8c8f237801..22923df27d33 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 40d77d8e5e74..4814b0bf37f7 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 81f07ac80e6e..17c61b5d9cd4 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 da8f829a3aaf..30fa435404f1 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 d236b84e1595..330bf90eeb81 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 b187af9530ad..ecb1cc74247e 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 ebf8805aa2fb..a507a45b3ac4 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 e141b5739f1b..c3bc0eaf5365 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 28a27eb20b5a..4411616a2e0f 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 b1a8a084260c..20e45a1b5776 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 103c5fc454e8..bbdc27958f36 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 ce9c971cc603..28b4e005a9af 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 7f2bf38e978a..10d61bf5b99d 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 f8e2af85a26d..e5129998ea4a 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 adf2587cca7e..b970ae51c6c4 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 8ec3076cba64..0f0a01c4be6d 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 9744b2e79e15..15855df52b15 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 ae5a925fe989..e046a434e860 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 96087d39dca6..b6420fc0e1cb 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 f99fa307c80d..5bf25b780f7d 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 035f0132dc42..94554a75bea9 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 c082208b15d3..37a591dea8bd 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 b8bb4174dbff..19ee4a225eaa 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 3923ffc2903e..6157dd6f6e75 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 5686edd5f79b..1e3463c6ab4a 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 46cbdfcc602a..1b7cb3d2615e 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 304680cfdb63..63325ed8e7f8 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 dc3faa0e2bc5..3cd6f0e7b584 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 d736fbcbb661..ad3083f9f556 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 42998c2f1004..c56e5a08086e 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 40abe7da6851..18b5dc8aa760 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 3644648d2544..0fab5473793b 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 8dee3d2286db..37c742d429fa 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 1b909945cc79..59805d55bbe4 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 dad443e5cbe6..8de8bb77951b 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 2b27c541786e..7de7f556f826 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 1f51192767f1..772b10d14124 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 ace061fb3157..9f149cb00aeb 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 0e1a2c061ed6..800d3f850c81 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 c7ae9a473b45..f208967693be 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 f7afa848c93d..42b2a1fb1ca2 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 ef91865d4278..a1f30437c941 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 b66586fc434d..a83fe883b4c5 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 918e6a012871..18248e683ff1 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 b2c4c2dfb94d..6c173da54593 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 f36258cf4ac5..f1fe77c13cf5 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 d221720a54e6..78e5f9fd5c74 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 085b3e2981c2..95797530b02e 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 0c90b7c1b009..4ccd3beef263 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 407efd85906e..b8fbbd5ca0c0 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 c07a86e210f8..97064f5b24ba 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 00bce07eec62..1e9b9b49546f 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 455715de16e1..702f850168ec 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 7da1c9b4dc7e..d8f1b71bf850 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 96e575d88166..56ff14a80bee 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 ba8bd33b9a18..90268e135a56 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 6d505fa9aad0..b33252816a75 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 753f67b7a42b..34c6fe651ea8 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 baa4e7b62d56..754c45156665 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 33f0b7ebc46d..d8dd93d84f00 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 267fa4134273..875e2780b57f 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 e8ef13f33d92..e5d5d8d32061 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 553311912361..46901f54ec5d 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 62c2d9d87046..542bb6bfa7aa 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 421dfb7deb71..f126364e8a42 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 85ba326c6318..b73ef52d35bf 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 60bcf7e32c9a..6f0864af74db 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 02ad2bd735bb..28ec7cb111fa 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 ceb1d60d456b..d30521b67495 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 28b5611f57d9..76c69ed7c9d8 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 6a7039f62e66..4047f1eb0fac 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 6fda2c825751..1edf0cbbce10 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 706f8198a817..492ebc71aef6 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 768010419a96..24decd9afa19 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 f70e1067bafd..bfbcdec416a2 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 0633427343a2..69322fc49a16 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 9d446b90ea5d..61bd543b656b 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 93298aec6a9a..eca7abdac415 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 b9ba0b3b3992..a71ad24ba291 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 1f1dddeff04f..01424ddd0c44 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 045db06166c3..4834cb6a516a 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 09a561ea1a03..ad0c1e2fcfbe 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 f0c3cf700298..87680c950e0f 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 ceaffdb4e01c..71d58d2acaab 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 91ab7abf086a..9fd6b74ce95c 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 7386e92edec7..e86f4f868d5f 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 90db9b88742f..0b03ed3a5988 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 776e66f4d8a8..bf018c164f1f 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 225bef962e50..6300aeb98f20 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 926bdd59ffd9..8dcec5efe355 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 cc8c5b4f7d95..c87679a2ca38 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 c24164fe040f..2c757b567d7f 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 700f9feb56a8..730b790a3667 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 9c12695756e0..5b47dc5d5387 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 761ad0a7cebb..d962017c012b 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 386b4546139e..4b81b4b5af21 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 641b48e3786c..7db99055d2fb 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 a372e2dedf88..934b041f4ecb 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 945a8df97218..323669c2b2b7 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 1b570b570604..04bdaf188992 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 80c5e3244e52..34cdc011e7fa 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 8e135dfeb62b..c56cbdf8ae4d 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 6e9405402584..0cc956cef1b6 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 f6e08f215ee9..cbaed270eb5c 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 5c2c4763acfe..acb61946aa83 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 67d5c817758d..2045caf320a2 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 a8a261ed96e0..08abc616abe4 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 60d25cb54aec..9d1faaabda1b 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 1c3cf5a6d00c..0cc925134863 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 22ced6e9ab53..916c1237e7a3 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 edad9300cd31..39fd441607e0 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 c4fa5da88a80..0a11513f0c2c 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 e7a8ee75a7be..93061619e7ee 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 36cad729a7a0..d022bd5d31c2 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 a11943919866..b93aba283bc4 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 aeb72fe21a74..542f18bbf317 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 6448d5d77f1b..b72ef3d5d389 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 aa589ed7ce8d..1fa49980c084 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 5b2dcedc1f1c..e26cdaa55bbd 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 e8ad7276cecb..8a53af7427a1 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 fe9a3741d5a5..3c4924a31d59 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 b7074041b850..848408a99795 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 578dd90f64bd..7bc1b8942bc6 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 051c5d7c8f8c..cd51b2320d9f 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 de88f9f08fc0..d85bcd411322 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 768305b1e0f4..ec6cc3c8814d 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 6a6ab8637a89..250b5ecb90d0 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 936751c45292..ace968013faa 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 1eba2261da22..fd670cdfc004 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 700c11504fdc..98637a0d319d 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 a6b5954b1823..7d1c8c944b6a 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 02e614bb5c4e..d1870fc82726 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 936a950c8597..97c9a7791ba2 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 c3d1f4041db8..c783be5357cf 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 4870c89cdc5f..dfa3775ac5f5 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 c7aec0d3185e..1d724b5af202 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 4e9b661343b9..030dd30f0732 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 ed99dfdede0c..537bd774d2e3 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 5f5e04abd67c..57963dbc18f5 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 10abe2c495a3..3d2ed3d94ebb 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 be7e3e3f1b2c..2da78700826f 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 1239d7e458d3..90e4a452f9da 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 d7901f8ec8c0..8a6a1b783eb1 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 408818ef95cb..c9acfc2ced7b 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 d6ae7d3eab3b..a3edc9569f5d 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 86f20b9e04ff..b5f753f9ee24 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 31f41632a082..6ed5020f40a6 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 732ba26c0037..d56c3fe2c80a 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 ffd1fa9a74f7..419fdadd7338 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 4122066ba31e..2278e50b504c 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 26b7f84b88a9..0c3719986d46 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 c2aac0e3aa0b..25d333a99c1e 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 d1a56d2c7bc4..a5b4caf0eeb7 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 3c4797546846..5bde197f5d02 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 11928d073676..c2b7d83545c5 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 c0eace6682ea..3654c9794feb 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 acf303de1e8f..d1012e11ef86 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 3705249d5f84..3e758e0534f3 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 ec81d65bea61..3886fadb89ba 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 9abd03735888..cab7d635d467 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 d3ee2701644a..266fa4e4d904 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 d246a780b3f0..0feaec104bb7 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 5ecc1acfdf83..0fdb46e0ea51 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 c0c254451887..d9bcd97c04b0 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 76b39d8d883b..71822e9247e3 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 13bed16ead1d..ef7ec4a01f48 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 40a9043a6713..d4f039f8ffd2 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 753ff1b4656b..f6d31d7faf52 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 0d755e9629aa..c014ff12c1e9 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 56a80fc6d1af..52a3b2d8a650 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 03d5de3454e2..a2560beba6fc 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 5796f424d2b4..66cbe14fe068 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 18a70cf200ff..2b1d9cc364ce 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 7b715ec8b70b..6b60d40f4e18 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 c28686d0f026..3e236b823b50 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 43b5ce81c960..1773c8205018 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 80ccc45653b5..8935a7d231ec 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 2c55ad481c02..2bc41995b203 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 376a9f43ffc8..dbae52ee91f7 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 98c7d808a040..0efdfb73954a 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 ca55746a9d04..16c296e2b98d 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 766df56c780c..7cd412ccf904 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 86d8e90b0a91..cda8504eae2a 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 a3e9ff1e12fa..53f185943e13 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 031337ad193c..7f7a73f20a5c 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 edc045a8466d..6ef4ca1fde0c 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 ec17821a2ccf..697d9dd2be2c 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 0069af963578..4e567324cd12 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 32448ecae50b..7f4b42ecc10c 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 de3894ac5c26..32ac654ed48b 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 551abe014beb..781a0d1b8595 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 926ea58986f5..34035faccc31 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 06fb0ba0c58f..b2d9029ecd43 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 a7dfb5c029c7..5dc93040820d 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 ae48c3498c87..6a1058e60fbe 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 c60ae7a7f4e9..9d4b7ccaecf2 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 2f12d103cf7f..1ee2bb8c7a2d 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 79eed5e93816..f6d6d4dbe09a 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 ca0a46637f1a..f1b3e35313fb 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 5cb3791cee3a..a510f245fb9b 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 518c9d0640f0..40d225dd02e2 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 0845631fb23e..9e97bbc1dfae 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 71214191500d..0fd727d34efd 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 1870a38c7253..2859a14b624c 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 a5710edca345..a55e3dfef7c6 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 8e48757e3bb4..7765ba61992c 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 1877e45e9ea2..87a29a5f8d89 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 fe1dc237696c..249a624f38f0 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 cea418c2216a..33483d6658c6 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 9ad291b0a888..9cd64738d2e1 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 0dc144c519b4..7eda6a546629 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 32e7ce1d08a1..9cb535c3651d 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 c66f8b299c32..c8414d6c5d82 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 175fb63a63c0..20f42fcbd2c9 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 a3f5b6513d4f..b07d01967046 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 4968de59a846..66ae6c679308 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 3cf280b7f685..c7548d31b10f 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 34b6cb019f60..ad811817e516 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 3c3ab2227cad..dd9ecf8d1ca5 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 84c411dd61fa..0333edb3efb9 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 d3c67750c270..a4108517a6f2 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 436e7771de49..a053be32d2f4 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 db387d499b7c..77eb27033137 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 0b919290e429..96cf121f5ebd 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 85a8e8937c94..d1f3c9b7acc9 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 d037077b352e..12210701c294 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 6fd5c8a4e4ed..789a9c644d68 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 fd9b92870713..cb97189fbd43 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 a5d20f088843..50c04073ef47 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 3f9083ec199b..40fca511080c 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 ee74571a8362..8ba1e094af4a 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 5cc59b7f9ba8..9a05975ce1c5 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 7ebd31eb778a..bdef0c438953 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 d89fd000a048..c619c48bbd5b 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 60e0e39ff96b..befc09a1068a 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 c677b823e2ae..4105bdc4594b 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 b79ab1414a79..fc49517e946b 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 9bd389bfe6b2..48eb48b2c7c2 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 64ffe58da42a..baa5026db4d4 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 50ef68ce0135..7d4618b3954f 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 10a9106439a0..a9eabde0b9be 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 c12242934596..c10a199caa84 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 b09e45ddbae9..ad30251c377a 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 19918b4efc4a..f571e1685408 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 0a9daaa8696a..32ec601fda54 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 6a48c07ebe12..787d3ef9577a 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 97da4a0158b2..4eae10ac143d 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 3343dc6cf494..0be9b32f5db5 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 750bec767f02..8e91f757d832 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 2d90419b8e81..30d4339132cb 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 c5930c124f31..5311151e99ca 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 197225a945ec..1555d0c0e78c 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 d607c74feb34..ddf1c5e0a662 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 7f4debff81bf..4b1ea0dff7b9 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 0704449a61ff..cfbdfad08945 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 e38f53bdac20..dd7cd490c449 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 87626a3b99f6..19a8be1eb62b 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 6c85c0b85f52..2d7f78f3914b 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 f5a9e3a771e0..1557b0fc471c 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 91c56743b63d..41900579d2ce 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 4e7ecc32a98c..fb02ff839a96 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 b1a460acd00b..40e9cc48794e 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 65df05bc547c..bcf432b59e9b 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 11a30a22b053..920aa500cdcf 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 73855c980e40..a21158918415 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 83cb20f28805..7051f9471d43 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 0e57ba46f55e..5934d1cef341 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 1791e9e475d3..18d38317d6bf 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 da4962f7fbbf..c0e57acaeb37 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 da99f5337c38..60ffba3215fd 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 38ceb67bd86d..5563d023e85d 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 1902ed0c7180..57278c3dd717 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 8652bbd197ff..fcf14346384e 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 617c6d351f5c..31bf48beb1a2 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 89bac1779aaa..48be212a38a7 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 109f87c79b0a..9addec32f884 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 d3267a9a0c11..b90235982ea3 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 69f9de351694..da78bb9790a4 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 ad0b120aaa47..9ee770b6ec11 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 b8dde266d167..668488f8fcc6 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 5c9c1cb66044..b6445b24511a 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 e062e083599d..5ef33d154804 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 cd53511d0eb3..4fb444ea01d9 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 e67b674d8823..0ad4c3189a7a 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 0523b04151f7..0ae71209c134 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 14fbbfd75491..b62fc7863f98 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 8af1a49206d1..2c9a0e82fb69 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 298ff4b4550c..6630060e0200 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 9bdd9396150c..5ba1507ee013 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 4b38b80ade19..aa44566c90a3 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 149c2597365b..a1826326fe94 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 2d49579645a0..a9cf6f7817e0 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 7b6394e753cc..a848cb06f38a 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 0d9d0e43553e..f7072bf80a84 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 a3507a4c458f..af40de9bbcb4 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 8f2da1e85378..fed7cc6820f4 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 134d3d4d41bd..df3931978068 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 277a136430ed..e86c9fa8a54b 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 6fd2213a0029..22649156693f 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 c0d3fdd93b74..1db5fa857801 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 cea0bc8a20a7..55b05693692d 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 82fbac7fe98e..391f9a16315c 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 b2971b0bbd40..063a5181321b 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 d65d22ad33d6..bfc3ec35e0dd 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 3fe6c371a210..0ad7ed66c3ca 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 6374b0205bc4..c0e936d5caa2 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 066c9ec553b5..1a48b62705a6 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 f5dcdb8909b7..e4ea396d6f05 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 d225f64ac5da..1b88561fdf2a 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 43f7788bce03..e12c676bac53 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 fef6f8ac6583..d6d14b3b840a 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 8e3e963a33c3..d6a2cf172cd2 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 d7cdf754a35b..eae3f6443775 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 91338a911e32..124d78fd69f3 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 580b8dbf1979..a684ad51bf18 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 a877b6c3dd66..050bf0b12e46 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 39f4867059b4..5a0e50ca3b2b 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 b609b8878870..fc5d4c669c81 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 bfe12980376e..0c1c3da4ffef 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 2bbfd2e3b73a..c0b7b93d91c5 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 db4e6b4de842..e793616d8460 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 747461a42260..6bb21bf72dfc 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 8d3edea5b42b..db701fb5fc3c 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 2e23449da65b..c7e2827648aa 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 2a89ce65d0ca..3bae85e0bfee 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 2a2dbbf2ab43..f73ed3530bf9 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 7491af7868d5..4e35f3ffdd88 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 20899e72fa94..b9fc069039c9 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 d24b723dc8b6..66717cf019b4 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 5735b6f79a46..eb841258ec0d 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 b6b70a41e25d..990dcfaba52e 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 50afd4d46ab4..ec40acfdef39 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 788ad818248d..71088acc1ece 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 35333065012a..4c965b58558b 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 afe7e78ccc3d..52c7bc8c801a 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 f2fb06184e2e..c27756dca777 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 e3ee68aec885..94a3fa1c34f5 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 3398cb9bfd94..116e9c3f2994 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 24cd2d3e34db..6cb4ed452ac8 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 34776d129ab7..641c623a34a9 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 c3abc2edb1ef..b66f353b125a 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 d09e32aba3f0..1dfe0f76cf0d 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 0322667a0f55..a9f5999c030f 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 0ca406586232..ea0cf951d709 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 3725ff0f0402..94a569b258c6 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 3c28bf88987a..32da7b5b7fbf 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 b908bf038bef..21679b7f53d3 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 0eb5c445165a..6a8fc60cf344 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 8191f4ff367a..f184a2f00fbb 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 3d79a1501d4f..21b6a85e1754 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 530386e2f096..e2b4f27ccd26 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 29a1cb042a1a..f2342b6f89fd 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 d0e5313adc7e..720893d635fe 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 4c2ec23871e3..d3ee95ecc810 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 1b9f0b0b0d33..b0750df0b394 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 059fb0df7f8b..3023de8fbe11 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 bb48d097ad6e..91b88403271e 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 5c402c58d1b3..47950e9301e1 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 eb437a81c872..1c19f1706b84 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 fc57932f3bcb..272f6b85310c 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 8aae519e766e..ec65e11d071d 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 b70aa085c1ca..2dc952ce4670 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 483cc06541db..41727511807f 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 e3239328a3fe..667aba36fdb3 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 bd4262701a1b..452186470dfd 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 ab5e6da5ceff..2f86341e110a 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 d67cf6e11f7a..9b9d299f4c4f 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 b3fd646a9f4e..37b785370353 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 f9d75ed234c8..ae480442f399 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 d2244d34e01f..58bc7a00b837 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 1f728b5234f1..f79260b68cfa 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 99cea34e7216..4f112b27893b 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 bc0361068bd0..eb517d8436b3 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 cf06ae7c6ee0..03b9ef9d3b48 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 533bc7ca304c..55469e7d7236 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 41cba5c3e637..e98178e2bcfb 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 beb7ebf02ec3..b4048defdd3d 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 1e59b8273735..019730dbcdc1 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 9f4480f2867d..d88df3b7aad3 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 bd7cd9ae2546..09ec6c4f3609 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 b7cc17993879..7e41ec7de22b 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 21e569d86c6a..cb7ef719f0a2 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 8fe149bbbf72..9a0eddf7d0d9 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 f6b60194f6cc..fad31289c6bd 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 83f38cfccdd6..b0b547a153c8 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 cc9cc57e4ae4..8901dc1a7cac 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 f587c946a3c8..9c3b341da863 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 5a73856c594f..245d2f38500e 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 b05a20a6c388..c34f7b607b73 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 b4417abd8c78..35107f11410f 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 ff4acbf14575..7c9de9c8e924 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 67004b5be23e..55d7a5fcbd6b 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 2ccfed123711..fc3c7bc57973 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 77bcb72bf65c..94fbf8d4cf57 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 6a4dca784b0c..1c814f75a0fd 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 8f4ff4592c64..1457fe0be842 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 b13b9132fce4..2f60a3c5dfcd 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 60d847917ff4..3ccfcc4e8620 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 cae5558a6bcf..dea67eed3754 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 63034452514b..4069cf99b5f0 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 76ccf8076261..7214701b99ae 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 db69db2deffe..f5c2bdceee95 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 7cd78dfb5648..e0115f1ef0c0 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 1a12df4eb044..babc381d40f9 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 ed4e55b0719e..2c1d8ec548db 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 0ac66bb9cb6f..dd3217971ba3 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 b7e91d60e5ea..2198e33621ba 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 3149a6f0eff2..10415fe6e9a8 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 2a37427daa28..26056237bdc6 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 b70e73c825ac..5df63baeac47 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 d5b547c6bb83..a6b294d909b9 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 e2b3f124e7c5..be0274165045 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 881cad27861d..5b189700fe1f 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 31923f9dc20c..a8dd3932a95b 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 9fe60d4fb9e2..165ac44d62fa 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 4c3a05064349..931d6a11dc9b 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 d6d7d0f13c08..350b58d9eb39 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 7b04612c5e18..8f25817cdd2f 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 ef05f7591a08..3d5b3ed4fd73 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 0f8b7a034214..770924c6c9c4 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 aa1ac1e35fa1..7e02a56cd64c 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 bb2ef94332ff..a9fc598b56a0 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 33cc07e8e539..263761832e44 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 1a875e0f0404..4044eb50453c 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 224e146d6986..ad6cd31815d3 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 1ccd7c984c22..eccc3434f833 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 0032d4b1831a..bb67015da78e 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 4508ca785be4..6219237d4a11 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 3c66d0d152ae..c1ccde3088cf 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 cf9f7286a6fb..2f4116a5c608 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 7d3ac2d97e30..4f664fb90770 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 af256d52523b..37aabc6b6025 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 1e4b7fda96a7..a253ebaa19e3 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 6b099204b371..99111b995df4 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 503fadbe0644..89233b69480c 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 6d54c0a77d5c..af818e7e93dd 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 eedc18bed2b2..01c017dd9646 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 8f989a1f422a..96ed0b73cf44 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 4771f97bfb16..bc523416011f 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 2916796a16a7..ef5694afc2fd 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 4b12632d8c0d..e9a6169d28cb 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 3a6ffe405043..3ba8e69f8506 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 03484437fb43..6a5dcdf8bada 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 86610739417b..b58dcede9291 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 d9acb7d0317c..a457c947044a 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 1a9d93a0213e..ce05d153b933 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 e6091008903f..23b1188f3415 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 213ce6af79cb..77edb06bbb2d 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 046487be7c37..7a2e6859b97d 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 e22e0186037f..69d64604183c 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 645a0562904b..904963750a61 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 bb3a2a1575ed..0b6ebb713f60 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 dfe1f51f0b31..d60c22ee0758 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 2958dc5d90b2..bbdca93e3b35 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 e43c9d6286e2..ed2e99a2a804 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 3a950ee7ddb1..b26dbe4fb1de 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 9879dc837b5c..7b7d78c9e261 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 1f671d66476e..10127bf3c17b 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 077200856202..2bb302e23e64 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 0915d6f3dc4f..2c0be575fd8e 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 f7f2cb77a71e..454b8f304129 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 91a52712d7a1..7fd76f67298c 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 028a7301a4c4..184a300c4b0d 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 aa66825283d3..99df66438e51 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 defd4f38322a..0412381e8d00 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 8c12edfb3a83..91b7e4a59ea6 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 b21ed16d5f88..66a82dcebd15 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 498479953351..d9288e3448bd 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 9052723aea14..0f659305bff5 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 a6a1fd6d3757..0c0ae7ec7082 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 f899ec1bc5a2..1b0903eb985b 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 7c72a2a09fa7..8ad55d96f42e 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 52b3ede28e54..cc8dd31cfac6 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 0b6c9f696c46..595d9f5c2b7a 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 85c715926dce..70057c5b86f8 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 1a6af2299f1b..40e47e1b184b 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 1726eabcb4ca..6b5e809769f3 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 09a6a7fe7b6e..9515115b5c48 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 73adf9ec566a..ed72d037026c 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 6ea6fba2772d..6ad1a8299c9d 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 1c3c5957eb35..ccb7bddd4744 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 15d084f5149f..b3f9fbef2812 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 c720cfceee1d..56e58034abd5 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 a12afb6cdfc6..7933ef65e6db 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 93aa9f28df58..d9d5f2b1294f 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 25778afa3472..cf3d81aff5c6 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 595100bbd264..414609f4298d 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 815dd68368da..91ccf3e99130 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 50514a8a4efc..0c8eac25a5e4 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 ae8ed28abaa8..0945d1ad297c 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 2b84ed17201d..d27d998719f8 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 60383ec0c461..d89666e503ac 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 21c78b0fedd3..55ba2727ad99 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 946424283e9c..22be8db07672 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 dcfd55b29df3..1288e9451f78 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 6e81e1a6eb0d..12208bd1e600 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 6f0ca98fdea7..b7ff1c1f8a7e 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 c7c081e28826..bbc3ae5ef594 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 f5ecbea6ca0a..43650449cded 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 4de3733e58b6..b290288c7041 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 248915229491..407fff9e02b6 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 7357db9661d8..f1a7ec886e00 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 a559edda2d66..5469a35fe5db 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 45e1b50ac0df..bccd007d41ab 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 24bc87751774..a14f9a510137 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 313f21e29e4f..8a9986457572 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 4f0469ec6722..17203a806252 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 a5a2bb713634..618d9e7660b7 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 ea8e7d96f1d8..e210095c2994 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 694f4a924c69..00f8af736f41 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 72291dd212bc..9a362a9940f7 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 1941323332da..92bbf28e1811 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 9e23b6a3d23f..04fa30bff594 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 d5fc36618a84..e9d12e27b800 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 323d7d257965..d26f91434e22 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 a3147c82e0b0..40327a94e66a 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 2e826764d11c..2509ee6a8bd1 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 d73c42ba5bc5..b63547dd81b6 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 7b3a2580ec46..ee40582dcc68 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 6d768ac0c628..158b574b4985 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 413b271de08c..bed8f74d0db4 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 e9ea16256aaa..6e1ade43eb3b 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 71c6a1bd908c..cbad79078bfc 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 4e2687bd3985..5c69a49037bc 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 3aa1c0425275..3c1889d685ab 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 0c349e41c5a6..5a44f94c562f 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 664ddf66c983..be4ddbea9ec9 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 8673c09a6ab3..da6dfafb4c3d 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 992aa9c155a5..83c31a72e1a7 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 8bea2591a382..7ab5234306a7 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 fe2ffc1188eb..65cfaa4b56dd 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 de9ee7f84a0a..1b1d08fba0af 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 0d6eed94d523..d61525e2fdc3 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 22e374802581..55639af6cfe1 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 ae865453e0be..6f86c37bd559 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 37173d0d41c1..224c69e6b2a2 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 1b2543f5322f..99275efe220c 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 64024e8d8513..ce7520ab1bef 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 d649be245092..b22e8c8d9c02 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 2f067366a048..d65f3f8ebaff 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 9eea52df0ff8..1d490335edf3 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 d39003264b66..65fe4b531fc3 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 4d9cce13baa2..8593da7b3f66 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 de1a9883618f..642d9a6871e6 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 b70467d06d49..343fdd532a06 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 75b512bdced0..c4d86798ec43 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 6571b6aed3b4..9f385c71af5c 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 882b41dc3861..92b9dd436818 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 f61b2ddb1385..ecd79cea9f82 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 9e013b4354a2..d88bde4505ee 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 1d39b8f5264a..0e8b2a139ac1 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 1fc8a1f7f50a..a295998b8b24 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 577fd9f2828c..8650fa15760f 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 a2d0d20c735e..b4c8e99e8908 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 097e855e75be..17fee433ec49 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 4095744075e4..5d9a2e7b24e9 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 b3dbc14c2555..c03d6eb9d619 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 90a0b07b9c53..f64b7d3b85ad 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 4530a9ed08c0..c90703ba8c01 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 ee1ff5645372..8757a9a557c7 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 c4de281e3e09..86ccd47ca7e3 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 e527dfa157ce..59622dd13653 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 030bc77839d9..276ab00f411a 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 5e07c42522e8..13929bb64ab3 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 618587a07b30..18a96c6dcfc3 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 6cb631345653..8e13a0f864a8 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 70d86df19e86..0614178c71ce 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 92785240baa5..730ce76ecaa1 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 46bc9fd81706..968dff81d29c 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 e8e4a2556179..aa9bc1ff3ea3 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 7af6f73333d4..6372803d28b0 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 3ea22366268c..f80adb04827e 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 9eff352bf116..1dd8a4f43063 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 c0d735c0cc21..b49bcb83b391 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 c7da5dd9ed2b..3a06ea6b8c9f 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 793a6fe3d5d1..7d549240b0d5 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 8d22e83bfafe..0a5ce8d13c13 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 ccf12c25eab9..7553b4b3d40e 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 538723d6c8fc..7e3f09c6fdd2 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 efa95b8bb666..bc008f0b18cf 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 8614528c8250..ee6a8744c701 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 580ffe23a055..eee6824118a8 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 c9cc39cc4d0e..5e0d4b51acbd 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 146dd6a3b041..f94f67312c28 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 a4ba1d721acd..f42f00397ebb 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 454937a59702..26da7ed09c5f 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 d319c2a0f5f6..1973a443975f 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 4edc7a6787f9..3bd538a22142 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 73b75a541e5d..c588dd4472da 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 10560545ec83..ed501c6441f6 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 9d661ab9d9e7..65b0fa646464 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 2d776eebf269..b24673dfaa6e 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 3f1346a0ccac..83ab5adf1e2a 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 851b34a0b290..a88f4f9b36ec 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 78522d0c31a9..14bbc5f1ed1d 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 490723924b92..58c6959aa314 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 7489dc5c48a8..bb72432dbf63 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 998fdb612a92..e0de0f2e6465 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 ea33e07b3201..f9d7f261c67a 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 88440c9333f2..dcc6f65f5ce0 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 85b5d32e07b2..a029bb89dc9c 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 a9673f32aa27..27f90c959d1a 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 4d1f5c51d158..0c07a1dbc79b 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 b4d133cbadfd..4e3b99b3d044 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 a8d555eb9a8d..181bd6f36396 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 49a87ab9dc06..c4c9fae35fea 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 5a02b6d64fb5..0dceceec30ac 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 d3e3d95c5cef..1780bdb58cfa 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 19201e8dc8ea..26c1d89f1ed0 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 0428df778cd7..ca481bb87132 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 bfbb305909e5..3a639a76e227 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 9126e437b6f4..04877780d5e5 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 2fc2241c5e83..65dd7d7fb96d 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 2f9d4a438766..95e0e0982b70 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 b3ac1da130e4..8d9a6a31cbcc 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 7385b8308128..1254480f94e1 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 3c3ba4121570..875dc566bc9b 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 d11e68c2f553..1402df9969f0 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 32b72e9eb1ea..26ed332c803d 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 d24abbc13898..a9bd49aa42e9 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 76f019636a88..874dba65c23e 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 4946d0bb47f6..69c5a0905290 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 744443a6c8ef..36685710f366 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 39bcf5892888..71a6f9f87d46 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 b0d05049283c..9dde4899811c 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 cc64f27bb887..a8f1957917d6 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 95302d6dc1ee..f811a1ad5ffd 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 3be8bdaa1e40..203525b64085 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 21a367f64b60..86ab996c4c3f 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 276e8deade59..61c14dc9fdfd 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 41d6515ef3ea..7dbdd51a138d 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 b8af953fa1b0..5455af143a36 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 4a37ef883fcd..d740dc63fa08 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 6e8fe33da0b1..54cf3063259d 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 e050eba11920..76abfb7b3f43 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 88a75e275611..0b0878cfbf07 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 af686715f0a1..dc3b55728a1c 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 cd4c948f0f3c..39d25482eaa2 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 2e4973255ef7..28ed2babfbd9 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 51dfac7ce939..4def105d7b3e 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 ce1ecd77f3ea..2917e7f7e71d 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 a67e3176342c..7a3908f601de 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 ce97b3227a61..8a1be35e2055 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 bad07cb19eb4..95e430f95184 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 9fea9565f270..c510f1e81234 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 1d7bad6b9605..02751127da25 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 6afa92d95a4c..10d3fc3e3148 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 3f713db4b3a7..47d64fdc7c24 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 9c02e3e52515..dad4af6921e1 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 c4a38ca7f162..9d6b542e9d2b 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 d51454253a4a..7a3d0fa91bb3 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 6e6e49eaca96..979c19efd8b6 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 15f9e946874c..fa481e13de94 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 45ebcf17fa55..6054f2b7d8cd 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 ecb73133ff0f..9b19e4362db9 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 0a98e919e84a..bc75c277af51 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 8ac591f710e5..4520d4297196 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 d960d548a77d..15ae644f176a 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 f1f511c0f4d6..dfc4f1e66b9e 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 e25e589ba203..8babb4757853 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 1ececb67d32f..6c814a52cff9 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 64da3a365a4e..da515011f23f 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 b6434a2fa500..fccce0a3290f 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 951c5a216248..7653ae9428ea 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 8b72022ba122..452b6e99cc67 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 e4763f68e947..21583888ae56 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 0b385bcb79c6..c7e204ac1272 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 a6bfe20de4a3..2f8028e96994 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 78864181dbb8..27328f6bb288 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 de9affea8194..8ec101461bd3 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 ec42a9aeed7d..70b948d687d4 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 811423546508..4b48f4605601 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 d57bd9e6cdbb..6aad6a8412f6 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 0dcaab70dbf7..6ff397e76586 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 21a5731adedf..fb54cab39b2e 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 4a5d9c461660..08a6330b60c1 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 348145e2903e..4f301c66e006 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 42656d4596b8..a9162d90d0e9 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 7d9968711604..4afb6823cdf4 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 591a7c2f4d62..499f5623d356 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 f03258f8c9d6..4f2ff020dfc6 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 6ad50450a328..e8e0b46e6173 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 65d038237f0f..55eab251af7c 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 8ba11ca674d1..a031f62e8d5b 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 b7609ff46d7d..2729b2fd27df 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 a0246a87df0c..eceb0b0fc0fb 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 85aa174ee2f7..9874b48ea0e8 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 f5285f4cd6cc..46ad8c0a5598 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 b74c5b12262a..6b1f8724c98c 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 f86f09c9a09f..0f808cfb87cd 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 310f4bae66fe..4e84ac0183b6 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 3885176fa67a..29f53567d3ed 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 3ac3bb19f72f..33225ca570ec 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 f55ed85eee68..84d58c3b73d4 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 57f2c2a810f7..528a7d6c79e6 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 de1774712581..0b8b3efdb201 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 bfd64c1b191e..df87dba31442 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 f359e5923c3e..5cf1eeb8258e 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 a7ba5f76afb9..de2a789092e2 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 e459075639aa..8e1cbc9f7323 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 b30e90228cc0..040a6945ca30 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 207ad7e5db5e..ef66e8ce2d98 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 2d5dd06436dc..5704e84c8b33 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 51069741cce4..4e24a6d990d9 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 a335b65f9c69..6660b9d20612 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 e51187ed2bbc..d11ab7e4f664 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 ff4e3954c659..5d430504ed9e 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 78d22aaa68a6..81e06689e67c 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 11f1c3c73462..4968d761b24c 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 d08cd8ed62d5..4e9bd9ff16e9 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 379b1aeea312..0c023d4e3c87 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 f9320cc0acea..eb0096e7609b 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 b07577f62881..8c8cd9697476 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 0ab3c7f306b0..f79b742fb003 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 4b9c115ab4b0..ac10e29ecfe5 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 80b2c33b5227..b2c4de6b3003 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 03b2bcb11fef..db0ade3c76a3 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 fa744ef81364..cd3cf04cfbdc 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 3831105beaba..ef5d3f962e20 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 82ad14c21c2e..1322b6d08a04 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 8f120a0bac04..be4ddb8ea154 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 9d3bfdbadcab..9eadc4e831ce 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 f7a1d259575b..11373ec1ecac 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 52b5fd4b7436..6b1ec8febf5e 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 b6f1bb765a5d..79d1c9bf415e 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 a6839909a696..81d5ae3ff995 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 04bb42a15d64..bb9011db7fd1 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 a05bed05450f..940c00be9949 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 ff1d02cb5377..560c51b02177 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 e38ae63c46f6..9a0f2b3b5296 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 622814514c3c..5480fd93a10a 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 b5f249173cbd..4571ad785c4d 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 9218f42fca1d..e50a8ca34391 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 242d13583e53..494e904148c8 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 44a3f45f5445..7f57423b204f 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 cd5c9893b9e5..cc74b7800709 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 270fcd83a48e..09c9396e46ac 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 3241eb02b210..4500d338ebd8 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 3a291461e5e0..b3d151b904c8 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 e10ba9c80972..ef031fd584fa 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 1b7e2c4523cb..227a59116093 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 df335976654c..7473f030e547 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 33295b5d6125..b428d5c3816b 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 6791a93e962b..37cbb236af92 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 e4142282b22c..0187d3c79c7e 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 8ae748859643..4713b0be44c9 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 78867fc59a04..e19240350fa2 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 5eafec2730bf..a94ef76f6079 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 8fb686d9a45f..7cdd28d15588 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 09b9e173e3c3..77f8f602ecda 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 6fdd24a4cdfa..9291a158c648 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 1ec89ac1b719..46759e74857e 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 02feb6443057..540d147e7ac6 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 8213053e6fec..2d4ffee42159 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 6edb9ec38d18..1963b6ad3511 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 241bb1823949..ca852b318c07 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 f06fcb7df729..701dc58db966 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 356e47b4503b..d11bba8af43b 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 794866e765ac..18918ecc851b 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 c4b22354ed2f..116cd32a42d9 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 3a455bcc2fef..3ee7a45a1469 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 476444f6470c..50821f3c6dc1 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 f372bd926f9d..4609a1315ded 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 b43311fa3bd2..50e0d43f7e1a 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 960f3d00bbfc..19c3c9aee2d4 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 f8aaaae843a0..40ea03a40043 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 102b70c714cf..9c4e352c86dd 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 80a57cc0e06b..daea55e4b22f 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 0e7c01287b0a..7344afd31cce 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 bca34f98cc12..f4b1b4405bf8 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 6b5ed92cf128..c92e3d3d2f0f 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 7738f522fe60..cdd972a8377e 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 6b24fc499ca4..2db599737be3 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 bd164a651452..faf379030501 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 5cc6ef9c3e42..6ce7a72015c5 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 4eb8b9853b8a..01aa7330f18f 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 f44c218273a1..9e76fe4406e6 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 83e873d48402..88189b58af60 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 a8294a3a7ce3..e4371314743b 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 c0c5fd9108d9..f3f862ef8368 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 753c17b7d2c5..2ef129f89209 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 5de2f1397aa1..d6846405cf77 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 1c2d47710498..b5c48f258005 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 294ceea4d0a5..5acbdb2636ae 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 7e104b5298db..10602b3a3943 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 99c86219f3fc..2d3247bdd02d 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 3a9c8c403efa..fe0985910a76 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 5ceadd948ce3..c83dde49d8fd 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 161d79fae506..f8aa4d4c77a6 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 3bb009fcaf2b..73c6cb81e659 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 b820380a9f0b..0744bd7bb7cf 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 4d8db3f096e8..f2b3969f6beb 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 6aad3b9596b3..293498a26f1e 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 4e63c47ed4aa..3f2007a0a9d1 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 6c61abc30b22..b596e4870a07 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 d6c306024504..bb6aef26861b 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 d28ec8fda5ba..25db85ce5b40 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 ab5ce011b847..d45ac31691ad 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 7fd967480feb..2fc63d4b7bcd 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 fcb2a5ac6933..ec4c60960b09 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 04cbfbee74d2..d997ea161f6c 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 26e5f3652fec..247440f91339 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 b1794496f2cf..61a06fe8cc98 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 c615204af35b..c597e03cd8af 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 42c87548b51b..06d85045c4fa 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 119aca9ca00d..3ba35e6d0616 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 7f8c5eb37159..fd08eb827be7 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 7a3e11725b6b..ae1adc58fdad 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 eeb739427fb3..edb1df5a10de 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 1b9c03294ee7..e7771333b3f5 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 599600ce19aa..d775d7b7a47f 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 aaa474f019cf..928965ae6da2 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 4b1faf3ea851..be256fb97586 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 29fea8f661c4..29506f2df976 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 d9de26adba01..c6a74ecb2943 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 48db216e971c..7466bc68d8e0 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 20e96fd62f84..a9f3e1c01f76 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 b522ba3432dd..111eea6e4ad3 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 6e26ff6d0b77..659d7d447b9e 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 e1856f44ae68..8415bdbd2601 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 6c5125e6e935..909f949c3b18 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 5b2fe482c625..e810e7d80bd7 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 f204f947027b..5f0e8c05bf32 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 d5b4d109293a..390f8e7db69a 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 b8fcc39111b5..bb9f31319410 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 b565d5873dd8..7b178668245e 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 f09186ce1e56..e212e4e42426 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 c4c657a0049a..e14e22376ff2 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 77a5f61d60ff..8b5141548c2e 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 e6ef60a684a7..023533b52a17 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 b89ee49d4697..a347ae41c871 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 da233f69adb6..e8fd4b8ccab9 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 362270d5ea61..3a079a36e985 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 9e98b39c20df..df11f1741598 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 1ac568892563..22d38fb73c6c 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 5b0e5a8c5a18..de4418f7cb44 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 079725c14aaf..eeb58b35b0ba 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 19d238db1b78..dc00bf5cf6c6 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 3fc79de0b7ff..c7d4059b41a3 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 74785e48788a..ffea1f6700d2 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 84a86d5e5dea..274d68e57f46 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 3949e27d8134..1ba622387544 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 b9cab7d9fb29..cf1072462aca 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 17095330dfb5..eb53a2e57a1e 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 de60ca8cfdda..75f8b37064f9 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 37c0ca3c8300..d854ebddba04 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 9dd14933e0b1..2125a813435a 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 76eed2590adb..29015f6f7c7b 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 2cfe281faf02..10bcb1c78a5b 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 bef110789284..54cb7a2e1aea 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 a540a7a6fe71..997e99db1d18 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 740ea7144612..ea27d094ec5e 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 d6755f562ef0..34fa40bd7e1a 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 10dc75e30c4e..b23137238f07 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 58d5834b6ce0..ee0bbf3b6bd5 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 5b55d7a30f05..7b4af254c12a 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 15d0fe187c52..7ea99cde8a6f 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 e2ec76a95e7c..480fd9a3648d 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 0fc4088aae77..2ff72fc81e6c 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 27f2c181dc4b..a67386b0781c 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 e0f1bce1beb4..4e0dc1373306 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 5854a8eff567..1ebd45b27e86 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 d24fd5ad8cd7..58a6db707524 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 4063144ce87f..f9993edb14bc 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 265bf03224f8..0ab5751b9756 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 b8f6b0d3b035..0465c2a876f5 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 5675f58b7e7a..34a4e35cb539 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 a2725172521d..323a86ee8182 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 0d61e749bb32..2bd775ef4665 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 e07c229819d8..1271c4707d46 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 e983532e1a44..408a5ad24abb 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 ec7343bfc72d..1bd75f74b82c 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 7fbb6e9498eb..d4e1a147e41e 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 b7dd70cbc98c..0b7e3d0dd82d 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 b1ac037e50da..f388039d7fbe 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 39ead1400e0c..e066832906eb 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 938499d058fa..bba2bd803d7d 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 ae015465663b..682373c0027e 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 95ed54e8b6aa..f14fb90b9135 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 593586a4b295..772fbf7cc31b 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 d89ac85a0a35..de0e3d0f00f4 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 be530c455bb3..2bb1b6a70720 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 339bbff97244..202a2734be61 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 feed39ba5866..f3ea9cf5ab5e 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 2f2992382434..636ad7f5999b 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 850832e6c90e..2bea8c1eb765 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 c3381e3c9e74..37f453bee141 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 ad0dba0651c6..5d327fd0f38f 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 4b4b3ec6b3c8..d36da2bf2cc0 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 b3d59bc74e79..f58ad17ce068 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 5f257ca9e239..b64c8ca18562 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 d22b25b4c459..8a279fc8fe66 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 e62db084df1e..998c44c91ab7 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 57149eaceec0..4c64d1dc0131 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 3e347908b82d..a07282da8f16 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 88ba455fcd73..d40fe3282bac 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 fceb85b2592d..9bcef747db4c 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 3172ad87bb4d..a9bc7d1c1252 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 9b5b88a93da4..501c26518f7d 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 477b37f81a20..85c635858dc8 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 1f84b238de18..918b882cc9a4 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 37c996f8abd8..935707f7f7f1 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 7805694521f7..c81593790981 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 ba50240e0afe..538076434dcb 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 73fab2ae819d..850a29a0aa4f 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 19a97719d09b..a3a7875dff73 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 d79862f3f352..35cbb71e1a17 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 5758570f5449..b46321ab713a 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 095571b3b8a7..92872c419b89 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 5867a63b7e56..632a23cc0e5f 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 059d8027250c..2721c2be5910 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 830605a0920f..5999c95ec097 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 d430ba0dd1c3..a655f27fdb18 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 5c1e2a21f8b9..33d26171c51d 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 17d22928e613..58fa01a928f5 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 b57362dde843..fe96007ad5ae 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 12627c6b4f98..b8a6b58b0177 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 d58f082daf45..ca161ebdd210 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 d91f1309b1e5..3ac544434e23 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 0210f9a68835..a75cd8756d42 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 5c69556d57ea..6c799ffbb523 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 38229a0c34aa..d3a123213fc5 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 4a34734e3dd3..4ecf74daa3cc 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 1ba020ce4be8..7994c411936e 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 fd4246e8e255..38e8058e881f 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 aaa03af2e1e9..d8f4157a7638 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 a0426a807391..26b560abae4c 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 af54f48cbef4..aba1bbf2f807 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 50349015dc21..90d739474b6c 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 32e095fd682e..8144b15b4912 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 83477c75de19..de43883afffd 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 25cd9c9576d6..451d6a1051d1 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 4a15a1341098..68457cefcc05 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 32126f32ab57..11ca2e951fd0 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 13dc942c4310..b3d97d2a67c8 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 0797a27f8b4f..d7fc321e014d 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 72efdafb9b2e..546c5c22f9f7 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 c1d7144b0046..45c52cc0bb7f 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 c6993da7c738..93b052a255ec 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 7584eb1e5358..e26ae32687fa 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 3528df27be57..a761e71b483d 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 08496338569a..88b0c5cc7705 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 a432a47994e5..7677620f02f8 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 207e4ffa476e..4f6688b57160 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 a592fd6ce7ba..ae32ac5eefb9 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 525fced8bd58..ec622e01002d 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 760d922c182f..c9d213477594 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 da2b64437120..994b04ed750b 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 53d938b2917e..cbef2d2020b7 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 82b536334f15..9aa69d804f27 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 88f7d0166445..dabdd9e1b5ce 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 594ceba3082b..4adb12c45219 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 7d06224639ec..788d59250b89 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 11d498db8948..a7e0edca2731 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 9c7110e43195..689bd86673ce 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 38f5bae496eb..c7a3deec759d 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 db50c5ea0191..95d6f3d4c017 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 0d5e9260cac0..d5145cdf5e8a 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 03c0e6b02834..e20dd45c92cf 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 50846bc6215a..25fe3be9c238 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 7f69e52f386c..17921148dd80 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 5b62d70831c3..1abee84b3414 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 97347d2ae61e..f5f9c9a5007a 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 4045cccae4bf..ba59179cff1e 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 1699fac9bf7c..a7b600cf6251 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 dde18240bc8f..376140baafd9 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 2c5cf2d75be0..252b26318c46 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 d5d7e761f362..c01c775736d4 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 228b6c99bf1b..8d528b96a727 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 c5101891308b..e1ee892d2aeb 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 ec0937d71f85..1191459d6b14 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 54e5a8f64732..39ebde9c4b59 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 592a952bf411..2d8cd4fc4348 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 234597a90c72..1aca4a844415 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 fa9de2a81b83..852db013ca00 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 baf0cd9f3a2a..2bc93e26210d 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 37462843f12c..555e6edd431b 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 cc06a9f8e9b0..d3148fd42d69 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 7eb6e6e5063a..47e426821854 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 52179e573f02..a39b2399dc8b 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 6845307719c3..f5700fc985e8 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 e13a184ca34f..a6c5dca8c98e 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 00af2e839fd5..beab1d9c55f7 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 74728ee014f8..a140944c0c04 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 93c69fd8a72e..17c13f2dddd2 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 9f5fe57de702..02b13dcc8e1c 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 f5a6b1a04bc8..0c83d2955348 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 ac0c2e829793..a3f824a75c88 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 52a060644fe8..90167e88c637 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 e08731362038..19400fc3197e 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 b95412d7f6cd..13cefc106cda 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 582c1fa2ba73..e3028358dcce 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 88c21c2cb33b..39cdc93facff 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 651a3c227066..1056839c896e 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 8d7dd46844cd..49b8f29e1dce 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 9d9a1c98a7df..f3c9f4fd0a50 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 3a48f6d701fb..c93815dbb01c 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 37cd4e752a2a..d6a1332828d8 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 c026aac5cd90..be312afd4639 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 8adf89701798..fb7f4d27cd49 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 0831de9338b3..45c1a2535821 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 2084ae12c64f..f5124fa4f950 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 3d111826bf94..d154804421d7 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 6af28b569cda..e17a9e98a0d3 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 d796b81a11ae..cd7f83d3cec7 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 9692239b4fe2..95d52d12e9e8 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 cbbd498e5382..47751fbe26b0 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 cc08081188da..02ee0eb6bf00 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 5b800cb0f4b7..30c64580d68b 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 7adb816fcc3c..a9a45f28797a 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 1c666fb5576b..6761f70790bd 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 b899d850fff1..541cb6c58b38 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 6ab20f71b3b9..8ce74ff04282 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 95fd1e20dd06..39f783da34a5 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 0c11484aae67..b976fd1d22f6 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 1cff125451ff..addc5fe0fff6 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 7ee8f697223d..54dcc5ab0214 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 583cdb8aa8f5..4b2ae8e55f2e 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 06b153e1f677..e67e951fff79 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 89ce7bfb7001..d9f94d5513d2 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 64dffb2bd3d9..bab31eb4afa4 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 154c347a16e2..0a09c398d084 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 1d900915cbed..58807f3dfe47 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 e83ceecaf9c2..7c2c0cd1030e 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 2d0be30db49f..094f22c9ee89 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 79db32a5edaf..0dc155cdfb5b 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 9129ece96b36..c695a4dbfe88 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 bb8019f6a860..37df8fec5b8f 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 59b7e3966c73..779f6481a8a5 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 ed3270bf267e..7a88aeea9486 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 031718da4040..3e1ee51dabb2 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 b446e98c98ae..6441922e14b4 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 254a56f78226..971038a4129a 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 a53bd967978d..dffdc3f6c2b5 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 2c5fbbf49b73..f254e7afeea2 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 d5b8a7763a4c..c143c3ce63b9 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 106528712c77..5574ecfa8b97 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 11c481cd0cc1..20b3136410ce 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 37b9fa25b2e7..91cdf0cee528 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 796467d6f3a8..7a40c343d75f 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 15d487db0387..c0bb5cc0043e 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 ddc8f88e8cb9..7903888ceb90 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 647a3ab7d9ed..eec0aabbee6c 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 7e1e9f6ee1ea..d8c27f035822 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 54ba58dd7eb8..f6bea79ecb45 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 aa0daee6e871..bfec3745dc4f 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 aae05c39385c..e2ccbe2feddd 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 4b3d1f0f202a..c5df8fd13090 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 87ade191b789..d9f275f5e6a6 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 2bd8c3bd41ec..e6a14eaf564c 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 8cc6a9616bce..8280bbb340ac 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 5f1334b2e4d3..e9ca83579dea 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 77837d887001..7873d832f79a 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 d377eacc00f9..12d187de5d59 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 d91c772ee34a..626584d01e3f 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 6d326a24707e..6ee21a5fd5e0 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 6c407284d49f..7792ede0bc35 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 222ea5b63cc9..bf9b4ebe359b 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 a19c0465ea96..9ef2689944ef 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 91bdfe2b3608..72e5947eb646 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 fd3724a828ff..1379f7d514a0 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 f6717c44a8ed..7e414d44c85a 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 840f71733c05..16edb597eb30 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 5e53616b7dc9..8296f7cf9cf6 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 269302b2237f..b33dcfc98477 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 846a32265f1d..af8d10a477e4 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 758f5d8a52af..6ad89f694ef8 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 c5c634016736..58054a83a4ed 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 6978ede34f28..52fa115f297b 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 2cab025a0991..e50cec0c5b31 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 33485779700f..dc02385df0a7 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 d9b4fdde6a05..76e58df99337 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 c11a4dd29544..f6f97e4935e8 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 d849423a61d8..ed9bfe76b3d8 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 f5d25bd42937..ef3007644774 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 1001a2675360..d6faf992f372 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 0b124e8fc811..34509e6062da 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 f967cded1298..4ace100c2606 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 8608f9f3a6f9..c4d75594c001 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 902af920f176..d27027100827 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 a428a775dd36..f85ddc914495 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 15dfd54c0bb7..e43c6bc6507c 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 e0a999f47cb4..579947577a73 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 b48c0448c19e..43526cc2408c 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 a00d40b0c5b8..052844834843 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 a9e5ebdfa6b3..fb14f3a33455 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 72e207685589..d7719fe8801b 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 c739843a7618..9411ee65032e 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 ec30fc26fc0c..11613282a23d 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 62221dae7658..cb845067a99f 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 670c8eee7405..1705090718f0 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 282c02d63bb0..1c60086835e3 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 518c0eebc11e..1933110b48ec 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 ab950f8bec8b..1bc33f1c8443 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 1486b44f047a..fb534e108ed7 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 199539d16fa2..805045a87944 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 72f3c0caf8eb..d831e103f93b 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 66b637c08c88..273dea8b9f0f 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 3b14f7c043ce..37be7f8fdbdc 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 007c9247b5a6..8d70da272e50 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 260682e29080..44e0919c64d9 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 3ebd34cc8706..a18f21fd1847 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 f0088f603ee2..ba3bebb234c0 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 cce6c391ae62..eb4ba797bab4 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 5c7c805b4ce7..f73b1f9efec7 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 269843b04940..ac918a75aa94 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 feae4a0d920b..b824513acdb4 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 160faa8615e2..d0975dde3fda 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 f2278d886a02..69551c5f7a18 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 abc1dc733ec6..04c229035bb7 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 a9ccb649410e..b3ec3960fcff 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 e27a4bfe86e4..fe65914af41f 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 51e425b9495a..0a5099999976 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 1c7b269b3910..93b5750666e9 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 2a8d58b8719d..aa6a6a05655b 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 0fce4ed18b02..d730339cfa08 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 34bfef913004..f27d2ecaac6b 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 3bf9f096ef70..34146af9f0b2 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 2a3c4112dbce..a4abe771e2db 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 c1bb3df362d7..8c567f0433da 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 834bf1af0451..331a5cac152c 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 9d4f70ddd06c..e242f20dba7d 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 7f2c94a02fb2..7719ac74c8b8 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 8291dfa5d173..6f6bd684ae8f 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 788098f2f074..ecfbbe21d307 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 3d1c077bdb9c..068441581081 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 6c9ff93a6dfb..d5ea5164dd23 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 98d7be8b6622..4624a2f58fdc 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 f845ce133fd8..fe9bee640644 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 be100503d073..92d3100d6b8d 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 dcb23eff8206..c76ab5468b4a 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 0be55956d8a0..f6776664f225 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 d11c6e92224a..812091de73b5 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 88d9b7a5e48e..a1cb7937a9c5 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 4b2ed4e32321..dece237f1536 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 181bbcc6d1bb..451f70dcdf3e 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 6f13ec31312a..4b5265f6416a 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 133bb318de65..bc16d463a37a 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 c0fa8fac5536..7a189e3c9c28 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 678ff8e226a2..03e854d7e291 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 4d89a9583453..b5f66dffc2d2 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 c706c04370ed..ab29ff5c0811 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 7c5bc4efa383..ffc7343dffac 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 065a20197f9c..0c61d1b653d6 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 9a0ea11760ee..b9c11884340c 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 ee7c7c999998..07b1b02ac9e3 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 dc87bfba2e15..f83a6f246420 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 77ddbe71173d..28336615dc29 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 7911dfdfa456..331997472b76 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 940e4fe25cea..edaf3fdbcae6 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 5e812d6ceab1..783e5d3ab5c9 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 b29b350ac333..fffb8d4306c5 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 c4aa95e9e570..7d8a99117799 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 cbac8173152c..8db48d5c76c4 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 7b62a7453f91..b017245905e8 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 985d9b7cbdac..db6a8ea2d86f 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 1cc8c1980450..92dbe9bdce93 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 c6f123657a13..73bd2cdd61b6 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 5e7a3c3f195f..b9b3e4b481f9 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 5b592cdc75ab..d21f57fabccd 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 7f9d2b211a49..0c87ebcadf7b 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 b33dc4b64742..d681b9cafaf7 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 173dedaf22f1..59037cbc5119 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 60be68790c95..38d196586561 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 5f97e8816f6e..d6aa85852714 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 0c59702d81ca..4515474a2927 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 7d981f74a5bb..5033a5aa425a 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 f1e1cd2fce4d..ee957ba52870 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 8dea76a73b60..4d03f9b64a83 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 42be8d8802a0..78a0634245e1 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 1304c7f9a61a..8975431b0338 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 b6ee578021b1..11042dd38fdf 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 c2a5e98253bc..db9a56de087d 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 bfd75b0b7e1b..fc875a6b7434 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 2df05e64e4e3..9c1c2e60f7f4 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 583e2d44adc5..fb4e5aa1bc66 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 9cee4d3330e6..58dae19f59dd 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 4a1b8e998c41..e5d26daa442c 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 c1dcb468f0fb..ddc4a9437c45 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 793e4caedd5f..3f57001e7f1e 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 d1ff4aefa265..0c55e5a836fb 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 ea33054eedbe..1d63a34a4935 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 96dcd7ef2db0..da9b7982c508 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 08fbba889d82..43eae98a9e68 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 a6a64f006c9f..372dc4b3bcd2 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 18c5f14af242..506ab28df9d3 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 df55887f6d9e..e5a9aa2f87b5 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 3d1c1a20a1a6..e717278829eb 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 5d6d9ad61cb0..a640c25c9da2 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 f73c7ff653fe..a4f03c5e2617 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 217b836e63d1..c48e93c4a570 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 7716ba4d28a2..bf7cc1ea2808 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 c54c03a48725..a9cde8cfdf30 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 107f84ddae00..2f42a89466da 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 ed5ca754263a..db96050cf1ab 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 669bf3a81144..3ed50297ac38 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 64ab1832eb16..7f93b01c04f1 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 486be4871e04..df07cda706b8 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 8783e0b08a02..ed49e06caa05 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 7bc39d2a5eac..98b139b0cb80 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 0004f9d34050..cc13e9a9c866 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 2be3a0f6a93a..51ddccce1b7a 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 d7279ac09359..2860dabc0bb3 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 9de37524aebf..e1010d2972bc 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 8face8577ec7..5a30cafe5fed 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 39f15b6e23d3..50197c9ad520 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 5114189a42ff..e44366d62026 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 a5f9f2dfb981..68b59630a02f 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 765ec96c4a5a..954d59cdb5a5 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 937e5389d713..4114c63fce94 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 6b27306f847b..dddd38771d45 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 b775d1e4033f..c4fec7841ba4 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 eef2f68977e4..f7c2601cf3f9 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 250db1b72176..b94389f51dbc 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 b3850007cd8d..a2d965b385ea 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 dde37de09044..a3fe80a2f255 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 16546a6587e0..3a0108263747 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 97208006d38e..652f3714a9ed 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 f59754bf0ab5..fa32e5b9e8e0 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 130ef48531b4..53dbf10172ee 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 52007307b336..ed08efc686ae 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 c29ecac2eb84..ed2789d4a246 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 8bb8de0d2646..0631b5fb2cdc 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 af527c01171c..8c9891f98794 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 1034d499dee8..8f1c50981c5f 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 6b3f2bdd9c91..a07ab4855dcd 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 0ffc28b72d66..9b85c39e3269 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 d256902dbb8b..e660a32bc9ef 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 2749433deffb..a58915b7b632 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 8d9216030e81..22e2fdc5cb12 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 411166183409..3432503f628d 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 615026c0af29..da5172a131b0 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 b46fe6af0364..62b2b0634006 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 040fe028f88e..00f58f5b7428 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 cca1bf093119..9475695b18fe 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 6fc84926c655..b26983207177 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 3e9067d8378a..a4114c5eac34 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 9eaeceb00b07..23dde41555e7 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 e32666cc2e92..f91997bf0ee2 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 ae48703988d5..dc3ad8d7021a 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 65d16758cf41..8a944c10f1fc 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 9431927c4957..2331c218b9b3 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 6df9f60d4983..a4f7fd8fcd1e 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 cab68017e575..48854b5d71db 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 01abbbe13b08..f1d0e0e72a05 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 d30fc308e7d8..c4aed954f4b6 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 43de68cb5258..2e36e57f3e59 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 8b4503f4feec..492a97210608 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 ceb6dc20f217..beab12d7eec6 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 39e31ac7ef4e..eb0ee2a1743f 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 425d1ca7e929..22036facdc2f 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 e97cdfbd9a45..3922e55d960f 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 9706570e0877..1336511c271d 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 906a32e9e91a..2edd11db573a 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 be70d8ad8e52..ed31b28c58cd 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 c8565477afa6..07dccb8b3ac2 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 78273d1146cd..da4ab78654a9 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 65e60ce8b8b2..c128b2109681 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 1d2681022865..de3237128082 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 39f8c75dc851..b8d8bcd19ba5 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 68de8a43a4c4..a4050f3a2ebc 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 a12ea9378249..89b0b80e78fc 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 ad953283bf55..4e69ae7ede6a 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 c1ceaa848708..952db97a4665 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 9c837eeb10fe..ff338faa6ff0 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 7c21b2c5b1fa..f4204bfca6b9 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 04d1b0b64055..1c79ffca2b12 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 bf398c9e976a..c9865cbb4a68 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 ea35e5c3431b..c921858533b6 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 3b226992ef98..ac34a0473e6c 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 f06774ba28a8..e500e3fb4857 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 d54005b0586b..5c57defe7e7a 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 c7598e36201d..0923cf4f5cf1 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 e2ea905b165f..91f45c366402 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 6373494407ca..1c8eb7ec97bb 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 6c2186d62843..192a3c86e919 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 f066d17a2830..6637caa715a3 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 b3d0f07e2773..6aac331c681b 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 38311212e339..76ad769b5bc1 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 d233193620cf..2fff3dfc4e0d 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 b45c28516e51..dca574b46ed4 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 98228ef8c940..2b0b8f337675 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 172147c5c9e2..c0ee93867a8c 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 9d5b57a7008b..6e502054467c 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 d9eef9feb339..05c2f0539141 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 56bda7e14898..df549efa9750 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 1d9a1471e3f6..3eb59558d746 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 05992b5d64c5..46f84330a646 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 6ba57b00405c..b42c87d967fe 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 7a27fc3ad7be..11df675e6484 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 af0057b0192f..7a2b08ca0fa1 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 39f742035197..e9d92c18f577 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 e3e6b88e8cf3..d8d6053686dc 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 ba108d9cf7af..7225031baf12 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 c61c40fc2561..7ea01827f889 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 bc3ff4e4586f..e7bad5470a1b 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 d4f8952fbeed..eef0c8b6e25a 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 5b62bab8c3fd..cceaf1c50660 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 56145bfab19f..fe4741d561e1 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 c0dcb51c863c..17b57e14cd88 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 ea41977731c4..f5051d299b74 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 77c1dc1888ef..b9b014e19c71 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 f41514c8683e..89afa1704486 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 7c60aa825324..0e8de0aab01c 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 ee3cda2b47d3..079019d7f52a 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 89d396de68e8..8808a84bcb5c 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 72760f8e6662..f25352eef049 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 9c05b36be41b..93cbe37ec7be 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 72385a96c69b..b11e5ce6edbb 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 475a9036f4df..e14b886ec8a4 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 43ddffdbfb01..ef3c9edf9ae0 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 c3fe1eacb6a6..9e6aee27016b 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 2730d952d54a..957b33e0ef75 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 3f3ea175a633..0b9857619ec8 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 a44ccef9f999..d3c8b77b78a2 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 0e137b385f59..bb5056ac8ca1 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 25d73323180a..15788b037087 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 eddd3ae88b33..d847f7b05420 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 e32b42c06cfd..d64d37d1f387 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 2a5be8404605..56734e6757a0 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 d0b9f051499f..facc35645a60 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 6972aa28841b..7676c44eeb4b 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 78ef68ca8ce8..96ff5c4df62f 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 6106d2c1239f..0397fd479da1 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 f82c63bf3982..db721a72ba47 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 43caf9d92804..fb80202e8d47 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 5db58ae62283..02fd3cfcc07c 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 66129661663f..3092dbc6bb77 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 237edbdee911..a2f260bebe57 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 248e29b5869d..4d6706fc6212 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 47750e72bc23..9810a6abf986 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 515ac781c6ce..143ce500f931 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 7f1c73d1b35d..3653626cfbad 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 75f0619841b2..efed7bece780 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 3dfce37428b2..7aae0f2924b1 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 49939c1d256e..54ea9958c0ef 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 7671aacfbfd1..20dd28098450 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 944c31c83a1b..7e79978d68a1 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 5b4c6e411aac..246c78443dc4 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 b507e08c33ce..7b0f00da184b 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 05b366cf4311..f27ec0f2132d 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 5c492d5d71b2..b26ad28331c6 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 ff689672de37..8cc8864849cd 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 f3ee51440811..21c2c8714095 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 affb195e080c..6e0c144fb6cb 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 d680273911f7..e5e8160c1296 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 cb9481839486..13e1f7c6f0ca 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 abb67c8bdd05..4cde1f66154d 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 7e3691f41acb..bfe463c73dbc 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 7d69504c30a4..6ead2c00e938 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 c05c12ea8aab..9d70b473ad23 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 f4f49e3c2f60..2a2a0ef76726 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 2253ee7608f1..3cc6600a8f5a 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 0ea105f48b4b..4901c76ef7a9 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 18c19a5c7b1e..755d682a7218 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 872ef2a9834f..bae2dea95375 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 fc674f0cd30e..3d3b2ed75d46 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 5da4474b9e73..d2d740febed1 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 33fffbc37e8c..122da339edb2 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 445a2b8c667a..8b9cff2a2eb2 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 bfa9ed434780..09b40182b463 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 79d6f429eb0e..1d3d3077b059 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 51c907b5605b..18de69a2fb87 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 9d01002622ba..d658eb29209b 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 a7ff54fe2cce..46819a4d2acd 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 36bae238852d..9ea3496741e0 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 3645c6ce84a2..734d94669d02 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 848f8647cbc6..08e917c9ab8f 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 7ee191607428..77148f3321c2 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 7ea68395cc08..02d316fb35a3 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 ce64ac49e42a..2cca787ec860 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 11e486ec5d43..4aa353e5b07f 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 e6eadbef57c0..67571ea7c3aa 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 22d995b2dc95..878f044f206a 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 4ef405ff03fa..4d9682f905e4 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 f22bc23517de..2bf71586d570 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 6582608a0170..67fdbcf36e2d 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 482cad824b4c..cae18219adb6 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 91ea35e20ab2..2a6ff6ba3b5a 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 aa54109e1431..c370566adc9e 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 b0a3646c551b..7258b1eb2da3 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 cb5a3410627d..9b6bb76df579 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 d8c9aa3c4654..4ba523bd8aca 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 e5d15a042751..cc76672906f0 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 1ccd9ca81775..c76d63101ad2 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 dc170dd2af24..c1fe493266e5 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 e383087cec24..646334486236 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 d4f239626779..d21e3c278ec8 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 a10e34bbe861..f23be379387e 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 7cd5d2cd486a..388ebf1958e9 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 a8b39103d915..14e8de95ea68 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 3df2744b63a5..3ada7c1c25e2 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 375e896e6f48..3f6a07d57706 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 d4c3dda06791..a059be52ce32 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 a8e9188e4bcc..97918da1f1d5 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 43c03bd4ff4f..558e3631196b 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 1aa69dc6325f..8db10b9ed797 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 bdb872de7757..c013c1f3fcdb 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 fb0db766cf7c..d6a87563347b 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 f648e6b01b17..65354a840a3e 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 66e0bdcf865c..4e06ab1e0f97 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 8d4863ee3489..e61daf282105 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 d5241de87198..5ef71c905bb3 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 21a2f4143abf..9bbb4cac4d26 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 27c4f09dfeef..e98ff5f5c1bf 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 a9a88c0ac9a8..4df0362e86b6 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 7c8dfe428dee..ce4b4454bbc3 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 4b8f77917628..38a00228d855 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 a655b3b41ef7..ad28a4ad0573 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 ecef4e642349..3d4f4148f5f2 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 bda4d2bddd8a..302955b8d1a6 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 12d25de0f2e5..14041ece8565 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 3f297abbd832..c4316faa30d7 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 e81acfc74ad6..1b93db5d9da1 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 b2adb84f01f1..aa0ed2f2e1e4 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 8053e5e32430..81fa4e378aa9 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 19010582fc33..3bdb4aa4d7cf 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 5dea6c08c242..8324034f34f2 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 60d9b34f13bd..ea1706ef8f2d 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 4da32f4c6bc6..8a8df8b59b35 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 7877738f002f..e68609d66322 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 b41bfa595516..55532fd8dd8a 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 0b4f6f4c3695..ffebd847b978 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 3fc56f4ed291..1ff5559f7150 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 ac20a4ad9bc9..02a9bbc02905 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 88699721fba1..324e917e90b4 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 58272c8a88d2..3e6a667aa467 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 ee025aa03784..606ac7c2300f 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 9813d38c1a7c..eedfe3caf136 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 2f3c05cf6bd4..902eac22557e 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 b0911120cacc..374086f0f74c 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 ce970df78f26..62f31781023d 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 5bd91296d732..8d15f9eee73b 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 611b8bf433ae..e00ece72cf3b 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 d33583d6e387..b078375826ea 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 d96d3eef600b..0ea15589f135 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 fe92c187997d..814bcfa42f30 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 b96cb8ed2671..51db5cccb6ce 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 45526f51da2c..cf7796676a0a 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 71579e1cb1f7..bfa66897069c 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 8aeb9d6a03c8..189b551ca3a0 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 cda4fa15b0ef..613dd316d7c3 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 05c25468e55b..11585d811612 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 65624d49d06e..2ccd8530db43 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 00067b3e3e4e..39e5d31e598e 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 44a1be74e436..bdb72506f8d5 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 da0d252be390..62185d81f653 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 01d878d99e92..0447266eedb1 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 acee7322fc8b..bd5ea53bd635 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 da1e90aaf3ec..870cb853b2f4 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 b261914d065d..22a9f4db8a67 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 c963a4163418..182c5fb6c3e9 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 a868cffe6200..32b31c5f2a0e 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 36c19c7a3684..ffd0fa500ce9 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 9fb556cf5452..c255c13bd2de 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 ac5a1c77002d..5d4aac54f212 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 79eeae2ac7b4..4d1c2d274844 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 304ce38f31f5..f3e3bfe4e8fb 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 7fea8909da3a..96da28ca0b33 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 9d3e72603edf..1879c8713ed8 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 b2cb0ad2e98b..b593fbe1f9c8 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 1eb6283582bf..efc1070faa8d 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 1b9e7e00e5a5..4d6311665eeb 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 d80722aff5d0..73c1c184f241 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 3ef5ffdeb39c..630d93eb288e 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 42d90003a386..653804cb930b 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 1142d2d29bee..b8fb6a778d1c 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 e69dc3b20310..a66ea6066ff1 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 7f429955e04b..415f9c9924e0 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 af572d12af67..783698a6695e 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 cbb07c16d68f..2fa534f87acd 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 a878fa914895..8f3faacd853e 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 ac6806237824..33557bbc6f4d 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 245152c6d771..72e3a59c27ea 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 c4101e234d02..0eb750db5a41 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 3cd32a8f6fdf..6b2d7afbf1ba 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 9ce2f96218ea..cea0794b79f8 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 5813e9de9de9..789e4cfbb379 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 ce9a9397fcf9..ba34ae626232 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 3a9206d1b0a7..80f2a7eec1f4 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 ad407ef88887..4587741aff52 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 c1cd0207e339..c496e94aab5e 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 8a973001bf43..ed8ddf3b6773 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 796e32f917c9..d11aa24e55dc 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 2a523eb98991..af481fee0084 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 68ca3257a4ca..f5af943a43c4 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 f6eadcdefff1..54b856b641f1 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 1d399539e53a..bf132ecee0ed 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 289bb949b58a..dc82d8341b97 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 ac8dbc07c599..621ab595d1cb 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 aadfbafe8d8f..7fa92c3849d8 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 5980fa62e12f..01cd5e0c38c7 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 011f31e660f0..7de2365397fc 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 1a877a12212d..50a168b2faaf 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 132f3782312b..09f4e0ad5250 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 42655c29e4be..7e62d3b39a2c 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 13fb9699752c..40bc4ee2232c 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 17f13ae5bd45..df67a12393e1 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 9ee2edbaa6bc..cbf70d57b561 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 1322a8ad9cfb..1c0ecab1267a 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 2c7d37f40587..2718cfbc963d 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 d0d2f35ebc39..140bcffb2f49 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 aa43bed1a56a..44bffdf3a684 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 592e25e1d9a6..cbd841e39b3b 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 aeb9d527d850..052bcae5a364 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 282c488b7fdf..ad5fe89b37df 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 d0e030b2d87c..c8536e303127 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 39fda6827b34..b7a3ec684ad2 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 80bda110ab07..f7af0f6f0b68 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 fbcc5a4e52a0..298c3f2c5d78 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 1b6cc1a94f15..9f102111e778 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 2dadbb297fa8..0c6c85d648e5 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 3d5d9df17726..f7b6486b7cc3 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 f473d1e2cbdd..7065aed5379f 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 f7acde1b7875..639ec255aec8 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 d61f1d986b8f..387988819986 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 3597df41e82c..d7214137ab4c 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 b4b5731518ae..0594af6fe586 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 d74c17560905..4d3acf264f8c 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 0e81c012b79b..4a2a344079c3 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 5b153db7ab01..06f089cfc849 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 98226a8e7f09..05958b98f268 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 6ca855ed3801..12e65fcc12a4 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 aaf7d49981b0..3b8e862eaa34 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 ad87927c3a0d..4416e7123942 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 463a2e0fdbad..35b91ac44b58 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 a7974dc00d96..f8657aebec4e 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 4d87654390d8..d8363466cbb8 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 6d024da8bd05..7387b51dac00 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 8c5dd7fa24fb..9439ff565ce1 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 49632efaeb8a..027fd9cbd018 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 f1d695e578ae..f6137dfd44cd 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 3aab1a226ad1..bf5b6a2a6340 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 150910a73180..747b4a962549 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 cb7f20b7df84..da637eca32d3 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 a37de836e8a8..7a13a17b48c5 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 a489ffcbc0a7..fbfa5a305d98 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 f93a7456b0fe..183a60e51453 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 2d0c6e48bed8..0bcaa2781b40 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 2b158be0fe3a..12ab2b32d488 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 b4b0039fc0e1..4fb25e71dddd 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 bd4b3d7e4cb0..9926b52e7770 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 f638c173ba4b..1a156edb5c59 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 cf4f2a0195b6..9337b57ff92d 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 2f22e291824a..e61875246cf5 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 58fc22c9be21..a25d695c67a5 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 cbd17a92e789..9a2166136593 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 4baf2870ae33..ab35787b51b0 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 f0fa550df496..110570fb87fa 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 534233def0a8..7aa3960b364e 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 d072041552a5..8219225c9733 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 9a2d0e62d544..20029bf3385a 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 23a3afd3127a..d8ecf8a21ed7 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 484c87451289..2381d4cfa7d0 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 00a1deb3f001..d8d02c479013 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 1e30facae2c6..2979f76d0a1c 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 94e756f3246d..1b1bd30f4169 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 975fb9996e17..25fd997e480c 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 a3990b08c7c0..b4547e92b9aa 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 1cd913618694..9d10144d86ef 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 ca7a8425c909..afa89afc82a4 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 70b75c639736..0a66157072b9 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 89b19c67b6e6..960f462b640f 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 d5a8921e5072..d6193b6e114e 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 06f28359ac99..c7a454012891 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 c2a6db8094c7..07bfc44abb82 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 c6f146315778..cd4100f04aee 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 8d97c2b88514..fa7beb5fcafe 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 e0361739a542..c243d05a5198 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 4d33f6e6f137..4664a65656c2 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 5bf9b9866874..80004fcb3526 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 8919cd14e734..3c73271465f6 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 cb5eeea2a06d..3b46c56dc405 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 482d8c5232c8..1e4e88337960 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 1722dff45f29..9ce96290bdfd 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 cdc5a2b28ac7..510149d5470d 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 c20e4c5e99b6..612fe289bcae 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 c6787c2a67da..40636dfff08a 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 c689799643b8..291f1b80740b 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 d06f1ec952c6..b5fcff2f5a92 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 74e27b109484..bac3298d4aaa 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 cd0bcebb94e7..ff84da43df6a 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 caf8ae015b8a..e47dc50bda1b 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 0d3793399581..5f7e1d7c90ee 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 d01dd16b002d..c12893761f55 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 21c3834fb03d..2cde8837d8fa 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 987c7524837a..3084b0df3bb0 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 a388b5b94c90..6b53128b498f 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 8547b8f20a03..de5423e61796 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 a2e8320dd489..315fed0329c9 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 39cb65ed3d80..de496b69a841 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 1010358c98ba..695abbf9e618 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 3ee05d731905..c460776646e7 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 ba10df2f38c7..535363ebe00f 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 d6259baa52b3..a80f0872de73 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 d035ed3f0c77..61bda6aa1439 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 3fd7c65436aa..25643ec17d1b 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 09a1a5174500..8e1b6a264834 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 9d6636672b3f..4a322b61afa1 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 8e6ede0ab73b..0e6179bc3747 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 04499efc30f8..593b4627c6ba 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 f7581bf43d26..d1aa55797e6a 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 204f92d54412..fa47cba07bd8 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 ab263c5cf77d..8a5bd553aa8a 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 a83b3088a2f8..8124df85c12a 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 d2e79575ef2f..d96ec68537e5 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 03a9be0571aa..a212cf093adb 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 35015450d4a0..e16259e3019f 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 c37bcd438368..1df910420bc5 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 9b8720d0c37f..21e6724762b9 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 b0bedf112156..aa6b0e183030 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 bd8bf00255b4..87fca63d7747 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 e26ac3c49253..901a33ac2cc3 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 a71d383ee595..18170a3c0f47 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 ba651d879cb8..0e68f9c40e8e 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 b8911eb4a8ac..c4a8462c226f 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 d5afe4a66148..b5dd6842151d 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 9201a3a2671b..a2d6935d9091 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 29c874857f53..7737e12cdf2e 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 a00bd0d98a1d..4808b11a82e1 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 3dce33c3d5ca..76b0580eeb9e 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 0f31d92e2c97..cf7770666a68 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 2df02624d2a7..04618f55f037 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 f77728c9b280..270d03b4c8f2 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 b3807639b734..a9a5c3be40cb 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 aa9965cabc77..1b32cbcc4079 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 a1d2e7b78b3c..bc75536ec567 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 5a1d2feefe52..f5fc9055bc76 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 2fa665f772c1..52d537ec8678 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 8423cc959965..e5db0406813f 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 43c99ddeebff..5f2613516691 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 7535751eefa1..d75375205091 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 4aa8c80b8075..4d2157c60db9 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 b1284caa7bd9..9552a3bdd7b4 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 f43e530a8ba6..70062bba477a 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 e2cf5ef9c803..e4b5198e2cf4 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 1d6d9d9042da..7429f0728389 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 8b08b0b30f98..e8396f53ca5f 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 d19c04551a00..e8ece791a9b1 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 e8d02692bdd5..ad393c36373c 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 07fabf79949a..026a2e33a64d 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 d947fabf7c69..3e1bb67db7c5 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 8e76bed1e396..0bb958cd4e44 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 dc1c907712e6..6b2faf030524 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 85c503e8667a..611fb31faa3a 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 be5d4a29e19c..8dce04798d59 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 0dc923f5b824..4205a081e796 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 9614cdfb1eaa..d1af63328fb8 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 e3889129a8ed..1cbd8145d31d 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 84733e6d9735..716561f86b38 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 5630addb11af..cf844ec9f532 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 fd0ef9618b00..3019a1c25488 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 936b63bda9f4..6fc2235d6a7c 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 d92546e0abc2..1fc50a890ed6 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 367451dc5672..d010b69aa768 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 bcc8a18a29d9..a01adfa19270 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 2340425500ab..aa4c58b9834d 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 ac8631ed16e9..4e7131f0fb90 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 3135420e5286..a21706ac3aa3 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 954df605a38b..089ece91bd23 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 a715c8e68a94..afc789157dab 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 4c9651e41df4..020e06eaf044 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 b2377d5d76d9..c32da48983bc 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 c86b2d2d2f0e..e2f1470900e2 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 b3116fe1d504..ad10fad50565 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 d7a033d9f4fe..4db6a54a07c7 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 80302cdad24e..e1f4a01164a6 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 70ea03c6fbdc..701fe52f0f35 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 b20c1eb24e45..28ba48af5078 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 99ab0cb81cac..08fe5e846405 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 776e595458f3..534e74e5f968 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 73a74cfb27eb..42d1d88e953c 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 46a79b3ff951..a2e3746d4f18 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 3467244221dd..bec04a7219bc 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 1a7b75ca82c1..f9efa1573f17 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 7a4ef7a9e384..ac39eb827570 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 6c599bf448c1..1c8fdce15225 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 18b63e218be9..cf98ec97b25d 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 1452d543edda..6c71527e903a 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 b9eaec85cb1e..477753f2afda 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 9d02180a23bb..b8d460d8c0e9 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 f9e2cdf023c2..0adc8057ff38 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 a2eee5e524cf..d4ae3ef9bde6 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 ba41aa5a6464..c516180616d0 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 9a3f0235b48d..719002821847 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 cfa18a0f575e..429b0104a99a 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 33d951c70037..e7c5101c72fd 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 b56ab2d14f77..40f13cdd0135 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 aad5b5b6d06f..1cf938999a6d 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 7123615e4570..344c2bcae419 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 b1889690facd..b148a89577e3 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 afd2c4a49ae4..f3a888da9889 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 ac90d36252a1..74f65d0196a6 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 79c826b6d283..55b1b699c346 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 86600a3110da..891dc4c5b553 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 ac1ad304380a..dd096fceaac0 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 aa08855c3eb0..a8523684ab71 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 f92e7cfbbc89..95df0c2049d4 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 97752c4f6a77..4902a7acdab3 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 afb1a1acebf0..8e160e5ca683 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 3ce8bb1d96e6..a4b7c3e7b5a7 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 6e73f6de4dbe..09ffc8572693 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 5e125f2051ec..183734d66bcd 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 98b0a03fdee4..9c98e6a68aa2 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 4e9ec1bf1607..06dff91db464 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 8182ce40726c..61c710cd93bf 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 5bc16cc76b8b..0eed62e579bd 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 47a29dbc89ef..6d13e055ff90 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 d2a0f1b48fc6..4ab4b38259f2 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 ee0b84dfe97d..d888930686cc 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 936d0e4b4c92..e72f8dc82f96 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 19053a5ad7b2..4b417885c656 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 ab087344f692..62a207d4c8a1 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 732f21975a50..44eeed73dedb 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 1e30290b77f2..2a2760e40a33 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 d2c6adc90388..10f5e461c0f5 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 7fce38c93dd1..5739a125209e 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 5f18a70018ca..245feed988ea 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 c9cfa369b919..8cb234e4e64a 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 d1940dfc438e..801a5f3f2ff3 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 b014792fdde2..6e06f17108c3 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 78ca4f177a59..ef0f95082e4e 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 64d6b02da1ba..e3509bbe2aad 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 d88b1408a31f..acc4f159819f 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 b54d3b21dd8c..1f46e4884f6e 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 4e4cf077d5f0..1b6434118032 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 69e450e897a7..b78cc6d0ee2f 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 00c73bf926e3..5db06d92bc61 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 f82b25a50e21..fe2f3f58dcbe 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 2177f20af25c..6cfcc4e10e4b 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 b0c5e985532f..ecc399f1d479 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 169dbde883a6..f2fc2314c8de 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 14f2a753d52a..973959d2d492 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 b1230d0cf90e..8a7c9c872bb8 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 f35b308c10ce..0412c102dc5f 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 d74fe028d21c..44e748b532d2 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 c94ac11ceb98..ca572160d44d 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 d44a2eaf0bdb..545046913b91 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 c7c7cd72f81f..26ab8a33f736 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 d400adc8ebb4..74e3fed5687d 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 aec227d81087..c9e88a500679 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 54387e848417..f4801cb62047 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 d61b2caf5d2a..582f6c8c97c5 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 54c902a435fd..12e837515d23 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 f9b45848b6f9..7cddc488c31a 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 0bc7b35ecf88..5a2a257d84c8 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 7c2fc011a3e9..a9832cc59059 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 973f3faa5f07..4ecfa16333b6 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 b32737684f41..3eb6555f6168 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 8ccf3da78296..6f319dda0d44 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 b3d32829a83c..5e64a55e5596 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 9a5833c27559..216d1efb78aa 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 bf60bb4be4d2..56cbb97af9c5 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 f59433c67dfc..7ea537b7d08b 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 669596ee8240..4c7e2c785c4b 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 ae76e925363a..1802d4724f49 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 f84b91cb81eb..b024480fd58a 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 a8f6e5f501d3..d206da7b9e0f 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 a9a601ae49ff..4106fd5446c4 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 1deffb3ae7d4..87c0a34a2d8c 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 cf16a260c90a..728c8da0c471 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 d22431692988..cbf8c8bbdb85 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 c95598716378..5f067d663f78 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 be38f94bc7b9..685cf0954a19 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 8516aaea879a..5ce34d59ec48 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 987248ec6912..3aeb2ef79f51 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 39495e99744d..3220fdf96b2b 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 2a870ab24887..4030b6b26b1e 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 f0252ad8966b..237406cc2cdb 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 6d1edff6e927..938e50dd5219 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 3797d53d4b38..78d44a4e1c3b 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 6ca701327fa8..4e096556b69e 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 ebc489478a83..d9236460b971 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 13ba7b8624d3..aa093bbbeada 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 c3a2a687a7c3..45b6c9faa985 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 934a659d5c1b..481fd2104dcd 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 8f438cf00a74..7641be6cacc5 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 5393580c2da9..7f69af213982 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 2148244c092e..94b581e3fd45 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 82da293b0063..068bec1ed098 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 0dfe621890df..3024226b8712 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 617a684e15a3..73b9056d5ef1 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 233b05e6f82f..2df7a5c71a28 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 c5de61ea64b2..0f83cfa3fc87 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 0197621bdb48..2f168793a268 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 663d5710bc9a..0443a97cc1b7 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 556466aaeda7..42cc7ccf6f33 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 66b9c5290518..b9491b49a6f9 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 2f1b367059d7..5c5f44d0b589 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 5a20f2b5fc20..ec64fb361885 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 1c2277cf3a7a..43ef06201a7b 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 483e3f591ca6..eed1faa17b9a 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 bb3d2db049ed..ef4755962928 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 10baca7e641d..4574b93ac925 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 95ca332eee65..57dbc1123abf 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 af2f035e0d39..26f155d80f3b 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 ec07bd385dc4..d7d0596df994 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 8dd872781cbd..020000214767 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 722e115a9f48..83016a12361d 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 d6d81371a7e9..302ba4450765 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 203e3827193a..911e019ef3da 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 8622190830db..9b8d55928b4a 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 14a6b4699851..1f842dd7b376 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 ab51c6d314ae..b87652e4e36e 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 5afc78a30101..cac45e46abc1 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 2586a87a4fe0..03093633c84d 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 957a35836ca9..0b6335d401b9 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 c9fd188df168..c5c2d38c7641 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 de441273dc49..e3254c710376 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 4a0f15d3e9ee..9ec421c9e4b4 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 aeeafd9989ce..25e5ff3d9044 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 13b761a1e6fd..d153e34d83c0 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 17a2bed35eb8..f77e8410fac7 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 cfd2c9311e48..f28a5ab7a572 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 48fd6f888751..75b20272399c 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 eb0705c7c5c5..84d3777bc7e1 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 dfd3d5ce539c..37ebcb97eb73 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 15ccc8aa1d5c..6ec7c51b2114 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 11f7e0d56c31..454c68366b18 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 3e72ea604f57..f43e8afb0537 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 e5e2082b2987..7fcdf547cd9a 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 6b126a938876..7cfe0213aea2 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 34134dd60cdf..7685a82a29e5 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 0f2b271ac2fe..75b3006dfe7d 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 03249f120bfa..560ef1fbb1e0 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 56e5d51c1836..ce44462a79cb 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 b7add5924d1b..0d7cc4dc32b9 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 7e0ada3eacd1..8e4e9d20bb7c 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 bd7ad7adc5eb..59e5acca862c 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 7b45c9b9ec24..1701a9bece2e 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 97581b1275ea..65b992c412cf 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 843f0de71334..a6b2627c7064 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 7d936a028542..dc342c3060ba 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 f305a2bbc4b2..51485b12e884 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 bf5624557033..d5b95073a151 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 6c4fbc4dbcbb..71fc54af0301 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 081218dc666b..a1acf1d0458e 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 6561dcaa5391..a2c34f893dac 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 8074876fb191..6a54f99381cb 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 6297c28def16..c2a8b9104e3b 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 44ca6df47813..a05a5297d8d5 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 75e628abbda1..8ea8338c99d0 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 1add372f0603..2d2209b8e976 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 0ae9dd85c906..77138ed80081 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 79f4591e17a9..3ea1329acc84 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 c9238e697c67..aea6519a43b0 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 2836eb3543d6..94394e6c855d 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 9bf4ed70835e..ed33fcf062a7 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 bc239aa15377..ee7964afeba9 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 96b9c8117758..db5ac5174981 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 47bd22fcf62d..e39e2e5dcf39 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 74b279b97920..c22581a54ff2 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 83ade4df8b3e..efc4a3fda91e 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 812c6d061384..6a984ed54a9d 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 36242c91f35a..ee568198790b 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 1d74bbf1de32..8a15099746a5 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 9877625c73e1..7d8e54d56b5c 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 635f54ed02e2..c43020394bd4 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 82e903b54de9..0602122dc351 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 6e53db41a545..e50b763dabc9 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 64073a4c2e46..734877fae44a 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 80fcc7845a7e..b71b752784ba 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 c575a80328d1..bc05279ff548 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 ea5446fb5702..1ba280247b90 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 a8a30a0a40fb..d4846c67914c 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 88382395d0ad..51f3ac2686bf 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 de19c7ea3eaa..27264609385b 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 d107d6856e58..17b798d35198 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 69c04c08703e..a551d33637cc 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 415249cebdca..c823810aea7a 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 45b55166987d..000a9318863d 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 d9a145708b0e..03792cb16c7a 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 6e155143a1b4..90265e9be8ff 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 63170edab526..cba469ac8275 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 5d29db299330..0776216617a2 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 7a692dfce148..d7e5c6825d6c 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 5cf3763a1899..a77cb1d09500 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 91b2feebf971..fe90d8fa6d03 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 a1f3e10b78f6..12f7ea54d2e9 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 24357e679c06..7473f38c364e 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 9d561d06596b..d63027a8a5a2 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 d55fbd2e9120..fb5f4ab98986 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 97235d2a6a24..03794be38681 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 a50c0daa1a62..50fd742ee548 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 f9a2c2a6e27e..2163eaa77a30 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 2e90b999b479..1aa875c14f29 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 1c8a69473d9c..e16c39577935 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 483e9abe0f21..4dbe5d6dd34b 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 c820089a1a35..d4d0a0956e74 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 a8e98ed37764..310f1555019f 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 b8d8244b8332..e1ebd49ae9d1 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 025819505c64..b773ee8ba2cd 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 1520148b868d..b16b83abd8ef 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 caa3b3cc0eca..19fef2bf1d15 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 d33d56c51201..a91c2eff3580 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 edfdfa01fb3a..a25d2eb2b4d5 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 9ec0cf3d4aab..a9aaf3fc8cf2 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 7a3dc2078eb3..955f89d750b6 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 f74df99d1612..eb2e66e12e96 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 471de8b475c2..cb08730a3ef6 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 7927dbc6516c..e243f1e82656 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 23a52134b2e8..3616ce02824a 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 d729e698a905..6b55c2ad8cac 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 f947f7e24244..0f7cc919166e 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 566547c49beb..c5aa8d4c0288 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 86c245ed969a..b7828b7c191e 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 ddaca513c8dc..a111a68a2b97 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 b6b510951cdb..0257f3ecdfef 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 fc8fcd37346d..61a23f5db801 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 cd417bfbe7a7..9fff258aa048 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 5e3b30cb2937..f98cf7b13146 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 89146e35b062..0dab6aec4162 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 7ab3a0f16446..e035cd2a9e51 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 ed4da2d161ca..251b0e618bde 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 5110d057b42f..73dc9f014fe7 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 d559c662f3fb..a1eddc29a04d 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 1c649a9234be..e7134e2bcbc4 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 a44145f8ca27..999a0705c4cc 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 c2fd28401d96..1683fe7534cf 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 8153ea859f3c..9dcbd14b7242 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 4d52f13553cc..f1b21608b1ae 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 dd5f5e7be1f3..f82bbcea3d96 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 6380290a27a3..f5659725c7a2 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 5b8dca954130..1b4daffaa335 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 a9e8e029f2d5..ba7f19a6314d 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 75fe8bdbbc5f..874ffae8679e 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 3d1f59c25e11..ab316ad0e27e 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 5511404decbb..77bdfe03b1a7 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 4d23b5b90644..835a34c49fb2 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 d3ee945c441b..4f000171cd7e 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 74df79142197..354fc72cda8a 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 7ef6e98ddda6..76fef119501d 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 12767924944f..3001ad61a475 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 a073249d8cec..cd4defabfcc8 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 a312c868d069..48cd0abe2c7e 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 4f414773270c..43dcde9ab43d 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 d70a9debb6ae..851dfcc3de6a 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 2c914d63434a..ef6a8acea954 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 494379a3f428..d017686ce6a6 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 bc4317dab098..5266dec22862 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 3d5b53510905..67da25988b5a 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 b53d42629fc9..d24017bf6e20 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 21b412b9ef83..0eea92277492 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 a085192465b2..65ba533d6560 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 259f0fb0bcce..8c8b3dee7da5 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 0a8379ae8681..edeb33c948ce 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 776bd71cf794..d5de1a926275 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 b3e46f7c58b5..498989df9940 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 d9726d744ad0..e117aa226bca 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 f6d13b26e275..04abc99a0f0e 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 72a0d872c436..6a83aa35eb7d 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 3ff0cea831cf..38b55afac16c 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 f18a619c2911..8c592dd09ada 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 7c1795a15111..a845a4aad24d 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 ec8ad42b4383..a6b57ae75e00 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 f9df90588f1d..b0b4f8d7f8ce 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 ff471a479166..22695f9f5c1c 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 549f67c39190..e3593b68c5c9 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 02b6c5338c50..a38962f11586 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 c5f4a865ce51..3f38168996d5 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 fa51b0e50451..6ab6982d48f7 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 60771855bdb5..7075eb8d6459 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 831300ac7ebe..7cd86074efa9 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 2203f56af26a..4e2c56cde915 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 b2ec037768e9..cd189d6965c9 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 b9863cb352fe..bac3789f0b86 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 86914ebeb5e5..fd4b2a47cad9 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 5e22a7e2dfee..37b28100e681 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 c01776f257ef..2700e66d06cb 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 c12bfc98c756..03bfa89be77e 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 378267247f86..cceee160e287 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 90834f73bde5..c1941c55707e 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 40257f5667fd..f601d6fd5a90 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 badedc20613c..fe70c102310b 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 9895eeb8605c..a24eb861cc2d 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 a48013f64f97..eb97a71167ff 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 e2d75ddf14aa..0c9401d1f29d 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 c5ca58d40a25..8ce6cad9144b 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 34ade24e7369..c65c350ad2b8 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 1ba3e29f9d68..5e6f6b0956a3 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 ee7fbb76e36d..d2ac4172f21b 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 a16419fb3da0..3f68d543d451 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 7c991f12130e..1b9efd6c9fa0 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 10326ec81f09..dbaff5eae2fb 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 0c29b23c7c02..f1bb10c877a0 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 01c9b76b1600..46b628853315 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 b58e863d5589..36856c42e910 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 ce80539a6de3..a7fce2b281ce 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 7a94edaea43c..ec12c1e9887b 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 f853d563fbc9..e49efb4402fd 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 60d39acece83..a06c1ee42801 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 6daee7690ddc..7b3c43959dc9 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 a7833c6a43a1..552d9491d61c 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 d9b715be8e91..868d0a6eb2e2 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 edd152275cbd..39e5ac6359c7 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 f1a178834f85..a47440744956 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 832d2e220117..c3722d5d6eea 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 0557a634ff92..c33f592a3461 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 8a35de0d7012..fda2b0620201 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 4471e464bba0..5722ebbd8214 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 db8650539486..fbe2b61f69cd 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 c3762ff44204..3aea5202d225 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 c04fc9fd008f..b9ffa6906c8f 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 2b205f355566..e37fc892ef42 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 125b8e6d895d..0334cc09e0c4 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 244a9739b266..719215156268 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 09bb13d122e9..c72c88e86aee 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 4aafc4f83c1f..4db64f8cb0a2 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 8116373833d2..a1d5075b3e88 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 5e97d1e5e178..a77ade764ac7 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 0bd6fc72adb5..f03ac49b81e8 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 e868cadf94f0..715600290f8a 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 28009090a07b..b7cf47665836 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 f523851e5b42..bc0b2ceabd7a 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 d416ea06034c..8c2c1bd3edd9 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 531b4b491ead..3f1af9746109 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 5b2c773c4b37..a0fbaaece2fc 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 4669e6b27106..9388e6349676 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 d1b94cdae42b..1bd1d9d6cdbd 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 54396b9c541c..7c77a400be33 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 4a29dc4433b8..a889dff1c158 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 aa4ee3cd0ccf..c3e1de60f27d 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 0b79dcfe10d3..8a119083850f 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 72ec1c6607be..8b60f4668651 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 21c1c6c52521..e35079f6601e 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 d2d1130db57d..17ce79d6ba02 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 382b6f2641e5..fe69d64067d8 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 ea01ed66dd48..98271a1520ab 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 782826ac79ba..9aef8db85d04 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 c5e100820c82..37cee62082e2 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 879ac8114043..fbfc8021dcc4 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 a984c65123dc..4a7d33ef1cdb 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 17a2bb2585bf..4a2a14b67cda 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 407a2ba29c36..adda89e073f5 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 becbe3a7b597..4ab896d00167 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 c0b6f15b1b27..435413744d42 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 5dd4a0e06a5e..5f0655cd6e15 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 1a5e19926cb5..f68e1ba3ae9f 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 434561fd3f23..17c027a9a725 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 0ad718658f89..1278086b057a 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 6611f5f51370..1dfb16a81dd6 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 76f677c878f7..abed25366979 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 bd871a45e752..731ddbad19ac 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 5107dfac414b..5a6ea47d0b88 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 ed34ff796e73..ee863bd9aad7 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 a6beae6f224f..502fb66b9c72 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 a86717e1b872..19d773856c23 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 1904729b727a..281303ce04b0 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 41037b7e6c62..a69b5bd9bb16 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 6d79dac57aaa..43a6c4181ea0 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 bf232697d44e..01c0e94dff5c 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 e9523c2173b1..b8b992103a83 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 558f80ee4acd..0095b501b094 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 ed579fc0493e..eec026cc44d2 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 bd46088b704a..1522c82ec992 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 a53e496f671b..5d01d07547d9 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 271d94d001f4..1e43e394ef3d 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 b4a48c5afe35..71e5330aa3ae 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 6a12695c70fd..ef00cb5e60eb 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 b00f4ffe22e7..a248aac80b94 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 5b2c7300f222..1ed8cae4a555 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 093653931e8f..dac5fb53b4eb 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 e22aaf021d69..89b8b14c9402 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 05be58687800..a04a3b56e3b9 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 ca2e51a59911..c2fde801fc17 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 59239b3ab25e..b3b93ace9a41 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 0c4960602239..a0b25694689b 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 2d49923ac7af..88508877f21d 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 e5feb9a19680..912f5f69423e 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 38bac7ab9779..71b0ddbbd3a9 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 96f0323a5657..7a183aff8da0 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 563be35e9f0a..e5cdd3cbea54 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 a7f3b2b5446d..07d2ee3efb69 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 fb8482c4861f..f7330d71833d 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 db1f760e1d05..311061e73bcd 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 4c37caff3457..33c55b8a988b 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 d5123cd73213..b8e795dac776 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 aed2e5f57b7c..07bf5f66d532 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 efb0b72ad8ae..d4995dace2e8 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 3812b58ac0d6..8f2191dc3e57 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 1a0b72180edd..d95d52f1bec1 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 b1c68cac4289..0d9f8d458f0d 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 19024a276c0a..63c365a39aa8 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 274b6e24e105..b245b5ccb554 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 5fb7d86baad3..9aaf809246f4 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 b8d077199c5f..8cbe97f3776b 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 11d3dfab4186..b8c09d2a6a3c 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 61f30d4f7ef9..8bdaeb02f570 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 d21aae4f7286..38bff0377cfe 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 53f455628980..260757b72077 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 8c167d324750..128e751d122d 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 66f40c6d50cc..ebe773634e7f 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 0bf68b4cd351..e91a08402b02 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 46ea0e174d34..0840d80acb38 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 8ad5971ec645..2c411dd9569a 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 d4cfe58329f0..72f1cc65d90b 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 4fce3e4aebda..073233136099 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 8d75417e50cb..c027d6504f69 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 5b75f85ed820..68492e03ff2f 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 974e2fe8fde3..b7ae3606dd0d 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 e173e2cb4d10..a7341caf7831 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 9ec7919cb1e5..26aa45cf52f5 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 468de04c4d5e..392909d468ba 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 f394991213cc..dce554d1609d 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 be03ac2e098d..915bbdafae10 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 9b1f4780b8c0..10dee68ad7cb 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 cfd41324f03d..2fc46240c9fd 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 afae7819737d..b93016c76402 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 1a4fd7b9a04b..899ca34b8611 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 3e6f7e3e489d..f44d7f5f243d 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 56100728b05b..715d4fff129a 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 3b6865e3bfd7..277715cde1a9 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 b06538878ecd..3c3f9e2603d4 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 6b524cd190f0..4c87ffb7c4c9 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 dbc09be6fdb6..6e77d75b861c 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 20e35d13d94a..de4254fd9f84 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 1c79c09c9db4..48af2a2d5657 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 7eabb52f63ad..1c57b1d1714c 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 465bbdb21f56..301f330a2958 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 3385325d7831..a08484b929b5 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 6b0faebe1d86..632b16799a51 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 e78d4ab6150b..e41061e74c84 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 737a84c3eb14..c024df94991e 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 6f1b4b6f104d..0e9316cac8f0 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 a10993896bf0..0d133c7ae3de 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 68e27eb935e0..eff1c9f9d7df 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 663650a367a0..61922b23dbbd 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 7153935a7917..6d76a6c9a334 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 f2b810f5167e..d57724ec76a0 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 72193eb2bc9a..72edf83cf95f 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 e5972f7dbabc..32b90ff699bc 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 9068ffda4766..4b7e35b7697d 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 0a63908359d5..2e1f9a36f5be 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 6ab08bb5f348..dc3539adb452 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 6654ae3bc16f..61065267c8cd 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 abb928fce1f3..cf60cf3b5461 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 ec68a2e48e4a..b2c9c6c77578 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 1abccd923dbc..722e61f71406 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 6d4f646e6575..aaa9a60ed336 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 0f5d05be1345..da4be0ed5f2b 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 32dd6a845f85..27b9a342f5f0 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 8d13af31412e..2f52c7307bb4 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 2f38eaf85c9b..8b22572a7700 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 fb826591326b..6c44ff6bdae4 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 02372bcacfde..55b03f085197 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 e393366502f3..c008aed517e6 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 3124c0690868..8b8fd3d4f52e 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 fd0fd54b7c1f..c6e5f485a8c9 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 9d07516e096d..8994fc03665a 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 424279a019df..ec7907e5cd24 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 2067027f1cf0..48dc58c696c1 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 ac7f1b31db2a..d3b1a44601c9 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 0c104837e6a7..efdd322bd6ce 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 6d662afd203c..717aa510beb2 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 5fe10abbb99f..7eca606352fe 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 f0636b4c0467..d494fe55ed31 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 9b5e9a3940dc..6b84687abe39 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 7d6c35f31572..b0aac152b100 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 415401cfa67a..70355e19444c 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 7fbd8d366ba9..89c4fa85e072 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 97c7b48020e5..4cb2910217f2 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 92305975f150..95a8edeb6b63 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 56ef267841d8..db92be6cf6b0 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 68cd0daf536e..3b8e52a22e7d 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 f4256c849b9e..0473802d94ca 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 0ba5f238600a..8704ff92349c 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 665a19f96b86..246618fc6290 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 63ac269b3121..fff4dd3b0ce6 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 306bec3686dd..bb70afc9ab06 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 75c24e32e939..a916d9081a91 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 c696c6b0dccf..9493ff8b4b52 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 32e2e769c2e9..e373df6a6253 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 6c3286f54484..46aacaae37fc 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 0a1726046033..380b3e4f9a1d 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 1d542c45990a..a2d0b0af5955 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 fdf2b03025c8..eb947803bf6f 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 573ee7d83d78..f7e1383b6766 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 d5e93c3ef818..62e5919887be 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 20faec9d9fa6..4759f1a680c2 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 0802e6946ec5..fff076a18248 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 71b8ab15f59b..40e466c438ed 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 7f663c892a4d..4d3afdbe8c41 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 4f80a3ae9703..0c619901001a 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 def41259396e..943cf99191a6 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 e060f938e739..d5f6c9f72c01 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 c84310930175..b4636439db2c 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 18e26a8f3407..649c8259ad26 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 e8afd7519cb9..da2961180190 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 696323722154..084aff6eb19f 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 d0a94fcfdca9..868912da3bde 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 d51266ca521e..db9db39b4301 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 33073fa49593..8b3cd6f97568 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 4e162991b3ed..d13eeb97d6fe 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 dfabf9327393..95710be72d87 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 2b0ae77a46ff..5eb768b56cbe 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 a350703f8776..5ccb044937d8 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 1e308f0e429a..131a3dc4e246 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 0f4a7da889fa..c38c3b2bd83c 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 ea59c142e17b..f9b4ff08c297 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 575fbac4691e..b5c4c70f0307 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 e575805ba1bc..886f83bff161 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 43ec6d41d3cb..88f79babec7b 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 813bd1a57fa4..7a16e41451ee 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 f4a4d21d68cc..e415cb586052 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 7a5b4c6e9b3d..426f5525677c 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 8f5d6c9b33c3..a2096acc4f4c 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 49e9e43f895e..c9e210427e5e 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 356fd02171c1..7580a279e148 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 4f42e350cd6f..3b40fab475de 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 1b62c99d988a..1418b8aa4f98 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 4cf23d291e88..f57a6102bae1 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 593957efe725..8aa92b49eda4 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 2c7a92483147..7d051b320dc3 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 094dd62535c1..2d5127a7e92b 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 4377412659e8..d6b66fc37610 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 aed536241665..cda3e4260a2a 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 007c04481171..e351f00c620f 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 bc7de93dd454..b6c3ea59435f 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 1ae6749e201b..7c210cedf936 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 ee63c9154f11..c23830e71365 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 a58d75b6067e..750ca1cd2e37 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 8f36c5b6ef39..181c2171ab08 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 29462be42449..cd3bf62c0b39 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 4abfd4a16ab8..261afc1b7766 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 2729f5547394..123c6772cecd 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 b93bd537da38..51a80f032e6f 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 326dd8aa69a6..d982b1376e2d 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 2dd71710466b..a91c453409c7 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 92a6d77248e2..4d0506830b54 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 d5ad4d2e7982..f2a03af13e12 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 83e3f1db259e..7d067793b98f 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 68a6c69a00e1..419e6ac2d683 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 d7f9f225578b..d95d8cda5553 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 21ba4ff34f1e..b07836d20a8b 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 bf2ada17a568..37ae9ed03bfd 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 1b312cb36540..9fa690ea07a6 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 c4398a5f350c..0db836b9c75f 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 8f4f38ede3a2..4e61f154716a 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 53aadd5f680b..b9d3606cb082 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 1e661062e0c4..174f287b40d7 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 e195ad0e2f10..e281c87773d3 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 6d01ce7b9d0d..b5d6a977837f 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 5453255ee4b3..dd1b50de0a62 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 c1f522af4b2d..193d7915570d 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 c463bc44ef32..475d13bca262 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 b4057e58fba8..34ae75d35c4d 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 03542293316d..30b2cbfdc219 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 57bc75e435ca..1faf56521d57 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 298587f6b1a0..51c6e3f75be4 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 857f4f6278bd..f0ad60848b64 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 d2f876b57661..276efe0c9ac5 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 6a13730ac26a..f94f101f82d8 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 3fbc88bec687..8efa1e8f192b 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 83812e64649b..dcdd554b0cd6 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 79ceec5eae6a..000b1f1c917b 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 00f940b258ec..1d4647764c7c 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 5f5ca962f3c9..ff47cf853f82 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 8a0901ba8e8a..24471bbfd03a 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 08e4ed39e995..e5029dbacf9b 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 56f2d151eea9..bba2584cbed4 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 5b7839dd8ebc..73359f606e51 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 bd4fb0f1f816..1810ef98a8d5 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 7a161a9847c0..06d8860d573a 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 a49779f21b7a..e31f38b728f9 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 bbaed9245785..1c70d2aaaa12 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 606a5933aeb5..4d16692bf5d2 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 d0cd3b9febd4..f279b3d57d75 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 d0815284d722..745cad8c7f3b 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 f550709b68c2..69054be51d89 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 4da1649c2d3c..2d5283fcb617 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 f23c42d5224f..4aebbe57d6a3 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 9cb8ff0a9c3c..b47d5ef02fe2 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 824a203d3f68..37a6f503ccdd 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 6976fd3efdbf..89c4a3564f6e 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 dc633475ebec..57319753e3cb 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 12b12002cf68..96a9540a5abc 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 ff0171de13dd..a7126d5421bb 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 03cf09b9925c..904b467b97f2 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 25188df75b2f..b5fb0b6417bd 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 79e60bf957b3..415eb3283ebd 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 4f01dedda2a4..c965c8ef02ab 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 3f0952305076..78e7c063f2cf 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 aa5e5934a1c8..104b82465314 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 1f7c21f28db6..ea6ebc1f0d89 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 fa7c8fa5a049..63842f1e3594 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 51cef0424bc5..9ac52c01294d 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 03d0a2e7b52b..bbda4fdf3b78 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 287ccf5fa04f..74df48614ba8 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 a66ab27f0136..3bd1ae67db7b 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 f2481056f46f..10cfa238145c 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 f03fecbf35e8..d9e7d395ff97 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 cf254c1dde10..3b3b8ab8d857 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 9f65232e4168..b5f4c43ac603 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 baf363df673e..e65a5467823b 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 fd9c70727407..3ef0cc8ac266 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 9b3ca03bea9f..75be010a50eb 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 37f959e1e3ce..983c1216af47 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 fa6c8cc65a35..fc13f2de44a8 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 2a79eb0c84ec..9ad3785fedd8 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 b4aa4c5268ac..a7ed04ae8c7e 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 5d434c2488b4..c61f3b3eb852 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 d52845b15415..b19b32d8819a 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 da530367b895..2a714dff345f 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 9c3147b12629..a2969ac58b26 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 7aabdce7b049..19793343754e 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 6bb9a656dda3..0d46f389a319 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 32238228b5ad..a29377af8447 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 b183a2219f75..38bd37f845c3 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 b7375b5754f5..f2434e24c6e7 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 869b56136abe..add76c17a93b 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 fbb7b4cf651d..14ad52f822fe 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 5c4ea4a079ba..3efcb157faf5 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 a20687ec9d4c..2a3a4c951e1f 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 edc97e6f3354..034760cc39ae 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 d497c402e255..221b69629b69 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 630fd9e139f6..a358b18305c4 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 2117a57b154e..c7bd2d7dcf83 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 37ea6b682bde..527c646b7d2b 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 7d3638aada95..3d9ef174883f 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 46c9f0a23ed0..a4a2ea89978a 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 37e75448a8d1..8106955d76b1 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 44fd2eb22d29..b4bbddc4fe2a 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 c668a5d843c4..78f6028f6ea3 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 186dc49d51c5..4d4bed9de348 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 e92d7210ee8c..40b17f45ac3b 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 3378649bbb33..0339a891d63b 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 d14c01b9d6cb..1095a6514916 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 39960ab03a16..6ab604a102a6 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 97f50228fd88..91d0e44cce66 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 4439ff6e065a..eb28dee0f306 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 350783429fbd..2db63d249e21 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 dbb17197b7a2..0b8d20a90097 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 62d4d50bdf56..650b46952985 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 58cf369ccb1b..ceecd8216f8f 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 90dde414a672..2120340f6b0b 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 5ab1364595ae..a4c0bda9330b 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 46741e99a3e4..667859cee07c 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 fb1cf4696f40..760b646bf80b 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 f8c34bd4cf44..328e75af87ed 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 ba1a4cce51df..040ed752abb4 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 21cb20cd284b..fce6998f03bc 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 eb7e67500684..0bb557eecc00 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 6effb138a90f..bbe596f47a24 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 fc23cdb758f9..ba6842906d09 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 5ad6cf99a4ba..7f290607bf15 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 d0c5ee1d0dff..deb6dadd3121 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 61578dd0d029..a0b07add80f2 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 9313aff3a143..afd193ce1a19 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 71fbfcbd75b2..5209db5b484c 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 6329b0391eec..6ff8eb1bd014 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 49ac05299ea4..521fccefdb77 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 5cfd5c84da1e..fbb9fab5c1d1 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 81cb27e2074a..33358f93eb3d 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 1d9ff15d440a..10a04d11fb1b 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 4728baa260ab..a1c187a36ce3 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 64e1526687ed..b572572a6017 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 62c61b970628..7274509f7e10 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 751e12901b8a..d2cb3ff5f158 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 4740034da2bd..0f1e8d8a6ee6 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 71981df5153b..91792ccf4cf1 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 08d58c5584f2..cafd6523f229 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 c1c4cf1ae51a..ec3e2df749c8 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 b5a15d36c71b..81c49a7fc4a6 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 30c1988ffbf6..2ec479d87c61 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 b89d0d3c1e21..311832034a61 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 b8f8d0feb269..b559845fed23 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 db1165bcb691..5948178a6c0c 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 879e19a1e263..07421185fcbb 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 0b5174c92f63..936df0fd11c2 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 381100ad5200..2454507b80b9 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 573d3aee34fb..112f253a4844 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 f3c83a2d1b67..2fd7453dd322 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 a150cbe95cb3..eb62e1dafc7e 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 f86f24059950..ad2fe0361f5a 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 b6cb48e54ec7..a63bdd75180f 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 1d7e67a3f486..112b70e58a58 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 45767fed0d2b..69202588943b 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 d2ee98247311..aa83710139b0 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 5921f90983f7..40366c5abe3d 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 d9309697f84d..4592a05ef38f 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 297629ee5b76..79b53e14433e 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 6b976dce9286..8720e32c0900 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 7c00f73fe1ba..afbc26040ef1 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 eb7f40289205..1703b27a1166 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 53e35707b80f..338e50032742 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 58d018d6d5aa..06a63d944651 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 a5363d566444..b3c7bbdc59ed 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 3670b536d296..4c081a1fef6e 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 313ad378b48a..97d3441d4386 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 56bd6ea4b9a0..157612837170 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 e67632c3943c..8f66f9b7b0ce 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 2059e2833a6f..bcd875d97a46 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 772e7bc5cbf6..edbcd12f2270 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 a56492594d01..021d951a3585 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 157819aff43e..95c1eb05bae3 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 52957d9cd2ad..a37f2050bf8f 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 fc07fb5a9008..5f4539e73f5e 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 e9f68ae0ac68..ea01642c4ee5 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 a38d103e86cf..c338fbf67faf 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 d709bcf4dc8b..f9d52c203f57 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 8d2d53327ade..3422ce900451 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 b274b0e79cca..ce9533070a08 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 e7f56690337c..4b197b3434c9 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 1876e4f3a151..e0ffff611ffd 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 333e1921bfe1..f6d0a5646b9b 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 5cd847426e97..973e241ce9a6 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 e60eb3352b72..d25df3c9bf67 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 c8dfe53a4b1c..91f0a6e11a42 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 f13036162c13..b341e54f416d 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 3b5ba8500204..90cf123a3ead 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 9d7161f783f9..f6348f300849 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 2c1a01e23214..6baa7e958550 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 435bb58bb464..dae3dde4dc84 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 d9e79762fe1a..c31736030767 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 32d6b1177bcf..f3e7bed38da4 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 108ba5ccd02d..ae90b3d38c70 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 13230b6e7018..3e53ceb730d9 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 bc53f77923fc..eb4465a2ff3d 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 cda6b238ea85..8dbcc36852b9 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 ecc176268e78..f13387a0e15b 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 cc73c00e8be0..c442661678f5 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 a1373e99ccba..191bbdbf33e5 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 d857df9274f0..91cb5e658ad6 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 c8b4d097ccd1..98b95f21c26b 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 fe1e68bab087..12f5ce274ae7 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 1e58edcce4dc..84bb71cde34c 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 6090f94db215..1543a303720f 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 a5f878eea7cf..a5824eb36d8e 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 029b7728f785..2429e1818dab 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 1e568f2f6022..f6a6842e5ce0 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 b16e7a7e598c..ee3d346644bb 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 509aacdfaa9f..be8985cbb597 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 f283af658aed..0c4e54fd0d38 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 21dffc51a00e..248535d760e6 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 abb8f103d291..3cd55e5f4cd6 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 fd9111809dfa..02334826b174 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 3fcf81fc8b45..a1a0951f48ff 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 49d745cbeb3c..8f2d35128115 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 e9f860345464..8bea71ad7297 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 b1814430ec04..575d4b428f6f 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 2699e31ea9c6..423ddae56d76 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 8fdbf22508f3..39c62613386e 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 c82a42c94802..65fef32f8917 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 c79c54575b6c..997d31b0d1d8 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 3e7a39f24d74..ecfe1cae4e15 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 c7a2dcb1d5c0..7e158d0002c4 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 a0b2eb589cc3..da4f112df0c6 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 6a769188f357..9482c67dae75 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 cf3d9a53ea40..277cf9ccd549 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 531d8b5c6161..7e20e2df2f97 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 155353898791..902f51aec700 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 626b3cab4603..5d92e97c6be6 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 03e03268a917..1b7e581975c0 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 161a02cefc7e..03e96b5a6e07 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 b66e408cc1d9..e538a022d96d 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 9b4577eaed06..020777e62260 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 4e268aef19b5..a9569c738882 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 bc0e9434800f..bf3a1a04fb54 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 9ed242b7e517..db4cce169c25 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 862df0bd3b31..7cd158f825a2 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 d31b5fff7601..91dda0bca703 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 4430ba99bdf6..148833444727 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 7cbe4e67eb7a..adaf7cfb475b 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 42766986f61c..1d4ab73282d1 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 e95d2aae0887..eaca8a5ea584 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 7c3ec6207ac9..df19c6ecefdc 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 4e0a72d5f5c1..ae655d47a229 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 3d3dfb5a8aee..48d35ece5ae0 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 69bc977c3a68..97a9ca5744d4 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 681587ef06ce..b1639db3e5cd 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 da3ffb25930d..1e1936a220de 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 8d168e29f999..6496f6f42911 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 01a38fec4507..7bf405f4050f 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 1a620972bd47..2937fde3e74a 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 2d17cedc6244..6698b669e4f3 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 cd836faf381e..e13670556a82 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 f194dab57cde..733783c97c11 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 03da69e7e7f3..1e99cd758f37 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 d4124fd66e6d..ad3352008c5a 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 7c246f9a598b..e89427b4524b 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 819a5cbbc83f..0368eafd7e13 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 b5fdc4456ced..5336f02b5bf8 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 8d9f9e0bed90..18591b86b53e 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 f4b2d09dadbd..cbb463ddacdc 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 695790922731..db8b5918abb7 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 1a60abcc3f2a..5b740b30a072 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 9e0211ce868a..2a45988559af 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 bb0651b51d34..ccc1b32b08dc 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 46f8b7a9ccc9..94e99ad566a3 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 6ee5153a4752..8782e5f6158c 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 b245d70d6178..5f652b368573 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 af607ed5d862..b151eaa0e48f 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 6c3966820d66..72cfd7f28ce2 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 0d49c273de0f..e83e460fdd64 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 dcc2af9bc89c..85be766de58b 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 7e814ebff68c..887dabf585dd 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 408a00170dc1..ae6e7ce94492 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 60a930f73c87..f7a0f3a8a75f 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 c3e97ee18bb8..08bf754b4995 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 ee8b8e4eefad..2ad0b583d114 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 fc650827d6eb..13dc278b4682 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 54bc84544bf4..0afd577e6269 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 c0bcea589145..7a647816f03a 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 51dc06ea21b9..e1c02ba48645 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 206544eedd6d..01a94ab70744 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 1ff2f632e8cd..488890227ca2 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 8b28594356fc..aee92ca56995 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 cf0f405909be..ed04ac1cebdb 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 e6525ca563cf..30c2cd6f7910 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 f634906b109e..4bb98b0f45ea 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 04855748b499..e6fdaa6d6e08 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 56c9b1d93e15..96e673f08279 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 07e3c5c5d8fc..4fa0ada2e911 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 69111fea3bf9..45cf331ce67e 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 4021a76bc2c9..1d4eb3227afd 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 5d82706b5808..cdbe619abdf6 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 cd23e670540e..e375b1df8056 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 e7c67903cc7f..38fcd11171be 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 dbd36a81c2ea..08503b627b01 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 85800b53a4f6..2cf538e26858 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 39f4cd9ef4ee..73ea0213f87a 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 43f6a9bde881..74bd889cf47c 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 8c550ab4d09a..c68cb0a22ff6 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 b80110667a1d..5ba3447867c1 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 df47839f542a..c6720b4ce79d 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 2b2766e9b5e0..6e81c3185073 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 1dacbef87531..847782373976 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 cdfae0026281..b54c49ba047f 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 78a8f98c8e92..c6f342428690 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 8ccf80dd135d..6446bf739bfa 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 2d699546810b..fe2afeba9bc4 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 342a6a77ae35..d34e36693e3b 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 823040b4ea17..bcc7daf9a82a 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 a289049092c1..5fb5296c3989 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 8dd17b7778c7..33be890d0479 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 66334b36bfad..18f4d208385e 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 bb1a89b11726..883a73508411 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 96701048b040..cd12288708e4 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 cd1084bdcfbf..c52bf003728e 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 2a68d21aea62..24c7f60242f2 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 496be8845549..d104e7304c95 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 586c5db29acf..bb29db5bc957 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 4babc85bb2c6..5a5f8e15dc58 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 f77d0b2b561e..72e1718bae3b 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 a09734f34bf5..3a62eac572cb 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 d57ef33ee4e6..f8cc5809eb99 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 c01b3ac7df29..fba8adb8167b 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 1fbe5953ac96..8f3a87dca7ef 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 1df85a7e6dd3..75d5ba7fa074 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 c0747548b581..139c933ff426 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 487fc128ef52..842c4bc7c567 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 bff34956d2f1..9fbb6785c8ba 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 4b44217892ae..ad626547bad3 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 c5143ee12df2..f0243e4b8f62 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 cb4f5bc41c63..e934a5005438 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 aaec0fafbf59..92164922edff 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 8259ae68a582..a00572f05b7d 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 0fade6ba0964..8df6855934a7 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 cd90e3c162ca..c0b359eac768 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 4cb0dce61df5..fc227c9d2a93 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 60b989e62092..fcb7eb40d30a 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 80f9079945aa..da623f9dad05 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 f0796d56b37f..d653380a9fa9 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 2943074a3ee0..5ed4a9277773 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 eaf851b25e18..75629840bf48 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 3ad2cc4cb28a..0a930d397ae9 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 aed2c9a30381..0d59cac13a7b 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 be63efc68162..4d6bf058ec49 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 8a6c98d17a08..14ddb1b7ac42 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 bbe93317d2dc..bea6c01a00c4 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 94bb956d9c03..942e322adada 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 7e0fd4de74c3..354bb04d8c94 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 e0c0daad04d4..1be0c676dcea 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 3a117844ddc4..47fdaa707ec5 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 91d504ae4d2e..e6843dc09010 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 729ee4efe79d..171fae329463 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 8e7a45492eea..4885f1da14fb 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 ced9e30b296e..7bd7c164be5d 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 17fc7bfd8bfc..62319703c7f3 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 42240886c5e6..fc07b8ed890d 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 7fa900e2074b..12493073ca03 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 a3054811feb4..f05ece30ed45 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 1d55bce007d4..de803ed8133c 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 8132145f12ba..2c040ea8117a 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 f517ceeddc90..b2773f109d7f 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 e98483fc7ab0..969620cee060 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 375e355e5ddd..e6ceba630dfd 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 827465859b73..7a6245d7f060 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 2f049c496daa..29f18b587ea8 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 ff26e9a0c2f3..8a4f41d171d2 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 92cf9828ea06..b245259fa4ae 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 dd4a82bb6a93..290c68ec1f80 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 415bea507c37..0e68c4a26ba2 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 993edb3e1895..73ea8aea9191 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 70a50d9d08c0..bae59507ffcd 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 874dcaed2472..a31620a8eb8f 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 301fbe4314a4..53d4a06103b1 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 65438295ff24..9a647ef091a1 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 274ada542b25..8d53925b4e4f 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 774c5c2e6ef5..cbd8672d1f38 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 f3694faf1091..84a01559909d 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 f126c198dda7..36e455c601cb 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 672a1b04771f..5d38c9ead8ab 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 8240e76615c9..f0d0c9353b2d 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 e89547dd876f..28718521dc71 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 f06bcf1def1d..4db85643e45f 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 385a0827ed0d..9f8c5c20c148 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 7ace0c88f599..064b6445243a 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 cc990eb281b7..b0ead98c3161 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 7860418771b3..dea8e1e1756a 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 7b163b1a06fa..003f9cc53889 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 ceb5f553132d..5a0fa256c720 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 050ec3ab9f3a..f392ce2241df 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 4e65825dc1cf..cbe8760c2eed 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 cc62a3212f8c..968078d4a740 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 4cd55e335c10..cebc2e8ba8fd 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 92a2c333db30..223ab1ef3e35 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 804b04f25505..f9b1fb49ee30 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 1bfea0ff13dd..69c79ecbff27 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 6f1ee7de8f7a..641e511f618a 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 d30056b9cfe9..0834958379c5 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 c06875263c7b..0eaacd8917ba 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 2ef3c896222a..89b189c20fa5 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 e08463920964..a9950794bbd0 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 151c63f71df1..218f1b5420e2 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 7d773830330d..936f6246c91e 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 54078aff778a..b8959c710466 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 99c76260529d..24eca60a8d1f 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 e6cdeb9cee8b..6ede4c7993c2 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 0b0bfad9efc3..c84fe36a3dd6 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 c8499b03ab32..2f9bf68a39c2 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 065f636751b7..fb79c31452ab 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 9dbec45da1e1..89f7c92ba3a3 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 5eb524e582dd..864cef40825d 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 72317ed2a913..ea8ec54387f4 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 66219fbc6989..ccc36b928ff8 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 378d446f255d..81f2bb39621d 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 3bedf164a2fb..36c894299791 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 8466b0067f8c..ddc3d5ef7966 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 1d345aa52637..99e649fa9bd6 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 c63abb0b3f5d..72c87ea49ad4 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 547b4db554e2..aa213a39239a 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 f9fb67f610c5..214eca3ff792 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 d6b63b0bce64..bbae85023661 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 c83a5a5d09eb..995b24af7999 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 8ae6498733a6..3bb065c487e2 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 2712b64deced..4e9f7d4096b1 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 761d52d60f9f..2cf8a766328c 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 53106f93b0e8..bfcc01675c39 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 b98a3175d9af..88d04c57f40c 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 da3207fc6e00..e316d766ab99 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 8762eee13b34..bf804a022628 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 d311003df686..84c4efe721bd 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 de907b8bdb62..1b2fc26e9a5f 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 3f227c9028d1..36184d323c7b 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 3c267c71f329..a31fe528eb2f 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 280ff3a26907..c77e7c0e383f 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 b3bc3478f17d..cc24e72aa388 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 185c9787ac3f..13ea9d2cbb38 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 70794b4ad0d0..e93e3d390811 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 2fe418fe21b6..f250e710056e 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 51ffebf13b4c..d9068450af64 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 aa2b60651899..1f016098fd59 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 bb766e12f9a7..8334aaa864bc 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 92acd1d97888..83698224a312 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 4a55167fd0e1..12efb6bc770e 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 2463ea7ce044..478b351c3740 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 2550b7064620..82ece0ecbbfb 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 f0fa9dddad97..6a5f68cb24b2 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 d23f51da6964..7fc3a95e9584 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 9408187ea7f7..1df4291f061d 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 2f8d0f72944d..b95e71351cc2 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 04ff1d01e92d..d65f9e35d753 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 4d3c710052af..76a69618a3b2 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 91e7de886bec..c1823ee6f9ab 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 2dc2e2c3235e..f8fb67d915c3 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 d7231bda9974..ba7418f3a1d6 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 66b517af65b1..5b7fa3c596ff 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 2f1259317ed7..ce74b460d6f1 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 4eac9f1d1cb1..2c26118671dd 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 703791be2be0..18da08063d48 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 b14674721fff..949ad048d0c1 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 093c352a6be4..c0a060e12a45 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 b43473823bd1..02fa14e0c4ae 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 2164b6b7c2e1..93cc2ea15dfa 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 4230713044d5..6a62ece16694 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 6a2baad6a091..f5b6f95244c5 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 69a3515cf568..50bc63ca613f 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 2e06c1bb723f..851859549385 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 2bc0184db1be..56d4523ac5a1 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 6c91fd0aab94..42e151a25f87 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 71635b3a2abb..90407590293d 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 347d2c1c3dfd..4a8b2076c836 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 9cf9b7bbe411..2dff7785ab10 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 b37dc1b900eb..a10663670e5d 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 15a9a946639e..8c9deaf50013 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 66da1853abc6..439d695f87c7 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 18c81874aee3..564f2a96c7a3 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 faa4bafc7755..b18b913fdcf6 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 3899a2849057..906f44dd8df9 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 c7ffd4104045..4bcd71c79398 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 9d378ea3bb4d..43932ad3f83d 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 0ac9b7732c81..9ba47b7c6d5f 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 67cd1191a6f5..5e71f34a6271 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 b7bdb75b16bd..06c837813fc5 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 95332269694c..a553e1a0cb2e 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 6b9251eeec61..b295ef86743f 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 ba8045094376..9a048ac7696a 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 4482e099c48b..a232a0e1cd6c 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 525408de4776..ed47f6bb44b1 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 2a64f84c3c8b..9a4051a0b068 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 a34c531f9138..9eea50ff44f6 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 9310270e45d8..df36d03061e4 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 ea8d4f4e6105..274923e66b31 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 0e347dd5a34c..d417419eaf4f 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 299cf5740e9b..1068785d3fc8 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 1632d46cb59d..c40cc20a9045 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 e29a241b8d39..0be555b090d8 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 7aab1d919b1e..f67b296a788a 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 ed85c29a6f9d..4e1cb9fe5c7f 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 edd14457b482..8d6f9e1b7b4e 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 bbea6c074fc0..9feac34b3489 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 24ae34f11da9..172939765308 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 d9604166303d..6cc3734f229e 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 428ac6783afd..6487afe8179d 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 fdcdf41a8984..6fedd59b3783 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 bb5ebe566bca..6f5ba80e3220 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 9faba04f316d..8c3a49d86ce3 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 1018545c39dc..557a010a230e 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 64374b9f889f..326f9c54f583 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 bc595885bd0b..1841c0245155 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 9a862340bc25..92598550aa48 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 85acd2cc27eb..09f418a42ca0 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 ef1a54d88ce8..a9b88c182ac4 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 57107c499990..41bdbcd879a7 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 f4df6efd00eb..a58502357e4a 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 3fe0a42ae4ff..6a65e5d5208c 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 6572dc66b317..d85134c20901 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 633bf3a7712e..28937fb4c997 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 56b0ab45de7d..7b4b1a5c20f6 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 7bb74b855acc..6904e94c672e 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 2dbf9b2584dd..9931368124c3 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 3bb63872dd4d..13d503d6edcf 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 0c1c8cc3d1e3..f5d9cc9b2fb1 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 6d735e25240b..b0c56131f12b 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 b45052c48727..7b4ba37efe90 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 7a34655c85ae..61811f61e9ff 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 e30409816bc0..a8c898b55c6d 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 136c05da2c61..6b574dd6df45 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 c99782f53007..6b36d3d84d33 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 c8f6a11914bf..1e78fc80ac1e 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 65bf2927ba43..03ed6d740d74 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 a9ccd73e07b0..b7d7fca5c0bd 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 ee5a5cf001ed..3de48a3823f2 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 c66effd196e0..190944bc50ba 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 80d9d0a58845..1a250b4ddd76 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 1afcf719fbbb..8a1754605370 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 9be659892382..31eb483378cc 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 5892fc68518e..6aaded89aee5 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 0efbd8fb9858..97f137e5fc6e 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 b3cf793128f9..821cec91f918 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 0cf8515f1a3d..72c29d6ed6d8 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 ed38eaccc600..1ada3937ddbc 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 7e50520a1e73..beaca3205a76 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 4c5e197d8e33..6641fa68a4a0 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 f47f49f81963..0a47462d672e 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 d39943aa2655..7c7139b742d0 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 ba6abdcb5151..0e7ed8ef416e 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 d4f025d3a16d..5d4c238c3ef2 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 6e24b767b8e2..15103ab6ffa4 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 d98052fcfdf3..d26deda23071 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 22c377e7d0fd..f9dee76073ef 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 1c41cc4e8474..719d9892f877 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 42d06cd545d4..fda3d51c3596 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 00d91f191654..ad82128163be 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 4c0dc07069d9..d0d0e91ebf9e 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 99b154a91259..adac269fd798 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 102f48104abd..2ceaa1daba3e 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 2f61cf6afcc4..175e27fae7fd 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 44eea02e0d8e..102422c8c50b 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 68d21a1372ef..fe38dccb4bb4 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 0ebe468abb01..c4b00fee944b 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 a3a371f1dbaf..80ed2ac08608 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 2941ad88b156..ff0f1dc273aa 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 3cfa55b4af42..c5518d9df63d 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 f6b2878cffaa..d96c87c95549 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 8fae3c35897e..22ab405cdc26 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 8ec62ed1e48b..923c4a253a8c 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 2c5fe82c0b0a..9f418a259663 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 fab6fab2d30e..7baf5503fe4e 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 f57db7d8367e..b92f913b1b80 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 906b969bf34f..daea46f35308 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 f1fce4df7be5..9732ae832f1c 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 14d4eb51d7db..3bdd601faa51 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 7be3c683ce1f..17f21f51c8af 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 760222129d93..b252ff4fe1b3 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 ae651b53a719..255a1cd925b9 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 f9e4fbe35f00..f101d0e7cd07 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 c715b295c61a..164cbd3a11f3 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 8798460ee5f7..4d34c43420f9 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 89a92bd7374c..71c8f2e5afda 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 21e577fa9842..0c5a755f7579 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 7d5c87175b87..3329197ff112 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 6143439eb374..99d7db83972a 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 35e019e91a08..5032dab6d953 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 b16f9d62061e..889b686bf759 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 ac44573f0f9f..fbb2d3bb47c3 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 cb53dbcb5f00..d8597a02a310 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 f980de5cf8b3..0d4b3057dd82 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 b58ef504bfc0..c8bbb0142912 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 77157362ec2a..df2d66d6bfaf 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 882eb9823ac5..b4350ff785ff 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 4ac3b9177702..b292aac6e601 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 5689b58b5f43..e7ebb35914fc 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 8109574b1130..37475afd0684 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 f8dd832fca12..46f9094cf57b 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 663279cbef00..8787f7f6ac6d 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 35b0551dcc25..2328d1ea87f2 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 29cbf7ff95ec..03654bc904c4 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 b759dc257b53..e5f21f285772 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 14a78e94ddd8..24fb8da495f0 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 4d36e4c99e79..adce1f9b1e19 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 2166e5fe78c5..6ee3c91e9e07 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 7e3bc76055ff..57dbc2bd0141 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 a7489337ac1b..af85488666c6 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 16b28a9e1d40..c43213d0c220 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 3174ba7c5d32..361c0993fe48 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 d2d5e9c84c65..ab95ff746cc9 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 659c7ae49586..45d2274ae05c 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 0630115f27a1..69fa9ac19d56 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 0529133fe325..ae6f21f4076c 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 f8a9dd8a4210..1b07f4d5ba4f 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 b94f097bd8ad..a42d19f772ca 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 2381613fb74f..e9a7e653c77f 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 70ebd2fd1a6f..bd75434de238 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 e83451b3957f..4fd21f9380fd 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 c40e249d83dc..a05cca61e8cb 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 c38da10f1b76..e06202b273f3 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 65f265ad35e8..2d8d045ad4fe 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 f70c8f6f76d3..956464dbb5f4 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 d497cab4eb8a..9e7aac974c62 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 1a5701b83f64..4485ab84602e 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 aca586f9732d..d887ce20ef76 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 34b12f5c22f3..25e4d514073b 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 be1064714734..7ab80b083005 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 f6c33fc2a4fa..ee9f10f255a8 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 2bfd7d825a3e..0da95ebe6e9f 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 0dede451cfcb..3258fff12db7 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 1b5041a69c55..ccc7194c9418 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 3c41026f074b..5e6a67990453 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 8630ffb427f2..b9d13b3263e7 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 fc847f46319e..0adce7f80c5d 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 81d5666baa71..25e7181cc539 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 619060323cf6..cce881a22cd8 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 fc304e343fba..2207e0b1e7fe 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 b7b979d6e7ce..2e14c3c7f6da 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 46fb82505275..9d949026964b 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 c3bec62d94f4..c9dce0b9ddfa 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 ed1c6365fd83..738d866137d1 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 a7af2741bd12..5bcf1f2f5eb4 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 45432b1fb34b..b86d35488391 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 7b0cdcda04f3..403df1078fe0 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 215c88410ea4..bd55aea73c5d 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 2bbe094a14e9..9f3d428f8cc9 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 7b8cdc7ffe81..a9608086c18c 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 3fef83978365..82570100d8a2 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 bbb5d3b10494..614f1ef0c3c4 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 813f179fb73f..1bfad45ea45f 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 255281aed099..904731699b82 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 d3466b47b804..50fc65143155 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 2f3c1c73676f..eebcbe8ba0bd 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 0aca83d86950..bc48204c427c 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 9115343fb8e2..4b56ecb8e438 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 506a68c621ee..1b69fde2cb97 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 98531a185b45..ce60d402ac84 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 fe47e6c92d8a..2b2416eb6789 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 83e130fc3594..d9cf455a63ae 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 ab1ec6cf4e0f..9bd76bca08c3 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 c5ed23dd1fa0..9aa20b6ef7a7 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 d8485aef6e9e..aa731cac8306 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 a02827f599a9..f32196b90cc3 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 3d3971f995a4..ff43509cf500 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 93e71d0523d1..ff805d73848c 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 e0018e481f5d..4295b3ae8f13 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 f0aad10f065a..83662da96eb6 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 a19bb025975c..40e1074ce56b 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 5d381b4303c7..9b983536bb26 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 42267e3d0e70..ff56fce98751 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 c39f780c1a02..7ec8e8919f38 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 e231118fa6f1..397818dfee8b 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 9492ab24b998..11e5eb7e8f97 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 150a4870983e..7654284a5f90 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 948984eed881..cbe825b9465e 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 7023558bcbd5..5b8da25f275f 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 d1d82696aa41..735b00787d7a 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 cff3f8c6f13f..c9ceb4ff31ff 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 0eae9c3cd500..973d971bf74d 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 4422570c7594..a638c49922dc 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 7ab4d6cdd3f0..7990d3bb1c1c 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 60eed49740d8..0cb896a2a99e 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 c5fa23ad1154..1685aba2179e 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 5b44f5fd8c60..00f77621eadf 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 5895cbd4740c..175084237988 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 a9adb4f531d2..72746872b1a0 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 0750a6186ca2..e4b05258e967 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 1f20c6a4fbca..0255743e9814 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 bf911d93f648..16d4c750641e 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 35593b83206d..0da4c07b5b60 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 aab0a09c069d..6b482380c73b 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 925aedcf9ec2..d36c0754f392 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 68f07324018d..087381bdf126 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 80a4de4ce812..b961e6ed80bb 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 4ccf52fd5d1e..baf793ae1d99 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 f20f79d3c9ac..6c02f1349738 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 fb03b7bb04b4..bcad5897265c 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 e77ff22f0f22..b2186ba7f969 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 9f9c330c74e5..8ceebd34e6fa 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 52a2634415a2..ffa5f5639ef0 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 4a6ce2e48370..81ea6567e2ea 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 82f8e49282f7..40b294d5c1d6 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 f78ae8c109e9..ff17891e79df 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 69ad72b144a5..66e6fc050352 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 5d11e33b6b5a..ed31944f22d0 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 bfc9fe960343..46cd04bdf248 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 efd10c594384..83a2a95aa80a 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 eeef2ddf55f8..544699d02fc5 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 b93eb3de90c6..dffffd48d4df 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 27f66b037f66..e3fc6eb78844 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 be77fac58a58..8e2f53a9ea13 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 71cc3ed880f8..9e5a6bd94c06 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 5392a1d468d8..3454efbe4c48 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 b4a0e25a31a0..b351c0a0b5ca 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 1c7fdc968e93..392192a0f690 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 a74f96af1e21..7d42175a9252 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 7e5718c7bf91..ac6ceada00f3 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 5faeda95962d..659804a7eb76 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 bbd8a0831933..41c6b7f9ef67 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 6184a84445c8..79fa9e4b15bb 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 0cd4d05d5f84..89e8d54710d7 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 97908bfd64b9..4d31b5a2d792 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 1d93eebb7ca6..94b696e77286 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 b4f77cbf20be..f982e213545b 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 8d93fbed1f15..f663cf67b42b 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 37ba919c6b73..0b9e8548a31f 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 85323904995c..7da4fafc960d 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 f9d6538419d8..f418ec023fde 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 1f2e8e53cde4..cafb2d6c70de 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 b011d2045b95..dd2317c60892 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 c7b0420374f1..4abd6889fbe9 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 978ae6d2fb11..e7156fdb39a5 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 44440b0655c9..5bb766840595 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 1d78de7461bb..b5d0b06d406f 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 8a671f4db975..82664f317da4 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 bfab5e8bd569..f54956feec65 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 5f5c4b738e92..7ade1cdeb9f8 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 37601260805f..bc31eba097dc 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 7396a8c55525..95ae9d1b8661 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 34ad2ea65de1..59ad0c93b499 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 c15cf7669dec..ff4dd998ae47 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 b099fa57e4c4..9b1e6701b8de 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 9a85117ee9ff..a8ac553070de 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 0a96d8129fd2..3acbc86df3b2 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 16ade4a12980..edf380f6d87c 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 b9d75e411304..22ce52527689 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 5b7ddd3e41eb..76a4beb6354f 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 ec500b16fa00..4a5c711ad4ba 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 26c1463c8e14..bc3f00903f86 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 c1626d98f965..6c9c5959f4c3 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 14e3a19547eb..4f7dfe254e5e 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 22d629e8f842..7c3f86e167b7 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 7b438840153e..e37854f110f2 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 f6086d56300c..2fc8c707945a 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 44e5a940a181..36ae50616a34 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 dc86e1c4827c..7958d29567d0 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 b8b166c92551..c19e80dc4d2d 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 7d88a546762c..a6804f743c29 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 3822eb37b862..2eb7565e42a2 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 178a796fbbf8..bc7bdb1516f5 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 899c54c6e5a2..ff879994fccd 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 14d57f2dd95c..23d4b4372ee2 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 90be4bc0a7f2..442a5514008d 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 34b4d2d80ae3..55812b1d0114 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 080cdc220518..0cf4a3b66bb8 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 d40471d01bfa..08770d7ff17d 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 e2138d6a1ca7..0a236b0923b0 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 8002f15d22da..32434e805a4c 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 369083fa9a05..690e7d45989b 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 81d5e699e85c..3239ef3aaf05 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 d7c4dddac439..cf56a7ea2f53 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 35e252f565d4..d07403356ffa 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 0a66812bed9e..a5086b040c78 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 4bb640c870ff..be6eff15b781 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 8d59272cb7ed..f415d85fc62d 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 2f387c7209d9..8fe0c470a3c2 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 9e9e7988ba4b..f9f52da49f86 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 8b6c77c20bb3..aad888ae4a5d 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 b3fb4eee98ad..54803e43195a 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 4bb9a9d9c676..66d2fe85484d 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 4a5eec83d6d0..01e5f3ff4470 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 1e291bd2bd74..608eb2963770 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 d30f25cb7105..edf99be3a566 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 14202d146f21..85542765472f 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 39bb03a9a716..da746e8161e6 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 e7014d649802..09d4cfed7a30 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 c9a008689953..ebdc18a64adc 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 01707c01a626..abe62adaf480 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 9ddf1f9d51bb..60e6c6110102 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 1da3a5cf117e..a87073d7384f 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 0be40e5d7358..c6be92433553 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 2d4cecd33bd0..3d29a18b1a52 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 18a880d2f1b7..1c67e4a081da 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 4f1910ba8d4d..99df6ddfdf85 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 b0fddf753331..142d272ba509 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 6bdf497e31c6..e547597ba277 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 c5cf7c60f7e9..26db761c0f89 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 a8f3aae3b029..7ff2904128ae 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 50e1752c6d11..f1a151c087e0 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 954d11bd05ac..c15248460f68 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 d0999ab8903d..f216c9e0a5c1 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 9570d57042a9..11fc5ec90d4c 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 fb7c32122f4f..effffb7c7724 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 eeedfef64cf5..8c7eef6ab6e7 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 809d0d343e2f..28c9bd54902f 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 81cac9cc8c92..8edad2958c41 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 864a262e206d..2381b307d891 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 dbaf3f223af9..e809b3b685d2 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 719dea2420fa..3f8c74972c97 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 a4760ea9f014..65912bee339d 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 7bab5c687bff..d34691cef8c3 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 32bc6a065929..4b6deb0b85bc 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 d7dc7759e97b..f62ba64a7f42 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 974c4aa2ffb8..91487b98046b 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 145b2a993ef4..afaa5c607ffd 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 c9612ae9e84a..7e49a9d22da4 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 33404f4424a4..89dd0371dd8f 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 e93bacc774d2..d59e9c1de397 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 9a379ce21e8a..bf5d8c9ceed0 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 e5262ca54edb..ac60693ac731 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 ee01867fb4b8..881e06f56e6f 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 710b19bb7306..bc9d8e44fec2 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 777f976b1fc7..7b776ae5b0fc 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 5dea5905ff5e..18388b06b089 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 b724607d4fc9..ffef4c091be1 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 ab269b85b082..5aeb35d228fa 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 e4d10e41d2aa..f9bd7718c947 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 b3c25aa11966..edcd79f46b80 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 0acfcfe2570d..3c7358088408 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 557565f9f5dd..31f3865c373a 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 d0bbe65165ab..64c1e887524c 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 549f3d50dc07..6a3d4c3dfe99 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 dcb8c87773ed..797d9b6edf52 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 739ff08d99ee..2dbdce1a1c04 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 c54830d5bb86..e2f84af34ebe 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 16d1034cfdb9..cccb54c36035 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 c5b0a5b7716b..d8ec53e96b4d 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 15244cb2099e..93568ff0d07b 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 8ddada139b11..05cbeef4a9e0 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 777e74bbb4f2..f3f7065036b9 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 865ee77d3688..8e244675217f 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 8b331fc343ea..467928994845 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 06d1130a07c2..c363b5c83fb3 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 bbfde32823d1..1bb9c45682fd 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 e75f7e57bc6d..f9aa40af029b 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 2f1654572aeb..3e5a81860616 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 55860a95618a..ebbab6098831 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 f3e69db5b9cd..90efa77b7972 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 002244cdcd5f..7c5429a389d2 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 03ae79febe8a..9e611edf8f39 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 0b3fd064994c..710cbdad446d 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 c2301ab451c0..db398f3072fb 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 ec382ea20a3f..9dad54aef41c 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 ee714d8c6064..52a6f9289742 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 6a74c127fafa..e2d87d1c71a1 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 caa6124feff1..3ea651595853 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 4835e99210a9..90e7099f7f66 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 4f36bca72c7c..dee5ff1c86a0 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 4af194543702..7762a2fb6907 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 d084dae9209a..7782ee7e9845 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 b0b63d621fdd..d491da94e39c 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 7eb4b7f5d230..001f8458db68 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 313161fc8a60..1191c04b414f 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 7e60f9801493..a32bbc66acfa 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 3220e730dc1e..a55243722f14 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 01acd1ba1440..edd2ca04e344 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 2b63c1ba08cb..a8246ed72773 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 856122c776ff..21f62c3259dd 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 b289cce58dde..b3ace5cf7164 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 c1555c0b2991..e1e0854361fc 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 176e00726622..94e7c609ed48 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 4976e8c27af0..b0bad66f2fb8 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 1763ba5bfae3..0d8826c3e233 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 c356f492caa9..adede17e2c68 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 1d8687d66319..37288d32923b 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 7d3820756db8..ded1baa53da5 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 570bafa088ef..39af8e68a59d 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 9031cc973c42..27ea43971461 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 d238bb848862..804d75b1a107 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 39131e39d818..43a044d622ad 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 0004fb387d38..188d7a2ebec3 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 9ee7bc62e9b1..2079a0fbc4d6 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 ee4073f31eb6..04b83efe9179 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 f259d426f7ff..8fab3338998c 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 72db25158444..d2d146df8f2b 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 595fc831f7a0..61d51d614e7d 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 455cc4cfefb8..e0a89c328360 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 b1e3de7183ae..d2f5b2904dd3 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 e57662e71635..db18faf59883 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 f27d51e333d4..9da5b9a95df5 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 3fe5b4ad70ee..0d7c636447a8 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 b83c464cab31..ca4b3f9376c0 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 d5b529ac6362..681cf9b5c537 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 ea7bde2a0f6c..72f25ad3da17 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 dde47ec9a18f..9941f5c22598 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 bece35ee972f..2c8a49922407 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 2fa3b35e435b..ef388e04dd35 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 b2b170d739ba..d5aec2f84029 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 609d68a01fb3..caa11ea21d93 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 e7668a447914..91259eaac771 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 c221b8c84e01..852caedba78b 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 c00970ad8160..c38a15b99e6e 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 57b3e0d1b45e..2b6559b82555 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 8d4009867b4c..1c8fd53d257c 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 29d6421af8f2..7277ab833358 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 936d341512dd..cd74fc2f26fa 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 a9aee62c3e74..76d5a9f5f037 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 b2d9882ac34d..c682157ec00d 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 aaa88a3c09d7..0e06a3b4d49c 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 011ce8c0d679..1833501f3520 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 51a0fc3386e5..50f4f5ad43f0 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 1eed28bc1937..23d374bb6e41 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 ea3489b7a90e..eb9bf0c70876 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 9b14f6272c46..fd385910fc7a 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 8ff18a017132..47637d40148c 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 6584d078ebe1..9214485c0317 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 705ef4ce78f8..27e92dfd099d 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 63770ca1906a..0528f197b4ae 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 0912e1a4b07d..73e9737d0caa 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 41336502ef0b..03e11e5deaac 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 0d4ffde9eaa1..eab489bc2900 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 d34067283963..a7ac3deb3856 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 7241ed9258d1..e71882f9b477 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 2f7023afa409..fc6d99807164 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 0b5e9ca0131d..d0f24f18e488 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 6cf13ad08429..b716bea9f593 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 b1f32cb3df01..6a89f19917fb 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 f672d5c0ec11..64c435172015 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 91697927b3bf..b3a48373d66c 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 1044abbc76af..1ea4c513f3e2 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 eb25eae44efc..4bc4e51a9c90 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 6d8d82091132..e939e7c259ea 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 9a11a171f1be..df1c87959c67 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 6f8c4f594ec5..bb0d722a15ba 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 4fdb7426a7b0..5e44674d38c3 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 361fd0123eac..dd7abe510c3a 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 3b3e566d20d3..f17b551789fd 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 0d15b6f1ac5f..12c4335e7054 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 dd028b5d33c9..7eb9f498d62e 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 b8a9d633942e..4a6f9de7a729 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 ba551fd72903..42b41e04bcea 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 fb1a064ce618..9eb25d17b7ce 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 a818e5bf099a..a0ed047d7267 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 e23316bcb9fb..5ebe6548d82e 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 003038633cc5..4a0da16954d9 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 1c2148a0cd50..cc897601537d 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 64bd0d8301e3..2b7c289b3648 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 31db1125af3d..eba3332a8b6c 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 10a3fa2c5413..11f4ba713d4e 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 1b7085dafb26..10e92a4c03be 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 eea33df7c3fb..c0faf3b3e397 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 1dcaccb70fc5..1c21a85d14b6 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 c49f05788a13..a959ab0ce52b 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 8900eda3489d..a111485b74f4 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 e939686cf010..e6dabb3457a8 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 4525b26ec569..c5f92dc79c72 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 4beefaed7b26..b6546b690e9e 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 cc9eed1539a1..ec1591e293ca 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 f18401a2458b..04d16144cfff 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 a77ec0b7a126..3612a05035f3 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 7d9b09b52930..26e70871c360 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 4dbd7b616420..2c74801b53cc 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 6bf2ca6c4108..86941f76ce82 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 21de7f57c2d5..3b980577b041 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 08caeae4a0ac..83f383a45131 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 f1d0a9a4a242..2c5c75c37942 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 2a88a065003f..c68de3a612fc 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 ea596b10b05d..f04b87a8421b 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 3cb31c2df3c9..3e1b89fba671 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 c071d1f441ed..84af8460447f 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 b48a596192b4..e3736d2345cf 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 3f7924aef213..c885366fd4be 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 8bba316c853a..0db1c9c2f78b 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 ffe0481c36e3..e4de767e8837 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 1ff0ef3cd248..69c5568f7fe4 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 32944745166e..41773ce838e3 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 b16e866e583b..3ce68f0e41b1 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 140c13060813..e63b5d4e2e07 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 7d68e1984ccc..7c32d6800871 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 87a266ae49f8..180c29231edf 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 88a9ef6422d4..ce28d4e96d2f 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 b62348bfc694..36e3c1ee39a1 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 462971cc557b..932b7601b513 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 2de29869126b..0a0434df1a96 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 c0b70a63cf30..033378047a48 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 18dae36cdc89..c49132edd309 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 f42a802f21d9..e3acbff72610 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 035aabd6f80c..0162e29c956a 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 addc451a6f95..02e72ca5d9cc 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 ede570556f9c..d46f7fa29f7f 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 313074690560..96e2cb753e62 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 399aff34ce52..d0bcbf0a80bd 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 c577b49cc9fd..85b57c7cd771 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 61f8d377c958..238d26333246 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 ee172885d007..9605fd878728 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 f31eb8788e5e..5ac9b38e0011 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 d92abdac5169..acb1ad792b0c 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 ae3a31ec671e..42ab44930dad 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 e59f7a0aad6e..cdfd721eab30 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 23f36a8445dd..aaf8f4943e96 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 c14c3c92d1a9..e7170dbe1e20 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 5a187117019a..4e49ae99a066 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 fb62c4b25d77..c915b0da64f1 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 f05c436b7c85..5e43e98148b2 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 ec12f93e0fdf..e85325f37cfe 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 be45d8f6f964..9f336c7d1820 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 a24ff81ce270..ab5cede7babe 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 443b31a48c03..bcdeb71ca7bc 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 0c9ee60e7faf..e8b5abe19437 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 b3ca6b76f391..0231ac0d7191 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 1ccaf5f4a041..e7878ea4a521 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 9dad8ae18f2d..a0db3a6e4072 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 4b366c61aaf9..cede38a2d5f6 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 2f68c77f0170..dc4e5a2fe05d 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 3f76a7180112..18b10258c8be 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 264db521b480..33e7c3d830c4 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 fca373584b50..54d901e6a37a 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 aa797375c995..d7adc01bb293 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 da2f4240cfe4..3fb39e81fe5b 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 075afc0143fb..f0127cbbac51 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 a751abfaefff..ef6d9ad9b3c9 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 b6e732d6d834..6955403858de 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 a7f642be0a54..af5898499849 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 b6b1031d5251..35be07168b15 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 13c912494756..22cf136af256 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 d81e38fa7ede..bbc277f4923c 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 b82c7d4fd797..751163cc36df 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 e63497c9bd10..af2cf889a020 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 417f27a65f9d..7dc1a06d0138 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 bd0950c73f21..ced80f714557 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 2df0b2f44d54..e2cdfe54cbbf 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 560ba505f5b2..c5afa74034cf 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 3c6ef3dd28ba..c882a142223a 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 5dd606afbe51..d9131d39db39 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 444faca9d333..2423cdbaf8ef 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 2d3538dce435..d0b9781d31b1 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 6890b9c59b50..44001633f5e8 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 e2fe5460266e..af3e31c5d362 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 445278325d28..a527ff41e087 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 57f0c96a463f..1acb819ca37b 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 826ad0d941c5..69c4a885f723 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 fdfe428f88c1..9738ef31eafe 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 a8bd08be00e0..e24ef6dbd564 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 3bcada2c3445..863d924aa16e 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 466f2b8c156d..49d2e98539a9 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 4ea9c5616b41..ad6c1fbb00ef 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 abf8bb01d853..399066335133 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 1b3193b45ff2..78c391ccda9e 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 c09856dbaeca..786298416885 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 6186e5b61c3c..33745559b1b7 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 a0e81ed5b5ba..52d92dea7446 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 fe5c8610db4c..bae65972fd1c 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 03d67056bc1d..5c634201c688 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 3007ddac0e15..61f5631066ca 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 efc311161958..687fff1993b2 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 dc0ab7005b92..2c78d81b9bab 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 56d0eb942ced..1ced913480ae 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 7097f15f0b2d..b0071d67d407 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 71849525117c..7331dcfa13c0 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 38afd9a96efc..389cb2c51694 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 69e99e38bdfc..6391d2747e50 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 d1eb76632132..be4b324e9280 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 034517a9e0d7..342b23113de4 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 1a871f8e6f22..90a5957f1cc0 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 cc840de8f25b..97635de2873d 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 5794899751c1..8ca81838bf5f 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 bd5e4a1dca2f..3ec9a79a5742 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 a003a5a92c9e..09f50490f0d7 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 4d2b359d5892..3c22f24830dc 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 7df9a662d3f8..114b6c73a6b6 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 ec9ba66b26c7..08a89191c865 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 bb4d2dde60a2..a9fc6b4023dc 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 06327b8363c6..1bc191dbe75d 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 2314e13776dc..e46b1c97398e 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 772277515a6f..217b2d15c98d 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 e330d5700544..b47caf37d4fd 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 3969717268da..b36e05fcfb75 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 5abdcd1dc804..1179e1fb8081 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 87398fe42a0c..8163bb368d77 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 641878ad9b74..7a065480647f 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 e7eaab17ad87..b92a6b503129 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 76b14af07b0a..f5225c77978a 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 368c4a6f3f6c..61cd4772fbe6 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 ab5ccf9d58fd..714134b495b9 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 c0745a0bcc94..82fe5b38ae3f 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 8de57e842c4f..3787dadc3f8f 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 74d915e1e3d7..8f9992d0e298 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 4fc1a8f57c9f..dd1b134fc1fe 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 5f7d32683fda..1a9ac4b241ba 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 d6c5328a92a6..8158d2f44ae1 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 2162cda7c9bb..21146c3e40a5 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 9fced971bc77..3d40bede0848 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 2f11c9649e61..40dd3670ede6 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 8764ccbfeb9a..43b3d511504f 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 e9929a26cb5d..b8800a416130 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 de9c0dc310b2..59a98c8a26e5 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 dd2badddb8f1..29d7ae23cefd 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 879b2e4d10e3..5899c381180e 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 e0d5cdf49422..41479bcde1d0 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 4201a8411140..23ef31e08676 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 5fb3e61d9803..aee972a14580 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 7aeddfbc6532..271ade6deeab 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 40de0369f6fe..d0f22eb00feb 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 a8bf760d6500..6620cbfb5560 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 fa3809154566..787476675173 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 069851a1d67e..76733c326109 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 ff992b8b5eea..1bd9ce534061 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 5cfebf61dd3f..a5b8e0867a87 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 ecf0abaed9eb..e57cb365d3ac 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 7809907d12ad..33e89beb09c3 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 7ba37da9260d..2d5cb4ca6f65 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 041154b6dd35..57b9f941c80e 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 037a31f93649..ec7901db3553 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 5c07da12c502..38c249bc3698 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 46abd6638a78..fc09d1487477 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 f61121d07c2b..a45f2e7222ec 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 dc37fc579e6e..2b9bdc3c4fe2 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 3cca20a7c0a0..3373fa078dc6 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 98b377c93459..422455fc2188 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 ddd35344fe18..1154c64eb935 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 3f0240a41eff..99923227af6d 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 28e81a704641..d79912a207cc 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 71794aef9967..d77fab2755ae 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 eb367b1cd9df..43f29d268981 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 35498ac85a2c..9990279789a9 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 bf24ccb5fd47..c3c5b47004eb 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 4f2b5f2ac1de..8ce004de048a 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 be6d996ba6d8..d2d034a991af 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 2b6028ba7d60..5e3ab2a8ffa8 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 9c03a911cfa4..af7f72724b03 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 e1d3a529f013..28840f31a29c 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 804b530cc046..9ded99d3ea7d 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 0cbd47ce2493..ac13138e90d2 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/packages/middleware-apply-body-checksum/src/applyMd5BodyChecksumMiddleware.ts b/packages/middleware-apply-body-checksum/src/applyMd5BodyChecksumMiddleware.ts index c805b2fb70d6..8f8b0326a048 100644 --- a/packages/middleware-apply-body-checksum/src/applyMd5BodyChecksumMiddleware.ts +++ b/packages/middleware-apply-body-checksum/src/applyMd5BodyChecksumMiddleware.ts @@ -50,6 +50,7 @@ export const applyMd5BodyChecksumMiddlewareOptions: BuildHandlerOptions = { name: "applyMd5BodyChecksumMiddleware", step: "build", tags: ["SET_CONTENT_MD5", "BODY_CHECKSUM"], + override: true, }; export const getApplyMd5BodyChecksumPlugin = (config: Md5BodyChecksumResolvedConfig): Pluggable => ({ diff --git a/packages/middleware-bucket-endpoint/src/bucketEndpointMiddleware.ts b/packages/middleware-bucket-endpoint/src/bucketEndpointMiddleware.ts index 630bfffa4cb3..7e1062a04432 100644 --- a/packages/middleware-bucket-endpoint/src/bucketEndpointMiddleware.ts +++ b/packages/middleware-bucket-endpoint/src/bucketEndpointMiddleware.ts @@ -85,6 +85,7 @@ export const bucketEndpointMiddlewareOptions: RelativeMiddlewareOptions = { name: "bucketEndpointMiddleware", relation: "before", toMiddleware: "hostHeaderMiddleware", + override: true, }; export const getBucketEndpointPlugin = (options: BucketEndpointResolvedConfig): Pluggable => ({ diff --git a/packages/middleware-content-length/src/index.ts b/packages/middleware-content-length/src/index.ts index ef129b2974ed..8250ca11081f 100644 --- a/packages/middleware-content-length/src/index.ts +++ b/packages/middleware-content-length/src/index.ts @@ -46,6 +46,7 @@ export const contentLengthMiddlewareOptions: BuildHandlerOptions = { step: "build", tags: ["SET_CONTENT_LENGTH", "CONTENT_LENGTH"], name: "contentLengthMiddleware", + override: true, }; export const getContentLengthPlugin = (options: { bodyLengthChecker: BodyLengthCalculator }): Pluggable => ({ diff --git a/packages/middleware-eventstream/src/handling-middleware.ts b/packages/middleware-eventstream/src/handling-middleware.ts index ae9957950d7b..7b2b2ec6bd96 100644 --- a/packages/middleware-eventstream/src/handling-middleware.ts +++ b/packages/middleware-eventstream/src/handling-middleware.ts @@ -16,4 +16,5 @@ export const eventStreamHandlingMiddlewareOptions: RelativeMiddlewareOptions = { name: "eventStreamHandlingMiddleware", relation: "after", toMiddleware: "awsAuthMiddleware", + override: true, }; diff --git a/packages/middleware-eventstream/src/headers-middleware.ts b/packages/middleware-eventstream/src/headers-middleware.ts index c3e09fbc3e31..dc94e54315b5 100644 --- a/packages/middleware-eventstream/src/headers-middleware.ts +++ b/packages/middleware-eventstream/src/headers-middleware.ts @@ -18,4 +18,5 @@ export const eventStreamHeaderMiddlewareOptions: BuildHandlerOptions = { step: "build", tags: ["EVENT_STREAM", "HEADER", "CONTENT_TYPE", "CONTENT_SHA256"], name: "eventStreamHeaderMiddleware", + override: true, }; diff --git a/packages/middleware-expect-continue/src/index.ts b/packages/middleware-expect-continue/src/index.ts index fe320046b7d4..e6f23e662ff6 100644 --- a/packages/middleware-expect-continue/src/index.ts +++ b/packages/middleware-expect-continue/src/index.ts @@ -35,6 +35,7 @@ export const addExpectContinueMiddlewareOptions: BuildHandlerOptions = { step: "build", tags: ["SET_EXPECT_HEADER", "EXPECT_HEADER"], name: "addExpectContinueMiddleware", + override: true, }; export const getAddExpectContinuePlugin = (options: PreviouslyResolved): Pluggable => ({ diff --git a/packages/middleware-host-header/src/index.ts b/packages/middleware-host-header/src/index.ts index db9020852b0a..4346b983ec1d 100644 --- a/packages/middleware-host-header/src/index.ts +++ b/packages/middleware-host-header/src/index.ts @@ -37,6 +37,7 @@ export const hostHeaderMiddlewareOptions: BuildHandlerOptions & AbsoluteLocation step: "build", priority: "low", tags: ["HOST"], + override: true, }; export const getHostHeaderPlugin = (options: HostHeaderResolvedConfig): Pluggable => ({ diff --git a/packages/middleware-location-constraint/src/index.ts b/packages/middleware-location-constraint/src/index.ts index 9aa881c65454..7d2a6850e416 100644 --- a/packages/middleware-location-constraint/src/index.ts +++ b/packages/middleware-location-constraint/src/index.ts @@ -45,6 +45,7 @@ export const locationConstraintMiddlewareOptions: InitializeHandlerOptions = { step: "initialize", tags: ["LOCATION_CONSTRAINT", "CREATE_BUCKET_CONFIGURATION"], name: "locationConstraintMiddleware", + override: true, }; export const getLocationConstraintPlugin = (config: LocationConstraintResolvedConfig): Pluggable => ({ diff --git a/packages/middleware-logger/src/loggerMiddleware.ts b/packages/middleware-logger/src/loggerMiddleware.ts index 577e3e2f572a..12fe67f90bb2 100644 --- a/packages/middleware-logger/src/loggerMiddleware.ts +++ b/packages/middleware-logger/src/loggerMiddleware.ts @@ -42,6 +42,7 @@ export const loggerMiddlewareOptions: InitializeHandlerOptions & AbsoluteLocatio name: "loggerMiddleware", tags: ["LOGGER"], step: "initialize", + override: true, }; // eslint-disable-next-line @typescript-eslint/no-unused-vars diff --git a/packages/middleware-retry/src/omitRetryHeadersMiddleware.ts b/packages/middleware-retry/src/omitRetryHeadersMiddleware.ts index 5fcfbf3fb991..871f1a07ffb3 100644 --- a/packages/middleware-retry/src/omitRetryHeadersMiddleware.ts +++ b/packages/middleware-retry/src/omitRetryHeadersMiddleware.ts @@ -28,6 +28,7 @@ export const omitRetryHeadersMiddlewareOptions: RelativeMiddlewareOptions = { tags: ["RETRY", "HEADERS", "OMIT_RETRY_HEADERS"], relation: "before", toMiddleware: "awsAuthMiddleware", + override: true, }; export const getOmitRetryHeadersPlugin = (options: unknown): Pluggable => ({ diff --git a/packages/middleware-retry/src/retryMiddleware.ts b/packages/middleware-retry/src/retryMiddleware.ts index d66042a67f42..b7e3efe757a8 100644 --- a/packages/middleware-retry/src/retryMiddleware.ts +++ b/packages/middleware-retry/src/retryMiddleware.ts @@ -27,6 +27,7 @@ export const retryMiddlewareOptions: FinalizeRequestHandlerOptions & AbsoluteLoc tags: ["RETRY"], step: "finalizeRequest", priority: "high", + override: true, }; export const getRetryPlugin = (options: RetryResolvedConfig): Pluggable => ({ diff --git a/packages/middleware-sdk-api-gateway/src/index.ts b/packages/middleware-sdk-api-gateway/src/index.ts index 87d88c128af8..7828dcca8532 100644 --- a/packages/middleware-sdk-api-gateway/src/index.ts +++ b/packages/middleware-sdk-api-gateway/src/index.ts @@ -31,6 +31,7 @@ export const acceptHeaderMiddlewareOptions: BuildHandlerOptions = { step: "build", tags: ["SET_ACCEPT_HEADER", "ACCEPT_HEADER"], name: "acceptHeaderMiddleware", + override: true, }; // eslint-disable-next-line @typescript-eslint/no-unused-vars diff --git a/packages/middleware-sdk-ec2/src/index.ts b/packages/middleware-sdk-ec2/src/index.ts index 9e86b3435169..45fbd0f77aa7 100755 --- a/packages/middleware-sdk-ec2/src/index.ts +++ b/packages/middleware-sdk-ec2/src/index.ts @@ -81,6 +81,7 @@ export const copySnapshotPresignedUrlMiddlewareOptions: InitializeHandlerOptions step: "initialize", tags: ["CROSS_REGION_PRESIGNED_URL"], name: "crossRegionPresignedUrlMiddleware", + override: true, }; export const getCopySnapshotPresignedUrlPlugin = (config: PreviouslyResolved): Pluggable => ({ diff --git a/packages/middleware-sdk-glacier/src/account-id-default.ts b/packages/middleware-sdk-glacier/src/account-id-default.ts index bdae921ee3fb..2a3445c0f818 100644 --- a/packages/middleware-sdk-glacier/src/account-id-default.ts +++ b/packages/middleware-sdk-glacier/src/account-id-default.ts @@ -25,4 +25,5 @@ export const accountIdDefaultMiddlewareOptions: InitializeHandlerOptions = { step: "initialize", tags: ["ACCOUNT_ID_DEFAULT"], name: "accountIdDefaultMiddleware", + override: true, }; diff --git a/packages/middleware-sdk-glacier/src/add-checksum-headers.ts b/packages/middleware-sdk-glacier/src/add-checksum-headers.ts index 44468d062118..6460b06198fe 100644 --- a/packages/middleware-sdk-glacier/src/add-checksum-headers.ts +++ b/packages/middleware-sdk-glacier/src/add-checksum-headers.ts @@ -49,4 +49,5 @@ export const addChecksumHeadersMiddlewareOptions: BuildHandlerOptions = { step: "build", tags: ["SET_CHECKSUM_HEADERS"], name: "addChecksumHeadersMiddleware", + override: true, }; diff --git a/packages/middleware-sdk-glacier/src/add-glacier-api-version.ts b/packages/middleware-sdk-glacier/src/add-glacier-api-version.ts index 00267c70c518..52d56e8abaca 100644 --- a/packages/middleware-sdk-glacier/src/add-glacier-api-version.ts +++ b/packages/middleware-sdk-glacier/src/add-glacier-api-version.ts @@ -30,4 +30,5 @@ export const addGlacierApiVersionMiddlewareOptions: BuildHandlerOptions = { step: "build", tags: ["SET_GLACIER_VERSION"], name: "addGlacierApiVersionMiddleware", + override: true, }; diff --git a/packages/middleware-sdk-machinelearning/src/predict-endpoint.ts b/packages/middleware-sdk-machinelearning/src/predict-endpoint.ts index b0add48647a9..44f58cdd6851 100644 --- a/packages/middleware-sdk-machinelearning/src/predict-endpoint.ts +++ b/packages/middleware-sdk-machinelearning/src/predict-endpoint.ts @@ -41,6 +41,7 @@ export const predictEndpointMiddlewareOptions: BuildHandlerOptions = { step: "build", tags: ["PREDICT_ENDPOINT"], name: "predictEndpointMiddleware", + override: true, }; export const getPredictEndpointPlugin = (config: ResolvedPredictEndpointMiddlewareConfig): Pluggable => ({ diff --git a/packages/middleware-sdk-rds/src/index.ts b/packages/middleware-sdk-rds/src/index.ts index 16bb20084b3c..17fd0c0af770 100644 --- a/packages/middleware-sdk-rds/src/index.ts +++ b/packages/middleware-sdk-rds/src/index.ts @@ -109,6 +109,7 @@ export const crossRegionPresignedUrlMiddlewareOptions: InitializeHandlerOptions step: "initialize", tags: ["CROSS_REGION_PRESIGNED_URL"], name: "crossRegionPresignedUrlMiddleware", + override: true, }; export const getCrossRegionPresignedUrlPlugin = (config: PreviouslyResolved): Pluggable => ({ diff --git a/packages/middleware-sdk-route53/src/change-resource-record-sets.ts b/packages/middleware-sdk-route53/src/change-resource-record-sets.ts index b40d675b5973..2a2752ac58dd 100644 --- a/packages/middleware-sdk-route53/src/change-resource-record-sets.ts +++ b/packages/middleware-sdk-route53/src/change-resource-record-sets.ts @@ -67,6 +67,7 @@ export const changeResourceRecordSetsMiddlewareOptions: InitializeHandlerOptions step: "initialize", tags: ["ROUTE53_IDS", "CHANGE_RESOURCE_RECORD_SETS"], name: "changeResourceRecordSetsMiddleware", + override: true, }; // eslint-disable-next-line @typescript-eslint/no-unused-vars diff --git a/packages/middleware-sdk-route53/src/id-normalizer.ts b/packages/middleware-sdk-route53/src/id-normalizer.ts index 43298ec0769e..59b047a7435d 100644 --- a/packages/middleware-sdk-route53/src/id-normalizer.ts +++ b/packages/middleware-sdk-route53/src/id-normalizer.ts @@ -43,6 +43,7 @@ export const idNormalizerMiddlewareOptions: InitializeHandlerOptions = { step: "initialize", tags: ["ROUTE53_IDS"], name: "idNormalizerMiddleware", + override: true, }; // eslint-disable-next-line @typescript-eslint/no-unused-vars diff --git a/packages/middleware-sdk-s3-control/src/redirect-from-postid.ts b/packages/middleware-sdk-s3-control/src/redirect-from-postid.ts index ded31a30e76e..e7fd16916aff 100644 --- a/packages/middleware-sdk-s3-control/src/redirect-from-postid.ts +++ b/packages/middleware-sdk-s3-control/src/redirect-from-postid.ts @@ -27,6 +27,7 @@ export const redirectFromPostIdMiddlewareOptions: BuildHandlerOptions = { step: "build", name: "redirectFromPostIdMiddleware", tags: ["OUTPOST"], + override: true, }; export const getRedirectFromPostIdPlugin = (options: S3ControlResolvedConfig): Pluggable => ({ diff --git a/packages/middleware-sdk-s3/src/throw-200-exceptions.ts b/packages/middleware-sdk-s3/src/throw-200-exceptions.ts index 10909439e179..787069adac32 100644 --- a/packages/middleware-sdk-s3/src/throw-200-exceptions.ts +++ b/packages/middleware-sdk-s3/src/throw-200-exceptions.ts @@ -59,6 +59,7 @@ export const throw200ExceptionsMiddlewareOptions: RelativeMiddlewareOptions = { toMiddleware: "deserializerMiddleware", tags: ["THROW_200_EXCEPTIONS", "S3"], name: "throw200ExceptionsMiddleware", + override: true, }; /** diff --git a/packages/middleware-sdk-s3/src/use-regional-endpoint.ts b/packages/middleware-sdk-s3/src/use-regional-endpoint.ts index 78a24fcba022..1192547c01ea 100644 --- a/packages/middleware-sdk-s3/src/use-regional-endpoint.ts +++ b/packages/middleware-sdk-s3/src/use-regional-endpoint.ts @@ -40,6 +40,7 @@ export const useRegionalEndpointMiddlewareOptions: BuildHandlerOptions = { step: "build", tags: ["USE_REGIONAL_ENDPOINT", "S3"], name: "useRegionalEndpointMiddleware", + override: true, }; /** diff --git a/packages/middleware-sdk-s3/src/validate-bucket-name.ts b/packages/middleware-sdk-s3/src/validate-bucket-name.ts index 14c49edb0d4a..a6334b028e3d 100644 --- a/packages/middleware-sdk-s3/src/validate-bucket-name.ts +++ b/packages/middleware-sdk-s3/src/validate-bucket-name.ts @@ -37,6 +37,7 @@ export const validateBucketNameMiddlewareOptions: InitializeHandlerOptions = { step: "initialize", tags: ["VALIDATE_BUCKET_NAME"], name: "validateBucketNameMiddleware", + override: true, }; /** diff --git a/packages/middleware-sdk-sqs/src/receive-message.ts b/packages/middleware-sdk-sqs/src/receive-message.ts index aeb4dad9ceb6..bb62aadf663b 100644 --- a/packages/middleware-sdk-sqs/src/receive-message.ts +++ b/packages/middleware-sdk-sqs/src/receive-message.ts @@ -52,6 +52,7 @@ export const receiveMessageMiddlewareOptions: InitializeHandlerOptions = { step: "initialize", tags: ["VALIDATE_BODY_MD5"], name: "receiveMessageMiddleware", + override: true, }; export const getReceiveMessagePlugin = (config: PreviouslyResolved): Pluggable => ({ diff --git a/packages/middleware-sdk-sqs/src/send-message-batch.ts b/packages/middleware-sdk-sqs/src/send-message-batch.ts index 625b7eb34fba..afb785ce0912 100644 --- a/packages/middleware-sdk-sqs/src/send-message-batch.ts +++ b/packages/middleware-sdk-sqs/src/send-message-batch.ts @@ -60,6 +60,7 @@ export const sendMessageBatchMiddlewareOptions: InitializeHandlerOptions = { step: "initialize", tags: ["VALIDATE_BODY_MD5"], name: "sendMessageBatchMiddleware", + override: true, }; export const getSendMessageBatchPlugin = (config: PreviouslyResolved): Pluggable => ({ diff --git a/packages/middleware-sdk-sqs/src/send-message.ts b/packages/middleware-sdk-sqs/src/send-message.ts index 5e4345e02f7e..c6f58dc15910 100644 --- a/packages/middleware-sdk-sqs/src/send-message.ts +++ b/packages/middleware-sdk-sqs/src/send-message.ts @@ -36,6 +36,7 @@ export const sendMessageMiddlewareOptions: InitializeHandlerOptions = { step: "initialize", tags: ["VALIDATE_BODY_MD5"], name: "sendMessageMiddleware", + override: true, }; export const getSendMessagePlugin = (config: PreviouslyResolved): Pluggable => ({ diff --git a/packages/middleware-sdk-transcribe-streaming/src/middleware-endpoint.ts b/packages/middleware-sdk-transcribe-streaming/src/middleware-endpoint.ts index 105dbb9a9bb1..22e5ed573903 100644 --- a/packages/middleware-sdk-transcribe-streaming/src/middleware-endpoint.ts +++ b/packages/middleware-sdk-transcribe-streaming/src/middleware-endpoint.ts @@ -58,4 +58,5 @@ export const websocketURLMiddlewareOptions: RelativeMiddlewareOptions = { tags: ["WEBSOCKET", "EVENT_STREAM"], relation: "after", toMiddleware: "eventStreamHeaderMiddleware", + override: true, }; diff --git a/packages/middleware-sdk-transcribe-streaming/src/middleware-session-id.ts b/packages/middleware-sdk-transcribe-streaming/src/middleware-session-id.ts index cac94e86b226..e7a88ddd6027 100644 --- a/packages/middleware-sdk-transcribe-streaming/src/middleware-session-id.ts +++ b/packages/middleware-sdk-transcribe-streaming/src/middleware-session-id.ts @@ -47,4 +47,5 @@ export const injectSessionIdMiddlewareOptions: InitializeHandlerOptions = { step: "initialize", name: "injectSessionIdMiddleware", tags: ["WEBSOCKET", "EVENT_STREAM"], + override: true, }; diff --git a/packages/middleware-serde/src/serdePlugin.ts b/packages/middleware-serde/src/serdePlugin.ts index a6eabb331c53..722b5efe22d3 100644 --- a/packages/middleware-serde/src/serdePlugin.ts +++ b/packages/middleware-serde/src/serdePlugin.ts @@ -16,12 +16,14 @@ export const deserializerMiddlewareOption: DeserializeHandlerOptions = { name: "deserializerMiddleware", step: "deserialize", tags: ["DESERIALIZER"], + override: true, }; export const serializerMiddlewareOption: SerializeHandlerOptions = { name: "serializerMiddleware", step: "serialize", tags: ["SERIALIZER"], + override: true, }; export function getSerdePlugin< diff --git a/packages/middleware-signing/src/middleware.ts b/packages/middleware-signing/src/middleware.ts index 584c7040a8c6..df654ecb3adc 100644 --- a/packages/middleware-signing/src/middleware.ts +++ b/packages/middleware-signing/src/middleware.ts @@ -50,6 +50,7 @@ export const awsAuthMiddlewareOptions: RelativeMiddlewareOptions = { tags: ["SIGNATURE", "AWSAUTH"], relation: "after", toMiddleware: "retryMiddleware", + override: true, }; export const getAwsAuthPlugin = (options: AwsAuthResolvedConfig): Pluggable => ({ diff --git a/packages/middleware-ssec/src/index.ts b/packages/middleware-ssec/src/index.ts index d88175ed28d3..468784c1c161 100644 --- a/packages/middleware-ssec/src/index.ts +++ b/packages/middleware-ssec/src/index.ts @@ -59,6 +59,7 @@ export const ssecMiddlewareOptions: InitializeHandlerOptions = { name: "ssecMiddleware", step: "initialize", tags: ["SSE"], + override: true, }; export const getSsecPlugin = (config: ResolvedSsecMiddlewareConfig): Pluggable => ({ diff --git a/packages/middleware-stack/src/MiddlewareStack.spec.ts b/packages/middleware-stack/src/MiddlewareStack.spec.ts index f1c6f76d63a9..3aa4246fff30 100644 --- a/packages/middleware-stack/src/MiddlewareStack.spec.ts +++ b/packages/middleware-stack/src/MiddlewareStack.spec.ts @@ -57,6 +57,38 @@ describe("MiddlewareStack", () => { input: ["A", "B", "C", "D", "E", "F", "G"], }); }); + + it("should throw if duplicated name is found", () => { + const stack = constructStack(); + const aMW = getConcatMiddleware("A"); + stack.add(aMW, { name: "A" }); + expect(() => stack.add(aMW, { name: "A" })).toThrow("Duplicate middleware name 'A'"); + }); + + describe("config: override", () => { + it("should override the middleware with same name if override config is set", async () => { + const stack = constructStack(); + stack.add(getConcatMiddleware("A"), { name: "A" }); + stack.add(getConcatMiddleware("override"), { name: "A", override: true }); + const inner = jest.fn(); + const composed = stack.resolve(inner, {} as any); + await composed({ input: [] }); + expect(inner.mock.calls.length).toBe(1); + expect(inner).toBeCalledWith({ + input: ["override"], + }); + }); + + it("should throw if overriding middleware with same name different position", () => { + const stack = constructStack(); + stack.add(getConcatMiddleware("A"), { name: "A" }); + expect(() => + stack.add(getConcatMiddleware("override"), { name: "A", step: "serialize", override: true }) + ).toThrow( + '"A" middleware with normal priority in initialize step cannot be overridden by same-name middleware with normal priority in serialize step.' + ); + }); + }); }); describe("addRelativeTo", () => { @@ -166,6 +198,43 @@ describe("MiddlewareStack", () => { expect(e.message).toBe("non_exist is not found when adding foo middleware before non_exist"); } }); + + describe("config: override", () => { + it("should override the middleware with same name if override config is set", async () => { + const stack = constructStack(); + stack.add(getConcatMiddleware("A"), { name: "A" }); + stack.addRelativeTo(getConcatMiddleware("B"), { name: "B", relation: "after", toMiddleware: "A" }); + stack.addRelativeTo(getConcatMiddleware("override"), { + name: "B", + relation: "after", + toMiddleware: "A", + override: true, + }); + const inner = jest.fn(); + const composed = stack.resolve(inner, {} as any); + await composed({ input: [] }); + expect(inner.mock.calls.length).toBe(1); + expect(inner).toBeCalledWith({ + input: ["A", "override"], + }); + }); + + it("should throw if overriding middleware with same name different position", () => { + const stack = constructStack(); + stack.add(getConcatMiddleware("A"), { name: "A" }); + stack.addRelativeTo(getConcatMiddleware("B"), { name: "B", relation: "after", toMiddleware: "A" }); + expect(() => + stack.addRelativeTo(getConcatMiddleware("override"), { + name: "B", + relation: "before", + toMiddleware: "A", + override: true, + }) + ).toThrow( + '"B" middleware after "A" middleware cannot be overridden by same-name middleware before "A" middleware.' + ); + }); + }); }); describe("clone", () => { diff --git a/packages/middleware-stack/src/MiddlewareStack.ts b/packages/middleware-stack/src/MiddlewareStack.ts index e473dc5dc4e5..807e45a4f575 100644 --- a/packages/middleware-stack/src/MiddlewareStack.ts +++ b/packages/middleware-stack/src/MiddlewareStack.ts @@ -153,7 +153,7 @@ export const constructStack = (): M const stack = { add: (middleware: MiddlewareType, options: HandlerOptions & AbsoluteLocation = {}) => { - const { name } = options; + const { name, override } = options; const entry: AbsoluteMiddlewareEntry = { step: "initialize", priority: "normal", @@ -162,7 +162,16 @@ export const constructStack = (): M }; if (name) { if (entriesNameSet.has(name)) { - throw new Error(`Duplicate middleware name '${name}'`); + if (!override) throw new Error(`Duplicate middleware name '${name}'`); + const toOverrideIndex = absoluteEntries.findIndex((entry) => entry.name === name); + const toOverride = absoluteEntries[toOverrideIndex]; + if (toOverride.step !== entry.step || toOverride.priority !== entry.priority) { + throw new Error( + `"${name}" middleware with ${toOverride.priority} priority in ${toOverride.step} step cannot be ` + + `overridden by same-name middleware with ${entry.priority} priority in ${entry.step} step.` + ); + } + absoluteEntries.splice(toOverrideIndex, 1); } entriesNameSet.add(name); } @@ -170,14 +179,23 @@ export const constructStack = (): M }, addRelativeTo: (middleware: MiddlewareType, options: HandlerOptions & RelativeLocation) => { - const { name } = options; + const { name, override } = options; const entry: RelativeMiddlewareEntry = { middleware, ...options, }; if (name) { if (entriesNameSet.has(name)) { - throw new Error(`Duplicated middleware name '${name}'`); + if (!override) throw new Error(`Duplicate middleware name '${name}'`); + const toOverrideIndex = relativeEntries.findIndex((entry) => entry.name === name); + const toOverride = relativeEntries[toOverrideIndex]; + if (toOverride.toMiddleware !== entry.toMiddleware || toOverride.relation !== entry.relation) { + throw new Error( + `"${name}" middleware ${toOverride.relation} "${toOverride.toMiddleware}" middleware cannot be overridden ` + + `by same-name middleware ${entry.relation} "${entry.toMiddleware}" middleware.` + ); + } + relativeEntries.splice(toOverrideIndex, 1); } entriesNameSet.add(name); } diff --git a/packages/middleware-user-agent/src/user-agent-middleware.ts b/packages/middleware-user-agent/src/user-agent-middleware.ts index 31ecd7f97457..d86fc297fd26 100644 --- a/packages/middleware-user-agent/src/user-agent-middleware.ts +++ b/packages/middleware-user-agent/src/user-agent-middleware.ts @@ -76,6 +76,7 @@ export const getUserAgentMiddlewareOptions: BuildHandlerOptions & AbsoluteLocati step: "build", priority: "low", tags: ["SET_USER_AGENT", "USER_AGENT"], + override: true, }; export const getUserAgentPlugin = (config: UserAgentResolvedConfig): Pluggable => ({ diff --git a/packages/s3-request-presigner/src/getSignedUrl.ts b/packages/s3-request-presigner/src/getSignedUrl.ts index a67a9665f352..3d97a3062bc1 100644 --- a/packages/s3-request-presigner/src/getSignedUrl.ts +++ b/packages/s3-request-presigner/src/getSignedUrl.ts @@ -41,19 +41,12 @@ export const getSignedUrl = async < } as any; }; const middlewareName = "presignInterceptMiddleware"; - try { - client.middlewareStack.addRelativeTo(presignInterceptMiddleware, { - name: middlewareName, - relation: "before", - toMiddleware: "awsAuthMiddleware", - }); - } catch (e) { - if (e.message!.includes(`Duplicated middleware name '${middlewareName}'`)) { - // Swallow if the interceptor is already added. See https://github.com/aws/aws-sdk-js-v3/issues/1857 - } else { - throw e; - } - } + client.middlewareStack.addRelativeTo(presignInterceptMiddleware, { + name: middlewareName, + relation: "before", + toMiddleware: "awsAuthMiddleware", + override: true, + }); let presigned: HttpRequest; try { diff --git a/packages/types/src/middleware.ts b/packages/types/src/middleware.ts index 0f9078c2550c..9167673f836a 100644 --- a/packages/types/src/middleware.ts +++ b/packages/types/src/middleware.ts @@ -206,6 +206,13 @@ export interface HandlerOptions { * A unique name to refer to a middleware */ name?: string; + + /** + * A flag to override the existing middleware with the same name. Without + * setting it, adding middleware with duplicated name will throw an exception. + * @internal + */ + override?: boolean; } export interface AbsoluteLocation { /** diff --git a/protocol_tests/aws-ec2/commands/EmptyInputAndEmptyOutputCommand.ts b/protocol_tests/aws-ec2/commands/EmptyInputAndEmptyOutputCommand.ts index 04186c982c08..6906fafc2359 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 385489a5b194..3af7582f5749 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 2034127d377a..ceeca936c33b 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 63267fffa39c..ef03687b6f52 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 bab30577aeae..0941194464b2 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 afbb801f17ba..c238749b91b3 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 a462420830e7..024004e0b9bf 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 ef75eafd9388..86d254e0f874 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 8546548fef5c..58a5600432d4 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 6b6adee08a28..de5d295575b1 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 b0b9aa3299bf..206ce102aa86 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 f379cbcede46..e17d5899b244 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 7a549d47352a..5a84d216587c 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 0fd6d20da4bc..a0011a53db22 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 1439111741fa..0cf6075884ab 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 9faa526193c7..dce594c4fa96 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 a28066819091..1790f7012593 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 e16f22f37793..a21b706065ae 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 4cd06cf3a09f..dfef7cc1f0f4 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 999858386c3b..05b7833b06cc 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 cf1924dbe6cb..9c22295f5600 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 169d30f6a9b3..2acf1559b4fc 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 0c4375e8a2ac..ceda47d5e70a 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 e1f10e237cbc..98e5421ed273 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 0b4fe04c8c16..2c3f5b4ba5f3 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 8c8d2cdd59d3..3a3e1cd1e41f 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 adec4f3630bf..4bd276401bf1 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 0c065a75c18f..d0f99318f502 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 e937ca428b08..125862fc7cdb 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 61bb5a3907ea..b2e323a11be2 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 166810b3198f..d17b62e50f4f 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 979c848f7c3a..45a8ac8b44c1 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 8ae2106cd48d..5a312c11b77b 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 13fb7ddecc81..9a4de5d08290 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 f0f88ce47344..713a3255162a 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 4498a3562ad0..07626023074b 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 bbb57376e079..812e5f8c70e9 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 a0a517c1c92c..2b256be0c712 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 80315467f066..415b6cb6924f 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 07ec52568dd2..c37f043c31e7 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 c63ab798f7fa..3ae6cd8569e8 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 30baffd73d39..7247aa7f0a73 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 4a9b412d2401..1ab93f68b437 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 663e68617d22..499767496309 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 d364beff1dfb..71ed62f43e51 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 0b8f88f50b4e..35a9f842e765 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 fea537e50781..ee53c8487408 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 ad46cc7eb754..2916ad6e2ceb 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 90ec82d745c6..1f3b1d7f8322 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 398b4d210e6c..00921a2907b3 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 281d5ee6b732..668b778d02b6 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 fd3d0904d46c..d9d86b6194a5 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 5b44386aabcb..7fb98a30b8e9 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 801caeed3ba0..b2dc086dfaef 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 be34cad8e581..3fa141d9db1a 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 c60898004eeb..aa418e5b17c7 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 b7b64c6f70ed..d258c9676a10 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 92adfe68fd4f..67ab1ed0b78e 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 1bb3e6c2b009..3767be82e11e 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 651878d1849a..415e9bd85357 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 2bf3eac3f2f3..18beeab44e12 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 d2f4849302b1..6c47fa3c5e55 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 49a191e3d0bf..72943f06ce67 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 183e1ee9b12a..1307ac6e9570 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 a6a3ef171faf..90f7c8a3aedc 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 87a030cf1d49..d00d4a269897 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 fdffc051ee13..48f5d8c0988b 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 c6101571dad3..941e56e54d53 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 2d32b1edbd42..686b04bc2764 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 930918a9201a..5eb87a65d6bc 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 fe5e48d37f16..d1e9c6cb4e4d 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 a275648f9219..194845b9ab45 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 01c6df814a51..23dc9e3d05be 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 e06483608a32..4a7fc268d67d 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 7e3abccfd9aa..2e92f61a58e0 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 7baad0effa85..accfaa6d7ef3 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 7769ecc502aa..2a1f038b357b 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 38db197f68dc..eba2fb856912 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 2d3e47d2d600..3aa30ee4f660 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 5b096b8e7f8a..f1ce33a03cbd 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 72604d6cbabd..4fa26c4272dd 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 8cde02c98641..312305969ef0 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 2f8f9aba9cfc..0f49eda68109 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 7d9cebf1a2f6..82952a40c06e 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 9e117f9d52c5..010e7f414d2d 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 48a2371842c9..8a4474137be6 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 2c78a918e816..f46370727bd8 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 69f87372ef81..c04d6c150cc1 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 886e3f44650a..083bf48885c6 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 62bbb182cf0c..a6293266a569 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 2963ca30e98c..dbc44831b34d 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 65eb0a2bf4f9..fa5dc5a512f3 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 f9b919acf5da..9120ca9fbc86 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 08b452607b77..7fe1e6b0f0a3 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 64ca154fafad..c622340c1eb0 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 fe76e99b7aaa..24e3de6bff67 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 18150ec6e5b4..176b15bb8574 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 83dac73803df..afc0792e9282 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 349f62208ae3..86a4207fb169 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 84cd17aba22c..d3127bd80807 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 6a36f42c102a..98c3519f7ee6 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 e46fdd75c6be..9b7d0579d4f3 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 f484cbe491d7..e4335a3ffc76 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 52779a0914a9..5b29246c8c01 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 4c8b515644d1..22af494846c3 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 52d13bc82b23..69bb1396a047 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 f4e3d8670e32..959d8f675309 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 b40674d23cd7..5b9268671991 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 64d2160a58ad..837f5688a47e 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 5b8335fccacd..9e13343f56a8 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 58152fa66d9c..883bbb27cdf3 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 f39ebfe0cc97..062411cacf7e 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 7b88ac97e504..3ae9d679fa30 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 c79fddb59a26..4e1fa520215f 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 41e01bf2d788..a2bf8d944f02 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 9eda8649d6fd..fdb3bf8065c5 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 f36251295c49..13501fc35bb3 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 dffa346169b7..7cf63a5c82a7 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 4c7da8fba7f7..2d55b077edf5 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 2ba31e4e0c8d..b6df1a80b35d 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 adcc6cf97864..b07d13fc4ae2 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 fc87ff5160aa..1b26ec3251db 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 1e046a8eafb0..b3c4a2416e9d 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 bbacca7aa57c..d54d0639c223 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 e7f68d3289cb..5c7bb1e53996 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 ed7104b071de..eac36d441f79 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 1dd2c67d04a8..07c09b0dcf43 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 1ecf8dfcaffc..77ddcec0217d 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 b573de2da670..406cfb299a2c 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 3cf07f59a665..2a70fcf58527 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 c57f4847c336..170d8c130f82 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 1bef5486cc2a..19b524e97972 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);