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