@aws-sdk/client-kafka 3.303.0 → 3.309.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. package/dist-cjs/commands/BatchAssociateScramSecretCommand.js +2 -2
  2. package/dist-cjs/commands/BatchDisassociateScramSecretCommand.js +2 -2
  3. package/dist-cjs/commands/CreateClusterCommand.js +2 -2
  4. package/dist-cjs/commands/CreateClusterV2Command.js +2 -2
  5. package/dist-cjs/commands/CreateConfigurationCommand.js +2 -2
  6. package/dist-cjs/commands/DeleteClusterCommand.js +2 -2
  7. package/dist-cjs/commands/DeleteConfigurationCommand.js +2 -2
  8. package/dist-cjs/commands/DescribeClusterCommand.js +2 -2
  9. package/dist-cjs/commands/DescribeClusterOperationCommand.js +2 -2
  10. package/dist-cjs/commands/DescribeClusterV2Command.js +2 -2
  11. package/dist-cjs/commands/DescribeConfigurationCommand.js +2 -2
  12. package/dist-cjs/commands/DescribeConfigurationRevisionCommand.js +2 -2
  13. package/dist-cjs/commands/GetBootstrapBrokersCommand.js +2 -2
  14. package/dist-cjs/commands/GetCompatibleKafkaVersionsCommand.js +2 -2
  15. package/dist-cjs/commands/ListClusterOperationsCommand.js +2 -2
  16. package/dist-cjs/commands/ListClustersCommand.js +2 -2
  17. package/dist-cjs/commands/ListClustersV2Command.js +2 -2
  18. package/dist-cjs/commands/ListConfigurationRevisionsCommand.js +2 -2
  19. package/dist-cjs/commands/ListConfigurationsCommand.js +2 -2
  20. package/dist-cjs/commands/ListKafkaVersionsCommand.js +2 -2
  21. package/dist-cjs/commands/ListNodesCommand.js +2 -2
  22. package/dist-cjs/commands/ListScramSecretsCommand.js +2 -2
  23. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
  24. package/dist-cjs/commands/RebootBrokerCommand.js +2 -2
  25. package/dist-cjs/commands/TagResourceCommand.js +2 -2
  26. package/dist-cjs/commands/UntagResourceCommand.js +2 -2
  27. package/dist-cjs/commands/UpdateBrokerCountCommand.js +2 -2
  28. package/dist-cjs/commands/UpdateBrokerStorageCommand.js +2 -2
  29. package/dist-cjs/commands/UpdateBrokerTypeCommand.js +2 -2
  30. package/dist-cjs/commands/UpdateClusterConfigurationCommand.js +2 -2
  31. package/dist-cjs/commands/UpdateClusterKafkaVersionCommand.js +2 -2
  32. package/dist-cjs/commands/UpdateConfigurationCommand.js +2 -2
  33. package/dist-cjs/commands/UpdateConnectivityCommand.js +2 -2
  34. package/dist-cjs/commands/UpdateMonitoringCommand.js +2 -2
  35. package/dist-cjs/commands/UpdateSecurityCommand.js +2 -2
  36. package/dist-cjs/commands/UpdateStorageCommand.js +2 -2
  37. package/dist-cjs/protocols/Aws_restJson1.js +686 -790
  38. package/dist-es/commands/BatchAssociateScramSecretCommand.js +3 -3
  39. package/dist-es/commands/BatchDisassociateScramSecretCommand.js +3 -3
  40. package/dist-es/commands/CreateClusterCommand.js +3 -3
  41. package/dist-es/commands/CreateClusterV2Command.js +3 -3
  42. package/dist-es/commands/CreateConfigurationCommand.js +3 -3
  43. package/dist-es/commands/DeleteClusterCommand.js +3 -3
  44. package/dist-es/commands/DeleteConfigurationCommand.js +3 -3
  45. package/dist-es/commands/DescribeClusterCommand.js +3 -3
  46. package/dist-es/commands/DescribeClusterOperationCommand.js +3 -3
  47. package/dist-es/commands/DescribeClusterV2Command.js +3 -3
  48. package/dist-es/commands/DescribeConfigurationCommand.js +3 -3
  49. package/dist-es/commands/DescribeConfigurationRevisionCommand.js +3 -3
  50. package/dist-es/commands/GetBootstrapBrokersCommand.js +3 -3
  51. package/dist-es/commands/GetCompatibleKafkaVersionsCommand.js +3 -3
  52. package/dist-es/commands/ListClusterOperationsCommand.js +3 -3
  53. package/dist-es/commands/ListClustersCommand.js +3 -3
  54. package/dist-es/commands/ListClustersV2Command.js +3 -3
  55. package/dist-es/commands/ListConfigurationRevisionsCommand.js +3 -3
  56. package/dist-es/commands/ListConfigurationsCommand.js +3 -3
  57. package/dist-es/commands/ListKafkaVersionsCommand.js +3 -3
  58. package/dist-es/commands/ListNodesCommand.js +3 -3
  59. package/dist-es/commands/ListScramSecretsCommand.js +3 -3
  60. package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  61. package/dist-es/commands/RebootBrokerCommand.js +3 -3
  62. package/dist-es/commands/TagResourceCommand.js +3 -3
  63. package/dist-es/commands/UntagResourceCommand.js +3 -3
  64. package/dist-es/commands/UpdateBrokerCountCommand.js +3 -3
  65. package/dist-es/commands/UpdateBrokerStorageCommand.js +3 -3
  66. package/dist-es/commands/UpdateBrokerTypeCommand.js +3 -3
  67. package/dist-es/commands/UpdateClusterConfigurationCommand.js +3 -3
  68. package/dist-es/commands/UpdateClusterKafkaVersionCommand.js +3 -3
  69. package/dist-es/commands/UpdateConfigurationCommand.js +3 -3
  70. package/dist-es/commands/UpdateConnectivityCommand.js +3 -3
  71. package/dist-es/commands/UpdateMonitoringCommand.js +3 -3
  72. package/dist-es/commands/UpdateSecurityCommand.js +3 -3
  73. package/dist-es/commands/UpdateStorageCommand.js +3 -3
  74. package/dist-es/protocols/Aws_restJson1.js +612 -716
  75. package/dist-types/protocols/Aws_restJson1.d.ts +288 -72
  76. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +72 -72
  77. package/package.json +29 -29
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.deserializeAws_restJson1GetCompatibleKafkaVersionsCommand = exports.deserializeAws_restJson1GetBootstrapBrokersCommand = exports.deserializeAws_restJson1DescribeConfigurationRevisionCommand = exports.deserializeAws_restJson1DescribeConfigurationCommand = exports.deserializeAws_restJson1DescribeClusterV2Command = exports.deserializeAws_restJson1DescribeClusterOperationCommand = exports.deserializeAws_restJson1DescribeClusterCommand = exports.deserializeAws_restJson1DeleteConfigurationCommand = exports.deserializeAws_restJson1DeleteClusterCommand = exports.deserializeAws_restJson1CreateConfigurationCommand = exports.deserializeAws_restJson1CreateClusterV2Command = exports.deserializeAws_restJson1CreateClusterCommand = exports.deserializeAws_restJson1BatchDisassociateScramSecretCommand = exports.deserializeAws_restJson1BatchAssociateScramSecretCommand = exports.serializeAws_restJson1UpdateStorageCommand = exports.serializeAws_restJson1UpdateSecurityCommand = exports.serializeAws_restJson1UpdateMonitoringCommand = exports.serializeAws_restJson1UpdateConnectivityCommand = exports.serializeAws_restJson1UpdateConfigurationCommand = exports.serializeAws_restJson1UpdateClusterKafkaVersionCommand = exports.serializeAws_restJson1UpdateClusterConfigurationCommand = exports.serializeAws_restJson1UpdateBrokerTypeCommand = exports.serializeAws_restJson1UpdateBrokerStorageCommand = exports.serializeAws_restJson1UpdateBrokerCountCommand = exports.serializeAws_restJson1UntagResourceCommand = exports.serializeAws_restJson1TagResourceCommand = exports.serializeAws_restJson1RebootBrokerCommand = exports.serializeAws_restJson1ListTagsForResourceCommand = exports.serializeAws_restJson1ListScramSecretsCommand = exports.serializeAws_restJson1ListNodesCommand = exports.serializeAws_restJson1ListKafkaVersionsCommand = exports.serializeAws_restJson1ListConfigurationsCommand = exports.serializeAws_restJson1ListConfigurationRevisionsCommand = exports.serializeAws_restJson1ListClustersV2Command = exports.serializeAws_restJson1ListClustersCommand = exports.serializeAws_restJson1ListClusterOperationsCommand = exports.serializeAws_restJson1GetCompatibleKafkaVersionsCommand = exports.serializeAws_restJson1GetBootstrapBrokersCommand = exports.serializeAws_restJson1DescribeConfigurationRevisionCommand = exports.serializeAws_restJson1DescribeConfigurationCommand = exports.serializeAws_restJson1DescribeClusterV2Command = exports.serializeAws_restJson1DescribeClusterOperationCommand = exports.serializeAws_restJson1DescribeClusterCommand = exports.serializeAws_restJson1DeleteConfigurationCommand = exports.serializeAws_restJson1DeleteClusterCommand = exports.serializeAws_restJson1CreateConfigurationCommand = exports.serializeAws_restJson1CreateClusterV2Command = exports.serializeAws_restJson1CreateClusterCommand = exports.serializeAws_restJson1BatchDisassociateScramSecretCommand = exports.serializeAws_restJson1BatchAssociateScramSecretCommand = void 0;
4
- exports.deserializeAws_restJson1UpdateStorageCommand = exports.deserializeAws_restJson1UpdateSecurityCommand = exports.deserializeAws_restJson1UpdateMonitoringCommand = exports.deserializeAws_restJson1UpdateConnectivityCommand = exports.deserializeAws_restJson1UpdateConfigurationCommand = exports.deserializeAws_restJson1UpdateClusterKafkaVersionCommand = exports.deserializeAws_restJson1UpdateClusterConfigurationCommand = exports.deserializeAws_restJson1UpdateBrokerTypeCommand = exports.deserializeAws_restJson1UpdateBrokerStorageCommand = exports.deserializeAws_restJson1UpdateBrokerCountCommand = exports.deserializeAws_restJson1UntagResourceCommand = exports.deserializeAws_restJson1TagResourceCommand = exports.deserializeAws_restJson1RebootBrokerCommand = exports.deserializeAws_restJson1ListTagsForResourceCommand = exports.deserializeAws_restJson1ListScramSecretsCommand = exports.deserializeAws_restJson1ListNodesCommand = exports.deserializeAws_restJson1ListKafkaVersionsCommand = exports.deserializeAws_restJson1ListConfigurationsCommand = exports.deserializeAws_restJson1ListConfigurationRevisionsCommand = exports.deserializeAws_restJson1ListClustersV2Command = exports.deserializeAws_restJson1ListClustersCommand = exports.deserializeAws_restJson1ListClusterOperationsCommand = void 0;
3
+ exports.de_GetCompatibleKafkaVersionsCommand = exports.de_GetBootstrapBrokersCommand = exports.de_DescribeConfigurationRevisionCommand = exports.de_DescribeConfigurationCommand = exports.de_DescribeClusterV2Command = exports.de_DescribeClusterOperationCommand = exports.de_DescribeClusterCommand = exports.de_DeleteConfigurationCommand = exports.de_DeleteClusterCommand = exports.de_CreateConfigurationCommand = exports.de_CreateClusterV2Command = exports.de_CreateClusterCommand = exports.de_BatchDisassociateScramSecretCommand = exports.de_BatchAssociateScramSecretCommand = exports.se_UpdateStorageCommand = exports.se_UpdateSecurityCommand = exports.se_UpdateMonitoringCommand = exports.se_UpdateConnectivityCommand = exports.se_UpdateConfigurationCommand = exports.se_UpdateClusterKafkaVersionCommand = exports.se_UpdateClusterConfigurationCommand = exports.se_UpdateBrokerTypeCommand = exports.se_UpdateBrokerStorageCommand = exports.se_UpdateBrokerCountCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_RebootBrokerCommand = exports.se_ListTagsForResourceCommand = exports.se_ListScramSecretsCommand = exports.se_ListNodesCommand = exports.se_ListKafkaVersionsCommand = exports.se_ListConfigurationsCommand = exports.se_ListConfigurationRevisionsCommand = exports.se_ListClustersV2Command = exports.se_ListClustersCommand = exports.se_ListClusterOperationsCommand = exports.se_GetCompatibleKafkaVersionsCommand = exports.se_GetBootstrapBrokersCommand = exports.se_DescribeConfigurationRevisionCommand = exports.se_DescribeConfigurationCommand = exports.se_DescribeClusterV2Command = exports.se_DescribeClusterOperationCommand = exports.se_DescribeClusterCommand = exports.se_DeleteConfigurationCommand = exports.se_DeleteClusterCommand = exports.se_CreateConfigurationCommand = exports.se_CreateClusterV2Command = exports.se_CreateClusterCommand = exports.se_BatchDisassociateScramSecretCommand = exports.se_BatchAssociateScramSecretCommand = void 0;
4
+ exports.de_UpdateStorageCommand = exports.de_UpdateSecurityCommand = exports.de_UpdateMonitoringCommand = exports.de_UpdateConnectivityCommand = exports.de_UpdateConfigurationCommand = exports.de_UpdateClusterKafkaVersionCommand = exports.de_UpdateClusterConfigurationCommand = exports.de_UpdateBrokerTypeCommand = exports.de_UpdateBrokerStorageCommand = exports.de_UpdateBrokerCountCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_RebootBrokerCommand = exports.de_ListTagsForResourceCommand = exports.de_ListScramSecretsCommand = exports.de_ListNodesCommand = exports.de_ListKafkaVersionsCommand = exports.de_ListConfigurationsCommand = exports.de_ListConfigurationRevisionsCommand = exports.de_ListClustersV2Command = exports.de_ListClustersCommand = exports.de_ListClusterOperationsCommand = void 0;
5
5
  const protocol_http_1 = require("@aws-sdk/protocol-http");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const KafkaServiceException_1 = require("../models/KafkaServiceException");
8
8
  const models_0_1 = require("../models/models_0");
9
- const serializeAws_restJson1BatchAssociateScramSecretCommand = async (input, context) => {
9
+ const se_BatchAssociateScramSecretCommand = async (input, context) => {
10
10
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
11
11
  const headers = {
12
12
  "content-type": "application/json",
@@ -15,9 +15,7 @@ const serializeAws_restJson1BatchAssociateScramSecretCommand = async (input, con
15
15
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ClusterArn", () => input.ClusterArn, "{ClusterArn}", false);
16
16
  let body;
17
17
  body = JSON.stringify({
18
- ...(input.SecretArnList != null && {
19
- secretArnList: serializeAws_restJson1__listOf__string(input.SecretArnList, context),
20
- }),
18
+ ...(input.SecretArnList != null && { secretArnList: se___listOf__string(input.SecretArnList, context) }),
21
19
  });
22
20
  return new protocol_http_1.HttpRequest({
23
21
  protocol,
@@ -29,8 +27,8 @@ const serializeAws_restJson1BatchAssociateScramSecretCommand = async (input, con
29
27
  body,
30
28
  });
31
29
  };
32
- exports.serializeAws_restJson1BatchAssociateScramSecretCommand = serializeAws_restJson1BatchAssociateScramSecretCommand;
33
- const serializeAws_restJson1BatchDisassociateScramSecretCommand = async (input, context) => {
30
+ exports.se_BatchAssociateScramSecretCommand = se_BatchAssociateScramSecretCommand;
31
+ const se_BatchDisassociateScramSecretCommand = async (input, context) => {
34
32
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
35
33
  const headers = {
36
34
  "content-type": "application/json",
@@ -39,9 +37,7 @@ const serializeAws_restJson1BatchDisassociateScramSecretCommand = async (input,
39
37
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ClusterArn", () => input.ClusterArn, "{ClusterArn}", false);
40
38
  let body;
41
39
  body = JSON.stringify({
42
- ...(input.SecretArnList != null && {
43
- secretArnList: serializeAws_restJson1__listOf__string(input.SecretArnList, context),
44
- }),
40
+ ...(input.SecretArnList != null && { secretArnList: se___listOf__string(input.SecretArnList, context) }),
45
41
  });
46
42
  return new protocol_http_1.HttpRequest({
47
43
  protocol,
@@ -53,8 +49,8 @@ const serializeAws_restJson1BatchDisassociateScramSecretCommand = async (input,
53
49
  body,
54
50
  });
55
51
  };
56
- exports.serializeAws_restJson1BatchDisassociateScramSecretCommand = serializeAws_restJson1BatchDisassociateScramSecretCommand;
57
- const serializeAws_restJson1CreateClusterCommand = async (input, context) => {
52
+ exports.se_BatchDisassociateScramSecretCommand = se_BatchDisassociateScramSecretCommand;
53
+ const se_CreateClusterCommand = async (input, context) => {
58
54
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
59
55
  const headers = {
60
56
  "content-type": "application/json",
@@ -63,27 +59,23 @@ const serializeAws_restJson1CreateClusterCommand = async (input, context) => {
63
59
  let body;
64
60
  body = JSON.stringify({
65
61
  ...(input.BrokerNodeGroupInfo != null && {
66
- brokerNodeGroupInfo: serializeAws_restJson1BrokerNodeGroupInfo(input.BrokerNodeGroupInfo, context),
62
+ brokerNodeGroupInfo: se_BrokerNodeGroupInfo(input.BrokerNodeGroupInfo, context),
67
63
  }),
68
64
  ...(input.ClientAuthentication != null && {
69
- clientAuthentication: serializeAws_restJson1ClientAuthentication(input.ClientAuthentication, context),
65
+ clientAuthentication: se_ClientAuthentication(input.ClientAuthentication, context),
70
66
  }),
71
67
  ...(input.ClusterName != null && { clusterName: input.ClusterName }),
72
68
  ...(input.ConfigurationInfo != null && {
73
- configurationInfo: serializeAws_restJson1ConfigurationInfo(input.ConfigurationInfo, context),
74
- }),
75
- ...(input.EncryptionInfo != null && {
76
- encryptionInfo: serializeAws_restJson1EncryptionInfo(input.EncryptionInfo, context),
69
+ configurationInfo: se_ConfigurationInfo(input.ConfigurationInfo, context),
77
70
  }),
71
+ ...(input.EncryptionInfo != null && { encryptionInfo: se_EncryptionInfo(input.EncryptionInfo, context) }),
78
72
  ...(input.EnhancedMonitoring != null && { enhancedMonitoring: input.EnhancedMonitoring }),
79
73
  ...(input.KafkaVersion != null && { kafkaVersion: input.KafkaVersion }),
80
- ...(input.LoggingInfo != null && { loggingInfo: serializeAws_restJson1LoggingInfo(input.LoggingInfo, context) }),
74
+ ...(input.LoggingInfo != null && { loggingInfo: se_LoggingInfo(input.LoggingInfo, context) }),
81
75
  ...(input.NumberOfBrokerNodes != null && { numberOfBrokerNodes: input.NumberOfBrokerNodes }),
82
- ...(input.OpenMonitoring != null && {
83
- openMonitoring: serializeAws_restJson1OpenMonitoringInfo(input.OpenMonitoring, context),
84
- }),
76
+ ...(input.OpenMonitoring != null && { openMonitoring: se_OpenMonitoringInfo(input.OpenMonitoring, context) }),
85
77
  ...(input.StorageMode != null && { storageMode: input.StorageMode }),
86
- ...(input.Tags != null && { tags: serializeAws_restJson1__mapOf__string(input.Tags, context) }),
78
+ ...(input.Tags != null && { tags: se___mapOf__string(input.Tags, context) }),
87
79
  });
88
80
  return new protocol_http_1.HttpRequest({
89
81
  protocol,
@@ -95,8 +87,8 @@ const serializeAws_restJson1CreateClusterCommand = async (input, context) => {
95
87
  body,
96
88
  });
97
89
  };
98
- exports.serializeAws_restJson1CreateClusterCommand = serializeAws_restJson1CreateClusterCommand;
99
- const serializeAws_restJson1CreateClusterV2Command = async (input, context) => {
90
+ exports.se_CreateClusterCommand = se_CreateClusterCommand;
91
+ const se_CreateClusterV2Command = async (input, context) => {
100
92
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
101
93
  const headers = {
102
94
  "content-type": "application/json",
@@ -105,11 +97,9 @@ const serializeAws_restJson1CreateClusterV2Command = async (input, context) => {
105
97
  let body;
106
98
  body = JSON.stringify({
107
99
  ...(input.ClusterName != null && { clusterName: input.ClusterName }),
108
- ...(input.Provisioned != null && {
109
- provisioned: serializeAws_restJson1ProvisionedRequest(input.Provisioned, context),
110
- }),
111
- ...(input.Serverless != null && { serverless: serializeAws_restJson1ServerlessRequest(input.Serverless, context) }),
112
- ...(input.Tags != null && { tags: serializeAws_restJson1__mapOf__string(input.Tags, context) }),
100
+ ...(input.Provisioned != null && { provisioned: se_ProvisionedRequest(input.Provisioned, context) }),
101
+ ...(input.Serverless != null && { serverless: se_ServerlessRequest(input.Serverless, context) }),
102
+ ...(input.Tags != null && { tags: se___mapOf__string(input.Tags, context) }),
113
103
  });
114
104
  return new protocol_http_1.HttpRequest({
115
105
  protocol,
@@ -121,8 +111,8 @@ const serializeAws_restJson1CreateClusterV2Command = async (input, context) => {
121
111
  body,
122
112
  });
123
113
  };
124
- exports.serializeAws_restJson1CreateClusterV2Command = serializeAws_restJson1CreateClusterV2Command;
125
- const serializeAws_restJson1CreateConfigurationCommand = async (input, context) => {
114
+ exports.se_CreateClusterV2Command = se_CreateClusterV2Command;
115
+ const se_CreateConfigurationCommand = async (input, context) => {
126
116
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
127
117
  const headers = {
128
118
  "content-type": "application/json",
@@ -131,9 +121,7 @@ const serializeAws_restJson1CreateConfigurationCommand = async (input, context)
131
121
  let body;
132
122
  body = JSON.stringify({
133
123
  ...(input.Description != null && { description: input.Description }),
134
- ...(input.KafkaVersions != null && {
135
- kafkaVersions: serializeAws_restJson1__listOf__string(input.KafkaVersions, context),
136
- }),
124
+ ...(input.KafkaVersions != null && { kafkaVersions: se___listOf__string(input.KafkaVersions, context) }),
137
125
  ...(input.Name != null && { name: input.Name }),
138
126
  ...(input.ServerProperties != null && { serverProperties: context.base64Encoder(input.ServerProperties) }),
139
127
  });
@@ -147,8 +135,8 @@ const serializeAws_restJson1CreateConfigurationCommand = async (input, context)
147
135
  body,
148
136
  });
149
137
  };
150
- exports.serializeAws_restJson1CreateConfigurationCommand = serializeAws_restJson1CreateConfigurationCommand;
151
- const serializeAws_restJson1DeleteClusterCommand = async (input, context) => {
138
+ exports.se_CreateConfigurationCommand = se_CreateConfigurationCommand;
139
+ const se_DeleteClusterCommand = async (input, context) => {
152
140
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
153
141
  const headers = {};
154
142
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/clusters/{ClusterArn}";
@@ -168,8 +156,8 @@ const serializeAws_restJson1DeleteClusterCommand = async (input, context) => {
168
156
  body,
169
157
  });
170
158
  };
171
- exports.serializeAws_restJson1DeleteClusterCommand = serializeAws_restJson1DeleteClusterCommand;
172
- const serializeAws_restJson1DeleteConfigurationCommand = async (input, context) => {
159
+ exports.se_DeleteClusterCommand = se_DeleteClusterCommand;
160
+ const se_DeleteConfigurationCommand = async (input, context) => {
173
161
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
174
162
  const headers = {};
175
163
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/configurations/{Arn}";
@@ -185,8 +173,8 @@ const serializeAws_restJson1DeleteConfigurationCommand = async (input, context)
185
173
  body,
186
174
  });
187
175
  };
188
- exports.serializeAws_restJson1DeleteConfigurationCommand = serializeAws_restJson1DeleteConfigurationCommand;
189
- const serializeAws_restJson1DescribeClusterCommand = async (input, context) => {
176
+ exports.se_DeleteConfigurationCommand = se_DeleteConfigurationCommand;
177
+ const se_DescribeClusterCommand = async (input, context) => {
190
178
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
191
179
  const headers = {};
192
180
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/clusters/{ClusterArn}";
@@ -202,8 +190,8 @@ const serializeAws_restJson1DescribeClusterCommand = async (input, context) => {
202
190
  body,
203
191
  });
204
192
  };
205
- exports.serializeAws_restJson1DescribeClusterCommand = serializeAws_restJson1DescribeClusterCommand;
206
- const serializeAws_restJson1DescribeClusterOperationCommand = async (input, context) => {
193
+ exports.se_DescribeClusterCommand = se_DescribeClusterCommand;
194
+ const se_DescribeClusterOperationCommand = async (input, context) => {
207
195
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
208
196
  const headers = {};
209
197
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/operations/{ClusterOperationArn}";
@@ -219,8 +207,8 @@ const serializeAws_restJson1DescribeClusterOperationCommand = async (input, cont
219
207
  body,
220
208
  });
221
209
  };
222
- exports.serializeAws_restJson1DescribeClusterOperationCommand = serializeAws_restJson1DescribeClusterOperationCommand;
223
- const serializeAws_restJson1DescribeClusterV2Command = async (input, context) => {
210
+ exports.se_DescribeClusterOperationCommand = se_DescribeClusterOperationCommand;
211
+ const se_DescribeClusterV2Command = async (input, context) => {
224
212
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
225
213
  const headers = {};
226
214
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/api/v2/clusters/{ClusterArn}";
@@ -236,8 +224,8 @@ const serializeAws_restJson1DescribeClusterV2Command = async (input, context) =>
236
224
  body,
237
225
  });
238
226
  };
239
- exports.serializeAws_restJson1DescribeClusterV2Command = serializeAws_restJson1DescribeClusterV2Command;
240
- const serializeAws_restJson1DescribeConfigurationCommand = async (input, context) => {
227
+ exports.se_DescribeClusterV2Command = se_DescribeClusterV2Command;
228
+ const se_DescribeConfigurationCommand = async (input, context) => {
241
229
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
242
230
  const headers = {};
243
231
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/configurations/{Arn}";
@@ -253,8 +241,8 @@ const serializeAws_restJson1DescribeConfigurationCommand = async (input, context
253
241
  body,
254
242
  });
255
243
  };
256
- exports.serializeAws_restJson1DescribeConfigurationCommand = serializeAws_restJson1DescribeConfigurationCommand;
257
- const serializeAws_restJson1DescribeConfigurationRevisionCommand = async (input, context) => {
244
+ exports.se_DescribeConfigurationCommand = se_DescribeConfigurationCommand;
245
+ const se_DescribeConfigurationRevisionCommand = async (input, context) => {
258
246
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
259
247
  const headers = {};
260
248
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -272,8 +260,8 @@ const serializeAws_restJson1DescribeConfigurationRevisionCommand = async (input,
272
260
  body,
273
261
  });
274
262
  };
275
- exports.serializeAws_restJson1DescribeConfigurationRevisionCommand = serializeAws_restJson1DescribeConfigurationRevisionCommand;
276
- const serializeAws_restJson1GetBootstrapBrokersCommand = async (input, context) => {
263
+ exports.se_DescribeConfigurationRevisionCommand = se_DescribeConfigurationRevisionCommand;
264
+ const se_GetBootstrapBrokersCommand = async (input, context) => {
277
265
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
278
266
  const headers = {};
279
267
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -290,8 +278,8 @@ const serializeAws_restJson1GetBootstrapBrokersCommand = async (input, context)
290
278
  body,
291
279
  });
292
280
  };
293
- exports.serializeAws_restJson1GetBootstrapBrokersCommand = serializeAws_restJson1GetBootstrapBrokersCommand;
294
- const serializeAws_restJson1GetCompatibleKafkaVersionsCommand = async (input, context) => {
281
+ exports.se_GetBootstrapBrokersCommand = se_GetBootstrapBrokersCommand;
282
+ const se_GetCompatibleKafkaVersionsCommand = async (input, context) => {
295
283
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
296
284
  const headers = {};
297
285
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/compatible-kafka-versions";
@@ -310,8 +298,8 @@ const serializeAws_restJson1GetCompatibleKafkaVersionsCommand = async (input, co
310
298
  body,
311
299
  });
312
300
  };
313
- exports.serializeAws_restJson1GetCompatibleKafkaVersionsCommand = serializeAws_restJson1GetCompatibleKafkaVersionsCommand;
314
- const serializeAws_restJson1ListClusterOperationsCommand = async (input, context) => {
301
+ exports.se_GetCompatibleKafkaVersionsCommand = se_GetCompatibleKafkaVersionsCommand;
302
+ const se_ListClusterOperationsCommand = async (input, context) => {
315
303
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
316
304
  const headers = {};
317
305
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/clusters/{ClusterArn}/operations";
@@ -332,8 +320,8 @@ const serializeAws_restJson1ListClusterOperationsCommand = async (input, context
332
320
  body,
333
321
  });
334
322
  };
335
- exports.serializeAws_restJson1ListClusterOperationsCommand = serializeAws_restJson1ListClusterOperationsCommand;
336
- const serializeAws_restJson1ListClustersCommand = async (input, context) => {
323
+ exports.se_ListClusterOperationsCommand = se_ListClusterOperationsCommand;
324
+ const se_ListClustersCommand = async (input, context) => {
337
325
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
338
326
  const headers = {};
339
327
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/clusters";
@@ -354,8 +342,8 @@ const serializeAws_restJson1ListClustersCommand = async (input, context) => {
354
342
  body,
355
343
  });
356
344
  };
357
- exports.serializeAws_restJson1ListClustersCommand = serializeAws_restJson1ListClustersCommand;
358
- const serializeAws_restJson1ListClustersV2Command = async (input, context) => {
345
+ exports.se_ListClustersCommand = se_ListClustersCommand;
346
+ const se_ListClustersV2Command = async (input, context) => {
359
347
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
360
348
  const headers = {};
361
349
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/api/v2/clusters";
@@ -377,8 +365,8 @@ const serializeAws_restJson1ListClustersV2Command = async (input, context) => {
377
365
  body,
378
366
  });
379
367
  };
380
- exports.serializeAws_restJson1ListClustersV2Command = serializeAws_restJson1ListClustersV2Command;
381
- const serializeAws_restJson1ListConfigurationRevisionsCommand = async (input, context) => {
368
+ exports.se_ListClustersV2Command = se_ListClustersV2Command;
369
+ const se_ListConfigurationRevisionsCommand = async (input, context) => {
382
370
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
383
371
  const headers = {};
384
372
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/configurations/{Arn}/revisions";
@@ -399,8 +387,8 @@ const serializeAws_restJson1ListConfigurationRevisionsCommand = async (input, co
399
387
  body,
400
388
  });
401
389
  };
402
- exports.serializeAws_restJson1ListConfigurationRevisionsCommand = serializeAws_restJson1ListConfigurationRevisionsCommand;
403
- const serializeAws_restJson1ListConfigurationsCommand = async (input, context) => {
390
+ exports.se_ListConfigurationRevisionsCommand = se_ListConfigurationRevisionsCommand;
391
+ const se_ListConfigurationsCommand = async (input, context) => {
404
392
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
405
393
  const headers = {};
406
394
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/configurations";
@@ -420,8 +408,8 @@ const serializeAws_restJson1ListConfigurationsCommand = async (input, context) =
420
408
  body,
421
409
  });
422
410
  };
423
- exports.serializeAws_restJson1ListConfigurationsCommand = serializeAws_restJson1ListConfigurationsCommand;
424
- const serializeAws_restJson1ListKafkaVersionsCommand = async (input, context) => {
411
+ exports.se_ListConfigurationsCommand = se_ListConfigurationsCommand;
412
+ const se_ListKafkaVersionsCommand = async (input, context) => {
425
413
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
426
414
  const headers = {};
427
415
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/kafka-versions";
@@ -441,8 +429,8 @@ const serializeAws_restJson1ListKafkaVersionsCommand = async (input, context) =>
441
429
  body,
442
430
  });
443
431
  };
444
- exports.serializeAws_restJson1ListKafkaVersionsCommand = serializeAws_restJson1ListKafkaVersionsCommand;
445
- const serializeAws_restJson1ListNodesCommand = async (input, context) => {
432
+ exports.se_ListKafkaVersionsCommand = se_ListKafkaVersionsCommand;
433
+ const se_ListNodesCommand = async (input, context) => {
446
434
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
447
435
  const headers = {};
448
436
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/clusters/{ClusterArn}/nodes";
@@ -463,8 +451,8 @@ const serializeAws_restJson1ListNodesCommand = async (input, context) => {
463
451
  body,
464
452
  });
465
453
  };
466
- exports.serializeAws_restJson1ListNodesCommand = serializeAws_restJson1ListNodesCommand;
467
- const serializeAws_restJson1ListScramSecretsCommand = async (input, context) => {
454
+ exports.se_ListNodesCommand = se_ListNodesCommand;
455
+ const se_ListScramSecretsCommand = async (input, context) => {
468
456
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
469
457
  const headers = {};
470
458
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/clusters/{ClusterArn}/scram-secrets";
@@ -485,8 +473,8 @@ const serializeAws_restJson1ListScramSecretsCommand = async (input, context) =>
485
473
  body,
486
474
  });
487
475
  };
488
- exports.serializeAws_restJson1ListScramSecretsCommand = serializeAws_restJson1ListScramSecretsCommand;
489
- const serializeAws_restJson1ListTagsForResourceCommand = async (input, context) => {
476
+ exports.se_ListScramSecretsCommand = se_ListScramSecretsCommand;
477
+ const se_ListTagsForResourceCommand = async (input, context) => {
490
478
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
491
479
  const headers = {};
492
480
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/tags/{ResourceArn}";
@@ -502,8 +490,8 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
502
490
  body,
503
491
  });
504
492
  };
505
- exports.serializeAws_restJson1ListTagsForResourceCommand = serializeAws_restJson1ListTagsForResourceCommand;
506
- const serializeAws_restJson1RebootBrokerCommand = async (input, context) => {
493
+ exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
494
+ const se_RebootBrokerCommand = async (input, context) => {
507
495
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
508
496
  const headers = {
509
497
  "content-type": "application/json",
@@ -512,7 +500,7 @@ const serializeAws_restJson1RebootBrokerCommand = async (input, context) => {
512
500
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ClusterArn", () => input.ClusterArn, "{ClusterArn}", false);
513
501
  let body;
514
502
  body = JSON.stringify({
515
- ...(input.BrokerIds != null && { brokerIds: serializeAws_restJson1__listOf__string(input.BrokerIds, context) }),
503
+ ...(input.BrokerIds != null && { brokerIds: se___listOf__string(input.BrokerIds, context) }),
516
504
  });
517
505
  return new protocol_http_1.HttpRequest({
518
506
  protocol,
@@ -524,8 +512,8 @@ const serializeAws_restJson1RebootBrokerCommand = async (input, context) => {
524
512
  body,
525
513
  });
526
514
  };
527
- exports.serializeAws_restJson1RebootBrokerCommand = serializeAws_restJson1RebootBrokerCommand;
528
- const serializeAws_restJson1TagResourceCommand = async (input, context) => {
515
+ exports.se_RebootBrokerCommand = se_RebootBrokerCommand;
516
+ const se_TagResourceCommand = async (input, context) => {
529
517
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
530
518
  const headers = {
531
519
  "content-type": "application/json",
@@ -534,7 +522,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
534
522
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
535
523
  let body;
536
524
  body = JSON.stringify({
537
- ...(input.Tags != null && { tags: serializeAws_restJson1__mapOf__string(input.Tags, context) }),
525
+ ...(input.Tags != null && { tags: se___mapOf__string(input.Tags, context) }),
538
526
  });
539
527
  return new protocol_http_1.HttpRequest({
540
528
  protocol,
@@ -546,8 +534,8 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
546
534
  body,
547
535
  });
548
536
  };
549
- exports.serializeAws_restJson1TagResourceCommand = serializeAws_restJson1TagResourceCommand;
550
- const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
537
+ exports.se_TagResourceCommand = se_TagResourceCommand;
538
+ const se_UntagResourceCommand = async (input, context) => {
551
539
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
552
540
  const headers = {};
553
541
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/tags/{ResourceArn}";
@@ -570,8 +558,8 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
570
558
  body,
571
559
  });
572
560
  };
573
- exports.serializeAws_restJson1UntagResourceCommand = serializeAws_restJson1UntagResourceCommand;
574
- const serializeAws_restJson1UpdateBrokerCountCommand = async (input, context) => {
561
+ exports.se_UntagResourceCommand = se_UntagResourceCommand;
562
+ const se_UpdateBrokerCountCommand = async (input, context) => {
575
563
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
576
564
  const headers = {
577
565
  "content-type": "application/json",
@@ -593,8 +581,8 @@ const serializeAws_restJson1UpdateBrokerCountCommand = async (input, context) =>
593
581
  body,
594
582
  });
595
583
  };
596
- exports.serializeAws_restJson1UpdateBrokerCountCommand = serializeAws_restJson1UpdateBrokerCountCommand;
597
- const serializeAws_restJson1UpdateBrokerStorageCommand = async (input, context) => {
584
+ exports.se_UpdateBrokerCountCommand = se_UpdateBrokerCountCommand;
585
+ const se_UpdateBrokerStorageCommand = async (input, context) => {
598
586
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
599
587
  const headers = {
600
588
  "content-type": "application/json",
@@ -605,7 +593,7 @@ const serializeAws_restJson1UpdateBrokerStorageCommand = async (input, context)
605
593
  body = JSON.stringify({
606
594
  ...(input.CurrentVersion != null && { currentVersion: input.CurrentVersion }),
607
595
  ...(input.TargetBrokerEBSVolumeInfo != null && {
608
- targetBrokerEBSVolumeInfo: serializeAws_restJson1__listOfBrokerEBSVolumeInfo(input.TargetBrokerEBSVolumeInfo, context),
596
+ targetBrokerEBSVolumeInfo: se___listOfBrokerEBSVolumeInfo(input.TargetBrokerEBSVolumeInfo, context),
609
597
  }),
610
598
  });
611
599
  return new protocol_http_1.HttpRequest({
@@ -618,8 +606,8 @@ const serializeAws_restJson1UpdateBrokerStorageCommand = async (input, context)
618
606
  body,
619
607
  });
620
608
  };
621
- exports.serializeAws_restJson1UpdateBrokerStorageCommand = serializeAws_restJson1UpdateBrokerStorageCommand;
622
- const serializeAws_restJson1UpdateBrokerTypeCommand = async (input, context) => {
609
+ exports.se_UpdateBrokerStorageCommand = se_UpdateBrokerStorageCommand;
610
+ const se_UpdateBrokerTypeCommand = async (input, context) => {
623
611
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
624
612
  const headers = {
625
613
  "content-type": "application/json",
@@ -641,8 +629,8 @@ const serializeAws_restJson1UpdateBrokerTypeCommand = async (input, context) =>
641
629
  body,
642
630
  });
643
631
  };
644
- exports.serializeAws_restJson1UpdateBrokerTypeCommand = serializeAws_restJson1UpdateBrokerTypeCommand;
645
- const serializeAws_restJson1UpdateClusterConfigurationCommand = async (input, context) => {
632
+ exports.se_UpdateBrokerTypeCommand = se_UpdateBrokerTypeCommand;
633
+ const se_UpdateClusterConfigurationCommand = async (input, context) => {
646
634
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
647
635
  const headers = {
648
636
  "content-type": "application/json",
@@ -652,7 +640,7 @@ const serializeAws_restJson1UpdateClusterConfigurationCommand = async (input, co
652
640
  let body;
653
641
  body = JSON.stringify({
654
642
  ...(input.ConfigurationInfo != null && {
655
- configurationInfo: serializeAws_restJson1ConfigurationInfo(input.ConfigurationInfo, context),
643
+ configurationInfo: se_ConfigurationInfo(input.ConfigurationInfo, context),
656
644
  }),
657
645
  ...(input.CurrentVersion != null && { currentVersion: input.CurrentVersion }),
658
646
  });
@@ -666,8 +654,8 @@ const serializeAws_restJson1UpdateClusterConfigurationCommand = async (input, co
666
654
  body,
667
655
  });
668
656
  };
669
- exports.serializeAws_restJson1UpdateClusterConfigurationCommand = serializeAws_restJson1UpdateClusterConfigurationCommand;
670
- const serializeAws_restJson1UpdateClusterKafkaVersionCommand = async (input, context) => {
657
+ exports.se_UpdateClusterConfigurationCommand = se_UpdateClusterConfigurationCommand;
658
+ const se_UpdateClusterKafkaVersionCommand = async (input, context) => {
671
659
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
672
660
  const headers = {
673
661
  "content-type": "application/json",
@@ -677,7 +665,7 @@ const serializeAws_restJson1UpdateClusterKafkaVersionCommand = async (input, con
677
665
  let body;
678
666
  body = JSON.stringify({
679
667
  ...(input.ConfigurationInfo != null && {
680
- configurationInfo: serializeAws_restJson1ConfigurationInfo(input.ConfigurationInfo, context),
668
+ configurationInfo: se_ConfigurationInfo(input.ConfigurationInfo, context),
681
669
  }),
682
670
  ...(input.CurrentVersion != null && { currentVersion: input.CurrentVersion }),
683
671
  ...(input.TargetKafkaVersion != null && { targetKafkaVersion: input.TargetKafkaVersion }),
@@ -692,8 +680,8 @@ const serializeAws_restJson1UpdateClusterKafkaVersionCommand = async (input, con
692
680
  body,
693
681
  });
694
682
  };
695
- exports.serializeAws_restJson1UpdateClusterKafkaVersionCommand = serializeAws_restJson1UpdateClusterKafkaVersionCommand;
696
- const serializeAws_restJson1UpdateConfigurationCommand = async (input, context) => {
683
+ exports.se_UpdateClusterKafkaVersionCommand = se_UpdateClusterKafkaVersionCommand;
684
+ const se_UpdateConfigurationCommand = async (input, context) => {
697
685
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
698
686
  const headers = {
699
687
  "content-type": "application/json",
@@ -715,8 +703,8 @@ const serializeAws_restJson1UpdateConfigurationCommand = async (input, context)
715
703
  body,
716
704
  });
717
705
  };
718
- exports.serializeAws_restJson1UpdateConfigurationCommand = serializeAws_restJson1UpdateConfigurationCommand;
719
- const serializeAws_restJson1UpdateConnectivityCommand = async (input, context) => {
706
+ exports.se_UpdateConfigurationCommand = se_UpdateConfigurationCommand;
707
+ const se_UpdateConnectivityCommand = async (input, context) => {
720
708
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
721
709
  const headers = {
722
710
  "content-type": "application/json",
@@ -725,9 +713,7 @@ const serializeAws_restJson1UpdateConnectivityCommand = async (input, context) =
725
713
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ClusterArn", () => input.ClusterArn, "{ClusterArn}", false);
726
714
  let body;
727
715
  body = JSON.stringify({
728
- ...(input.ConnectivityInfo != null && {
729
- connectivityInfo: serializeAws_restJson1ConnectivityInfo(input.ConnectivityInfo, context),
730
- }),
716
+ ...(input.ConnectivityInfo != null && { connectivityInfo: se_ConnectivityInfo(input.ConnectivityInfo, context) }),
731
717
  ...(input.CurrentVersion != null && { currentVersion: input.CurrentVersion }),
732
718
  });
733
719
  return new protocol_http_1.HttpRequest({
@@ -740,8 +726,8 @@ const serializeAws_restJson1UpdateConnectivityCommand = async (input, context) =
740
726
  body,
741
727
  });
742
728
  };
743
- exports.serializeAws_restJson1UpdateConnectivityCommand = serializeAws_restJson1UpdateConnectivityCommand;
744
- const serializeAws_restJson1UpdateMonitoringCommand = async (input, context) => {
729
+ exports.se_UpdateConnectivityCommand = se_UpdateConnectivityCommand;
730
+ const se_UpdateMonitoringCommand = async (input, context) => {
745
731
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
746
732
  const headers = {
747
733
  "content-type": "application/json",
@@ -752,10 +738,8 @@ const serializeAws_restJson1UpdateMonitoringCommand = async (input, context) =>
752
738
  body = JSON.stringify({
753
739
  ...(input.CurrentVersion != null && { currentVersion: input.CurrentVersion }),
754
740
  ...(input.EnhancedMonitoring != null && { enhancedMonitoring: input.EnhancedMonitoring }),
755
- ...(input.LoggingInfo != null && { loggingInfo: serializeAws_restJson1LoggingInfo(input.LoggingInfo, context) }),
756
- ...(input.OpenMonitoring != null && {
757
- openMonitoring: serializeAws_restJson1OpenMonitoringInfo(input.OpenMonitoring, context),
758
- }),
741
+ ...(input.LoggingInfo != null && { loggingInfo: se_LoggingInfo(input.LoggingInfo, context) }),
742
+ ...(input.OpenMonitoring != null && { openMonitoring: se_OpenMonitoringInfo(input.OpenMonitoring, context) }),
759
743
  });
760
744
  return new protocol_http_1.HttpRequest({
761
745
  protocol,
@@ -767,8 +751,8 @@ const serializeAws_restJson1UpdateMonitoringCommand = async (input, context) =>
767
751
  body,
768
752
  });
769
753
  };
770
- exports.serializeAws_restJson1UpdateMonitoringCommand = serializeAws_restJson1UpdateMonitoringCommand;
771
- const serializeAws_restJson1UpdateSecurityCommand = async (input, context) => {
754
+ exports.se_UpdateMonitoringCommand = se_UpdateMonitoringCommand;
755
+ const se_UpdateSecurityCommand = async (input, context) => {
772
756
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
773
757
  const headers = {
774
758
  "content-type": "application/json",
@@ -778,12 +762,10 @@ const serializeAws_restJson1UpdateSecurityCommand = async (input, context) => {
778
762
  let body;
779
763
  body = JSON.stringify({
780
764
  ...(input.ClientAuthentication != null && {
781
- clientAuthentication: serializeAws_restJson1ClientAuthentication(input.ClientAuthentication, context),
765
+ clientAuthentication: se_ClientAuthentication(input.ClientAuthentication, context),
782
766
  }),
783
767
  ...(input.CurrentVersion != null && { currentVersion: input.CurrentVersion }),
784
- ...(input.EncryptionInfo != null && {
785
- encryptionInfo: serializeAws_restJson1EncryptionInfo(input.EncryptionInfo, context),
786
- }),
768
+ ...(input.EncryptionInfo != null && { encryptionInfo: se_EncryptionInfo(input.EncryptionInfo, context) }),
787
769
  });
788
770
  return new protocol_http_1.HttpRequest({
789
771
  protocol,
@@ -795,8 +777,8 @@ const serializeAws_restJson1UpdateSecurityCommand = async (input, context) => {
795
777
  body,
796
778
  });
797
779
  };
798
- exports.serializeAws_restJson1UpdateSecurityCommand = serializeAws_restJson1UpdateSecurityCommand;
799
- const serializeAws_restJson1UpdateStorageCommand = async (input, context) => {
780
+ exports.se_UpdateSecurityCommand = se_UpdateSecurityCommand;
781
+ const se_UpdateStorageCommand = async (input, context) => {
800
782
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
801
783
  const headers = {
802
784
  "content-type": "application/json",
@@ -807,7 +789,7 @@ const serializeAws_restJson1UpdateStorageCommand = async (input, context) => {
807
789
  body = JSON.stringify({
808
790
  ...(input.CurrentVersion != null && { currentVersion: input.CurrentVersion }),
809
791
  ...(input.ProvisionedThroughput != null && {
810
- provisionedThroughput: serializeAws_restJson1ProvisionedThroughput(input.ProvisionedThroughput, context),
792
+ provisionedThroughput: se_ProvisionedThroughput(input.ProvisionedThroughput, context),
811
793
  }),
812
794
  ...(input.StorageMode != null && { storageMode: input.StorageMode }),
813
795
  ...(input.VolumeSizeGB != null && { volumeSizeGB: input.VolumeSizeGB }),
@@ -822,10 +804,10 @@ const serializeAws_restJson1UpdateStorageCommand = async (input, context) => {
822
804
  body,
823
805
  });
824
806
  };
825
- exports.serializeAws_restJson1UpdateStorageCommand = serializeAws_restJson1UpdateStorageCommand;
826
- const deserializeAws_restJson1BatchAssociateScramSecretCommand = async (output, context) => {
807
+ exports.se_UpdateStorageCommand = se_UpdateStorageCommand;
808
+ const de_BatchAssociateScramSecretCommand = async (output, context) => {
827
809
  if (output.statusCode !== 200 && output.statusCode >= 300) {
828
- return deserializeAws_restJson1BatchAssociateScramSecretCommandError(output, context);
810
+ return de_BatchAssociateScramSecretCommandError(output, context);
829
811
  }
830
812
  const contents = map({
831
813
  $metadata: deserializeMetadata(output),
@@ -835,12 +817,12 @@ const deserializeAws_restJson1BatchAssociateScramSecretCommand = async (output,
835
817
  contents.ClusterArn = (0, smithy_client_1.expectString)(data.clusterArn);
836
818
  }
837
819
  if (data.unprocessedScramSecrets != null) {
838
- contents.UnprocessedScramSecrets = deserializeAws_restJson1__listOfUnprocessedScramSecret(data.unprocessedScramSecrets, context);
820
+ contents.UnprocessedScramSecrets = de___listOfUnprocessedScramSecret(data.unprocessedScramSecrets, context);
839
821
  }
840
822
  return contents;
841
823
  };
842
- exports.deserializeAws_restJson1BatchAssociateScramSecretCommand = deserializeAws_restJson1BatchAssociateScramSecretCommand;
843
- const deserializeAws_restJson1BatchAssociateScramSecretCommandError = async (output, context) => {
824
+ exports.de_BatchAssociateScramSecretCommand = de_BatchAssociateScramSecretCommand;
825
+ const de_BatchAssociateScramSecretCommandError = async (output, context) => {
844
826
  const parsedOutput = {
845
827
  ...output,
846
828
  body: await parseErrorBody(output.body, context),
@@ -849,25 +831,25 @@ const deserializeAws_restJson1BatchAssociateScramSecretCommandError = async (out
849
831
  switch (errorCode) {
850
832
  case "BadRequestException":
851
833
  case "com.amazonaws.kafka#BadRequestException":
852
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
834
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
853
835
  case "ForbiddenException":
854
836
  case "com.amazonaws.kafka#ForbiddenException":
855
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
837
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
856
838
  case "InternalServerErrorException":
857
839
  case "com.amazonaws.kafka#InternalServerErrorException":
858
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
840
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
859
841
  case "NotFoundException":
860
842
  case "com.amazonaws.kafka#NotFoundException":
861
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
843
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
862
844
  case "ServiceUnavailableException":
863
845
  case "com.amazonaws.kafka#ServiceUnavailableException":
864
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
846
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
865
847
  case "TooManyRequestsException":
866
848
  case "com.amazonaws.kafka#TooManyRequestsException":
867
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
849
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
868
850
  case "UnauthorizedException":
869
851
  case "com.amazonaws.kafka#UnauthorizedException":
870
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
852
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
871
853
  default:
872
854
  const parsedBody = parsedOutput.body;
873
855
  (0, smithy_client_1.throwDefaultError)({
@@ -878,9 +860,9 @@ const deserializeAws_restJson1BatchAssociateScramSecretCommandError = async (out
878
860
  });
879
861
  }
880
862
  };
881
- const deserializeAws_restJson1BatchDisassociateScramSecretCommand = async (output, context) => {
863
+ const de_BatchDisassociateScramSecretCommand = async (output, context) => {
882
864
  if (output.statusCode !== 200 && output.statusCode >= 300) {
883
- return deserializeAws_restJson1BatchDisassociateScramSecretCommandError(output, context);
865
+ return de_BatchDisassociateScramSecretCommandError(output, context);
884
866
  }
885
867
  const contents = map({
886
868
  $metadata: deserializeMetadata(output),
@@ -890,12 +872,12 @@ const deserializeAws_restJson1BatchDisassociateScramSecretCommand = async (outpu
890
872
  contents.ClusterArn = (0, smithy_client_1.expectString)(data.clusterArn);
891
873
  }
892
874
  if (data.unprocessedScramSecrets != null) {
893
- contents.UnprocessedScramSecrets = deserializeAws_restJson1__listOfUnprocessedScramSecret(data.unprocessedScramSecrets, context);
875
+ contents.UnprocessedScramSecrets = de___listOfUnprocessedScramSecret(data.unprocessedScramSecrets, context);
894
876
  }
895
877
  return contents;
896
878
  };
897
- exports.deserializeAws_restJson1BatchDisassociateScramSecretCommand = deserializeAws_restJson1BatchDisassociateScramSecretCommand;
898
- const deserializeAws_restJson1BatchDisassociateScramSecretCommandError = async (output, context) => {
879
+ exports.de_BatchDisassociateScramSecretCommand = de_BatchDisassociateScramSecretCommand;
880
+ const de_BatchDisassociateScramSecretCommandError = async (output, context) => {
899
881
  const parsedOutput = {
900
882
  ...output,
901
883
  body: await parseErrorBody(output.body, context),
@@ -904,25 +886,25 @@ const deserializeAws_restJson1BatchDisassociateScramSecretCommandError = async (
904
886
  switch (errorCode) {
905
887
  case "BadRequestException":
906
888
  case "com.amazonaws.kafka#BadRequestException":
907
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
889
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
908
890
  case "ForbiddenException":
909
891
  case "com.amazonaws.kafka#ForbiddenException":
910
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
892
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
911
893
  case "InternalServerErrorException":
912
894
  case "com.amazonaws.kafka#InternalServerErrorException":
913
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
895
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
914
896
  case "NotFoundException":
915
897
  case "com.amazonaws.kafka#NotFoundException":
916
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
898
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
917
899
  case "ServiceUnavailableException":
918
900
  case "com.amazonaws.kafka#ServiceUnavailableException":
919
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
901
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
920
902
  case "TooManyRequestsException":
921
903
  case "com.amazonaws.kafka#TooManyRequestsException":
922
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
904
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
923
905
  case "UnauthorizedException":
924
906
  case "com.amazonaws.kafka#UnauthorizedException":
925
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
907
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
926
908
  default:
927
909
  const parsedBody = parsedOutput.body;
928
910
  (0, smithy_client_1.throwDefaultError)({
@@ -933,9 +915,9 @@ const deserializeAws_restJson1BatchDisassociateScramSecretCommandError = async (
933
915
  });
934
916
  }
935
917
  };
936
- const deserializeAws_restJson1CreateClusterCommand = async (output, context) => {
918
+ const de_CreateClusterCommand = async (output, context) => {
937
919
  if (output.statusCode !== 200 && output.statusCode >= 300) {
938
- return deserializeAws_restJson1CreateClusterCommandError(output, context);
920
+ return de_CreateClusterCommandError(output, context);
939
921
  }
940
922
  const contents = map({
941
923
  $metadata: deserializeMetadata(output),
@@ -952,8 +934,8 @@ const deserializeAws_restJson1CreateClusterCommand = async (output, context) =>
952
934
  }
953
935
  return contents;
954
936
  };
955
- exports.deserializeAws_restJson1CreateClusterCommand = deserializeAws_restJson1CreateClusterCommand;
956
- const deserializeAws_restJson1CreateClusterCommandError = async (output, context) => {
937
+ exports.de_CreateClusterCommand = de_CreateClusterCommand;
938
+ const de_CreateClusterCommandError = async (output, context) => {
957
939
  const parsedOutput = {
958
940
  ...output,
959
941
  body: await parseErrorBody(output.body, context),
@@ -962,25 +944,25 @@ const deserializeAws_restJson1CreateClusterCommandError = async (output, context
962
944
  switch (errorCode) {
963
945
  case "BadRequestException":
964
946
  case "com.amazonaws.kafka#BadRequestException":
965
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
947
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
966
948
  case "ConflictException":
967
949
  case "com.amazonaws.kafka#ConflictException":
968
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
950
+ throw await de_ConflictExceptionRes(parsedOutput, context);
969
951
  case "ForbiddenException":
970
952
  case "com.amazonaws.kafka#ForbiddenException":
971
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
953
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
972
954
  case "InternalServerErrorException":
973
955
  case "com.amazonaws.kafka#InternalServerErrorException":
974
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
956
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
975
957
  case "ServiceUnavailableException":
976
958
  case "com.amazonaws.kafka#ServiceUnavailableException":
977
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
959
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
978
960
  case "TooManyRequestsException":
979
961
  case "com.amazonaws.kafka#TooManyRequestsException":
980
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
962
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
981
963
  case "UnauthorizedException":
982
964
  case "com.amazonaws.kafka#UnauthorizedException":
983
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
965
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
984
966
  default:
985
967
  const parsedBody = parsedOutput.body;
986
968
  (0, smithy_client_1.throwDefaultError)({
@@ -991,9 +973,9 @@ const deserializeAws_restJson1CreateClusterCommandError = async (output, context
991
973
  });
992
974
  }
993
975
  };
994
- const deserializeAws_restJson1CreateClusterV2Command = async (output, context) => {
976
+ const de_CreateClusterV2Command = async (output, context) => {
995
977
  if (output.statusCode !== 200 && output.statusCode >= 300) {
996
- return deserializeAws_restJson1CreateClusterV2CommandError(output, context);
978
+ return de_CreateClusterV2CommandError(output, context);
997
979
  }
998
980
  const contents = map({
999
981
  $metadata: deserializeMetadata(output),
@@ -1013,8 +995,8 @@ const deserializeAws_restJson1CreateClusterV2Command = async (output, context) =
1013
995
  }
1014
996
  return contents;
1015
997
  };
1016
- exports.deserializeAws_restJson1CreateClusterV2Command = deserializeAws_restJson1CreateClusterV2Command;
1017
- const deserializeAws_restJson1CreateClusterV2CommandError = async (output, context) => {
998
+ exports.de_CreateClusterV2Command = de_CreateClusterV2Command;
999
+ const de_CreateClusterV2CommandError = async (output, context) => {
1018
1000
  const parsedOutput = {
1019
1001
  ...output,
1020
1002
  body: await parseErrorBody(output.body, context),
@@ -1023,25 +1005,25 @@ const deserializeAws_restJson1CreateClusterV2CommandError = async (output, conte
1023
1005
  switch (errorCode) {
1024
1006
  case "BadRequestException":
1025
1007
  case "com.amazonaws.kafka#BadRequestException":
1026
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1008
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1027
1009
  case "ConflictException":
1028
1010
  case "com.amazonaws.kafka#ConflictException":
1029
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1011
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1030
1012
  case "ForbiddenException":
1031
1013
  case "com.amazonaws.kafka#ForbiddenException":
1032
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
1014
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1033
1015
  case "InternalServerErrorException":
1034
1016
  case "com.amazonaws.kafka#InternalServerErrorException":
1035
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1017
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1036
1018
  case "ServiceUnavailableException":
1037
1019
  case "com.amazonaws.kafka#ServiceUnavailableException":
1038
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1020
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1039
1021
  case "TooManyRequestsException":
1040
1022
  case "com.amazonaws.kafka#TooManyRequestsException":
1041
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
1023
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1042
1024
  case "UnauthorizedException":
1043
1025
  case "com.amazonaws.kafka#UnauthorizedException":
1044
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
1026
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
1045
1027
  default:
1046
1028
  const parsedBody = parsedOutput.body;
1047
1029
  (0, smithy_client_1.throwDefaultError)({
@@ -1052,9 +1034,9 @@ const deserializeAws_restJson1CreateClusterV2CommandError = async (output, conte
1052
1034
  });
1053
1035
  }
1054
1036
  };
1055
- const deserializeAws_restJson1CreateConfigurationCommand = async (output, context) => {
1037
+ const de_CreateConfigurationCommand = async (output, context) => {
1056
1038
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1057
- return deserializeAws_restJson1CreateConfigurationCommandError(output, context);
1039
+ return de_CreateConfigurationCommandError(output, context);
1058
1040
  }
1059
1041
  const contents = map({
1060
1042
  $metadata: deserializeMetadata(output),
@@ -1067,7 +1049,7 @@ const deserializeAws_restJson1CreateConfigurationCommand = async (output, contex
1067
1049
  contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.creationTime));
1068
1050
  }
1069
1051
  if (data.latestRevision != null) {
1070
- contents.LatestRevision = deserializeAws_restJson1ConfigurationRevision(data.latestRevision, context);
1052
+ contents.LatestRevision = de_ConfigurationRevision(data.latestRevision, context);
1071
1053
  }
1072
1054
  if (data.name != null) {
1073
1055
  contents.Name = (0, smithy_client_1.expectString)(data.name);
@@ -1077,8 +1059,8 @@ const deserializeAws_restJson1CreateConfigurationCommand = async (output, contex
1077
1059
  }
1078
1060
  return contents;
1079
1061
  };
1080
- exports.deserializeAws_restJson1CreateConfigurationCommand = deserializeAws_restJson1CreateConfigurationCommand;
1081
- const deserializeAws_restJson1CreateConfigurationCommandError = async (output, context) => {
1062
+ exports.de_CreateConfigurationCommand = de_CreateConfigurationCommand;
1063
+ const de_CreateConfigurationCommandError = async (output, context) => {
1082
1064
  const parsedOutput = {
1083
1065
  ...output,
1084
1066
  body: await parseErrorBody(output.body, context),
@@ -1087,25 +1069,25 @@ const deserializeAws_restJson1CreateConfigurationCommandError = async (output, c
1087
1069
  switch (errorCode) {
1088
1070
  case "BadRequestException":
1089
1071
  case "com.amazonaws.kafka#BadRequestException":
1090
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1072
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1091
1073
  case "ConflictException":
1092
1074
  case "com.amazonaws.kafka#ConflictException":
1093
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1075
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1094
1076
  case "ForbiddenException":
1095
1077
  case "com.amazonaws.kafka#ForbiddenException":
1096
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
1078
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1097
1079
  case "InternalServerErrorException":
1098
1080
  case "com.amazonaws.kafka#InternalServerErrorException":
1099
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1081
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1100
1082
  case "ServiceUnavailableException":
1101
1083
  case "com.amazonaws.kafka#ServiceUnavailableException":
1102
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1084
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1103
1085
  case "TooManyRequestsException":
1104
1086
  case "com.amazonaws.kafka#TooManyRequestsException":
1105
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
1087
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1106
1088
  case "UnauthorizedException":
1107
1089
  case "com.amazonaws.kafka#UnauthorizedException":
1108
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
1090
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
1109
1091
  default:
1110
1092
  const parsedBody = parsedOutput.body;
1111
1093
  (0, smithy_client_1.throwDefaultError)({
@@ -1116,9 +1098,9 @@ const deserializeAws_restJson1CreateConfigurationCommandError = async (output, c
1116
1098
  });
1117
1099
  }
1118
1100
  };
1119
- const deserializeAws_restJson1DeleteClusterCommand = async (output, context) => {
1101
+ const de_DeleteClusterCommand = async (output, context) => {
1120
1102
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1121
- return deserializeAws_restJson1DeleteClusterCommandError(output, context);
1103
+ return de_DeleteClusterCommandError(output, context);
1122
1104
  }
1123
1105
  const contents = map({
1124
1106
  $metadata: deserializeMetadata(output),
@@ -1132,8 +1114,8 @@ const deserializeAws_restJson1DeleteClusterCommand = async (output, context) =>
1132
1114
  }
1133
1115
  return contents;
1134
1116
  };
1135
- exports.deserializeAws_restJson1DeleteClusterCommand = deserializeAws_restJson1DeleteClusterCommand;
1136
- const deserializeAws_restJson1DeleteClusterCommandError = async (output, context) => {
1117
+ exports.de_DeleteClusterCommand = de_DeleteClusterCommand;
1118
+ const de_DeleteClusterCommandError = async (output, context) => {
1137
1119
  const parsedOutput = {
1138
1120
  ...output,
1139
1121
  body: await parseErrorBody(output.body, context),
@@ -1142,16 +1124,16 @@ const deserializeAws_restJson1DeleteClusterCommandError = async (output, context
1142
1124
  switch (errorCode) {
1143
1125
  case "BadRequestException":
1144
1126
  case "com.amazonaws.kafka#BadRequestException":
1145
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1127
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1146
1128
  case "ForbiddenException":
1147
1129
  case "com.amazonaws.kafka#ForbiddenException":
1148
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
1130
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1149
1131
  case "InternalServerErrorException":
1150
1132
  case "com.amazonaws.kafka#InternalServerErrorException":
1151
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1133
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1152
1134
  case "NotFoundException":
1153
1135
  case "com.amazonaws.kafka#NotFoundException":
1154
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1136
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1155
1137
  default:
1156
1138
  const parsedBody = parsedOutput.body;
1157
1139
  (0, smithy_client_1.throwDefaultError)({
@@ -1162,9 +1144,9 @@ const deserializeAws_restJson1DeleteClusterCommandError = async (output, context
1162
1144
  });
1163
1145
  }
1164
1146
  };
1165
- const deserializeAws_restJson1DeleteConfigurationCommand = async (output, context) => {
1147
+ const de_DeleteConfigurationCommand = async (output, context) => {
1166
1148
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1167
- return deserializeAws_restJson1DeleteConfigurationCommandError(output, context);
1149
+ return de_DeleteConfigurationCommandError(output, context);
1168
1150
  }
1169
1151
  const contents = map({
1170
1152
  $metadata: deserializeMetadata(output),
@@ -1178,8 +1160,8 @@ const deserializeAws_restJson1DeleteConfigurationCommand = async (output, contex
1178
1160
  }
1179
1161
  return contents;
1180
1162
  };
1181
- exports.deserializeAws_restJson1DeleteConfigurationCommand = deserializeAws_restJson1DeleteConfigurationCommand;
1182
- const deserializeAws_restJson1DeleteConfigurationCommandError = async (output, context) => {
1163
+ exports.de_DeleteConfigurationCommand = de_DeleteConfigurationCommand;
1164
+ const de_DeleteConfigurationCommandError = async (output, context) => {
1183
1165
  const parsedOutput = {
1184
1166
  ...output,
1185
1167
  body: await parseErrorBody(output.body, context),
@@ -1188,16 +1170,16 @@ const deserializeAws_restJson1DeleteConfigurationCommandError = async (output, c
1188
1170
  switch (errorCode) {
1189
1171
  case "BadRequestException":
1190
1172
  case "com.amazonaws.kafka#BadRequestException":
1191
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1173
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1192
1174
  case "ForbiddenException":
1193
1175
  case "com.amazonaws.kafka#ForbiddenException":
1194
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
1176
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1195
1177
  case "InternalServerErrorException":
1196
1178
  case "com.amazonaws.kafka#InternalServerErrorException":
1197
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1179
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1198
1180
  case "NotFoundException":
1199
1181
  case "com.amazonaws.kafka#NotFoundException":
1200
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1182
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1201
1183
  default:
1202
1184
  const parsedBody = parsedOutput.body;
1203
1185
  (0, smithy_client_1.throwDefaultError)({
@@ -1208,21 +1190,21 @@ const deserializeAws_restJson1DeleteConfigurationCommandError = async (output, c
1208
1190
  });
1209
1191
  }
1210
1192
  };
1211
- const deserializeAws_restJson1DescribeClusterCommand = async (output, context) => {
1193
+ const de_DescribeClusterCommand = async (output, context) => {
1212
1194
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1213
- return deserializeAws_restJson1DescribeClusterCommandError(output, context);
1195
+ return de_DescribeClusterCommandError(output, context);
1214
1196
  }
1215
1197
  const contents = map({
1216
1198
  $metadata: deserializeMetadata(output),
1217
1199
  });
1218
1200
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1219
1201
  if (data.clusterInfo != null) {
1220
- contents.ClusterInfo = deserializeAws_restJson1ClusterInfo(data.clusterInfo, context);
1202
+ contents.ClusterInfo = de_ClusterInfo(data.clusterInfo, context);
1221
1203
  }
1222
1204
  return contents;
1223
1205
  };
1224
- exports.deserializeAws_restJson1DescribeClusterCommand = deserializeAws_restJson1DescribeClusterCommand;
1225
- const deserializeAws_restJson1DescribeClusterCommandError = async (output, context) => {
1206
+ exports.de_DescribeClusterCommand = de_DescribeClusterCommand;
1207
+ const de_DescribeClusterCommandError = async (output, context) => {
1226
1208
  const parsedOutput = {
1227
1209
  ...output,
1228
1210
  body: await parseErrorBody(output.body, context),
@@ -1231,19 +1213,19 @@ const deserializeAws_restJson1DescribeClusterCommandError = async (output, conte
1231
1213
  switch (errorCode) {
1232
1214
  case "BadRequestException":
1233
1215
  case "com.amazonaws.kafka#BadRequestException":
1234
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1216
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1235
1217
  case "ForbiddenException":
1236
1218
  case "com.amazonaws.kafka#ForbiddenException":
1237
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
1219
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1238
1220
  case "InternalServerErrorException":
1239
1221
  case "com.amazonaws.kafka#InternalServerErrorException":
1240
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1222
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1241
1223
  case "NotFoundException":
1242
1224
  case "com.amazonaws.kafka#NotFoundException":
1243
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1225
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1244
1226
  case "UnauthorizedException":
1245
1227
  case "com.amazonaws.kafka#UnauthorizedException":
1246
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
1228
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
1247
1229
  default:
1248
1230
  const parsedBody = parsedOutput.body;
1249
1231
  (0, smithy_client_1.throwDefaultError)({
@@ -1254,21 +1236,21 @@ const deserializeAws_restJson1DescribeClusterCommandError = async (output, conte
1254
1236
  });
1255
1237
  }
1256
1238
  };
1257
- const deserializeAws_restJson1DescribeClusterOperationCommand = async (output, context) => {
1239
+ const de_DescribeClusterOperationCommand = async (output, context) => {
1258
1240
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1259
- return deserializeAws_restJson1DescribeClusterOperationCommandError(output, context);
1241
+ return de_DescribeClusterOperationCommandError(output, context);
1260
1242
  }
1261
1243
  const contents = map({
1262
1244
  $metadata: deserializeMetadata(output),
1263
1245
  });
1264
1246
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1265
1247
  if (data.clusterOperationInfo != null) {
1266
- contents.ClusterOperationInfo = deserializeAws_restJson1ClusterOperationInfo(data.clusterOperationInfo, context);
1248
+ contents.ClusterOperationInfo = de_ClusterOperationInfo(data.clusterOperationInfo, context);
1267
1249
  }
1268
1250
  return contents;
1269
1251
  };
1270
- exports.deserializeAws_restJson1DescribeClusterOperationCommand = deserializeAws_restJson1DescribeClusterOperationCommand;
1271
- const deserializeAws_restJson1DescribeClusterOperationCommandError = async (output, context) => {
1252
+ exports.de_DescribeClusterOperationCommand = de_DescribeClusterOperationCommand;
1253
+ const de_DescribeClusterOperationCommandError = async (output, context) => {
1272
1254
  const parsedOutput = {
1273
1255
  ...output,
1274
1256
  body: await parseErrorBody(output.body, context),
@@ -1277,19 +1259,19 @@ const deserializeAws_restJson1DescribeClusterOperationCommandError = async (outp
1277
1259
  switch (errorCode) {
1278
1260
  case "BadRequestException":
1279
1261
  case "com.amazonaws.kafka#BadRequestException":
1280
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1262
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1281
1263
  case "ForbiddenException":
1282
1264
  case "com.amazonaws.kafka#ForbiddenException":
1283
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
1265
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1284
1266
  case "InternalServerErrorException":
1285
1267
  case "com.amazonaws.kafka#InternalServerErrorException":
1286
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1268
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1287
1269
  case "NotFoundException":
1288
1270
  case "com.amazonaws.kafka#NotFoundException":
1289
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1271
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1290
1272
  case "UnauthorizedException":
1291
1273
  case "com.amazonaws.kafka#UnauthorizedException":
1292
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
1274
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
1293
1275
  default:
1294
1276
  const parsedBody = parsedOutput.body;
1295
1277
  (0, smithy_client_1.throwDefaultError)({
@@ -1300,21 +1282,21 @@ const deserializeAws_restJson1DescribeClusterOperationCommandError = async (outp
1300
1282
  });
1301
1283
  }
1302
1284
  };
1303
- const deserializeAws_restJson1DescribeClusterV2Command = async (output, context) => {
1285
+ const de_DescribeClusterV2Command = async (output, context) => {
1304
1286
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1305
- return deserializeAws_restJson1DescribeClusterV2CommandError(output, context);
1287
+ return de_DescribeClusterV2CommandError(output, context);
1306
1288
  }
1307
1289
  const contents = map({
1308
1290
  $metadata: deserializeMetadata(output),
1309
1291
  });
1310
1292
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1311
1293
  if (data.clusterInfo != null) {
1312
- contents.ClusterInfo = deserializeAws_restJson1Cluster(data.clusterInfo, context);
1294
+ contents.ClusterInfo = de_Cluster(data.clusterInfo, context);
1313
1295
  }
1314
1296
  return contents;
1315
1297
  };
1316
- exports.deserializeAws_restJson1DescribeClusterV2Command = deserializeAws_restJson1DescribeClusterV2Command;
1317
- const deserializeAws_restJson1DescribeClusterV2CommandError = async (output, context) => {
1298
+ exports.de_DescribeClusterV2Command = de_DescribeClusterV2Command;
1299
+ const de_DescribeClusterV2CommandError = async (output, context) => {
1318
1300
  const parsedOutput = {
1319
1301
  ...output,
1320
1302
  body: await parseErrorBody(output.body, context),
@@ -1323,19 +1305,19 @@ const deserializeAws_restJson1DescribeClusterV2CommandError = async (output, con
1323
1305
  switch (errorCode) {
1324
1306
  case "BadRequestException":
1325
1307
  case "com.amazonaws.kafka#BadRequestException":
1326
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1308
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1327
1309
  case "ForbiddenException":
1328
1310
  case "com.amazonaws.kafka#ForbiddenException":
1329
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
1311
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1330
1312
  case "InternalServerErrorException":
1331
1313
  case "com.amazonaws.kafka#InternalServerErrorException":
1332
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1314
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1333
1315
  case "NotFoundException":
1334
1316
  case "com.amazonaws.kafka#NotFoundException":
1335
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1317
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1336
1318
  case "UnauthorizedException":
1337
1319
  case "com.amazonaws.kafka#UnauthorizedException":
1338
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
1320
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
1339
1321
  default:
1340
1322
  const parsedBody = parsedOutput.body;
1341
1323
  (0, smithy_client_1.throwDefaultError)({
@@ -1346,9 +1328,9 @@ const deserializeAws_restJson1DescribeClusterV2CommandError = async (output, con
1346
1328
  });
1347
1329
  }
1348
1330
  };
1349
- const deserializeAws_restJson1DescribeConfigurationCommand = async (output, context) => {
1331
+ const de_DescribeConfigurationCommand = async (output, context) => {
1350
1332
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1351
- return deserializeAws_restJson1DescribeConfigurationCommandError(output, context);
1333
+ return de_DescribeConfigurationCommandError(output, context);
1352
1334
  }
1353
1335
  const contents = map({
1354
1336
  $metadata: deserializeMetadata(output),
@@ -1364,10 +1346,10 @@ const deserializeAws_restJson1DescribeConfigurationCommand = async (output, cont
1364
1346
  contents.Description = (0, smithy_client_1.expectString)(data.description);
1365
1347
  }
1366
1348
  if (data.kafkaVersions != null) {
1367
- contents.KafkaVersions = deserializeAws_restJson1__listOf__string(data.kafkaVersions, context);
1349
+ contents.KafkaVersions = de___listOf__string(data.kafkaVersions, context);
1368
1350
  }
1369
1351
  if (data.latestRevision != null) {
1370
- contents.LatestRevision = deserializeAws_restJson1ConfigurationRevision(data.latestRevision, context);
1352
+ contents.LatestRevision = de_ConfigurationRevision(data.latestRevision, context);
1371
1353
  }
1372
1354
  if (data.name != null) {
1373
1355
  contents.Name = (0, smithy_client_1.expectString)(data.name);
@@ -1377,8 +1359,8 @@ const deserializeAws_restJson1DescribeConfigurationCommand = async (output, cont
1377
1359
  }
1378
1360
  return contents;
1379
1361
  };
1380
- exports.deserializeAws_restJson1DescribeConfigurationCommand = deserializeAws_restJson1DescribeConfigurationCommand;
1381
- const deserializeAws_restJson1DescribeConfigurationCommandError = async (output, context) => {
1362
+ exports.de_DescribeConfigurationCommand = de_DescribeConfigurationCommand;
1363
+ const de_DescribeConfigurationCommandError = async (output, context) => {
1382
1364
  const parsedOutput = {
1383
1365
  ...output,
1384
1366
  body: await parseErrorBody(output.body, context),
@@ -1387,22 +1369,22 @@ const deserializeAws_restJson1DescribeConfigurationCommandError = async (output,
1387
1369
  switch (errorCode) {
1388
1370
  case "BadRequestException":
1389
1371
  case "com.amazonaws.kafka#BadRequestException":
1390
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1372
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1391
1373
  case "ForbiddenException":
1392
1374
  case "com.amazonaws.kafka#ForbiddenException":
1393
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
1375
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1394
1376
  case "InternalServerErrorException":
1395
1377
  case "com.amazonaws.kafka#InternalServerErrorException":
1396
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1378
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1397
1379
  case "NotFoundException":
1398
1380
  case "com.amazonaws.kafka#NotFoundException":
1399
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1381
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1400
1382
  case "ServiceUnavailableException":
1401
1383
  case "com.amazonaws.kafka#ServiceUnavailableException":
1402
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1384
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1403
1385
  case "UnauthorizedException":
1404
1386
  case "com.amazonaws.kafka#UnauthorizedException":
1405
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
1387
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
1406
1388
  default:
1407
1389
  const parsedBody = parsedOutput.body;
1408
1390
  (0, smithy_client_1.throwDefaultError)({
@@ -1413,9 +1395,9 @@ const deserializeAws_restJson1DescribeConfigurationCommandError = async (output,
1413
1395
  });
1414
1396
  }
1415
1397
  };
1416
- const deserializeAws_restJson1DescribeConfigurationRevisionCommand = async (output, context) => {
1398
+ const de_DescribeConfigurationRevisionCommand = async (output, context) => {
1417
1399
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1418
- return deserializeAws_restJson1DescribeConfigurationRevisionCommandError(output, context);
1400
+ return de_DescribeConfigurationRevisionCommandError(output, context);
1419
1401
  }
1420
1402
  const contents = map({
1421
1403
  $metadata: deserializeMetadata(output),
@@ -1438,8 +1420,8 @@ const deserializeAws_restJson1DescribeConfigurationRevisionCommand = async (outp
1438
1420
  }
1439
1421
  return contents;
1440
1422
  };
1441
- exports.deserializeAws_restJson1DescribeConfigurationRevisionCommand = deserializeAws_restJson1DescribeConfigurationRevisionCommand;
1442
- const deserializeAws_restJson1DescribeConfigurationRevisionCommandError = async (output, context) => {
1423
+ exports.de_DescribeConfigurationRevisionCommand = de_DescribeConfigurationRevisionCommand;
1424
+ const de_DescribeConfigurationRevisionCommandError = async (output, context) => {
1443
1425
  const parsedOutput = {
1444
1426
  ...output,
1445
1427
  body: await parseErrorBody(output.body, context),
@@ -1448,22 +1430,22 @@ const deserializeAws_restJson1DescribeConfigurationRevisionCommandError = async
1448
1430
  switch (errorCode) {
1449
1431
  case "BadRequestException":
1450
1432
  case "com.amazonaws.kafka#BadRequestException":
1451
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1433
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1452
1434
  case "ForbiddenException":
1453
1435
  case "com.amazonaws.kafka#ForbiddenException":
1454
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
1436
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1455
1437
  case "InternalServerErrorException":
1456
1438
  case "com.amazonaws.kafka#InternalServerErrorException":
1457
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1439
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1458
1440
  case "NotFoundException":
1459
1441
  case "com.amazonaws.kafka#NotFoundException":
1460
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1442
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1461
1443
  case "ServiceUnavailableException":
1462
1444
  case "com.amazonaws.kafka#ServiceUnavailableException":
1463
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1445
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1464
1446
  case "UnauthorizedException":
1465
1447
  case "com.amazonaws.kafka#UnauthorizedException":
1466
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
1448
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
1467
1449
  default:
1468
1450
  const parsedBody = parsedOutput.body;
1469
1451
  (0, smithy_client_1.throwDefaultError)({
@@ -1474,9 +1456,9 @@ const deserializeAws_restJson1DescribeConfigurationRevisionCommandError = async
1474
1456
  });
1475
1457
  }
1476
1458
  };
1477
- const deserializeAws_restJson1GetBootstrapBrokersCommand = async (output, context) => {
1459
+ const de_GetBootstrapBrokersCommand = async (output, context) => {
1478
1460
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1479
- return deserializeAws_restJson1GetBootstrapBrokersCommandError(output, context);
1461
+ return de_GetBootstrapBrokersCommandError(output, context);
1480
1462
  }
1481
1463
  const contents = map({
1482
1464
  $metadata: deserializeMetadata(output),
@@ -1505,8 +1487,8 @@ const deserializeAws_restJson1GetBootstrapBrokersCommand = async (output, contex
1505
1487
  }
1506
1488
  return contents;
1507
1489
  };
1508
- exports.deserializeAws_restJson1GetBootstrapBrokersCommand = deserializeAws_restJson1GetBootstrapBrokersCommand;
1509
- const deserializeAws_restJson1GetBootstrapBrokersCommandError = async (output, context) => {
1490
+ exports.de_GetBootstrapBrokersCommand = de_GetBootstrapBrokersCommand;
1491
+ const de_GetBootstrapBrokersCommandError = async (output, context) => {
1510
1492
  const parsedOutput = {
1511
1493
  ...output,
1512
1494
  body: await parseErrorBody(output.body, context),
@@ -1515,19 +1497,19 @@ const deserializeAws_restJson1GetBootstrapBrokersCommandError = async (output, c
1515
1497
  switch (errorCode) {
1516
1498
  case "BadRequestException":
1517
1499
  case "com.amazonaws.kafka#BadRequestException":
1518
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1500
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1519
1501
  case "ConflictException":
1520
1502
  case "com.amazonaws.kafka#ConflictException":
1521
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1503
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1522
1504
  case "ForbiddenException":
1523
1505
  case "com.amazonaws.kafka#ForbiddenException":
1524
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
1506
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1525
1507
  case "InternalServerErrorException":
1526
1508
  case "com.amazonaws.kafka#InternalServerErrorException":
1527
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1509
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1528
1510
  case "UnauthorizedException":
1529
1511
  case "com.amazonaws.kafka#UnauthorizedException":
1530
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
1512
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
1531
1513
  default:
1532
1514
  const parsedBody = parsedOutput.body;
1533
1515
  (0, smithy_client_1.throwDefaultError)({
@@ -1538,21 +1520,21 @@ const deserializeAws_restJson1GetBootstrapBrokersCommandError = async (output, c
1538
1520
  });
1539
1521
  }
1540
1522
  };
1541
- const deserializeAws_restJson1GetCompatibleKafkaVersionsCommand = async (output, context) => {
1523
+ const de_GetCompatibleKafkaVersionsCommand = async (output, context) => {
1542
1524
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1543
- return deserializeAws_restJson1GetCompatibleKafkaVersionsCommandError(output, context);
1525
+ return de_GetCompatibleKafkaVersionsCommandError(output, context);
1544
1526
  }
1545
1527
  const contents = map({
1546
1528
  $metadata: deserializeMetadata(output),
1547
1529
  });
1548
1530
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1549
1531
  if (data.compatibleKafkaVersions != null) {
1550
- contents.CompatibleKafkaVersions = deserializeAws_restJson1__listOfCompatibleKafkaVersion(data.compatibleKafkaVersions, context);
1532
+ contents.CompatibleKafkaVersions = de___listOfCompatibleKafkaVersion(data.compatibleKafkaVersions, context);
1551
1533
  }
1552
1534
  return contents;
1553
1535
  };
1554
- exports.deserializeAws_restJson1GetCompatibleKafkaVersionsCommand = deserializeAws_restJson1GetCompatibleKafkaVersionsCommand;
1555
- const deserializeAws_restJson1GetCompatibleKafkaVersionsCommandError = async (output, context) => {
1536
+ exports.de_GetCompatibleKafkaVersionsCommand = de_GetCompatibleKafkaVersionsCommand;
1537
+ const de_GetCompatibleKafkaVersionsCommandError = async (output, context) => {
1556
1538
  const parsedOutput = {
1557
1539
  ...output,
1558
1540
  body: await parseErrorBody(output.body, context),
@@ -1561,25 +1543,25 @@ const deserializeAws_restJson1GetCompatibleKafkaVersionsCommandError = async (ou
1561
1543
  switch (errorCode) {
1562
1544
  case "BadRequestException":
1563
1545
  case "com.amazonaws.kafka#BadRequestException":
1564
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1546
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1565
1547
  case "ForbiddenException":
1566
1548
  case "com.amazonaws.kafka#ForbiddenException":
1567
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
1549
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1568
1550
  case "InternalServerErrorException":
1569
1551
  case "com.amazonaws.kafka#InternalServerErrorException":
1570
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1552
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1571
1553
  case "NotFoundException":
1572
1554
  case "com.amazonaws.kafka#NotFoundException":
1573
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1555
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1574
1556
  case "ServiceUnavailableException":
1575
1557
  case "com.amazonaws.kafka#ServiceUnavailableException":
1576
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1558
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1577
1559
  case "TooManyRequestsException":
1578
1560
  case "com.amazonaws.kafka#TooManyRequestsException":
1579
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
1561
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1580
1562
  case "UnauthorizedException":
1581
1563
  case "com.amazonaws.kafka#UnauthorizedException":
1582
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
1564
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
1583
1565
  default:
1584
1566
  const parsedBody = parsedOutput.body;
1585
1567
  (0, smithy_client_1.throwDefaultError)({
@@ -1590,24 +1572,24 @@ const deserializeAws_restJson1GetCompatibleKafkaVersionsCommandError = async (ou
1590
1572
  });
1591
1573
  }
1592
1574
  };
1593
- const deserializeAws_restJson1ListClusterOperationsCommand = async (output, context) => {
1575
+ const de_ListClusterOperationsCommand = async (output, context) => {
1594
1576
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1595
- return deserializeAws_restJson1ListClusterOperationsCommandError(output, context);
1577
+ return de_ListClusterOperationsCommandError(output, context);
1596
1578
  }
1597
1579
  const contents = map({
1598
1580
  $metadata: deserializeMetadata(output),
1599
1581
  });
1600
1582
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1601
1583
  if (data.clusterOperationInfoList != null) {
1602
- contents.ClusterOperationInfoList = deserializeAws_restJson1__listOfClusterOperationInfo(data.clusterOperationInfoList, context);
1584
+ contents.ClusterOperationInfoList = de___listOfClusterOperationInfo(data.clusterOperationInfoList, context);
1603
1585
  }
1604
1586
  if (data.nextToken != null) {
1605
1587
  contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
1606
1588
  }
1607
1589
  return contents;
1608
1590
  };
1609
- exports.deserializeAws_restJson1ListClusterOperationsCommand = deserializeAws_restJson1ListClusterOperationsCommand;
1610
- const deserializeAws_restJson1ListClusterOperationsCommandError = async (output, context) => {
1591
+ exports.de_ListClusterOperationsCommand = de_ListClusterOperationsCommand;
1592
+ const de_ListClusterOperationsCommandError = async (output, context) => {
1611
1593
  const parsedOutput = {
1612
1594
  ...output,
1613
1595
  body: await parseErrorBody(output.body, context),
@@ -1616,16 +1598,16 @@ const deserializeAws_restJson1ListClusterOperationsCommandError = async (output,
1616
1598
  switch (errorCode) {
1617
1599
  case "BadRequestException":
1618
1600
  case "com.amazonaws.kafka#BadRequestException":
1619
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1601
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1620
1602
  case "ForbiddenException":
1621
1603
  case "com.amazonaws.kafka#ForbiddenException":
1622
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
1604
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1623
1605
  case "InternalServerErrorException":
1624
1606
  case "com.amazonaws.kafka#InternalServerErrorException":
1625
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1607
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1626
1608
  case "UnauthorizedException":
1627
1609
  case "com.amazonaws.kafka#UnauthorizedException":
1628
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
1610
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
1629
1611
  default:
1630
1612
  const parsedBody = parsedOutput.body;
1631
1613
  (0, smithy_client_1.throwDefaultError)({
@@ -1636,24 +1618,24 @@ const deserializeAws_restJson1ListClusterOperationsCommandError = async (output,
1636
1618
  });
1637
1619
  }
1638
1620
  };
1639
- const deserializeAws_restJson1ListClustersCommand = async (output, context) => {
1621
+ const de_ListClustersCommand = async (output, context) => {
1640
1622
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1641
- return deserializeAws_restJson1ListClustersCommandError(output, context);
1623
+ return de_ListClustersCommandError(output, context);
1642
1624
  }
1643
1625
  const contents = map({
1644
1626
  $metadata: deserializeMetadata(output),
1645
1627
  });
1646
1628
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1647
1629
  if (data.clusterInfoList != null) {
1648
- contents.ClusterInfoList = deserializeAws_restJson1__listOfClusterInfo(data.clusterInfoList, context);
1630
+ contents.ClusterInfoList = de___listOfClusterInfo(data.clusterInfoList, context);
1649
1631
  }
1650
1632
  if (data.nextToken != null) {
1651
1633
  contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
1652
1634
  }
1653
1635
  return contents;
1654
1636
  };
1655
- exports.deserializeAws_restJson1ListClustersCommand = deserializeAws_restJson1ListClustersCommand;
1656
- const deserializeAws_restJson1ListClustersCommandError = async (output, context) => {
1637
+ exports.de_ListClustersCommand = de_ListClustersCommand;
1638
+ const de_ListClustersCommandError = async (output, context) => {
1657
1639
  const parsedOutput = {
1658
1640
  ...output,
1659
1641
  body: await parseErrorBody(output.body, context),
@@ -1662,16 +1644,16 @@ const deserializeAws_restJson1ListClustersCommandError = async (output, context)
1662
1644
  switch (errorCode) {
1663
1645
  case "BadRequestException":
1664
1646
  case "com.amazonaws.kafka#BadRequestException":
1665
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1647
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1666
1648
  case "ForbiddenException":
1667
1649
  case "com.amazonaws.kafka#ForbiddenException":
1668
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
1650
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1669
1651
  case "InternalServerErrorException":
1670
1652
  case "com.amazonaws.kafka#InternalServerErrorException":
1671
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1653
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1672
1654
  case "UnauthorizedException":
1673
1655
  case "com.amazonaws.kafka#UnauthorizedException":
1674
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
1656
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
1675
1657
  default:
1676
1658
  const parsedBody = parsedOutput.body;
1677
1659
  (0, smithy_client_1.throwDefaultError)({
@@ -1682,24 +1664,24 @@ const deserializeAws_restJson1ListClustersCommandError = async (output, context)
1682
1664
  });
1683
1665
  }
1684
1666
  };
1685
- const deserializeAws_restJson1ListClustersV2Command = async (output, context) => {
1667
+ const de_ListClustersV2Command = async (output, context) => {
1686
1668
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1687
- return deserializeAws_restJson1ListClustersV2CommandError(output, context);
1669
+ return de_ListClustersV2CommandError(output, context);
1688
1670
  }
1689
1671
  const contents = map({
1690
1672
  $metadata: deserializeMetadata(output),
1691
1673
  });
1692
1674
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1693
1675
  if (data.clusterInfoList != null) {
1694
- contents.ClusterInfoList = deserializeAws_restJson1__listOfCluster(data.clusterInfoList, context);
1676
+ contents.ClusterInfoList = de___listOfCluster(data.clusterInfoList, context);
1695
1677
  }
1696
1678
  if (data.nextToken != null) {
1697
1679
  contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
1698
1680
  }
1699
1681
  return contents;
1700
1682
  };
1701
- exports.deserializeAws_restJson1ListClustersV2Command = deserializeAws_restJson1ListClustersV2Command;
1702
- const deserializeAws_restJson1ListClustersV2CommandError = async (output, context) => {
1683
+ exports.de_ListClustersV2Command = de_ListClustersV2Command;
1684
+ const de_ListClustersV2CommandError = async (output, context) => {
1703
1685
  const parsedOutput = {
1704
1686
  ...output,
1705
1687
  body: await parseErrorBody(output.body, context),
@@ -1708,16 +1690,16 @@ const deserializeAws_restJson1ListClustersV2CommandError = async (output, contex
1708
1690
  switch (errorCode) {
1709
1691
  case "BadRequestException":
1710
1692
  case "com.amazonaws.kafka#BadRequestException":
1711
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1693
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1712
1694
  case "ForbiddenException":
1713
1695
  case "com.amazonaws.kafka#ForbiddenException":
1714
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
1696
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1715
1697
  case "InternalServerErrorException":
1716
1698
  case "com.amazonaws.kafka#InternalServerErrorException":
1717
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1699
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1718
1700
  case "UnauthorizedException":
1719
1701
  case "com.amazonaws.kafka#UnauthorizedException":
1720
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
1702
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
1721
1703
  default:
1722
1704
  const parsedBody = parsedOutput.body;
1723
1705
  (0, smithy_client_1.throwDefaultError)({
@@ -1728,9 +1710,9 @@ const deserializeAws_restJson1ListClustersV2CommandError = async (output, contex
1728
1710
  });
1729
1711
  }
1730
1712
  };
1731
- const deserializeAws_restJson1ListConfigurationRevisionsCommand = async (output, context) => {
1713
+ const de_ListConfigurationRevisionsCommand = async (output, context) => {
1732
1714
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1733
- return deserializeAws_restJson1ListConfigurationRevisionsCommandError(output, context);
1715
+ return de_ListConfigurationRevisionsCommandError(output, context);
1734
1716
  }
1735
1717
  const contents = map({
1736
1718
  $metadata: deserializeMetadata(output),
@@ -1740,12 +1722,12 @@ const deserializeAws_restJson1ListConfigurationRevisionsCommand = async (output,
1740
1722
  contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
1741
1723
  }
1742
1724
  if (data.revisions != null) {
1743
- contents.Revisions = deserializeAws_restJson1__listOfConfigurationRevision(data.revisions, context);
1725
+ contents.Revisions = de___listOfConfigurationRevision(data.revisions, context);
1744
1726
  }
1745
1727
  return contents;
1746
1728
  };
1747
- exports.deserializeAws_restJson1ListConfigurationRevisionsCommand = deserializeAws_restJson1ListConfigurationRevisionsCommand;
1748
- const deserializeAws_restJson1ListConfigurationRevisionsCommandError = async (output, context) => {
1729
+ exports.de_ListConfigurationRevisionsCommand = de_ListConfigurationRevisionsCommand;
1730
+ const de_ListConfigurationRevisionsCommandError = async (output, context) => {
1749
1731
  const parsedOutput = {
1750
1732
  ...output,
1751
1733
  body: await parseErrorBody(output.body, context),
@@ -1754,22 +1736,22 @@ const deserializeAws_restJson1ListConfigurationRevisionsCommandError = async (ou
1754
1736
  switch (errorCode) {
1755
1737
  case "BadRequestException":
1756
1738
  case "com.amazonaws.kafka#BadRequestException":
1757
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1739
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1758
1740
  case "ForbiddenException":
1759
1741
  case "com.amazonaws.kafka#ForbiddenException":
1760
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
1742
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1761
1743
  case "InternalServerErrorException":
1762
1744
  case "com.amazonaws.kafka#InternalServerErrorException":
1763
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1745
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1764
1746
  case "NotFoundException":
1765
1747
  case "com.amazonaws.kafka#NotFoundException":
1766
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1748
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1767
1749
  case "ServiceUnavailableException":
1768
1750
  case "com.amazonaws.kafka#ServiceUnavailableException":
1769
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1751
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1770
1752
  case "UnauthorizedException":
1771
1753
  case "com.amazonaws.kafka#UnauthorizedException":
1772
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
1754
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
1773
1755
  default:
1774
1756
  const parsedBody = parsedOutput.body;
1775
1757
  (0, smithy_client_1.throwDefaultError)({
@@ -1780,24 +1762,24 @@ const deserializeAws_restJson1ListConfigurationRevisionsCommandError = async (ou
1780
1762
  });
1781
1763
  }
1782
1764
  };
1783
- const deserializeAws_restJson1ListConfigurationsCommand = async (output, context) => {
1765
+ const de_ListConfigurationsCommand = async (output, context) => {
1784
1766
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1785
- return deserializeAws_restJson1ListConfigurationsCommandError(output, context);
1767
+ return de_ListConfigurationsCommandError(output, context);
1786
1768
  }
1787
1769
  const contents = map({
1788
1770
  $metadata: deserializeMetadata(output),
1789
1771
  });
1790
1772
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1791
1773
  if (data.configurations != null) {
1792
- contents.Configurations = deserializeAws_restJson1__listOfConfiguration(data.configurations, context);
1774
+ contents.Configurations = de___listOfConfiguration(data.configurations, context);
1793
1775
  }
1794
1776
  if (data.nextToken != null) {
1795
1777
  contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
1796
1778
  }
1797
1779
  return contents;
1798
1780
  };
1799
- exports.deserializeAws_restJson1ListConfigurationsCommand = deserializeAws_restJson1ListConfigurationsCommand;
1800
- const deserializeAws_restJson1ListConfigurationsCommandError = async (output, context) => {
1781
+ exports.de_ListConfigurationsCommand = de_ListConfigurationsCommand;
1782
+ const de_ListConfigurationsCommandError = async (output, context) => {
1801
1783
  const parsedOutput = {
1802
1784
  ...output,
1803
1785
  body: await parseErrorBody(output.body, context),
@@ -1806,19 +1788,19 @@ const deserializeAws_restJson1ListConfigurationsCommandError = async (output, co
1806
1788
  switch (errorCode) {
1807
1789
  case "BadRequestException":
1808
1790
  case "com.amazonaws.kafka#BadRequestException":
1809
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1791
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1810
1792
  case "ForbiddenException":
1811
1793
  case "com.amazonaws.kafka#ForbiddenException":
1812
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
1794
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1813
1795
  case "InternalServerErrorException":
1814
1796
  case "com.amazonaws.kafka#InternalServerErrorException":
1815
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1797
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1816
1798
  case "ServiceUnavailableException":
1817
1799
  case "com.amazonaws.kafka#ServiceUnavailableException":
1818
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1800
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1819
1801
  case "UnauthorizedException":
1820
1802
  case "com.amazonaws.kafka#UnauthorizedException":
1821
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
1803
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
1822
1804
  default:
1823
1805
  const parsedBody = parsedOutput.body;
1824
1806
  (0, smithy_client_1.throwDefaultError)({
@@ -1829,24 +1811,24 @@ const deserializeAws_restJson1ListConfigurationsCommandError = async (output, co
1829
1811
  });
1830
1812
  }
1831
1813
  };
1832
- const deserializeAws_restJson1ListKafkaVersionsCommand = async (output, context) => {
1814
+ const de_ListKafkaVersionsCommand = async (output, context) => {
1833
1815
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1834
- return deserializeAws_restJson1ListKafkaVersionsCommandError(output, context);
1816
+ return de_ListKafkaVersionsCommandError(output, context);
1835
1817
  }
1836
1818
  const contents = map({
1837
1819
  $metadata: deserializeMetadata(output),
1838
1820
  });
1839
1821
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1840
1822
  if (data.kafkaVersions != null) {
1841
- contents.KafkaVersions = deserializeAws_restJson1__listOfKafkaVersion(data.kafkaVersions, context);
1823
+ contents.KafkaVersions = de___listOfKafkaVersion(data.kafkaVersions, context);
1842
1824
  }
1843
1825
  if (data.nextToken != null) {
1844
1826
  contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
1845
1827
  }
1846
1828
  return contents;
1847
1829
  };
1848
- exports.deserializeAws_restJson1ListKafkaVersionsCommand = deserializeAws_restJson1ListKafkaVersionsCommand;
1849
- const deserializeAws_restJson1ListKafkaVersionsCommandError = async (output, context) => {
1830
+ exports.de_ListKafkaVersionsCommand = de_ListKafkaVersionsCommand;
1831
+ const de_ListKafkaVersionsCommandError = async (output, context) => {
1850
1832
  const parsedOutput = {
1851
1833
  ...output,
1852
1834
  body: await parseErrorBody(output.body, context),
@@ -1855,16 +1837,16 @@ const deserializeAws_restJson1ListKafkaVersionsCommandError = async (output, con
1855
1837
  switch (errorCode) {
1856
1838
  case "BadRequestException":
1857
1839
  case "com.amazonaws.kafka#BadRequestException":
1858
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1840
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1859
1841
  case "ForbiddenException":
1860
1842
  case "com.amazonaws.kafka#ForbiddenException":
1861
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
1843
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1862
1844
  case "InternalServerErrorException":
1863
1845
  case "com.amazonaws.kafka#InternalServerErrorException":
1864
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1846
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1865
1847
  case "UnauthorizedException":
1866
1848
  case "com.amazonaws.kafka#UnauthorizedException":
1867
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
1849
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
1868
1850
  default:
1869
1851
  const parsedBody = parsedOutput.body;
1870
1852
  (0, smithy_client_1.throwDefaultError)({
@@ -1875,9 +1857,9 @@ const deserializeAws_restJson1ListKafkaVersionsCommandError = async (output, con
1875
1857
  });
1876
1858
  }
1877
1859
  };
1878
- const deserializeAws_restJson1ListNodesCommand = async (output, context) => {
1860
+ const de_ListNodesCommand = async (output, context) => {
1879
1861
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1880
- return deserializeAws_restJson1ListNodesCommandError(output, context);
1862
+ return de_ListNodesCommandError(output, context);
1881
1863
  }
1882
1864
  const contents = map({
1883
1865
  $metadata: deserializeMetadata(output),
@@ -1887,12 +1869,12 @@ const deserializeAws_restJson1ListNodesCommand = async (output, context) => {
1887
1869
  contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
1888
1870
  }
1889
1871
  if (data.nodeInfoList != null) {
1890
- contents.NodeInfoList = deserializeAws_restJson1__listOfNodeInfo(data.nodeInfoList, context);
1872
+ contents.NodeInfoList = de___listOfNodeInfo(data.nodeInfoList, context);
1891
1873
  }
1892
1874
  return contents;
1893
1875
  };
1894
- exports.deserializeAws_restJson1ListNodesCommand = deserializeAws_restJson1ListNodesCommand;
1895
- const deserializeAws_restJson1ListNodesCommandError = async (output, context) => {
1876
+ exports.de_ListNodesCommand = de_ListNodesCommand;
1877
+ const de_ListNodesCommandError = async (output, context) => {
1896
1878
  const parsedOutput = {
1897
1879
  ...output,
1898
1880
  body: await parseErrorBody(output.body, context),
@@ -1901,16 +1883,16 @@ const deserializeAws_restJson1ListNodesCommandError = async (output, context) =>
1901
1883
  switch (errorCode) {
1902
1884
  case "BadRequestException":
1903
1885
  case "com.amazonaws.kafka#BadRequestException":
1904
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1886
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1905
1887
  case "ForbiddenException":
1906
1888
  case "com.amazonaws.kafka#ForbiddenException":
1907
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
1889
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1908
1890
  case "InternalServerErrorException":
1909
1891
  case "com.amazonaws.kafka#InternalServerErrorException":
1910
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1892
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1911
1893
  case "NotFoundException":
1912
1894
  case "com.amazonaws.kafka#NotFoundException":
1913
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1895
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1914
1896
  default:
1915
1897
  const parsedBody = parsedOutput.body;
1916
1898
  (0, smithy_client_1.throwDefaultError)({
@@ -1921,9 +1903,9 @@ const deserializeAws_restJson1ListNodesCommandError = async (output, context) =>
1921
1903
  });
1922
1904
  }
1923
1905
  };
1924
- const deserializeAws_restJson1ListScramSecretsCommand = async (output, context) => {
1906
+ const de_ListScramSecretsCommand = async (output, context) => {
1925
1907
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1926
- return deserializeAws_restJson1ListScramSecretsCommandError(output, context);
1908
+ return de_ListScramSecretsCommandError(output, context);
1927
1909
  }
1928
1910
  const contents = map({
1929
1911
  $metadata: deserializeMetadata(output),
@@ -1933,12 +1915,12 @@ const deserializeAws_restJson1ListScramSecretsCommand = async (output, context)
1933
1915
  contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
1934
1916
  }
1935
1917
  if (data.secretArnList != null) {
1936
- contents.SecretArnList = deserializeAws_restJson1__listOf__string(data.secretArnList, context);
1918
+ contents.SecretArnList = de___listOf__string(data.secretArnList, context);
1937
1919
  }
1938
1920
  return contents;
1939
1921
  };
1940
- exports.deserializeAws_restJson1ListScramSecretsCommand = deserializeAws_restJson1ListScramSecretsCommand;
1941
- const deserializeAws_restJson1ListScramSecretsCommandError = async (output, context) => {
1922
+ exports.de_ListScramSecretsCommand = de_ListScramSecretsCommand;
1923
+ const de_ListScramSecretsCommandError = async (output, context) => {
1942
1924
  const parsedOutput = {
1943
1925
  ...output,
1944
1926
  body: await parseErrorBody(output.body, context),
@@ -1947,25 +1929,25 @@ const deserializeAws_restJson1ListScramSecretsCommandError = async (output, cont
1947
1929
  switch (errorCode) {
1948
1930
  case "BadRequestException":
1949
1931
  case "com.amazonaws.kafka#BadRequestException":
1950
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1932
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1951
1933
  case "ForbiddenException":
1952
1934
  case "com.amazonaws.kafka#ForbiddenException":
1953
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
1935
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1954
1936
  case "InternalServerErrorException":
1955
1937
  case "com.amazonaws.kafka#InternalServerErrorException":
1956
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1938
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1957
1939
  case "NotFoundException":
1958
1940
  case "com.amazonaws.kafka#NotFoundException":
1959
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1941
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1960
1942
  case "ServiceUnavailableException":
1961
1943
  case "com.amazonaws.kafka#ServiceUnavailableException":
1962
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1944
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1963
1945
  case "TooManyRequestsException":
1964
1946
  case "com.amazonaws.kafka#TooManyRequestsException":
1965
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
1947
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1966
1948
  case "UnauthorizedException":
1967
1949
  case "com.amazonaws.kafka#UnauthorizedException":
1968
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
1950
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
1969
1951
  default:
1970
1952
  const parsedBody = parsedOutput.body;
1971
1953
  (0, smithy_client_1.throwDefaultError)({
@@ -1976,21 +1958,21 @@ const deserializeAws_restJson1ListScramSecretsCommandError = async (output, cont
1976
1958
  });
1977
1959
  }
1978
1960
  };
1979
- const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
1961
+ const de_ListTagsForResourceCommand = async (output, context) => {
1980
1962
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1981
- return deserializeAws_restJson1ListTagsForResourceCommandError(output, context);
1963
+ return de_ListTagsForResourceCommandError(output, context);
1982
1964
  }
1983
1965
  const contents = map({
1984
1966
  $metadata: deserializeMetadata(output),
1985
1967
  });
1986
1968
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1987
1969
  if (data.tags != null) {
1988
- contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
1970
+ contents.Tags = de___mapOf__string(data.tags, context);
1989
1971
  }
1990
1972
  return contents;
1991
1973
  };
1992
- exports.deserializeAws_restJson1ListTagsForResourceCommand = deserializeAws_restJson1ListTagsForResourceCommand;
1993
- const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, context) => {
1974
+ exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
1975
+ const de_ListTagsForResourceCommandError = async (output, context) => {
1994
1976
  const parsedOutput = {
1995
1977
  ...output,
1996
1978
  body: await parseErrorBody(output.body, context),
@@ -1999,13 +1981,13 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
1999
1981
  switch (errorCode) {
2000
1982
  case "BadRequestException":
2001
1983
  case "com.amazonaws.kafka#BadRequestException":
2002
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1984
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
2003
1985
  case "InternalServerErrorException":
2004
1986
  case "com.amazonaws.kafka#InternalServerErrorException":
2005
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1987
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
2006
1988
  case "NotFoundException":
2007
1989
  case "com.amazonaws.kafka#NotFoundException":
2008
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1990
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
2009
1991
  default:
2010
1992
  const parsedBody = parsedOutput.body;
2011
1993
  (0, smithy_client_1.throwDefaultError)({
@@ -2016,9 +1998,9 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
2016
1998
  });
2017
1999
  }
2018
2000
  };
2019
- const deserializeAws_restJson1RebootBrokerCommand = async (output, context) => {
2001
+ const de_RebootBrokerCommand = async (output, context) => {
2020
2002
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2021
- return deserializeAws_restJson1RebootBrokerCommandError(output, context);
2003
+ return de_RebootBrokerCommandError(output, context);
2022
2004
  }
2023
2005
  const contents = map({
2024
2006
  $metadata: deserializeMetadata(output),
@@ -2032,8 +2014,8 @@ const deserializeAws_restJson1RebootBrokerCommand = async (output, context) => {
2032
2014
  }
2033
2015
  return contents;
2034
2016
  };
2035
- exports.deserializeAws_restJson1RebootBrokerCommand = deserializeAws_restJson1RebootBrokerCommand;
2036
- const deserializeAws_restJson1RebootBrokerCommandError = async (output, context) => {
2017
+ exports.de_RebootBrokerCommand = de_RebootBrokerCommand;
2018
+ const de_RebootBrokerCommandError = async (output, context) => {
2037
2019
  const parsedOutput = {
2038
2020
  ...output,
2039
2021
  body: await parseErrorBody(output.body, context),
@@ -2042,25 +2024,25 @@ const deserializeAws_restJson1RebootBrokerCommandError = async (output, context)
2042
2024
  switch (errorCode) {
2043
2025
  case "BadRequestException":
2044
2026
  case "com.amazonaws.kafka#BadRequestException":
2045
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
2027
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
2046
2028
  case "ForbiddenException":
2047
2029
  case "com.amazonaws.kafka#ForbiddenException":
2048
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
2030
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
2049
2031
  case "InternalServerErrorException":
2050
2032
  case "com.amazonaws.kafka#InternalServerErrorException":
2051
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
2033
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
2052
2034
  case "NotFoundException":
2053
2035
  case "com.amazonaws.kafka#NotFoundException":
2054
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
2036
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
2055
2037
  case "ServiceUnavailableException":
2056
2038
  case "com.amazonaws.kafka#ServiceUnavailableException":
2057
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
2039
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
2058
2040
  case "TooManyRequestsException":
2059
2041
  case "com.amazonaws.kafka#TooManyRequestsException":
2060
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
2042
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
2061
2043
  case "UnauthorizedException":
2062
2044
  case "com.amazonaws.kafka#UnauthorizedException":
2063
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
2045
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
2064
2046
  default:
2065
2047
  const parsedBody = parsedOutput.body;
2066
2048
  (0, smithy_client_1.throwDefaultError)({
@@ -2071,9 +2053,9 @@ const deserializeAws_restJson1RebootBrokerCommandError = async (output, context)
2071
2053
  });
2072
2054
  }
2073
2055
  };
2074
- const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
2056
+ const de_TagResourceCommand = async (output, context) => {
2075
2057
  if (output.statusCode !== 204 && output.statusCode >= 300) {
2076
- return deserializeAws_restJson1TagResourceCommandError(output, context);
2058
+ return de_TagResourceCommandError(output, context);
2077
2059
  }
2078
2060
  const contents = map({
2079
2061
  $metadata: deserializeMetadata(output),
@@ -2081,8 +2063,8 @@ const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
2081
2063
  await collectBody(output.body, context);
2082
2064
  return contents;
2083
2065
  };
2084
- exports.deserializeAws_restJson1TagResourceCommand = deserializeAws_restJson1TagResourceCommand;
2085
- const deserializeAws_restJson1TagResourceCommandError = async (output, context) => {
2066
+ exports.de_TagResourceCommand = de_TagResourceCommand;
2067
+ const de_TagResourceCommandError = async (output, context) => {
2086
2068
  const parsedOutput = {
2087
2069
  ...output,
2088
2070
  body: await parseErrorBody(output.body, context),
@@ -2091,13 +2073,13 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
2091
2073
  switch (errorCode) {
2092
2074
  case "BadRequestException":
2093
2075
  case "com.amazonaws.kafka#BadRequestException":
2094
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
2076
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
2095
2077
  case "InternalServerErrorException":
2096
2078
  case "com.amazonaws.kafka#InternalServerErrorException":
2097
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
2079
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
2098
2080
  case "NotFoundException":
2099
2081
  case "com.amazonaws.kafka#NotFoundException":
2100
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
2082
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
2101
2083
  default:
2102
2084
  const parsedBody = parsedOutput.body;
2103
2085
  (0, smithy_client_1.throwDefaultError)({
@@ -2108,9 +2090,9 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
2108
2090
  });
2109
2091
  }
2110
2092
  };
2111
- const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
2093
+ const de_UntagResourceCommand = async (output, context) => {
2112
2094
  if (output.statusCode !== 204 && output.statusCode >= 300) {
2113
- return deserializeAws_restJson1UntagResourceCommandError(output, context);
2095
+ return de_UntagResourceCommandError(output, context);
2114
2096
  }
2115
2097
  const contents = map({
2116
2098
  $metadata: deserializeMetadata(output),
@@ -2118,8 +2100,8 @@ const deserializeAws_restJson1UntagResourceCommand = async (output, context) =>
2118
2100
  await collectBody(output.body, context);
2119
2101
  return contents;
2120
2102
  };
2121
- exports.deserializeAws_restJson1UntagResourceCommand = deserializeAws_restJson1UntagResourceCommand;
2122
- const deserializeAws_restJson1UntagResourceCommandError = async (output, context) => {
2103
+ exports.de_UntagResourceCommand = de_UntagResourceCommand;
2104
+ const de_UntagResourceCommandError = async (output, context) => {
2123
2105
  const parsedOutput = {
2124
2106
  ...output,
2125
2107
  body: await parseErrorBody(output.body, context),
@@ -2128,13 +2110,13 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
2128
2110
  switch (errorCode) {
2129
2111
  case "BadRequestException":
2130
2112
  case "com.amazonaws.kafka#BadRequestException":
2131
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
2113
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
2132
2114
  case "InternalServerErrorException":
2133
2115
  case "com.amazonaws.kafka#InternalServerErrorException":
2134
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
2116
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
2135
2117
  case "NotFoundException":
2136
2118
  case "com.amazonaws.kafka#NotFoundException":
2137
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
2119
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
2138
2120
  default:
2139
2121
  const parsedBody = parsedOutput.body;
2140
2122
  (0, smithy_client_1.throwDefaultError)({
@@ -2145,9 +2127,9 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
2145
2127
  });
2146
2128
  }
2147
2129
  };
2148
- const deserializeAws_restJson1UpdateBrokerCountCommand = async (output, context) => {
2130
+ const de_UpdateBrokerCountCommand = async (output, context) => {
2149
2131
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2150
- return deserializeAws_restJson1UpdateBrokerCountCommandError(output, context);
2132
+ return de_UpdateBrokerCountCommandError(output, context);
2151
2133
  }
2152
2134
  const contents = map({
2153
2135
  $metadata: deserializeMetadata(output),
@@ -2161,8 +2143,8 @@ const deserializeAws_restJson1UpdateBrokerCountCommand = async (output, context)
2161
2143
  }
2162
2144
  return contents;
2163
2145
  };
2164
- exports.deserializeAws_restJson1UpdateBrokerCountCommand = deserializeAws_restJson1UpdateBrokerCountCommand;
2165
- const deserializeAws_restJson1UpdateBrokerCountCommandError = async (output, context) => {
2146
+ exports.de_UpdateBrokerCountCommand = de_UpdateBrokerCountCommand;
2147
+ const de_UpdateBrokerCountCommandError = async (output, context) => {
2166
2148
  const parsedOutput = {
2167
2149
  ...output,
2168
2150
  body: await parseErrorBody(output.body, context),
@@ -2171,19 +2153,19 @@ const deserializeAws_restJson1UpdateBrokerCountCommandError = async (output, con
2171
2153
  switch (errorCode) {
2172
2154
  case "BadRequestException":
2173
2155
  case "com.amazonaws.kafka#BadRequestException":
2174
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
2156
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
2175
2157
  case "ForbiddenException":
2176
2158
  case "com.amazonaws.kafka#ForbiddenException":
2177
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
2159
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
2178
2160
  case "InternalServerErrorException":
2179
2161
  case "com.amazonaws.kafka#InternalServerErrorException":
2180
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
2162
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
2181
2163
  case "ServiceUnavailableException":
2182
2164
  case "com.amazonaws.kafka#ServiceUnavailableException":
2183
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
2165
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
2184
2166
  case "UnauthorizedException":
2185
2167
  case "com.amazonaws.kafka#UnauthorizedException":
2186
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
2168
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
2187
2169
  default:
2188
2170
  const parsedBody = parsedOutput.body;
2189
2171
  (0, smithy_client_1.throwDefaultError)({
@@ -2194,9 +2176,9 @@ const deserializeAws_restJson1UpdateBrokerCountCommandError = async (output, con
2194
2176
  });
2195
2177
  }
2196
2178
  };
2197
- const deserializeAws_restJson1UpdateBrokerStorageCommand = async (output, context) => {
2179
+ const de_UpdateBrokerStorageCommand = async (output, context) => {
2198
2180
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2199
- return deserializeAws_restJson1UpdateBrokerStorageCommandError(output, context);
2181
+ return de_UpdateBrokerStorageCommandError(output, context);
2200
2182
  }
2201
2183
  const contents = map({
2202
2184
  $metadata: deserializeMetadata(output),
@@ -2210,8 +2192,8 @@ const deserializeAws_restJson1UpdateBrokerStorageCommand = async (output, contex
2210
2192
  }
2211
2193
  return contents;
2212
2194
  };
2213
- exports.deserializeAws_restJson1UpdateBrokerStorageCommand = deserializeAws_restJson1UpdateBrokerStorageCommand;
2214
- const deserializeAws_restJson1UpdateBrokerStorageCommandError = async (output, context) => {
2195
+ exports.de_UpdateBrokerStorageCommand = de_UpdateBrokerStorageCommand;
2196
+ const de_UpdateBrokerStorageCommandError = async (output, context) => {
2215
2197
  const parsedOutput = {
2216
2198
  ...output,
2217
2199
  body: await parseErrorBody(output.body, context),
@@ -2220,19 +2202,19 @@ const deserializeAws_restJson1UpdateBrokerStorageCommandError = async (output, c
2220
2202
  switch (errorCode) {
2221
2203
  case "BadRequestException":
2222
2204
  case "com.amazonaws.kafka#BadRequestException":
2223
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
2205
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
2224
2206
  case "ForbiddenException":
2225
2207
  case "com.amazonaws.kafka#ForbiddenException":
2226
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
2208
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
2227
2209
  case "InternalServerErrorException":
2228
2210
  case "com.amazonaws.kafka#InternalServerErrorException":
2229
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
2211
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
2230
2212
  case "ServiceUnavailableException":
2231
2213
  case "com.amazonaws.kafka#ServiceUnavailableException":
2232
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
2214
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
2233
2215
  case "UnauthorizedException":
2234
2216
  case "com.amazonaws.kafka#UnauthorizedException":
2235
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
2217
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
2236
2218
  default:
2237
2219
  const parsedBody = parsedOutput.body;
2238
2220
  (0, smithy_client_1.throwDefaultError)({
@@ -2243,9 +2225,9 @@ const deserializeAws_restJson1UpdateBrokerStorageCommandError = async (output, c
2243
2225
  });
2244
2226
  }
2245
2227
  };
2246
- const deserializeAws_restJson1UpdateBrokerTypeCommand = async (output, context) => {
2228
+ const de_UpdateBrokerTypeCommand = async (output, context) => {
2247
2229
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2248
- return deserializeAws_restJson1UpdateBrokerTypeCommandError(output, context);
2230
+ return de_UpdateBrokerTypeCommandError(output, context);
2249
2231
  }
2250
2232
  const contents = map({
2251
2233
  $metadata: deserializeMetadata(output),
@@ -2259,8 +2241,8 @@ const deserializeAws_restJson1UpdateBrokerTypeCommand = async (output, context)
2259
2241
  }
2260
2242
  return contents;
2261
2243
  };
2262
- exports.deserializeAws_restJson1UpdateBrokerTypeCommand = deserializeAws_restJson1UpdateBrokerTypeCommand;
2263
- const deserializeAws_restJson1UpdateBrokerTypeCommandError = async (output, context) => {
2244
+ exports.de_UpdateBrokerTypeCommand = de_UpdateBrokerTypeCommand;
2245
+ const de_UpdateBrokerTypeCommandError = async (output, context) => {
2264
2246
  const parsedOutput = {
2265
2247
  ...output,
2266
2248
  body: await parseErrorBody(output.body, context),
@@ -2269,25 +2251,25 @@ const deserializeAws_restJson1UpdateBrokerTypeCommandError = async (output, cont
2269
2251
  switch (errorCode) {
2270
2252
  case "BadRequestException":
2271
2253
  case "com.amazonaws.kafka#BadRequestException":
2272
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
2254
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
2273
2255
  case "ForbiddenException":
2274
2256
  case "com.amazonaws.kafka#ForbiddenException":
2275
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
2257
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
2276
2258
  case "InternalServerErrorException":
2277
2259
  case "com.amazonaws.kafka#InternalServerErrorException":
2278
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
2260
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
2279
2261
  case "NotFoundException":
2280
2262
  case "com.amazonaws.kafka#NotFoundException":
2281
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
2263
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
2282
2264
  case "ServiceUnavailableException":
2283
2265
  case "com.amazonaws.kafka#ServiceUnavailableException":
2284
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
2266
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
2285
2267
  case "TooManyRequestsException":
2286
2268
  case "com.amazonaws.kafka#TooManyRequestsException":
2287
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
2269
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
2288
2270
  case "UnauthorizedException":
2289
2271
  case "com.amazonaws.kafka#UnauthorizedException":
2290
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
2272
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
2291
2273
  default:
2292
2274
  const parsedBody = parsedOutput.body;
2293
2275
  (0, smithy_client_1.throwDefaultError)({
@@ -2298,9 +2280,9 @@ const deserializeAws_restJson1UpdateBrokerTypeCommandError = async (output, cont
2298
2280
  });
2299
2281
  }
2300
2282
  };
2301
- const deserializeAws_restJson1UpdateClusterConfigurationCommand = async (output, context) => {
2283
+ const de_UpdateClusterConfigurationCommand = async (output, context) => {
2302
2284
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2303
- return deserializeAws_restJson1UpdateClusterConfigurationCommandError(output, context);
2285
+ return de_UpdateClusterConfigurationCommandError(output, context);
2304
2286
  }
2305
2287
  const contents = map({
2306
2288
  $metadata: deserializeMetadata(output),
@@ -2314,8 +2296,8 @@ const deserializeAws_restJson1UpdateClusterConfigurationCommand = async (output,
2314
2296
  }
2315
2297
  return contents;
2316
2298
  };
2317
- exports.deserializeAws_restJson1UpdateClusterConfigurationCommand = deserializeAws_restJson1UpdateClusterConfigurationCommand;
2318
- const deserializeAws_restJson1UpdateClusterConfigurationCommandError = async (output, context) => {
2299
+ exports.de_UpdateClusterConfigurationCommand = de_UpdateClusterConfigurationCommand;
2300
+ const de_UpdateClusterConfigurationCommandError = async (output, context) => {
2319
2301
  const parsedOutput = {
2320
2302
  ...output,
2321
2303
  body: await parseErrorBody(output.body, context),
@@ -2324,22 +2306,22 @@ const deserializeAws_restJson1UpdateClusterConfigurationCommandError = async (ou
2324
2306
  switch (errorCode) {
2325
2307
  case "BadRequestException":
2326
2308
  case "com.amazonaws.kafka#BadRequestException":
2327
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
2309
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
2328
2310
  case "ForbiddenException":
2329
2311
  case "com.amazonaws.kafka#ForbiddenException":
2330
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
2312
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
2331
2313
  case "InternalServerErrorException":
2332
2314
  case "com.amazonaws.kafka#InternalServerErrorException":
2333
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
2315
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
2334
2316
  case "NotFoundException":
2335
2317
  case "com.amazonaws.kafka#NotFoundException":
2336
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
2318
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
2337
2319
  case "ServiceUnavailableException":
2338
2320
  case "com.amazonaws.kafka#ServiceUnavailableException":
2339
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
2321
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
2340
2322
  case "UnauthorizedException":
2341
2323
  case "com.amazonaws.kafka#UnauthorizedException":
2342
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
2324
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
2343
2325
  default:
2344
2326
  const parsedBody = parsedOutput.body;
2345
2327
  (0, smithy_client_1.throwDefaultError)({
@@ -2350,9 +2332,9 @@ const deserializeAws_restJson1UpdateClusterConfigurationCommandError = async (ou
2350
2332
  });
2351
2333
  }
2352
2334
  };
2353
- const deserializeAws_restJson1UpdateClusterKafkaVersionCommand = async (output, context) => {
2335
+ const de_UpdateClusterKafkaVersionCommand = async (output, context) => {
2354
2336
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2355
- return deserializeAws_restJson1UpdateClusterKafkaVersionCommandError(output, context);
2337
+ return de_UpdateClusterKafkaVersionCommandError(output, context);
2356
2338
  }
2357
2339
  const contents = map({
2358
2340
  $metadata: deserializeMetadata(output),
@@ -2366,8 +2348,8 @@ const deserializeAws_restJson1UpdateClusterKafkaVersionCommand = async (output,
2366
2348
  }
2367
2349
  return contents;
2368
2350
  };
2369
- exports.deserializeAws_restJson1UpdateClusterKafkaVersionCommand = deserializeAws_restJson1UpdateClusterKafkaVersionCommand;
2370
- const deserializeAws_restJson1UpdateClusterKafkaVersionCommandError = async (output, context) => {
2351
+ exports.de_UpdateClusterKafkaVersionCommand = de_UpdateClusterKafkaVersionCommand;
2352
+ const de_UpdateClusterKafkaVersionCommandError = async (output, context) => {
2371
2353
  const parsedOutput = {
2372
2354
  ...output,
2373
2355
  body: await parseErrorBody(output.body, context),
@@ -2376,25 +2358,25 @@ const deserializeAws_restJson1UpdateClusterKafkaVersionCommandError = async (out
2376
2358
  switch (errorCode) {
2377
2359
  case "BadRequestException":
2378
2360
  case "com.amazonaws.kafka#BadRequestException":
2379
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
2361
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
2380
2362
  case "ForbiddenException":
2381
2363
  case "com.amazonaws.kafka#ForbiddenException":
2382
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
2364
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
2383
2365
  case "InternalServerErrorException":
2384
2366
  case "com.amazonaws.kafka#InternalServerErrorException":
2385
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
2367
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
2386
2368
  case "NotFoundException":
2387
2369
  case "com.amazonaws.kafka#NotFoundException":
2388
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
2370
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
2389
2371
  case "ServiceUnavailableException":
2390
2372
  case "com.amazonaws.kafka#ServiceUnavailableException":
2391
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
2373
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
2392
2374
  case "TooManyRequestsException":
2393
2375
  case "com.amazonaws.kafka#TooManyRequestsException":
2394
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
2376
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
2395
2377
  case "UnauthorizedException":
2396
2378
  case "com.amazonaws.kafka#UnauthorizedException":
2397
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
2379
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
2398
2380
  default:
2399
2381
  const parsedBody = parsedOutput.body;
2400
2382
  (0, smithy_client_1.throwDefaultError)({
@@ -2405,9 +2387,9 @@ const deserializeAws_restJson1UpdateClusterKafkaVersionCommandError = async (out
2405
2387
  });
2406
2388
  }
2407
2389
  };
2408
- const deserializeAws_restJson1UpdateConfigurationCommand = async (output, context) => {
2390
+ const de_UpdateConfigurationCommand = async (output, context) => {
2409
2391
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2410
- return deserializeAws_restJson1UpdateConfigurationCommandError(output, context);
2392
+ return de_UpdateConfigurationCommandError(output, context);
2411
2393
  }
2412
2394
  const contents = map({
2413
2395
  $metadata: deserializeMetadata(output),
@@ -2417,12 +2399,12 @@ const deserializeAws_restJson1UpdateConfigurationCommand = async (output, contex
2417
2399
  contents.Arn = (0, smithy_client_1.expectString)(data.arn);
2418
2400
  }
2419
2401
  if (data.latestRevision != null) {
2420
- contents.LatestRevision = deserializeAws_restJson1ConfigurationRevision(data.latestRevision, context);
2402
+ contents.LatestRevision = de_ConfigurationRevision(data.latestRevision, context);
2421
2403
  }
2422
2404
  return contents;
2423
2405
  };
2424
- exports.deserializeAws_restJson1UpdateConfigurationCommand = deserializeAws_restJson1UpdateConfigurationCommand;
2425
- const deserializeAws_restJson1UpdateConfigurationCommandError = async (output, context) => {
2406
+ exports.de_UpdateConfigurationCommand = de_UpdateConfigurationCommand;
2407
+ const de_UpdateConfigurationCommandError = async (output, context) => {
2426
2408
  const parsedOutput = {
2427
2409
  ...output,
2428
2410
  body: await parseErrorBody(output.body, context),
@@ -2431,22 +2413,22 @@ const deserializeAws_restJson1UpdateConfigurationCommandError = async (output, c
2431
2413
  switch (errorCode) {
2432
2414
  case "BadRequestException":
2433
2415
  case "com.amazonaws.kafka#BadRequestException":
2434
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
2416
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
2435
2417
  case "ForbiddenException":
2436
2418
  case "com.amazonaws.kafka#ForbiddenException":
2437
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
2419
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
2438
2420
  case "InternalServerErrorException":
2439
2421
  case "com.amazonaws.kafka#InternalServerErrorException":
2440
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
2422
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
2441
2423
  case "NotFoundException":
2442
2424
  case "com.amazonaws.kafka#NotFoundException":
2443
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
2425
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
2444
2426
  case "ServiceUnavailableException":
2445
2427
  case "com.amazonaws.kafka#ServiceUnavailableException":
2446
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
2428
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
2447
2429
  case "UnauthorizedException":
2448
2430
  case "com.amazonaws.kafka#UnauthorizedException":
2449
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
2431
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
2450
2432
  default:
2451
2433
  const parsedBody = parsedOutput.body;
2452
2434
  (0, smithy_client_1.throwDefaultError)({
@@ -2457,9 +2439,9 @@ const deserializeAws_restJson1UpdateConfigurationCommandError = async (output, c
2457
2439
  });
2458
2440
  }
2459
2441
  };
2460
- const deserializeAws_restJson1UpdateConnectivityCommand = async (output, context) => {
2442
+ const de_UpdateConnectivityCommand = async (output, context) => {
2461
2443
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2462
- return deserializeAws_restJson1UpdateConnectivityCommandError(output, context);
2444
+ return de_UpdateConnectivityCommandError(output, context);
2463
2445
  }
2464
2446
  const contents = map({
2465
2447
  $metadata: deserializeMetadata(output),
@@ -2473,8 +2455,8 @@ const deserializeAws_restJson1UpdateConnectivityCommand = async (output, context
2473
2455
  }
2474
2456
  return contents;
2475
2457
  };
2476
- exports.deserializeAws_restJson1UpdateConnectivityCommand = deserializeAws_restJson1UpdateConnectivityCommand;
2477
- const deserializeAws_restJson1UpdateConnectivityCommandError = async (output, context) => {
2458
+ exports.de_UpdateConnectivityCommand = de_UpdateConnectivityCommand;
2459
+ const de_UpdateConnectivityCommandError = async (output, context) => {
2478
2460
  const parsedOutput = {
2479
2461
  ...output,
2480
2462
  body: await parseErrorBody(output.body, context),
@@ -2483,22 +2465,22 @@ const deserializeAws_restJson1UpdateConnectivityCommandError = async (output, co
2483
2465
  switch (errorCode) {
2484
2466
  case "BadRequestException":
2485
2467
  case "com.amazonaws.kafka#BadRequestException":
2486
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
2468
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
2487
2469
  case "ForbiddenException":
2488
2470
  case "com.amazonaws.kafka#ForbiddenException":
2489
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
2471
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
2490
2472
  case "InternalServerErrorException":
2491
2473
  case "com.amazonaws.kafka#InternalServerErrorException":
2492
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
2474
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
2493
2475
  case "NotFoundException":
2494
2476
  case "com.amazonaws.kafka#NotFoundException":
2495
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
2477
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
2496
2478
  case "ServiceUnavailableException":
2497
2479
  case "com.amazonaws.kafka#ServiceUnavailableException":
2498
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
2480
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
2499
2481
  case "UnauthorizedException":
2500
2482
  case "com.amazonaws.kafka#UnauthorizedException":
2501
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
2483
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
2502
2484
  default:
2503
2485
  const parsedBody = parsedOutput.body;
2504
2486
  (0, smithy_client_1.throwDefaultError)({
@@ -2509,9 +2491,9 @@ const deserializeAws_restJson1UpdateConnectivityCommandError = async (output, co
2509
2491
  });
2510
2492
  }
2511
2493
  };
2512
- const deserializeAws_restJson1UpdateMonitoringCommand = async (output, context) => {
2494
+ const de_UpdateMonitoringCommand = async (output, context) => {
2513
2495
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2514
- return deserializeAws_restJson1UpdateMonitoringCommandError(output, context);
2496
+ return de_UpdateMonitoringCommandError(output, context);
2515
2497
  }
2516
2498
  const contents = map({
2517
2499
  $metadata: deserializeMetadata(output),
@@ -2525,8 +2507,8 @@ const deserializeAws_restJson1UpdateMonitoringCommand = async (output, context)
2525
2507
  }
2526
2508
  return contents;
2527
2509
  };
2528
- exports.deserializeAws_restJson1UpdateMonitoringCommand = deserializeAws_restJson1UpdateMonitoringCommand;
2529
- const deserializeAws_restJson1UpdateMonitoringCommandError = async (output, context) => {
2510
+ exports.de_UpdateMonitoringCommand = de_UpdateMonitoringCommand;
2511
+ const de_UpdateMonitoringCommandError = async (output, context) => {
2530
2512
  const parsedOutput = {
2531
2513
  ...output,
2532
2514
  body: await parseErrorBody(output.body, context),
@@ -2535,19 +2517,19 @@ const deserializeAws_restJson1UpdateMonitoringCommandError = async (output, cont
2535
2517
  switch (errorCode) {
2536
2518
  case "BadRequestException":
2537
2519
  case "com.amazonaws.kafka#BadRequestException":
2538
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
2520
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
2539
2521
  case "ForbiddenException":
2540
2522
  case "com.amazonaws.kafka#ForbiddenException":
2541
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
2523
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
2542
2524
  case "InternalServerErrorException":
2543
2525
  case "com.amazonaws.kafka#InternalServerErrorException":
2544
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
2526
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
2545
2527
  case "ServiceUnavailableException":
2546
2528
  case "com.amazonaws.kafka#ServiceUnavailableException":
2547
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
2529
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
2548
2530
  case "UnauthorizedException":
2549
2531
  case "com.amazonaws.kafka#UnauthorizedException":
2550
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
2532
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
2551
2533
  default:
2552
2534
  const parsedBody = parsedOutput.body;
2553
2535
  (0, smithy_client_1.throwDefaultError)({
@@ -2558,9 +2540,9 @@ const deserializeAws_restJson1UpdateMonitoringCommandError = async (output, cont
2558
2540
  });
2559
2541
  }
2560
2542
  };
2561
- const deserializeAws_restJson1UpdateSecurityCommand = async (output, context) => {
2543
+ const de_UpdateSecurityCommand = async (output, context) => {
2562
2544
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2563
- return deserializeAws_restJson1UpdateSecurityCommandError(output, context);
2545
+ return de_UpdateSecurityCommandError(output, context);
2564
2546
  }
2565
2547
  const contents = map({
2566
2548
  $metadata: deserializeMetadata(output),
@@ -2574,8 +2556,8 @@ const deserializeAws_restJson1UpdateSecurityCommand = async (output, context) =>
2574
2556
  }
2575
2557
  return contents;
2576
2558
  };
2577
- exports.deserializeAws_restJson1UpdateSecurityCommand = deserializeAws_restJson1UpdateSecurityCommand;
2578
- const deserializeAws_restJson1UpdateSecurityCommandError = async (output, context) => {
2559
+ exports.de_UpdateSecurityCommand = de_UpdateSecurityCommand;
2560
+ const de_UpdateSecurityCommandError = async (output, context) => {
2579
2561
  const parsedOutput = {
2580
2562
  ...output,
2581
2563
  body: await parseErrorBody(output.body, context),
@@ -2584,25 +2566,25 @@ const deserializeAws_restJson1UpdateSecurityCommandError = async (output, contex
2584
2566
  switch (errorCode) {
2585
2567
  case "BadRequestException":
2586
2568
  case "com.amazonaws.kafka#BadRequestException":
2587
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
2569
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
2588
2570
  case "ForbiddenException":
2589
2571
  case "com.amazonaws.kafka#ForbiddenException":
2590
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
2572
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
2591
2573
  case "InternalServerErrorException":
2592
2574
  case "com.amazonaws.kafka#InternalServerErrorException":
2593
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
2575
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
2594
2576
  case "NotFoundException":
2595
2577
  case "com.amazonaws.kafka#NotFoundException":
2596
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
2578
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
2597
2579
  case "ServiceUnavailableException":
2598
2580
  case "com.amazonaws.kafka#ServiceUnavailableException":
2599
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
2581
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
2600
2582
  case "TooManyRequestsException":
2601
2583
  case "com.amazonaws.kafka#TooManyRequestsException":
2602
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
2584
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
2603
2585
  case "UnauthorizedException":
2604
2586
  case "com.amazonaws.kafka#UnauthorizedException":
2605
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
2587
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
2606
2588
  default:
2607
2589
  const parsedBody = parsedOutput.body;
2608
2590
  (0, smithy_client_1.throwDefaultError)({
@@ -2613,9 +2595,9 @@ const deserializeAws_restJson1UpdateSecurityCommandError = async (output, contex
2613
2595
  });
2614
2596
  }
2615
2597
  };
2616
- const deserializeAws_restJson1UpdateStorageCommand = async (output, context) => {
2598
+ const de_UpdateStorageCommand = async (output, context) => {
2617
2599
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2618
- return deserializeAws_restJson1UpdateStorageCommandError(output, context);
2600
+ return de_UpdateStorageCommandError(output, context);
2619
2601
  }
2620
2602
  const contents = map({
2621
2603
  $metadata: deserializeMetadata(output),
@@ -2629,8 +2611,8 @@ const deserializeAws_restJson1UpdateStorageCommand = async (output, context) =>
2629
2611
  }
2630
2612
  return contents;
2631
2613
  };
2632
- exports.deserializeAws_restJson1UpdateStorageCommand = deserializeAws_restJson1UpdateStorageCommand;
2633
- const deserializeAws_restJson1UpdateStorageCommandError = async (output, context) => {
2614
+ exports.de_UpdateStorageCommand = de_UpdateStorageCommand;
2615
+ const de_UpdateStorageCommandError = async (output, context) => {
2634
2616
  const parsedOutput = {
2635
2617
  ...output,
2636
2618
  body: await parseErrorBody(output.body, context),
@@ -2639,25 +2621,25 @@ const deserializeAws_restJson1UpdateStorageCommandError = async (output, context
2639
2621
  switch (errorCode) {
2640
2622
  case "BadRequestException":
2641
2623
  case "com.amazonaws.kafka#BadRequestException":
2642
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
2624
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
2643
2625
  case "ForbiddenException":
2644
2626
  case "com.amazonaws.kafka#ForbiddenException":
2645
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
2627
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
2646
2628
  case "InternalServerErrorException":
2647
2629
  case "com.amazonaws.kafka#InternalServerErrorException":
2648
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
2630
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
2649
2631
  case "NotFoundException":
2650
2632
  case "com.amazonaws.kafka#NotFoundException":
2651
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
2633
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
2652
2634
  case "ServiceUnavailableException":
2653
2635
  case "com.amazonaws.kafka#ServiceUnavailableException":
2654
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
2636
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
2655
2637
  case "TooManyRequestsException":
2656
2638
  case "com.amazonaws.kafka#TooManyRequestsException":
2657
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
2639
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
2658
2640
  case "UnauthorizedException":
2659
2641
  case "com.amazonaws.kafka#UnauthorizedException":
2660
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
2642
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
2661
2643
  default:
2662
2644
  const parsedBody = parsedOutput.body;
2663
2645
  (0, smithy_client_1.throwDefaultError)({
@@ -2669,7 +2651,7 @@ const deserializeAws_restJson1UpdateStorageCommandError = async (output, context
2669
2651
  }
2670
2652
  };
2671
2653
  const map = smithy_client_1.map;
2672
- const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput, context) => {
2654
+ const de_BadRequestExceptionRes = async (parsedOutput, context) => {
2673
2655
  const contents = map({});
2674
2656
  const data = parsedOutput.body;
2675
2657
  if (data.invalidParameter != null) {
@@ -2684,7 +2666,7 @@ const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput,
2684
2666
  });
2685
2667
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2686
2668
  };
2687
- const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
2669
+ const de_ConflictExceptionRes = async (parsedOutput, context) => {
2688
2670
  const contents = map({});
2689
2671
  const data = parsedOutput.body;
2690
2672
  if (data.invalidParameter != null) {
@@ -2699,7 +2681,7 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
2699
2681
  });
2700
2682
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2701
2683
  };
2702
- const deserializeAws_restJson1ForbiddenExceptionResponse = async (parsedOutput, context) => {
2684
+ const de_ForbiddenExceptionRes = async (parsedOutput, context) => {
2703
2685
  const contents = map({});
2704
2686
  const data = parsedOutput.body;
2705
2687
  if (data.invalidParameter != null) {
@@ -2714,7 +2696,7 @@ const deserializeAws_restJson1ForbiddenExceptionResponse = async (parsedOutput,
2714
2696
  });
2715
2697
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2716
2698
  };
2717
- const deserializeAws_restJson1InternalServerErrorExceptionResponse = async (parsedOutput, context) => {
2699
+ const de_InternalServerErrorExceptionRes = async (parsedOutput, context) => {
2718
2700
  const contents = map({});
2719
2701
  const data = parsedOutput.body;
2720
2702
  if (data.invalidParameter != null) {
@@ -2729,7 +2711,7 @@ const deserializeAws_restJson1InternalServerErrorExceptionResponse = async (pars
2729
2711
  });
2730
2712
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2731
2713
  };
2732
- const deserializeAws_restJson1NotFoundExceptionResponse = async (parsedOutput, context) => {
2714
+ const de_NotFoundExceptionRes = async (parsedOutput, context) => {
2733
2715
  const contents = map({});
2734
2716
  const data = parsedOutput.body;
2735
2717
  if (data.invalidParameter != null) {
@@ -2744,7 +2726,7 @@ const deserializeAws_restJson1NotFoundExceptionResponse = async (parsedOutput, c
2744
2726
  });
2745
2727
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2746
2728
  };
2747
- const deserializeAws_restJson1ServiceUnavailableExceptionResponse = async (parsedOutput, context) => {
2729
+ const de_ServiceUnavailableExceptionRes = async (parsedOutput, context) => {
2748
2730
  const contents = map({});
2749
2731
  const data = parsedOutput.body;
2750
2732
  if (data.invalidParameter != null) {
@@ -2759,7 +2741,7 @@ const deserializeAws_restJson1ServiceUnavailableExceptionResponse = async (parse
2759
2741
  });
2760
2742
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2761
2743
  };
2762
- const deserializeAws_restJson1TooManyRequestsExceptionResponse = async (parsedOutput, context) => {
2744
+ const de_TooManyRequestsExceptionRes = async (parsedOutput, context) => {
2763
2745
  const contents = map({});
2764
2746
  const data = parsedOutput.body;
2765
2747
  if (data.invalidParameter != null) {
@@ -2774,7 +2756,7 @@ const deserializeAws_restJson1TooManyRequestsExceptionResponse = async (parsedOu
2774
2756
  });
2775
2757
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2776
2758
  };
2777
- const deserializeAws_restJson1UnauthorizedExceptionResponse = async (parsedOutput, context) => {
2759
+ const de_UnauthorizedExceptionRes = async (parsedOutput, context) => {
2778
2760
  const contents = map({});
2779
2761
  const data = parsedOutput.body;
2780
2762
  if (data.invalidParameter != null) {
@@ -2789,28 +2771,28 @@ const deserializeAws_restJson1UnauthorizedExceptionResponse = async (parsedOutpu
2789
2771
  });
2790
2772
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2791
2773
  };
2792
- const serializeAws_restJson1__listOf__string = (input, context) => {
2774
+ const se___listOf__string = (input, context) => {
2793
2775
  return input
2794
2776
  .filter((e) => e != null)
2795
2777
  .map((entry) => {
2796
2778
  return entry;
2797
2779
  });
2798
2780
  };
2799
- const serializeAws_restJson1__listOfBrokerEBSVolumeInfo = (input, context) => {
2781
+ const se___listOfBrokerEBSVolumeInfo = (input, context) => {
2800
2782
  return input
2801
2783
  .filter((e) => e != null)
2802
2784
  .map((entry) => {
2803
- return serializeAws_restJson1BrokerEBSVolumeInfo(entry, context);
2785
+ return se_BrokerEBSVolumeInfo(entry, context);
2804
2786
  });
2805
2787
  };
2806
- const serializeAws_restJson1__listOfVpcConfig = (input, context) => {
2788
+ const se___listOfVpcConfig = (input, context) => {
2807
2789
  return input
2808
2790
  .filter((e) => e != null)
2809
2791
  .map((entry) => {
2810
- return serializeAws_restJson1VpcConfig(entry, context);
2792
+ return se_VpcConfig(entry, context);
2811
2793
  });
2812
2794
  };
2813
- const serializeAws_restJson1__mapOf__string = (input, context) => {
2795
+ const se___mapOf__string = (input, context) => {
2814
2796
  return Object.entries(input).reduce((acc, [key, value]) => {
2815
2797
  if (value === null) {
2816
2798
  return acc;
@@ -2819,238 +2801,212 @@ const serializeAws_restJson1__mapOf__string = (input, context) => {
2819
2801
  return acc;
2820
2802
  }, {});
2821
2803
  };
2822
- const serializeAws_restJson1BrokerEBSVolumeInfo = (input, context) => {
2804
+ const se_BrokerEBSVolumeInfo = (input, context) => {
2823
2805
  return {
2824
2806
  ...(input.KafkaBrokerNodeId != null && { kafkaBrokerNodeId: input.KafkaBrokerNodeId }),
2825
2807
  ...(input.ProvisionedThroughput != null && {
2826
- provisionedThroughput: serializeAws_restJson1ProvisionedThroughput(input.ProvisionedThroughput, context),
2808
+ provisionedThroughput: se_ProvisionedThroughput(input.ProvisionedThroughput, context),
2827
2809
  }),
2828
2810
  ...(input.VolumeSizeGB != null && { volumeSizeGB: input.VolumeSizeGB }),
2829
2811
  };
2830
2812
  };
2831
- const serializeAws_restJson1BrokerLogs = (input, context) => {
2813
+ const se_BrokerLogs = (input, context) => {
2832
2814
  return {
2833
- ...(input.CloudWatchLogs != null && {
2834
- cloudWatchLogs: serializeAws_restJson1CloudWatchLogs(input.CloudWatchLogs, context),
2835
- }),
2836
- ...(input.Firehose != null && { firehose: serializeAws_restJson1Firehose(input.Firehose, context) }),
2837
- ...(input.S3 != null && { s3: serializeAws_restJson1S3(input.S3, context) }),
2815
+ ...(input.CloudWatchLogs != null && { cloudWatchLogs: se_CloudWatchLogs(input.CloudWatchLogs, context) }),
2816
+ ...(input.Firehose != null && { firehose: se_Firehose(input.Firehose, context) }),
2817
+ ...(input.S3 != null && { s3: se_S3(input.S3, context) }),
2838
2818
  };
2839
2819
  };
2840
- const serializeAws_restJson1BrokerNodeGroupInfo = (input, context) => {
2820
+ const se_BrokerNodeGroupInfo = (input, context) => {
2841
2821
  return {
2842
2822
  ...(input.BrokerAZDistribution != null && { brokerAZDistribution: input.BrokerAZDistribution }),
2843
- ...(input.ClientSubnets != null && {
2844
- clientSubnets: serializeAws_restJson1__listOf__string(input.ClientSubnets, context),
2845
- }),
2846
- ...(input.ConnectivityInfo != null && {
2847
- connectivityInfo: serializeAws_restJson1ConnectivityInfo(input.ConnectivityInfo, context),
2848
- }),
2823
+ ...(input.ClientSubnets != null && { clientSubnets: se___listOf__string(input.ClientSubnets, context) }),
2824
+ ...(input.ConnectivityInfo != null && { connectivityInfo: se_ConnectivityInfo(input.ConnectivityInfo, context) }),
2849
2825
  ...(input.InstanceType != null && { instanceType: input.InstanceType }),
2850
- ...(input.SecurityGroups != null && {
2851
- securityGroups: serializeAws_restJson1__listOf__string(input.SecurityGroups, context),
2852
- }),
2853
- ...(input.StorageInfo != null && { storageInfo: serializeAws_restJson1StorageInfo(input.StorageInfo, context) }),
2826
+ ...(input.SecurityGroups != null && { securityGroups: se___listOf__string(input.SecurityGroups, context) }),
2827
+ ...(input.StorageInfo != null && { storageInfo: se_StorageInfo(input.StorageInfo, context) }),
2854
2828
  };
2855
2829
  };
2856
- const serializeAws_restJson1ClientAuthentication = (input, context) => {
2830
+ const se_ClientAuthentication = (input, context) => {
2857
2831
  return {
2858
- ...(input.Sasl != null && { sasl: serializeAws_restJson1Sasl(input.Sasl, context) }),
2859
- ...(input.Tls != null && { tls: serializeAws_restJson1Tls(input.Tls, context) }),
2860
- ...(input.Unauthenticated != null && {
2861
- unauthenticated: serializeAws_restJson1Unauthenticated(input.Unauthenticated, context),
2862
- }),
2832
+ ...(input.Sasl != null && { sasl: se_Sasl(input.Sasl, context) }),
2833
+ ...(input.Tls != null && { tls: se_Tls(input.Tls, context) }),
2834
+ ...(input.Unauthenticated != null && { unauthenticated: se_Unauthenticated(input.Unauthenticated, context) }),
2863
2835
  };
2864
2836
  };
2865
- const serializeAws_restJson1CloudWatchLogs = (input, context) => {
2837
+ const se_CloudWatchLogs = (input, context) => {
2866
2838
  return {
2867
2839
  ...(input.Enabled != null && { enabled: input.Enabled }),
2868
2840
  ...(input.LogGroup != null && { logGroup: input.LogGroup }),
2869
2841
  };
2870
2842
  };
2871
- const serializeAws_restJson1ConfigurationInfo = (input, context) => {
2843
+ const se_ConfigurationInfo = (input, context) => {
2872
2844
  return {
2873
2845
  ...(input.Arn != null && { arn: input.Arn }),
2874
2846
  ...(input.Revision != null && { revision: input.Revision }),
2875
2847
  };
2876
2848
  };
2877
- const serializeAws_restJson1ConnectivityInfo = (input, context) => {
2849
+ const se_ConnectivityInfo = (input, context) => {
2878
2850
  return {
2879
- ...(input.PublicAccess != null && {
2880
- publicAccess: serializeAws_restJson1PublicAccess(input.PublicAccess, context),
2881
- }),
2851
+ ...(input.PublicAccess != null && { publicAccess: se_PublicAccess(input.PublicAccess, context) }),
2882
2852
  };
2883
2853
  };
2884
- const serializeAws_restJson1EBSStorageInfo = (input, context) => {
2854
+ const se_EBSStorageInfo = (input, context) => {
2885
2855
  return {
2886
2856
  ...(input.ProvisionedThroughput != null && {
2887
- provisionedThroughput: serializeAws_restJson1ProvisionedThroughput(input.ProvisionedThroughput, context),
2857
+ provisionedThroughput: se_ProvisionedThroughput(input.ProvisionedThroughput, context),
2888
2858
  }),
2889
2859
  ...(input.VolumeSize != null && { volumeSize: input.VolumeSize }),
2890
2860
  };
2891
2861
  };
2892
- const serializeAws_restJson1EncryptionAtRest = (input, context) => {
2862
+ const se_EncryptionAtRest = (input, context) => {
2893
2863
  return {
2894
2864
  ...(input.DataVolumeKMSKeyId != null && { dataVolumeKMSKeyId: input.DataVolumeKMSKeyId }),
2895
2865
  };
2896
2866
  };
2897
- const serializeAws_restJson1EncryptionInfo = (input, context) => {
2867
+ const se_EncryptionInfo = (input, context) => {
2898
2868
  return {
2899
- ...(input.EncryptionAtRest != null && {
2900
- encryptionAtRest: serializeAws_restJson1EncryptionAtRest(input.EncryptionAtRest, context),
2901
- }),
2869
+ ...(input.EncryptionAtRest != null && { encryptionAtRest: se_EncryptionAtRest(input.EncryptionAtRest, context) }),
2902
2870
  ...(input.EncryptionInTransit != null && {
2903
- encryptionInTransit: serializeAws_restJson1EncryptionInTransit(input.EncryptionInTransit, context),
2871
+ encryptionInTransit: se_EncryptionInTransit(input.EncryptionInTransit, context),
2904
2872
  }),
2905
2873
  };
2906
2874
  };
2907
- const serializeAws_restJson1EncryptionInTransit = (input, context) => {
2875
+ const se_EncryptionInTransit = (input, context) => {
2908
2876
  return {
2909
2877
  ...(input.ClientBroker != null && { clientBroker: input.ClientBroker }),
2910
2878
  ...(input.InCluster != null && { inCluster: input.InCluster }),
2911
2879
  };
2912
2880
  };
2913
- const serializeAws_restJson1Firehose = (input, context) => {
2881
+ const se_Firehose = (input, context) => {
2914
2882
  return {
2915
2883
  ...(input.DeliveryStream != null && { deliveryStream: input.DeliveryStream }),
2916
2884
  ...(input.Enabled != null && { enabled: input.Enabled }),
2917
2885
  };
2918
2886
  };
2919
- const serializeAws_restJson1Iam = (input, context) => {
2887
+ const se_Iam = (input, context) => {
2920
2888
  return {
2921
2889
  ...(input.Enabled != null && { enabled: input.Enabled }),
2922
2890
  };
2923
2891
  };
2924
- const serializeAws_restJson1JmxExporterInfo = (input, context) => {
2892
+ const se_JmxExporterInfo = (input, context) => {
2925
2893
  return {
2926
2894
  ...(input.EnabledInBroker != null && { enabledInBroker: input.EnabledInBroker }),
2927
2895
  };
2928
2896
  };
2929
- const serializeAws_restJson1LoggingInfo = (input, context) => {
2897
+ const se_LoggingInfo = (input, context) => {
2930
2898
  return {
2931
- ...(input.BrokerLogs != null && { brokerLogs: serializeAws_restJson1BrokerLogs(input.BrokerLogs, context) }),
2899
+ ...(input.BrokerLogs != null && { brokerLogs: se_BrokerLogs(input.BrokerLogs, context) }),
2932
2900
  };
2933
2901
  };
2934
- const serializeAws_restJson1NodeExporterInfo = (input, context) => {
2902
+ const se_NodeExporterInfo = (input, context) => {
2935
2903
  return {
2936
2904
  ...(input.EnabledInBroker != null && { enabledInBroker: input.EnabledInBroker }),
2937
2905
  };
2938
2906
  };
2939
- const serializeAws_restJson1OpenMonitoringInfo = (input, context) => {
2907
+ const se_OpenMonitoringInfo = (input, context) => {
2940
2908
  return {
2941
- ...(input.Prometheus != null && { prometheus: serializeAws_restJson1PrometheusInfo(input.Prometheus, context) }),
2909
+ ...(input.Prometheus != null && { prometheus: se_PrometheusInfo(input.Prometheus, context) }),
2942
2910
  };
2943
2911
  };
2944
- const serializeAws_restJson1PrometheusInfo = (input, context) => {
2912
+ const se_PrometheusInfo = (input, context) => {
2945
2913
  return {
2946
- ...(input.JmxExporter != null && {
2947
- jmxExporter: serializeAws_restJson1JmxExporterInfo(input.JmxExporter, context),
2948
- }),
2949
- ...(input.NodeExporter != null && {
2950
- nodeExporter: serializeAws_restJson1NodeExporterInfo(input.NodeExporter, context),
2951
- }),
2914
+ ...(input.JmxExporter != null && { jmxExporter: se_JmxExporterInfo(input.JmxExporter, context) }),
2915
+ ...(input.NodeExporter != null && { nodeExporter: se_NodeExporterInfo(input.NodeExporter, context) }),
2952
2916
  };
2953
2917
  };
2954
- const serializeAws_restJson1ProvisionedRequest = (input, context) => {
2918
+ const se_ProvisionedRequest = (input, context) => {
2955
2919
  return {
2956
2920
  ...(input.BrokerNodeGroupInfo != null && {
2957
- brokerNodeGroupInfo: serializeAws_restJson1BrokerNodeGroupInfo(input.BrokerNodeGroupInfo, context),
2921
+ brokerNodeGroupInfo: se_BrokerNodeGroupInfo(input.BrokerNodeGroupInfo, context),
2958
2922
  }),
2959
2923
  ...(input.ClientAuthentication != null && {
2960
- clientAuthentication: serializeAws_restJson1ClientAuthentication(input.ClientAuthentication, context),
2924
+ clientAuthentication: se_ClientAuthentication(input.ClientAuthentication, context),
2961
2925
  }),
2962
2926
  ...(input.ConfigurationInfo != null && {
2963
- configurationInfo: serializeAws_restJson1ConfigurationInfo(input.ConfigurationInfo, context),
2964
- }),
2965
- ...(input.EncryptionInfo != null && {
2966
- encryptionInfo: serializeAws_restJson1EncryptionInfo(input.EncryptionInfo, context),
2927
+ configurationInfo: se_ConfigurationInfo(input.ConfigurationInfo, context),
2967
2928
  }),
2929
+ ...(input.EncryptionInfo != null && { encryptionInfo: se_EncryptionInfo(input.EncryptionInfo, context) }),
2968
2930
  ...(input.EnhancedMonitoring != null && { enhancedMonitoring: input.EnhancedMonitoring }),
2969
2931
  ...(input.KafkaVersion != null && { kafkaVersion: input.KafkaVersion }),
2970
- ...(input.LoggingInfo != null && { loggingInfo: serializeAws_restJson1LoggingInfo(input.LoggingInfo, context) }),
2932
+ ...(input.LoggingInfo != null && { loggingInfo: se_LoggingInfo(input.LoggingInfo, context) }),
2971
2933
  ...(input.NumberOfBrokerNodes != null && { numberOfBrokerNodes: input.NumberOfBrokerNodes }),
2972
- ...(input.OpenMonitoring != null && {
2973
- openMonitoring: serializeAws_restJson1OpenMonitoringInfo(input.OpenMonitoring, context),
2974
- }),
2934
+ ...(input.OpenMonitoring != null && { openMonitoring: se_OpenMonitoringInfo(input.OpenMonitoring, context) }),
2975
2935
  ...(input.StorageMode != null && { storageMode: input.StorageMode }),
2976
2936
  };
2977
2937
  };
2978
- const serializeAws_restJson1ProvisionedThroughput = (input, context) => {
2938
+ const se_ProvisionedThroughput = (input, context) => {
2979
2939
  return {
2980
2940
  ...(input.Enabled != null && { enabled: input.Enabled }),
2981
2941
  ...(input.VolumeThroughput != null && { volumeThroughput: input.VolumeThroughput }),
2982
2942
  };
2983
2943
  };
2984
- const serializeAws_restJson1PublicAccess = (input, context) => {
2944
+ const se_PublicAccess = (input, context) => {
2985
2945
  return {
2986
2946
  ...(input.Type != null && { type: input.Type }),
2987
2947
  };
2988
2948
  };
2989
- const serializeAws_restJson1S3 = (input, context) => {
2949
+ const se_S3 = (input, context) => {
2990
2950
  return {
2991
2951
  ...(input.Bucket != null && { bucket: input.Bucket }),
2992
2952
  ...(input.Enabled != null && { enabled: input.Enabled }),
2993
2953
  ...(input.Prefix != null && { prefix: input.Prefix }),
2994
2954
  };
2995
2955
  };
2996
- const serializeAws_restJson1Sasl = (input, context) => {
2956
+ const se_Sasl = (input, context) => {
2997
2957
  return {
2998
- ...(input.Iam != null && { iam: serializeAws_restJson1Iam(input.Iam, context) }),
2999
- ...(input.Scram != null && { scram: serializeAws_restJson1Scram(input.Scram, context) }),
2958
+ ...(input.Iam != null && { iam: se_Iam(input.Iam, context) }),
2959
+ ...(input.Scram != null && { scram: se_Scram(input.Scram, context) }),
3000
2960
  };
3001
2961
  };
3002
- const serializeAws_restJson1Scram = (input, context) => {
2962
+ const se_Scram = (input, context) => {
3003
2963
  return {
3004
2964
  ...(input.Enabled != null && { enabled: input.Enabled }),
3005
2965
  };
3006
2966
  };
3007
- const serializeAws_restJson1ServerlessClientAuthentication = (input, context) => {
2967
+ const se_ServerlessClientAuthentication = (input, context) => {
3008
2968
  return {
3009
- ...(input.Sasl != null && { sasl: serializeAws_restJson1ServerlessSasl(input.Sasl, context) }),
2969
+ ...(input.Sasl != null && { sasl: se_ServerlessSasl(input.Sasl, context) }),
3010
2970
  };
3011
2971
  };
3012
- const serializeAws_restJson1ServerlessRequest = (input, context) => {
2972
+ const se_ServerlessRequest = (input, context) => {
3013
2973
  return {
3014
2974
  ...(input.ClientAuthentication != null && {
3015
- clientAuthentication: serializeAws_restJson1ServerlessClientAuthentication(input.ClientAuthentication, context),
2975
+ clientAuthentication: se_ServerlessClientAuthentication(input.ClientAuthentication, context),
3016
2976
  }),
3017
- ...(input.VpcConfigs != null && { vpcConfigs: serializeAws_restJson1__listOfVpcConfig(input.VpcConfigs, context) }),
2977
+ ...(input.VpcConfigs != null && { vpcConfigs: se___listOfVpcConfig(input.VpcConfigs, context) }),
3018
2978
  };
3019
2979
  };
3020
- const serializeAws_restJson1ServerlessSasl = (input, context) => {
2980
+ const se_ServerlessSasl = (input, context) => {
3021
2981
  return {
3022
- ...(input.Iam != null && { iam: serializeAws_restJson1Iam(input.Iam, context) }),
2982
+ ...(input.Iam != null && { iam: se_Iam(input.Iam, context) }),
3023
2983
  };
3024
2984
  };
3025
- const serializeAws_restJson1StorageInfo = (input, context) => {
2985
+ const se_StorageInfo = (input, context) => {
3026
2986
  return {
3027
- ...(input.EbsStorageInfo != null && {
3028
- ebsStorageInfo: serializeAws_restJson1EBSStorageInfo(input.EbsStorageInfo, context),
3029
- }),
2987
+ ...(input.EbsStorageInfo != null && { ebsStorageInfo: se_EBSStorageInfo(input.EbsStorageInfo, context) }),
3030
2988
  };
3031
2989
  };
3032
- const serializeAws_restJson1Tls = (input, context) => {
2990
+ const se_Tls = (input, context) => {
3033
2991
  return {
3034
2992
  ...(input.CertificateAuthorityArnList != null && {
3035
- certificateAuthorityArnList: serializeAws_restJson1__listOf__string(input.CertificateAuthorityArnList, context),
2993
+ certificateAuthorityArnList: se___listOf__string(input.CertificateAuthorityArnList, context),
3036
2994
  }),
3037
2995
  ...(input.Enabled != null && { enabled: input.Enabled }),
3038
2996
  };
3039
2997
  };
3040
- const serializeAws_restJson1Unauthenticated = (input, context) => {
2998
+ const se_Unauthenticated = (input, context) => {
3041
2999
  return {
3042
3000
  ...(input.Enabled != null && { enabled: input.Enabled }),
3043
3001
  };
3044
3002
  };
3045
- const serializeAws_restJson1VpcConfig = (input, context) => {
3003
+ const se_VpcConfig = (input, context) => {
3046
3004
  return {
3047
- ...(input.SecurityGroupIds != null && {
3048
- securityGroupIds: serializeAws_restJson1__listOf__string(input.SecurityGroupIds, context),
3049
- }),
3050
- ...(input.SubnetIds != null && { subnetIds: serializeAws_restJson1__listOf__string(input.SubnetIds, context) }),
3005
+ ...(input.SecurityGroupIds != null && { securityGroupIds: se___listOf__string(input.SecurityGroupIds, context) }),
3006
+ ...(input.SubnetIds != null && { subnetIds: se___listOf__string(input.SubnetIds, context) }),
3051
3007
  };
3052
3008
  };
3053
- const deserializeAws_restJson1__listOf__string = (output, context) => {
3009
+ const de___listOf__string = (output, context) => {
3054
3010
  const retVal = (output || [])
3055
3011
  .filter((e) => e != null)
3056
3012
  .map((entry) => {
@@ -3061,139 +3017,139 @@ const deserializeAws_restJson1__listOf__string = (output, context) => {
3061
3017
  });
3062
3018
  return retVal;
3063
3019
  };
3064
- const deserializeAws_restJson1__listOfBrokerEBSVolumeInfo = (output, context) => {
3020
+ const de___listOfBrokerEBSVolumeInfo = (output, context) => {
3065
3021
  const retVal = (output || [])
3066
3022
  .filter((e) => e != null)
3067
3023
  .map((entry) => {
3068
3024
  if (entry === null) {
3069
3025
  return null;
3070
3026
  }
3071
- return deserializeAws_restJson1BrokerEBSVolumeInfo(entry, context);
3027
+ return de_BrokerEBSVolumeInfo(entry, context);
3072
3028
  });
3073
3029
  return retVal;
3074
3030
  };
3075
- const deserializeAws_restJson1__listOfCluster = (output, context) => {
3031
+ const de___listOfCluster = (output, context) => {
3076
3032
  const retVal = (output || [])
3077
3033
  .filter((e) => e != null)
3078
3034
  .map((entry) => {
3079
3035
  if (entry === null) {
3080
3036
  return null;
3081
3037
  }
3082
- return deserializeAws_restJson1Cluster(entry, context);
3038
+ return de_Cluster(entry, context);
3083
3039
  });
3084
3040
  return retVal;
3085
3041
  };
3086
- const deserializeAws_restJson1__listOfClusterInfo = (output, context) => {
3042
+ const de___listOfClusterInfo = (output, context) => {
3087
3043
  const retVal = (output || [])
3088
3044
  .filter((e) => e != null)
3089
3045
  .map((entry) => {
3090
3046
  if (entry === null) {
3091
3047
  return null;
3092
3048
  }
3093
- return deserializeAws_restJson1ClusterInfo(entry, context);
3049
+ return de_ClusterInfo(entry, context);
3094
3050
  });
3095
3051
  return retVal;
3096
3052
  };
3097
- const deserializeAws_restJson1__listOfClusterOperationInfo = (output, context) => {
3053
+ const de___listOfClusterOperationInfo = (output, context) => {
3098
3054
  const retVal = (output || [])
3099
3055
  .filter((e) => e != null)
3100
3056
  .map((entry) => {
3101
3057
  if (entry === null) {
3102
3058
  return null;
3103
3059
  }
3104
- return deserializeAws_restJson1ClusterOperationInfo(entry, context);
3060
+ return de_ClusterOperationInfo(entry, context);
3105
3061
  });
3106
3062
  return retVal;
3107
3063
  };
3108
- const deserializeAws_restJson1__listOfClusterOperationStep = (output, context) => {
3064
+ const de___listOfClusterOperationStep = (output, context) => {
3109
3065
  const retVal = (output || [])
3110
3066
  .filter((e) => e != null)
3111
3067
  .map((entry) => {
3112
3068
  if (entry === null) {
3113
3069
  return null;
3114
3070
  }
3115
- return deserializeAws_restJson1ClusterOperationStep(entry, context);
3071
+ return de_ClusterOperationStep(entry, context);
3116
3072
  });
3117
3073
  return retVal;
3118
3074
  };
3119
- const deserializeAws_restJson1__listOfCompatibleKafkaVersion = (output, context) => {
3075
+ const de___listOfCompatibleKafkaVersion = (output, context) => {
3120
3076
  const retVal = (output || [])
3121
3077
  .filter((e) => e != null)
3122
3078
  .map((entry) => {
3123
3079
  if (entry === null) {
3124
3080
  return null;
3125
3081
  }
3126
- return deserializeAws_restJson1CompatibleKafkaVersion(entry, context);
3082
+ return de_CompatibleKafkaVersion(entry, context);
3127
3083
  });
3128
3084
  return retVal;
3129
3085
  };
3130
- const deserializeAws_restJson1__listOfConfiguration = (output, context) => {
3086
+ const de___listOfConfiguration = (output, context) => {
3131
3087
  const retVal = (output || [])
3132
3088
  .filter((e) => e != null)
3133
3089
  .map((entry) => {
3134
3090
  if (entry === null) {
3135
3091
  return null;
3136
3092
  }
3137
- return deserializeAws_restJson1Configuration(entry, context);
3093
+ return de_Configuration(entry, context);
3138
3094
  });
3139
3095
  return retVal;
3140
3096
  };
3141
- const deserializeAws_restJson1__listOfConfigurationRevision = (output, context) => {
3097
+ const de___listOfConfigurationRevision = (output, context) => {
3142
3098
  const retVal = (output || [])
3143
3099
  .filter((e) => e != null)
3144
3100
  .map((entry) => {
3145
3101
  if (entry === null) {
3146
3102
  return null;
3147
3103
  }
3148
- return deserializeAws_restJson1ConfigurationRevision(entry, context);
3104
+ return de_ConfigurationRevision(entry, context);
3149
3105
  });
3150
3106
  return retVal;
3151
3107
  };
3152
- const deserializeAws_restJson1__listOfKafkaVersion = (output, context) => {
3108
+ const de___listOfKafkaVersion = (output, context) => {
3153
3109
  const retVal = (output || [])
3154
3110
  .filter((e) => e != null)
3155
3111
  .map((entry) => {
3156
3112
  if (entry === null) {
3157
3113
  return null;
3158
3114
  }
3159
- return deserializeAws_restJson1KafkaVersion(entry, context);
3115
+ return de_KafkaVersion(entry, context);
3160
3116
  });
3161
3117
  return retVal;
3162
3118
  };
3163
- const deserializeAws_restJson1__listOfNodeInfo = (output, context) => {
3119
+ const de___listOfNodeInfo = (output, context) => {
3164
3120
  const retVal = (output || [])
3165
3121
  .filter((e) => e != null)
3166
3122
  .map((entry) => {
3167
3123
  if (entry === null) {
3168
3124
  return null;
3169
3125
  }
3170
- return deserializeAws_restJson1NodeInfo(entry, context);
3126
+ return de_NodeInfo(entry, context);
3171
3127
  });
3172
3128
  return retVal;
3173
3129
  };
3174
- const deserializeAws_restJson1__listOfUnprocessedScramSecret = (output, context) => {
3130
+ const de___listOfUnprocessedScramSecret = (output, context) => {
3175
3131
  const retVal = (output || [])
3176
3132
  .filter((e) => e != null)
3177
3133
  .map((entry) => {
3178
3134
  if (entry === null) {
3179
3135
  return null;
3180
3136
  }
3181
- return deserializeAws_restJson1UnprocessedScramSecret(entry, context);
3137
+ return de_UnprocessedScramSecret(entry, context);
3182
3138
  });
3183
3139
  return retVal;
3184
3140
  };
3185
- const deserializeAws_restJson1__listOfVpcConfig = (output, context) => {
3141
+ const de___listOfVpcConfig = (output, context) => {
3186
3142
  const retVal = (output || [])
3187
3143
  .filter((e) => e != null)
3188
3144
  .map((entry) => {
3189
3145
  if (entry === null) {
3190
3146
  return null;
3191
3147
  }
3192
- return deserializeAws_restJson1VpcConfig(entry, context);
3148
+ return de_VpcConfig(entry, context);
3193
3149
  });
3194
3150
  return retVal;
3195
3151
  };
3196
- const deserializeAws_restJson1__mapOf__string = (output, context) => {
3152
+ const de___mapOf__string = (output, context) => {
3197
3153
  return Object.entries(output).reduce((acc, [key, value]) => {
3198
3154
  if (value === null) {
3199
3155
  return acc;
@@ -3202,75 +3158,65 @@ const deserializeAws_restJson1__mapOf__string = (output, context) => {
3202
3158
  return acc;
3203
3159
  }, {});
3204
3160
  };
3205
- const deserializeAws_restJson1BrokerEBSVolumeInfo = (output, context) => {
3161
+ const de_BrokerEBSVolumeInfo = (output, context) => {
3206
3162
  return {
3207
3163
  KafkaBrokerNodeId: (0, smithy_client_1.expectString)(output.kafkaBrokerNodeId),
3208
3164
  ProvisionedThroughput: output.provisionedThroughput != null
3209
- ? deserializeAws_restJson1ProvisionedThroughput(output.provisionedThroughput, context)
3165
+ ? de_ProvisionedThroughput(output.provisionedThroughput, context)
3210
3166
  : undefined,
3211
3167
  VolumeSizeGB: (0, smithy_client_1.expectInt32)(output.volumeSizeGB),
3212
3168
  };
3213
3169
  };
3214
- const deserializeAws_restJson1BrokerLogs = (output, context) => {
3170
+ const de_BrokerLogs = (output, context) => {
3215
3171
  return {
3216
- CloudWatchLogs: output.cloudWatchLogs != null
3217
- ? deserializeAws_restJson1CloudWatchLogs(output.cloudWatchLogs, context)
3218
- : undefined,
3219
- Firehose: output.firehose != null ? deserializeAws_restJson1Firehose(output.firehose, context) : undefined,
3220
- S3: output.s3 != null ? deserializeAws_restJson1S3(output.s3, context) : undefined,
3172
+ CloudWatchLogs: output.cloudWatchLogs != null ? de_CloudWatchLogs(output.cloudWatchLogs, context) : undefined,
3173
+ Firehose: output.firehose != null ? de_Firehose(output.firehose, context) : undefined,
3174
+ S3: output.s3 != null ? de_S3(output.s3, context) : undefined,
3221
3175
  };
3222
3176
  };
3223
- const deserializeAws_restJson1BrokerNodeGroupInfo = (output, context) => {
3177
+ const de_BrokerNodeGroupInfo = (output, context) => {
3224
3178
  return {
3225
3179
  BrokerAZDistribution: (0, smithy_client_1.expectString)(output.brokerAZDistribution),
3226
- ClientSubnets: output.clientSubnets != null
3227
- ? deserializeAws_restJson1__listOf__string(output.clientSubnets, context)
3228
- : undefined,
3229
- ConnectivityInfo: output.connectivityInfo != null
3230
- ? deserializeAws_restJson1ConnectivityInfo(output.connectivityInfo, context)
3231
- : undefined,
3180
+ ClientSubnets: output.clientSubnets != null ? de___listOf__string(output.clientSubnets, context) : undefined,
3181
+ ConnectivityInfo: output.connectivityInfo != null ? de_ConnectivityInfo(output.connectivityInfo, context) : undefined,
3232
3182
  InstanceType: (0, smithy_client_1.expectString)(output.instanceType),
3233
- SecurityGroups: output.securityGroups != null
3234
- ? deserializeAws_restJson1__listOf__string(output.securityGroups, context)
3235
- : undefined,
3236
- StorageInfo: output.storageInfo != null ? deserializeAws_restJson1StorageInfo(output.storageInfo, context) : undefined,
3183
+ SecurityGroups: output.securityGroups != null ? de___listOf__string(output.securityGroups, context) : undefined,
3184
+ StorageInfo: output.storageInfo != null ? de_StorageInfo(output.storageInfo, context) : undefined,
3237
3185
  };
3238
3186
  };
3239
- const deserializeAws_restJson1BrokerNodeInfo = (output, context) => {
3187
+ const de_BrokerNodeInfo = (output, context) => {
3240
3188
  return {
3241
3189
  AttachedENIId: (0, smithy_client_1.expectString)(output.attachedENIId),
3242
3190
  BrokerId: (0, smithy_client_1.limitedParseDouble)(output.brokerId),
3243
3191
  ClientSubnet: (0, smithy_client_1.expectString)(output.clientSubnet),
3244
3192
  ClientVpcIpAddress: (0, smithy_client_1.expectString)(output.clientVpcIpAddress),
3245
3193
  CurrentBrokerSoftwareInfo: output.currentBrokerSoftwareInfo != null
3246
- ? deserializeAws_restJson1BrokerSoftwareInfo(output.currentBrokerSoftwareInfo, context)
3194
+ ? de_BrokerSoftwareInfo(output.currentBrokerSoftwareInfo, context)
3247
3195
  : undefined,
3248
- Endpoints: output.endpoints != null ? deserializeAws_restJson1__listOf__string(output.endpoints, context) : undefined,
3196
+ Endpoints: output.endpoints != null ? de___listOf__string(output.endpoints, context) : undefined,
3249
3197
  };
3250
3198
  };
3251
- const deserializeAws_restJson1BrokerSoftwareInfo = (output, context) => {
3199
+ const de_BrokerSoftwareInfo = (output, context) => {
3252
3200
  return {
3253
3201
  ConfigurationArn: (0, smithy_client_1.expectString)(output.configurationArn),
3254
3202
  ConfigurationRevision: (0, smithy_client_1.expectLong)(output.configurationRevision),
3255
3203
  KafkaVersion: (0, smithy_client_1.expectString)(output.kafkaVersion),
3256
3204
  };
3257
3205
  };
3258
- const deserializeAws_restJson1ClientAuthentication = (output, context) => {
3206
+ const de_ClientAuthentication = (output, context) => {
3259
3207
  return {
3260
- Sasl: output.sasl != null ? deserializeAws_restJson1Sasl(output.sasl, context) : undefined,
3261
- Tls: output.tls != null ? deserializeAws_restJson1Tls(output.tls, context) : undefined,
3262
- Unauthenticated: output.unauthenticated != null
3263
- ? deserializeAws_restJson1Unauthenticated(output.unauthenticated, context)
3264
- : undefined,
3208
+ Sasl: output.sasl != null ? de_Sasl(output.sasl, context) : undefined,
3209
+ Tls: output.tls != null ? de_Tls(output.tls, context) : undefined,
3210
+ Unauthenticated: output.unauthenticated != null ? de_Unauthenticated(output.unauthenticated, context) : undefined,
3265
3211
  };
3266
3212
  };
3267
- const deserializeAws_restJson1CloudWatchLogs = (output, context) => {
3213
+ const de_CloudWatchLogs = (output, context) => {
3268
3214
  return {
3269
3215
  Enabled: (0, smithy_client_1.expectBoolean)(output.enabled),
3270
3216
  LogGroup: (0, smithy_client_1.expectString)(output.logGroup),
3271
3217
  };
3272
3218
  };
3273
- const deserializeAws_restJson1Cluster = (output, context) => {
3219
+ const de_Cluster = (output, context) => {
3274
3220
  return {
3275
3221
  ActiveOperationArn: (0, smithy_client_1.expectString)(output.activeOperationArn),
3276
3222
  ClusterArn: (0, smithy_client_1.expectString)(output.clusterArn),
@@ -3278,378 +3224,328 @@ const deserializeAws_restJson1Cluster = (output, context) => {
3278
3224
  ClusterType: (0, smithy_client_1.expectString)(output.clusterType),
3279
3225
  CreationTime: output.creationTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.creationTime)) : undefined,
3280
3226
  CurrentVersion: (0, smithy_client_1.expectString)(output.currentVersion),
3281
- Provisioned: output.provisioned != null ? deserializeAws_restJson1Provisioned(output.provisioned, context) : undefined,
3282
- Serverless: output.serverless != null ? deserializeAws_restJson1Serverless(output.serverless, context) : undefined,
3227
+ Provisioned: output.provisioned != null ? de_Provisioned(output.provisioned, context) : undefined,
3228
+ Serverless: output.serverless != null ? de_Serverless(output.serverless, context) : undefined,
3283
3229
  State: (0, smithy_client_1.expectString)(output.state),
3284
- StateInfo: output.stateInfo != null ? deserializeAws_restJson1StateInfo(output.stateInfo, context) : undefined,
3285
- Tags: output.tags != null ? deserializeAws_restJson1__mapOf__string(output.tags, context) : undefined,
3230
+ StateInfo: output.stateInfo != null ? de_StateInfo(output.stateInfo, context) : undefined,
3231
+ Tags: output.tags != null ? de___mapOf__string(output.tags, context) : undefined,
3286
3232
  };
3287
3233
  };
3288
- const deserializeAws_restJson1ClusterInfo = (output, context) => {
3234
+ const de_ClusterInfo = (output, context) => {
3289
3235
  return {
3290
3236
  ActiveOperationArn: (0, smithy_client_1.expectString)(output.activeOperationArn),
3291
- BrokerNodeGroupInfo: output.brokerNodeGroupInfo != null
3292
- ? deserializeAws_restJson1BrokerNodeGroupInfo(output.brokerNodeGroupInfo, context)
3293
- : undefined,
3294
- ClientAuthentication: output.clientAuthentication != null
3295
- ? deserializeAws_restJson1ClientAuthentication(output.clientAuthentication, context)
3296
- : undefined,
3237
+ BrokerNodeGroupInfo: output.brokerNodeGroupInfo != null ? de_BrokerNodeGroupInfo(output.brokerNodeGroupInfo, context) : undefined,
3238
+ ClientAuthentication: output.clientAuthentication != null ? de_ClientAuthentication(output.clientAuthentication, context) : undefined,
3297
3239
  ClusterArn: (0, smithy_client_1.expectString)(output.clusterArn),
3298
3240
  ClusterName: (0, smithy_client_1.expectString)(output.clusterName),
3299
3241
  CreationTime: output.creationTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.creationTime)) : undefined,
3300
3242
  CurrentBrokerSoftwareInfo: output.currentBrokerSoftwareInfo != null
3301
- ? deserializeAws_restJson1BrokerSoftwareInfo(output.currentBrokerSoftwareInfo, context)
3243
+ ? de_BrokerSoftwareInfo(output.currentBrokerSoftwareInfo, context)
3302
3244
  : undefined,
3303
3245
  CurrentVersion: (0, smithy_client_1.expectString)(output.currentVersion),
3304
- EncryptionInfo: output.encryptionInfo != null
3305
- ? deserializeAws_restJson1EncryptionInfo(output.encryptionInfo, context)
3306
- : undefined,
3246
+ EncryptionInfo: output.encryptionInfo != null ? de_EncryptionInfo(output.encryptionInfo, context) : undefined,
3307
3247
  EnhancedMonitoring: (0, smithy_client_1.expectString)(output.enhancedMonitoring),
3308
- LoggingInfo: output.loggingInfo != null ? deserializeAws_restJson1LoggingInfo(output.loggingInfo, context) : undefined,
3248
+ LoggingInfo: output.loggingInfo != null ? de_LoggingInfo(output.loggingInfo, context) : undefined,
3309
3249
  NumberOfBrokerNodes: (0, smithy_client_1.expectInt32)(output.numberOfBrokerNodes),
3310
- OpenMonitoring: output.openMonitoring != null
3311
- ? deserializeAws_restJson1OpenMonitoring(output.openMonitoring, context)
3312
- : undefined,
3250
+ OpenMonitoring: output.openMonitoring != null ? de_OpenMonitoring(output.openMonitoring, context) : undefined,
3313
3251
  State: (0, smithy_client_1.expectString)(output.state),
3314
- StateInfo: output.stateInfo != null ? deserializeAws_restJson1StateInfo(output.stateInfo, context) : undefined,
3252
+ StateInfo: output.stateInfo != null ? de_StateInfo(output.stateInfo, context) : undefined,
3315
3253
  StorageMode: (0, smithy_client_1.expectString)(output.storageMode),
3316
- Tags: output.tags != null ? deserializeAws_restJson1__mapOf__string(output.tags, context) : undefined,
3254
+ Tags: output.tags != null ? de___mapOf__string(output.tags, context) : undefined,
3317
3255
  ZookeeperConnectString: (0, smithy_client_1.expectString)(output.zookeeperConnectString),
3318
3256
  ZookeeperConnectStringTls: (0, smithy_client_1.expectString)(output.zookeeperConnectStringTls),
3319
3257
  };
3320
3258
  };
3321
- const deserializeAws_restJson1ClusterOperationInfo = (output, context) => {
3259
+ const de_ClusterOperationInfo = (output, context) => {
3322
3260
  return {
3323
3261
  ClientRequestId: (0, smithy_client_1.expectString)(output.clientRequestId),
3324
3262
  ClusterArn: (0, smithy_client_1.expectString)(output.clusterArn),
3325
3263
  CreationTime: output.creationTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.creationTime)) : undefined,
3326
3264
  EndTime: output.endTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.endTime)) : undefined,
3327
- ErrorInfo: output.errorInfo != null ? deserializeAws_restJson1ErrorInfo(output.errorInfo, context) : undefined,
3265
+ ErrorInfo: output.errorInfo != null ? de_ErrorInfo(output.errorInfo, context) : undefined,
3328
3266
  OperationArn: (0, smithy_client_1.expectString)(output.operationArn),
3329
3267
  OperationState: (0, smithy_client_1.expectString)(output.operationState),
3330
- OperationSteps: output.operationSteps != null
3331
- ? deserializeAws_restJson1__listOfClusterOperationStep(output.operationSteps, context)
3332
- : undefined,
3268
+ OperationSteps: output.operationSteps != null ? de___listOfClusterOperationStep(output.operationSteps, context) : undefined,
3333
3269
  OperationType: (0, smithy_client_1.expectString)(output.operationType),
3334
- SourceClusterInfo: output.sourceClusterInfo != null
3335
- ? deserializeAws_restJson1MutableClusterInfo(output.sourceClusterInfo, context)
3336
- : undefined,
3337
- TargetClusterInfo: output.targetClusterInfo != null
3338
- ? deserializeAws_restJson1MutableClusterInfo(output.targetClusterInfo, context)
3339
- : undefined,
3270
+ SourceClusterInfo: output.sourceClusterInfo != null ? de_MutableClusterInfo(output.sourceClusterInfo, context) : undefined,
3271
+ TargetClusterInfo: output.targetClusterInfo != null ? de_MutableClusterInfo(output.targetClusterInfo, context) : undefined,
3340
3272
  };
3341
3273
  };
3342
- const deserializeAws_restJson1ClusterOperationStep = (output, context) => {
3274
+ const de_ClusterOperationStep = (output, context) => {
3343
3275
  return {
3344
- StepInfo: output.stepInfo != null ? deserializeAws_restJson1ClusterOperationStepInfo(output.stepInfo, context) : undefined,
3276
+ StepInfo: output.stepInfo != null ? de_ClusterOperationStepInfo(output.stepInfo, context) : undefined,
3345
3277
  StepName: (0, smithy_client_1.expectString)(output.stepName),
3346
3278
  };
3347
3279
  };
3348
- const deserializeAws_restJson1ClusterOperationStepInfo = (output, context) => {
3280
+ const de_ClusterOperationStepInfo = (output, context) => {
3349
3281
  return {
3350
3282
  StepStatus: (0, smithy_client_1.expectString)(output.stepStatus),
3351
3283
  };
3352
3284
  };
3353
- const deserializeAws_restJson1CompatibleKafkaVersion = (output, context) => {
3285
+ const de_CompatibleKafkaVersion = (output, context) => {
3354
3286
  return {
3355
3287
  SourceVersion: (0, smithy_client_1.expectString)(output.sourceVersion),
3356
- TargetVersions: output.targetVersions != null
3357
- ? deserializeAws_restJson1__listOf__string(output.targetVersions, context)
3358
- : undefined,
3288
+ TargetVersions: output.targetVersions != null ? de___listOf__string(output.targetVersions, context) : undefined,
3359
3289
  };
3360
3290
  };
3361
- const deserializeAws_restJson1Configuration = (output, context) => {
3291
+ const de_Configuration = (output, context) => {
3362
3292
  return {
3363
3293
  Arn: (0, smithy_client_1.expectString)(output.arn),
3364
3294
  CreationTime: output.creationTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.creationTime)) : undefined,
3365
3295
  Description: (0, smithy_client_1.expectString)(output.description),
3366
- KafkaVersions: output.kafkaVersions != null
3367
- ? deserializeAws_restJson1__listOf__string(output.kafkaVersions, context)
3368
- : undefined,
3369
- LatestRevision: output.latestRevision != null
3370
- ? deserializeAws_restJson1ConfigurationRevision(output.latestRevision, context)
3371
- : undefined,
3296
+ KafkaVersions: output.kafkaVersions != null ? de___listOf__string(output.kafkaVersions, context) : undefined,
3297
+ LatestRevision: output.latestRevision != null ? de_ConfigurationRevision(output.latestRevision, context) : undefined,
3372
3298
  Name: (0, smithy_client_1.expectString)(output.name),
3373
3299
  State: (0, smithy_client_1.expectString)(output.state),
3374
3300
  };
3375
3301
  };
3376
- const deserializeAws_restJson1ConfigurationInfo = (output, context) => {
3302
+ const de_ConfigurationInfo = (output, context) => {
3377
3303
  return {
3378
3304
  Arn: (0, smithy_client_1.expectString)(output.arn),
3379
3305
  Revision: (0, smithy_client_1.expectLong)(output.revision),
3380
3306
  };
3381
3307
  };
3382
- const deserializeAws_restJson1ConfigurationRevision = (output, context) => {
3308
+ const de_ConfigurationRevision = (output, context) => {
3383
3309
  return {
3384
3310
  CreationTime: output.creationTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.creationTime)) : undefined,
3385
3311
  Description: (0, smithy_client_1.expectString)(output.description),
3386
3312
  Revision: (0, smithy_client_1.expectLong)(output.revision),
3387
3313
  };
3388
3314
  };
3389
- const deserializeAws_restJson1ConnectivityInfo = (output, context) => {
3315
+ const de_ConnectivityInfo = (output, context) => {
3390
3316
  return {
3391
- PublicAccess: output.publicAccess != null ? deserializeAws_restJson1PublicAccess(output.publicAccess, context) : undefined,
3317
+ PublicAccess: output.publicAccess != null ? de_PublicAccess(output.publicAccess, context) : undefined,
3392
3318
  };
3393
3319
  };
3394
- const deserializeAws_restJson1EBSStorageInfo = (output, context) => {
3320
+ const de_EBSStorageInfo = (output, context) => {
3395
3321
  return {
3396
3322
  ProvisionedThroughput: output.provisionedThroughput != null
3397
- ? deserializeAws_restJson1ProvisionedThroughput(output.provisionedThroughput, context)
3323
+ ? de_ProvisionedThroughput(output.provisionedThroughput, context)
3398
3324
  : undefined,
3399
3325
  VolumeSize: (0, smithy_client_1.expectInt32)(output.volumeSize),
3400
3326
  };
3401
3327
  };
3402
- const deserializeAws_restJson1EncryptionAtRest = (output, context) => {
3328
+ const de_EncryptionAtRest = (output, context) => {
3403
3329
  return {
3404
3330
  DataVolumeKMSKeyId: (0, smithy_client_1.expectString)(output.dataVolumeKMSKeyId),
3405
3331
  };
3406
3332
  };
3407
- const deserializeAws_restJson1EncryptionInfo = (output, context) => {
3333
+ const de_EncryptionInfo = (output, context) => {
3408
3334
  return {
3409
- EncryptionAtRest: output.encryptionAtRest != null
3410
- ? deserializeAws_restJson1EncryptionAtRest(output.encryptionAtRest, context)
3411
- : undefined,
3412
- EncryptionInTransit: output.encryptionInTransit != null
3413
- ? deserializeAws_restJson1EncryptionInTransit(output.encryptionInTransit, context)
3414
- : undefined,
3335
+ EncryptionAtRest: output.encryptionAtRest != null ? de_EncryptionAtRest(output.encryptionAtRest, context) : undefined,
3336
+ EncryptionInTransit: output.encryptionInTransit != null ? de_EncryptionInTransit(output.encryptionInTransit, context) : undefined,
3415
3337
  };
3416
3338
  };
3417
- const deserializeAws_restJson1EncryptionInTransit = (output, context) => {
3339
+ const de_EncryptionInTransit = (output, context) => {
3418
3340
  return {
3419
3341
  ClientBroker: (0, smithy_client_1.expectString)(output.clientBroker),
3420
3342
  InCluster: (0, smithy_client_1.expectBoolean)(output.inCluster),
3421
3343
  };
3422
3344
  };
3423
- const deserializeAws_restJson1ErrorInfo = (output, context) => {
3345
+ const de_ErrorInfo = (output, context) => {
3424
3346
  return {
3425
3347
  ErrorCode: (0, smithy_client_1.expectString)(output.errorCode),
3426
3348
  ErrorString: (0, smithy_client_1.expectString)(output.errorString),
3427
3349
  };
3428
3350
  };
3429
- const deserializeAws_restJson1Firehose = (output, context) => {
3351
+ const de_Firehose = (output, context) => {
3430
3352
  return {
3431
3353
  DeliveryStream: (0, smithy_client_1.expectString)(output.deliveryStream),
3432
3354
  Enabled: (0, smithy_client_1.expectBoolean)(output.enabled),
3433
3355
  };
3434
3356
  };
3435
- const deserializeAws_restJson1Iam = (output, context) => {
3357
+ const de_Iam = (output, context) => {
3436
3358
  return {
3437
3359
  Enabled: (0, smithy_client_1.expectBoolean)(output.enabled),
3438
3360
  };
3439
3361
  };
3440
- const deserializeAws_restJson1JmxExporter = (output, context) => {
3362
+ const de_JmxExporter = (output, context) => {
3441
3363
  return {
3442
3364
  EnabledInBroker: (0, smithy_client_1.expectBoolean)(output.enabledInBroker),
3443
3365
  };
3444
3366
  };
3445
- const deserializeAws_restJson1JmxExporterInfo = (output, context) => {
3367
+ const de_JmxExporterInfo = (output, context) => {
3446
3368
  return {
3447
3369
  EnabledInBroker: (0, smithy_client_1.expectBoolean)(output.enabledInBroker),
3448
3370
  };
3449
3371
  };
3450
- const deserializeAws_restJson1KafkaVersion = (output, context) => {
3372
+ const de_KafkaVersion = (output, context) => {
3451
3373
  return {
3452
3374
  Status: (0, smithy_client_1.expectString)(output.status),
3453
3375
  Version: (0, smithy_client_1.expectString)(output.version),
3454
3376
  };
3455
3377
  };
3456
- const deserializeAws_restJson1LoggingInfo = (output, context) => {
3378
+ const de_LoggingInfo = (output, context) => {
3457
3379
  return {
3458
- BrokerLogs: output.brokerLogs != null ? deserializeAws_restJson1BrokerLogs(output.brokerLogs, context) : undefined,
3380
+ BrokerLogs: output.brokerLogs != null ? de_BrokerLogs(output.brokerLogs, context) : undefined,
3459
3381
  };
3460
3382
  };
3461
- const deserializeAws_restJson1MutableClusterInfo = (output, context) => {
3383
+ const de_MutableClusterInfo = (output, context) => {
3462
3384
  return {
3463
3385
  BrokerEBSVolumeInfo: output.brokerEBSVolumeInfo != null
3464
- ? deserializeAws_restJson1__listOfBrokerEBSVolumeInfo(output.brokerEBSVolumeInfo, context)
3465
- : undefined,
3466
- ClientAuthentication: output.clientAuthentication != null
3467
- ? deserializeAws_restJson1ClientAuthentication(output.clientAuthentication, context)
3468
- : undefined,
3469
- ConfigurationInfo: output.configurationInfo != null
3470
- ? deserializeAws_restJson1ConfigurationInfo(output.configurationInfo, context)
3471
- : undefined,
3472
- ConnectivityInfo: output.connectivityInfo != null
3473
- ? deserializeAws_restJson1ConnectivityInfo(output.connectivityInfo, context)
3474
- : undefined,
3475
- EncryptionInfo: output.encryptionInfo != null
3476
- ? deserializeAws_restJson1EncryptionInfo(output.encryptionInfo, context)
3386
+ ? de___listOfBrokerEBSVolumeInfo(output.brokerEBSVolumeInfo, context)
3477
3387
  : undefined,
3388
+ ClientAuthentication: output.clientAuthentication != null ? de_ClientAuthentication(output.clientAuthentication, context) : undefined,
3389
+ ConfigurationInfo: output.configurationInfo != null ? de_ConfigurationInfo(output.configurationInfo, context) : undefined,
3390
+ ConnectivityInfo: output.connectivityInfo != null ? de_ConnectivityInfo(output.connectivityInfo, context) : undefined,
3391
+ EncryptionInfo: output.encryptionInfo != null ? de_EncryptionInfo(output.encryptionInfo, context) : undefined,
3478
3392
  EnhancedMonitoring: (0, smithy_client_1.expectString)(output.enhancedMonitoring),
3479
3393
  InstanceType: (0, smithy_client_1.expectString)(output.instanceType),
3480
3394
  KafkaVersion: (0, smithy_client_1.expectString)(output.kafkaVersion),
3481
- LoggingInfo: output.loggingInfo != null ? deserializeAws_restJson1LoggingInfo(output.loggingInfo, context) : undefined,
3395
+ LoggingInfo: output.loggingInfo != null ? de_LoggingInfo(output.loggingInfo, context) : undefined,
3482
3396
  NumberOfBrokerNodes: (0, smithy_client_1.expectInt32)(output.numberOfBrokerNodes),
3483
- OpenMonitoring: output.openMonitoring != null
3484
- ? deserializeAws_restJson1OpenMonitoring(output.openMonitoring, context)
3485
- : undefined,
3397
+ OpenMonitoring: output.openMonitoring != null ? de_OpenMonitoring(output.openMonitoring, context) : undefined,
3486
3398
  StorageMode: (0, smithy_client_1.expectString)(output.storageMode),
3487
3399
  };
3488
3400
  };
3489
- const deserializeAws_restJson1NodeExporter = (output, context) => {
3401
+ const de_NodeExporter = (output, context) => {
3490
3402
  return {
3491
3403
  EnabledInBroker: (0, smithy_client_1.expectBoolean)(output.enabledInBroker),
3492
3404
  };
3493
3405
  };
3494
- const deserializeAws_restJson1NodeExporterInfo = (output, context) => {
3406
+ const de_NodeExporterInfo = (output, context) => {
3495
3407
  return {
3496
3408
  EnabledInBroker: (0, smithy_client_1.expectBoolean)(output.enabledInBroker),
3497
3409
  };
3498
3410
  };
3499
- const deserializeAws_restJson1NodeInfo = (output, context) => {
3411
+ const de_NodeInfo = (output, context) => {
3500
3412
  return {
3501
3413
  AddedToClusterTime: (0, smithy_client_1.expectString)(output.addedToClusterTime),
3502
- BrokerNodeInfo: output.brokerNodeInfo != null
3503
- ? deserializeAws_restJson1BrokerNodeInfo(output.brokerNodeInfo, context)
3504
- : undefined,
3414
+ BrokerNodeInfo: output.brokerNodeInfo != null ? de_BrokerNodeInfo(output.brokerNodeInfo, context) : undefined,
3505
3415
  InstanceType: (0, smithy_client_1.expectString)(output.instanceType),
3506
3416
  NodeARN: (0, smithy_client_1.expectString)(output.nodeARN),
3507
3417
  NodeType: (0, smithy_client_1.expectString)(output.nodeType),
3508
- ZookeeperNodeInfo: output.zookeeperNodeInfo != null
3509
- ? deserializeAws_restJson1ZookeeperNodeInfo(output.zookeeperNodeInfo, context)
3510
- : undefined,
3418
+ ZookeeperNodeInfo: output.zookeeperNodeInfo != null ? de_ZookeeperNodeInfo(output.zookeeperNodeInfo, context) : undefined,
3511
3419
  };
3512
3420
  };
3513
- const deserializeAws_restJson1OpenMonitoring = (output, context) => {
3421
+ const de_OpenMonitoring = (output, context) => {
3514
3422
  return {
3515
- Prometheus: output.prometheus != null ? deserializeAws_restJson1Prometheus(output.prometheus, context) : undefined,
3423
+ Prometheus: output.prometheus != null ? de_Prometheus(output.prometheus, context) : undefined,
3516
3424
  };
3517
3425
  };
3518
- const deserializeAws_restJson1OpenMonitoringInfo = (output, context) => {
3426
+ const de_OpenMonitoringInfo = (output, context) => {
3519
3427
  return {
3520
- Prometheus: output.prometheus != null ? deserializeAws_restJson1PrometheusInfo(output.prometheus, context) : undefined,
3428
+ Prometheus: output.prometheus != null ? de_PrometheusInfo(output.prometheus, context) : undefined,
3521
3429
  };
3522
3430
  };
3523
- const deserializeAws_restJson1Prometheus = (output, context) => {
3431
+ const de_Prometheus = (output, context) => {
3524
3432
  return {
3525
- JmxExporter: output.jmxExporter != null ? deserializeAws_restJson1JmxExporter(output.jmxExporter, context) : undefined,
3526
- NodeExporter: output.nodeExporter != null ? deserializeAws_restJson1NodeExporter(output.nodeExporter, context) : undefined,
3433
+ JmxExporter: output.jmxExporter != null ? de_JmxExporter(output.jmxExporter, context) : undefined,
3434
+ NodeExporter: output.nodeExporter != null ? de_NodeExporter(output.nodeExporter, context) : undefined,
3527
3435
  };
3528
3436
  };
3529
- const deserializeAws_restJson1PrometheusInfo = (output, context) => {
3437
+ const de_PrometheusInfo = (output, context) => {
3530
3438
  return {
3531
- JmxExporter: output.jmxExporter != null ? deserializeAws_restJson1JmxExporterInfo(output.jmxExporter, context) : undefined,
3532
- NodeExporter: output.nodeExporter != null ? deserializeAws_restJson1NodeExporterInfo(output.nodeExporter, context) : undefined,
3439
+ JmxExporter: output.jmxExporter != null ? de_JmxExporterInfo(output.jmxExporter, context) : undefined,
3440
+ NodeExporter: output.nodeExporter != null ? de_NodeExporterInfo(output.nodeExporter, context) : undefined,
3533
3441
  };
3534
3442
  };
3535
- const deserializeAws_restJson1Provisioned = (output, context) => {
3443
+ const de_Provisioned = (output, context) => {
3536
3444
  return {
3537
- BrokerNodeGroupInfo: output.brokerNodeGroupInfo != null
3538
- ? deserializeAws_restJson1BrokerNodeGroupInfo(output.brokerNodeGroupInfo, context)
3539
- : undefined,
3540
- ClientAuthentication: output.clientAuthentication != null
3541
- ? deserializeAws_restJson1ClientAuthentication(output.clientAuthentication, context)
3542
- : undefined,
3445
+ BrokerNodeGroupInfo: output.brokerNodeGroupInfo != null ? de_BrokerNodeGroupInfo(output.brokerNodeGroupInfo, context) : undefined,
3446
+ ClientAuthentication: output.clientAuthentication != null ? de_ClientAuthentication(output.clientAuthentication, context) : undefined,
3543
3447
  CurrentBrokerSoftwareInfo: output.currentBrokerSoftwareInfo != null
3544
- ? deserializeAws_restJson1BrokerSoftwareInfo(output.currentBrokerSoftwareInfo, context)
3545
- : undefined,
3546
- EncryptionInfo: output.encryptionInfo != null
3547
- ? deserializeAws_restJson1EncryptionInfo(output.encryptionInfo, context)
3448
+ ? de_BrokerSoftwareInfo(output.currentBrokerSoftwareInfo, context)
3548
3449
  : undefined,
3450
+ EncryptionInfo: output.encryptionInfo != null ? de_EncryptionInfo(output.encryptionInfo, context) : undefined,
3549
3451
  EnhancedMonitoring: (0, smithy_client_1.expectString)(output.enhancedMonitoring),
3550
- LoggingInfo: output.loggingInfo != null ? deserializeAws_restJson1LoggingInfo(output.loggingInfo, context) : undefined,
3452
+ LoggingInfo: output.loggingInfo != null ? de_LoggingInfo(output.loggingInfo, context) : undefined,
3551
3453
  NumberOfBrokerNodes: (0, smithy_client_1.expectInt32)(output.numberOfBrokerNodes),
3552
- OpenMonitoring: output.openMonitoring != null
3553
- ? deserializeAws_restJson1OpenMonitoringInfo(output.openMonitoring, context)
3554
- : undefined,
3454
+ OpenMonitoring: output.openMonitoring != null ? de_OpenMonitoringInfo(output.openMonitoring, context) : undefined,
3555
3455
  StorageMode: (0, smithy_client_1.expectString)(output.storageMode),
3556
3456
  ZookeeperConnectString: (0, smithy_client_1.expectString)(output.zookeeperConnectString),
3557
3457
  ZookeeperConnectStringTls: (0, smithy_client_1.expectString)(output.zookeeperConnectStringTls),
3558
3458
  };
3559
3459
  };
3560
- const deserializeAws_restJson1ProvisionedThroughput = (output, context) => {
3460
+ const de_ProvisionedThroughput = (output, context) => {
3561
3461
  return {
3562
3462
  Enabled: (0, smithy_client_1.expectBoolean)(output.enabled),
3563
3463
  VolumeThroughput: (0, smithy_client_1.expectInt32)(output.volumeThroughput),
3564
3464
  };
3565
3465
  };
3566
- const deserializeAws_restJson1PublicAccess = (output, context) => {
3466
+ const de_PublicAccess = (output, context) => {
3567
3467
  return {
3568
3468
  Type: (0, smithy_client_1.expectString)(output.type),
3569
3469
  };
3570
3470
  };
3571
- const deserializeAws_restJson1S3 = (output, context) => {
3471
+ const de_S3 = (output, context) => {
3572
3472
  return {
3573
3473
  Bucket: (0, smithy_client_1.expectString)(output.bucket),
3574
3474
  Enabled: (0, smithy_client_1.expectBoolean)(output.enabled),
3575
3475
  Prefix: (0, smithy_client_1.expectString)(output.prefix),
3576
3476
  };
3577
3477
  };
3578
- const deserializeAws_restJson1Sasl = (output, context) => {
3478
+ const de_Sasl = (output, context) => {
3579
3479
  return {
3580
- Iam: output.iam != null ? deserializeAws_restJson1Iam(output.iam, context) : undefined,
3581
- Scram: output.scram != null ? deserializeAws_restJson1Scram(output.scram, context) : undefined,
3480
+ Iam: output.iam != null ? de_Iam(output.iam, context) : undefined,
3481
+ Scram: output.scram != null ? de_Scram(output.scram, context) : undefined,
3582
3482
  };
3583
3483
  };
3584
- const deserializeAws_restJson1Scram = (output, context) => {
3484
+ const de_Scram = (output, context) => {
3585
3485
  return {
3586
3486
  Enabled: (0, smithy_client_1.expectBoolean)(output.enabled),
3587
3487
  };
3588
3488
  };
3589
- const deserializeAws_restJson1Serverless = (output, context) => {
3489
+ const de_Serverless = (output, context) => {
3590
3490
  return {
3591
3491
  ClientAuthentication: output.clientAuthentication != null
3592
- ? deserializeAws_restJson1ServerlessClientAuthentication(output.clientAuthentication, context)
3492
+ ? de_ServerlessClientAuthentication(output.clientAuthentication, context)
3593
3493
  : undefined,
3594
- VpcConfigs: output.vpcConfigs != null ? deserializeAws_restJson1__listOfVpcConfig(output.vpcConfigs, context) : undefined,
3494
+ VpcConfigs: output.vpcConfigs != null ? de___listOfVpcConfig(output.vpcConfigs, context) : undefined,
3595
3495
  };
3596
3496
  };
3597
- const deserializeAws_restJson1ServerlessClientAuthentication = (output, context) => {
3497
+ const de_ServerlessClientAuthentication = (output, context) => {
3598
3498
  return {
3599
- Sasl: output.sasl != null ? deserializeAws_restJson1ServerlessSasl(output.sasl, context) : undefined,
3499
+ Sasl: output.sasl != null ? de_ServerlessSasl(output.sasl, context) : undefined,
3600
3500
  };
3601
3501
  };
3602
- const deserializeAws_restJson1ServerlessSasl = (output, context) => {
3502
+ const de_ServerlessSasl = (output, context) => {
3603
3503
  return {
3604
- Iam: output.iam != null ? deserializeAws_restJson1Iam(output.iam, context) : undefined,
3504
+ Iam: output.iam != null ? de_Iam(output.iam, context) : undefined,
3605
3505
  };
3606
3506
  };
3607
- const deserializeAws_restJson1StateInfo = (output, context) => {
3507
+ const de_StateInfo = (output, context) => {
3608
3508
  return {
3609
3509
  Code: (0, smithy_client_1.expectString)(output.code),
3610
3510
  Message: (0, smithy_client_1.expectString)(output.message),
3611
3511
  };
3612
3512
  };
3613
- const deserializeAws_restJson1StorageInfo = (output, context) => {
3513
+ const de_StorageInfo = (output, context) => {
3614
3514
  return {
3615
- EbsStorageInfo: output.ebsStorageInfo != null
3616
- ? deserializeAws_restJson1EBSStorageInfo(output.ebsStorageInfo, context)
3617
- : undefined,
3515
+ EbsStorageInfo: output.ebsStorageInfo != null ? de_EBSStorageInfo(output.ebsStorageInfo, context) : undefined,
3618
3516
  };
3619
3517
  };
3620
- const deserializeAws_restJson1Tls = (output, context) => {
3518
+ const de_Tls = (output, context) => {
3621
3519
  return {
3622
3520
  CertificateAuthorityArnList: output.certificateAuthorityArnList != null
3623
- ? deserializeAws_restJson1__listOf__string(output.certificateAuthorityArnList, context)
3521
+ ? de___listOf__string(output.certificateAuthorityArnList, context)
3624
3522
  : undefined,
3625
3523
  Enabled: (0, smithy_client_1.expectBoolean)(output.enabled),
3626
3524
  };
3627
3525
  };
3628
- const deserializeAws_restJson1Unauthenticated = (output, context) => {
3526
+ const de_Unauthenticated = (output, context) => {
3629
3527
  return {
3630
3528
  Enabled: (0, smithy_client_1.expectBoolean)(output.enabled),
3631
3529
  };
3632
3530
  };
3633
- const deserializeAws_restJson1UnprocessedScramSecret = (output, context) => {
3531
+ const de_UnprocessedScramSecret = (output, context) => {
3634
3532
  return {
3635
3533
  ErrorCode: (0, smithy_client_1.expectString)(output.errorCode),
3636
3534
  ErrorMessage: (0, smithy_client_1.expectString)(output.errorMessage),
3637
3535
  SecretArn: (0, smithy_client_1.expectString)(output.secretArn),
3638
3536
  };
3639
3537
  };
3640
- const deserializeAws_restJson1VpcConfig = (output, context) => {
3538
+ const de_VpcConfig = (output, context) => {
3641
3539
  return {
3642
- SecurityGroupIds: output.securityGroupIds != null
3643
- ? deserializeAws_restJson1__listOf__string(output.securityGroupIds, context)
3644
- : undefined,
3645
- SubnetIds: output.subnetIds != null ? deserializeAws_restJson1__listOf__string(output.subnetIds, context) : undefined,
3540
+ SecurityGroupIds: output.securityGroupIds != null ? de___listOf__string(output.securityGroupIds, context) : undefined,
3541
+ SubnetIds: output.subnetIds != null ? de___listOf__string(output.subnetIds, context) : undefined,
3646
3542
  };
3647
3543
  };
3648
- const deserializeAws_restJson1ZookeeperNodeInfo = (output, context) => {
3544
+ const de_ZookeeperNodeInfo = (output, context) => {
3649
3545
  return {
3650
3546
  AttachedENIId: (0, smithy_client_1.expectString)(output.attachedENIId),
3651
3547
  ClientVpcIpAddress: (0, smithy_client_1.expectString)(output.clientVpcIpAddress),
3652
- Endpoints: output.endpoints != null ? deserializeAws_restJson1__listOf__string(output.endpoints, context) : undefined,
3548
+ Endpoints: output.endpoints != null ? de___listOf__string(output.endpoints, context) : undefined,
3653
3549
  ZookeeperId: (0, smithy_client_1.limitedParseDouble)(output.zookeeperId),
3654
3550
  ZookeeperVersion: (0, smithy_client_1.expectString)(output.zookeeperVersion),
3655
3551
  };