@aws-sdk/client-redshift-serverless 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 (85) hide show
  1. package/dist-cjs/commands/ConvertRecoveryPointToSnapshotCommand.js +2 -2
  2. package/dist-cjs/commands/CreateEndpointAccessCommand.js +2 -2
  3. package/dist-cjs/commands/CreateNamespaceCommand.js +2 -2
  4. package/dist-cjs/commands/CreateSnapshotCommand.js +2 -2
  5. package/dist-cjs/commands/CreateUsageLimitCommand.js +2 -2
  6. package/dist-cjs/commands/CreateWorkgroupCommand.js +2 -2
  7. package/dist-cjs/commands/DeleteEndpointAccessCommand.js +2 -2
  8. package/dist-cjs/commands/DeleteNamespaceCommand.js +2 -2
  9. package/dist-cjs/commands/DeleteResourcePolicyCommand.js +2 -2
  10. package/dist-cjs/commands/DeleteSnapshotCommand.js +2 -2
  11. package/dist-cjs/commands/DeleteUsageLimitCommand.js +2 -2
  12. package/dist-cjs/commands/DeleteWorkgroupCommand.js +2 -2
  13. package/dist-cjs/commands/GetCredentialsCommand.js +2 -2
  14. package/dist-cjs/commands/GetEndpointAccessCommand.js +2 -2
  15. package/dist-cjs/commands/GetNamespaceCommand.js +2 -2
  16. package/dist-cjs/commands/GetRecoveryPointCommand.js +2 -2
  17. package/dist-cjs/commands/GetResourcePolicyCommand.js +2 -2
  18. package/dist-cjs/commands/GetSnapshotCommand.js +2 -2
  19. package/dist-cjs/commands/GetTableRestoreStatusCommand.js +2 -2
  20. package/dist-cjs/commands/GetUsageLimitCommand.js +2 -2
  21. package/dist-cjs/commands/GetWorkgroupCommand.js +2 -2
  22. package/dist-cjs/commands/ListEndpointAccessCommand.js +2 -2
  23. package/dist-cjs/commands/ListNamespacesCommand.js +2 -2
  24. package/dist-cjs/commands/ListRecoveryPointsCommand.js +2 -2
  25. package/dist-cjs/commands/ListSnapshotsCommand.js +2 -2
  26. package/dist-cjs/commands/ListTableRestoreStatusCommand.js +2 -2
  27. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
  28. package/dist-cjs/commands/ListUsageLimitsCommand.js +2 -2
  29. package/dist-cjs/commands/ListWorkgroupsCommand.js +2 -2
  30. package/dist-cjs/commands/PutResourcePolicyCommand.js +2 -2
  31. package/dist-cjs/commands/RestoreFromRecoveryPointCommand.js +2 -2
  32. package/dist-cjs/commands/RestoreFromSnapshotCommand.js +2 -2
  33. package/dist-cjs/commands/RestoreTableFromSnapshotCommand.js +2 -2
  34. package/dist-cjs/commands/TagResourceCommand.js +2 -2
  35. package/dist-cjs/commands/UntagResourceCommand.js +2 -2
  36. package/dist-cjs/commands/UpdateEndpointAccessCommand.js +2 -2
  37. package/dist-cjs/commands/UpdateNamespaceCommand.js +2 -2
  38. package/dist-cjs/commands/UpdateSnapshotCommand.js +2 -2
  39. package/dist-cjs/commands/UpdateUsageLimitCommand.js +2 -2
  40. package/dist-cjs/commands/UpdateWorkgroupCommand.js +2 -2
  41. package/dist-cjs/protocols/Aws_json1_1.js +714 -728
  42. package/dist-es/commands/ConvertRecoveryPointToSnapshotCommand.js +3 -3
  43. package/dist-es/commands/CreateEndpointAccessCommand.js +3 -3
  44. package/dist-es/commands/CreateNamespaceCommand.js +3 -3
  45. package/dist-es/commands/CreateSnapshotCommand.js +3 -3
  46. package/dist-es/commands/CreateUsageLimitCommand.js +3 -3
  47. package/dist-es/commands/CreateWorkgroupCommand.js +3 -3
  48. package/dist-es/commands/DeleteEndpointAccessCommand.js +3 -3
  49. package/dist-es/commands/DeleteNamespaceCommand.js +3 -3
  50. package/dist-es/commands/DeleteResourcePolicyCommand.js +3 -3
  51. package/dist-es/commands/DeleteSnapshotCommand.js +3 -3
  52. package/dist-es/commands/DeleteUsageLimitCommand.js +3 -3
  53. package/dist-es/commands/DeleteWorkgroupCommand.js +3 -3
  54. package/dist-es/commands/GetCredentialsCommand.js +3 -3
  55. package/dist-es/commands/GetEndpointAccessCommand.js +3 -3
  56. package/dist-es/commands/GetNamespaceCommand.js +3 -3
  57. package/dist-es/commands/GetRecoveryPointCommand.js +3 -3
  58. package/dist-es/commands/GetResourcePolicyCommand.js +3 -3
  59. package/dist-es/commands/GetSnapshotCommand.js +3 -3
  60. package/dist-es/commands/GetTableRestoreStatusCommand.js +3 -3
  61. package/dist-es/commands/GetUsageLimitCommand.js +3 -3
  62. package/dist-es/commands/GetWorkgroupCommand.js +3 -3
  63. package/dist-es/commands/ListEndpointAccessCommand.js +3 -3
  64. package/dist-es/commands/ListNamespacesCommand.js +3 -3
  65. package/dist-es/commands/ListRecoveryPointsCommand.js +3 -3
  66. package/dist-es/commands/ListSnapshotsCommand.js +3 -3
  67. package/dist-es/commands/ListTableRestoreStatusCommand.js +3 -3
  68. package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  69. package/dist-es/commands/ListUsageLimitsCommand.js +3 -3
  70. package/dist-es/commands/ListWorkgroupsCommand.js +3 -3
  71. package/dist-es/commands/PutResourcePolicyCommand.js +3 -3
  72. package/dist-es/commands/RestoreFromRecoveryPointCommand.js +3 -3
  73. package/dist-es/commands/RestoreFromSnapshotCommand.js +3 -3
  74. package/dist-es/commands/RestoreTableFromSnapshotCommand.js +3 -3
  75. package/dist-es/commands/TagResourceCommand.js +3 -3
  76. package/dist-es/commands/UntagResourceCommand.js +3 -3
  77. package/dist-es/commands/UpdateEndpointAccessCommand.js +3 -3
  78. package/dist-es/commands/UpdateNamespaceCommand.js +3 -3
  79. package/dist-es/commands/UpdateSnapshotCommand.js +3 -3
  80. package/dist-es/commands/UpdateUsageLimitCommand.js +3 -3
  81. package/dist-es/commands/UpdateWorkgroupCommand.js +3 -3
  82. package/dist-es/protocols/Aws_json1_1.js +632 -646
  83. package/dist-types/protocols/Aws_json1_1.d.ts +320 -80
  84. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +80 -80
  85. package/package.json +29 -29
@@ -2,380 +2,380 @@ import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
2
2
  import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, limitedParseDouble as __limitedParseDouble, parseEpochTimestamp as __parseEpochTimestamp, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, throwDefaultError, } from "@aws-sdk/smithy-client";
3
3
  import { AccessDeniedException, ConflictException, InsufficientCapacityException, InternalServerException, InvalidPaginationException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, TooManyTagsException, ValidationException, } from "../models/models_0";
4
4
  import { RedshiftServerlessServiceException as __BaseException } from "../models/RedshiftServerlessServiceException";
5
- export const serializeAws_json1_1ConvertRecoveryPointToSnapshotCommand = async (input, context) => {
5
+ export const se_ConvertRecoveryPointToSnapshotCommand = async (input, context) => {
6
6
  const headers = {
7
7
  "content-type": "application/x-amz-json-1.1",
8
8
  "x-amz-target": "RedshiftServerless.ConvertRecoveryPointToSnapshot",
9
9
  };
10
10
  let body;
11
- body = JSON.stringify(serializeAws_json1_1ConvertRecoveryPointToSnapshotRequest(input, context));
11
+ body = JSON.stringify(se_ConvertRecoveryPointToSnapshotRequest(input, context));
12
12
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
13
13
  };
14
- export const serializeAws_json1_1CreateEndpointAccessCommand = async (input, context) => {
14
+ export const se_CreateEndpointAccessCommand = async (input, context) => {
15
15
  const headers = {
16
16
  "content-type": "application/x-amz-json-1.1",
17
17
  "x-amz-target": "RedshiftServerless.CreateEndpointAccess",
18
18
  };
19
19
  let body;
20
- body = JSON.stringify(serializeAws_json1_1CreateEndpointAccessRequest(input, context));
20
+ body = JSON.stringify(se_CreateEndpointAccessRequest(input, context));
21
21
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
22
22
  };
23
- export const serializeAws_json1_1CreateNamespaceCommand = async (input, context) => {
23
+ export const se_CreateNamespaceCommand = async (input, context) => {
24
24
  const headers = {
25
25
  "content-type": "application/x-amz-json-1.1",
26
26
  "x-amz-target": "RedshiftServerless.CreateNamespace",
27
27
  };
28
28
  let body;
29
- body = JSON.stringify(serializeAws_json1_1CreateNamespaceRequest(input, context));
29
+ body = JSON.stringify(se_CreateNamespaceRequest(input, context));
30
30
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
31
31
  };
32
- export const serializeAws_json1_1CreateSnapshotCommand = async (input, context) => {
32
+ export const se_CreateSnapshotCommand = async (input, context) => {
33
33
  const headers = {
34
34
  "content-type": "application/x-amz-json-1.1",
35
35
  "x-amz-target": "RedshiftServerless.CreateSnapshot",
36
36
  };
37
37
  let body;
38
- body = JSON.stringify(serializeAws_json1_1CreateSnapshotRequest(input, context));
38
+ body = JSON.stringify(se_CreateSnapshotRequest(input, context));
39
39
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
40
40
  };
41
- export const serializeAws_json1_1CreateUsageLimitCommand = async (input, context) => {
41
+ export const se_CreateUsageLimitCommand = async (input, context) => {
42
42
  const headers = {
43
43
  "content-type": "application/x-amz-json-1.1",
44
44
  "x-amz-target": "RedshiftServerless.CreateUsageLimit",
45
45
  };
46
46
  let body;
47
- body = JSON.stringify(serializeAws_json1_1CreateUsageLimitRequest(input, context));
47
+ body = JSON.stringify(se_CreateUsageLimitRequest(input, context));
48
48
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
49
49
  };
50
- export const serializeAws_json1_1CreateWorkgroupCommand = async (input, context) => {
50
+ export const se_CreateWorkgroupCommand = async (input, context) => {
51
51
  const headers = {
52
52
  "content-type": "application/x-amz-json-1.1",
53
53
  "x-amz-target": "RedshiftServerless.CreateWorkgroup",
54
54
  };
55
55
  let body;
56
- body = JSON.stringify(serializeAws_json1_1CreateWorkgroupRequest(input, context));
56
+ body = JSON.stringify(se_CreateWorkgroupRequest(input, context));
57
57
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
58
58
  };
59
- export const serializeAws_json1_1DeleteEndpointAccessCommand = async (input, context) => {
59
+ export const se_DeleteEndpointAccessCommand = async (input, context) => {
60
60
  const headers = {
61
61
  "content-type": "application/x-amz-json-1.1",
62
62
  "x-amz-target": "RedshiftServerless.DeleteEndpointAccess",
63
63
  };
64
64
  let body;
65
- body = JSON.stringify(serializeAws_json1_1DeleteEndpointAccessRequest(input, context));
65
+ body = JSON.stringify(se_DeleteEndpointAccessRequest(input, context));
66
66
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
67
67
  };
68
- export const serializeAws_json1_1DeleteNamespaceCommand = async (input, context) => {
68
+ export const se_DeleteNamespaceCommand = async (input, context) => {
69
69
  const headers = {
70
70
  "content-type": "application/x-amz-json-1.1",
71
71
  "x-amz-target": "RedshiftServerless.DeleteNamespace",
72
72
  };
73
73
  let body;
74
- body = JSON.stringify(serializeAws_json1_1DeleteNamespaceRequest(input, context));
74
+ body = JSON.stringify(se_DeleteNamespaceRequest(input, context));
75
75
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
76
76
  };
77
- export const serializeAws_json1_1DeleteResourcePolicyCommand = async (input, context) => {
77
+ export const se_DeleteResourcePolicyCommand = async (input, context) => {
78
78
  const headers = {
79
79
  "content-type": "application/x-amz-json-1.1",
80
80
  "x-amz-target": "RedshiftServerless.DeleteResourcePolicy",
81
81
  };
82
82
  let body;
83
- body = JSON.stringify(serializeAws_json1_1DeleteResourcePolicyRequest(input, context));
83
+ body = JSON.stringify(se_DeleteResourcePolicyRequest(input, context));
84
84
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
85
85
  };
86
- export const serializeAws_json1_1DeleteSnapshotCommand = async (input, context) => {
86
+ export const se_DeleteSnapshotCommand = async (input, context) => {
87
87
  const headers = {
88
88
  "content-type": "application/x-amz-json-1.1",
89
89
  "x-amz-target": "RedshiftServerless.DeleteSnapshot",
90
90
  };
91
91
  let body;
92
- body = JSON.stringify(serializeAws_json1_1DeleteSnapshotRequest(input, context));
92
+ body = JSON.stringify(se_DeleteSnapshotRequest(input, context));
93
93
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
94
94
  };
95
- export const serializeAws_json1_1DeleteUsageLimitCommand = async (input, context) => {
95
+ export const se_DeleteUsageLimitCommand = async (input, context) => {
96
96
  const headers = {
97
97
  "content-type": "application/x-amz-json-1.1",
98
98
  "x-amz-target": "RedshiftServerless.DeleteUsageLimit",
99
99
  };
100
100
  let body;
101
- body = JSON.stringify(serializeAws_json1_1DeleteUsageLimitRequest(input, context));
101
+ body = JSON.stringify(se_DeleteUsageLimitRequest(input, context));
102
102
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
103
103
  };
104
- export const serializeAws_json1_1DeleteWorkgroupCommand = async (input, context) => {
104
+ export const se_DeleteWorkgroupCommand = async (input, context) => {
105
105
  const headers = {
106
106
  "content-type": "application/x-amz-json-1.1",
107
107
  "x-amz-target": "RedshiftServerless.DeleteWorkgroup",
108
108
  };
109
109
  let body;
110
- body = JSON.stringify(serializeAws_json1_1DeleteWorkgroupRequest(input, context));
110
+ body = JSON.stringify(se_DeleteWorkgroupRequest(input, context));
111
111
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
112
112
  };
113
- export const serializeAws_json1_1GetCredentialsCommand = async (input, context) => {
113
+ export const se_GetCredentialsCommand = async (input, context) => {
114
114
  const headers = {
115
115
  "content-type": "application/x-amz-json-1.1",
116
116
  "x-amz-target": "RedshiftServerless.GetCredentials",
117
117
  };
118
118
  let body;
119
- body = JSON.stringify(serializeAws_json1_1GetCredentialsRequest(input, context));
119
+ body = JSON.stringify(se_GetCredentialsRequest(input, context));
120
120
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
121
121
  };
122
- export const serializeAws_json1_1GetEndpointAccessCommand = async (input, context) => {
122
+ export const se_GetEndpointAccessCommand = async (input, context) => {
123
123
  const headers = {
124
124
  "content-type": "application/x-amz-json-1.1",
125
125
  "x-amz-target": "RedshiftServerless.GetEndpointAccess",
126
126
  };
127
127
  let body;
128
- body = JSON.stringify(serializeAws_json1_1GetEndpointAccessRequest(input, context));
128
+ body = JSON.stringify(se_GetEndpointAccessRequest(input, context));
129
129
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
130
130
  };
131
- export const serializeAws_json1_1GetNamespaceCommand = async (input, context) => {
131
+ export const se_GetNamespaceCommand = async (input, context) => {
132
132
  const headers = {
133
133
  "content-type": "application/x-amz-json-1.1",
134
134
  "x-amz-target": "RedshiftServerless.GetNamespace",
135
135
  };
136
136
  let body;
137
- body = JSON.stringify(serializeAws_json1_1GetNamespaceRequest(input, context));
137
+ body = JSON.stringify(se_GetNamespaceRequest(input, context));
138
138
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
139
139
  };
140
- export const serializeAws_json1_1GetRecoveryPointCommand = async (input, context) => {
140
+ export const se_GetRecoveryPointCommand = async (input, context) => {
141
141
  const headers = {
142
142
  "content-type": "application/x-amz-json-1.1",
143
143
  "x-amz-target": "RedshiftServerless.GetRecoveryPoint",
144
144
  };
145
145
  let body;
146
- body = JSON.stringify(serializeAws_json1_1GetRecoveryPointRequest(input, context));
146
+ body = JSON.stringify(se_GetRecoveryPointRequest(input, context));
147
147
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
148
148
  };
149
- export const serializeAws_json1_1GetResourcePolicyCommand = async (input, context) => {
149
+ export const se_GetResourcePolicyCommand = async (input, context) => {
150
150
  const headers = {
151
151
  "content-type": "application/x-amz-json-1.1",
152
152
  "x-amz-target": "RedshiftServerless.GetResourcePolicy",
153
153
  };
154
154
  let body;
155
- body = JSON.stringify(serializeAws_json1_1GetResourcePolicyRequest(input, context));
155
+ body = JSON.stringify(se_GetResourcePolicyRequest(input, context));
156
156
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
157
157
  };
158
- export const serializeAws_json1_1GetSnapshotCommand = async (input, context) => {
158
+ export const se_GetSnapshotCommand = async (input, context) => {
159
159
  const headers = {
160
160
  "content-type": "application/x-amz-json-1.1",
161
161
  "x-amz-target": "RedshiftServerless.GetSnapshot",
162
162
  };
163
163
  let body;
164
- body = JSON.stringify(serializeAws_json1_1GetSnapshotRequest(input, context));
164
+ body = JSON.stringify(se_GetSnapshotRequest(input, context));
165
165
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
166
166
  };
167
- export const serializeAws_json1_1GetTableRestoreStatusCommand = async (input, context) => {
167
+ export const se_GetTableRestoreStatusCommand = async (input, context) => {
168
168
  const headers = {
169
169
  "content-type": "application/x-amz-json-1.1",
170
170
  "x-amz-target": "RedshiftServerless.GetTableRestoreStatus",
171
171
  };
172
172
  let body;
173
- body = JSON.stringify(serializeAws_json1_1GetTableRestoreStatusRequest(input, context));
173
+ body = JSON.stringify(se_GetTableRestoreStatusRequest(input, context));
174
174
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
175
175
  };
176
- export const serializeAws_json1_1GetUsageLimitCommand = async (input, context) => {
176
+ export const se_GetUsageLimitCommand = async (input, context) => {
177
177
  const headers = {
178
178
  "content-type": "application/x-amz-json-1.1",
179
179
  "x-amz-target": "RedshiftServerless.GetUsageLimit",
180
180
  };
181
181
  let body;
182
- body = JSON.stringify(serializeAws_json1_1GetUsageLimitRequest(input, context));
182
+ body = JSON.stringify(se_GetUsageLimitRequest(input, context));
183
183
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
184
184
  };
185
- export const serializeAws_json1_1GetWorkgroupCommand = async (input, context) => {
185
+ export const se_GetWorkgroupCommand = async (input, context) => {
186
186
  const headers = {
187
187
  "content-type": "application/x-amz-json-1.1",
188
188
  "x-amz-target": "RedshiftServerless.GetWorkgroup",
189
189
  };
190
190
  let body;
191
- body = JSON.stringify(serializeAws_json1_1GetWorkgroupRequest(input, context));
191
+ body = JSON.stringify(se_GetWorkgroupRequest(input, context));
192
192
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
193
193
  };
194
- export const serializeAws_json1_1ListEndpointAccessCommand = async (input, context) => {
194
+ export const se_ListEndpointAccessCommand = async (input, context) => {
195
195
  const headers = {
196
196
  "content-type": "application/x-amz-json-1.1",
197
197
  "x-amz-target": "RedshiftServerless.ListEndpointAccess",
198
198
  };
199
199
  let body;
200
- body = JSON.stringify(serializeAws_json1_1ListEndpointAccessRequest(input, context));
200
+ body = JSON.stringify(se_ListEndpointAccessRequest(input, context));
201
201
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
202
202
  };
203
- export const serializeAws_json1_1ListNamespacesCommand = async (input, context) => {
203
+ export const se_ListNamespacesCommand = async (input, context) => {
204
204
  const headers = {
205
205
  "content-type": "application/x-amz-json-1.1",
206
206
  "x-amz-target": "RedshiftServerless.ListNamespaces",
207
207
  };
208
208
  let body;
209
- body = JSON.stringify(serializeAws_json1_1ListNamespacesRequest(input, context));
209
+ body = JSON.stringify(se_ListNamespacesRequest(input, context));
210
210
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
211
211
  };
212
- export const serializeAws_json1_1ListRecoveryPointsCommand = async (input, context) => {
212
+ export const se_ListRecoveryPointsCommand = async (input, context) => {
213
213
  const headers = {
214
214
  "content-type": "application/x-amz-json-1.1",
215
215
  "x-amz-target": "RedshiftServerless.ListRecoveryPoints",
216
216
  };
217
217
  let body;
218
- body = JSON.stringify(serializeAws_json1_1ListRecoveryPointsRequest(input, context));
218
+ body = JSON.stringify(se_ListRecoveryPointsRequest(input, context));
219
219
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
220
220
  };
221
- export const serializeAws_json1_1ListSnapshotsCommand = async (input, context) => {
221
+ export const se_ListSnapshotsCommand = async (input, context) => {
222
222
  const headers = {
223
223
  "content-type": "application/x-amz-json-1.1",
224
224
  "x-amz-target": "RedshiftServerless.ListSnapshots",
225
225
  };
226
226
  let body;
227
- body = JSON.stringify(serializeAws_json1_1ListSnapshotsRequest(input, context));
227
+ body = JSON.stringify(se_ListSnapshotsRequest(input, context));
228
228
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
229
229
  };
230
- export const serializeAws_json1_1ListTableRestoreStatusCommand = async (input, context) => {
230
+ export const se_ListTableRestoreStatusCommand = async (input, context) => {
231
231
  const headers = {
232
232
  "content-type": "application/x-amz-json-1.1",
233
233
  "x-amz-target": "RedshiftServerless.ListTableRestoreStatus",
234
234
  };
235
235
  let body;
236
- body = JSON.stringify(serializeAws_json1_1ListTableRestoreStatusRequest(input, context));
236
+ body = JSON.stringify(se_ListTableRestoreStatusRequest(input, context));
237
237
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
238
238
  };
239
- export const serializeAws_json1_1ListTagsForResourceCommand = async (input, context) => {
239
+ export const se_ListTagsForResourceCommand = async (input, context) => {
240
240
  const headers = {
241
241
  "content-type": "application/x-amz-json-1.1",
242
242
  "x-amz-target": "RedshiftServerless.ListTagsForResource",
243
243
  };
244
244
  let body;
245
- body = JSON.stringify(serializeAws_json1_1ListTagsForResourceRequest(input, context));
245
+ body = JSON.stringify(se_ListTagsForResourceRequest(input, context));
246
246
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
247
247
  };
248
- export const serializeAws_json1_1ListUsageLimitsCommand = async (input, context) => {
248
+ export const se_ListUsageLimitsCommand = async (input, context) => {
249
249
  const headers = {
250
250
  "content-type": "application/x-amz-json-1.1",
251
251
  "x-amz-target": "RedshiftServerless.ListUsageLimits",
252
252
  };
253
253
  let body;
254
- body = JSON.stringify(serializeAws_json1_1ListUsageLimitsRequest(input, context));
254
+ body = JSON.stringify(se_ListUsageLimitsRequest(input, context));
255
255
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
256
256
  };
257
- export const serializeAws_json1_1ListWorkgroupsCommand = async (input, context) => {
257
+ export const se_ListWorkgroupsCommand = async (input, context) => {
258
258
  const headers = {
259
259
  "content-type": "application/x-amz-json-1.1",
260
260
  "x-amz-target": "RedshiftServerless.ListWorkgroups",
261
261
  };
262
262
  let body;
263
- body = JSON.stringify(serializeAws_json1_1ListWorkgroupsRequest(input, context));
263
+ body = JSON.stringify(se_ListWorkgroupsRequest(input, context));
264
264
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
265
265
  };
266
- export const serializeAws_json1_1PutResourcePolicyCommand = async (input, context) => {
266
+ export const se_PutResourcePolicyCommand = async (input, context) => {
267
267
  const headers = {
268
268
  "content-type": "application/x-amz-json-1.1",
269
269
  "x-amz-target": "RedshiftServerless.PutResourcePolicy",
270
270
  };
271
271
  let body;
272
- body = JSON.stringify(serializeAws_json1_1PutResourcePolicyRequest(input, context));
272
+ body = JSON.stringify(se_PutResourcePolicyRequest(input, context));
273
273
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
274
274
  };
275
- export const serializeAws_json1_1RestoreFromRecoveryPointCommand = async (input, context) => {
275
+ export const se_RestoreFromRecoveryPointCommand = async (input, context) => {
276
276
  const headers = {
277
277
  "content-type": "application/x-amz-json-1.1",
278
278
  "x-amz-target": "RedshiftServerless.RestoreFromRecoveryPoint",
279
279
  };
280
280
  let body;
281
- body = JSON.stringify(serializeAws_json1_1RestoreFromRecoveryPointRequest(input, context));
281
+ body = JSON.stringify(se_RestoreFromRecoveryPointRequest(input, context));
282
282
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
283
283
  };
284
- export const serializeAws_json1_1RestoreFromSnapshotCommand = async (input, context) => {
284
+ export const se_RestoreFromSnapshotCommand = async (input, context) => {
285
285
  const headers = {
286
286
  "content-type": "application/x-amz-json-1.1",
287
287
  "x-amz-target": "RedshiftServerless.RestoreFromSnapshot",
288
288
  };
289
289
  let body;
290
- body = JSON.stringify(serializeAws_json1_1RestoreFromSnapshotRequest(input, context));
290
+ body = JSON.stringify(se_RestoreFromSnapshotRequest(input, context));
291
291
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
292
292
  };
293
- export const serializeAws_json1_1RestoreTableFromSnapshotCommand = async (input, context) => {
293
+ export const se_RestoreTableFromSnapshotCommand = async (input, context) => {
294
294
  const headers = {
295
295
  "content-type": "application/x-amz-json-1.1",
296
296
  "x-amz-target": "RedshiftServerless.RestoreTableFromSnapshot",
297
297
  };
298
298
  let body;
299
- body = JSON.stringify(serializeAws_json1_1RestoreTableFromSnapshotRequest(input, context));
299
+ body = JSON.stringify(se_RestoreTableFromSnapshotRequest(input, context));
300
300
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
301
301
  };
302
- export const serializeAws_json1_1TagResourceCommand = async (input, context) => {
302
+ export const se_TagResourceCommand = async (input, context) => {
303
303
  const headers = {
304
304
  "content-type": "application/x-amz-json-1.1",
305
305
  "x-amz-target": "RedshiftServerless.TagResource",
306
306
  };
307
307
  let body;
308
- body = JSON.stringify(serializeAws_json1_1TagResourceRequest(input, context));
308
+ body = JSON.stringify(se_TagResourceRequest(input, context));
309
309
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
310
310
  };
311
- export const serializeAws_json1_1UntagResourceCommand = async (input, context) => {
311
+ export const se_UntagResourceCommand = async (input, context) => {
312
312
  const headers = {
313
313
  "content-type": "application/x-amz-json-1.1",
314
314
  "x-amz-target": "RedshiftServerless.UntagResource",
315
315
  };
316
316
  let body;
317
- body = JSON.stringify(serializeAws_json1_1UntagResourceRequest(input, context));
317
+ body = JSON.stringify(se_UntagResourceRequest(input, context));
318
318
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
319
319
  };
320
- export const serializeAws_json1_1UpdateEndpointAccessCommand = async (input, context) => {
320
+ export const se_UpdateEndpointAccessCommand = async (input, context) => {
321
321
  const headers = {
322
322
  "content-type": "application/x-amz-json-1.1",
323
323
  "x-amz-target": "RedshiftServerless.UpdateEndpointAccess",
324
324
  };
325
325
  let body;
326
- body = JSON.stringify(serializeAws_json1_1UpdateEndpointAccessRequest(input, context));
326
+ body = JSON.stringify(se_UpdateEndpointAccessRequest(input, context));
327
327
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
328
328
  };
329
- export const serializeAws_json1_1UpdateNamespaceCommand = async (input, context) => {
329
+ export const se_UpdateNamespaceCommand = async (input, context) => {
330
330
  const headers = {
331
331
  "content-type": "application/x-amz-json-1.1",
332
332
  "x-amz-target": "RedshiftServerless.UpdateNamespace",
333
333
  };
334
334
  let body;
335
- body = JSON.stringify(serializeAws_json1_1UpdateNamespaceRequest(input, context));
335
+ body = JSON.stringify(se_UpdateNamespaceRequest(input, context));
336
336
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
337
337
  };
338
- export const serializeAws_json1_1UpdateSnapshotCommand = async (input, context) => {
338
+ export const se_UpdateSnapshotCommand = async (input, context) => {
339
339
  const headers = {
340
340
  "content-type": "application/x-amz-json-1.1",
341
341
  "x-amz-target": "RedshiftServerless.UpdateSnapshot",
342
342
  };
343
343
  let body;
344
- body = JSON.stringify(serializeAws_json1_1UpdateSnapshotRequest(input, context));
344
+ body = JSON.stringify(se_UpdateSnapshotRequest(input, context));
345
345
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
346
346
  };
347
- export const serializeAws_json1_1UpdateUsageLimitCommand = async (input, context) => {
347
+ export const se_UpdateUsageLimitCommand = async (input, context) => {
348
348
  const headers = {
349
349
  "content-type": "application/x-amz-json-1.1",
350
350
  "x-amz-target": "RedshiftServerless.UpdateUsageLimit",
351
351
  };
352
352
  let body;
353
- body = JSON.stringify(serializeAws_json1_1UpdateUsageLimitRequest(input, context));
353
+ body = JSON.stringify(se_UpdateUsageLimitRequest(input, context));
354
354
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
355
355
  };
356
- export const serializeAws_json1_1UpdateWorkgroupCommand = async (input, context) => {
356
+ export const se_UpdateWorkgroupCommand = async (input, context) => {
357
357
  const headers = {
358
358
  "content-type": "application/x-amz-json-1.1",
359
359
  "x-amz-target": "RedshiftServerless.UpdateWorkgroup",
360
360
  };
361
361
  let body;
362
- body = JSON.stringify(serializeAws_json1_1UpdateWorkgroupRequest(input, context));
362
+ body = JSON.stringify(se_UpdateWorkgroupRequest(input, context));
363
363
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
364
364
  };
365
- export const deserializeAws_json1_1ConvertRecoveryPointToSnapshotCommand = async (output, context) => {
365
+ export const de_ConvertRecoveryPointToSnapshotCommand = async (output, context) => {
366
366
  if (output.statusCode >= 300) {
367
- return deserializeAws_json1_1ConvertRecoveryPointToSnapshotCommandError(output, context);
367
+ return de_ConvertRecoveryPointToSnapshotCommandError(output, context);
368
368
  }
369
369
  const data = await parseBody(output.body, context);
370
370
  let contents = {};
371
- contents = deserializeAws_json1_1ConvertRecoveryPointToSnapshotResponse(data, context);
371
+ contents = de_ConvertRecoveryPointToSnapshotResponse(data, context);
372
372
  const response = {
373
373
  $metadata: deserializeMetadata(output),
374
374
  ...contents,
375
375
  };
376
376
  return Promise.resolve(response);
377
377
  };
378
- const deserializeAws_json1_1ConvertRecoveryPointToSnapshotCommandError = async (output, context) => {
378
+ const de_ConvertRecoveryPointToSnapshotCommandError = async (output, context) => {
379
379
  const parsedOutput = {
380
380
  ...output,
381
381
  body: await parseErrorBody(output.body, context),
@@ -384,22 +384,22 @@ const deserializeAws_json1_1ConvertRecoveryPointToSnapshotCommandError = async (
384
384
  switch (errorCode) {
385
385
  case "ConflictException":
386
386
  case "com.amazonaws.redshiftserverless#ConflictException":
387
- throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
387
+ throw await de_ConflictExceptionRes(parsedOutput, context);
388
388
  case "InternalServerException":
389
389
  case "com.amazonaws.redshiftserverless#InternalServerException":
390
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
390
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
391
391
  case "ResourceNotFoundException":
392
392
  case "com.amazonaws.redshiftserverless#ResourceNotFoundException":
393
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
393
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
394
394
  case "ServiceQuotaExceededException":
395
395
  case "com.amazonaws.redshiftserverless#ServiceQuotaExceededException":
396
- throw await deserializeAws_json1_1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
396
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
397
397
  case "TooManyTagsException":
398
398
  case "com.amazonaws.redshiftserverless#TooManyTagsException":
399
- throw await deserializeAws_json1_1TooManyTagsExceptionResponse(parsedOutput, context);
399
+ throw await de_TooManyTagsExceptionRes(parsedOutput, context);
400
400
  case "ValidationException":
401
401
  case "com.amazonaws.redshiftserverless#ValidationException":
402
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
402
+ throw await de_ValidationExceptionRes(parsedOutput, context);
403
403
  default:
404
404
  const parsedBody = parsedOutput.body;
405
405
  throwDefaultError({
@@ -410,20 +410,20 @@ const deserializeAws_json1_1ConvertRecoveryPointToSnapshotCommandError = async (
410
410
  });
411
411
  }
412
412
  };
413
- export const deserializeAws_json1_1CreateEndpointAccessCommand = async (output, context) => {
413
+ export const de_CreateEndpointAccessCommand = async (output, context) => {
414
414
  if (output.statusCode >= 300) {
415
- return deserializeAws_json1_1CreateEndpointAccessCommandError(output, context);
415
+ return de_CreateEndpointAccessCommandError(output, context);
416
416
  }
417
417
  const data = await parseBody(output.body, context);
418
418
  let contents = {};
419
- contents = deserializeAws_json1_1CreateEndpointAccessResponse(data, context);
419
+ contents = de_CreateEndpointAccessResponse(data, context);
420
420
  const response = {
421
421
  $metadata: deserializeMetadata(output),
422
422
  ...contents,
423
423
  };
424
424
  return Promise.resolve(response);
425
425
  };
426
- const deserializeAws_json1_1CreateEndpointAccessCommandError = async (output, context) => {
426
+ const de_CreateEndpointAccessCommandError = async (output, context) => {
427
427
  const parsedOutput = {
428
428
  ...output,
429
429
  body: await parseErrorBody(output.body, context),
@@ -432,22 +432,22 @@ const deserializeAws_json1_1CreateEndpointAccessCommandError = async (output, co
432
432
  switch (errorCode) {
433
433
  case "AccessDeniedException":
434
434
  case "com.amazonaws.redshiftserverless#AccessDeniedException":
435
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
435
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
436
436
  case "ConflictException":
437
437
  case "com.amazonaws.redshiftserverless#ConflictException":
438
- throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
438
+ throw await de_ConflictExceptionRes(parsedOutput, context);
439
439
  case "InternalServerException":
440
440
  case "com.amazonaws.redshiftserverless#InternalServerException":
441
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
441
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
442
442
  case "ResourceNotFoundException":
443
443
  case "com.amazonaws.redshiftserverless#ResourceNotFoundException":
444
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
444
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
445
445
  case "ServiceQuotaExceededException":
446
446
  case "com.amazonaws.redshiftserverless#ServiceQuotaExceededException":
447
- throw await deserializeAws_json1_1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
447
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
448
448
  case "ValidationException":
449
449
  case "com.amazonaws.redshiftserverless#ValidationException":
450
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
450
+ throw await de_ValidationExceptionRes(parsedOutput, context);
451
451
  default:
452
452
  const parsedBody = parsedOutput.body;
453
453
  throwDefaultError({
@@ -458,20 +458,20 @@ const deserializeAws_json1_1CreateEndpointAccessCommandError = async (output, co
458
458
  });
459
459
  }
460
460
  };
461
- export const deserializeAws_json1_1CreateNamespaceCommand = async (output, context) => {
461
+ export const de_CreateNamespaceCommand = async (output, context) => {
462
462
  if (output.statusCode >= 300) {
463
- return deserializeAws_json1_1CreateNamespaceCommandError(output, context);
463
+ return de_CreateNamespaceCommandError(output, context);
464
464
  }
465
465
  const data = await parseBody(output.body, context);
466
466
  let contents = {};
467
- contents = deserializeAws_json1_1CreateNamespaceResponse(data, context);
467
+ contents = de_CreateNamespaceResponse(data, context);
468
468
  const response = {
469
469
  $metadata: deserializeMetadata(output),
470
470
  ...contents,
471
471
  };
472
472
  return Promise.resolve(response);
473
473
  };
474
- const deserializeAws_json1_1CreateNamespaceCommandError = async (output, context) => {
474
+ const de_CreateNamespaceCommandError = async (output, context) => {
475
475
  const parsedOutput = {
476
476
  ...output,
477
477
  body: await parseErrorBody(output.body, context),
@@ -480,16 +480,16 @@ const deserializeAws_json1_1CreateNamespaceCommandError = async (output, context
480
480
  switch (errorCode) {
481
481
  case "ConflictException":
482
482
  case "com.amazonaws.redshiftserverless#ConflictException":
483
- throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
483
+ throw await de_ConflictExceptionRes(parsedOutput, context);
484
484
  case "InternalServerException":
485
485
  case "com.amazonaws.redshiftserverless#InternalServerException":
486
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
486
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
487
487
  case "TooManyTagsException":
488
488
  case "com.amazonaws.redshiftserverless#TooManyTagsException":
489
- throw await deserializeAws_json1_1TooManyTagsExceptionResponse(parsedOutput, context);
489
+ throw await de_TooManyTagsExceptionRes(parsedOutput, context);
490
490
  case "ValidationException":
491
491
  case "com.amazonaws.redshiftserverless#ValidationException":
492
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
492
+ throw await de_ValidationExceptionRes(parsedOutput, context);
493
493
  default:
494
494
  const parsedBody = parsedOutput.body;
495
495
  throwDefaultError({
@@ -500,20 +500,20 @@ const deserializeAws_json1_1CreateNamespaceCommandError = async (output, context
500
500
  });
501
501
  }
502
502
  };
503
- export const deserializeAws_json1_1CreateSnapshotCommand = async (output, context) => {
503
+ export const de_CreateSnapshotCommand = async (output, context) => {
504
504
  if (output.statusCode >= 300) {
505
- return deserializeAws_json1_1CreateSnapshotCommandError(output, context);
505
+ return de_CreateSnapshotCommandError(output, context);
506
506
  }
507
507
  const data = await parseBody(output.body, context);
508
508
  let contents = {};
509
- contents = deserializeAws_json1_1CreateSnapshotResponse(data, context);
509
+ contents = de_CreateSnapshotResponse(data, context);
510
510
  const response = {
511
511
  $metadata: deserializeMetadata(output),
512
512
  ...contents,
513
513
  };
514
514
  return Promise.resolve(response);
515
515
  };
516
- const deserializeAws_json1_1CreateSnapshotCommandError = async (output, context) => {
516
+ const de_CreateSnapshotCommandError = async (output, context) => {
517
517
  const parsedOutput = {
518
518
  ...output,
519
519
  body: await parseErrorBody(output.body, context),
@@ -522,22 +522,22 @@ const deserializeAws_json1_1CreateSnapshotCommandError = async (output, context)
522
522
  switch (errorCode) {
523
523
  case "ConflictException":
524
524
  case "com.amazonaws.redshiftserverless#ConflictException":
525
- throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
525
+ throw await de_ConflictExceptionRes(parsedOutput, context);
526
526
  case "InternalServerException":
527
527
  case "com.amazonaws.redshiftserverless#InternalServerException":
528
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
528
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
529
529
  case "ResourceNotFoundException":
530
530
  case "com.amazonaws.redshiftserverless#ResourceNotFoundException":
531
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
531
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
532
532
  case "ServiceQuotaExceededException":
533
533
  case "com.amazonaws.redshiftserverless#ServiceQuotaExceededException":
534
- throw await deserializeAws_json1_1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
534
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
535
535
  case "TooManyTagsException":
536
536
  case "com.amazonaws.redshiftserverless#TooManyTagsException":
537
- throw await deserializeAws_json1_1TooManyTagsExceptionResponse(parsedOutput, context);
537
+ throw await de_TooManyTagsExceptionRes(parsedOutput, context);
538
538
  case "ValidationException":
539
539
  case "com.amazonaws.redshiftserverless#ValidationException":
540
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
540
+ throw await de_ValidationExceptionRes(parsedOutput, context);
541
541
  default:
542
542
  const parsedBody = parsedOutput.body;
543
543
  throwDefaultError({
@@ -548,20 +548,20 @@ const deserializeAws_json1_1CreateSnapshotCommandError = async (output, context)
548
548
  });
549
549
  }
550
550
  };
551
- export const deserializeAws_json1_1CreateUsageLimitCommand = async (output, context) => {
551
+ export const de_CreateUsageLimitCommand = async (output, context) => {
552
552
  if (output.statusCode >= 300) {
553
- return deserializeAws_json1_1CreateUsageLimitCommandError(output, context);
553
+ return de_CreateUsageLimitCommandError(output, context);
554
554
  }
555
555
  const data = await parseBody(output.body, context);
556
556
  let contents = {};
557
- contents = deserializeAws_json1_1CreateUsageLimitResponse(data, context);
557
+ contents = de_CreateUsageLimitResponse(data, context);
558
558
  const response = {
559
559
  $metadata: deserializeMetadata(output),
560
560
  ...contents,
561
561
  };
562
562
  return Promise.resolve(response);
563
563
  };
564
- const deserializeAws_json1_1CreateUsageLimitCommandError = async (output, context) => {
564
+ const de_CreateUsageLimitCommandError = async (output, context) => {
565
565
  const parsedOutput = {
566
566
  ...output,
567
567
  body: await parseErrorBody(output.body, context),
@@ -570,19 +570,19 @@ const deserializeAws_json1_1CreateUsageLimitCommandError = async (output, contex
570
570
  switch (errorCode) {
571
571
  case "ConflictException":
572
572
  case "com.amazonaws.redshiftserverless#ConflictException":
573
- throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
573
+ throw await de_ConflictExceptionRes(parsedOutput, context);
574
574
  case "InternalServerException":
575
575
  case "com.amazonaws.redshiftserverless#InternalServerException":
576
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
576
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
577
577
  case "ResourceNotFoundException":
578
578
  case "com.amazonaws.redshiftserverless#ResourceNotFoundException":
579
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
579
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
580
580
  case "ServiceQuotaExceededException":
581
581
  case "com.amazonaws.redshiftserverless#ServiceQuotaExceededException":
582
- throw await deserializeAws_json1_1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
582
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
583
583
  case "ValidationException":
584
584
  case "com.amazonaws.redshiftserverless#ValidationException":
585
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
585
+ throw await de_ValidationExceptionRes(parsedOutput, context);
586
586
  default:
587
587
  const parsedBody = parsedOutput.body;
588
588
  throwDefaultError({
@@ -593,20 +593,20 @@ const deserializeAws_json1_1CreateUsageLimitCommandError = async (output, contex
593
593
  });
594
594
  }
595
595
  };
596
- export const deserializeAws_json1_1CreateWorkgroupCommand = async (output, context) => {
596
+ export const de_CreateWorkgroupCommand = async (output, context) => {
597
597
  if (output.statusCode >= 300) {
598
- return deserializeAws_json1_1CreateWorkgroupCommandError(output, context);
598
+ return de_CreateWorkgroupCommandError(output, context);
599
599
  }
600
600
  const data = await parseBody(output.body, context);
601
601
  let contents = {};
602
- contents = deserializeAws_json1_1CreateWorkgroupResponse(data, context);
602
+ contents = de_CreateWorkgroupResponse(data, context);
603
603
  const response = {
604
604
  $metadata: deserializeMetadata(output),
605
605
  ...contents,
606
606
  };
607
607
  return Promise.resolve(response);
608
608
  };
609
- const deserializeAws_json1_1CreateWorkgroupCommandError = async (output, context) => {
609
+ const de_CreateWorkgroupCommandError = async (output, context) => {
610
610
  const parsedOutput = {
611
611
  ...output,
612
612
  body: await parseErrorBody(output.body, context),
@@ -615,22 +615,22 @@ const deserializeAws_json1_1CreateWorkgroupCommandError = async (output, context
615
615
  switch (errorCode) {
616
616
  case "ConflictException":
617
617
  case "com.amazonaws.redshiftserverless#ConflictException":
618
- throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
618
+ throw await de_ConflictExceptionRes(parsedOutput, context);
619
619
  case "InsufficientCapacityException":
620
620
  case "com.amazonaws.redshiftserverless#InsufficientCapacityException":
621
- throw await deserializeAws_json1_1InsufficientCapacityExceptionResponse(parsedOutput, context);
621
+ throw await de_InsufficientCapacityExceptionRes(parsedOutput, context);
622
622
  case "InternalServerException":
623
623
  case "com.amazonaws.redshiftserverless#InternalServerException":
624
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
624
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
625
625
  case "ResourceNotFoundException":
626
626
  case "com.amazonaws.redshiftserverless#ResourceNotFoundException":
627
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
627
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
628
628
  case "TooManyTagsException":
629
629
  case "com.amazonaws.redshiftserverless#TooManyTagsException":
630
- throw await deserializeAws_json1_1TooManyTagsExceptionResponse(parsedOutput, context);
630
+ throw await de_TooManyTagsExceptionRes(parsedOutput, context);
631
631
  case "ValidationException":
632
632
  case "com.amazonaws.redshiftserverless#ValidationException":
633
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
633
+ throw await de_ValidationExceptionRes(parsedOutput, context);
634
634
  default:
635
635
  const parsedBody = parsedOutput.body;
636
636
  throwDefaultError({
@@ -641,20 +641,20 @@ const deserializeAws_json1_1CreateWorkgroupCommandError = async (output, context
641
641
  });
642
642
  }
643
643
  };
644
- export const deserializeAws_json1_1DeleteEndpointAccessCommand = async (output, context) => {
644
+ export const de_DeleteEndpointAccessCommand = async (output, context) => {
645
645
  if (output.statusCode >= 300) {
646
- return deserializeAws_json1_1DeleteEndpointAccessCommandError(output, context);
646
+ return de_DeleteEndpointAccessCommandError(output, context);
647
647
  }
648
648
  const data = await parseBody(output.body, context);
649
649
  let contents = {};
650
- contents = deserializeAws_json1_1DeleteEndpointAccessResponse(data, context);
650
+ contents = de_DeleteEndpointAccessResponse(data, context);
651
651
  const response = {
652
652
  $metadata: deserializeMetadata(output),
653
653
  ...contents,
654
654
  };
655
655
  return Promise.resolve(response);
656
656
  };
657
- const deserializeAws_json1_1DeleteEndpointAccessCommandError = async (output, context) => {
657
+ const de_DeleteEndpointAccessCommandError = async (output, context) => {
658
658
  const parsedOutput = {
659
659
  ...output,
660
660
  body: await parseErrorBody(output.body, context),
@@ -663,16 +663,16 @@ const deserializeAws_json1_1DeleteEndpointAccessCommandError = async (output, co
663
663
  switch (errorCode) {
664
664
  case "ConflictException":
665
665
  case "com.amazonaws.redshiftserverless#ConflictException":
666
- throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
666
+ throw await de_ConflictExceptionRes(parsedOutput, context);
667
667
  case "InternalServerException":
668
668
  case "com.amazonaws.redshiftserverless#InternalServerException":
669
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
669
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
670
670
  case "ResourceNotFoundException":
671
671
  case "com.amazonaws.redshiftserverless#ResourceNotFoundException":
672
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
672
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
673
673
  case "ValidationException":
674
674
  case "com.amazonaws.redshiftserverless#ValidationException":
675
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
675
+ throw await de_ValidationExceptionRes(parsedOutput, context);
676
676
  default:
677
677
  const parsedBody = parsedOutput.body;
678
678
  throwDefaultError({
@@ -683,20 +683,20 @@ const deserializeAws_json1_1DeleteEndpointAccessCommandError = async (output, co
683
683
  });
684
684
  }
685
685
  };
686
- export const deserializeAws_json1_1DeleteNamespaceCommand = async (output, context) => {
686
+ export const de_DeleteNamespaceCommand = async (output, context) => {
687
687
  if (output.statusCode >= 300) {
688
- return deserializeAws_json1_1DeleteNamespaceCommandError(output, context);
688
+ return de_DeleteNamespaceCommandError(output, context);
689
689
  }
690
690
  const data = await parseBody(output.body, context);
691
691
  let contents = {};
692
- contents = deserializeAws_json1_1DeleteNamespaceResponse(data, context);
692
+ contents = de_DeleteNamespaceResponse(data, context);
693
693
  const response = {
694
694
  $metadata: deserializeMetadata(output),
695
695
  ...contents,
696
696
  };
697
697
  return Promise.resolve(response);
698
698
  };
699
- const deserializeAws_json1_1DeleteNamespaceCommandError = async (output, context) => {
699
+ const de_DeleteNamespaceCommandError = async (output, context) => {
700
700
  const parsedOutput = {
701
701
  ...output,
702
702
  body: await parseErrorBody(output.body, context),
@@ -705,16 +705,16 @@ const deserializeAws_json1_1DeleteNamespaceCommandError = async (output, context
705
705
  switch (errorCode) {
706
706
  case "ConflictException":
707
707
  case "com.amazonaws.redshiftserverless#ConflictException":
708
- throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
708
+ throw await de_ConflictExceptionRes(parsedOutput, context);
709
709
  case "InternalServerException":
710
710
  case "com.amazonaws.redshiftserverless#InternalServerException":
711
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
711
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
712
712
  case "ResourceNotFoundException":
713
713
  case "com.amazonaws.redshiftserverless#ResourceNotFoundException":
714
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
714
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
715
715
  case "ValidationException":
716
716
  case "com.amazonaws.redshiftserverless#ValidationException":
717
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
717
+ throw await de_ValidationExceptionRes(parsedOutput, context);
718
718
  default:
719
719
  const parsedBody = parsedOutput.body;
720
720
  throwDefaultError({
@@ -725,20 +725,20 @@ const deserializeAws_json1_1DeleteNamespaceCommandError = async (output, context
725
725
  });
726
726
  }
727
727
  };
728
- export const deserializeAws_json1_1DeleteResourcePolicyCommand = async (output, context) => {
728
+ export const de_DeleteResourcePolicyCommand = async (output, context) => {
729
729
  if (output.statusCode >= 300) {
730
- return deserializeAws_json1_1DeleteResourcePolicyCommandError(output, context);
730
+ return de_DeleteResourcePolicyCommandError(output, context);
731
731
  }
732
732
  const data = await parseBody(output.body, context);
733
733
  let contents = {};
734
- contents = deserializeAws_json1_1DeleteResourcePolicyResponse(data, context);
734
+ contents = de_DeleteResourcePolicyResponse(data, context);
735
735
  const response = {
736
736
  $metadata: deserializeMetadata(output),
737
737
  ...contents,
738
738
  };
739
739
  return Promise.resolve(response);
740
740
  };
741
- const deserializeAws_json1_1DeleteResourcePolicyCommandError = async (output, context) => {
741
+ const de_DeleteResourcePolicyCommandError = async (output, context) => {
742
742
  const parsedOutput = {
743
743
  ...output,
744
744
  body: await parseErrorBody(output.body, context),
@@ -747,13 +747,13 @@ const deserializeAws_json1_1DeleteResourcePolicyCommandError = async (output, co
747
747
  switch (errorCode) {
748
748
  case "InternalServerException":
749
749
  case "com.amazonaws.redshiftserverless#InternalServerException":
750
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
750
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
751
751
  case "ResourceNotFoundException":
752
752
  case "com.amazonaws.redshiftserverless#ResourceNotFoundException":
753
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
753
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
754
754
  case "ValidationException":
755
755
  case "com.amazonaws.redshiftserverless#ValidationException":
756
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
756
+ throw await de_ValidationExceptionRes(parsedOutput, context);
757
757
  default:
758
758
  const parsedBody = parsedOutput.body;
759
759
  throwDefaultError({
@@ -764,20 +764,20 @@ const deserializeAws_json1_1DeleteResourcePolicyCommandError = async (output, co
764
764
  });
765
765
  }
766
766
  };
767
- export const deserializeAws_json1_1DeleteSnapshotCommand = async (output, context) => {
767
+ export const de_DeleteSnapshotCommand = async (output, context) => {
768
768
  if (output.statusCode >= 300) {
769
- return deserializeAws_json1_1DeleteSnapshotCommandError(output, context);
769
+ return de_DeleteSnapshotCommandError(output, context);
770
770
  }
771
771
  const data = await parseBody(output.body, context);
772
772
  let contents = {};
773
- contents = deserializeAws_json1_1DeleteSnapshotResponse(data, context);
773
+ contents = de_DeleteSnapshotResponse(data, context);
774
774
  const response = {
775
775
  $metadata: deserializeMetadata(output),
776
776
  ...contents,
777
777
  };
778
778
  return Promise.resolve(response);
779
779
  };
780
- const deserializeAws_json1_1DeleteSnapshotCommandError = async (output, context) => {
780
+ const de_DeleteSnapshotCommandError = async (output, context) => {
781
781
  const parsedOutput = {
782
782
  ...output,
783
783
  body: await parseErrorBody(output.body, context),
@@ -786,16 +786,16 @@ const deserializeAws_json1_1DeleteSnapshotCommandError = async (output, context)
786
786
  switch (errorCode) {
787
787
  case "ConflictException":
788
788
  case "com.amazonaws.redshiftserverless#ConflictException":
789
- throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
789
+ throw await de_ConflictExceptionRes(parsedOutput, context);
790
790
  case "InternalServerException":
791
791
  case "com.amazonaws.redshiftserverless#InternalServerException":
792
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
792
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
793
793
  case "ResourceNotFoundException":
794
794
  case "com.amazonaws.redshiftserverless#ResourceNotFoundException":
795
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
795
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
796
796
  case "ValidationException":
797
797
  case "com.amazonaws.redshiftserverless#ValidationException":
798
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
798
+ throw await de_ValidationExceptionRes(parsedOutput, context);
799
799
  default:
800
800
  const parsedBody = parsedOutput.body;
801
801
  throwDefaultError({
@@ -806,20 +806,20 @@ const deserializeAws_json1_1DeleteSnapshotCommandError = async (output, context)
806
806
  });
807
807
  }
808
808
  };
809
- export const deserializeAws_json1_1DeleteUsageLimitCommand = async (output, context) => {
809
+ export const de_DeleteUsageLimitCommand = async (output, context) => {
810
810
  if (output.statusCode >= 300) {
811
- return deserializeAws_json1_1DeleteUsageLimitCommandError(output, context);
811
+ return de_DeleteUsageLimitCommandError(output, context);
812
812
  }
813
813
  const data = await parseBody(output.body, context);
814
814
  let contents = {};
815
- contents = deserializeAws_json1_1DeleteUsageLimitResponse(data, context);
815
+ contents = de_DeleteUsageLimitResponse(data, context);
816
816
  const response = {
817
817
  $metadata: deserializeMetadata(output),
818
818
  ...contents,
819
819
  };
820
820
  return Promise.resolve(response);
821
821
  };
822
- const deserializeAws_json1_1DeleteUsageLimitCommandError = async (output, context) => {
822
+ const de_DeleteUsageLimitCommandError = async (output, context) => {
823
823
  const parsedOutput = {
824
824
  ...output,
825
825
  body: await parseErrorBody(output.body, context),
@@ -828,16 +828,16 @@ const deserializeAws_json1_1DeleteUsageLimitCommandError = async (output, contex
828
828
  switch (errorCode) {
829
829
  case "ConflictException":
830
830
  case "com.amazonaws.redshiftserverless#ConflictException":
831
- throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
831
+ throw await de_ConflictExceptionRes(parsedOutput, context);
832
832
  case "InternalServerException":
833
833
  case "com.amazonaws.redshiftserverless#InternalServerException":
834
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
834
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
835
835
  case "ResourceNotFoundException":
836
836
  case "com.amazonaws.redshiftserverless#ResourceNotFoundException":
837
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
837
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
838
838
  case "ValidationException":
839
839
  case "com.amazonaws.redshiftserverless#ValidationException":
840
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
840
+ throw await de_ValidationExceptionRes(parsedOutput, context);
841
841
  default:
842
842
  const parsedBody = parsedOutput.body;
843
843
  throwDefaultError({
@@ -848,20 +848,20 @@ const deserializeAws_json1_1DeleteUsageLimitCommandError = async (output, contex
848
848
  });
849
849
  }
850
850
  };
851
- export const deserializeAws_json1_1DeleteWorkgroupCommand = async (output, context) => {
851
+ export const de_DeleteWorkgroupCommand = async (output, context) => {
852
852
  if (output.statusCode >= 300) {
853
- return deserializeAws_json1_1DeleteWorkgroupCommandError(output, context);
853
+ return de_DeleteWorkgroupCommandError(output, context);
854
854
  }
855
855
  const data = await parseBody(output.body, context);
856
856
  let contents = {};
857
- contents = deserializeAws_json1_1DeleteWorkgroupResponse(data, context);
857
+ contents = de_DeleteWorkgroupResponse(data, context);
858
858
  const response = {
859
859
  $metadata: deserializeMetadata(output),
860
860
  ...contents,
861
861
  };
862
862
  return Promise.resolve(response);
863
863
  };
864
- const deserializeAws_json1_1DeleteWorkgroupCommandError = async (output, context) => {
864
+ const de_DeleteWorkgroupCommandError = async (output, context) => {
865
865
  const parsedOutput = {
866
866
  ...output,
867
867
  body: await parseErrorBody(output.body, context),
@@ -870,16 +870,16 @@ const deserializeAws_json1_1DeleteWorkgroupCommandError = async (output, context
870
870
  switch (errorCode) {
871
871
  case "ConflictException":
872
872
  case "com.amazonaws.redshiftserverless#ConflictException":
873
- throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
873
+ throw await de_ConflictExceptionRes(parsedOutput, context);
874
874
  case "InternalServerException":
875
875
  case "com.amazonaws.redshiftserverless#InternalServerException":
876
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
876
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
877
877
  case "ResourceNotFoundException":
878
878
  case "com.amazonaws.redshiftserverless#ResourceNotFoundException":
879
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
879
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
880
880
  case "ValidationException":
881
881
  case "com.amazonaws.redshiftserverless#ValidationException":
882
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
882
+ throw await de_ValidationExceptionRes(parsedOutput, context);
883
883
  default:
884
884
  const parsedBody = parsedOutput.body;
885
885
  throwDefaultError({
@@ -890,20 +890,20 @@ const deserializeAws_json1_1DeleteWorkgroupCommandError = async (output, context
890
890
  });
891
891
  }
892
892
  };
893
- export const deserializeAws_json1_1GetCredentialsCommand = async (output, context) => {
893
+ export const de_GetCredentialsCommand = async (output, context) => {
894
894
  if (output.statusCode >= 300) {
895
- return deserializeAws_json1_1GetCredentialsCommandError(output, context);
895
+ return de_GetCredentialsCommandError(output, context);
896
896
  }
897
897
  const data = await parseBody(output.body, context);
898
898
  let contents = {};
899
- contents = deserializeAws_json1_1GetCredentialsResponse(data, context);
899
+ contents = de_GetCredentialsResponse(data, context);
900
900
  const response = {
901
901
  $metadata: deserializeMetadata(output),
902
902
  ...contents,
903
903
  };
904
904
  return Promise.resolve(response);
905
905
  };
906
- const deserializeAws_json1_1GetCredentialsCommandError = async (output, context) => {
906
+ const de_GetCredentialsCommandError = async (output, context) => {
907
907
  const parsedOutput = {
908
908
  ...output,
909
909
  body: await parseErrorBody(output.body, context),
@@ -912,13 +912,13 @@ const deserializeAws_json1_1GetCredentialsCommandError = async (output, context)
912
912
  switch (errorCode) {
913
913
  case "InternalServerException":
914
914
  case "com.amazonaws.redshiftserverless#InternalServerException":
915
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
915
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
916
916
  case "ResourceNotFoundException":
917
917
  case "com.amazonaws.redshiftserverless#ResourceNotFoundException":
918
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
918
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
919
919
  case "ValidationException":
920
920
  case "com.amazonaws.redshiftserverless#ValidationException":
921
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
921
+ throw await de_ValidationExceptionRes(parsedOutput, context);
922
922
  default:
923
923
  const parsedBody = parsedOutput.body;
924
924
  throwDefaultError({
@@ -929,20 +929,20 @@ const deserializeAws_json1_1GetCredentialsCommandError = async (output, context)
929
929
  });
930
930
  }
931
931
  };
932
- export const deserializeAws_json1_1GetEndpointAccessCommand = async (output, context) => {
932
+ export const de_GetEndpointAccessCommand = async (output, context) => {
933
933
  if (output.statusCode >= 300) {
934
- return deserializeAws_json1_1GetEndpointAccessCommandError(output, context);
934
+ return de_GetEndpointAccessCommandError(output, context);
935
935
  }
936
936
  const data = await parseBody(output.body, context);
937
937
  let contents = {};
938
- contents = deserializeAws_json1_1GetEndpointAccessResponse(data, context);
938
+ contents = de_GetEndpointAccessResponse(data, context);
939
939
  const response = {
940
940
  $metadata: deserializeMetadata(output),
941
941
  ...contents,
942
942
  };
943
943
  return Promise.resolve(response);
944
944
  };
945
- const deserializeAws_json1_1GetEndpointAccessCommandError = async (output, context) => {
945
+ const de_GetEndpointAccessCommandError = async (output, context) => {
946
946
  const parsedOutput = {
947
947
  ...output,
948
948
  body: await parseErrorBody(output.body, context),
@@ -951,16 +951,16 @@ const deserializeAws_json1_1GetEndpointAccessCommandError = async (output, conte
951
951
  switch (errorCode) {
952
952
  case "ConflictException":
953
953
  case "com.amazonaws.redshiftserverless#ConflictException":
954
- throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
954
+ throw await de_ConflictExceptionRes(parsedOutput, context);
955
955
  case "InternalServerException":
956
956
  case "com.amazonaws.redshiftserverless#InternalServerException":
957
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
957
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
958
958
  case "ResourceNotFoundException":
959
959
  case "com.amazonaws.redshiftserverless#ResourceNotFoundException":
960
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
960
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
961
961
  case "ValidationException":
962
962
  case "com.amazonaws.redshiftserverless#ValidationException":
963
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
963
+ throw await de_ValidationExceptionRes(parsedOutput, context);
964
964
  default:
965
965
  const parsedBody = parsedOutput.body;
966
966
  throwDefaultError({
@@ -971,20 +971,20 @@ const deserializeAws_json1_1GetEndpointAccessCommandError = async (output, conte
971
971
  });
972
972
  }
973
973
  };
974
- export const deserializeAws_json1_1GetNamespaceCommand = async (output, context) => {
974
+ export const de_GetNamespaceCommand = async (output, context) => {
975
975
  if (output.statusCode >= 300) {
976
- return deserializeAws_json1_1GetNamespaceCommandError(output, context);
976
+ return de_GetNamespaceCommandError(output, context);
977
977
  }
978
978
  const data = await parseBody(output.body, context);
979
979
  let contents = {};
980
- contents = deserializeAws_json1_1GetNamespaceResponse(data, context);
980
+ contents = de_GetNamespaceResponse(data, context);
981
981
  const response = {
982
982
  $metadata: deserializeMetadata(output),
983
983
  ...contents,
984
984
  };
985
985
  return Promise.resolve(response);
986
986
  };
987
- const deserializeAws_json1_1GetNamespaceCommandError = async (output, context) => {
987
+ const de_GetNamespaceCommandError = async (output, context) => {
988
988
  const parsedOutput = {
989
989
  ...output,
990
990
  body: await parseErrorBody(output.body, context),
@@ -993,13 +993,13 @@ const deserializeAws_json1_1GetNamespaceCommandError = async (output, context) =
993
993
  switch (errorCode) {
994
994
  case "InternalServerException":
995
995
  case "com.amazonaws.redshiftserverless#InternalServerException":
996
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
996
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
997
997
  case "ResourceNotFoundException":
998
998
  case "com.amazonaws.redshiftserverless#ResourceNotFoundException":
999
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
999
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1000
1000
  case "ValidationException":
1001
1001
  case "com.amazonaws.redshiftserverless#ValidationException":
1002
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1002
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1003
1003
  default:
1004
1004
  const parsedBody = parsedOutput.body;
1005
1005
  throwDefaultError({
@@ -1010,20 +1010,20 @@ const deserializeAws_json1_1GetNamespaceCommandError = async (output, context) =
1010
1010
  });
1011
1011
  }
1012
1012
  };
1013
- export const deserializeAws_json1_1GetRecoveryPointCommand = async (output, context) => {
1013
+ export const de_GetRecoveryPointCommand = async (output, context) => {
1014
1014
  if (output.statusCode >= 300) {
1015
- return deserializeAws_json1_1GetRecoveryPointCommandError(output, context);
1015
+ return de_GetRecoveryPointCommandError(output, context);
1016
1016
  }
1017
1017
  const data = await parseBody(output.body, context);
1018
1018
  let contents = {};
1019
- contents = deserializeAws_json1_1GetRecoveryPointResponse(data, context);
1019
+ contents = de_GetRecoveryPointResponse(data, context);
1020
1020
  const response = {
1021
1021
  $metadata: deserializeMetadata(output),
1022
1022
  ...contents,
1023
1023
  };
1024
1024
  return Promise.resolve(response);
1025
1025
  };
1026
- const deserializeAws_json1_1GetRecoveryPointCommandError = async (output, context) => {
1026
+ const de_GetRecoveryPointCommandError = async (output, context) => {
1027
1027
  const parsedOutput = {
1028
1028
  ...output,
1029
1029
  body: await parseErrorBody(output.body, context),
@@ -1032,16 +1032,16 @@ const deserializeAws_json1_1GetRecoveryPointCommandError = async (output, contex
1032
1032
  switch (errorCode) {
1033
1033
  case "ConflictException":
1034
1034
  case "com.amazonaws.redshiftserverless#ConflictException":
1035
- throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
1035
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1036
1036
  case "InternalServerException":
1037
1037
  case "com.amazonaws.redshiftserverless#InternalServerException":
1038
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
1038
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1039
1039
  case "ResourceNotFoundException":
1040
1040
  case "com.amazonaws.redshiftserverless#ResourceNotFoundException":
1041
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1041
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1042
1042
  case "ValidationException":
1043
1043
  case "com.amazonaws.redshiftserverless#ValidationException":
1044
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1044
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1045
1045
  default:
1046
1046
  const parsedBody = parsedOutput.body;
1047
1047
  throwDefaultError({
@@ -1052,20 +1052,20 @@ const deserializeAws_json1_1GetRecoveryPointCommandError = async (output, contex
1052
1052
  });
1053
1053
  }
1054
1054
  };
1055
- export const deserializeAws_json1_1GetResourcePolicyCommand = async (output, context) => {
1055
+ export const de_GetResourcePolicyCommand = async (output, context) => {
1056
1056
  if (output.statusCode >= 300) {
1057
- return deserializeAws_json1_1GetResourcePolicyCommandError(output, context);
1057
+ return de_GetResourcePolicyCommandError(output, context);
1058
1058
  }
1059
1059
  const data = await parseBody(output.body, context);
1060
1060
  let contents = {};
1061
- contents = deserializeAws_json1_1GetResourcePolicyResponse(data, context);
1061
+ contents = de_GetResourcePolicyResponse(data, context);
1062
1062
  const response = {
1063
1063
  $metadata: deserializeMetadata(output),
1064
1064
  ...contents,
1065
1065
  };
1066
1066
  return Promise.resolve(response);
1067
1067
  };
1068
- const deserializeAws_json1_1GetResourcePolicyCommandError = async (output, context) => {
1068
+ const de_GetResourcePolicyCommandError = async (output, context) => {
1069
1069
  const parsedOutput = {
1070
1070
  ...output,
1071
1071
  body: await parseErrorBody(output.body, context),
@@ -1074,13 +1074,13 @@ const deserializeAws_json1_1GetResourcePolicyCommandError = async (output, conte
1074
1074
  switch (errorCode) {
1075
1075
  case "InternalServerException":
1076
1076
  case "com.amazonaws.redshiftserverless#InternalServerException":
1077
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
1077
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1078
1078
  case "ResourceNotFoundException":
1079
1079
  case "com.amazonaws.redshiftserverless#ResourceNotFoundException":
1080
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1080
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1081
1081
  case "ValidationException":
1082
1082
  case "com.amazonaws.redshiftserverless#ValidationException":
1083
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1083
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1084
1084
  default:
1085
1085
  const parsedBody = parsedOutput.body;
1086
1086
  throwDefaultError({
@@ -1091,20 +1091,20 @@ const deserializeAws_json1_1GetResourcePolicyCommandError = async (output, conte
1091
1091
  });
1092
1092
  }
1093
1093
  };
1094
- export const deserializeAws_json1_1GetSnapshotCommand = async (output, context) => {
1094
+ export const de_GetSnapshotCommand = async (output, context) => {
1095
1095
  if (output.statusCode >= 300) {
1096
- return deserializeAws_json1_1GetSnapshotCommandError(output, context);
1096
+ return de_GetSnapshotCommandError(output, context);
1097
1097
  }
1098
1098
  const data = await parseBody(output.body, context);
1099
1099
  let contents = {};
1100
- contents = deserializeAws_json1_1GetSnapshotResponse(data, context);
1100
+ contents = de_GetSnapshotResponse(data, context);
1101
1101
  const response = {
1102
1102
  $metadata: deserializeMetadata(output),
1103
1103
  ...contents,
1104
1104
  };
1105
1105
  return Promise.resolve(response);
1106
1106
  };
1107
- const deserializeAws_json1_1GetSnapshotCommandError = async (output, context) => {
1107
+ const de_GetSnapshotCommandError = async (output, context) => {
1108
1108
  const parsedOutput = {
1109
1109
  ...output,
1110
1110
  body: await parseErrorBody(output.body, context),
@@ -1113,13 +1113,13 @@ const deserializeAws_json1_1GetSnapshotCommandError = async (output, context) =>
1113
1113
  switch (errorCode) {
1114
1114
  case "InternalServerException":
1115
1115
  case "com.amazonaws.redshiftserverless#InternalServerException":
1116
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
1116
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1117
1117
  case "ResourceNotFoundException":
1118
1118
  case "com.amazonaws.redshiftserverless#ResourceNotFoundException":
1119
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1119
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1120
1120
  case "ValidationException":
1121
1121
  case "com.amazonaws.redshiftserverless#ValidationException":
1122
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1122
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1123
1123
  default:
1124
1124
  const parsedBody = parsedOutput.body;
1125
1125
  throwDefaultError({
@@ -1130,20 +1130,20 @@ const deserializeAws_json1_1GetSnapshotCommandError = async (output, context) =>
1130
1130
  });
1131
1131
  }
1132
1132
  };
1133
- export const deserializeAws_json1_1GetTableRestoreStatusCommand = async (output, context) => {
1133
+ export const de_GetTableRestoreStatusCommand = async (output, context) => {
1134
1134
  if (output.statusCode >= 300) {
1135
- return deserializeAws_json1_1GetTableRestoreStatusCommandError(output, context);
1135
+ return de_GetTableRestoreStatusCommandError(output, context);
1136
1136
  }
1137
1137
  const data = await parseBody(output.body, context);
1138
1138
  let contents = {};
1139
- contents = deserializeAws_json1_1GetTableRestoreStatusResponse(data, context);
1139
+ contents = de_GetTableRestoreStatusResponse(data, context);
1140
1140
  const response = {
1141
1141
  $metadata: deserializeMetadata(output),
1142
1142
  ...contents,
1143
1143
  };
1144
1144
  return Promise.resolve(response);
1145
1145
  };
1146
- const deserializeAws_json1_1GetTableRestoreStatusCommandError = async (output, context) => {
1146
+ const de_GetTableRestoreStatusCommandError = async (output, context) => {
1147
1147
  const parsedOutput = {
1148
1148
  ...output,
1149
1149
  body: await parseErrorBody(output.body, context),
@@ -1152,10 +1152,10 @@ const deserializeAws_json1_1GetTableRestoreStatusCommandError = async (output, c
1152
1152
  switch (errorCode) {
1153
1153
  case "ResourceNotFoundException":
1154
1154
  case "com.amazonaws.redshiftserverless#ResourceNotFoundException":
1155
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1155
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1156
1156
  case "ValidationException":
1157
1157
  case "com.amazonaws.redshiftserverless#ValidationException":
1158
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1158
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1159
1159
  default:
1160
1160
  const parsedBody = parsedOutput.body;
1161
1161
  throwDefaultError({
@@ -1166,20 +1166,20 @@ const deserializeAws_json1_1GetTableRestoreStatusCommandError = async (output, c
1166
1166
  });
1167
1167
  }
1168
1168
  };
1169
- export const deserializeAws_json1_1GetUsageLimitCommand = async (output, context) => {
1169
+ export const de_GetUsageLimitCommand = async (output, context) => {
1170
1170
  if (output.statusCode >= 300) {
1171
- return deserializeAws_json1_1GetUsageLimitCommandError(output, context);
1171
+ return de_GetUsageLimitCommandError(output, context);
1172
1172
  }
1173
1173
  const data = await parseBody(output.body, context);
1174
1174
  let contents = {};
1175
- contents = deserializeAws_json1_1GetUsageLimitResponse(data, context);
1175
+ contents = de_GetUsageLimitResponse(data, context);
1176
1176
  const response = {
1177
1177
  $metadata: deserializeMetadata(output),
1178
1178
  ...contents,
1179
1179
  };
1180
1180
  return Promise.resolve(response);
1181
1181
  };
1182
- const deserializeAws_json1_1GetUsageLimitCommandError = async (output, context) => {
1182
+ const de_GetUsageLimitCommandError = async (output, context) => {
1183
1183
  const parsedOutput = {
1184
1184
  ...output,
1185
1185
  body: await parseErrorBody(output.body, context),
@@ -1188,16 +1188,16 @@ const deserializeAws_json1_1GetUsageLimitCommandError = async (output, context)
1188
1188
  switch (errorCode) {
1189
1189
  case "ConflictException":
1190
1190
  case "com.amazonaws.redshiftserverless#ConflictException":
1191
- throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
1191
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1192
1192
  case "InternalServerException":
1193
1193
  case "com.amazonaws.redshiftserverless#InternalServerException":
1194
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
1194
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1195
1195
  case "ResourceNotFoundException":
1196
1196
  case "com.amazonaws.redshiftserverless#ResourceNotFoundException":
1197
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1197
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1198
1198
  case "ValidationException":
1199
1199
  case "com.amazonaws.redshiftserverless#ValidationException":
1200
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1200
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1201
1201
  default:
1202
1202
  const parsedBody = parsedOutput.body;
1203
1203
  throwDefaultError({
@@ -1208,20 +1208,20 @@ const deserializeAws_json1_1GetUsageLimitCommandError = async (output, context)
1208
1208
  });
1209
1209
  }
1210
1210
  };
1211
- export const deserializeAws_json1_1GetWorkgroupCommand = async (output, context) => {
1211
+ export const de_GetWorkgroupCommand = async (output, context) => {
1212
1212
  if (output.statusCode >= 300) {
1213
- return deserializeAws_json1_1GetWorkgroupCommandError(output, context);
1213
+ return de_GetWorkgroupCommandError(output, context);
1214
1214
  }
1215
1215
  const data = await parseBody(output.body, context);
1216
1216
  let contents = {};
1217
- contents = deserializeAws_json1_1GetWorkgroupResponse(data, context);
1217
+ contents = de_GetWorkgroupResponse(data, context);
1218
1218
  const response = {
1219
1219
  $metadata: deserializeMetadata(output),
1220
1220
  ...contents,
1221
1221
  };
1222
1222
  return Promise.resolve(response);
1223
1223
  };
1224
- const deserializeAws_json1_1GetWorkgroupCommandError = async (output, context) => {
1224
+ const de_GetWorkgroupCommandError = async (output, context) => {
1225
1225
  const parsedOutput = {
1226
1226
  ...output,
1227
1227
  body: await parseErrorBody(output.body, context),
@@ -1230,13 +1230,13 @@ const deserializeAws_json1_1GetWorkgroupCommandError = async (output, context) =
1230
1230
  switch (errorCode) {
1231
1231
  case "InternalServerException":
1232
1232
  case "com.amazonaws.redshiftserverless#InternalServerException":
1233
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
1233
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1234
1234
  case "ResourceNotFoundException":
1235
1235
  case "com.amazonaws.redshiftserverless#ResourceNotFoundException":
1236
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1236
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1237
1237
  case "ValidationException":
1238
1238
  case "com.amazonaws.redshiftserverless#ValidationException":
1239
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1239
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1240
1240
  default:
1241
1241
  const parsedBody = parsedOutput.body;
1242
1242
  throwDefaultError({
@@ -1247,20 +1247,20 @@ const deserializeAws_json1_1GetWorkgroupCommandError = async (output, context) =
1247
1247
  });
1248
1248
  }
1249
1249
  };
1250
- export const deserializeAws_json1_1ListEndpointAccessCommand = async (output, context) => {
1250
+ export const de_ListEndpointAccessCommand = async (output, context) => {
1251
1251
  if (output.statusCode >= 300) {
1252
- return deserializeAws_json1_1ListEndpointAccessCommandError(output, context);
1252
+ return de_ListEndpointAccessCommandError(output, context);
1253
1253
  }
1254
1254
  const data = await parseBody(output.body, context);
1255
1255
  let contents = {};
1256
- contents = deserializeAws_json1_1ListEndpointAccessResponse(data, context);
1256
+ contents = de_ListEndpointAccessResponse(data, context);
1257
1257
  const response = {
1258
1258
  $metadata: deserializeMetadata(output),
1259
1259
  ...contents,
1260
1260
  };
1261
1261
  return Promise.resolve(response);
1262
1262
  };
1263
- const deserializeAws_json1_1ListEndpointAccessCommandError = async (output, context) => {
1263
+ const de_ListEndpointAccessCommandError = async (output, context) => {
1264
1264
  const parsedOutput = {
1265
1265
  ...output,
1266
1266
  body: await parseErrorBody(output.body, context),
@@ -1269,16 +1269,16 @@ const deserializeAws_json1_1ListEndpointAccessCommandError = async (output, cont
1269
1269
  switch (errorCode) {
1270
1270
  case "ConflictException":
1271
1271
  case "com.amazonaws.redshiftserverless#ConflictException":
1272
- throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
1272
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1273
1273
  case "InternalServerException":
1274
1274
  case "com.amazonaws.redshiftserverless#InternalServerException":
1275
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
1275
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1276
1276
  case "ResourceNotFoundException":
1277
1277
  case "com.amazonaws.redshiftserverless#ResourceNotFoundException":
1278
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1278
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1279
1279
  case "ValidationException":
1280
1280
  case "com.amazonaws.redshiftserverless#ValidationException":
1281
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1281
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1282
1282
  default:
1283
1283
  const parsedBody = parsedOutput.body;
1284
1284
  throwDefaultError({
@@ -1289,20 +1289,20 @@ const deserializeAws_json1_1ListEndpointAccessCommandError = async (output, cont
1289
1289
  });
1290
1290
  }
1291
1291
  };
1292
- export const deserializeAws_json1_1ListNamespacesCommand = async (output, context) => {
1292
+ export const de_ListNamespacesCommand = async (output, context) => {
1293
1293
  if (output.statusCode >= 300) {
1294
- return deserializeAws_json1_1ListNamespacesCommandError(output, context);
1294
+ return de_ListNamespacesCommandError(output, context);
1295
1295
  }
1296
1296
  const data = await parseBody(output.body, context);
1297
1297
  let contents = {};
1298
- contents = deserializeAws_json1_1ListNamespacesResponse(data, context);
1298
+ contents = de_ListNamespacesResponse(data, context);
1299
1299
  const response = {
1300
1300
  $metadata: deserializeMetadata(output),
1301
1301
  ...contents,
1302
1302
  };
1303
1303
  return Promise.resolve(response);
1304
1304
  };
1305
- const deserializeAws_json1_1ListNamespacesCommandError = async (output, context) => {
1305
+ const de_ListNamespacesCommandError = async (output, context) => {
1306
1306
  const parsedOutput = {
1307
1307
  ...output,
1308
1308
  body: await parseErrorBody(output.body, context),
@@ -1311,10 +1311,10 @@ const deserializeAws_json1_1ListNamespacesCommandError = async (output, context)
1311
1311
  switch (errorCode) {
1312
1312
  case "InternalServerException":
1313
1313
  case "com.amazonaws.redshiftserverless#InternalServerException":
1314
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
1314
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1315
1315
  case "ValidationException":
1316
1316
  case "com.amazonaws.redshiftserverless#ValidationException":
1317
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1317
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1318
1318
  default:
1319
1319
  const parsedBody = parsedOutput.body;
1320
1320
  throwDefaultError({
@@ -1325,20 +1325,20 @@ const deserializeAws_json1_1ListNamespacesCommandError = async (output, context)
1325
1325
  });
1326
1326
  }
1327
1327
  };
1328
- export const deserializeAws_json1_1ListRecoveryPointsCommand = async (output, context) => {
1328
+ export const de_ListRecoveryPointsCommand = async (output, context) => {
1329
1329
  if (output.statusCode >= 300) {
1330
- return deserializeAws_json1_1ListRecoveryPointsCommandError(output, context);
1330
+ return de_ListRecoveryPointsCommandError(output, context);
1331
1331
  }
1332
1332
  const data = await parseBody(output.body, context);
1333
1333
  let contents = {};
1334
- contents = deserializeAws_json1_1ListRecoveryPointsResponse(data, context);
1334
+ contents = de_ListRecoveryPointsResponse(data, context);
1335
1335
  const response = {
1336
1336
  $metadata: deserializeMetadata(output),
1337
1337
  ...contents,
1338
1338
  };
1339
1339
  return Promise.resolve(response);
1340
1340
  };
1341
- const deserializeAws_json1_1ListRecoveryPointsCommandError = async (output, context) => {
1341
+ const de_ListRecoveryPointsCommandError = async (output, context) => {
1342
1342
  const parsedOutput = {
1343
1343
  ...output,
1344
1344
  body: await parseErrorBody(output.body, context),
@@ -1347,10 +1347,10 @@ const deserializeAws_json1_1ListRecoveryPointsCommandError = async (output, cont
1347
1347
  switch (errorCode) {
1348
1348
  case "InternalServerException":
1349
1349
  case "com.amazonaws.redshiftserverless#InternalServerException":
1350
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
1350
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1351
1351
  case "ValidationException":
1352
1352
  case "com.amazonaws.redshiftserverless#ValidationException":
1353
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1353
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1354
1354
  default:
1355
1355
  const parsedBody = parsedOutput.body;
1356
1356
  throwDefaultError({
@@ -1361,20 +1361,20 @@ const deserializeAws_json1_1ListRecoveryPointsCommandError = async (output, cont
1361
1361
  });
1362
1362
  }
1363
1363
  };
1364
- export const deserializeAws_json1_1ListSnapshotsCommand = async (output, context) => {
1364
+ export const de_ListSnapshotsCommand = async (output, context) => {
1365
1365
  if (output.statusCode >= 300) {
1366
- return deserializeAws_json1_1ListSnapshotsCommandError(output, context);
1366
+ return de_ListSnapshotsCommandError(output, context);
1367
1367
  }
1368
1368
  const data = await parseBody(output.body, context);
1369
1369
  let contents = {};
1370
- contents = deserializeAws_json1_1ListSnapshotsResponse(data, context);
1370
+ contents = de_ListSnapshotsResponse(data, context);
1371
1371
  const response = {
1372
1372
  $metadata: deserializeMetadata(output),
1373
1373
  ...contents,
1374
1374
  };
1375
1375
  return Promise.resolve(response);
1376
1376
  };
1377
- const deserializeAws_json1_1ListSnapshotsCommandError = async (output, context) => {
1377
+ const de_ListSnapshotsCommandError = async (output, context) => {
1378
1378
  const parsedOutput = {
1379
1379
  ...output,
1380
1380
  body: await parseErrorBody(output.body, context),
@@ -1383,13 +1383,13 @@ const deserializeAws_json1_1ListSnapshotsCommandError = async (output, context)
1383
1383
  switch (errorCode) {
1384
1384
  case "InternalServerException":
1385
1385
  case "com.amazonaws.redshiftserverless#InternalServerException":
1386
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
1386
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1387
1387
  case "ResourceNotFoundException":
1388
1388
  case "com.amazonaws.redshiftserverless#ResourceNotFoundException":
1389
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1389
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1390
1390
  case "ValidationException":
1391
1391
  case "com.amazonaws.redshiftserverless#ValidationException":
1392
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1392
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1393
1393
  default:
1394
1394
  const parsedBody = parsedOutput.body;
1395
1395
  throwDefaultError({
@@ -1400,20 +1400,20 @@ const deserializeAws_json1_1ListSnapshotsCommandError = async (output, context)
1400
1400
  });
1401
1401
  }
1402
1402
  };
1403
- export const deserializeAws_json1_1ListTableRestoreStatusCommand = async (output, context) => {
1403
+ export const de_ListTableRestoreStatusCommand = async (output, context) => {
1404
1404
  if (output.statusCode >= 300) {
1405
- return deserializeAws_json1_1ListTableRestoreStatusCommandError(output, context);
1405
+ return de_ListTableRestoreStatusCommandError(output, context);
1406
1406
  }
1407
1407
  const data = await parseBody(output.body, context);
1408
1408
  let contents = {};
1409
- contents = deserializeAws_json1_1ListTableRestoreStatusResponse(data, context);
1409
+ contents = de_ListTableRestoreStatusResponse(data, context);
1410
1410
  const response = {
1411
1411
  $metadata: deserializeMetadata(output),
1412
1412
  ...contents,
1413
1413
  };
1414
1414
  return Promise.resolve(response);
1415
1415
  };
1416
- const deserializeAws_json1_1ListTableRestoreStatusCommandError = async (output, context) => {
1416
+ const de_ListTableRestoreStatusCommandError = async (output, context) => {
1417
1417
  const parsedOutput = {
1418
1418
  ...output,
1419
1419
  body: await parseErrorBody(output.body, context),
@@ -1422,13 +1422,13 @@ const deserializeAws_json1_1ListTableRestoreStatusCommandError = async (output,
1422
1422
  switch (errorCode) {
1423
1423
  case "InvalidPaginationException":
1424
1424
  case "com.amazonaws.redshiftserverless#InvalidPaginationException":
1425
- throw await deserializeAws_json1_1InvalidPaginationExceptionResponse(parsedOutput, context);
1425
+ throw await de_InvalidPaginationExceptionRes(parsedOutput, context);
1426
1426
  case "ResourceNotFoundException":
1427
1427
  case "com.amazonaws.redshiftserverless#ResourceNotFoundException":
1428
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1428
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1429
1429
  case "ValidationException":
1430
1430
  case "com.amazonaws.redshiftserverless#ValidationException":
1431
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1431
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1432
1432
  default:
1433
1433
  const parsedBody = parsedOutput.body;
1434
1434
  throwDefaultError({
@@ -1439,20 +1439,20 @@ const deserializeAws_json1_1ListTableRestoreStatusCommandError = async (output,
1439
1439
  });
1440
1440
  }
1441
1441
  };
1442
- export const deserializeAws_json1_1ListTagsForResourceCommand = async (output, context) => {
1442
+ export const de_ListTagsForResourceCommand = async (output, context) => {
1443
1443
  if (output.statusCode >= 300) {
1444
- return deserializeAws_json1_1ListTagsForResourceCommandError(output, context);
1444
+ return de_ListTagsForResourceCommandError(output, context);
1445
1445
  }
1446
1446
  const data = await parseBody(output.body, context);
1447
1447
  let contents = {};
1448
- contents = deserializeAws_json1_1ListTagsForResourceResponse(data, context);
1448
+ contents = de_ListTagsForResourceResponse(data, context);
1449
1449
  const response = {
1450
1450
  $metadata: deserializeMetadata(output),
1451
1451
  ...contents,
1452
1452
  };
1453
1453
  return Promise.resolve(response);
1454
1454
  };
1455
- const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, context) => {
1455
+ const de_ListTagsForResourceCommandError = async (output, context) => {
1456
1456
  const parsedOutput = {
1457
1457
  ...output,
1458
1458
  body: await parseErrorBody(output.body, context),
@@ -1461,16 +1461,16 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
1461
1461
  switch (errorCode) {
1462
1462
  case "InternalServerException":
1463
1463
  case "com.amazonaws.redshiftserverless#InternalServerException":
1464
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
1464
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1465
1465
  case "ResourceNotFoundException":
1466
1466
  case "com.amazonaws.redshiftserverless#ResourceNotFoundException":
1467
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1467
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1468
1468
  case "ThrottlingException":
1469
1469
  case "com.amazonaws.redshiftserverless#ThrottlingException":
1470
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
1470
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1471
1471
  case "ValidationException":
1472
1472
  case "com.amazonaws.redshiftserverless#ValidationException":
1473
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1473
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1474
1474
  default:
1475
1475
  const parsedBody = parsedOutput.body;
1476
1476
  throwDefaultError({
@@ -1481,20 +1481,20 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
1481
1481
  });
1482
1482
  }
1483
1483
  };
1484
- export const deserializeAws_json1_1ListUsageLimitsCommand = async (output, context) => {
1484
+ export const de_ListUsageLimitsCommand = async (output, context) => {
1485
1485
  if (output.statusCode >= 300) {
1486
- return deserializeAws_json1_1ListUsageLimitsCommandError(output, context);
1486
+ return de_ListUsageLimitsCommandError(output, context);
1487
1487
  }
1488
1488
  const data = await parseBody(output.body, context);
1489
1489
  let contents = {};
1490
- contents = deserializeAws_json1_1ListUsageLimitsResponse(data, context);
1490
+ contents = de_ListUsageLimitsResponse(data, context);
1491
1491
  const response = {
1492
1492
  $metadata: deserializeMetadata(output),
1493
1493
  ...contents,
1494
1494
  };
1495
1495
  return Promise.resolve(response);
1496
1496
  };
1497
- const deserializeAws_json1_1ListUsageLimitsCommandError = async (output, context) => {
1497
+ const de_ListUsageLimitsCommandError = async (output, context) => {
1498
1498
  const parsedOutput = {
1499
1499
  ...output,
1500
1500
  body: await parseErrorBody(output.body, context),
@@ -1503,19 +1503,19 @@ const deserializeAws_json1_1ListUsageLimitsCommandError = async (output, context
1503
1503
  switch (errorCode) {
1504
1504
  case "ConflictException":
1505
1505
  case "com.amazonaws.redshiftserverless#ConflictException":
1506
- throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
1506
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1507
1507
  case "InternalServerException":
1508
1508
  case "com.amazonaws.redshiftserverless#InternalServerException":
1509
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
1509
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1510
1510
  case "InvalidPaginationException":
1511
1511
  case "com.amazonaws.redshiftserverless#InvalidPaginationException":
1512
- throw await deserializeAws_json1_1InvalidPaginationExceptionResponse(parsedOutput, context);
1512
+ throw await de_InvalidPaginationExceptionRes(parsedOutput, context);
1513
1513
  case "ResourceNotFoundException":
1514
1514
  case "com.amazonaws.redshiftserverless#ResourceNotFoundException":
1515
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1515
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1516
1516
  case "ValidationException":
1517
1517
  case "com.amazonaws.redshiftserverless#ValidationException":
1518
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1518
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1519
1519
  default:
1520
1520
  const parsedBody = parsedOutput.body;
1521
1521
  throwDefaultError({
@@ -1526,20 +1526,20 @@ const deserializeAws_json1_1ListUsageLimitsCommandError = async (output, context
1526
1526
  });
1527
1527
  }
1528
1528
  };
1529
- export const deserializeAws_json1_1ListWorkgroupsCommand = async (output, context) => {
1529
+ export const de_ListWorkgroupsCommand = async (output, context) => {
1530
1530
  if (output.statusCode >= 300) {
1531
- return deserializeAws_json1_1ListWorkgroupsCommandError(output, context);
1531
+ return de_ListWorkgroupsCommandError(output, context);
1532
1532
  }
1533
1533
  const data = await parseBody(output.body, context);
1534
1534
  let contents = {};
1535
- contents = deserializeAws_json1_1ListWorkgroupsResponse(data, context);
1535
+ contents = de_ListWorkgroupsResponse(data, context);
1536
1536
  const response = {
1537
1537
  $metadata: deserializeMetadata(output),
1538
1538
  ...contents,
1539
1539
  };
1540
1540
  return Promise.resolve(response);
1541
1541
  };
1542
- const deserializeAws_json1_1ListWorkgroupsCommandError = async (output, context) => {
1542
+ const de_ListWorkgroupsCommandError = async (output, context) => {
1543
1543
  const parsedOutput = {
1544
1544
  ...output,
1545
1545
  body: await parseErrorBody(output.body, context),
@@ -1548,10 +1548,10 @@ const deserializeAws_json1_1ListWorkgroupsCommandError = async (output, context)
1548
1548
  switch (errorCode) {
1549
1549
  case "InternalServerException":
1550
1550
  case "com.amazonaws.redshiftserverless#InternalServerException":
1551
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
1551
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1552
1552
  case "ValidationException":
1553
1553
  case "com.amazonaws.redshiftserverless#ValidationException":
1554
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1554
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1555
1555
  default:
1556
1556
  const parsedBody = parsedOutput.body;
1557
1557
  throwDefaultError({
@@ -1562,20 +1562,20 @@ const deserializeAws_json1_1ListWorkgroupsCommandError = async (output, context)
1562
1562
  });
1563
1563
  }
1564
1564
  };
1565
- export const deserializeAws_json1_1PutResourcePolicyCommand = async (output, context) => {
1565
+ export const de_PutResourcePolicyCommand = async (output, context) => {
1566
1566
  if (output.statusCode >= 300) {
1567
- return deserializeAws_json1_1PutResourcePolicyCommandError(output, context);
1567
+ return de_PutResourcePolicyCommandError(output, context);
1568
1568
  }
1569
1569
  const data = await parseBody(output.body, context);
1570
1570
  let contents = {};
1571
- contents = deserializeAws_json1_1PutResourcePolicyResponse(data, context);
1571
+ contents = de_PutResourcePolicyResponse(data, context);
1572
1572
  const response = {
1573
1573
  $metadata: deserializeMetadata(output),
1574
1574
  ...contents,
1575
1575
  };
1576
1576
  return Promise.resolve(response);
1577
1577
  };
1578
- const deserializeAws_json1_1PutResourcePolicyCommandError = async (output, context) => {
1578
+ const de_PutResourcePolicyCommandError = async (output, context) => {
1579
1579
  const parsedOutput = {
1580
1580
  ...output,
1581
1581
  body: await parseErrorBody(output.body, context),
@@ -1584,19 +1584,19 @@ const deserializeAws_json1_1PutResourcePolicyCommandError = async (output, conte
1584
1584
  switch (errorCode) {
1585
1585
  case "ConflictException":
1586
1586
  case "com.amazonaws.redshiftserverless#ConflictException":
1587
- throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
1587
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1588
1588
  case "InternalServerException":
1589
1589
  case "com.amazonaws.redshiftserverless#InternalServerException":
1590
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
1590
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1591
1591
  case "ResourceNotFoundException":
1592
1592
  case "com.amazonaws.redshiftserverless#ResourceNotFoundException":
1593
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1593
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1594
1594
  case "ServiceQuotaExceededException":
1595
1595
  case "com.amazonaws.redshiftserverless#ServiceQuotaExceededException":
1596
- throw await deserializeAws_json1_1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1596
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1597
1597
  case "ValidationException":
1598
1598
  case "com.amazonaws.redshiftserverless#ValidationException":
1599
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1599
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1600
1600
  default:
1601
1601
  const parsedBody = parsedOutput.body;
1602
1602
  throwDefaultError({
@@ -1607,20 +1607,20 @@ const deserializeAws_json1_1PutResourcePolicyCommandError = async (output, conte
1607
1607
  });
1608
1608
  }
1609
1609
  };
1610
- export const deserializeAws_json1_1RestoreFromRecoveryPointCommand = async (output, context) => {
1610
+ export const de_RestoreFromRecoveryPointCommand = async (output, context) => {
1611
1611
  if (output.statusCode >= 300) {
1612
- return deserializeAws_json1_1RestoreFromRecoveryPointCommandError(output, context);
1612
+ return de_RestoreFromRecoveryPointCommandError(output, context);
1613
1613
  }
1614
1614
  const data = await parseBody(output.body, context);
1615
1615
  let contents = {};
1616
- contents = deserializeAws_json1_1RestoreFromRecoveryPointResponse(data, context);
1616
+ contents = de_RestoreFromRecoveryPointResponse(data, context);
1617
1617
  const response = {
1618
1618
  $metadata: deserializeMetadata(output),
1619
1619
  ...contents,
1620
1620
  };
1621
1621
  return Promise.resolve(response);
1622
1622
  };
1623
- const deserializeAws_json1_1RestoreFromRecoveryPointCommandError = async (output, context) => {
1623
+ const de_RestoreFromRecoveryPointCommandError = async (output, context) => {
1624
1624
  const parsedOutput = {
1625
1625
  ...output,
1626
1626
  body: await parseErrorBody(output.body, context),
@@ -1629,16 +1629,16 @@ const deserializeAws_json1_1RestoreFromRecoveryPointCommandError = async (output
1629
1629
  switch (errorCode) {
1630
1630
  case "ConflictException":
1631
1631
  case "com.amazonaws.redshiftserverless#ConflictException":
1632
- throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
1632
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1633
1633
  case "InternalServerException":
1634
1634
  case "com.amazonaws.redshiftserverless#InternalServerException":
1635
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
1635
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1636
1636
  case "ResourceNotFoundException":
1637
1637
  case "com.amazonaws.redshiftserverless#ResourceNotFoundException":
1638
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1638
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1639
1639
  case "ValidationException":
1640
1640
  case "com.amazonaws.redshiftserverless#ValidationException":
1641
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1641
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1642
1642
  default:
1643
1643
  const parsedBody = parsedOutput.body;
1644
1644
  throwDefaultError({
@@ -1649,20 +1649,20 @@ const deserializeAws_json1_1RestoreFromRecoveryPointCommandError = async (output
1649
1649
  });
1650
1650
  }
1651
1651
  };
1652
- export const deserializeAws_json1_1RestoreFromSnapshotCommand = async (output, context) => {
1652
+ export const de_RestoreFromSnapshotCommand = async (output, context) => {
1653
1653
  if (output.statusCode >= 300) {
1654
- return deserializeAws_json1_1RestoreFromSnapshotCommandError(output, context);
1654
+ return de_RestoreFromSnapshotCommandError(output, context);
1655
1655
  }
1656
1656
  const data = await parseBody(output.body, context);
1657
1657
  let contents = {};
1658
- contents = deserializeAws_json1_1RestoreFromSnapshotResponse(data, context);
1658
+ contents = de_RestoreFromSnapshotResponse(data, context);
1659
1659
  const response = {
1660
1660
  $metadata: deserializeMetadata(output),
1661
1661
  ...contents,
1662
1662
  };
1663
1663
  return Promise.resolve(response);
1664
1664
  };
1665
- const deserializeAws_json1_1RestoreFromSnapshotCommandError = async (output, context) => {
1665
+ const de_RestoreFromSnapshotCommandError = async (output, context) => {
1666
1666
  const parsedOutput = {
1667
1667
  ...output,
1668
1668
  body: await parseErrorBody(output.body, context),
@@ -1671,19 +1671,19 @@ const deserializeAws_json1_1RestoreFromSnapshotCommandError = async (output, con
1671
1671
  switch (errorCode) {
1672
1672
  case "ConflictException":
1673
1673
  case "com.amazonaws.redshiftserverless#ConflictException":
1674
- throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
1674
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1675
1675
  case "InternalServerException":
1676
1676
  case "com.amazonaws.redshiftserverless#InternalServerException":
1677
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
1677
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1678
1678
  case "ResourceNotFoundException":
1679
1679
  case "com.amazonaws.redshiftserverless#ResourceNotFoundException":
1680
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1680
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1681
1681
  case "ServiceQuotaExceededException":
1682
1682
  case "com.amazonaws.redshiftserverless#ServiceQuotaExceededException":
1683
- throw await deserializeAws_json1_1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1683
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1684
1684
  case "ValidationException":
1685
1685
  case "com.amazonaws.redshiftserverless#ValidationException":
1686
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1686
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1687
1687
  default:
1688
1688
  const parsedBody = parsedOutput.body;
1689
1689
  throwDefaultError({
@@ -1694,20 +1694,20 @@ const deserializeAws_json1_1RestoreFromSnapshotCommandError = async (output, con
1694
1694
  });
1695
1695
  }
1696
1696
  };
1697
- export const deserializeAws_json1_1RestoreTableFromSnapshotCommand = async (output, context) => {
1697
+ export const de_RestoreTableFromSnapshotCommand = async (output, context) => {
1698
1698
  if (output.statusCode >= 300) {
1699
- return deserializeAws_json1_1RestoreTableFromSnapshotCommandError(output, context);
1699
+ return de_RestoreTableFromSnapshotCommandError(output, context);
1700
1700
  }
1701
1701
  const data = await parseBody(output.body, context);
1702
1702
  let contents = {};
1703
- contents = deserializeAws_json1_1RestoreTableFromSnapshotResponse(data, context);
1703
+ contents = de_RestoreTableFromSnapshotResponse(data, context);
1704
1704
  const response = {
1705
1705
  $metadata: deserializeMetadata(output),
1706
1706
  ...contents,
1707
1707
  };
1708
1708
  return Promise.resolve(response);
1709
1709
  };
1710
- const deserializeAws_json1_1RestoreTableFromSnapshotCommandError = async (output, context) => {
1710
+ const de_RestoreTableFromSnapshotCommandError = async (output, context) => {
1711
1711
  const parsedOutput = {
1712
1712
  ...output,
1713
1713
  body: await parseErrorBody(output.body, context),
@@ -1716,16 +1716,16 @@ const deserializeAws_json1_1RestoreTableFromSnapshotCommandError = async (output
1716
1716
  switch (errorCode) {
1717
1717
  case "ConflictException":
1718
1718
  case "com.amazonaws.redshiftserverless#ConflictException":
1719
- throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
1719
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1720
1720
  case "InternalServerException":
1721
1721
  case "com.amazonaws.redshiftserverless#InternalServerException":
1722
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
1722
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1723
1723
  case "ResourceNotFoundException":
1724
1724
  case "com.amazonaws.redshiftserverless#ResourceNotFoundException":
1725
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1725
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1726
1726
  case "ValidationException":
1727
1727
  case "com.amazonaws.redshiftserverless#ValidationException":
1728
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1728
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1729
1729
  default:
1730
1730
  const parsedBody = parsedOutput.body;
1731
1731
  throwDefaultError({
@@ -1736,20 +1736,20 @@ const deserializeAws_json1_1RestoreTableFromSnapshotCommandError = async (output
1736
1736
  });
1737
1737
  }
1738
1738
  };
1739
- export const deserializeAws_json1_1TagResourceCommand = async (output, context) => {
1739
+ export const de_TagResourceCommand = async (output, context) => {
1740
1740
  if (output.statusCode >= 300) {
1741
- return deserializeAws_json1_1TagResourceCommandError(output, context);
1741
+ return de_TagResourceCommandError(output, context);
1742
1742
  }
1743
1743
  const data = await parseBody(output.body, context);
1744
1744
  let contents = {};
1745
- contents = deserializeAws_json1_1TagResourceResponse(data, context);
1745
+ contents = de_TagResourceResponse(data, context);
1746
1746
  const response = {
1747
1747
  $metadata: deserializeMetadata(output),
1748
1748
  ...contents,
1749
1749
  };
1750
1750
  return Promise.resolve(response);
1751
1751
  };
1752
- const deserializeAws_json1_1TagResourceCommandError = async (output, context) => {
1752
+ const de_TagResourceCommandError = async (output, context) => {
1753
1753
  const parsedOutput = {
1754
1754
  ...output,
1755
1755
  body: await parseErrorBody(output.body, context),
@@ -1758,19 +1758,19 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
1758
1758
  switch (errorCode) {
1759
1759
  case "InternalServerException":
1760
1760
  case "com.amazonaws.redshiftserverless#InternalServerException":
1761
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
1761
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1762
1762
  case "ResourceNotFoundException":
1763
1763
  case "com.amazonaws.redshiftserverless#ResourceNotFoundException":
1764
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1764
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1765
1765
  case "ThrottlingException":
1766
1766
  case "com.amazonaws.redshiftserverless#ThrottlingException":
1767
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
1767
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1768
1768
  case "TooManyTagsException":
1769
1769
  case "com.amazonaws.redshiftserverless#TooManyTagsException":
1770
- throw await deserializeAws_json1_1TooManyTagsExceptionResponse(parsedOutput, context);
1770
+ throw await de_TooManyTagsExceptionRes(parsedOutput, context);
1771
1771
  case "ValidationException":
1772
1772
  case "com.amazonaws.redshiftserverless#ValidationException":
1773
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1773
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1774
1774
  default:
1775
1775
  const parsedBody = parsedOutput.body;
1776
1776
  throwDefaultError({
@@ -1781,20 +1781,20 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
1781
1781
  });
1782
1782
  }
1783
1783
  };
1784
- export const deserializeAws_json1_1UntagResourceCommand = async (output, context) => {
1784
+ export const de_UntagResourceCommand = async (output, context) => {
1785
1785
  if (output.statusCode >= 300) {
1786
- return deserializeAws_json1_1UntagResourceCommandError(output, context);
1786
+ return de_UntagResourceCommandError(output, context);
1787
1787
  }
1788
1788
  const data = await parseBody(output.body, context);
1789
1789
  let contents = {};
1790
- contents = deserializeAws_json1_1UntagResourceResponse(data, context);
1790
+ contents = de_UntagResourceResponse(data, context);
1791
1791
  const response = {
1792
1792
  $metadata: deserializeMetadata(output),
1793
1793
  ...contents,
1794
1794
  };
1795
1795
  return Promise.resolve(response);
1796
1796
  };
1797
- const deserializeAws_json1_1UntagResourceCommandError = async (output, context) => {
1797
+ const de_UntagResourceCommandError = async (output, context) => {
1798
1798
  const parsedOutput = {
1799
1799
  ...output,
1800
1800
  body: await parseErrorBody(output.body, context),
@@ -1803,16 +1803,16 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
1803
1803
  switch (errorCode) {
1804
1804
  case "InternalServerException":
1805
1805
  case "com.amazonaws.redshiftserverless#InternalServerException":
1806
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
1806
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1807
1807
  case "ResourceNotFoundException":
1808
1808
  case "com.amazonaws.redshiftserverless#ResourceNotFoundException":
1809
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1809
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1810
1810
  case "ThrottlingException":
1811
1811
  case "com.amazonaws.redshiftserverless#ThrottlingException":
1812
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
1812
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1813
1813
  case "ValidationException":
1814
1814
  case "com.amazonaws.redshiftserverless#ValidationException":
1815
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1815
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1816
1816
  default:
1817
1817
  const parsedBody = parsedOutput.body;
1818
1818
  throwDefaultError({
@@ -1823,20 +1823,20 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
1823
1823
  });
1824
1824
  }
1825
1825
  };
1826
- export const deserializeAws_json1_1UpdateEndpointAccessCommand = async (output, context) => {
1826
+ export const de_UpdateEndpointAccessCommand = async (output, context) => {
1827
1827
  if (output.statusCode >= 300) {
1828
- return deserializeAws_json1_1UpdateEndpointAccessCommandError(output, context);
1828
+ return de_UpdateEndpointAccessCommandError(output, context);
1829
1829
  }
1830
1830
  const data = await parseBody(output.body, context);
1831
1831
  let contents = {};
1832
- contents = deserializeAws_json1_1UpdateEndpointAccessResponse(data, context);
1832
+ contents = de_UpdateEndpointAccessResponse(data, context);
1833
1833
  const response = {
1834
1834
  $metadata: deserializeMetadata(output),
1835
1835
  ...contents,
1836
1836
  };
1837
1837
  return Promise.resolve(response);
1838
1838
  };
1839
- const deserializeAws_json1_1UpdateEndpointAccessCommandError = async (output, context) => {
1839
+ const de_UpdateEndpointAccessCommandError = async (output, context) => {
1840
1840
  const parsedOutput = {
1841
1841
  ...output,
1842
1842
  body: await parseErrorBody(output.body, context),
@@ -1845,19 +1845,19 @@ const deserializeAws_json1_1UpdateEndpointAccessCommandError = async (output, co
1845
1845
  switch (errorCode) {
1846
1846
  case "AccessDeniedException":
1847
1847
  case "com.amazonaws.redshiftserverless#AccessDeniedException":
1848
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
1848
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1849
1849
  case "ConflictException":
1850
1850
  case "com.amazonaws.redshiftserverless#ConflictException":
1851
- throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
1851
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1852
1852
  case "InternalServerException":
1853
1853
  case "com.amazonaws.redshiftserverless#InternalServerException":
1854
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
1854
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1855
1855
  case "ResourceNotFoundException":
1856
1856
  case "com.amazonaws.redshiftserverless#ResourceNotFoundException":
1857
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1857
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1858
1858
  case "ValidationException":
1859
1859
  case "com.amazonaws.redshiftserverless#ValidationException":
1860
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1860
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1861
1861
  default:
1862
1862
  const parsedBody = parsedOutput.body;
1863
1863
  throwDefaultError({
@@ -1868,20 +1868,20 @@ const deserializeAws_json1_1UpdateEndpointAccessCommandError = async (output, co
1868
1868
  });
1869
1869
  }
1870
1870
  };
1871
- export const deserializeAws_json1_1UpdateNamespaceCommand = async (output, context) => {
1871
+ export const de_UpdateNamespaceCommand = async (output, context) => {
1872
1872
  if (output.statusCode >= 300) {
1873
- return deserializeAws_json1_1UpdateNamespaceCommandError(output, context);
1873
+ return de_UpdateNamespaceCommandError(output, context);
1874
1874
  }
1875
1875
  const data = await parseBody(output.body, context);
1876
1876
  let contents = {};
1877
- contents = deserializeAws_json1_1UpdateNamespaceResponse(data, context);
1877
+ contents = de_UpdateNamespaceResponse(data, context);
1878
1878
  const response = {
1879
1879
  $metadata: deserializeMetadata(output),
1880
1880
  ...contents,
1881
1881
  };
1882
1882
  return Promise.resolve(response);
1883
1883
  };
1884
- const deserializeAws_json1_1UpdateNamespaceCommandError = async (output, context) => {
1884
+ const de_UpdateNamespaceCommandError = async (output, context) => {
1885
1885
  const parsedOutput = {
1886
1886
  ...output,
1887
1887
  body: await parseErrorBody(output.body, context),
@@ -1890,16 +1890,16 @@ const deserializeAws_json1_1UpdateNamespaceCommandError = async (output, context
1890
1890
  switch (errorCode) {
1891
1891
  case "ConflictException":
1892
1892
  case "com.amazonaws.redshiftserverless#ConflictException":
1893
- throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
1893
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1894
1894
  case "InternalServerException":
1895
1895
  case "com.amazonaws.redshiftserverless#InternalServerException":
1896
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
1896
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1897
1897
  case "ResourceNotFoundException":
1898
1898
  case "com.amazonaws.redshiftserverless#ResourceNotFoundException":
1899
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1899
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1900
1900
  case "ValidationException":
1901
1901
  case "com.amazonaws.redshiftserverless#ValidationException":
1902
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1902
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1903
1903
  default:
1904
1904
  const parsedBody = parsedOutput.body;
1905
1905
  throwDefaultError({
@@ -1910,20 +1910,20 @@ const deserializeAws_json1_1UpdateNamespaceCommandError = async (output, context
1910
1910
  });
1911
1911
  }
1912
1912
  };
1913
- export const deserializeAws_json1_1UpdateSnapshotCommand = async (output, context) => {
1913
+ export const de_UpdateSnapshotCommand = async (output, context) => {
1914
1914
  if (output.statusCode >= 300) {
1915
- return deserializeAws_json1_1UpdateSnapshotCommandError(output, context);
1915
+ return de_UpdateSnapshotCommandError(output, context);
1916
1916
  }
1917
1917
  const data = await parseBody(output.body, context);
1918
1918
  let contents = {};
1919
- contents = deserializeAws_json1_1UpdateSnapshotResponse(data, context);
1919
+ contents = de_UpdateSnapshotResponse(data, context);
1920
1920
  const response = {
1921
1921
  $metadata: deserializeMetadata(output),
1922
1922
  ...contents,
1923
1923
  };
1924
1924
  return Promise.resolve(response);
1925
1925
  };
1926
- const deserializeAws_json1_1UpdateSnapshotCommandError = async (output, context) => {
1926
+ const de_UpdateSnapshotCommandError = async (output, context) => {
1927
1927
  const parsedOutput = {
1928
1928
  ...output,
1929
1929
  body: await parseErrorBody(output.body, context),
@@ -1932,16 +1932,16 @@ const deserializeAws_json1_1UpdateSnapshotCommandError = async (output, context)
1932
1932
  switch (errorCode) {
1933
1933
  case "ConflictException":
1934
1934
  case "com.amazonaws.redshiftserverless#ConflictException":
1935
- throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
1935
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1936
1936
  case "InternalServerException":
1937
1937
  case "com.amazonaws.redshiftserverless#InternalServerException":
1938
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
1938
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1939
1939
  case "ResourceNotFoundException":
1940
1940
  case "com.amazonaws.redshiftserverless#ResourceNotFoundException":
1941
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1941
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1942
1942
  case "ValidationException":
1943
1943
  case "com.amazonaws.redshiftserverless#ValidationException":
1944
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1944
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1945
1945
  default:
1946
1946
  const parsedBody = parsedOutput.body;
1947
1947
  throwDefaultError({
@@ -1952,20 +1952,20 @@ const deserializeAws_json1_1UpdateSnapshotCommandError = async (output, context)
1952
1952
  });
1953
1953
  }
1954
1954
  };
1955
- export const deserializeAws_json1_1UpdateUsageLimitCommand = async (output, context) => {
1955
+ export const de_UpdateUsageLimitCommand = async (output, context) => {
1956
1956
  if (output.statusCode >= 300) {
1957
- return deserializeAws_json1_1UpdateUsageLimitCommandError(output, context);
1957
+ return de_UpdateUsageLimitCommandError(output, context);
1958
1958
  }
1959
1959
  const data = await parseBody(output.body, context);
1960
1960
  let contents = {};
1961
- contents = deserializeAws_json1_1UpdateUsageLimitResponse(data, context);
1961
+ contents = de_UpdateUsageLimitResponse(data, context);
1962
1962
  const response = {
1963
1963
  $metadata: deserializeMetadata(output),
1964
1964
  ...contents,
1965
1965
  };
1966
1966
  return Promise.resolve(response);
1967
1967
  };
1968
- const deserializeAws_json1_1UpdateUsageLimitCommandError = async (output, context) => {
1968
+ const de_UpdateUsageLimitCommandError = async (output, context) => {
1969
1969
  const parsedOutput = {
1970
1970
  ...output,
1971
1971
  body: await parseErrorBody(output.body, context),
@@ -1974,16 +1974,16 @@ const deserializeAws_json1_1UpdateUsageLimitCommandError = async (output, contex
1974
1974
  switch (errorCode) {
1975
1975
  case "ConflictException":
1976
1976
  case "com.amazonaws.redshiftserverless#ConflictException":
1977
- throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
1977
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1978
1978
  case "InternalServerException":
1979
1979
  case "com.amazonaws.redshiftserverless#InternalServerException":
1980
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
1980
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1981
1981
  case "ResourceNotFoundException":
1982
1982
  case "com.amazonaws.redshiftserverless#ResourceNotFoundException":
1983
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1983
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1984
1984
  case "ValidationException":
1985
1985
  case "com.amazonaws.redshiftserverless#ValidationException":
1986
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1986
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1987
1987
  default:
1988
1988
  const parsedBody = parsedOutput.body;
1989
1989
  throwDefaultError({
@@ -1994,20 +1994,20 @@ const deserializeAws_json1_1UpdateUsageLimitCommandError = async (output, contex
1994
1994
  });
1995
1995
  }
1996
1996
  };
1997
- export const deserializeAws_json1_1UpdateWorkgroupCommand = async (output, context) => {
1997
+ export const de_UpdateWorkgroupCommand = async (output, context) => {
1998
1998
  if (output.statusCode >= 300) {
1999
- return deserializeAws_json1_1UpdateWorkgroupCommandError(output, context);
1999
+ return de_UpdateWorkgroupCommandError(output, context);
2000
2000
  }
2001
2001
  const data = await parseBody(output.body, context);
2002
2002
  let contents = {};
2003
- contents = deserializeAws_json1_1UpdateWorkgroupResponse(data, context);
2003
+ contents = de_UpdateWorkgroupResponse(data, context);
2004
2004
  const response = {
2005
2005
  $metadata: deserializeMetadata(output),
2006
2006
  ...contents,
2007
2007
  };
2008
2008
  return Promise.resolve(response);
2009
2009
  };
2010
- const deserializeAws_json1_1UpdateWorkgroupCommandError = async (output, context) => {
2010
+ const de_UpdateWorkgroupCommandError = async (output, context) => {
2011
2011
  const parsedOutput = {
2012
2012
  ...output,
2013
2013
  body: await parseErrorBody(output.body, context),
@@ -2016,19 +2016,19 @@ const deserializeAws_json1_1UpdateWorkgroupCommandError = async (output, context
2016
2016
  switch (errorCode) {
2017
2017
  case "ConflictException":
2018
2018
  case "com.amazonaws.redshiftserverless#ConflictException":
2019
- throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
2019
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2020
2020
  case "InsufficientCapacityException":
2021
2021
  case "com.amazonaws.redshiftserverless#InsufficientCapacityException":
2022
- throw await deserializeAws_json1_1InsufficientCapacityExceptionResponse(parsedOutput, context);
2022
+ throw await de_InsufficientCapacityExceptionRes(parsedOutput, context);
2023
2023
  case "InternalServerException":
2024
2024
  case "com.amazonaws.redshiftserverless#InternalServerException":
2025
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
2025
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2026
2026
  case "ResourceNotFoundException":
2027
2027
  case "com.amazonaws.redshiftserverless#ResourceNotFoundException":
2028
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
2028
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2029
2029
  case "ValidationException":
2030
2030
  case "com.amazonaws.redshiftserverless#ValidationException":
2031
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
2031
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2032
2032
  default:
2033
2033
  const parsedBody = parsedOutput.body;
2034
2034
  throwDefaultError({
@@ -2039,149 +2039,149 @@ const deserializeAws_json1_1UpdateWorkgroupCommandError = async (output, context
2039
2039
  });
2040
2040
  }
2041
2041
  };
2042
- const deserializeAws_json1_1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
2042
+ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
2043
2043
  const body = parsedOutput.body;
2044
- const deserialized = deserializeAws_json1_1AccessDeniedException(body, context);
2044
+ const deserialized = de_AccessDeniedException(body, context);
2045
2045
  const exception = new AccessDeniedException({
2046
2046
  $metadata: deserializeMetadata(parsedOutput),
2047
2047
  ...deserialized,
2048
2048
  });
2049
2049
  return __decorateServiceException(exception, body);
2050
2050
  };
2051
- const deserializeAws_json1_1ConflictExceptionResponse = async (parsedOutput, context) => {
2051
+ const de_ConflictExceptionRes = async (parsedOutput, context) => {
2052
2052
  const body = parsedOutput.body;
2053
- const deserialized = deserializeAws_json1_1ConflictException(body, context);
2053
+ const deserialized = de_ConflictException(body, context);
2054
2054
  const exception = new ConflictException({
2055
2055
  $metadata: deserializeMetadata(parsedOutput),
2056
2056
  ...deserialized,
2057
2057
  });
2058
2058
  return __decorateServiceException(exception, body);
2059
2059
  };
2060
- const deserializeAws_json1_1InsufficientCapacityExceptionResponse = async (parsedOutput, context) => {
2060
+ const de_InsufficientCapacityExceptionRes = async (parsedOutput, context) => {
2061
2061
  const body = parsedOutput.body;
2062
- const deserialized = deserializeAws_json1_1InsufficientCapacityException(body, context);
2062
+ const deserialized = de_InsufficientCapacityException(body, context);
2063
2063
  const exception = new InsufficientCapacityException({
2064
2064
  $metadata: deserializeMetadata(parsedOutput),
2065
2065
  ...deserialized,
2066
2066
  });
2067
2067
  return __decorateServiceException(exception, body);
2068
2068
  };
2069
- const deserializeAws_json1_1InternalServerExceptionResponse = async (parsedOutput, context) => {
2069
+ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
2070
2070
  const body = parsedOutput.body;
2071
- const deserialized = deserializeAws_json1_1InternalServerException(body, context);
2071
+ const deserialized = de_InternalServerException(body, context);
2072
2072
  const exception = new InternalServerException({
2073
2073
  $metadata: deserializeMetadata(parsedOutput),
2074
2074
  ...deserialized,
2075
2075
  });
2076
2076
  return __decorateServiceException(exception, body);
2077
2077
  };
2078
- const deserializeAws_json1_1InvalidPaginationExceptionResponse = async (parsedOutput, context) => {
2078
+ const de_InvalidPaginationExceptionRes = async (parsedOutput, context) => {
2079
2079
  const body = parsedOutput.body;
2080
- const deserialized = deserializeAws_json1_1InvalidPaginationException(body, context);
2080
+ const deserialized = de_InvalidPaginationException(body, context);
2081
2081
  const exception = new InvalidPaginationException({
2082
2082
  $metadata: deserializeMetadata(parsedOutput),
2083
2083
  ...deserialized,
2084
2084
  });
2085
2085
  return __decorateServiceException(exception, body);
2086
2086
  };
2087
- const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
2087
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
2088
2088
  const body = parsedOutput.body;
2089
- const deserialized = deserializeAws_json1_1ResourceNotFoundException(body, context);
2089
+ const deserialized = de_ResourceNotFoundException(body, context);
2090
2090
  const exception = new ResourceNotFoundException({
2091
2091
  $metadata: deserializeMetadata(parsedOutput),
2092
2092
  ...deserialized,
2093
2093
  });
2094
2094
  return __decorateServiceException(exception, body);
2095
2095
  };
2096
- const deserializeAws_json1_1ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
2096
+ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
2097
2097
  const body = parsedOutput.body;
2098
- const deserialized = deserializeAws_json1_1ServiceQuotaExceededException(body, context);
2098
+ const deserialized = de_ServiceQuotaExceededException(body, context);
2099
2099
  const exception = new ServiceQuotaExceededException({
2100
2100
  $metadata: deserializeMetadata(parsedOutput),
2101
2101
  ...deserialized,
2102
2102
  });
2103
2103
  return __decorateServiceException(exception, body);
2104
2104
  };
2105
- const deserializeAws_json1_1ThrottlingExceptionResponse = async (parsedOutput, context) => {
2105
+ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
2106
2106
  const body = parsedOutput.body;
2107
- const deserialized = deserializeAws_json1_1ThrottlingException(body, context);
2107
+ const deserialized = de_ThrottlingException(body, context);
2108
2108
  const exception = new ThrottlingException({
2109
2109
  $metadata: deserializeMetadata(parsedOutput),
2110
2110
  ...deserialized,
2111
2111
  });
2112
2112
  return __decorateServiceException(exception, body);
2113
2113
  };
2114
- const deserializeAws_json1_1TooManyTagsExceptionResponse = async (parsedOutput, context) => {
2114
+ const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
2115
2115
  const body = parsedOutput.body;
2116
- const deserialized = deserializeAws_json1_1TooManyTagsException(body, context);
2116
+ const deserialized = de_TooManyTagsException(body, context);
2117
2117
  const exception = new TooManyTagsException({
2118
2118
  $metadata: deserializeMetadata(parsedOutput),
2119
2119
  ...deserialized,
2120
2120
  });
2121
2121
  return __decorateServiceException(exception, body);
2122
2122
  };
2123
- const deserializeAws_json1_1ValidationExceptionResponse = async (parsedOutput, context) => {
2123
+ const de_ValidationExceptionRes = async (parsedOutput, context) => {
2124
2124
  const body = parsedOutput.body;
2125
- const deserialized = deserializeAws_json1_1ValidationException(body, context);
2125
+ const deserialized = de_ValidationException(body, context);
2126
2126
  const exception = new ValidationException({
2127
2127
  $metadata: deserializeMetadata(parsedOutput),
2128
2128
  ...deserialized,
2129
2129
  });
2130
2130
  return __decorateServiceException(exception, body);
2131
2131
  };
2132
- const serializeAws_json1_1ConfigParameter = (input, context) => {
2132
+ const se_ConfigParameter = (input, context) => {
2133
2133
  return {
2134
2134
  ...(input.parameterKey != null && { parameterKey: input.parameterKey }),
2135
2135
  ...(input.parameterValue != null && { parameterValue: input.parameterValue }),
2136
2136
  };
2137
2137
  };
2138
- const serializeAws_json1_1ConfigParameterList = (input, context) => {
2138
+ const se_ConfigParameterList = (input, context) => {
2139
2139
  return input
2140
2140
  .filter((e) => e != null)
2141
2141
  .map((entry) => {
2142
- return serializeAws_json1_1ConfigParameter(entry, context);
2142
+ return se_ConfigParameter(entry, context);
2143
2143
  });
2144
2144
  };
2145
- const serializeAws_json1_1ConvertRecoveryPointToSnapshotRequest = (input, context) => {
2145
+ const se_ConvertRecoveryPointToSnapshotRequest = (input, context) => {
2146
2146
  return {
2147
2147
  ...(input.recoveryPointId != null && { recoveryPointId: input.recoveryPointId }),
2148
2148
  ...(input.retentionPeriod != null && { retentionPeriod: input.retentionPeriod }),
2149
2149
  ...(input.snapshotName != null && { snapshotName: input.snapshotName }),
2150
- ...(input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
2150
+ ...(input.tags != null && { tags: se_TagList(input.tags, context) }),
2151
2151
  };
2152
2152
  };
2153
- const serializeAws_json1_1CreateEndpointAccessRequest = (input, context) => {
2153
+ const se_CreateEndpointAccessRequest = (input, context) => {
2154
2154
  return {
2155
2155
  ...(input.endpointName != null && { endpointName: input.endpointName }),
2156
- ...(input.subnetIds != null && { subnetIds: serializeAws_json1_1SubnetIdList(input.subnetIds, context) }),
2156
+ ...(input.subnetIds != null && { subnetIds: se_SubnetIdList(input.subnetIds, context) }),
2157
2157
  ...(input.vpcSecurityGroupIds != null && {
2158
- vpcSecurityGroupIds: serializeAws_json1_1VpcSecurityGroupIdList(input.vpcSecurityGroupIds, context),
2158
+ vpcSecurityGroupIds: se_VpcSecurityGroupIdList(input.vpcSecurityGroupIds, context),
2159
2159
  }),
2160
2160
  ...(input.workgroupName != null && { workgroupName: input.workgroupName }),
2161
2161
  };
2162
2162
  };
2163
- const serializeAws_json1_1CreateNamespaceRequest = (input, context) => {
2163
+ const se_CreateNamespaceRequest = (input, context) => {
2164
2164
  return {
2165
2165
  ...(input.adminUserPassword != null && { adminUserPassword: input.adminUserPassword }),
2166
2166
  ...(input.adminUsername != null && { adminUsername: input.adminUsername }),
2167
2167
  ...(input.dbName != null && { dbName: input.dbName }),
2168
2168
  ...(input.defaultIamRoleArn != null && { defaultIamRoleArn: input.defaultIamRoleArn }),
2169
- ...(input.iamRoles != null && { iamRoles: serializeAws_json1_1IamRoleArnList(input.iamRoles, context) }),
2169
+ ...(input.iamRoles != null && { iamRoles: se_IamRoleArnList(input.iamRoles, context) }),
2170
2170
  ...(input.kmsKeyId != null && { kmsKeyId: input.kmsKeyId }),
2171
- ...(input.logExports != null && { logExports: serializeAws_json1_1LogExportList(input.logExports, context) }),
2171
+ ...(input.logExports != null && { logExports: se_LogExportList(input.logExports, context) }),
2172
2172
  ...(input.namespaceName != null && { namespaceName: input.namespaceName }),
2173
- ...(input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
2173
+ ...(input.tags != null && { tags: se_TagList(input.tags, context) }),
2174
2174
  };
2175
2175
  };
2176
- const serializeAws_json1_1CreateSnapshotRequest = (input, context) => {
2176
+ const se_CreateSnapshotRequest = (input, context) => {
2177
2177
  return {
2178
2178
  ...(input.namespaceName != null && { namespaceName: input.namespaceName }),
2179
2179
  ...(input.retentionPeriod != null && { retentionPeriod: input.retentionPeriod }),
2180
2180
  ...(input.snapshotName != null && { snapshotName: input.snapshotName }),
2181
- ...(input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
2181
+ ...(input.tags != null && { tags: se_TagList(input.tags, context) }),
2182
2182
  };
2183
2183
  };
2184
- const serializeAws_json1_1CreateUsageLimitRequest = (input, context) => {
2184
+ const se_CreateUsageLimitRequest = (input, context) => {
2185
2185
  return {
2186
2186
  ...(input.amount != null && { amount: input.amount }),
2187
2187
  ...(input.breachAction != null && { breachAction: input.breachAction }),
@@ -2190,30 +2190,30 @@ const serializeAws_json1_1CreateUsageLimitRequest = (input, context) => {
2190
2190
  ...(input.usageType != null && { usageType: input.usageType }),
2191
2191
  };
2192
2192
  };
2193
- const serializeAws_json1_1CreateWorkgroupRequest = (input, context) => {
2193
+ const se_CreateWorkgroupRequest = (input, context) => {
2194
2194
  return {
2195
2195
  ...(input.baseCapacity != null && { baseCapacity: input.baseCapacity }),
2196
2196
  ...(input.configParameters != null && {
2197
- configParameters: serializeAws_json1_1ConfigParameterList(input.configParameters, context),
2197
+ configParameters: se_ConfigParameterList(input.configParameters, context),
2198
2198
  }),
2199
2199
  ...(input.enhancedVpcRouting != null && { enhancedVpcRouting: input.enhancedVpcRouting }),
2200
2200
  ...(input.namespaceName != null && { namespaceName: input.namespaceName }),
2201
2201
  ...(input.port != null && { port: input.port }),
2202
2202
  ...(input.publiclyAccessible != null && { publiclyAccessible: input.publiclyAccessible }),
2203
2203
  ...(input.securityGroupIds != null && {
2204
- securityGroupIds: serializeAws_json1_1SecurityGroupIdList(input.securityGroupIds, context),
2204
+ securityGroupIds: se_SecurityGroupIdList(input.securityGroupIds, context),
2205
2205
  }),
2206
- ...(input.subnetIds != null && { subnetIds: serializeAws_json1_1SubnetIdList(input.subnetIds, context) }),
2207
- ...(input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
2206
+ ...(input.subnetIds != null && { subnetIds: se_SubnetIdList(input.subnetIds, context) }),
2207
+ ...(input.tags != null && { tags: se_TagList(input.tags, context) }),
2208
2208
  ...(input.workgroupName != null && { workgroupName: input.workgroupName }),
2209
2209
  };
2210
2210
  };
2211
- const serializeAws_json1_1DeleteEndpointAccessRequest = (input, context) => {
2211
+ const se_DeleteEndpointAccessRequest = (input, context) => {
2212
2212
  return {
2213
2213
  ...(input.endpointName != null && { endpointName: input.endpointName }),
2214
2214
  };
2215
2215
  };
2216
- const serializeAws_json1_1DeleteNamespaceRequest = (input, context) => {
2216
+ const se_DeleteNamespaceRequest = (input, context) => {
2217
2217
  return {
2218
2218
  ...(input.finalSnapshotName != null && { finalSnapshotName: input.finalSnapshotName }),
2219
2219
  ...(input.finalSnapshotRetentionPeriod != null && {
@@ -2222,83 +2222,83 @@ const serializeAws_json1_1DeleteNamespaceRequest = (input, context) => {
2222
2222
  ...(input.namespaceName != null && { namespaceName: input.namespaceName }),
2223
2223
  };
2224
2224
  };
2225
- const serializeAws_json1_1DeleteResourcePolicyRequest = (input, context) => {
2225
+ const se_DeleteResourcePolicyRequest = (input, context) => {
2226
2226
  return {
2227
2227
  ...(input.resourceArn != null && { resourceArn: input.resourceArn }),
2228
2228
  };
2229
2229
  };
2230
- const serializeAws_json1_1DeleteSnapshotRequest = (input, context) => {
2230
+ const se_DeleteSnapshotRequest = (input, context) => {
2231
2231
  return {
2232
2232
  ...(input.snapshotName != null && { snapshotName: input.snapshotName }),
2233
2233
  };
2234
2234
  };
2235
- const serializeAws_json1_1DeleteUsageLimitRequest = (input, context) => {
2235
+ const se_DeleteUsageLimitRequest = (input, context) => {
2236
2236
  return {
2237
2237
  ...(input.usageLimitId != null && { usageLimitId: input.usageLimitId }),
2238
2238
  };
2239
2239
  };
2240
- const serializeAws_json1_1DeleteWorkgroupRequest = (input, context) => {
2240
+ const se_DeleteWorkgroupRequest = (input, context) => {
2241
2241
  return {
2242
2242
  ...(input.workgroupName != null && { workgroupName: input.workgroupName }),
2243
2243
  };
2244
2244
  };
2245
- const serializeAws_json1_1GetCredentialsRequest = (input, context) => {
2245
+ const se_GetCredentialsRequest = (input, context) => {
2246
2246
  return {
2247
2247
  ...(input.dbName != null && { dbName: input.dbName }),
2248
2248
  ...(input.durationSeconds != null && { durationSeconds: input.durationSeconds }),
2249
2249
  ...(input.workgroupName != null && { workgroupName: input.workgroupName }),
2250
2250
  };
2251
2251
  };
2252
- const serializeAws_json1_1GetEndpointAccessRequest = (input, context) => {
2252
+ const se_GetEndpointAccessRequest = (input, context) => {
2253
2253
  return {
2254
2254
  ...(input.endpointName != null && { endpointName: input.endpointName }),
2255
2255
  };
2256
2256
  };
2257
- const serializeAws_json1_1GetNamespaceRequest = (input, context) => {
2257
+ const se_GetNamespaceRequest = (input, context) => {
2258
2258
  return {
2259
2259
  ...(input.namespaceName != null && { namespaceName: input.namespaceName }),
2260
2260
  };
2261
2261
  };
2262
- const serializeAws_json1_1GetRecoveryPointRequest = (input, context) => {
2262
+ const se_GetRecoveryPointRequest = (input, context) => {
2263
2263
  return {
2264
2264
  ...(input.recoveryPointId != null && { recoveryPointId: input.recoveryPointId }),
2265
2265
  };
2266
2266
  };
2267
- const serializeAws_json1_1GetResourcePolicyRequest = (input, context) => {
2267
+ const se_GetResourcePolicyRequest = (input, context) => {
2268
2268
  return {
2269
2269
  ...(input.resourceArn != null && { resourceArn: input.resourceArn }),
2270
2270
  };
2271
2271
  };
2272
- const serializeAws_json1_1GetSnapshotRequest = (input, context) => {
2272
+ const se_GetSnapshotRequest = (input, context) => {
2273
2273
  return {
2274
2274
  ...(input.ownerAccount != null && { ownerAccount: input.ownerAccount }),
2275
2275
  ...(input.snapshotArn != null && { snapshotArn: input.snapshotArn }),
2276
2276
  ...(input.snapshotName != null && { snapshotName: input.snapshotName }),
2277
2277
  };
2278
2278
  };
2279
- const serializeAws_json1_1GetTableRestoreStatusRequest = (input, context) => {
2279
+ const se_GetTableRestoreStatusRequest = (input, context) => {
2280
2280
  return {
2281
2281
  ...(input.tableRestoreRequestId != null && { tableRestoreRequestId: input.tableRestoreRequestId }),
2282
2282
  };
2283
2283
  };
2284
- const serializeAws_json1_1GetUsageLimitRequest = (input, context) => {
2284
+ const se_GetUsageLimitRequest = (input, context) => {
2285
2285
  return {
2286
2286
  ...(input.usageLimitId != null && { usageLimitId: input.usageLimitId }),
2287
2287
  };
2288
2288
  };
2289
- const serializeAws_json1_1GetWorkgroupRequest = (input, context) => {
2289
+ const se_GetWorkgroupRequest = (input, context) => {
2290
2290
  return {
2291
2291
  ...(input.workgroupName != null && { workgroupName: input.workgroupName }),
2292
2292
  };
2293
2293
  };
2294
- const serializeAws_json1_1IamRoleArnList = (input, context) => {
2294
+ const se_IamRoleArnList = (input, context) => {
2295
2295
  return input
2296
2296
  .filter((e) => e != null)
2297
2297
  .map((entry) => {
2298
2298
  return entry;
2299
2299
  });
2300
2300
  };
2301
- const serializeAws_json1_1ListEndpointAccessRequest = (input, context) => {
2301
+ const se_ListEndpointAccessRequest = (input, context) => {
2302
2302
  return {
2303
2303
  ...(input.maxResults != null && { maxResults: input.maxResults }),
2304
2304
  ...(input.nextToken != null && { nextToken: input.nextToken }),
@@ -2306,13 +2306,13 @@ const serializeAws_json1_1ListEndpointAccessRequest = (input, context) => {
2306
2306
  ...(input.workgroupName != null && { workgroupName: input.workgroupName }),
2307
2307
  };
2308
2308
  };
2309
- const serializeAws_json1_1ListNamespacesRequest = (input, context) => {
2309
+ const se_ListNamespacesRequest = (input, context) => {
2310
2310
  return {
2311
2311
  ...(input.maxResults != null && { maxResults: input.maxResults }),
2312
2312
  ...(input.nextToken != null && { nextToken: input.nextToken }),
2313
2313
  };
2314
2314
  };
2315
- const serializeAws_json1_1ListRecoveryPointsRequest = (input, context) => {
2315
+ const se_ListRecoveryPointsRequest = (input, context) => {
2316
2316
  return {
2317
2317
  ...(input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000) }),
2318
2318
  ...(input.maxResults != null && { maxResults: input.maxResults }),
@@ -2322,7 +2322,7 @@ const serializeAws_json1_1ListRecoveryPointsRequest = (input, context) => {
2322
2322
  ...(input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000) }),
2323
2323
  };
2324
2324
  };
2325
- const serializeAws_json1_1ListSnapshotsRequest = (input, context) => {
2325
+ const se_ListSnapshotsRequest = (input, context) => {
2326
2326
  return {
2327
2327
  ...(input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000) }),
2328
2328
  ...(input.maxResults != null && { maxResults: input.maxResults }),
@@ -2333,7 +2333,7 @@ const serializeAws_json1_1ListSnapshotsRequest = (input, context) => {
2333
2333
  ...(input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000) }),
2334
2334
  };
2335
2335
  };
2336
- const serializeAws_json1_1ListTableRestoreStatusRequest = (input, context) => {
2336
+ const se_ListTableRestoreStatusRequest = (input, context) => {
2337
2337
  return {
2338
2338
  ...(input.maxResults != null && { maxResults: input.maxResults }),
2339
2339
  ...(input.namespaceName != null && { namespaceName: input.namespaceName }),
@@ -2341,12 +2341,12 @@ const serializeAws_json1_1ListTableRestoreStatusRequest = (input, context) => {
2341
2341
  ...(input.workgroupName != null && { workgroupName: input.workgroupName }),
2342
2342
  };
2343
2343
  };
2344
- const serializeAws_json1_1ListTagsForResourceRequest = (input, context) => {
2344
+ const se_ListTagsForResourceRequest = (input, context) => {
2345
2345
  return {
2346
2346
  ...(input.resourceArn != null && { resourceArn: input.resourceArn }),
2347
2347
  };
2348
2348
  };
2349
- const serializeAws_json1_1ListUsageLimitsRequest = (input, context) => {
2349
+ const se_ListUsageLimitsRequest = (input, context) => {
2350
2350
  return {
2351
2351
  ...(input.maxResults != null && { maxResults: input.maxResults }),
2352
2352
  ...(input.nextToken != null && { nextToken: input.nextToken }),
@@ -2354,33 +2354,33 @@ const serializeAws_json1_1ListUsageLimitsRequest = (input, context) => {
2354
2354
  ...(input.usageType != null && { usageType: input.usageType }),
2355
2355
  };
2356
2356
  };
2357
- const serializeAws_json1_1ListWorkgroupsRequest = (input, context) => {
2357
+ const se_ListWorkgroupsRequest = (input, context) => {
2358
2358
  return {
2359
2359
  ...(input.maxResults != null && { maxResults: input.maxResults }),
2360
2360
  ...(input.nextToken != null && { nextToken: input.nextToken }),
2361
2361
  };
2362
2362
  };
2363
- const serializeAws_json1_1LogExportList = (input, context) => {
2363
+ const se_LogExportList = (input, context) => {
2364
2364
  return input
2365
2365
  .filter((e) => e != null)
2366
2366
  .map((entry) => {
2367
2367
  return entry;
2368
2368
  });
2369
2369
  };
2370
- const serializeAws_json1_1PutResourcePolicyRequest = (input, context) => {
2370
+ const se_PutResourcePolicyRequest = (input, context) => {
2371
2371
  return {
2372
2372
  ...(input.policy != null && { policy: input.policy }),
2373
2373
  ...(input.resourceArn != null && { resourceArn: input.resourceArn }),
2374
2374
  };
2375
2375
  };
2376
- const serializeAws_json1_1RestoreFromRecoveryPointRequest = (input, context) => {
2376
+ const se_RestoreFromRecoveryPointRequest = (input, context) => {
2377
2377
  return {
2378
2378
  ...(input.namespaceName != null && { namespaceName: input.namespaceName }),
2379
2379
  ...(input.recoveryPointId != null && { recoveryPointId: input.recoveryPointId }),
2380
2380
  ...(input.workgroupName != null && { workgroupName: input.workgroupName }),
2381
2381
  };
2382
2382
  };
2383
- const serializeAws_json1_1RestoreFromSnapshotRequest = (input, context) => {
2383
+ const se_RestoreFromSnapshotRequest = (input, context) => {
2384
2384
  return {
2385
2385
  ...(input.namespaceName != null && { namespaceName: input.namespaceName }),
2386
2386
  ...(input.ownerAccount != null && { ownerAccount: input.ownerAccount }),
@@ -2389,7 +2389,7 @@ const serializeAws_json1_1RestoreFromSnapshotRequest = (input, context) => {
2389
2389
  ...(input.workgroupName != null && { workgroupName: input.workgroupName }),
2390
2390
  };
2391
2391
  };
2392
- const serializeAws_json1_1RestoreTableFromSnapshotRequest = (input, context) => {
2392
+ const se_RestoreTableFromSnapshotRequest = (input, context) => {
2393
2393
  return {
2394
2394
  ...(input.activateCaseSensitiveIdentifier != null && {
2395
2395
  activateCaseSensitiveIdentifier: input.activateCaseSensitiveIdentifier,
@@ -2405,114 +2405,114 @@ const serializeAws_json1_1RestoreTableFromSnapshotRequest = (input, context) =>
2405
2405
  ...(input.workgroupName != null && { workgroupName: input.workgroupName }),
2406
2406
  };
2407
2407
  };
2408
- const serializeAws_json1_1SecurityGroupIdList = (input, context) => {
2408
+ const se_SecurityGroupIdList = (input, context) => {
2409
2409
  return input
2410
2410
  .filter((e) => e != null)
2411
2411
  .map((entry) => {
2412
2412
  return entry;
2413
2413
  });
2414
2414
  };
2415
- const serializeAws_json1_1SubnetIdList = (input, context) => {
2415
+ const se_SubnetIdList = (input, context) => {
2416
2416
  return input
2417
2417
  .filter((e) => e != null)
2418
2418
  .map((entry) => {
2419
2419
  return entry;
2420
2420
  });
2421
2421
  };
2422
- const serializeAws_json1_1Tag = (input, context) => {
2422
+ const se_Tag = (input, context) => {
2423
2423
  return {
2424
2424
  ...(input.key != null && { key: input.key }),
2425
2425
  ...(input.value != null && { value: input.value }),
2426
2426
  };
2427
2427
  };
2428
- const serializeAws_json1_1TagKeyList = (input, context) => {
2428
+ const se_TagKeyList = (input, context) => {
2429
2429
  return input
2430
2430
  .filter((e) => e != null)
2431
2431
  .map((entry) => {
2432
2432
  return entry;
2433
2433
  });
2434
2434
  };
2435
- const serializeAws_json1_1TagList = (input, context) => {
2435
+ const se_TagList = (input, context) => {
2436
2436
  return input
2437
2437
  .filter((e) => e != null)
2438
2438
  .map((entry) => {
2439
- return serializeAws_json1_1Tag(entry, context);
2439
+ return se_Tag(entry, context);
2440
2440
  });
2441
2441
  };
2442
- const serializeAws_json1_1TagResourceRequest = (input, context) => {
2442
+ const se_TagResourceRequest = (input, context) => {
2443
2443
  return {
2444
2444
  ...(input.resourceArn != null && { resourceArn: input.resourceArn }),
2445
- ...(input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
2445
+ ...(input.tags != null && { tags: se_TagList(input.tags, context) }),
2446
2446
  };
2447
2447
  };
2448
- const serializeAws_json1_1UntagResourceRequest = (input, context) => {
2448
+ const se_UntagResourceRequest = (input, context) => {
2449
2449
  return {
2450
2450
  ...(input.resourceArn != null && { resourceArn: input.resourceArn }),
2451
- ...(input.tagKeys != null && { tagKeys: serializeAws_json1_1TagKeyList(input.tagKeys, context) }),
2451
+ ...(input.tagKeys != null && { tagKeys: se_TagKeyList(input.tagKeys, context) }),
2452
2452
  };
2453
2453
  };
2454
- const serializeAws_json1_1UpdateEndpointAccessRequest = (input, context) => {
2454
+ const se_UpdateEndpointAccessRequest = (input, context) => {
2455
2455
  return {
2456
2456
  ...(input.endpointName != null && { endpointName: input.endpointName }),
2457
2457
  ...(input.vpcSecurityGroupIds != null && {
2458
- vpcSecurityGroupIds: serializeAws_json1_1VpcSecurityGroupIdList(input.vpcSecurityGroupIds, context),
2458
+ vpcSecurityGroupIds: se_VpcSecurityGroupIdList(input.vpcSecurityGroupIds, context),
2459
2459
  }),
2460
2460
  };
2461
2461
  };
2462
- const serializeAws_json1_1UpdateNamespaceRequest = (input, context) => {
2462
+ const se_UpdateNamespaceRequest = (input, context) => {
2463
2463
  return {
2464
2464
  ...(input.adminUserPassword != null && { adminUserPassword: input.adminUserPassword }),
2465
2465
  ...(input.adminUsername != null && { adminUsername: input.adminUsername }),
2466
2466
  ...(input.defaultIamRoleArn != null && { defaultIamRoleArn: input.defaultIamRoleArn }),
2467
- ...(input.iamRoles != null && { iamRoles: serializeAws_json1_1IamRoleArnList(input.iamRoles, context) }),
2467
+ ...(input.iamRoles != null && { iamRoles: se_IamRoleArnList(input.iamRoles, context) }),
2468
2468
  ...(input.kmsKeyId != null && { kmsKeyId: input.kmsKeyId }),
2469
- ...(input.logExports != null && { logExports: serializeAws_json1_1LogExportList(input.logExports, context) }),
2469
+ ...(input.logExports != null && { logExports: se_LogExportList(input.logExports, context) }),
2470
2470
  ...(input.namespaceName != null && { namespaceName: input.namespaceName }),
2471
2471
  };
2472
2472
  };
2473
- const serializeAws_json1_1UpdateSnapshotRequest = (input, context) => {
2473
+ const se_UpdateSnapshotRequest = (input, context) => {
2474
2474
  return {
2475
2475
  ...(input.retentionPeriod != null && { retentionPeriod: input.retentionPeriod }),
2476
2476
  ...(input.snapshotName != null && { snapshotName: input.snapshotName }),
2477
2477
  };
2478
2478
  };
2479
- const serializeAws_json1_1UpdateUsageLimitRequest = (input, context) => {
2479
+ const se_UpdateUsageLimitRequest = (input, context) => {
2480
2480
  return {
2481
2481
  ...(input.amount != null && { amount: input.amount }),
2482
2482
  ...(input.breachAction != null && { breachAction: input.breachAction }),
2483
2483
  ...(input.usageLimitId != null && { usageLimitId: input.usageLimitId }),
2484
2484
  };
2485
2485
  };
2486
- const serializeAws_json1_1UpdateWorkgroupRequest = (input, context) => {
2486
+ const se_UpdateWorkgroupRequest = (input, context) => {
2487
2487
  return {
2488
2488
  ...(input.baseCapacity != null && { baseCapacity: input.baseCapacity }),
2489
2489
  ...(input.configParameters != null && {
2490
- configParameters: serializeAws_json1_1ConfigParameterList(input.configParameters, context),
2490
+ configParameters: se_ConfigParameterList(input.configParameters, context),
2491
2491
  }),
2492
2492
  ...(input.enhancedVpcRouting != null && { enhancedVpcRouting: input.enhancedVpcRouting }),
2493
2493
  ...(input.port != null && { port: input.port }),
2494
2494
  ...(input.publiclyAccessible != null && { publiclyAccessible: input.publiclyAccessible }),
2495
2495
  ...(input.securityGroupIds != null && {
2496
- securityGroupIds: serializeAws_json1_1SecurityGroupIdList(input.securityGroupIds, context),
2496
+ securityGroupIds: se_SecurityGroupIdList(input.securityGroupIds, context),
2497
2497
  }),
2498
- ...(input.subnetIds != null && { subnetIds: serializeAws_json1_1SubnetIdList(input.subnetIds, context) }),
2498
+ ...(input.subnetIds != null && { subnetIds: se_SubnetIdList(input.subnetIds, context) }),
2499
2499
  ...(input.workgroupName != null && { workgroupName: input.workgroupName }),
2500
2500
  };
2501
2501
  };
2502
- const serializeAws_json1_1VpcSecurityGroupIdList = (input, context) => {
2502
+ const se_VpcSecurityGroupIdList = (input, context) => {
2503
2503
  return input
2504
2504
  .filter((e) => e != null)
2505
2505
  .map((entry) => {
2506
2506
  return entry;
2507
2507
  });
2508
2508
  };
2509
- const deserializeAws_json1_1AccessDeniedException = (output, context) => {
2509
+ const de_AccessDeniedException = (output, context) => {
2510
2510
  return {
2511
2511
  code: __expectString(output.code),
2512
2512
  message: __expectString(output.message),
2513
2513
  };
2514
2514
  };
2515
- const deserializeAws_json1_1AccountIdList = (output, context) => {
2515
+ const de_AccountIdList = (output, context) => {
2516
2516
  const retVal = (output || [])
2517
2517
  .filter((e) => e != null)
2518
2518
  .map((entry) => {
@@ -2523,94 +2523,94 @@ const deserializeAws_json1_1AccountIdList = (output, context) => {
2523
2523
  });
2524
2524
  return retVal;
2525
2525
  };
2526
- const deserializeAws_json1_1ConfigParameter = (output, context) => {
2526
+ const de_ConfigParameter = (output, context) => {
2527
2527
  return {
2528
2528
  parameterKey: __expectString(output.parameterKey),
2529
2529
  parameterValue: __expectString(output.parameterValue),
2530
2530
  };
2531
2531
  };
2532
- const deserializeAws_json1_1ConfigParameterList = (output, context) => {
2532
+ const de_ConfigParameterList = (output, context) => {
2533
2533
  const retVal = (output || [])
2534
2534
  .filter((e) => e != null)
2535
2535
  .map((entry) => {
2536
2536
  if (entry === null) {
2537
2537
  return null;
2538
2538
  }
2539
- return deserializeAws_json1_1ConfigParameter(entry, context);
2539
+ return de_ConfigParameter(entry, context);
2540
2540
  });
2541
2541
  return retVal;
2542
2542
  };
2543
- const deserializeAws_json1_1ConflictException = (output, context) => {
2543
+ const de_ConflictException = (output, context) => {
2544
2544
  return {
2545
2545
  message: __expectString(output.message),
2546
2546
  };
2547
2547
  };
2548
- const deserializeAws_json1_1ConvertRecoveryPointToSnapshotResponse = (output, context) => {
2548
+ const de_ConvertRecoveryPointToSnapshotResponse = (output, context) => {
2549
2549
  return {
2550
- snapshot: output.snapshot != null ? deserializeAws_json1_1Snapshot(output.snapshot, context) : undefined,
2550
+ snapshot: output.snapshot != null ? de_Snapshot(output.snapshot, context) : undefined,
2551
2551
  };
2552
2552
  };
2553
- const deserializeAws_json1_1CreateEndpointAccessResponse = (output, context) => {
2553
+ const de_CreateEndpointAccessResponse = (output, context) => {
2554
2554
  return {
2555
- endpoint: output.endpoint != null ? deserializeAws_json1_1EndpointAccess(output.endpoint, context) : undefined,
2555
+ endpoint: output.endpoint != null ? de_EndpointAccess(output.endpoint, context) : undefined,
2556
2556
  };
2557
2557
  };
2558
- const deserializeAws_json1_1CreateNamespaceResponse = (output, context) => {
2558
+ const de_CreateNamespaceResponse = (output, context) => {
2559
2559
  return {
2560
- namespace: output.namespace != null ? deserializeAws_json1_1Namespace(output.namespace, context) : undefined,
2560
+ namespace: output.namespace != null ? de_Namespace(output.namespace, context) : undefined,
2561
2561
  };
2562
2562
  };
2563
- const deserializeAws_json1_1CreateSnapshotResponse = (output, context) => {
2563
+ const de_CreateSnapshotResponse = (output, context) => {
2564
2564
  return {
2565
- snapshot: output.snapshot != null ? deserializeAws_json1_1Snapshot(output.snapshot, context) : undefined,
2565
+ snapshot: output.snapshot != null ? de_Snapshot(output.snapshot, context) : undefined,
2566
2566
  };
2567
2567
  };
2568
- const deserializeAws_json1_1CreateUsageLimitResponse = (output, context) => {
2568
+ const de_CreateUsageLimitResponse = (output, context) => {
2569
2569
  return {
2570
- usageLimit: output.usageLimit != null ? deserializeAws_json1_1UsageLimit(output.usageLimit, context) : undefined,
2570
+ usageLimit: output.usageLimit != null ? de_UsageLimit(output.usageLimit, context) : undefined,
2571
2571
  };
2572
2572
  };
2573
- const deserializeAws_json1_1CreateWorkgroupResponse = (output, context) => {
2573
+ const de_CreateWorkgroupResponse = (output, context) => {
2574
2574
  return {
2575
- workgroup: output.workgroup != null ? deserializeAws_json1_1Workgroup(output.workgroup, context) : undefined,
2575
+ workgroup: output.workgroup != null ? de_Workgroup(output.workgroup, context) : undefined,
2576
2576
  };
2577
2577
  };
2578
- const deserializeAws_json1_1DeleteEndpointAccessResponse = (output, context) => {
2578
+ const de_DeleteEndpointAccessResponse = (output, context) => {
2579
2579
  return {
2580
- endpoint: output.endpoint != null ? deserializeAws_json1_1EndpointAccess(output.endpoint, context) : undefined,
2580
+ endpoint: output.endpoint != null ? de_EndpointAccess(output.endpoint, context) : undefined,
2581
2581
  };
2582
2582
  };
2583
- const deserializeAws_json1_1DeleteNamespaceResponse = (output, context) => {
2583
+ const de_DeleteNamespaceResponse = (output, context) => {
2584
2584
  return {
2585
- namespace: output.namespace != null ? deserializeAws_json1_1Namespace(output.namespace, context) : undefined,
2585
+ namespace: output.namespace != null ? de_Namespace(output.namespace, context) : undefined,
2586
2586
  };
2587
2587
  };
2588
- const deserializeAws_json1_1DeleteResourcePolicyResponse = (output, context) => {
2588
+ const de_DeleteResourcePolicyResponse = (output, context) => {
2589
2589
  return {};
2590
2590
  };
2591
- const deserializeAws_json1_1DeleteSnapshotResponse = (output, context) => {
2591
+ const de_DeleteSnapshotResponse = (output, context) => {
2592
2592
  return {
2593
- snapshot: output.snapshot != null ? deserializeAws_json1_1Snapshot(output.snapshot, context) : undefined,
2593
+ snapshot: output.snapshot != null ? de_Snapshot(output.snapshot, context) : undefined,
2594
2594
  };
2595
2595
  };
2596
- const deserializeAws_json1_1DeleteUsageLimitResponse = (output, context) => {
2596
+ const de_DeleteUsageLimitResponse = (output, context) => {
2597
2597
  return {
2598
- usageLimit: output.usageLimit != null ? deserializeAws_json1_1UsageLimit(output.usageLimit, context) : undefined,
2598
+ usageLimit: output.usageLimit != null ? de_UsageLimit(output.usageLimit, context) : undefined,
2599
2599
  };
2600
2600
  };
2601
- const deserializeAws_json1_1DeleteWorkgroupResponse = (output, context) => {
2601
+ const de_DeleteWorkgroupResponse = (output, context) => {
2602
2602
  return {
2603
- workgroup: output.workgroup != null ? deserializeAws_json1_1Workgroup(output.workgroup, context) : undefined,
2603
+ workgroup: output.workgroup != null ? de_Workgroup(output.workgroup, context) : undefined,
2604
2604
  };
2605
2605
  };
2606
- const deserializeAws_json1_1Endpoint = (output, context) => {
2606
+ const de_Endpoint = (output, context) => {
2607
2607
  return {
2608
2608
  address: __expectString(output.address),
2609
2609
  port: __expectInt32(output.port),
2610
- vpcEndpoints: output.vpcEndpoints != null ? deserializeAws_json1_1VpcEndpointList(output.vpcEndpoints, context) : undefined,
2610
+ vpcEndpoints: output.vpcEndpoints != null ? de_VpcEndpointList(output.vpcEndpoints, context) : undefined,
2611
2611
  };
2612
2612
  };
2613
- const deserializeAws_json1_1EndpointAccess = (output, context) => {
2613
+ const de_EndpointAccess = (output, context) => {
2614
2614
  return {
2615
2615
  address: __expectString(output.address),
2616
2616
  endpointArn: __expectString(output.endpointArn),
@@ -2620,26 +2620,26 @@ const deserializeAws_json1_1EndpointAccess = (output, context) => {
2620
2620
  endpointName: __expectString(output.endpointName),
2621
2621
  endpointStatus: __expectString(output.endpointStatus),
2622
2622
  port: __expectInt32(output.port),
2623
- subnetIds: output.subnetIds != null ? deserializeAws_json1_1SubnetIdList(output.subnetIds, context) : undefined,
2624
- vpcEndpoint: output.vpcEndpoint != null ? deserializeAws_json1_1VpcEndpoint(output.vpcEndpoint, context) : undefined,
2623
+ subnetIds: output.subnetIds != null ? de_SubnetIdList(output.subnetIds, context) : undefined,
2624
+ vpcEndpoint: output.vpcEndpoint != null ? de_VpcEndpoint(output.vpcEndpoint, context) : undefined,
2625
2625
  vpcSecurityGroups: output.vpcSecurityGroups != null
2626
- ? deserializeAws_json1_1VpcSecurityGroupMembershipList(output.vpcSecurityGroups, context)
2626
+ ? de_VpcSecurityGroupMembershipList(output.vpcSecurityGroups, context)
2627
2627
  : undefined,
2628
2628
  workgroupName: __expectString(output.workgroupName),
2629
2629
  };
2630
2630
  };
2631
- const deserializeAws_json1_1EndpointAccessList = (output, context) => {
2631
+ const de_EndpointAccessList = (output, context) => {
2632
2632
  const retVal = (output || [])
2633
2633
  .filter((e) => e != null)
2634
2634
  .map((entry) => {
2635
2635
  if (entry === null) {
2636
2636
  return null;
2637
2637
  }
2638
- return deserializeAws_json1_1EndpointAccess(entry, context);
2638
+ return de_EndpointAccess(entry, context);
2639
2639
  });
2640
2640
  return retVal;
2641
2641
  };
2642
- const deserializeAws_json1_1GetCredentialsResponse = (output, context) => {
2642
+ const de_GetCredentialsResponse = (output, context) => {
2643
2643
  return {
2644
2644
  dbPassword: __expectString(output.dbPassword),
2645
2645
  dbUser: __expectString(output.dbUser),
@@ -2649,49 +2649,47 @@ const deserializeAws_json1_1GetCredentialsResponse = (output, context) => {
2649
2649
  : undefined,
2650
2650
  };
2651
2651
  };
2652
- const deserializeAws_json1_1GetEndpointAccessResponse = (output, context) => {
2652
+ const de_GetEndpointAccessResponse = (output, context) => {
2653
2653
  return {
2654
- endpoint: output.endpoint != null ? deserializeAws_json1_1EndpointAccess(output.endpoint, context) : undefined,
2654
+ endpoint: output.endpoint != null ? de_EndpointAccess(output.endpoint, context) : undefined,
2655
2655
  };
2656
2656
  };
2657
- const deserializeAws_json1_1GetNamespaceResponse = (output, context) => {
2657
+ const de_GetNamespaceResponse = (output, context) => {
2658
2658
  return {
2659
- namespace: output.namespace != null ? deserializeAws_json1_1Namespace(output.namespace, context) : undefined,
2659
+ namespace: output.namespace != null ? de_Namespace(output.namespace, context) : undefined,
2660
2660
  };
2661
2661
  };
2662
- const deserializeAws_json1_1GetRecoveryPointResponse = (output, context) => {
2662
+ const de_GetRecoveryPointResponse = (output, context) => {
2663
2663
  return {
2664
- recoveryPoint: output.recoveryPoint != null ? deserializeAws_json1_1RecoveryPoint(output.recoveryPoint, context) : undefined,
2664
+ recoveryPoint: output.recoveryPoint != null ? de_RecoveryPoint(output.recoveryPoint, context) : undefined,
2665
2665
  };
2666
2666
  };
2667
- const deserializeAws_json1_1GetResourcePolicyResponse = (output, context) => {
2667
+ const de_GetResourcePolicyResponse = (output, context) => {
2668
2668
  return {
2669
- resourcePolicy: output.resourcePolicy != null ? deserializeAws_json1_1ResourcePolicy(output.resourcePolicy, context) : undefined,
2669
+ resourcePolicy: output.resourcePolicy != null ? de_ResourcePolicy(output.resourcePolicy, context) : undefined,
2670
2670
  };
2671
2671
  };
2672
- const deserializeAws_json1_1GetSnapshotResponse = (output, context) => {
2672
+ const de_GetSnapshotResponse = (output, context) => {
2673
2673
  return {
2674
- snapshot: output.snapshot != null ? deserializeAws_json1_1Snapshot(output.snapshot, context) : undefined,
2674
+ snapshot: output.snapshot != null ? de_Snapshot(output.snapshot, context) : undefined,
2675
2675
  };
2676
2676
  };
2677
- const deserializeAws_json1_1GetTableRestoreStatusResponse = (output, context) => {
2677
+ const de_GetTableRestoreStatusResponse = (output, context) => {
2678
2678
  return {
2679
- tableRestoreStatus: output.tableRestoreStatus != null
2680
- ? deserializeAws_json1_1TableRestoreStatus(output.tableRestoreStatus, context)
2681
- : undefined,
2679
+ tableRestoreStatus: output.tableRestoreStatus != null ? de_TableRestoreStatus(output.tableRestoreStatus, context) : undefined,
2682
2680
  };
2683
2681
  };
2684
- const deserializeAws_json1_1GetUsageLimitResponse = (output, context) => {
2682
+ const de_GetUsageLimitResponse = (output, context) => {
2685
2683
  return {
2686
- usageLimit: output.usageLimit != null ? deserializeAws_json1_1UsageLimit(output.usageLimit, context) : undefined,
2684
+ usageLimit: output.usageLimit != null ? de_UsageLimit(output.usageLimit, context) : undefined,
2687
2685
  };
2688
2686
  };
2689
- const deserializeAws_json1_1GetWorkgroupResponse = (output, context) => {
2687
+ const de_GetWorkgroupResponse = (output, context) => {
2690
2688
  return {
2691
- workgroup: output.workgroup != null ? deserializeAws_json1_1Workgroup(output.workgroup, context) : undefined,
2689
+ workgroup: output.workgroup != null ? de_Workgroup(output.workgroup, context) : undefined,
2692
2690
  };
2693
2691
  };
2694
- const deserializeAws_json1_1IamRoleArnList = (output, context) => {
2692
+ const de_IamRoleArnList = (output, context) => {
2695
2693
  const retVal = (output || [])
2696
2694
  .filter((e) => e != null)
2697
2695
  .map((entry) => {
@@ -2702,73 +2700,69 @@ const deserializeAws_json1_1IamRoleArnList = (output, context) => {
2702
2700
  });
2703
2701
  return retVal;
2704
2702
  };
2705
- const deserializeAws_json1_1InsufficientCapacityException = (output, context) => {
2703
+ const de_InsufficientCapacityException = (output, context) => {
2706
2704
  return {
2707
2705
  message: __expectString(output.message),
2708
2706
  };
2709
2707
  };
2710
- const deserializeAws_json1_1InternalServerException = (output, context) => {
2708
+ const de_InternalServerException = (output, context) => {
2711
2709
  return {
2712
2710
  message: __expectString(output.message),
2713
2711
  };
2714
2712
  };
2715
- const deserializeAws_json1_1InvalidPaginationException = (output, context) => {
2713
+ const de_InvalidPaginationException = (output, context) => {
2716
2714
  return {
2717
2715
  message: __expectString(output.message),
2718
2716
  };
2719
2717
  };
2720
- const deserializeAws_json1_1ListEndpointAccessResponse = (output, context) => {
2718
+ const de_ListEndpointAccessResponse = (output, context) => {
2721
2719
  return {
2722
- endpoints: output.endpoints != null ? deserializeAws_json1_1EndpointAccessList(output.endpoints, context) : undefined,
2720
+ endpoints: output.endpoints != null ? de_EndpointAccessList(output.endpoints, context) : undefined,
2723
2721
  nextToken: __expectString(output.nextToken),
2724
2722
  };
2725
2723
  };
2726
- const deserializeAws_json1_1ListNamespacesResponse = (output, context) => {
2724
+ const de_ListNamespacesResponse = (output, context) => {
2727
2725
  return {
2728
- namespaces: output.namespaces != null ? deserializeAws_json1_1NamespaceList(output.namespaces, context) : undefined,
2726
+ namespaces: output.namespaces != null ? de_NamespaceList(output.namespaces, context) : undefined,
2729
2727
  nextToken: __expectString(output.nextToken),
2730
2728
  };
2731
2729
  };
2732
- const deserializeAws_json1_1ListRecoveryPointsResponse = (output, context) => {
2730
+ const de_ListRecoveryPointsResponse = (output, context) => {
2733
2731
  return {
2734
2732
  nextToken: __expectString(output.nextToken),
2735
- recoveryPoints: output.recoveryPoints != null
2736
- ? deserializeAws_json1_1RecoveryPointList(output.recoveryPoints, context)
2737
- : undefined,
2733
+ recoveryPoints: output.recoveryPoints != null ? de_RecoveryPointList(output.recoveryPoints, context) : undefined,
2738
2734
  };
2739
2735
  };
2740
- const deserializeAws_json1_1ListSnapshotsResponse = (output, context) => {
2736
+ const de_ListSnapshotsResponse = (output, context) => {
2741
2737
  return {
2742
2738
  nextToken: __expectString(output.nextToken),
2743
- snapshots: output.snapshots != null ? deserializeAws_json1_1SnapshotList(output.snapshots, context) : undefined,
2739
+ snapshots: output.snapshots != null ? de_SnapshotList(output.snapshots, context) : undefined,
2744
2740
  };
2745
2741
  };
2746
- const deserializeAws_json1_1ListTableRestoreStatusResponse = (output, context) => {
2742
+ const de_ListTableRestoreStatusResponse = (output, context) => {
2747
2743
  return {
2748
2744
  nextToken: __expectString(output.nextToken),
2749
- tableRestoreStatuses: output.tableRestoreStatuses != null
2750
- ? deserializeAws_json1_1TableRestoreStatusList(output.tableRestoreStatuses, context)
2751
- : undefined,
2745
+ tableRestoreStatuses: output.tableRestoreStatuses != null ? de_TableRestoreStatusList(output.tableRestoreStatuses, context) : undefined,
2752
2746
  };
2753
2747
  };
2754
- const deserializeAws_json1_1ListTagsForResourceResponse = (output, context) => {
2748
+ const de_ListTagsForResourceResponse = (output, context) => {
2755
2749
  return {
2756
- tags: output.tags != null ? deserializeAws_json1_1TagList(output.tags, context) : undefined,
2750
+ tags: output.tags != null ? de_TagList(output.tags, context) : undefined,
2757
2751
  };
2758
2752
  };
2759
- const deserializeAws_json1_1ListUsageLimitsResponse = (output, context) => {
2753
+ const de_ListUsageLimitsResponse = (output, context) => {
2760
2754
  return {
2761
2755
  nextToken: __expectString(output.nextToken),
2762
- usageLimits: output.usageLimits != null ? deserializeAws_json1_1UsageLimits(output.usageLimits, context) : undefined,
2756
+ usageLimits: output.usageLimits != null ? de_UsageLimits(output.usageLimits, context) : undefined,
2763
2757
  };
2764
2758
  };
2765
- const deserializeAws_json1_1ListWorkgroupsResponse = (output, context) => {
2759
+ const de_ListWorkgroupsResponse = (output, context) => {
2766
2760
  return {
2767
2761
  nextToken: __expectString(output.nextToken),
2768
- workgroups: output.workgroups != null ? deserializeAws_json1_1WorkgroupList(output.workgroups, context) : undefined,
2762
+ workgroups: output.workgroups != null ? de_WorkgroupList(output.workgroups, context) : undefined,
2769
2763
  };
2770
2764
  };
2771
- const deserializeAws_json1_1LogExportList = (output, context) => {
2765
+ const de_LogExportList = (output, context) => {
2772
2766
  const retVal = (output || [])
2773
2767
  .filter((e) => e != null)
2774
2768
  .map((entry) => {
@@ -2779,33 +2773,33 @@ const deserializeAws_json1_1LogExportList = (output, context) => {
2779
2773
  });
2780
2774
  return retVal;
2781
2775
  };
2782
- const deserializeAws_json1_1Namespace = (output, context) => {
2776
+ const de_Namespace = (output, context) => {
2783
2777
  return {
2784
2778
  adminUsername: __expectString(output.adminUsername),
2785
2779
  creationDate: output.creationDate != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.creationDate)) : undefined,
2786
2780
  dbName: __expectString(output.dbName),
2787
2781
  defaultIamRoleArn: __expectString(output.defaultIamRoleArn),
2788
- iamRoles: output.iamRoles != null ? deserializeAws_json1_1IamRoleArnList(output.iamRoles, context) : undefined,
2782
+ iamRoles: output.iamRoles != null ? de_IamRoleArnList(output.iamRoles, context) : undefined,
2789
2783
  kmsKeyId: __expectString(output.kmsKeyId),
2790
- logExports: output.logExports != null ? deserializeAws_json1_1LogExportList(output.logExports, context) : undefined,
2784
+ logExports: output.logExports != null ? de_LogExportList(output.logExports, context) : undefined,
2791
2785
  namespaceArn: __expectString(output.namespaceArn),
2792
2786
  namespaceId: __expectString(output.namespaceId),
2793
2787
  namespaceName: __expectString(output.namespaceName),
2794
2788
  status: __expectString(output.status),
2795
2789
  };
2796
2790
  };
2797
- const deserializeAws_json1_1NamespaceList = (output, context) => {
2791
+ const de_NamespaceList = (output, context) => {
2798
2792
  const retVal = (output || [])
2799
2793
  .filter((e) => e != null)
2800
2794
  .map((entry) => {
2801
2795
  if (entry === null) {
2802
2796
  return null;
2803
2797
  }
2804
- return deserializeAws_json1_1Namespace(entry, context);
2798
+ return de_Namespace(entry, context);
2805
2799
  });
2806
2800
  return retVal;
2807
2801
  };
2808
- const deserializeAws_json1_1NetworkInterface = (output, context) => {
2802
+ const de_NetworkInterface = (output, context) => {
2809
2803
  return {
2810
2804
  availabilityZone: __expectString(output.availabilityZone),
2811
2805
  networkInterfaceId: __expectString(output.networkInterfaceId),
@@ -2813,23 +2807,23 @@ const deserializeAws_json1_1NetworkInterface = (output, context) => {
2813
2807
  subnetId: __expectString(output.subnetId),
2814
2808
  };
2815
2809
  };
2816
- const deserializeAws_json1_1NetworkInterfaceList = (output, context) => {
2810
+ const de_NetworkInterfaceList = (output, context) => {
2817
2811
  const retVal = (output || [])
2818
2812
  .filter((e) => e != null)
2819
2813
  .map((entry) => {
2820
2814
  if (entry === null) {
2821
2815
  return null;
2822
2816
  }
2823
- return deserializeAws_json1_1NetworkInterface(entry, context);
2817
+ return de_NetworkInterface(entry, context);
2824
2818
  });
2825
2819
  return retVal;
2826
2820
  };
2827
- const deserializeAws_json1_1PutResourcePolicyResponse = (output, context) => {
2821
+ const de_PutResourcePolicyResponse = (output, context) => {
2828
2822
  return {
2829
- resourcePolicy: output.resourcePolicy != null ? deserializeAws_json1_1ResourcePolicy(output.resourcePolicy, context) : undefined,
2823
+ resourcePolicy: output.resourcePolicy != null ? de_ResourcePolicy(output.resourcePolicy, context) : undefined,
2830
2824
  };
2831
2825
  };
2832
- const deserializeAws_json1_1RecoveryPoint = (output, context) => {
2826
+ const de_RecoveryPoint = (output, context) => {
2833
2827
  return {
2834
2828
  namespaceArn: __expectString(output.namespaceArn),
2835
2829
  namespaceName: __expectString(output.namespaceName),
@@ -2841,50 +2835,48 @@ const deserializeAws_json1_1RecoveryPoint = (output, context) => {
2841
2835
  workgroupName: __expectString(output.workgroupName),
2842
2836
  };
2843
2837
  };
2844
- const deserializeAws_json1_1RecoveryPointList = (output, context) => {
2838
+ const de_RecoveryPointList = (output, context) => {
2845
2839
  const retVal = (output || [])
2846
2840
  .filter((e) => e != null)
2847
2841
  .map((entry) => {
2848
2842
  if (entry === null) {
2849
2843
  return null;
2850
2844
  }
2851
- return deserializeAws_json1_1RecoveryPoint(entry, context);
2845
+ return de_RecoveryPoint(entry, context);
2852
2846
  });
2853
2847
  return retVal;
2854
2848
  };
2855
- const deserializeAws_json1_1ResourceNotFoundException = (output, context) => {
2849
+ const de_ResourceNotFoundException = (output, context) => {
2856
2850
  return {
2857
2851
  message: __expectString(output.message),
2858
2852
  resourceName: __expectString(output.resourceName),
2859
2853
  };
2860
2854
  };
2861
- const deserializeAws_json1_1ResourcePolicy = (output, context) => {
2855
+ const de_ResourcePolicy = (output, context) => {
2862
2856
  return {
2863
2857
  policy: __expectString(output.policy),
2864
2858
  resourceArn: __expectString(output.resourceArn),
2865
2859
  };
2866
2860
  };
2867
- const deserializeAws_json1_1RestoreFromRecoveryPointResponse = (output, context) => {
2861
+ const de_RestoreFromRecoveryPointResponse = (output, context) => {
2868
2862
  return {
2869
- namespace: output.namespace != null ? deserializeAws_json1_1Namespace(output.namespace, context) : undefined,
2863
+ namespace: output.namespace != null ? de_Namespace(output.namespace, context) : undefined,
2870
2864
  recoveryPointId: __expectString(output.recoveryPointId),
2871
2865
  };
2872
2866
  };
2873
- const deserializeAws_json1_1RestoreFromSnapshotResponse = (output, context) => {
2867
+ const de_RestoreFromSnapshotResponse = (output, context) => {
2874
2868
  return {
2875
- namespace: output.namespace != null ? deserializeAws_json1_1Namespace(output.namespace, context) : undefined,
2869
+ namespace: output.namespace != null ? de_Namespace(output.namespace, context) : undefined,
2876
2870
  ownerAccount: __expectString(output.ownerAccount),
2877
2871
  snapshotName: __expectString(output.snapshotName),
2878
2872
  };
2879
2873
  };
2880
- const deserializeAws_json1_1RestoreTableFromSnapshotResponse = (output, context) => {
2874
+ const de_RestoreTableFromSnapshotResponse = (output, context) => {
2881
2875
  return {
2882
- tableRestoreStatus: output.tableRestoreStatus != null
2883
- ? deserializeAws_json1_1TableRestoreStatus(output.tableRestoreStatus, context)
2884
- : undefined,
2876
+ tableRestoreStatus: output.tableRestoreStatus != null ? de_TableRestoreStatus(output.tableRestoreStatus, context) : undefined,
2885
2877
  };
2886
2878
  };
2887
- const deserializeAws_json1_1SecurityGroupIdList = (output, context) => {
2879
+ const de_SecurityGroupIdList = (output, context) => {
2888
2880
  const retVal = (output || [])
2889
2881
  .filter((e) => e != null)
2890
2882
  .map((entry) => {
@@ -2895,18 +2887,18 @@ const deserializeAws_json1_1SecurityGroupIdList = (output, context) => {
2895
2887
  });
2896
2888
  return retVal;
2897
2889
  };
2898
- const deserializeAws_json1_1ServiceQuotaExceededException = (output, context) => {
2890
+ const de_ServiceQuotaExceededException = (output, context) => {
2899
2891
  return {
2900
2892
  message: __expectString(output.message),
2901
2893
  };
2902
2894
  };
2903
- const deserializeAws_json1_1Snapshot = (output, context) => {
2895
+ const de_Snapshot = (output, context) => {
2904
2896
  return {
2905
2897
  accountsWithProvisionedRestoreAccess: output.accountsWithProvisionedRestoreAccess != null
2906
- ? deserializeAws_json1_1AccountIdList(output.accountsWithProvisionedRestoreAccess, context)
2898
+ ? de_AccountIdList(output.accountsWithProvisionedRestoreAccess, context)
2907
2899
  : undefined,
2908
2900
  accountsWithRestoreAccess: output.accountsWithRestoreAccess != null
2909
- ? deserializeAws_json1_1AccountIdList(output.accountsWithRestoreAccess, context)
2901
+ ? de_AccountIdList(output.accountsWithRestoreAccess, context)
2910
2902
  : undefined,
2911
2903
  actualIncrementalBackupSizeInMegaBytes: __limitedParseDouble(output.actualIncrementalBackupSizeInMegaBytes),
2912
2904
  adminUsername: __expectString(output.adminUsername),
@@ -2932,18 +2924,18 @@ const deserializeAws_json1_1Snapshot = (output, context) => {
2932
2924
  totalBackupSizeInMegaBytes: __limitedParseDouble(output.totalBackupSizeInMegaBytes),
2933
2925
  };
2934
2926
  };
2935
- const deserializeAws_json1_1SnapshotList = (output, context) => {
2927
+ const de_SnapshotList = (output, context) => {
2936
2928
  const retVal = (output || [])
2937
2929
  .filter((e) => e != null)
2938
2930
  .map((entry) => {
2939
2931
  if (entry === null) {
2940
2932
  return null;
2941
2933
  }
2942
- return deserializeAws_json1_1Snapshot(entry, context);
2934
+ return de_Snapshot(entry, context);
2943
2935
  });
2944
2936
  return retVal;
2945
2937
  };
2946
- const deserializeAws_json1_1SubnetIdList = (output, context) => {
2938
+ const de_SubnetIdList = (output, context) => {
2947
2939
  const retVal = (output || [])
2948
2940
  .filter((e) => e != null)
2949
2941
  .map((entry) => {
@@ -2954,7 +2946,7 @@ const deserializeAws_json1_1SubnetIdList = (output, context) => {
2954
2946
  });
2955
2947
  return retVal;
2956
2948
  };
2957
- const deserializeAws_json1_1TableRestoreStatus = (output, context) => {
2949
+ const de_TableRestoreStatus = (output, context) => {
2958
2950
  return {
2959
2951
  message: __expectString(output.message),
2960
2952
  namespaceName: __expectString(output.namespaceName),
@@ -2975,78 +2967,78 @@ const deserializeAws_json1_1TableRestoreStatus = (output, context) => {
2975
2967
  workgroupName: __expectString(output.workgroupName),
2976
2968
  };
2977
2969
  };
2978
- const deserializeAws_json1_1TableRestoreStatusList = (output, context) => {
2970
+ const de_TableRestoreStatusList = (output, context) => {
2979
2971
  const retVal = (output || [])
2980
2972
  .filter((e) => e != null)
2981
2973
  .map((entry) => {
2982
2974
  if (entry === null) {
2983
2975
  return null;
2984
2976
  }
2985
- return deserializeAws_json1_1TableRestoreStatus(entry, context);
2977
+ return de_TableRestoreStatus(entry, context);
2986
2978
  });
2987
2979
  return retVal;
2988
2980
  };
2989
- const deserializeAws_json1_1Tag = (output, context) => {
2981
+ const de_Tag = (output, context) => {
2990
2982
  return {
2991
2983
  key: __expectString(output.key),
2992
2984
  value: __expectString(output.value),
2993
2985
  };
2994
2986
  };
2995
- const deserializeAws_json1_1TagList = (output, context) => {
2987
+ const de_TagList = (output, context) => {
2996
2988
  const retVal = (output || [])
2997
2989
  .filter((e) => e != null)
2998
2990
  .map((entry) => {
2999
2991
  if (entry === null) {
3000
2992
  return null;
3001
2993
  }
3002
- return deserializeAws_json1_1Tag(entry, context);
2994
+ return de_Tag(entry, context);
3003
2995
  });
3004
2996
  return retVal;
3005
2997
  };
3006
- const deserializeAws_json1_1TagResourceResponse = (output, context) => {
2998
+ const de_TagResourceResponse = (output, context) => {
3007
2999
  return {};
3008
3000
  };
3009
- const deserializeAws_json1_1ThrottlingException = (output, context) => {
3001
+ const de_ThrottlingException = (output, context) => {
3010
3002
  return {
3011
3003
  code: __expectString(output.code),
3012
3004
  message: __expectString(output.message),
3013
3005
  };
3014
3006
  };
3015
- const deserializeAws_json1_1TooManyTagsException = (output, context) => {
3007
+ const de_TooManyTagsException = (output, context) => {
3016
3008
  return {
3017
3009
  message: __expectString(output.message),
3018
3010
  resourceName: __expectString(output.resourceName),
3019
3011
  };
3020
3012
  };
3021
- const deserializeAws_json1_1UntagResourceResponse = (output, context) => {
3013
+ const de_UntagResourceResponse = (output, context) => {
3022
3014
  return {};
3023
3015
  };
3024
- const deserializeAws_json1_1UpdateEndpointAccessResponse = (output, context) => {
3016
+ const de_UpdateEndpointAccessResponse = (output, context) => {
3025
3017
  return {
3026
- endpoint: output.endpoint != null ? deserializeAws_json1_1EndpointAccess(output.endpoint, context) : undefined,
3018
+ endpoint: output.endpoint != null ? de_EndpointAccess(output.endpoint, context) : undefined,
3027
3019
  };
3028
3020
  };
3029
- const deserializeAws_json1_1UpdateNamespaceResponse = (output, context) => {
3021
+ const de_UpdateNamespaceResponse = (output, context) => {
3030
3022
  return {
3031
- namespace: output.namespace != null ? deserializeAws_json1_1Namespace(output.namespace, context) : undefined,
3023
+ namespace: output.namespace != null ? de_Namespace(output.namespace, context) : undefined,
3032
3024
  };
3033
3025
  };
3034
- const deserializeAws_json1_1UpdateSnapshotResponse = (output, context) => {
3026
+ const de_UpdateSnapshotResponse = (output, context) => {
3035
3027
  return {
3036
- snapshot: output.snapshot != null ? deserializeAws_json1_1Snapshot(output.snapshot, context) : undefined,
3028
+ snapshot: output.snapshot != null ? de_Snapshot(output.snapshot, context) : undefined,
3037
3029
  };
3038
3030
  };
3039
- const deserializeAws_json1_1UpdateUsageLimitResponse = (output, context) => {
3031
+ const de_UpdateUsageLimitResponse = (output, context) => {
3040
3032
  return {
3041
- usageLimit: output.usageLimit != null ? deserializeAws_json1_1UsageLimit(output.usageLimit, context) : undefined,
3033
+ usageLimit: output.usageLimit != null ? de_UsageLimit(output.usageLimit, context) : undefined,
3042
3034
  };
3043
3035
  };
3044
- const deserializeAws_json1_1UpdateWorkgroupResponse = (output, context) => {
3036
+ const de_UpdateWorkgroupResponse = (output, context) => {
3045
3037
  return {
3046
- workgroup: output.workgroup != null ? deserializeAws_json1_1Workgroup(output.workgroup, context) : undefined,
3038
+ workgroup: output.workgroup != null ? de_Workgroup(output.workgroup, context) : undefined,
3047
3039
  };
3048
3040
  };
3049
- const deserializeAws_json1_1UsageLimit = (output, context) => {
3041
+ const de_UsageLimit = (output, context) => {
3050
3042
  return {
3051
3043
  amount: __expectLong(output.amount),
3052
3044
  breachAction: __expectString(output.breachAction),
@@ -3057,89 +3049,83 @@ const deserializeAws_json1_1UsageLimit = (output, context) => {
3057
3049
  usageType: __expectString(output.usageType),
3058
3050
  };
3059
3051
  };
3060
- const deserializeAws_json1_1UsageLimits = (output, context) => {
3052
+ const de_UsageLimits = (output, context) => {
3061
3053
  const retVal = (output || [])
3062
3054
  .filter((e) => e != null)
3063
3055
  .map((entry) => {
3064
3056
  if (entry === null) {
3065
3057
  return null;
3066
3058
  }
3067
- return deserializeAws_json1_1UsageLimit(entry, context);
3059
+ return de_UsageLimit(entry, context);
3068
3060
  });
3069
3061
  return retVal;
3070
3062
  };
3071
- const deserializeAws_json1_1ValidationException = (output, context) => {
3063
+ const de_ValidationException = (output, context) => {
3072
3064
  return {
3073
3065
  message: __expectString(output.message),
3074
3066
  };
3075
3067
  };
3076
- const deserializeAws_json1_1VpcEndpoint = (output, context) => {
3068
+ const de_VpcEndpoint = (output, context) => {
3077
3069
  return {
3078
- networkInterfaces: output.networkInterfaces != null
3079
- ? deserializeAws_json1_1NetworkInterfaceList(output.networkInterfaces, context)
3080
- : undefined,
3070
+ networkInterfaces: output.networkInterfaces != null ? de_NetworkInterfaceList(output.networkInterfaces, context) : undefined,
3081
3071
  vpcEndpointId: __expectString(output.vpcEndpointId),
3082
3072
  vpcId: __expectString(output.vpcId),
3083
3073
  };
3084
3074
  };
3085
- const deserializeAws_json1_1VpcEndpointList = (output, context) => {
3075
+ const de_VpcEndpointList = (output, context) => {
3086
3076
  const retVal = (output || [])
3087
3077
  .filter((e) => e != null)
3088
3078
  .map((entry) => {
3089
3079
  if (entry === null) {
3090
3080
  return null;
3091
3081
  }
3092
- return deserializeAws_json1_1VpcEndpoint(entry, context);
3082
+ return de_VpcEndpoint(entry, context);
3093
3083
  });
3094
3084
  return retVal;
3095
3085
  };
3096
- const deserializeAws_json1_1VpcSecurityGroupMembership = (output, context) => {
3086
+ const de_VpcSecurityGroupMembership = (output, context) => {
3097
3087
  return {
3098
3088
  status: __expectString(output.status),
3099
3089
  vpcSecurityGroupId: __expectString(output.vpcSecurityGroupId),
3100
3090
  };
3101
3091
  };
3102
- const deserializeAws_json1_1VpcSecurityGroupMembershipList = (output, context) => {
3092
+ const de_VpcSecurityGroupMembershipList = (output, context) => {
3103
3093
  const retVal = (output || [])
3104
3094
  .filter((e) => e != null)
3105
3095
  .map((entry) => {
3106
3096
  if (entry === null) {
3107
3097
  return null;
3108
3098
  }
3109
- return deserializeAws_json1_1VpcSecurityGroupMembership(entry, context);
3099
+ return de_VpcSecurityGroupMembership(entry, context);
3110
3100
  });
3111
3101
  return retVal;
3112
3102
  };
3113
- const deserializeAws_json1_1Workgroup = (output, context) => {
3103
+ const de_Workgroup = (output, context) => {
3114
3104
  return {
3115
3105
  baseCapacity: __expectInt32(output.baseCapacity),
3116
- configParameters: output.configParameters != null
3117
- ? deserializeAws_json1_1ConfigParameterList(output.configParameters, context)
3118
- : undefined,
3106
+ configParameters: output.configParameters != null ? de_ConfigParameterList(output.configParameters, context) : undefined,
3119
3107
  creationDate: output.creationDate != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.creationDate)) : undefined,
3120
- endpoint: output.endpoint != null ? deserializeAws_json1_1Endpoint(output.endpoint, context) : undefined,
3108
+ endpoint: output.endpoint != null ? de_Endpoint(output.endpoint, context) : undefined,
3121
3109
  enhancedVpcRouting: __expectBoolean(output.enhancedVpcRouting),
3122
3110
  namespaceName: __expectString(output.namespaceName),
3123
3111
  port: __expectInt32(output.port),
3124
3112
  publiclyAccessible: __expectBoolean(output.publiclyAccessible),
3125
- securityGroupIds: output.securityGroupIds != null
3126
- ? deserializeAws_json1_1SecurityGroupIdList(output.securityGroupIds, context)
3127
- : undefined,
3113
+ securityGroupIds: output.securityGroupIds != null ? de_SecurityGroupIdList(output.securityGroupIds, context) : undefined,
3128
3114
  status: __expectString(output.status),
3129
- subnetIds: output.subnetIds != null ? deserializeAws_json1_1SubnetIdList(output.subnetIds, context) : undefined,
3115
+ subnetIds: output.subnetIds != null ? de_SubnetIdList(output.subnetIds, context) : undefined,
3130
3116
  workgroupArn: __expectString(output.workgroupArn),
3131
3117
  workgroupId: __expectString(output.workgroupId),
3132
3118
  workgroupName: __expectString(output.workgroupName),
3133
3119
  };
3134
3120
  };
3135
- const deserializeAws_json1_1WorkgroupList = (output, context) => {
3121
+ const de_WorkgroupList = (output, context) => {
3136
3122
  const retVal = (output || [])
3137
3123
  .filter((e) => e != null)
3138
3124
  .map((entry) => {
3139
3125
  if (entry === null) {
3140
3126
  return null;
3141
3127
  }
3142
- return deserializeAws_json1_1Workgroup(entry, context);
3128
+ return de_Workgroup(entry, context);
3143
3129
  });
3144
3130
  return retVal;
3145
3131
  };