@aws-sdk/client-codeartifact 3.306.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 (81) hide show
  1. package/dist-cjs/commands/AssociateExternalConnectionCommand.js +2 -2
  2. package/dist-cjs/commands/CopyPackageVersionsCommand.js +2 -2
  3. package/dist-cjs/commands/CreateDomainCommand.js +2 -2
  4. package/dist-cjs/commands/CreateRepositoryCommand.js +2 -2
  5. package/dist-cjs/commands/DeleteDomainCommand.js +2 -2
  6. package/dist-cjs/commands/DeleteDomainPermissionsPolicyCommand.js +2 -2
  7. package/dist-cjs/commands/DeletePackageCommand.js +2 -2
  8. package/dist-cjs/commands/DeletePackageVersionsCommand.js +2 -2
  9. package/dist-cjs/commands/DeleteRepositoryCommand.js +2 -2
  10. package/dist-cjs/commands/DeleteRepositoryPermissionsPolicyCommand.js +2 -2
  11. package/dist-cjs/commands/DescribeDomainCommand.js +2 -2
  12. package/dist-cjs/commands/DescribePackageCommand.js +2 -2
  13. package/dist-cjs/commands/DescribePackageVersionCommand.js +2 -2
  14. package/dist-cjs/commands/DescribeRepositoryCommand.js +2 -2
  15. package/dist-cjs/commands/DisassociateExternalConnectionCommand.js +2 -2
  16. package/dist-cjs/commands/DisposePackageVersionsCommand.js +2 -2
  17. package/dist-cjs/commands/GetAuthorizationTokenCommand.js +2 -2
  18. package/dist-cjs/commands/GetDomainPermissionsPolicyCommand.js +2 -2
  19. package/dist-cjs/commands/GetPackageVersionAssetCommand.js +2 -2
  20. package/dist-cjs/commands/GetPackageVersionReadmeCommand.js +2 -2
  21. package/dist-cjs/commands/GetRepositoryEndpointCommand.js +2 -2
  22. package/dist-cjs/commands/GetRepositoryPermissionsPolicyCommand.js +2 -2
  23. package/dist-cjs/commands/ListDomainsCommand.js +2 -2
  24. package/dist-cjs/commands/ListPackageVersionAssetsCommand.js +2 -2
  25. package/dist-cjs/commands/ListPackageVersionDependenciesCommand.js +2 -2
  26. package/dist-cjs/commands/ListPackageVersionsCommand.js +2 -2
  27. package/dist-cjs/commands/ListPackagesCommand.js +2 -2
  28. package/dist-cjs/commands/ListRepositoriesCommand.js +2 -2
  29. package/dist-cjs/commands/ListRepositoriesInDomainCommand.js +2 -2
  30. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
  31. package/dist-cjs/commands/PublishPackageVersionCommand.js +2 -2
  32. package/dist-cjs/commands/PutDomainPermissionsPolicyCommand.js +2 -2
  33. package/dist-cjs/commands/PutPackageOriginConfigurationCommand.js +2 -2
  34. package/dist-cjs/commands/PutRepositoryPermissionsPolicyCommand.js +2 -2
  35. package/dist-cjs/commands/TagResourceCommand.js +2 -2
  36. package/dist-cjs/commands/UntagResourceCommand.js +2 -2
  37. package/dist-cjs/commands/UpdatePackageVersionsStatusCommand.js +2 -2
  38. package/dist-cjs/commands/UpdateRepositoryCommand.js +2 -2
  39. package/dist-cjs/protocols/Aws_restJson1.js +566 -578
  40. package/dist-es/commands/AssociateExternalConnectionCommand.js +3 -3
  41. package/dist-es/commands/CopyPackageVersionsCommand.js +3 -3
  42. package/dist-es/commands/CreateDomainCommand.js +3 -3
  43. package/dist-es/commands/CreateRepositoryCommand.js +3 -3
  44. package/dist-es/commands/DeleteDomainCommand.js +3 -3
  45. package/dist-es/commands/DeleteDomainPermissionsPolicyCommand.js +3 -3
  46. package/dist-es/commands/DeletePackageCommand.js +3 -3
  47. package/dist-es/commands/DeletePackageVersionsCommand.js +3 -3
  48. package/dist-es/commands/DeleteRepositoryCommand.js +3 -3
  49. package/dist-es/commands/DeleteRepositoryPermissionsPolicyCommand.js +3 -3
  50. package/dist-es/commands/DescribeDomainCommand.js +3 -3
  51. package/dist-es/commands/DescribePackageCommand.js +3 -3
  52. package/dist-es/commands/DescribePackageVersionCommand.js +3 -3
  53. package/dist-es/commands/DescribeRepositoryCommand.js +3 -3
  54. package/dist-es/commands/DisassociateExternalConnectionCommand.js +3 -3
  55. package/dist-es/commands/DisposePackageVersionsCommand.js +3 -3
  56. package/dist-es/commands/GetAuthorizationTokenCommand.js +3 -3
  57. package/dist-es/commands/GetDomainPermissionsPolicyCommand.js +3 -3
  58. package/dist-es/commands/GetPackageVersionAssetCommand.js +3 -3
  59. package/dist-es/commands/GetPackageVersionReadmeCommand.js +3 -3
  60. package/dist-es/commands/GetRepositoryEndpointCommand.js +3 -3
  61. package/dist-es/commands/GetRepositoryPermissionsPolicyCommand.js +3 -3
  62. package/dist-es/commands/ListDomainsCommand.js +3 -3
  63. package/dist-es/commands/ListPackageVersionAssetsCommand.js +3 -3
  64. package/dist-es/commands/ListPackageVersionDependenciesCommand.js +3 -3
  65. package/dist-es/commands/ListPackageVersionsCommand.js +3 -3
  66. package/dist-es/commands/ListPackagesCommand.js +3 -3
  67. package/dist-es/commands/ListRepositoriesCommand.js +3 -3
  68. package/dist-es/commands/ListRepositoriesInDomainCommand.js +3 -3
  69. package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  70. package/dist-es/commands/PublishPackageVersionCommand.js +3 -3
  71. package/dist-es/commands/PutDomainPermissionsPolicyCommand.js +3 -3
  72. package/dist-es/commands/PutPackageOriginConfigurationCommand.js +3 -3
  73. package/dist-es/commands/PutRepositoryPermissionsPolicyCommand.js +3 -3
  74. package/dist-es/commands/TagResourceCommand.js +3 -3
  75. package/dist-es/commands/UntagResourceCommand.js +3 -3
  76. package/dist-es/commands/UpdatePackageVersionsStatusCommand.js +3 -3
  77. package/dist-es/commands/UpdateRepositoryCommand.js +3 -3
  78. package/dist-es/protocols/Aws_restJson1.js +488 -500
  79. package/dist-types/protocols/Aws_restJson1.d.ts +304 -76
  80. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +76 -76
  81. package/package.json +6 -6
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.deserializeAws_restJson1DescribePackageCommand = exports.deserializeAws_restJson1DescribeDomainCommand = exports.deserializeAws_restJson1DeleteRepositoryPermissionsPolicyCommand = exports.deserializeAws_restJson1DeleteRepositoryCommand = exports.deserializeAws_restJson1DeletePackageVersionsCommand = exports.deserializeAws_restJson1DeletePackageCommand = exports.deserializeAws_restJson1DeleteDomainPermissionsPolicyCommand = exports.deserializeAws_restJson1DeleteDomainCommand = exports.deserializeAws_restJson1CreateRepositoryCommand = exports.deserializeAws_restJson1CreateDomainCommand = exports.deserializeAws_restJson1CopyPackageVersionsCommand = exports.deserializeAws_restJson1AssociateExternalConnectionCommand = exports.serializeAws_restJson1UpdateRepositoryCommand = exports.serializeAws_restJson1UpdatePackageVersionsStatusCommand = exports.serializeAws_restJson1UntagResourceCommand = exports.serializeAws_restJson1TagResourceCommand = exports.serializeAws_restJson1PutRepositoryPermissionsPolicyCommand = exports.serializeAws_restJson1PutPackageOriginConfigurationCommand = exports.serializeAws_restJson1PutDomainPermissionsPolicyCommand = exports.serializeAws_restJson1PublishPackageVersionCommand = exports.serializeAws_restJson1ListTagsForResourceCommand = exports.serializeAws_restJson1ListRepositoriesInDomainCommand = exports.serializeAws_restJson1ListRepositoriesCommand = exports.serializeAws_restJson1ListPackageVersionsCommand = exports.serializeAws_restJson1ListPackageVersionDependenciesCommand = exports.serializeAws_restJson1ListPackageVersionAssetsCommand = exports.serializeAws_restJson1ListPackagesCommand = exports.serializeAws_restJson1ListDomainsCommand = exports.serializeAws_restJson1GetRepositoryPermissionsPolicyCommand = exports.serializeAws_restJson1GetRepositoryEndpointCommand = exports.serializeAws_restJson1GetPackageVersionReadmeCommand = exports.serializeAws_restJson1GetPackageVersionAssetCommand = exports.serializeAws_restJson1GetDomainPermissionsPolicyCommand = exports.serializeAws_restJson1GetAuthorizationTokenCommand = exports.serializeAws_restJson1DisposePackageVersionsCommand = exports.serializeAws_restJson1DisassociateExternalConnectionCommand = exports.serializeAws_restJson1DescribeRepositoryCommand = exports.serializeAws_restJson1DescribePackageVersionCommand = exports.serializeAws_restJson1DescribePackageCommand = exports.serializeAws_restJson1DescribeDomainCommand = exports.serializeAws_restJson1DeleteRepositoryPermissionsPolicyCommand = exports.serializeAws_restJson1DeleteRepositoryCommand = exports.serializeAws_restJson1DeletePackageVersionsCommand = exports.serializeAws_restJson1DeletePackageCommand = exports.serializeAws_restJson1DeleteDomainPermissionsPolicyCommand = exports.serializeAws_restJson1DeleteDomainCommand = exports.serializeAws_restJson1CreateRepositoryCommand = exports.serializeAws_restJson1CreateDomainCommand = exports.serializeAws_restJson1CopyPackageVersionsCommand = exports.serializeAws_restJson1AssociateExternalConnectionCommand = void 0;
4
- exports.deserializeAws_restJson1UpdateRepositoryCommand = exports.deserializeAws_restJson1UpdatePackageVersionsStatusCommand = exports.deserializeAws_restJson1UntagResourceCommand = exports.deserializeAws_restJson1TagResourceCommand = exports.deserializeAws_restJson1PutRepositoryPermissionsPolicyCommand = exports.deserializeAws_restJson1PutPackageOriginConfigurationCommand = exports.deserializeAws_restJson1PutDomainPermissionsPolicyCommand = exports.deserializeAws_restJson1PublishPackageVersionCommand = exports.deserializeAws_restJson1ListTagsForResourceCommand = exports.deserializeAws_restJson1ListRepositoriesInDomainCommand = exports.deserializeAws_restJson1ListRepositoriesCommand = exports.deserializeAws_restJson1ListPackageVersionsCommand = exports.deserializeAws_restJson1ListPackageVersionDependenciesCommand = exports.deserializeAws_restJson1ListPackageVersionAssetsCommand = exports.deserializeAws_restJson1ListPackagesCommand = exports.deserializeAws_restJson1ListDomainsCommand = exports.deserializeAws_restJson1GetRepositoryPermissionsPolicyCommand = exports.deserializeAws_restJson1GetRepositoryEndpointCommand = exports.deserializeAws_restJson1GetPackageVersionReadmeCommand = exports.deserializeAws_restJson1GetPackageVersionAssetCommand = exports.deserializeAws_restJson1GetDomainPermissionsPolicyCommand = exports.deserializeAws_restJson1GetAuthorizationTokenCommand = exports.deserializeAws_restJson1DisposePackageVersionsCommand = exports.deserializeAws_restJson1DisassociateExternalConnectionCommand = exports.deserializeAws_restJson1DescribeRepositoryCommand = exports.deserializeAws_restJson1DescribePackageVersionCommand = void 0;
3
+ exports.de_DescribePackageCommand = exports.de_DescribeDomainCommand = exports.de_DeleteRepositoryPermissionsPolicyCommand = exports.de_DeleteRepositoryCommand = exports.de_DeletePackageVersionsCommand = exports.de_DeletePackageCommand = exports.de_DeleteDomainPermissionsPolicyCommand = exports.de_DeleteDomainCommand = exports.de_CreateRepositoryCommand = exports.de_CreateDomainCommand = exports.de_CopyPackageVersionsCommand = exports.de_AssociateExternalConnectionCommand = exports.se_UpdateRepositoryCommand = exports.se_UpdatePackageVersionsStatusCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_PutRepositoryPermissionsPolicyCommand = exports.se_PutPackageOriginConfigurationCommand = exports.se_PutDomainPermissionsPolicyCommand = exports.se_PublishPackageVersionCommand = exports.se_ListTagsForResourceCommand = exports.se_ListRepositoriesInDomainCommand = exports.se_ListRepositoriesCommand = exports.se_ListPackageVersionsCommand = exports.se_ListPackageVersionDependenciesCommand = exports.se_ListPackageVersionAssetsCommand = exports.se_ListPackagesCommand = exports.se_ListDomainsCommand = exports.se_GetRepositoryPermissionsPolicyCommand = exports.se_GetRepositoryEndpointCommand = exports.se_GetPackageVersionReadmeCommand = exports.se_GetPackageVersionAssetCommand = exports.se_GetDomainPermissionsPolicyCommand = exports.se_GetAuthorizationTokenCommand = exports.se_DisposePackageVersionsCommand = exports.se_DisassociateExternalConnectionCommand = exports.se_DescribeRepositoryCommand = exports.se_DescribePackageVersionCommand = exports.se_DescribePackageCommand = exports.se_DescribeDomainCommand = exports.se_DeleteRepositoryPermissionsPolicyCommand = exports.se_DeleteRepositoryCommand = exports.se_DeletePackageVersionsCommand = exports.se_DeletePackageCommand = exports.se_DeleteDomainPermissionsPolicyCommand = exports.se_DeleteDomainCommand = exports.se_CreateRepositoryCommand = exports.se_CreateDomainCommand = exports.se_CopyPackageVersionsCommand = exports.se_AssociateExternalConnectionCommand = void 0;
4
+ exports.de_UpdateRepositoryCommand = exports.de_UpdatePackageVersionsStatusCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_PutRepositoryPermissionsPolicyCommand = exports.de_PutPackageOriginConfigurationCommand = exports.de_PutDomainPermissionsPolicyCommand = exports.de_PublishPackageVersionCommand = exports.de_ListTagsForResourceCommand = exports.de_ListRepositoriesInDomainCommand = exports.de_ListRepositoriesCommand = exports.de_ListPackageVersionsCommand = exports.de_ListPackageVersionDependenciesCommand = exports.de_ListPackageVersionAssetsCommand = exports.de_ListPackagesCommand = exports.de_ListDomainsCommand = exports.de_GetRepositoryPermissionsPolicyCommand = exports.de_GetRepositoryEndpointCommand = exports.de_GetPackageVersionReadmeCommand = exports.de_GetPackageVersionAssetCommand = exports.de_GetDomainPermissionsPolicyCommand = exports.de_GetAuthorizationTokenCommand = exports.de_DisposePackageVersionsCommand = exports.de_DisassociateExternalConnectionCommand = exports.de_DescribeRepositoryCommand = exports.de_DescribePackageVersionCommand = void 0;
5
5
  const protocol_http_1 = require("@aws-sdk/protocol-http");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const CodeartifactServiceException_1 = require("../models/CodeartifactServiceException");
8
8
  const models_0_1 = require("../models/models_0");
9
- const serializeAws_restJson1AssociateExternalConnectionCommand = async (input, context) => {
9
+ const se_AssociateExternalConnectionCommand = async (input, context) => {
10
10
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
11
11
  const headers = {};
12
12
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/repository/external-connection";
@@ -28,8 +28,8 @@ const serializeAws_restJson1AssociateExternalConnectionCommand = async (input, c
28
28
  body,
29
29
  });
30
30
  };
31
- exports.serializeAws_restJson1AssociateExternalConnectionCommand = serializeAws_restJson1AssociateExternalConnectionCommand;
32
- const serializeAws_restJson1CopyPackageVersionsCommand = async (input, context) => {
31
+ exports.se_AssociateExternalConnectionCommand = se_AssociateExternalConnectionCommand;
32
+ const se_CopyPackageVersionsCommand = async (input, context) => {
33
33
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
34
34
  const headers = {
35
35
  "content-type": "application/json",
@@ -49,9 +49,9 @@ const serializeAws_restJson1CopyPackageVersionsCommand = async (input, context)
49
49
  ...(input.allowOverwrite != null && { allowOverwrite: input.allowOverwrite }),
50
50
  ...(input.includeFromUpstream != null && { includeFromUpstream: input.includeFromUpstream }),
51
51
  ...(input.versionRevisions != null && {
52
- versionRevisions: serializeAws_restJson1PackageVersionRevisionMap(input.versionRevisions, context),
52
+ versionRevisions: se_PackageVersionRevisionMap(input.versionRevisions, context),
53
53
  }),
54
- ...(input.versions != null && { versions: serializeAws_restJson1PackageVersionList(input.versions, context) }),
54
+ ...(input.versions != null && { versions: se_PackageVersionList(input.versions, context) }),
55
55
  });
56
56
  return new protocol_http_1.HttpRequest({
57
57
  protocol,
@@ -64,8 +64,8 @@ const serializeAws_restJson1CopyPackageVersionsCommand = async (input, context)
64
64
  body,
65
65
  });
66
66
  };
67
- exports.serializeAws_restJson1CopyPackageVersionsCommand = serializeAws_restJson1CopyPackageVersionsCommand;
68
- const serializeAws_restJson1CreateDomainCommand = async (input, context) => {
67
+ exports.se_CopyPackageVersionsCommand = se_CopyPackageVersionsCommand;
68
+ const se_CreateDomainCommand = async (input, context) => {
69
69
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
70
70
  const headers = {
71
71
  "content-type": "application/json",
@@ -77,7 +77,7 @@ const serializeAws_restJson1CreateDomainCommand = async (input, context) => {
77
77
  let body;
78
78
  body = JSON.stringify({
79
79
  ...(input.encryptionKey != null && { encryptionKey: input.encryptionKey }),
80
- ...(input.tags != null && { tags: serializeAws_restJson1TagList(input.tags, context) }),
80
+ ...(input.tags != null && { tags: se_TagList(input.tags, context) }),
81
81
  });
82
82
  return new protocol_http_1.HttpRequest({
83
83
  protocol,
@@ -90,8 +90,8 @@ const serializeAws_restJson1CreateDomainCommand = async (input, context) => {
90
90
  body,
91
91
  });
92
92
  };
93
- exports.serializeAws_restJson1CreateDomainCommand = serializeAws_restJson1CreateDomainCommand;
94
- const serializeAws_restJson1CreateRepositoryCommand = async (input, context) => {
93
+ exports.se_CreateDomainCommand = se_CreateDomainCommand;
94
+ const se_CreateRepositoryCommand = async (input, context) => {
95
95
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
96
96
  const headers = {
97
97
  "content-type": "application/json",
@@ -105,10 +105,8 @@ const serializeAws_restJson1CreateRepositoryCommand = async (input, context) =>
105
105
  let body;
106
106
  body = JSON.stringify({
107
107
  ...(input.description != null && { description: input.description }),
108
- ...(input.tags != null && { tags: serializeAws_restJson1TagList(input.tags, context) }),
109
- ...(input.upstreams != null && {
110
- upstreams: serializeAws_restJson1UpstreamRepositoryList(input.upstreams, context),
111
- }),
108
+ ...(input.tags != null && { tags: se_TagList(input.tags, context) }),
109
+ ...(input.upstreams != null && { upstreams: se_UpstreamRepositoryList(input.upstreams, context) }),
112
110
  });
113
111
  return new protocol_http_1.HttpRequest({
114
112
  protocol,
@@ -121,8 +119,8 @@ const serializeAws_restJson1CreateRepositoryCommand = async (input, context) =>
121
119
  body,
122
120
  });
123
121
  };
124
- exports.serializeAws_restJson1CreateRepositoryCommand = serializeAws_restJson1CreateRepositoryCommand;
125
- const serializeAws_restJson1DeleteDomainCommand = async (input, context) => {
122
+ exports.se_CreateRepositoryCommand = se_CreateRepositoryCommand;
123
+ const se_DeleteDomainCommand = async (input, context) => {
126
124
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
127
125
  const headers = {};
128
126
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/domain";
@@ -142,8 +140,8 @@ const serializeAws_restJson1DeleteDomainCommand = async (input, context) => {
142
140
  body,
143
141
  });
144
142
  };
145
- exports.serializeAws_restJson1DeleteDomainCommand = serializeAws_restJson1DeleteDomainCommand;
146
- const serializeAws_restJson1DeleteDomainPermissionsPolicyCommand = async (input, context) => {
143
+ exports.se_DeleteDomainCommand = se_DeleteDomainCommand;
144
+ const se_DeleteDomainPermissionsPolicyCommand = async (input, context) => {
147
145
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
148
146
  const headers = {};
149
147
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/domain/permissions/policy";
@@ -164,8 +162,8 @@ const serializeAws_restJson1DeleteDomainPermissionsPolicyCommand = async (input,
164
162
  body,
165
163
  });
166
164
  };
167
- exports.serializeAws_restJson1DeleteDomainPermissionsPolicyCommand = serializeAws_restJson1DeleteDomainPermissionsPolicyCommand;
168
- const serializeAws_restJson1DeletePackageCommand = async (input, context) => {
165
+ exports.se_DeleteDomainPermissionsPolicyCommand = se_DeleteDomainPermissionsPolicyCommand;
166
+ const se_DeletePackageCommand = async (input, context) => {
169
167
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
170
168
  const headers = {};
171
169
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/package";
@@ -189,8 +187,8 @@ const serializeAws_restJson1DeletePackageCommand = async (input, context) => {
189
187
  body,
190
188
  });
191
189
  };
192
- exports.serializeAws_restJson1DeletePackageCommand = serializeAws_restJson1DeletePackageCommand;
193
- const serializeAws_restJson1DeletePackageVersionsCommand = async (input, context) => {
190
+ exports.se_DeletePackageCommand = se_DeletePackageCommand;
191
+ const se_DeletePackageVersionsCommand = async (input, context) => {
194
192
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
195
193
  const headers = {
196
194
  "content-type": "application/json",
@@ -207,7 +205,7 @@ const serializeAws_restJson1DeletePackageVersionsCommand = async (input, context
207
205
  let body;
208
206
  body = JSON.stringify({
209
207
  ...(input.expectedStatus != null && { expectedStatus: input.expectedStatus }),
210
- ...(input.versions != null && { versions: serializeAws_restJson1PackageVersionList(input.versions, context) }),
208
+ ...(input.versions != null && { versions: se_PackageVersionList(input.versions, context) }),
211
209
  });
212
210
  return new protocol_http_1.HttpRequest({
213
211
  protocol,
@@ -220,8 +218,8 @@ const serializeAws_restJson1DeletePackageVersionsCommand = async (input, context
220
218
  body,
221
219
  });
222
220
  };
223
- exports.serializeAws_restJson1DeletePackageVersionsCommand = serializeAws_restJson1DeletePackageVersionsCommand;
224
- const serializeAws_restJson1DeleteRepositoryCommand = async (input, context) => {
221
+ exports.se_DeletePackageVersionsCommand = se_DeletePackageVersionsCommand;
222
+ const se_DeleteRepositoryCommand = async (input, context) => {
225
223
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
226
224
  const headers = {};
227
225
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/repository";
@@ -242,8 +240,8 @@ const serializeAws_restJson1DeleteRepositoryCommand = async (input, context) =>
242
240
  body,
243
241
  });
244
242
  };
245
- exports.serializeAws_restJson1DeleteRepositoryCommand = serializeAws_restJson1DeleteRepositoryCommand;
246
- const serializeAws_restJson1DeleteRepositoryPermissionsPolicyCommand = async (input, context) => {
243
+ exports.se_DeleteRepositoryCommand = se_DeleteRepositoryCommand;
244
+ const se_DeleteRepositoryPermissionsPolicyCommand = async (input, context) => {
247
245
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
248
246
  const headers = {};
249
247
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/repository/permissions/policies";
@@ -265,8 +263,8 @@ const serializeAws_restJson1DeleteRepositoryPermissionsPolicyCommand = async (in
265
263
  body,
266
264
  });
267
265
  };
268
- exports.serializeAws_restJson1DeleteRepositoryPermissionsPolicyCommand = serializeAws_restJson1DeleteRepositoryPermissionsPolicyCommand;
269
- const serializeAws_restJson1DescribeDomainCommand = async (input, context) => {
266
+ exports.se_DeleteRepositoryPermissionsPolicyCommand = se_DeleteRepositoryPermissionsPolicyCommand;
267
+ const se_DescribeDomainCommand = async (input, context) => {
270
268
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
271
269
  const headers = {};
272
270
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/domain";
@@ -286,8 +284,8 @@ const serializeAws_restJson1DescribeDomainCommand = async (input, context) => {
286
284
  body,
287
285
  });
288
286
  };
289
- exports.serializeAws_restJson1DescribeDomainCommand = serializeAws_restJson1DescribeDomainCommand;
290
- const serializeAws_restJson1DescribePackageCommand = async (input, context) => {
287
+ exports.se_DescribeDomainCommand = se_DescribeDomainCommand;
288
+ const se_DescribePackageCommand = async (input, context) => {
291
289
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
292
290
  const headers = {};
293
291
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/package";
@@ -311,8 +309,8 @@ const serializeAws_restJson1DescribePackageCommand = async (input, context) => {
311
309
  body,
312
310
  });
313
311
  };
314
- exports.serializeAws_restJson1DescribePackageCommand = serializeAws_restJson1DescribePackageCommand;
315
- const serializeAws_restJson1DescribePackageVersionCommand = async (input, context) => {
312
+ exports.se_DescribePackageCommand = se_DescribePackageCommand;
313
+ const se_DescribePackageVersionCommand = async (input, context) => {
316
314
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
317
315
  const headers = {};
318
316
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/package/version";
@@ -337,8 +335,8 @@ const serializeAws_restJson1DescribePackageVersionCommand = async (input, contex
337
335
  body,
338
336
  });
339
337
  };
340
- exports.serializeAws_restJson1DescribePackageVersionCommand = serializeAws_restJson1DescribePackageVersionCommand;
341
- const serializeAws_restJson1DescribeRepositoryCommand = async (input, context) => {
338
+ exports.se_DescribePackageVersionCommand = se_DescribePackageVersionCommand;
339
+ const se_DescribeRepositoryCommand = async (input, context) => {
342
340
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
343
341
  const headers = {};
344
342
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/repository";
@@ -359,8 +357,8 @@ const serializeAws_restJson1DescribeRepositoryCommand = async (input, context) =
359
357
  body,
360
358
  });
361
359
  };
362
- exports.serializeAws_restJson1DescribeRepositoryCommand = serializeAws_restJson1DescribeRepositoryCommand;
363
- const serializeAws_restJson1DisassociateExternalConnectionCommand = async (input, context) => {
360
+ exports.se_DescribeRepositoryCommand = se_DescribeRepositoryCommand;
361
+ const se_DisassociateExternalConnectionCommand = async (input, context) => {
364
362
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
365
363
  const headers = {};
366
364
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/repository/external-connection";
@@ -382,8 +380,8 @@ const serializeAws_restJson1DisassociateExternalConnectionCommand = async (input
382
380
  body,
383
381
  });
384
382
  };
385
- exports.serializeAws_restJson1DisassociateExternalConnectionCommand = serializeAws_restJson1DisassociateExternalConnectionCommand;
386
- const serializeAws_restJson1DisposePackageVersionsCommand = async (input, context) => {
383
+ exports.se_DisassociateExternalConnectionCommand = se_DisassociateExternalConnectionCommand;
384
+ const se_DisposePackageVersionsCommand = async (input, context) => {
387
385
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
388
386
  const headers = {
389
387
  "content-type": "application/json",
@@ -401,9 +399,9 @@ const serializeAws_restJson1DisposePackageVersionsCommand = async (input, contex
401
399
  body = JSON.stringify({
402
400
  ...(input.expectedStatus != null && { expectedStatus: input.expectedStatus }),
403
401
  ...(input.versionRevisions != null && {
404
- versionRevisions: serializeAws_restJson1PackageVersionRevisionMap(input.versionRevisions, context),
402
+ versionRevisions: se_PackageVersionRevisionMap(input.versionRevisions, context),
405
403
  }),
406
- ...(input.versions != null && { versions: serializeAws_restJson1PackageVersionList(input.versions, context) }),
404
+ ...(input.versions != null && { versions: se_PackageVersionList(input.versions, context) }),
407
405
  });
408
406
  return new protocol_http_1.HttpRequest({
409
407
  protocol,
@@ -416,8 +414,8 @@ const serializeAws_restJson1DisposePackageVersionsCommand = async (input, contex
416
414
  body,
417
415
  });
418
416
  };
419
- exports.serializeAws_restJson1DisposePackageVersionsCommand = serializeAws_restJson1DisposePackageVersionsCommand;
420
- const serializeAws_restJson1GetAuthorizationTokenCommand = async (input, context) => {
417
+ exports.se_DisposePackageVersionsCommand = se_DisposePackageVersionsCommand;
418
+ const se_GetAuthorizationTokenCommand = async (input, context) => {
421
419
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
422
420
  const headers = {};
423
421
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/authorization-token";
@@ -438,8 +436,8 @@ const serializeAws_restJson1GetAuthorizationTokenCommand = async (input, context
438
436
  body,
439
437
  });
440
438
  };
441
- exports.serializeAws_restJson1GetAuthorizationTokenCommand = serializeAws_restJson1GetAuthorizationTokenCommand;
442
- const serializeAws_restJson1GetDomainPermissionsPolicyCommand = async (input, context) => {
439
+ exports.se_GetAuthorizationTokenCommand = se_GetAuthorizationTokenCommand;
440
+ const se_GetDomainPermissionsPolicyCommand = async (input, context) => {
443
441
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
444
442
  const headers = {};
445
443
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/domain/permissions/policy";
@@ -459,8 +457,8 @@ const serializeAws_restJson1GetDomainPermissionsPolicyCommand = async (input, co
459
457
  body,
460
458
  });
461
459
  };
462
- exports.serializeAws_restJson1GetDomainPermissionsPolicyCommand = serializeAws_restJson1GetDomainPermissionsPolicyCommand;
463
- const serializeAws_restJson1GetPackageVersionAssetCommand = async (input, context) => {
460
+ exports.se_GetDomainPermissionsPolicyCommand = se_GetDomainPermissionsPolicyCommand;
461
+ const se_GetPackageVersionAssetCommand = async (input, context) => {
464
462
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
465
463
  const headers = {};
466
464
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/package/version/asset";
@@ -487,8 +485,8 @@ const serializeAws_restJson1GetPackageVersionAssetCommand = async (input, contex
487
485
  body,
488
486
  });
489
487
  };
490
- exports.serializeAws_restJson1GetPackageVersionAssetCommand = serializeAws_restJson1GetPackageVersionAssetCommand;
491
- const serializeAws_restJson1GetPackageVersionReadmeCommand = async (input, context) => {
488
+ exports.se_GetPackageVersionAssetCommand = se_GetPackageVersionAssetCommand;
489
+ const se_GetPackageVersionReadmeCommand = async (input, context) => {
492
490
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
493
491
  const headers = {};
494
492
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/package/version/readme";
@@ -513,8 +511,8 @@ const serializeAws_restJson1GetPackageVersionReadmeCommand = async (input, conte
513
511
  body,
514
512
  });
515
513
  };
516
- exports.serializeAws_restJson1GetPackageVersionReadmeCommand = serializeAws_restJson1GetPackageVersionReadmeCommand;
517
- const serializeAws_restJson1GetRepositoryEndpointCommand = async (input, context) => {
514
+ exports.se_GetPackageVersionReadmeCommand = se_GetPackageVersionReadmeCommand;
515
+ const se_GetRepositoryEndpointCommand = async (input, context) => {
518
516
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
519
517
  const headers = {};
520
518
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/repository/endpoint";
@@ -536,8 +534,8 @@ const serializeAws_restJson1GetRepositoryEndpointCommand = async (input, context
536
534
  body,
537
535
  });
538
536
  };
539
- exports.serializeAws_restJson1GetRepositoryEndpointCommand = serializeAws_restJson1GetRepositoryEndpointCommand;
540
- const serializeAws_restJson1GetRepositoryPermissionsPolicyCommand = async (input, context) => {
537
+ exports.se_GetRepositoryEndpointCommand = se_GetRepositoryEndpointCommand;
538
+ const se_GetRepositoryPermissionsPolicyCommand = async (input, context) => {
541
539
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
542
540
  const headers = {};
543
541
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/repository/permissions/policy";
@@ -558,8 +556,8 @@ const serializeAws_restJson1GetRepositoryPermissionsPolicyCommand = async (input
558
556
  body,
559
557
  });
560
558
  };
561
- exports.serializeAws_restJson1GetRepositoryPermissionsPolicyCommand = serializeAws_restJson1GetRepositoryPermissionsPolicyCommand;
562
- const serializeAws_restJson1ListDomainsCommand = async (input, context) => {
559
+ exports.se_GetRepositoryPermissionsPolicyCommand = se_GetRepositoryPermissionsPolicyCommand;
560
+ const se_ListDomainsCommand = async (input, context) => {
563
561
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
564
562
  const headers = {
565
563
  "content-type": "application/json",
@@ -580,8 +578,8 @@ const serializeAws_restJson1ListDomainsCommand = async (input, context) => {
580
578
  body,
581
579
  });
582
580
  };
583
- exports.serializeAws_restJson1ListDomainsCommand = serializeAws_restJson1ListDomainsCommand;
584
- const serializeAws_restJson1ListPackagesCommand = async (input, context) => {
581
+ exports.se_ListDomainsCommand = se_ListDomainsCommand;
582
+ const se_ListPackagesCommand = async (input, context) => {
585
583
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
586
584
  const headers = {};
587
585
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/packages";
@@ -609,8 +607,8 @@ const serializeAws_restJson1ListPackagesCommand = async (input, context) => {
609
607
  body,
610
608
  });
611
609
  };
612
- exports.serializeAws_restJson1ListPackagesCommand = serializeAws_restJson1ListPackagesCommand;
613
- const serializeAws_restJson1ListPackageVersionAssetsCommand = async (input, context) => {
610
+ exports.se_ListPackagesCommand = se_ListPackagesCommand;
611
+ const se_ListPackageVersionAssetsCommand = async (input, context) => {
614
612
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
615
613
  const headers = {};
616
614
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/package/version/assets";
@@ -637,8 +635,8 @@ const serializeAws_restJson1ListPackageVersionAssetsCommand = async (input, cont
637
635
  body,
638
636
  });
639
637
  };
640
- exports.serializeAws_restJson1ListPackageVersionAssetsCommand = serializeAws_restJson1ListPackageVersionAssetsCommand;
641
- const serializeAws_restJson1ListPackageVersionDependenciesCommand = async (input, context) => {
638
+ exports.se_ListPackageVersionAssetsCommand = se_ListPackageVersionAssetsCommand;
639
+ const se_ListPackageVersionDependenciesCommand = async (input, context) => {
642
640
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
643
641
  const headers = {};
644
642
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/package/version/dependencies";
@@ -664,8 +662,8 @@ const serializeAws_restJson1ListPackageVersionDependenciesCommand = async (input
664
662
  body,
665
663
  });
666
664
  };
667
- exports.serializeAws_restJson1ListPackageVersionDependenciesCommand = serializeAws_restJson1ListPackageVersionDependenciesCommand;
668
- const serializeAws_restJson1ListPackageVersionsCommand = async (input, context) => {
665
+ exports.se_ListPackageVersionDependenciesCommand = se_ListPackageVersionDependenciesCommand;
666
+ const se_ListPackageVersionsCommand = async (input, context) => {
669
667
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
670
668
  const headers = {};
671
669
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/package/versions";
@@ -694,8 +692,8 @@ const serializeAws_restJson1ListPackageVersionsCommand = async (input, context)
694
692
  body,
695
693
  });
696
694
  };
697
- exports.serializeAws_restJson1ListPackageVersionsCommand = serializeAws_restJson1ListPackageVersionsCommand;
698
- const serializeAws_restJson1ListRepositoriesCommand = async (input, context) => {
695
+ exports.se_ListPackageVersionsCommand = se_ListPackageVersionsCommand;
696
+ const se_ListRepositoriesCommand = async (input, context) => {
699
697
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
700
698
  const headers = {};
701
699
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/repositories";
@@ -716,8 +714,8 @@ const serializeAws_restJson1ListRepositoriesCommand = async (input, context) =>
716
714
  body,
717
715
  });
718
716
  };
719
- exports.serializeAws_restJson1ListRepositoriesCommand = serializeAws_restJson1ListRepositoriesCommand;
720
- const serializeAws_restJson1ListRepositoriesInDomainCommand = async (input, context) => {
717
+ exports.se_ListRepositoriesCommand = se_ListRepositoriesCommand;
718
+ const se_ListRepositoriesInDomainCommand = async (input, context) => {
721
719
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
722
720
  const headers = {};
723
721
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/domain/repositories";
@@ -741,8 +739,8 @@ const serializeAws_restJson1ListRepositoriesInDomainCommand = async (input, cont
741
739
  body,
742
740
  });
743
741
  };
744
- exports.serializeAws_restJson1ListRepositoriesInDomainCommand = serializeAws_restJson1ListRepositoriesInDomainCommand;
745
- const serializeAws_restJson1ListTagsForResourceCommand = async (input, context) => {
742
+ exports.se_ListRepositoriesInDomainCommand = se_ListRepositoriesInDomainCommand;
743
+ const se_ListTagsForResourceCommand = async (input, context) => {
746
744
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
747
745
  const headers = {};
748
746
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/tags";
@@ -761,8 +759,8 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
761
759
  body,
762
760
  });
763
761
  };
764
- exports.serializeAws_restJson1ListTagsForResourceCommand = serializeAws_restJson1ListTagsForResourceCommand;
765
- const serializeAws_restJson1PublishPackageVersionCommand = async (input, context) => {
762
+ exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
763
+ const se_PublishPackageVersionCommand = async (input, context) => {
766
764
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
767
765
  const headers = map({}, isSerializableHeaderValue, {
768
766
  "content-type": "application/octet-stream",
@@ -795,8 +793,8 @@ const serializeAws_restJson1PublishPackageVersionCommand = async (input, context
795
793
  body,
796
794
  });
797
795
  };
798
- exports.serializeAws_restJson1PublishPackageVersionCommand = serializeAws_restJson1PublishPackageVersionCommand;
799
- const serializeAws_restJson1PutDomainPermissionsPolicyCommand = async (input, context) => {
796
+ exports.se_PublishPackageVersionCommand = se_PublishPackageVersionCommand;
797
+ const se_PutDomainPermissionsPolicyCommand = async (input, context) => {
800
798
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
801
799
  const headers = {
802
800
  "content-type": "application/json",
@@ -819,8 +817,8 @@ const serializeAws_restJson1PutDomainPermissionsPolicyCommand = async (input, co
819
817
  body,
820
818
  });
821
819
  };
822
- exports.serializeAws_restJson1PutDomainPermissionsPolicyCommand = serializeAws_restJson1PutDomainPermissionsPolicyCommand;
823
- const serializeAws_restJson1PutPackageOriginConfigurationCommand = async (input, context) => {
820
+ exports.se_PutDomainPermissionsPolicyCommand = se_PutDomainPermissionsPolicyCommand;
821
+ const se_PutPackageOriginConfigurationCommand = async (input, context) => {
824
822
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
825
823
  const headers = {
826
824
  "content-type": "application/json",
@@ -836,9 +834,7 @@ const serializeAws_restJson1PutPackageOriginConfigurationCommand = async (input,
836
834
  });
837
835
  let body;
838
836
  body = JSON.stringify({
839
- ...(input.restrictions != null && {
840
- restrictions: serializeAws_restJson1PackageOriginRestrictions(input.restrictions, context),
841
- }),
837
+ ...(input.restrictions != null && { restrictions: se_PackageOriginRestrictions(input.restrictions, context) }),
842
838
  });
843
839
  return new protocol_http_1.HttpRequest({
844
840
  protocol,
@@ -851,8 +847,8 @@ const serializeAws_restJson1PutPackageOriginConfigurationCommand = async (input,
851
847
  body,
852
848
  });
853
849
  };
854
- exports.serializeAws_restJson1PutPackageOriginConfigurationCommand = serializeAws_restJson1PutPackageOriginConfigurationCommand;
855
- const serializeAws_restJson1PutRepositoryPermissionsPolicyCommand = async (input, context) => {
850
+ exports.se_PutPackageOriginConfigurationCommand = se_PutPackageOriginConfigurationCommand;
851
+ const se_PutRepositoryPermissionsPolicyCommand = async (input, context) => {
856
852
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
857
853
  const headers = {
858
854
  "content-type": "application/json",
@@ -879,8 +875,8 @@ const serializeAws_restJson1PutRepositoryPermissionsPolicyCommand = async (input
879
875
  body,
880
876
  });
881
877
  };
882
- exports.serializeAws_restJson1PutRepositoryPermissionsPolicyCommand = serializeAws_restJson1PutRepositoryPermissionsPolicyCommand;
883
- const serializeAws_restJson1TagResourceCommand = async (input, context) => {
878
+ exports.se_PutRepositoryPermissionsPolicyCommand = se_PutRepositoryPermissionsPolicyCommand;
879
+ const se_TagResourceCommand = async (input, context) => {
884
880
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
885
881
  const headers = {
886
882
  "content-type": "application/json",
@@ -891,7 +887,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
891
887
  });
892
888
  let body;
893
889
  body = JSON.stringify({
894
- ...(input.tags != null && { tags: serializeAws_restJson1TagList(input.tags, context) }),
890
+ ...(input.tags != null && { tags: se_TagList(input.tags, context) }),
895
891
  });
896
892
  return new protocol_http_1.HttpRequest({
897
893
  protocol,
@@ -904,8 +900,8 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
904
900
  body,
905
901
  });
906
902
  };
907
- exports.serializeAws_restJson1TagResourceCommand = serializeAws_restJson1TagResourceCommand;
908
- const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
903
+ exports.se_TagResourceCommand = se_TagResourceCommand;
904
+ const se_UntagResourceCommand = async (input, context) => {
909
905
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
910
906
  const headers = {
911
907
  "content-type": "application/json",
@@ -916,7 +912,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
916
912
  });
917
913
  let body;
918
914
  body = JSON.stringify({
919
- ...(input.tagKeys != null && { tagKeys: serializeAws_restJson1TagKeyList(input.tagKeys, context) }),
915
+ ...(input.tagKeys != null && { tagKeys: se_TagKeyList(input.tagKeys, context) }),
920
916
  });
921
917
  return new protocol_http_1.HttpRequest({
922
918
  protocol,
@@ -929,8 +925,8 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
929
925
  body,
930
926
  });
931
927
  };
932
- exports.serializeAws_restJson1UntagResourceCommand = serializeAws_restJson1UntagResourceCommand;
933
- const serializeAws_restJson1UpdatePackageVersionsStatusCommand = async (input, context) => {
928
+ exports.se_UntagResourceCommand = se_UntagResourceCommand;
929
+ const se_UpdatePackageVersionsStatusCommand = async (input, context) => {
934
930
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
935
931
  const headers = {
936
932
  "content-type": "application/json",
@@ -949,9 +945,9 @@ const serializeAws_restJson1UpdatePackageVersionsStatusCommand = async (input, c
949
945
  ...(input.expectedStatus != null && { expectedStatus: input.expectedStatus }),
950
946
  ...(input.targetStatus != null && { targetStatus: input.targetStatus }),
951
947
  ...(input.versionRevisions != null && {
952
- versionRevisions: serializeAws_restJson1PackageVersionRevisionMap(input.versionRevisions, context),
948
+ versionRevisions: se_PackageVersionRevisionMap(input.versionRevisions, context),
953
949
  }),
954
- ...(input.versions != null && { versions: serializeAws_restJson1PackageVersionList(input.versions, context) }),
950
+ ...(input.versions != null && { versions: se_PackageVersionList(input.versions, context) }),
955
951
  });
956
952
  return new protocol_http_1.HttpRequest({
957
953
  protocol,
@@ -964,8 +960,8 @@ const serializeAws_restJson1UpdatePackageVersionsStatusCommand = async (input, c
964
960
  body,
965
961
  });
966
962
  };
967
- exports.serializeAws_restJson1UpdatePackageVersionsStatusCommand = serializeAws_restJson1UpdatePackageVersionsStatusCommand;
968
- const serializeAws_restJson1UpdateRepositoryCommand = async (input, context) => {
963
+ exports.se_UpdatePackageVersionsStatusCommand = se_UpdatePackageVersionsStatusCommand;
964
+ const se_UpdateRepositoryCommand = async (input, context) => {
969
965
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
970
966
  const headers = {
971
967
  "content-type": "application/json",
@@ -979,9 +975,7 @@ const serializeAws_restJson1UpdateRepositoryCommand = async (input, context) =>
979
975
  let body;
980
976
  body = JSON.stringify({
981
977
  ...(input.description != null && { description: input.description }),
982
- ...(input.upstreams != null && {
983
- upstreams: serializeAws_restJson1UpstreamRepositoryList(input.upstreams, context),
984
- }),
978
+ ...(input.upstreams != null && { upstreams: se_UpstreamRepositoryList(input.upstreams, context) }),
985
979
  });
986
980
  return new protocol_http_1.HttpRequest({
987
981
  protocol,
@@ -994,22 +988,22 @@ const serializeAws_restJson1UpdateRepositoryCommand = async (input, context) =>
994
988
  body,
995
989
  });
996
990
  };
997
- exports.serializeAws_restJson1UpdateRepositoryCommand = serializeAws_restJson1UpdateRepositoryCommand;
998
- const deserializeAws_restJson1AssociateExternalConnectionCommand = async (output, context) => {
991
+ exports.se_UpdateRepositoryCommand = se_UpdateRepositoryCommand;
992
+ const de_AssociateExternalConnectionCommand = async (output, context) => {
999
993
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1000
- return deserializeAws_restJson1AssociateExternalConnectionCommandError(output, context);
994
+ return de_AssociateExternalConnectionCommandError(output, context);
1001
995
  }
1002
996
  const contents = map({
1003
997
  $metadata: deserializeMetadata(output),
1004
998
  });
1005
999
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1006
1000
  if (data.repository != null) {
1007
- contents.repository = deserializeAws_restJson1RepositoryDescription(data.repository, context);
1001
+ contents.repository = de_RepositoryDescription(data.repository, context);
1008
1002
  }
1009
1003
  return contents;
1010
1004
  };
1011
- exports.deserializeAws_restJson1AssociateExternalConnectionCommand = deserializeAws_restJson1AssociateExternalConnectionCommand;
1012
- const deserializeAws_restJson1AssociateExternalConnectionCommandError = async (output, context) => {
1005
+ exports.de_AssociateExternalConnectionCommand = de_AssociateExternalConnectionCommand;
1006
+ const de_AssociateExternalConnectionCommandError = async (output, context) => {
1013
1007
  const parsedOutput = {
1014
1008
  ...output,
1015
1009
  body: await parseErrorBody(output.body, context),
@@ -1018,25 +1012,25 @@ const deserializeAws_restJson1AssociateExternalConnectionCommandError = async (o
1018
1012
  switch (errorCode) {
1019
1013
  case "AccessDeniedException":
1020
1014
  case "com.amazonaws.codeartifact#AccessDeniedException":
1021
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1015
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1022
1016
  case "ConflictException":
1023
1017
  case "com.amazonaws.codeartifact#ConflictException":
1024
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1018
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1025
1019
  case "InternalServerException":
1026
1020
  case "com.amazonaws.codeartifact#InternalServerException":
1027
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1021
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1028
1022
  case "ResourceNotFoundException":
1029
1023
  case "com.amazonaws.codeartifact#ResourceNotFoundException":
1030
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1024
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1031
1025
  case "ServiceQuotaExceededException":
1032
1026
  case "com.amazonaws.codeartifact#ServiceQuotaExceededException":
1033
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1027
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1034
1028
  case "ThrottlingException":
1035
1029
  case "com.amazonaws.codeartifact#ThrottlingException":
1036
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1030
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1037
1031
  case "ValidationException":
1038
1032
  case "com.amazonaws.codeartifact#ValidationException":
1039
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1033
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1040
1034
  default:
1041
1035
  const parsedBody = parsedOutput.body;
1042
1036
  (0, smithy_client_1.throwDefaultError)({
@@ -1047,24 +1041,24 @@ const deserializeAws_restJson1AssociateExternalConnectionCommandError = async (o
1047
1041
  });
1048
1042
  }
1049
1043
  };
1050
- const deserializeAws_restJson1CopyPackageVersionsCommand = async (output, context) => {
1044
+ const de_CopyPackageVersionsCommand = async (output, context) => {
1051
1045
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1052
- return deserializeAws_restJson1CopyPackageVersionsCommandError(output, context);
1046
+ return de_CopyPackageVersionsCommandError(output, context);
1053
1047
  }
1054
1048
  const contents = map({
1055
1049
  $metadata: deserializeMetadata(output),
1056
1050
  });
1057
1051
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1058
1052
  if (data.failedVersions != null) {
1059
- contents.failedVersions = deserializeAws_restJson1PackageVersionErrorMap(data.failedVersions, context);
1053
+ contents.failedVersions = de_PackageVersionErrorMap(data.failedVersions, context);
1060
1054
  }
1061
1055
  if (data.successfulVersions != null) {
1062
- contents.successfulVersions = deserializeAws_restJson1SuccessfulPackageVersionInfoMap(data.successfulVersions, context);
1056
+ contents.successfulVersions = de_SuccessfulPackageVersionInfoMap(data.successfulVersions, context);
1063
1057
  }
1064
1058
  return contents;
1065
1059
  };
1066
- exports.deserializeAws_restJson1CopyPackageVersionsCommand = deserializeAws_restJson1CopyPackageVersionsCommand;
1067
- const deserializeAws_restJson1CopyPackageVersionsCommandError = async (output, context) => {
1060
+ exports.de_CopyPackageVersionsCommand = de_CopyPackageVersionsCommand;
1061
+ const de_CopyPackageVersionsCommandError = async (output, context) => {
1068
1062
  const parsedOutput = {
1069
1063
  ...output,
1070
1064
  body: await parseErrorBody(output.body, context),
@@ -1073,25 +1067,25 @@ const deserializeAws_restJson1CopyPackageVersionsCommandError = async (output, c
1073
1067
  switch (errorCode) {
1074
1068
  case "AccessDeniedException":
1075
1069
  case "com.amazonaws.codeartifact#AccessDeniedException":
1076
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1070
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1077
1071
  case "ConflictException":
1078
1072
  case "com.amazonaws.codeartifact#ConflictException":
1079
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1073
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1080
1074
  case "InternalServerException":
1081
1075
  case "com.amazonaws.codeartifact#InternalServerException":
1082
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1076
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1083
1077
  case "ResourceNotFoundException":
1084
1078
  case "com.amazonaws.codeartifact#ResourceNotFoundException":
1085
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1079
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1086
1080
  case "ServiceQuotaExceededException":
1087
1081
  case "com.amazonaws.codeartifact#ServiceQuotaExceededException":
1088
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1082
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1089
1083
  case "ThrottlingException":
1090
1084
  case "com.amazonaws.codeartifact#ThrottlingException":
1091
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1085
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1092
1086
  case "ValidationException":
1093
1087
  case "com.amazonaws.codeartifact#ValidationException":
1094
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1088
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1095
1089
  default:
1096
1090
  const parsedBody = parsedOutput.body;
1097
1091
  (0, smithy_client_1.throwDefaultError)({
@@ -1102,21 +1096,21 @@ const deserializeAws_restJson1CopyPackageVersionsCommandError = async (output, c
1102
1096
  });
1103
1097
  }
1104
1098
  };
1105
- const deserializeAws_restJson1CreateDomainCommand = async (output, context) => {
1099
+ const de_CreateDomainCommand = async (output, context) => {
1106
1100
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1107
- return deserializeAws_restJson1CreateDomainCommandError(output, context);
1101
+ return de_CreateDomainCommandError(output, context);
1108
1102
  }
1109
1103
  const contents = map({
1110
1104
  $metadata: deserializeMetadata(output),
1111
1105
  });
1112
1106
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1113
1107
  if (data.domain != null) {
1114
- contents.domain = deserializeAws_restJson1DomainDescription(data.domain, context);
1108
+ contents.domain = de_DomainDescription(data.domain, context);
1115
1109
  }
1116
1110
  return contents;
1117
1111
  };
1118
- exports.deserializeAws_restJson1CreateDomainCommand = deserializeAws_restJson1CreateDomainCommand;
1119
- const deserializeAws_restJson1CreateDomainCommandError = async (output, context) => {
1112
+ exports.de_CreateDomainCommand = de_CreateDomainCommand;
1113
+ const de_CreateDomainCommandError = async (output, context) => {
1120
1114
  const parsedOutput = {
1121
1115
  ...output,
1122
1116
  body: await parseErrorBody(output.body, context),
@@ -1125,25 +1119,25 @@ const deserializeAws_restJson1CreateDomainCommandError = async (output, context)
1125
1119
  switch (errorCode) {
1126
1120
  case "AccessDeniedException":
1127
1121
  case "com.amazonaws.codeartifact#AccessDeniedException":
1128
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1122
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1129
1123
  case "ConflictException":
1130
1124
  case "com.amazonaws.codeartifact#ConflictException":
1131
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1125
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1132
1126
  case "InternalServerException":
1133
1127
  case "com.amazonaws.codeartifact#InternalServerException":
1134
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1128
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1135
1129
  case "ResourceNotFoundException":
1136
1130
  case "com.amazonaws.codeartifact#ResourceNotFoundException":
1137
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1131
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1138
1132
  case "ServiceQuotaExceededException":
1139
1133
  case "com.amazonaws.codeartifact#ServiceQuotaExceededException":
1140
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1134
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1141
1135
  case "ThrottlingException":
1142
1136
  case "com.amazonaws.codeartifact#ThrottlingException":
1143
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1137
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1144
1138
  case "ValidationException":
1145
1139
  case "com.amazonaws.codeartifact#ValidationException":
1146
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1140
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1147
1141
  default:
1148
1142
  const parsedBody = parsedOutput.body;
1149
1143
  (0, smithy_client_1.throwDefaultError)({
@@ -1154,21 +1148,21 @@ const deserializeAws_restJson1CreateDomainCommandError = async (output, context)
1154
1148
  });
1155
1149
  }
1156
1150
  };
1157
- const deserializeAws_restJson1CreateRepositoryCommand = async (output, context) => {
1151
+ const de_CreateRepositoryCommand = async (output, context) => {
1158
1152
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1159
- return deserializeAws_restJson1CreateRepositoryCommandError(output, context);
1153
+ return de_CreateRepositoryCommandError(output, context);
1160
1154
  }
1161
1155
  const contents = map({
1162
1156
  $metadata: deserializeMetadata(output),
1163
1157
  });
1164
1158
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1165
1159
  if (data.repository != null) {
1166
- contents.repository = deserializeAws_restJson1RepositoryDescription(data.repository, context);
1160
+ contents.repository = de_RepositoryDescription(data.repository, context);
1167
1161
  }
1168
1162
  return contents;
1169
1163
  };
1170
- exports.deserializeAws_restJson1CreateRepositoryCommand = deserializeAws_restJson1CreateRepositoryCommand;
1171
- const deserializeAws_restJson1CreateRepositoryCommandError = async (output, context) => {
1164
+ exports.de_CreateRepositoryCommand = de_CreateRepositoryCommand;
1165
+ const de_CreateRepositoryCommandError = async (output, context) => {
1172
1166
  const parsedOutput = {
1173
1167
  ...output,
1174
1168
  body: await parseErrorBody(output.body, context),
@@ -1177,25 +1171,25 @@ const deserializeAws_restJson1CreateRepositoryCommandError = async (output, cont
1177
1171
  switch (errorCode) {
1178
1172
  case "AccessDeniedException":
1179
1173
  case "com.amazonaws.codeartifact#AccessDeniedException":
1180
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1174
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1181
1175
  case "ConflictException":
1182
1176
  case "com.amazonaws.codeartifact#ConflictException":
1183
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1177
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1184
1178
  case "InternalServerException":
1185
1179
  case "com.amazonaws.codeartifact#InternalServerException":
1186
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1180
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1187
1181
  case "ResourceNotFoundException":
1188
1182
  case "com.amazonaws.codeartifact#ResourceNotFoundException":
1189
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1183
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1190
1184
  case "ServiceQuotaExceededException":
1191
1185
  case "com.amazonaws.codeartifact#ServiceQuotaExceededException":
1192
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1186
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1193
1187
  case "ThrottlingException":
1194
1188
  case "com.amazonaws.codeartifact#ThrottlingException":
1195
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1189
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1196
1190
  case "ValidationException":
1197
1191
  case "com.amazonaws.codeartifact#ValidationException":
1198
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1192
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1199
1193
  default:
1200
1194
  const parsedBody = parsedOutput.body;
1201
1195
  (0, smithy_client_1.throwDefaultError)({
@@ -1206,21 +1200,21 @@ const deserializeAws_restJson1CreateRepositoryCommandError = async (output, cont
1206
1200
  });
1207
1201
  }
1208
1202
  };
1209
- const deserializeAws_restJson1DeleteDomainCommand = async (output, context) => {
1203
+ const de_DeleteDomainCommand = async (output, context) => {
1210
1204
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1211
- return deserializeAws_restJson1DeleteDomainCommandError(output, context);
1205
+ return de_DeleteDomainCommandError(output, context);
1212
1206
  }
1213
1207
  const contents = map({
1214
1208
  $metadata: deserializeMetadata(output),
1215
1209
  });
1216
1210
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1217
1211
  if (data.domain != null) {
1218
- contents.domain = deserializeAws_restJson1DomainDescription(data.domain, context);
1212
+ contents.domain = de_DomainDescription(data.domain, context);
1219
1213
  }
1220
1214
  return contents;
1221
1215
  };
1222
- exports.deserializeAws_restJson1DeleteDomainCommand = deserializeAws_restJson1DeleteDomainCommand;
1223
- const deserializeAws_restJson1DeleteDomainCommandError = async (output, context) => {
1216
+ exports.de_DeleteDomainCommand = de_DeleteDomainCommand;
1217
+ const de_DeleteDomainCommandError = async (output, context) => {
1224
1218
  const parsedOutput = {
1225
1219
  ...output,
1226
1220
  body: await parseErrorBody(output.body, context),
@@ -1229,19 +1223,19 @@ const deserializeAws_restJson1DeleteDomainCommandError = async (output, context)
1229
1223
  switch (errorCode) {
1230
1224
  case "AccessDeniedException":
1231
1225
  case "com.amazonaws.codeartifact#AccessDeniedException":
1232
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1226
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1233
1227
  case "ConflictException":
1234
1228
  case "com.amazonaws.codeartifact#ConflictException":
1235
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1229
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1236
1230
  case "InternalServerException":
1237
1231
  case "com.amazonaws.codeartifact#InternalServerException":
1238
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1232
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1239
1233
  case "ThrottlingException":
1240
1234
  case "com.amazonaws.codeartifact#ThrottlingException":
1241
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1235
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1242
1236
  case "ValidationException":
1243
1237
  case "com.amazonaws.codeartifact#ValidationException":
1244
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1238
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1245
1239
  default:
1246
1240
  const parsedBody = parsedOutput.body;
1247
1241
  (0, smithy_client_1.throwDefaultError)({
@@ -1252,21 +1246,21 @@ const deserializeAws_restJson1DeleteDomainCommandError = async (output, context)
1252
1246
  });
1253
1247
  }
1254
1248
  };
1255
- const deserializeAws_restJson1DeleteDomainPermissionsPolicyCommand = async (output, context) => {
1249
+ const de_DeleteDomainPermissionsPolicyCommand = async (output, context) => {
1256
1250
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1257
- return deserializeAws_restJson1DeleteDomainPermissionsPolicyCommandError(output, context);
1251
+ return de_DeleteDomainPermissionsPolicyCommandError(output, context);
1258
1252
  }
1259
1253
  const contents = map({
1260
1254
  $metadata: deserializeMetadata(output),
1261
1255
  });
1262
1256
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1263
1257
  if (data.policy != null) {
1264
- contents.policy = deserializeAws_restJson1ResourcePolicy(data.policy, context);
1258
+ contents.policy = de_ResourcePolicy(data.policy, context);
1265
1259
  }
1266
1260
  return contents;
1267
1261
  };
1268
- exports.deserializeAws_restJson1DeleteDomainPermissionsPolicyCommand = deserializeAws_restJson1DeleteDomainPermissionsPolicyCommand;
1269
- const deserializeAws_restJson1DeleteDomainPermissionsPolicyCommandError = async (output, context) => {
1262
+ exports.de_DeleteDomainPermissionsPolicyCommand = de_DeleteDomainPermissionsPolicyCommand;
1263
+ const de_DeleteDomainPermissionsPolicyCommandError = async (output, context) => {
1270
1264
  const parsedOutput = {
1271
1265
  ...output,
1272
1266
  body: await parseErrorBody(output.body, context),
@@ -1275,22 +1269,22 @@ const deserializeAws_restJson1DeleteDomainPermissionsPolicyCommandError = async
1275
1269
  switch (errorCode) {
1276
1270
  case "AccessDeniedException":
1277
1271
  case "com.amazonaws.codeartifact#AccessDeniedException":
1278
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1272
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1279
1273
  case "ConflictException":
1280
1274
  case "com.amazonaws.codeartifact#ConflictException":
1281
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1275
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1282
1276
  case "InternalServerException":
1283
1277
  case "com.amazonaws.codeartifact#InternalServerException":
1284
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1278
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1285
1279
  case "ResourceNotFoundException":
1286
1280
  case "com.amazonaws.codeartifact#ResourceNotFoundException":
1287
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1281
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1288
1282
  case "ThrottlingException":
1289
1283
  case "com.amazonaws.codeartifact#ThrottlingException":
1290
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1284
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1291
1285
  case "ValidationException":
1292
1286
  case "com.amazonaws.codeartifact#ValidationException":
1293
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1287
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1294
1288
  default:
1295
1289
  const parsedBody = parsedOutput.body;
1296
1290
  (0, smithy_client_1.throwDefaultError)({
@@ -1301,21 +1295,21 @@ const deserializeAws_restJson1DeleteDomainPermissionsPolicyCommandError = async
1301
1295
  });
1302
1296
  }
1303
1297
  };
1304
- const deserializeAws_restJson1DeletePackageCommand = async (output, context) => {
1298
+ const de_DeletePackageCommand = async (output, context) => {
1305
1299
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1306
- return deserializeAws_restJson1DeletePackageCommandError(output, context);
1300
+ return de_DeletePackageCommandError(output, context);
1307
1301
  }
1308
1302
  const contents = map({
1309
1303
  $metadata: deserializeMetadata(output),
1310
1304
  });
1311
1305
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1312
1306
  if (data.deletedPackage != null) {
1313
- contents.deletedPackage = deserializeAws_restJson1PackageSummary(data.deletedPackage, context);
1307
+ contents.deletedPackage = de_PackageSummary(data.deletedPackage, context);
1314
1308
  }
1315
1309
  return contents;
1316
1310
  };
1317
- exports.deserializeAws_restJson1DeletePackageCommand = deserializeAws_restJson1DeletePackageCommand;
1318
- const deserializeAws_restJson1DeletePackageCommandError = async (output, context) => {
1311
+ exports.de_DeletePackageCommand = de_DeletePackageCommand;
1312
+ const de_DeletePackageCommandError = async (output, context) => {
1319
1313
  const parsedOutput = {
1320
1314
  ...output,
1321
1315
  body: await parseErrorBody(output.body, context),
@@ -1324,22 +1318,22 @@ const deserializeAws_restJson1DeletePackageCommandError = async (output, context
1324
1318
  switch (errorCode) {
1325
1319
  case "AccessDeniedException":
1326
1320
  case "com.amazonaws.codeartifact#AccessDeniedException":
1327
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1321
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1328
1322
  case "ConflictException":
1329
1323
  case "com.amazonaws.codeartifact#ConflictException":
1330
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1324
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1331
1325
  case "InternalServerException":
1332
1326
  case "com.amazonaws.codeartifact#InternalServerException":
1333
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1327
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1334
1328
  case "ResourceNotFoundException":
1335
1329
  case "com.amazonaws.codeartifact#ResourceNotFoundException":
1336
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1330
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1337
1331
  case "ThrottlingException":
1338
1332
  case "com.amazonaws.codeartifact#ThrottlingException":
1339
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1333
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1340
1334
  case "ValidationException":
1341
1335
  case "com.amazonaws.codeartifact#ValidationException":
1342
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1336
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1343
1337
  default:
1344
1338
  const parsedBody = parsedOutput.body;
1345
1339
  (0, smithy_client_1.throwDefaultError)({
@@ -1350,24 +1344,24 @@ const deserializeAws_restJson1DeletePackageCommandError = async (output, context
1350
1344
  });
1351
1345
  }
1352
1346
  };
1353
- const deserializeAws_restJson1DeletePackageVersionsCommand = async (output, context) => {
1347
+ const de_DeletePackageVersionsCommand = async (output, context) => {
1354
1348
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1355
- return deserializeAws_restJson1DeletePackageVersionsCommandError(output, context);
1349
+ return de_DeletePackageVersionsCommandError(output, context);
1356
1350
  }
1357
1351
  const contents = map({
1358
1352
  $metadata: deserializeMetadata(output),
1359
1353
  });
1360
1354
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1361
1355
  if (data.failedVersions != null) {
1362
- contents.failedVersions = deserializeAws_restJson1PackageVersionErrorMap(data.failedVersions, context);
1356
+ contents.failedVersions = de_PackageVersionErrorMap(data.failedVersions, context);
1363
1357
  }
1364
1358
  if (data.successfulVersions != null) {
1365
- contents.successfulVersions = deserializeAws_restJson1SuccessfulPackageVersionInfoMap(data.successfulVersions, context);
1359
+ contents.successfulVersions = de_SuccessfulPackageVersionInfoMap(data.successfulVersions, context);
1366
1360
  }
1367
1361
  return contents;
1368
1362
  };
1369
- exports.deserializeAws_restJson1DeletePackageVersionsCommand = deserializeAws_restJson1DeletePackageVersionsCommand;
1370
- const deserializeAws_restJson1DeletePackageVersionsCommandError = async (output, context) => {
1363
+ exports.de_DeletePackageVersionsCommand = de_DeletePackageVersionsCommand;
1364
+ const de_DeletePackageVersionsCommandError = async (output, context) => {
1371
1365
  const parsedOutput = {
1372
1366
  ...output,
1373
1367
  body: await parseErrorBody(output.body, context),
@@ -1376,22 +1370,22 @@ const deserializeAws_restJson1DeletePackageVersionsCommandError = async (output,
1376
1370
  switch (errorCode) {
1377
1371
  case "AccessDeniedException":
1378
1372
  case "com.amazonaws.codeartifact#AccessDeniedException":
1379
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1373
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1380
1374
  case "ConflictException":
1381
1375
  case "com.amazonaws.codeartifact#ConflictException":
1382
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1376
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1383
1377
  case "InternalServerException":
1384
1378
  case "com.amazonaws.codeartifact#InternalServerException":
1385
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1379
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1386
1380
  case "ResourceNotFoundException":
1387
1381
  case "com.amazonaws.codeartifact#ResourceNotFoundException":
1388
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1382
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1389
1383
  case "ThrottlingException":
1390
1384
  case "com.amazonaws.codeartifact#ThrottlingException":
1391
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1385
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1392
1386
  case "ValidationException":
1393
1387
  case "com.amazonaws.codeartifact#ValidationException":
1394
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1388
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1395
1389
  default:
1396
1390
  const parsedBody = parsedOutput.body;
1397
1391
  (0, smithy_client_1.throwDefaultError)({
@@ -1402,21 +1396,21 @@ const deserializeAws_restJson1DeletePackageVersionsCommandError = async (output,
1402
1396
  });
1403
1397
  }
1404
1398
  };
1405
- const deserializeAws_restJson1DeleteRepositoryCommand = async (output, context) => {
1399
+ const de_DeleteRepositoryCommand = async (output, context) => {
1406
1400
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1407
- return deserializeAws_restJson1DeleteRepositoryCommandError(output, context);
1401
+ return de_DeleteRepositoryCommandError(output, context);
1408
1402
  }
1409
1403
  const contents = map({
1410
1404
  $metadata: deserializeMetadata(output),
1411
1405
  });
1412
1406
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1413
1407
  if (data.repository != null) {
1414
- contents.repository = deserializeAws_restJson1RepositoryDescription(data.repository, context);
1408
+ contents.repository = de_RepositoryDescription(data.repository, context);
1415
1409
  }
1416
1410
  return contents;
1417
1411
  };
1418
- exports.deserializeAws_restJson1DeleteRepositoryCommand = deserializeAws_restJson1DeleteRepositoryCommand;
1419
- const deserializeAws_restJson1DeleteRepositoryCommandError = async (output, context) => {
1412
+ exports.de_DeleteRepositoryCommand = de_DeleteRepositoryCommand;
1413
+ const de_DeleteRepositoryCommandError = async (output, context) => {
1420
1414
  const parsedOutput = {
1421
1415
  ...output,
1422
1416
  body: await parseErrorBody(output.body, context),
@@ -1425,22 +1419,22 @@ const deserializeAws_restJson1DeleteRepositoryCommandError = async (output, cont
1425
1419
  switch (errorCode) {
1426
1420
  case "AccessDeniedException":
1427
1421
  case "com.amazonaws.codeartifact#AccessDeniedException":
1428
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1422
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1429
1423
  case "ConflictException":
1430
1424
  case "com.amazonaws.codeartifact#ConflictException":
1431
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1425
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1432
1426
  case "InternalServerException":
1433
1427
  case "com.amazonaws.codeartifact#InternalServerException":
1434
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1428
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1435
1429
  case "ResourceNotFoundException":
1436
1430
  case "com.amazonaws.codeartifact#ResourceNotFoundException":
1437
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1431
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1438
1432
  case "ThrottlingException":
1439
1433
  case "com.amazonaws.codeartifact#ThrottlingException":
1440
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1434
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1441
1435
  case "ValidationException":
1442
1436
  case "com.amazonaws.codeartifact#ValidationException":
1443
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1437
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1444
1438
  default:
1445
1439
  const parsedBody = parsedOutput.body;
1446
1440
  (0, smithy_client_1.throwDefaultError)({
@@ -1451,21 +1445,21 @@ const deserializeAws_restJson1DeleteRepositoryCommandError = async (output, cont
1451
1445
  });
1452
1446
  }
1453
1447
  };
1454
- const deserializeAws_restJson1DeleteRepositoryPermissionsPolicyCommand = async (output, context) => {
1448
+ const de_DeleteRepositoryPermissionsPolicyCommand = async (output, context) => {
1455
1449
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1456
- return deserializeAws_restJson1DeleteRepositoryPermissionsPolicyCommandError(output, context);
1450
+ return de_DeleteRepositoryPermissionsPolicyCommandError(output, context);
1457
1451
  }
1458
1452
  const contents = map({
1459
1453
  $metadata: deserializeMetadata(output),
1460
1454
  });
1461
1455
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1462
1456
  if (data.policy != null) {
1463
- contents.policy = deserializeAws_restJson1ResourcePolicy(data.policy, context);
1457
+ contents.policy = de_ResourcePolicy(data.policy, context);
1464
1458
  }
1465
1459
  return contents;
1466
1460
  };
1467
- exports.deserializeAws_restJson1DeleteRepositoryPermissionsPolicyCommand = deserializeAws_restJson1DeleteRepositoryPermissionsPolicyCommand;
1468
- const deserializeAws_restJson1DeleteRepositoryPermissionsPolicyCommandError = async (output, context) => {
1461
+ exports.de_DeleteRepositoryPermissionsPolicyCommand = de_DeleteRepositoryPermissionsPolicyCommand;
1462
+ const de_DeleteRepositoryPermissionsPolicyCommandError = async (output, context) => {
1469
1463
  const parsedOutput = {
1470
1464
  ...output,
1471
1465
  body: await parseErrorBody(output.body, context),
@@ -1474,22 +1468,22 @@ const deserializeAws_restJson1DeleteRepositoryPermissionsPolicyCommandError = as
1474
1468
  switch (errorCode) {
1475
1469
  case "AccessDeniedException":
1476
1470
  case "com.amazonaws.codeartifact#AccessDeniedException":
1477
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1471
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1478
1472
  case "ConflictException":
1479
1473
  case "com.amazonaws.codeartifact#ConflictException":
1480
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1474
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1481
1475
  case "InternalServerException":
1482
1476
  case "com.amazonaws.codeartifact#InternalServerException":
1483
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1477
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1484
1478
  case "ResourceNotFoundException":
1485
1479
  case "com.amazonaws.codeartifact#ResourceNotFoundException":
1486
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1480
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1487
1481
  case "ThrottlingException":
1488
1482
  case "com.amazonaws.codeartifact#ThrottlingException":
1489
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1483
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1490
1484
  case "ValidationException":
1491
1485
  case "com.amazonaws.codeartifact#ValidationException":
1492
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1486
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1493
1487
  default:
1494
1488
  const parsedBody = parsedOutput.body;
1495
1489
  (0, smithy_client_1.throwDefaultError)({
@@ -1500,21 +1494,21 @@ const deserializeAws_restJson1DeleteRepositoryPermissionsPolicyCommandError = as
1500
1494
  });
1501
1495
  }
1502
1496
  };
1503
- const deserializeAws_restJson1DescribeDomainCommand = async (output, context) => {
1497
+ const de_DescribeDomainCommand = async (output, context) => {
1504
1498
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1505
- return deserializeAws_restJson1DescribeDomainCommandError(output, context);
1499
+ return de_DescribeDomainCommandError(output, context);
1506
1500
  }
1507
1501
  const contents = map({
1508
1502
  $metadata: deserializeMetadata(output),
1509
1503
  });
1510
1504
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1511
1505
  if (data.domain != null) {
1512
- contents.domain = deserializeAws_restJson1DomainDescription(data.domain, context);
1506
+ contents.domain = de_DomainDescription(data.domain, context);
1513
1507
  }
1514
1508
  return contents;
1515
1509
  };
1516
- exports.deserializeAws_restJson1DescribeDomainCommand = deserializeAws_restJson1DescribeDomainCommand;
1517
- const deserializeAws_restJson1DescribeDomainCommandError = async (output, context) => {
1510
+ exports.de_DescribeDomainCommand = de_DescribeDomainCommand;
1511
+ const de_DescribeDomainCommandError = async (output, context) => {
1518
1512
  const parsedOutput = {
1519
1513
  ...output,
1520
1514
  body: await parseErrorBody(output.body, context),
@@ -1523,19 +1517,19 @@ const deserializeAws_restJson1DescribeDomainCommandError = async (output, contex
1523
1517
  switch (errorCode) {
1524
1518
  case "AccessDeniedException":
1525
1519
  case "com.amazonaws.codeartifact#AccessDeniedException":
1526
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1520
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1527
1521
  case "InternalServerException":
1528
1522
  case "com.amazonaws.codeartifact#InternalServerException":
1529
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1523
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1530
1524
  case "ResourceNotFoundException":
1531
1525
  case "com.amazonaws.codeartifact#ResourceNotFoundException":
1532
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1526
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1533
1527
  case "ThrottlingException":
1534
1528
  case "com.amazonaws.codeartifact#ThrottlingException":
1535
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1529
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1536
1530
  case "ValidationException":
1537
1531
  case "com.amazonaws.codeartifact#ValidationException":
1538
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1532
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1539
1533
  default:
1540
1534
  const parsedBody = parsedOutput.body;
1541
1535
  (0, smithy_client_1.throwDefaultError)({
@@ -1546,21 +1540,21 @@ const deserializeAws_restJson1DescribeDomainCommandError = async (output, contex
1546
1540
  });
1547
1541
  }
1548
1542
  };
1549
- const deserializeAws_restJson1DescribePackageCommand = async (output, context) => {
1543
+ const de_DescribePackageCommand = async (output, context) => {
1550
1544
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1551
- return deserializeAws_restJson1DescribePackageCommandError(output, context);
1545
+ return de_DescribePackageCommandError(output, context);
1552
1546
  }
1553
1547
  const contents = map({
1554
1548
  $metadata: deserializeMetadata(output),
1555
1549
  });
1556
1550
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1557
1551
  if (data.package != null) {
1558
- contents.package = deserializeAws_restJson1PackageDescription(data.package, context);
1552
+ contents.package = de_PackageDescription(data.package, context);
1559
1553
  }
1560
1554
  return contents;
1561
1555
  };
1562
- exports.deserializeAws_restJson1DescribePackageCommand = deserializeAws_restJson1DescribePackageCommand;
1563
- const deserializeAws_restJson1DescribePackageCommandError = async (output, context) => {
1556
+ exports.de_DescribePackageCommand = de_DescribePackageCommand;
1557
+ const de_DescribePackageCommandError = async (output, context) => {
1564
1558
  const parsedOutput = {
1565
1559
  ...output,
1566
1560
  body: await parseErrorBody(output.body, context),
@@ -1569,19 +1563,19 @@ const deserializeAws_restJson1DescribePackageCommandError = async (output, conte
1569
1563
  switch (errorCode) {
1570
1564
  case "AccessDeniedException":
1571
1565
  case "com.amazonaws.codeartifact#AccessDeniedException":
1572
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1566
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1573
1567
  case "InternalServerException":
1574
1568
  case "com.amazonaws.codeartifact#InternalServerException":
1575
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1569
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1576
1570
  case "ResourceNotFoundException":
1577
1571
  case "com.amazonaws.codeartifact#ResourceNotFoundException":
1578
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1572
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1579
1573
  case "ThrottlingException":
1580
1574
  case "com.amazonaws.codeartifact#ThrottlingException":
1581
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1575
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1582
1576
  case "ValidationException":
1583
1577
  case "com.amazonaws.codeartifact#ValidationException":
1584
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1578
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1585
1579
  default:
1586
1580
  const parsedBody = parsedOutput.body;
1587
1581
  (0, smithy_client_1.throwDefaultError)({
@@ -1592,21 +1586,21 @@ const deserializeAws_restJson1DescribePackageCommandError = async (output, conte
1592
1586
  });
1593
1587
  }
1594
1588
  };
1595
- const deserializeAws_restJson1DescribePackageVersionCommand = async (output, context) => {
1589
+ const de_DescribePackageVersionCommand = async (output, context) => {
1596
1590
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1597
- return deserializeAws_restJson1DescribePackageVersionCommandError(output, context);
1591
+ return de_DescribePackageVersionCommandError(output, context);
1598
1592
  }
1599
1593
  const contents = map({
1600
1594
  $metadata: deserializeMetadata(output),
1601
1595
  });
1602
1596
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1603
1597
  if (data.packageVersion != null) {
1604
- contents.packageVersion = deserializeAws_restJson1PackageVersionDescription(data.packageVersion, context);
1598
+ contents.packageVersion = de_PackageVersionDescription(data.packageVersion, context);
1605
1599
  }
1606
1600
  return contents;
1607
1601
  };
1608
- exports.deserializeAws_restJson1DescribePackageVersionCommand = deserializeAws_restJson1DescribePackageVersionCommand;
1609
- const deserializeAws_restJson1DescribePackageVersionCommandError = async (output, context) => {
1602
+ exports.de_DescribePackageVersionCommand = de_DescribePackageVersionCommand;
1603
+ const de_DescribePackageVersionCommandError = async (output, context) => {
1610
1604
  const parsedOutput = {
1611
1605
  ...output,
1612
1606
  body: await parseErrorBody(output.body, context),
@@ -1615,22 +1609,22 @@ const deserializeAws_restJson1DescribePackageVersionCommandError = async (output
1615
1609
  switch (errorCode) {
1616
1610
  case "AccessDeniedException":
1617
1611
  case "com.amazonaws.codeartifact#AccessDeniedException":
1618
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1612
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1619
1613
  case "ConflictException":
1620
1614
  case "com.amazonaws.codeartifact#ConflictException":
1621
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1615
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1622
1616
  case "InternalServerException":
1623
1617
  case "com.amazonaws.codeartifact#InternalServerException":
1624
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1618
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1625
1619
  case "ResourceNotFoundException":
1626
1620
  case "com.amazonaws.codeartifact#ResourceNotFoundException":
1627
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1621
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1628
1622
  case "ThrottlingException":
1629
1623
  case "com.amazonaws.codeartifact#ThrottlingException":
1630
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1624
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1631
1625
  case "ValidationException":
1632
1626
  case "com.amazonaws.codeartifact#ValidationException":
1633
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1627
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1634
1628
  default:
1635
1629
  const parsedBody = parsedOutput.body;
1636
1630
  (0, smithy_client_1.throwDefaultError)({
@@ -1641,21 +1635,21 @@ const deserializeAws_restJson1DescribePackageVersionCommandError = async (output
1641
1635
  });
1642
1636
  }
1643
1637
  };
1644
- const deserializeAws_restJson1DescribeRepositoryCommand = async (output, context) => {
1638
+ const de_DescribeRepositoryCommand = async (output, context) => {
1645
1639
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1646
- return deserializeAws_restJson1DescribeRepositoryCommandError(output, context);
1640
+ return de_DescribeRepositoryCommandError(output, context);
1647
1641
  }
1648
1642
  const contents = map({
1649
1643
  $metadata: deserializeMetadata(output),
1650
1644
  });
1651
1645
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1652
1646
  if (data.repository != null) {
1653
- contents.repository = deserializeAws_restJson1RepositoryDescription(data.repository, context);
1647
+ contents.repository = de_RepositoryDescription(data.repository, context);
1654
1648
  }
1655
1649
  return contents;
1656
1650
  };
1657
- exports.deserializeAws_restJson1DescribeRepositoryCommand = deserializeAws_restJson1DescribeRepositoryCommand;
1658
- const deserializeAws_restJson1DescribeRepositoryCommandError = async (output, context) => {
1651
+ exports.de_DescribeRepositoryCommand = de_DescribeRepositoryCommand;
1652
+ const de_DescribeRepositoryCommandError = async (output, context) => {
1659
1653
  const parsedOutput = {
1660
1654
  ...output,
1661
1655
  body: await parseErrorBody(output.body, context),
@@ -1664,19 +1658,19 @@ const deserializeAws_restJson1DescribeRepositoryCommandError = async (output, co
1664
1658
  switch (errorCode) {
1665
1659
  case "AccessDeniedException":
1666
1660
  case "com.amazonaws.codeartifact#AccessDeniedException":
1667
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1661
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1668
1662
  case "InternalServerException":
1669
1663
  case "com.amazonaws.codeartifact#InternalServerException":
1670
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1664
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1671
1665
  case "ResourceNotFoundException":
1672
1666
  case "com.amazonaws.codeartifact#ResourceNotFoundException":
1673
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1667
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1674
1668
  case "ThrottlingException":
1675
1669
  case "com.amazonaws.codeartifact#ThrottlingException":
1676
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1670
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1677
1671
  case "ValidationException":
1678
1672
  case "com.amazonaws.codeartifact#ValidationException":
1679
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1673
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1680
1674
  default:
1681
1675
  const parsedBody = parsedOutput.body;
1682
1676
  (0, smithy_client_1.throwDefaultError)({
@@ -1687,21 +1681,21 @@ const deserializeAws_restJson1DescribeRepositoryCommandError = async (output, co
1687
1681
  });
1688
1682
  }
1689
1683
  };
1690
- const deserializeAws_restJson1DisassociateExternalConnectionCommand = async (output, context) => {
1684
+ const de_DisassociateExternalConnectionCommand = async (output, context) => {
1691
1685
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1692
- return deserializeAws_restJson1DisassociateExternalConnectionCommandError(output, context);
1686
+ return de_DisassociateExternalConnectionCommandError(output, context);
1693
1687
  }
1694
1688
  const contents = map({
1695
1689
  $metadata: deserializeMetadata(output),
1696
1690
  });
1697
1691
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1698
1692
  if (data.repository != null) {
1699
- contents.repository = deserializeAws_restJson1RepositoryDescription(data.repository, context);
1693
+ contents.repository = de_RepositoryDescription(data.repository, context);
1700
1694
  }
1701
1695
  return contents;
1702
1696
  };
1703
- exports.deserializeAws_restJson1DisassociateExternalConnectionCommand = deserializeAws_restJson1DisassociateExternalConnectionCommand;
1704
- const deserializeAws_restJson1DisassociateExternalConnectionCommandError = async (output, context) => {
1697
+ exports.de_DisassociateExternalConnectionCommand = de_DisassociateExternalConnectionCommand;
1698
+ const de_DisassociateExternalConnectionCommandError = async (output, context) => {
1705
1699
  const parsedOutput = {
1706
1700
  ...output,
1707
1701
  body: await parseErrorBody(output.body, context),
@@ -1710,25 +1704,25 @@ const deserializeAws_restJson1DisassociateExternalConnectionCommandError = async
1710
1704
  switch (errorCode) {
1711
1705
  case "AccessDeniedException":
1712
1706
  case "com.amazonaws.codeartifact#AccessDeniedException":
1713
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1707
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1714
1708
  case "ConflictException":
1715
1709
  case "com.amazonaws.codeartifact#ConflictException":
1716
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1710
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1717
1711
  case "InternalServerException":
1718
1712
  case "com.amazonaws.codeartifact#InternalServerException":
1719
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1713
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1720
1714
  case "ResourceNotFoundException":
1721
1715
  case "com.amazonaws.codeartifact#ResourceNotFoundException":
1722
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1716
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1723
1717
  case "ServiceQuotaExceededException":
1724
1718
  case "com.amazonaws.codeartifact#ServiceQuotaExceededException":
1725
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1719
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1726
1720
  case "ThrottlingException":
1727
1721
  case "com.amazonaws.codeartifact#ThrottlingException":
1728
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1722
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1729
1723
  case "ValidationException":
1730
1724
  case "com.amazonaws.codeartifact#ValidationException":
1731
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1725
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1732
1726
  default:
1733
1727
  const parsedBody = parsedOutput.body;
1734
1728
  (0, smithy_client_1.throwDefaultError)({
@@ -1739,24 +1733,24 @@ const deserializeAws_restJson1DisassociateExternalConnectionCommandError = async
1739
1733
  });
1740
1734
  }
1741
1735
  };
1742
- const deserializeAws_restJson1DisposePackageVersionsCommand = async (output, context) => {
1736
+ const de_DisposePackageVersionsCommand = async (output, context) => {
1743
1737
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1744
- return deserializeAws_restJson1DisposePackageVersionsCommandError(output, context);
1738
+ return de_DisposePackageVersionsCommandError(output, context);
1745
1739
  }
1746
1740
  const contents = map({
1747
1741
  $metadata: deserializeMetadata(output),
1748
1742
  });
1749
1743
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1750
1744
  if (data.failedVersions != null) {
1751
- contents.failedVersions = deserializeAws_restJson1PackageVersionErrorMap(data.failedVersions, context);
1745
+ contents.failedVersions = de_PackageVersionErrorMap(data.failedVersions, context);
1752
1746
  }
1753
1747
  if (data.successfulVersions != null) {
1754
- contents.successfulVersions = deserializeAws_restJson1SuccessfulPackageVersionInfoMap(data.successfulVersions, context);
1748
+ contents.successfulVersions = de_SuccessfulPackageVersionInfoMap(data.successfulVersions, context);
1755
1749
  }
1756
1750
  return contents;
1757
1751
  };
1758
- exports.deserializeAws_restJson1DisposePackageVersionsCommand = deserializeAws_restJson1DisposePackageVersionsCommand;
1759
- const deserializeAws_restJson1DisposePackageVersionsCommandError = async (output, context) => {
1752
+ exports.de_DisposePackageVersionsCommand = de_DisposePackageVersionsCommand;
1753
+ const de_DisposePackageVersionsCommandError = async (output, context) => {
1760
1754
  const parsedOutput = {
1761
1755
  ...output,
1762
1756
  body: await parseErrorBody(output.body, context),
@@ -1765,22 +1759,22 @@ const deserializeAws_restJson1DisposePackageVersionsCommandError = async (output
1765
1759
  switch (errorCode) {
1766
1760
  case "AccessDeniedException":
1767
1761
  case "com.amazonaws.codeartifact#AccessDeniedException":
1768
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1762
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1769
1763
  case "ConflictException":
1770
1764
  case "com.amazonaws.codeartifact#ConflictException":
1771
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1765
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1772
1766
  case "InternalServerException":
1773
1767
  case "com.amazonaws.codeartifact#InternalServerException":
1774
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1768
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1775
1769
  case "ResourceNotFoundException":
1776
1770
  case "com.amazonaws.codeartifact#ResourceNotFoundException":
1777
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1771
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1778
1772
  case "ThrottlingException":
1779
1773
  case "com.amazonaws.codeartifact#ThrottlingException":
1780
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1774
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1781
1775
  case "ValidationException":
1782
1776
  case "com.amazonaws.codeartifact#ValidationException":
1783
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1777
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1784
1778
  default:
1785
1779
  const parsedBody = parsedOutput.body;
1786
1780
  (0, smithy_client_1.throwDefaultError)({
@@ -1791,9 +1785,9 @@ const deserializeAws_restJson1DisposePackageVersionsCommandError = async (output
1791
1785
  });
1792
1786
  }
1793
1787
  };
1794
- const deserializeAws_restJson1GetAuthorizationTokenCommand = async (output, context) => {
1788
+ const de_GetAuthorizationTokenCommand = async (output, context) => {
1795
1789
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1796
- return deserializeAws_restJson1GetAuthorizationTokenCommandError(output, context);
1790
+ return de_GetAuthorizationTokenCommandError(output, context);
1797
1791
  }
1798
1792
  const contents = map({
1799
1793
  $metadata: deserializeMetadata(output),
@@ -1807,8 +1801,8 @@ const deserializeAws_restJson1GetAuthorizationTokenCommand = async (output, cont
1807
1801
  }
1808
1802
  return contents;
1809
1803
  };
1810
- exports.deserializeAws_restJson1GetAuthorizationTokenCommand = deserializeAws_restJson1GetAuthorizationTokenCommand;
1811
- const deserializeAws_restJson1GetAuthorizationTokenCommandError = async (output, context) => {
1804
+ exports.de_GetAuthorizationTokenCommand = de_GetAuthorizationTokenCommand;
1805
+ const de_GetAuthorizationTokenCommandError = async (output, context) => {
1812
1806
  const parsedOutput = {
1813
1807
  ...output,
1814
1808
  body: await parseErrorBody(output.body, context),
@@ -1817,19 +1811,19 @@ const deserializeAws_restJson1GetAuthorizationTokenCommandError = async (output,
1817
1811
  switch (errorCode) {
1818
1812
  case "AccessDeniedException":
1819
1813
  case "com.amazonaws.codeartifact#AccessDeniedException":
1820
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1814
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1821
1815
  case "InternalServerException":
1822
1816
  case "com.amazonaws.codeartifact#InternalServerException":
1823
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1817
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1824
1818
  case "ResourceNotFoundException":
1825
1819
  case "com.amazonaws.codeartifact#ResourceNotFoundException":
1826
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1820
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1827
1821
  case "ThrottlingException":
1828
1822
  case "com.amazonaws.codeartifact#ThrottlingException":
1829
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1823
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1830
1824
  case "ValidationException":
1831
1825
  case "com.amazonaws.codeartifact#ValidationException":
1832
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1826
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1833
1827
  default:
1834
1828
  const parsedBody = parsedOutput.body;
1835
1829
  (0, smithy_client_1.throwDefaultError)({
@@ -1840,21 +1834,21 @@ const deserializeAws_restJson1GetAuthorizationTokenCommandError = async (output,
1840
1834
  });
1841
1835
  }
1842
1836
  };
1843
- const deserializeAws_restJson1GetDomainPermissionsPolicyCommand = async (output, context) => {
1837
+ const de_GetDomainPermissionsPolicyCommand = async (output, context) => {
1844
1838
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1845
- return deserializeAws_restJson1GetDomainPermissionsPolicyCommandError(output, context);
1839
+ return de_GetDomainPermissionsPolicyCommandError(output, context);
1846
1840
  }
1847
1841
  const contents = map({
1848
1842
  $metadata: deserializeMetadata(output),
1849
1843
  });
1850
1844
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1851
1845
  if (data.policy != null) {
1852
- contents.policy = deserializeAws_restJson1ResourcePolicy(data.policy, context);
1846
+ contents.policy = de_ResourcePolicy(data.policy, context);
1853
1847
  }
1854
1848
  return contents;
1855
1849
  };
1856
- exports.deserializeAws_restJson1GetDomainPermissionsPolicyCommand = deserializeAws_restJson1GetDomainPermissionsPolicyCommand;
1857
- const deserializeAws_restJson1GetDomainPermissionsPolicyCommandError = async (output, context) => {
1850
+ exports.de_GetDomainPermissionsPolicyCommand = de_GetDomainPermissionsPolicyCommand;
1851
+ const de_GetDomainPermissionsPolicyCommandError = async (output, context) => {
1858
1852
  const parsedOutput = {
1859
1853
  ...output,
1860
1854
  body: await parseErrorBody(output.body, context),
@@ -1863,19 +1857,19 @@ const deserializeAws_restJson1GetDomainPermissionsPolicyCommandError = async (ou
1863
1857
  switch (errorCode) {
1864
1858
  case "AccessDeniedException":
1865
1859
  case "com.amazonaws.codeartifact#AccessDeniedException":
1866
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1860
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1867
1861
  case "InternalServerException":
1868
1862
  case "com.amazonaws.codeartifact#InternalServerException":
1869
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1863
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1870
1864
  case "ResourceNotFoundException":
1871
1865
  case "com.amazonaws.codeartifact#ResourceNotFoundException":
1872
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1866
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1873
1867
  case "ThrottlingException":
1874
1868
  case "com.amazonaws.codeartifact#ThrottlingException":
1875
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1869
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1876
1870
  case "ValidationException":
1877
1871
  case "com.amazonaws.codeartifact#ValidationException":
1878
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1872
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1879
1873
  default:
1880
1874
  const parsedBody = parsedOutput.body;
1881
1875
  (0, smithy_client_1.throwDefaultError)({
@@ -1886,9 +1880,9 @@ const deserializeAws_restJson1GetDomainPermissionsPolicyCommandError = async (ou
1886
1880
  });
1887
1881
  }
1888
1882
  };
1889
- const deserializeAws_restJson1GetPackageVersionAssetCommand = async (output, context) => {
1883
+ const de_GetPackageVersionAssetCommand = async (output, context) => {
1890
1884
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1891
- return deserializeAws_restJson1GetPackageVersionAssetCommandError(output, context);
1885
+ return de_GetPackageVersionAssetCommandError(output, context);
1892
1886
  }
1893
1887
  const contents = map({
1894
1888
  $metadata: deserializeMetadata(output),
@@ -1901,8 +1895,8 @@ const deserializeAws_restJson1GetPackageVersionAssetCommand = async (output, con
1901
1895
  contents.asset = data;
1902
1896
  return contents;
1903
1897
  };
1904
- exports.deserializeAws_restJson1GetPackageVersionAssetCommand = deserializeAws_restJson1GetPackageVersionAssetCommand;
1905
- const deserializeAws_restJson1GetPackageVersionAssetCommandError = async (output, context) => {
1898
+ exports.de_GetPackageVersionAssetCommand = de_GetPackageVersionAssetCommand;
1899
+ const de_GetPackageVersionAssetCommandError = async (output, context) => {
1906
1900
  const parsedOutput = {
1907
1901
  ...output,
1908
1902
  body: await parseErrorBody(output.body, context),
@@ -1911,22 +1905,22 @@ const deserializeAws_restJson1GetPackageVersionAssetCommandError = async (output
1911
1905
  switch (errorCode) {
1912
1906
  case "AccessDeniedException":
1913
1907
  case "com.amazonaws.codeartifact#AccessDeniedException":
1914
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1908
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1915
1909
  case "ConflictException":
1916
1910
  case "com.amazonaws.codeartifact#ConflictException":
1917
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1911
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1918
1912
  case "InternalServerException":
1919
1913
  case "com.amazonaws.codeartifact#InternalServerException":
1920
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1914
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1921
1915
  case "ResourceNotFoundException":
1922
1916
  case "com.amazonaws.codeartifact#ResourceNotFoundException":
1923
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1917
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1924
1918
  case "ThrottlingException":
1925
1919
  case "com.amazonaws.codeartifact#ThrottlingException":
1926
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1920
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1927
1921
  case "ValidationException":
1928
1922
  case "com.amazonaws.codeartifact#ValidationException":
1929
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1923
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1930
1924
  default:
1931
1925
  const parsedBody = parsedOutput.body;
1932
1926
  (0, smithy_client_1.throwDefaultError)({
@@ -1937,9 +1931,9 @@ const deserializeAws_restJson1GetPackageVersionAssetCommandError = async (output
1937
1931
  });
1938
1932
  }
1939
1933
  };
1940
- const deserializeAws_restJson1GetPackageVersionReadmeCommand = async (output, context) => {
1934
+ const de_GetPackageVersionReadmeCommand = async (output, context) => {
1941
1935
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1942
- return deserializeAws_restJson1GetPackageVersionReadmeCommandError(output, context);
1936
+ return de_GetPackageVersionReadmeCommandError(output, context);
1943
1937
  }
1944
1938
  const contents = map({
1945
1939
  $metadata: deserializeMetadata(output),
@@ -1965,8 +1959,8 @@ const deserializeAws_restJson1GetPackageVersionReadmeCommand = async (output, co
1965
1959
  }
1966
1960
  return contents;
1967
1961
  };
1968
- exports.deserializeAws_restJson1GetPackageVersionReadmeCommand = deserializeAws_restJson1GetPackageVersionReadmeCommand;
1969
- const deserializeAws_restJson1GetPackageVersionReadmeCommandError = async (output, context) => {
1962
+ exports.de_GetPackageVersionReadmeCommand = de_GetPackageVersionReadmeCommand;
1963
+ const de_GetPackageVersionReadmeCommandError = async (output, context) => {
1970
1964
  const parsedOutput = {
1971
1965
  ...output,
1972
1966
  body: await parseErrorBody(output.body, context),
@@ -1975,19 +1969,19 @@ const deserializeAws_restJson1GetPackageVersionReadmeCommandError = async (outpu
1975
1969
  switch (errorCode) {
1976
1970
  case "AccessDeniedException":
1977
1971
  case "com.amazonaws.codeartifact#AccessDeniedException":
1978
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1972
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1979
1973
  case "InternalServerException":
1980
1974
  case "com.amazonaws.codeartifact#InternalServerException":
1981
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1975
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1982
1976
  case "ResourceNotFoundException":
1983
1977
  case "com.amazonaws.codeartifact#ResourceNotFoundException":
1984
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1978
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1985
1979
  case "ThrottlingException":
1986
1980
  case "com.amazonaws.codeartifact#ThrottlingException":
1987
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1981
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1988
1982
  case "ValidationException":
1989
1983
  case "com.amazonaws.codeartifact#ValidationException":
1990
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1984
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1991
1985
  default:
1992
1986
  const parsedBody = parsedOutput.body;
1993
1987
  (0, smithy_client_1.throwDefaultError)({
@@ -1998,9 +1992,9 @@ const deserializeAws_restJson1GetPackageVersionReadmeCommandError = async (outpu
1998
1992
  });
1999
1993
  }
2000
1994
  };
2001
- const deserializeAws_restJson1GetRepositoryEndpointCommand = async (output, context) => {
1995
+ const de_GetRepositoryEndpointCommand = async (output, context) => {
2002
1996
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2003
- return deserializeAws_restJson1GetRepositoryEndpointCommandError(output, context);
1997
+ return de_GetRepositoryEndpointCommandError(output, context);
2004
1998
  }
2005
1999
  const contents = map({
2006
2000
  $metadata: deserializeMetadata(output),
@@ -2011,8 +2005,8 @@ const deserializeAws_restJson1GetRepositoryEndpointCommand = async (output, cont
2011
2005
  }
2012
2006
  return contents;
2013
2007
  };
2014
- exports.deserializeAws_restJson1GetRepositoryEndpointCommand = deserializeAws_restJson1GetRepositoryEndpointCommand;
2015
- const deserializeAws_restJson1GetRepositoryEndpointCommandError = async (output, context) => {
2008
+ exports.de_GetRepositoryEndpointCommand = de_GetRepositoryEndpointCommand;
2009
+ const de_GetRepositoryEndpointCommandError = async (output, context) => {
2016
2010
  const parsedOutput = {
2017
2011
  ...output,
2018
2012
  body: await parseErrorBody(output.body, context),
@@ -2021,19 +2015,19 @@ const deserializeAws_restJson1GetRepositoryEndpointCommandError = async (output,
2021
2015
  switch (errorCode) {
2022
2016
  case "AccessDeniedException":
2023
2017
  case "com.amazonaws.codeartifact#AccessDeniedException":
2024
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2018
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2025
2019
  case "InternalServerException":
2026
2020
  case "com.amazonaws.codeartifact#InternalServerException":
2027
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2021
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2028
2022
  case "ResourceNotFoundException":
2029
2023
  case "com.amazonaws.codeartifact#ResourceNotFoundException":
2030
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2024
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2031
2025
  case "ThrottlingException":
2032
2026
  case "com.amazonaws.codeartifact#ThrottlingException":
2033
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2027
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2034
2028
  case "ValidationException":
2035
2029
  case "com.amazonaws.codeartifact#ValidationException":
2036
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2030
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2037
2031
  default:
2038
2032
  const parsedBody = parsedOutput.body;
2039
2033
  (0, smithy_client_1.throwDefaultError)({
@@ -2044,21 +2038,21 @@ const deserializeAws_restJson1GetRepositoryEndpointCommandError = async (output,
2044
2038
  });
2045
2039
  }
2046
2040
  };
2047
- const deserializeAws_restJson1GetRepositoryPermissionsPolicyCommand = async (output, context) => {
2041
+ const de_GetRepositoryPermissionsPolicyCommand = async (output, context) => {
2048
2042
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2049
- return deserializeAws_restJson1GetRepositoryPermissionsPolicyCommandError(output, context);
2043
+ return de_GetRepositoryPermissionsPolicyCommandError(output, context);
2050
2044
  }
2051
2045
  const contents = map({
2052
2046
  $metadata: deserializeMetadata(output),
2053
2047
  });
2054
2048
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2055
2049
  if (data.policy != null) {
2056
- contents.policy = deserializeAws_restJson1ResourcePolicy(data.policy, context);
2050
+ contents.policy = de_ResourcePolicy(data.policy, context);
2057
2051
  }
2058
2052
  return contents;
2059
2053
  };
2060
- exports.deserializeAws_restJson1GetRepositoryPermissionsPolicyCommand = deserializeAws_restJson1GetRepositoryPermissionsPolicyCommand;
2061
- const deserializeAws_restJson1GetRepositoryPermissionsPolicyCommandError = async (output, context) => {
2054
+ exports.de_GetRepositoryPermissionsPolicyCommand = de_GetRepositoryPermissionsPolicyCommand;
2055
+ const de_GetRepositoryPermissionsPolicyCommandError = async (output, context) => {
2062
2056
  const parsedOutput = {
2063
2057
  ...output,
2064
2058
  body: await parseErrorBody(output.body, context),
@@ -2067,19 +2061,19 @@ const deserializeAws_restJson1GetRepositoryPermissionsPolicyCommandError = async
2067
2061
  switch (errorCode) {
2068
2062
  case "AccessDeniedException":
2069
2063
  case "com.amazonaws.codeartifact#AccessDeniedException":
2070
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2064
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2071
2065
  case "InternalServerException":
2072
2066
  case "com.amazonaws.codeartifact#InternalServerException":
2073
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2067
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2074
2068
  case "ResourceNotFoundException":
2075
2069
  case "com.amazonaws.codeartifact#ResourceNotFoundException":
2076
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2070
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2077
2071
  case "ThrottlingException":
2078
2072
  case "com.amazonaws.codeartifact#ThrottlingException":
2079
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2073
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2080
2074
  case "ValidationException":
2081
2075
  case "com.amazonaws.codeartifact#ValidationException":
2082
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2076
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2083
2077
  default:
2084
2078
  const parsedBody = parsedOutput.body;
2085
2079
  (0, smithy_client_1.throwDefaultError)({
@@ -2090,24 +2084,24 @@ const deserializeAws_restJson1GetRepositoryPermissionsPolicyCommandError = async
2090
2084
  });
2091
2085
  }
2092
2086
  };
2093
- const deserializeAws_restJson1ListDomainsCommand = async (output, context) => {
2087
+ const de_ListDomainsCommand = async (output, context) => {
2094
2088
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2095
- return deserializeAws_restJson1ListDomainsCommandError(output, context);
2089
+ return de_ListDomainsCommandError(output, context);
2096
2090
  }
2097
2091
  const contents = map({
2098
2092
  $metadata: deserializeMetadata(output),
2099
2093
  });
2100
2094
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2101
2095
  if (data.domains != null) {
2102
- contents.domains = deserializeAws_restJson1DomainSummaryList(data.domains, context);
2096
+ contents.domains = de_DomainSummaryList(data.domains, context);
2103
2097
  }
2104
2098
  if (data.nextToken != null) {
2105
2099
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
2106
2100
  }
2107
2101
  return contents;
2108
2102
  };
2109
- exports.deserializeAws_restJson1ListDomainsCommand = deserializeAws_restJson1ListDomainsCommand;
2110
- const deserializeAws_restJson1ListDomainsCommandError = async (output, context) => {
2103
+ exports.de_ListDomainsCommand = de_ListDomainsCommand;
2104
+ const de_ListDomainsCommandError = async (output, context) => {
2111
2105
  const parsedOutput = {
2112
2106
  ...output,
2113
2107
  body: await parseErrorBody(output.body, context),
@@ -2116,16 +2110,16 @@ const deserializeAws_restJson1ListDomainsCommandError = async (output, context)
2116
2110
  switch (errorCode) {
2117
2111
  case "AccessDeniedException":
2118
2112
  case "com.amazonaws.codeartifact#AccessDeniedException":
2119
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2113
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2120
2114
  case "InternalServerException":
2121
2115
  case "com.amazonaws.codeartifact#InternalServerException":
2122
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2116
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2123
2117
  case "ThrottlingException":
2124
2118
  case "com.amazonaws.codeartifact#ThrottlingException":
2125
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2119
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2126
2120
  case "ValidationException":
2127
2121
  case "com.amazonaws.codeartifact#ValidationException":
2128
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2122
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2129
2123
  default:
2130
2124
  const parsedBody = parsedOutput.body;
2131
2125
  (0, smithy_client_1.throwDefaultError)({
@@ -2136,9 +2130,9 @@ const deserializeAws_restJson1ListDomainsCommandError = async (output, context)
2136
2130
  });
2137
2131
  }
2138
2132
  };
2139
- const deserializeAws_restJson1ListPackagesCommand = async (output, context) => {
2133
+ const de_ListPackagesCommand = async (output, context) => {
2140
2134
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2141
- return deserializeAws_restJson1ListPackagesCommandError(output, context);
2135
+ return de_ListPackagesCommandError(output, context);
2142
2136
  }
2143
2137
  const contents = map({
2144
2138
  $metadata: deserializeMetadata(output),
@@ -2148,12 +2142,12 @@ const deserializeAws_restJson1ListPackagesCommand = async (output, context) => {
2148
2142
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
2149
2143
  }
2150
2144
  if (data.packages != null) {
2151
- contents.packages = deserializeAws_restJson1PackageSummaryList(data.packages, context);
2145
+ contents.packages = de_PackageSummaryList(data.packages, context);
2152
2146
  }
2153
2147
  return contents;
2154
2148
  };
2155
- exports.deserializeAws_restJson1ListPackagesCommand = deserializeAws_restJson1ListPackagesCommand;
2156
- const deserializeAws_restJson1ListPackagesCommandError = async (output, context) => {
2149
+ exports.de_ListPackagesCommand = de_ListPackagesCommand;
2150
+ const de_ListPackagesCommandError = async (output, context) => {
2157
2151
  const parsedOutput = {
2158
2152
  ...output,
2159
2153
  body: await parseErrorBody(output.body, context),
@@ -2162,19 +2156,19 @@ const deserializeAws_restJson1ListPackagesCommandError = async (output, context)
2162
2156
  switch (errorCode) {
2163
2157
  case "AccessDeniedException":
2164
2158
  case "com.amazonaws.codeartifact#AccessDeniedException":
2165
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2159
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2166
2160
  case "InternalServerException":
2167
2161
  case "com.amazonaws.codeartifact#InternalServerException":
2168
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2162
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2169
2163
  case "ResourceNotFoundException":
2170
2164
  case "com.amazonaws.codeartifact#ResourceNotFoundException":
2171
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2165
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2172
2166
  case "ThrottlingException":
2173
2167
  case "com.amazonaws.codeartifact#ThrottlingException":
2174
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2168
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2175
2169
  case "ValidationException":
2176
2170
  case "com.amazonaws.codeartifact#ValidationException":
2177
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2171
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2178
2172
  default:
2179
2173
  const parsedBody = parsedOutput.body;
2180
2174
  (0, smithy_client_1.throwDefaultError)({
@@ -2185,16 +2179,16 @@ const deserializeAws_restJson1ListPackagesCommandError = async (output, context)
2185
2179
  });
2186
2180
  }
2187
2181
  };
2188
- const deserializeAws_restJson1ListPackageVersionAssetsCommand = async (output, context) => {
2182
+ const de_ListPackageVersionAssetsCommand = async (output, context) => {
2189
2183
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2190
- return deserializeAws_restJson1ListPackageVersionAssetsCommandError(output, context);
2184
+ return de_ListPackageVersionAssetsCommandError(output, context);
2191
2185
  }
2192
2186
  const contents = map({
2193
2187
  $metadata: deserializeMetadata(output),
2194
2188
  });
2195
2189
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2196
2190
  if (data.assets != null) {
2197
- contents.assets = deserializeAws_restJson1AssetSummaryList(data.assets, context);
2191
+ contents.assets = de_AssetSummaryList(data.assets, context);
2198
2192
  }
2199
2193
  if (data.format != null) {
2200
2194
  contents.format = (0, smithy_client_1.expectString)(data.format);
@@ -2216,8 +2210,8 @@ const deserializeAws_restJson1ListPackageVersionAssetsCommand = async (output, c
2216
2210
  }
2217
2211
  return contents;
2218
2212
  };
2219
- exports.deserializeAws_restJson1ListPackageVersionAssetsCommand = deserializeAws_restJson1ListPackageVersionAssetsCommand;
2220
- const deserializeAws_restJson1ListPackageVersionAssetsCommandError = async (output, context) => {
2213
+ exports.de_ListPackageVersionAssetsCommand = de_ListPackageVersionAssetsCommand;
2214
+ const de_ListPackageVersionAssetsCommandError = async (output, context) => {
2221
2215
  const parsedOutput = {
2222
2216
  ...output,
2223
2217
  body: await parseErrorBody(output.body, context),
@@ -2226,19 +2220,19 @@ const deserializeAws_restJson1ListPackageVersionAssetsCommandError = async (outp
2226
2220
  switch (errorCode) {
2227
2221
  case "AccessDeniedException":
2228
2222
  case "com.amazonaws.codeartifact#AccessDeniedException":
2229
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2223
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2230
2224
  case "InternalServerException":
2231
2225
  case "com.amazonaws.codeartifact#InternalServerException":
2232
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2226
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2233
2227
  case "ResourceNotFoundException":
2234
2228
  case "com.amazonaws.codeartifact#ResourceNotFoundException":
2235
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2229
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2236
2230
  case "ThrottlingException":
2237
2231
  case "com.amazonaws.codeartifact#ThrottlingException":
2238
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2232
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2239
2233
  case "ValidationException":
2240
2234
  case "com.amazonaws.codeartifact#ValidationException":
2241
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2235
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2242
2236
  default:
2243
2237
  const parsedBody = parsedOutput.body;
2244
2238
  (0, smithy_client_1.throwDefaultError)({
@@ -2249,16 +2243,16 @@ const deserializeAws_restJson1ListPackageVersionAssetsCommandError = async (outp
2249
2243
  });
2250
2244
  }
2251
2245
  };
2252
- const deserializeAws_restJson1ListPackageVersionDependenciesCommand = async (output, context) => {
2246
+ const de_ListPackageVersionDependenciesCommand = async (output, context) => {
2253
2247
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2254
- return deserializeAws_restJson1ListPackageVersionDependenciesCommandError(output, context);
2248
+ return de_ListPackageVersionDependenciesCommandError(output, context);
2255
2249
  }
2256
2250
  const contents = map({
2257
2251
  $metadata: deserializeMetadata(output),
2258
2252
  });
2259
2253
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2260
2254
  if (data.dependencies != null) {
2261
- contents.dependencies = deserializeAws_restJson1PackageDependencyList(data.dependencies, context);
2255
+ contents.dependencies = de_PackageDependencyList(data.dependencies, context);
2262
2256
  }
2263
2257
  if (data.format != null) {
2264
2258
  contents.format = (0, smithy_client_1.expectString)(data.format);
@@ -2280,8 +2274,8 @@ const deserializeAws_restJson1ListPackageVersionDependenciesCommand = async (out
2280
2274
  }
2281
2275
  return contents;
2282
2276
  };
2283
- exports.deserializeAws_restJson1ListPackageVersionDependenciesCommand = deserializeAws_restJson1ListPackageVersionDependenciesCommand;
2284
- const deserializeAws_restJson1ListPackageVersionDependenciesCommandError = async (output, context) => {
2277
+ exports.de_ListPackageVersionDependenciesCommand = de_ListPackageVersionDependenciesCommand;
2278
+ const de_ListPackageVersionDependenciesCommandError = async (output, context) => {
2285
2279
  const parsedOutput = {
2286
2280
  ...output,
2287
2281
  body: await parseErrorBody(output.body, context),
@@ -2290,19 +2284,19 @@ const deserializeAws_restJson1ListPackageVersionDependenciesCommandError = async
2290
2284
  switch (errorCode) {
2291
2285
  case "AccessDeniedException":
2292
2286
  case "com.amazonaws.codeartifact#AccessDeniedException":
2293
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2287
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2294
2288
  case "InternalServerException":
2295
2289
  case "com.amazonaws.codeartifact#InternalServerException":
2296
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2290
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2297
2291
  case "ResourceNotFoundException":
2298
2292
  case "com.amazonaws.codeartifact#ResourceNotFoundException":
2299
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2293
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2300
2294
  case "ThrottlingException":
2301
2295
  case "com.amazonaws.codeartifact#ThrottlingException":
2302
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2296
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2303
2297
  case "ValidationException":
2304
2298
  case "com.amazonaws.codeartifact#ValidationException":
2305
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2299
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2306
2300
  default:
2307
2301
  const parsedBody = parsedOutput.body;
2308
2302
  (0, smithy_client_1.throwDefaultError)({
@@ -2313,9 +2307,9 @@ const deserializeAws_restJson1ListPackageVersionDependenciesCommandError = async
2313
2307
  });
2314
2308
  }
2315
2309
  };
2316
- const deserializeAws_restJson1ListPackageVersionsCommand = async (output, context) => {
2310
+ const de_ListPackageVersionsCommand = async (output, context) => {
2317
2311
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2318
- return deserializeAws_restJson1ListPackageVersionsCommandError(output, context);
2312
+ return de_ListPackageVersionsCommandError(output, context);
2319
2313
  }
2320
2314
  const contents = map({
2321
2315
  $metadata: deserializeMetadata(output),
@@ -2337,12 +2331,12 @@ const deserializeAws_restJson1ListPackageVersionsCommand = async (output, contex
2337
2331
  contents.package = (0, smithy_client_1.expectString)(data.package);
2338
2332
  }
2339
2333
  if (data.versions != null) {
2340
- contents.versions = deserializeAws_restJson1PackageVersionSummaryList(data.versions, context);
2334
+ contents.versions = de_PackageVersionSummaryList(data.versions, context);
2341
2335
  }
2342
2336
  return contents;
2343
2337
  };
2344
- exports.deserializeAws_restJson1ListPackageVersionsCommand = deserializeAws_restJson1ListPackageVersionsCommand;
2345
- const deserializeAws_restJson1ListPackageVersionsCommandError = async (output, context) => {
2338
+ exports.de_ListPackageVersionsCommand = de_ListPackageVersionsCommand;
2339
+ const de_ListPackageVersionsCommandError = async (output, context) => {
2346
2340
  const parsedOutput = {
2347
2341
  ...output,
2348
2342
  body: await parseErrorBody(output.body, context),
@@ -2351,19 +2345,19 @@ const deserializeAws_restJson1ListPackageVersionsCommandError = async (output, c
2351
2345
  switch (errorCode) {
2352
2346
  case "AccessDeniedException":
2353
2347
  case "com.amazonaws.codeartifact#AccessDeniedException":
2354
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2348
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2355
2349
  case "InternalServerException":
2356
2350
  case "com.amazonaws.codeartifact#InternalServerException":
2357
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2351
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2358
2352
  case "ResourceNotFoundException":
2359
2353
  case "com.amazonaws.codeartifact#ResourceNotFoundException":
2360
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2354
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2361
2355
  case "ThrottlingException":
2362
2356
  case "com.amazonaws.codeartifact#ThrottlingException":
2363
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2357
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2364
2358
  case "ValidationException":
2365
2359
  case "com.amazonaws.codeartifact#ValidationException":
2366
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2360
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2367
2361
  default:
2368
2362
  const parsedBody = parsedOutput.body;
2369
2363
  (0, smithy_client_1.throwDefaultError)({
@@ -2374,9 +2368,9 @@ const deserializeAws_restJson1ListPackageVersionsCommandError = async (output, c
2374
2368
  });
2375
2369
  }
2376
2370
  };
2377
- const deserializeAws_restJson1ListRepositoriesCommand = async (output, context) => {
2371
+ const de_ListRepositoriesCommand = async (output, context) => {
2378
2372
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2379
- return deserializeAws_restJson1ListRepositoriesCommandError(output, context);
2373
+ return de_ListRepositoriesCommandError(output, context);
2380
2374
  }
2381
2375
  const contents = map({
2382
2376
  $metadata: deserializeMetadata(output),
@@ -2386,12 +2380,12 @@ const deserializeAws_restJson1ListRepositoriesCommand = async (output, context)
2386
2380
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
2387
2381
  }
2388
2382
  if (data.repositories != null) {
2389
- contents.repositories = deserializeAws_restJson1RepositorySummaryList(data.repositories, context);
2383
+ contents.repositories = de_RepositorySummaryList(data.repositories, context);
2390
2384
  }
2391
2385
  return contents;
2392
2386
  };
2393
- exports.deserializeAws_restJson1ListRepositoriesCommand = deserializeAws_restJson1ListRepositoriesCommand;
2394
- const deserializeAws_restJson1ListRepositoriesCommandError = async (output, context) => {
2387
+ exports.de_ListRepositoriesCommand = de_ListRepositoriesCommand;
2388
+ const de_ListRepositoriesCommandError = async (output, context) => {
2395
2389
  const parsedOutput = {
2396
2390
  ...output,
2397
2391
  body: await parseErrorBody(output.body, context),
@@ -2400,16 +2394,16 @@ const deserializeAws_restJson1ListRepositoriesCommandError = async (output, cont
2400
2394
  switch (errorCode) {
2401
2395
  case "AccessDeniedException":
2402
2396
  case "com.amazonaws.codeartifact#AccessDeniedException":
2403
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2397
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2404
2398
  case "InternalServerException":
2405
2399
  case "com.amazonaws.codeartifact#InternalServerException":
2406
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2400
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2407
2401
  case "ThrottlingException":
2408
2402
  case "com.amazonaws.codeartifact#ThrottlingException":
2409
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2403
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2410
2404
  case "ValidationException":
2411
2405
  case "com.amazonaws.codeartifact#ValidationException":
2412
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2406
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2413
2407
  default:
2414
2408
  const parsedBody = parsedOutput.body;
2415
2409
  (0, smithy_client_1.throwDefaultError)({
@@ -2420,9 +2414,9 @@ const deserializeAws_restJson1ListRepositoriesCommandError = async (output, cont
2420
2414
  });
2421
2415
  }
2422
2416
  };
2423
- const deserializeAws_restJson1ListRepositoriesInDomainCommand = async (output, context) => {
2417
+ const de_ListRepositoriesInDomainCommand = async (output, context) => {
2424
2418
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2425
- return deserializeAws_restJson1ListRepositoriesInDomainCommandError(output, context);
2419
+ return de_ListRepositoriesInDomainCommandError(output, context);
2426
2420
  }
2427
2421
  const contents = map({
2428
2422
  $metadata: deserializeMetadata(output),
@@ -2432,12 +2426,12 @@ const deserializeAws_restJson1ListRepositoriesInDomainCommand = async (output, c
2432
2426
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
2433
2427
  }
2434
2428
  if (data.repositories != null) {
2435
- contents.repositories = deserializeAws_restJson1RepositorySummaryList(data.repositories, context);
2429
+ contents.repositories = de_RepositorySummaryList(data.repositories, context);
2436
2430
  }
2437
2431
  return contents;
2438
2432
  };
2439
- exports.deserializeAws_restJson1ListRepositoriesInDomainCommand = deserializeAws_restJson1ListRepositoriesInDomainCommand;
2440
- const deserializeAws_restJson1ListRepositoriesInDomainCommandError = async (output, context) => {
2433
+ exports.de_ListRepositoriesInDomainCommand = de_ListRepositoriesInDomainCommand;
2434
+ const de_ListRepositoriesInDomainCommandError = async (output, context) => {
2441
2435
  const parsedOutput = {
2442
2436
  ...output,
2443
2437
  body: await parseErrorBody(output.body, context),
@@ -2446,19 +2440,19 @@ const deserializeAws_restJson1ListRepositoriesInDomainCommandError = async (outp
2446
2440
  switch (errorCode) {
2447
2441
  case "AccessDeniedException":
2448
2442
  case "com.amazonaws.codeartifact#AccessDeniedException":
2449
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2443
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2450
2444
  case "InternalServerException":
2451
2445
  case "com.amazonaws.codeartifact#InternalServerException":
2452
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2446
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2453
2447
  case "ResourceNotFoundException":
2454
2448
  case "com.amazonaws.codeartifact#ResourceNotFoundException":
2455
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2449
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2456
2450
  case "ThrottlingException":
2457
2451
  case "com.amazonaws.codeartifact#ThrottlingException":
2458
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2452
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2459
2453
  case "ValidationException":
2460
2454
  case "com.amazonaws.codeartifact#ValidationException":
2461
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2455
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2462
2456
  default:
2463
2457
  const parsedBody = parsedOutput.body;
2464
2458
  (0, smithy_client_1.throwDefaultError)({
@@ -2469,21 +2463,21 @@ const deserializeAws_restJson1ListRepositoriesInDomainCommandError = async (outp
2469
2463
  });
2470
2464
  }
2471
2465
  };
2472
- const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
2466
+ const de_ListTagsForResourceCommand = async (output, context) => {
2473
2467
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2474
- return deserializeAws_restJson1ListTagsForResourceCommandError(output, context);
2468
+ return de_ListTagsForResourceCommandError(output, context);
2475
2469
  }
2476
2470
  const contents = map({
2477
2471
  $metadata: deserializeMetadata(output),
2478
2472
  });
2479
2473
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2480
2474
  if (data.tags != null) {
2481
- contents.tags = deserializeAws_restJson1TagList(data.tags, context);
2475
+ contents.tags = de_TagList(data.tags, context);
2482
2476
  }
2483
2477
  return contents;
2484
2478
  };
2485
- exports.deserializeAws_restJson1ListTagsForResourceCommand = deserializeAws_restJson1ListTagsForResourceCommand;
2486
- const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, context) => {
2479
+ exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
2480
+ const de_ListTagsForResourceCommandError = async (output, context) => {
2487
2481
  const parsedOutput = {
2488
2482
  ...output,
2489
2483
  body: await parseErrorBody(output.body, context),
@@ -2492,16 +2486,16 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
2492
2486
  switch (errorCode) {
2493
2487
  case "AccessDeniedException":
2494
2488
  case "com.amazonaws.codeartifact#AccessDeniedException":
2495
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2489
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2496
2490
  case "ResourceNotFoundException":
2497
2491
  case "com.amazonaws.codeartifact#ResourceNotFoundException":
2498
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2492
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2499
2493
  case "ThrottlingException":
2500
2494
  case "com.amazonaws.codeartifact#ThrottlingException":
2501
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2495
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2502
2496
  case "ValidationException":
2503
2497
  case "com.amazonaws.codeartifact#ValidationException":
2504
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2498
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2505
2499
  default:
2506
2500
  const parsedBody = parsedOutput.body;
2507
2501
  (0, smithy_client_1.throwDefaultError)({
@@ -2512,16 +2506,16 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
2512
2506
  });
2513
2507
  }
2514
2508
  };
2515
- const deserializeAws_restJson1PublishPackageVersionCommand = async (output, context) => {
2509
+ const de_PublishPackageVersionCommand = async (output, context) => {
2516
2510
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2517
- return deserializeAws_restJson1PublishPackageVersionCommandError(output, context);
2511
+ return de_PublishPackageVersionCommandError(output, context);
2518
2512
  }
2519
2513
  const contents = map({
2520
2514
  $metadata: deserializeMetadata(output),
2521
2515
  });
2522
2516
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2523
2517
  if (data.asset != null) {
2524
- contents.asset = deserializeAws_restJson1AssetSummary(data.asset, context);
2518
+ contents.asset = de_AssetSummary(data.asset, context);
2525
2519
  }
2526
2520
  if (data.format != null) {
2527
2521
  contents.format = (0, smithy_client_1.expectString)(data.format);
@@ -2543,8 +2537,8 @@ const deserializeAws_restJson1PublishPackageVersionCommand = async (output, cont
2543
2537
  }
2544
2538
  return contents;
2545
2539
  };
2546
- exports.deserializeAws_restJson1PublishPackageVersionCommand = deserializeAws_restJson1PublishPackageVersionCommand;
2547
- const deserializeAws_restJson1PublishPackageVersionCommandError = async (output, context) => {
2540
+ exports.de_PublishPackageVersionCommand = de_PublishPackageVersionCommand;
2541
+ const de_PublishPackageVersionCommandError = async (output, context) => {
2548
2542
  const parsedOutput = {
2549
2543
  ...output,
2550
2544
  body: await parseErrorBody(output.body, context),
@@ -2553,25 +2547,25 @@ const deserializeAws_restJson1PublishPackageVersionCommandError = async (output,
2553
2547
  switch (errorCode) {
2554
2548
  case "AccessDeniedException":
2555
2549
  case "com.amazonaws.codeartifact#AccessDeniedException":
2556
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2550
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2557
2551
  case "ConflictException":
2558
2552
  case "com.amazonaws.codeartifact#ConflictException":
2559
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
2553
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2560
2554
  case "InternalServerException":
2561
2555
  case "com.amazonaws.codeartifact#InternalServerException":
2562
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2556
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2563
2557
  case "ResourceNotFoundException":
2564
2558
  case "com.amazonaws.codeartifact#ResourceNotFoundException":
2565
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2559
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2566
2560
  case "ServiceQuotaExceededException":
2567
2561
  case "com.amazonaws.codeartifact#ServiceQuotaExceededException":
2568
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
2562
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
2569
2563
  case "ThrottlingException":
2570
2564
  case "com.amazonaws.codeartifact#ThrottlingException":
2571
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2565
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2572
2566
  case "ValidationException":
2573
2567
  case "com.amazonaws.codeartifact#ValidationException":
2574
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2568
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2575
2569
  default:
2576
2570
  const parsedBody = parsedOutput.body;
2577
2571
  (0, smithy_client_1.throwDefaultError)({
@@ -2582,21 +2576,21 @@ const deserializeAws_restJson1PublishPackageVersionCommandError = async (output,
2582
2576
  });
2583
2577
  }
2584
2578
  };
2585
- const deserializeAws_restJson1PutDomainPermissionsPolicyCommand = async (output, context) => {
2579
+ const de_PutDomainPermissionsPolicyCommand = async (output, context) => {
2586
2580
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2587
- return deserializeAws_restJson1PutDomainPermissionsPolicyCommandError(output, context);
2581
+ return de_PutDomainPermissionsPolicyCommandError(output, context);
2588
2582
  }
2589
2583
  const contents = map({
2590
2584
  $metadata: deserializeMetadata(output),
2591
2585
  });
2592
2586
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2593
2587
  if (data.policy != null) {
2594
- contents.policy = deserializeAws_restJson1ResourcePolicy(data.policy, context);
2588
+ contents.policy = de_ResourcePolicy(data.policy, context);
2595
2589
  }
2596
2590
  return contents;
2597
2591
  };
2598
- exports.deserializeAws_restJson1PutDomainPermissionsPolicyCommand = deserializeAws_restJson1PutDomainPermissionsPolicyCommand;
2599
- const deserializeAws_restJson1PutDomainPermissionsPolicyCommandError = async (output, context) => {
2592
+ exports.de_PutDomainPermissionsPolicyCommand = de_PutDomainPermissionsPolicyCommand;
2593
+ const de_PutDomainPermissionsPolicyCommandError = async (output, context) => {
2600
2594
  const parsedOutput = {
2601
2595
  ...output,
2602
2596
  body: await parseErrorBody(output.body, context),
@@ -2605,25 +2599,25 @@ const deserializeAws_restJson1PutDomainPermissionsPolicyCommandError = async (ou
2605
2599
  switch (errorCode) {
2606
2600
  case "AccessDeniedException":
2607
2601
  case "com.amazonaws.codeartifact#AccessDeniedException":
2608
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2602
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2609
2603
  case "ConflictException":
2610
2604
  case "com.amazonaws.codeartifact#ConflictException":
2611
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
2605
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2612
2606
  case "InternalServerException":
2613
2607
  case "com.amazonaws.codeartifact#InternalServerException":
2614
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2608
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2615
2609
  case "ResourceNotFoundException":
2616
2610
  case "com.amazonaws.codeartifact#ResourceNotFoundException":
2617
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2611
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2618
2612
  case "ServiceQuotaExceededException":
2619
2613
  case "com.amazonaws.codeartifact#ServiceQuotaExceededException":
2620
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
2614
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
2621
2615
  case "ThrottlingException":
2622
2616
  case "com.amazonaws.codeartifact#ThrottlingException":
2623
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2617
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2624
2618
  case "ValidationException":
2625
2619
  case "com.amazonaws.codeartifact#ValidationException":
2626
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2620
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2627
2621
  default:
2628
2622
  const parsedBody = parsedOutput.body;
2629
2623
  (0, smithy_client_1.throwDefaultError)({
@@ -2634,21 +2628,21 @@ const deserializeAws_restJson1PutDomainPermissionsPolicyCommandError = async (ou
2634
2628
  });
2635
2629
  }
2636
2630
  };
2637
- const deserializeAws_restJson1PutPackageOriginConfigurationCommand = async (output, context) => {
2631
+ const de_PutPackageOriginConfigurationCommand = async (output, context) => {
2638
2632
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2639
- return deserializeAws_restJson1PutPackageOriginConfigurationCommandError(output, context);
2633
+ return de_PutPackageOriginConfigurationCommandError(output, context);
2640
2634
  }
2641
2635
  const contents = map({
2642
2636
  $metadata: deserializeMetadata(output),
2643
2637
  });
2644
2638
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2645
2639
  if (data.originConfiguration != null) {
2646
- contents.originConfiguration = deserializeAws_restJson1PackageOriginConfiguration(data.originConfiguration, context);
2640
+ contents.originConfiguration = de_PackageOriginConfiguration(data.originConfiguration, context);
2647
2641
  }
2648
2642
  return contents;
2649
2643
  };
2650
- exports.deserializeAws_restJson1PutPackageOriginConfigurationCommand = deserializeAws_restJson1PutPackageOriginConfigurationCommand;
2651
- const deserializeAws_restJson1PutPackageOriginConfigurationCommandError = async (output, context) => {
2644
+ exports.de_PutPackageOriginConfigurationCommand = de_PutPackageOriginConfigurationCommand;
2645
+ const de_PutPackageOriginConfigurationCommandError = async (output, context) => {
2652
2646
  const parsedOutput = {
2653
2647
  ...output,
2654
2648
  body: await parseErrorBody(output.body, context),
@@ -2657,19 +2651,19 @@ const deserializeAws_restJson1PutPackageOriginConfigurationCommandError = async
2657
2651
  switch (errorCode) {
2658
2652
  case "AccessDeniedException":
2659
2653
  case "com.amazonaws.codeartifact#AccessDeniedException":
2660
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2654
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2661
2655
  case "InternalServerException":
2662
2656
  case "com.amazonaws.codeartifact#InternalServerException":
2663
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2657
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2664
2658
  case "ResourceNotFoundException":
2665
2659
  case "com.amazonaws.codeartifact#ResourceNotFoundException":
2666
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2660
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2667
2661
  case "ThrottlingException":
2668
2662
  case "com.amazonaws.codeartifact#ThrottlingException":
2669
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2663
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2670
2664
  case "ValidationException":
2671
2665
  case "com.amazonaws.codeartifact#ValidationException":
2672
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2666
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2673
2667
  default:
2674
2668
  const parsedBody = parsedOutput.body;
2675
2669
  (0, smithy_client_1.throwDefaultError)({
@@ -2680,21 +2674,21 @@ const deserializeAws_restJson1PutPackageOriginConfigurationCommandError = async
2680
2674
  });
2681
2675
  }
2682
2676
  };
2683
- const deserializeAws_restJson1PutRepositoryPermissionsPolicyCommand = async (output, context) => {
2677
+ const de_PutRepositoryPermissionsPolicyCommand = async (output, context) => {
2684
2678
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2685
- return deserializeAws_restJson1PutRepositoryPermissionsPolicyCommandError(output, context);
2679
+ return de_PutRepositoryPermissionsPolicyCommandError(output, context);
2686
2680
  }
2687
2681
  const contents = map({
2688
2682
  $metadata: deserializeMetadata(output),
2689
2683
  });
2690
2684
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2691
2685
  if (data.policy != null) {
2692
- contents.policy = deserializeAws_restJson1ResourcePolicy(data.policy, context);
2686
+ contents.policy = de_ResourcePolicy(data.policy, context);
2693
2687
  }
2694
2688
  return contents;
2695
2689
  };
2696
- exports.deserializeAws_restJson1PutRepositoryPermissionsPolicyCommand = deserializeAws_restJson1PutRepositoryPermissionsPolicyCommand;
2697
- const deserializeAws_restJson1PutRepositoryPermissionsPolicyCommandError = async (output, context) => {
2690
+ exports.de_PutRepositoryPermissionsPolicyCommand = de_PutRepositoryPermissionsPolicyCommand;
2691
+ const de_PutRepositoryPermissionsPolicyCommandError = async (output, context) => {
2698
2692
  const parsedOutput = {
2699
2693
  ...output,
2700
2694
  body: await parseErrorBody(output.body, context),
@@ -2703,25 +2697,25 @@ const deserializeAws_restJson1PutRepositoryPermissionsPolicyCommandError = async
2703
2697
  switch (errorCode) {
2704
2698
  case "AccessDeniedException":
2705
2699
  case "com.amazonaws.codeartifact#AccessDeniedException":
2706
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2700
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2707
2701
  case "ConflictException":
2708
2702
  case "com.amazonaws.codeartifact#ConflictException":
2709
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
2703
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2710
2704
  case "InternalServerException":
2711
2705
  case "com.amazonaws.codeartifact#InternalServerException":
2712
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2706
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2713
2707
  case "ResourceNotFoundException":
2714
2708
  case "com.amazonaws.codeartifact#ResourceNotFoundException":
2715
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2709
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2716
2710
  case "ServiceQuotaExceededException":
2717
2711
  case "com.amazonaws.codeartifact#ServiceQuotaExceededException":
2718
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
2712
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
2719
2713
  case "ThrottlingException":
2720
2714
  case "com.amazonaws.codeartifact#ThrottlingException":
2721
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2715
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2722
2716
  case "ValidationException":
2723
2717
  case "com.amazonaws.codeartifact#ValidationException":
2724
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2718
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2725
2719
  default:
2726
2720
  const parsedBody = parsedOutput.body;
2727
2721
  (0, smithy_client_1.throwDefaultError)({
@@ -2732,9 +2726,9 @@ const deserializeAws_restJson1PutRepositoryPermissionsPolicyCommandError = async
2732
2726
  });
2733
2727
  }
2734
2728
  };
2735
- const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
2729
+ const de_TagResourceCommand = async (output, context) => {
2736
2730
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2737
- return deserializeAws_restJson1TagResourceCommandError(output, context);
2731
+ return de_TagResourceCommandError(output, context);
2738
2732
  }
2739
2733
  const contents = map({
2740
2734
  $metadata: deserializeMetadata(output),
@@ -2742,8 +2736,8 @@ const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
2742
2736
  await collectBody(output.body, context);
2743
2737
  return contents;
2744
2738
  };
2745
- exports.deserializeAws_restJson1TagResourceCommand = deserializeAws_restJson1TagResourceCommand;
2746
- const deserializeAws_restJson1TagResourceCommandError = async (output, context) => {
2739
+ exports.de_TagResourceCommand = de_TagResourceCommand;
2740
+ const de_TagResourceCommandError = async (output, context) => {
2747
2741
  const parsedOutput = {
2748
2742
  ...output,
2749
2743
  body: await parseErrorBody(output.body, context),
@@ -2752,19 +2746,19 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
2752
2746
  switch (errorCode) {
2753
2747
  case "AccessDeniedException":
2754
2748
  case "com.amazonaws.codeartifact#AccessDeniedException":
2755
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2749
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2756
2750
  case "ResourceNotFoundException":
2757
2751
  case "com.amazonaws.codeartifact#ResourceNotFoundException":
2758
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2752
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2759
2753
  case "ServiceQuotaExceededException":
2760
2754
  case "com.amazonaws.codeartifact#ServiceQuotaExceededException":
2761
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
2755
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
2762
2756
  case "ThrottlingException":
2763
2757
  case "com.amazonaws.codeartifact#ThrottlingException":
2764
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2758
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2765
2759
  case "ValidationException":
2766
2760
  case "com.amazonaws.codeartifact#ValidationException":
2767
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2761
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2768
2762
  default:
2769
2763
  const parsedBody = parsedOutput.body;
2770
2764
  (0, smithy_client_1.throwDefaultError)({
@@ -2775,9 +2769,9 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
2775
2769
  });
2776
2770
  }
2777
2771
  };
2778
- const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
2772
+ const de_UntagResourceCommand = async (output, context) => {
2779
2773
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2780
- return deserializeAws_restJson1UntagResourceCommandError(output, context);
2774
+ return de_UntagResourceCommandError(output, context);
2781
2775
  }
2782
2776
  const contents = map({
2783
2777
  $metadata: deserializeMetadata(output),
@@ -2785,8 +2779,8 @@ const deserializeAws_restJson1UntagResourceCommand = async (output, context) =>
2785
2779
  await collectBody(output.body, context);
2786
2780
  return contents;
2787
2781
  };
2788
- exports.deserializeAws_restJson1UntagResourceCommand = deserializeAws_restJson1UntagResourceCommand;
2789
- const deserializeAws_restJson1UntagResourceCommandError = async (output, context) => {
2782
+ exports.de_UntagResourceCommand = de_UntagResourceCommand;
2783
+ const de_UntagResourceCommandError = async (output, context) => {
2790
2784
  const parsedOutput = {
2791
2785
  ...output,
2792
2786
  body: await parseErrorBody(output.body, context),
@@ -2795,16 +2789,16 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
2795
2789
  switch (errorCode) {
2796
2790
  case "AccessDeniedException":
2797
2791
  case "com.amazonaws.codeartifact#AccessDeniedException":
2798
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2792
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2799
2793
  case "ResourceNotFoundException":
2800
2794
  case "com.amazonaws.codeartifact#ResourceNotFoundException":
2801
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2795
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2802
2796
  case "ThrottlingException":
2803
2797
  case "com.amazonaws.codeartifact#ThrottlingException":
2804
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2798
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2805
2799
  case "ValidationException":
2806
2800
  case "com.amazonaws.codeartifact#ValidationException":
2807
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2801
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2808
2802
  default:
2809
2803
  const parsedBody = parsedOutput.body;
2810
2804
  (0, smithy_client_1.throwDefaultError)({
@@ -2815,24 +2809,24 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
2815
2809
  });
2816
2810
  }
2817
2811
  };
2818
- const deserializeAws_restJson1UpdatePackageVersionsStatusCommand = async (output, context) => {
2812
+ const de_UpdatePackageVersionsStatusCommand = async (output, context) => {
2819
2813
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2820
- return deserializeAws_restJson1UpdatePackageVersionsStatusCommandError(output, context);
2814
+ return de_UpdatePackageVersionsStatusCommandError(output, context);
2821
2815
  }
2822
2816
  const contents = map({
2823
2817
  $metadata: deserializeMetadata(output),
2824
2818
  });
2825
2819
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2826
2820
  if (data.failedVersions != null) {
2827
- contents.failedVersions = deserializeAws_restJson1PackageVersionErrorMap(data.failedVersions, context);
2821
+ contents.failedVersions = de_PackageVersionErrorMap(data.failedVersions, context);
2828
2822
  }
2829
2823
  if (data.successfulVersions != null) {
2830
- contents.successfulVersions = deserializeAws_restJson1SuccessfulPackageVersionInfoMap(data.successfulVersions, context);
2824
+ contents.successfulVersions = de_SuccessfulPackageVersionInfoMap(data.successfulVersions, context);
2831
2825
  }
2832
2826
  return contents;
2833
2827
  };
2834
- exports.deserializeAws_restJson1UpdatePackageVersionsStatusCommand = deserializeAws_restJson1UpdatePackageVersionsStatusCommand;
2835
- const deserializeAws_restJson1UpdatePackageVersionsStatusCommandError = async (output, context) => {
2828
+ exports.de_UpdatePackageVersionsStatusCommand = de_UpdatePackageVersionsStatusCommand;
2829
+ const de_UpdatePackageVersionsStatusCommandError = async (output, context) => {
2836
2830
  const parsedOutput = {
2837
2831
  ...output,
2838
2832
  body: await parseErrorBody(output.body, context),
@@ -2841,22 +2835,22 @@ const deserializeAws_restJson1UpdatePackageVersionsStatusCommandError = async (o
2841
2835
  switch (errorCode) {
2842
2836
  case "AccessDeniedException":
2843
2837
  case "com.amazonaws.codeartifact#AccessDeniedException":
2844
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2838
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2845
2839
  case "ConflictException":
2846
2840
  case "com.amazonaws.codeartifact#ConflictException":
2847
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
2841
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2848
2842
  case "InternalServerException":
2849
2843
  case "com.amazonaws.codeartifact#InternalServerException":
2850
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2844
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2851
2845
  case "ResourceNotFoundException":
2852
2846
  case "com.amazonaws.codeartifact#ResourceNotFoundException":
2853
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2847
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2854
2848
  case "ThrottlingException":
2855
2849
  case "com.amazonaws.codeartifact#ThrottlingException":
2856
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2850
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2857
2851
  case "ValidationException":
2858
2852
  case "com.amazonaws.codeartifact#ValidationException":
2859
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2853
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2860
2854
  default:
2861
2855
  const parsedBody = parsedOutput.body;
2862
2856
  (0, smithy_client_1.throwDefaultError)({
@@ -2867,21 +2861,21 @@ const deserializeAws_restJson1UpdatePackageVersionsStatusCommandError = async (o
2867
2861
  });
2868
2862
  }
2869
2863
  };
2870
- const deserializeAws_restJson1UpdateRepositoryCommand = async (output, context) => {
2864
+ const de_UpdateRepositoryCommand = async (output, context) => {
2871
2865
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2872
- return deserializeAws_restJson1UpdateRepositoryCommandError(output, context);
2866
+ return de_UpdateRepositoryCommandError(output, context);
2873
2867
  }
2874
2868
  const contents = map({
2875
2869
  $metadata: deserializeMetadata(output),
2876
2870
  });
2877
2871
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2878
2872
  if (data.repository != null) {
2879
- contents.repository = deserializeAws_restJson1RepositoryDescription(data.repository, context);
2873
+ contents.repository = de_RepositoryDescription(data.repository, context);
2880
2874
  }
2881
2875
  return contents;
2882
2876
  };
2883
- exports.deserializeAws_restJson1UpdateRepositoryCommand = deserializeAws_restJson1UpdateRepositoryCommand;
2884
- const deserializeAws_restJson1UpdateRepositoryCommandError = async (output, context) => {
2877
+ exports.de_UpdateRepositoryCommand = de_UpdateRepositoryCommand;
2878
+ const de_UpdateRepositoryCommandError = async (output, context) => {
2885
2879
  const parsedOutput = {
2886
2880
  ...output,
2887
2881
  body: await parseErrorBody(output.body, context),
@@ -2890,25 +2884,25 @@ const deserializeAws_restJson1UpdateRepositoryCommandError = async (output, cont
2890
2884
  switch (errorCode) {
2891
2885
  case "AccessDeniedException":
2892
2886
  case "com.amazonaws.codeartifact#AccessDeniedException":
2893
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2887
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2894
2888
  case "ConflictException":
2895
2889
  case "com.amazonaws.codeartifact#ConflictException":
2896
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
2890
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2897
2891
  case "InternalServerException":
2898
2892
  case "com.amazonaws.codeartifact#InternalServerException":
2899
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2893
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2900
2894
  case "ResourceNotFoundException":
2901
2895
  case "com.amazonaws.codeartifact#ResourceNotFoundException":
2902
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2896
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2903
2897
  case "ServiceQuotaExceededException":
2904
2898
  case "com.amazonaws.codeartifact#ServiceQuotaExceededException":
2905
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
2899
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
2906
2900
  case "ThrottlingException":
2907
2901
  case "com.amazonaws.codeartifact#ThrottlingException":
2908
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2902
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2909
2903
  case "ValidationException":
2910
2904
  case "com.amazonaws.codeartifact#ValidationException":
2911
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2905
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2912
2906
  default:
2913
2907
  const parsedBody = parsedOutput.body;
2914
2908
  (0, smithy_client_1.throwDefaultError)({
@@ -2920,7 +2914,7 @@ const deserializeAws_restJson1UpdateRepositoryCommandError = async (output, cont
2920
2914
  }
2921
2915
  };
2922
2916
  const map = smithy_client_1.map;
2923
- const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
2917
+ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
2924
2918
  const contents = map({});
2925
2919
  const data = parsedOutput.body;
2926
2920
  if (data.message != null) {
@@ -2932,7 +2926,7 @@ const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutpu
2932
2926
  });
2933
2927
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2934
2928
  };
2935
- const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
2929
+ const de_ConflictExceptionRes = async (parsedOutput, context) => {
2936
2930
  const contents = map({});
2937
2931
  const data = parsedOutput.body;
2938
2932
  if (data.message != null) {
@@ -2950,7 +2944,7 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
2950
2944
  });
2951
2945
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2952
2946
  };
2953
- const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
2947
+ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
2954
2948
  const contents = map({});
2955
2949
  const data = parsedOutput.body;
2956
2950
  if (data.message != null) {
@@ -2962,7 +2956,7 @@ const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOut
2962
2956
  });
2963
2957
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2964
2958
  };
2965
- const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
2959
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
2966
2960
  const contents = map({});
2967
2961
  const data = parsedOutput.body;
2968
2962
  if (data.message != null) {
@@ -2980,7 +2974,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
2980
2974
  });
2981
2975
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2982
2976
  };
2983
- const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
2977
+ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
2984
2978
  const contents = map({});
2985
2979
  const data = parsedOutput.body;
2986
2980
  if (data.message != null) {
@@ -2998,7 +2992,7 @@ const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (par
2998
2992
  });
2999
2993
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3000
2994
  };
3001
- const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
2995
+ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
3002
2996
  const contents = map({
3003
2997
  retryAfterSeconds: [
3004
2998
  () => void 0 !== parsedOutput.headers["retry-after"],
@@ -3015,7 +3009,7 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
3015
3009
  });
3016
3010
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3017
3011
  };
3018
- const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
3012
+ const de_ValidationExceptionRes = async (parsedOutput, context) => {
3019
3013
  const contents = map({});
3020
3014
  const data = parsedOutput.body;
3021
3015
  if (data.message != null) {
@@ -3030,20 +3024,20 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
3030
3024
  });
3031
3025
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3032
3026
  };
3033
- const serializeAws_restJson1PackageOriginRestrictions = (input, context) => {
3027
+ const se_PackageOriginRestrictions = (input, context) => {
3034
3028
  return {
3035
3029
  ...(input.publish != null && { publish: input.publish }),
3036
3030
  ...(input.upstream != null && { upstream: input.upstream }),
3037
3031
  };
3038
3032
  };
3039
- const serializeAws_restJson1PackageVersionList = (input, context) => {
3033
+ const se_PackageVersionList = (input, context) => {
3040
3034
  return input
3041
3035
  .filter((e) => e != null)
3042
3036
  .map((entry) => {
3043
3037
  return entry;
3044
3038
  });
3045
3039
  };
3046
- const serializeAws_restJson1PackageVersionRevisionMap = (input, context) => {
3040
+ const se_PackageVersionRevisionMap = (input, context) => {
3047
3041
  return Object.entries(input).reduce((acc, [key, value]) => {
3048
3042
  if (value === null) {
3049
3043
  return acc;
@@ -3052,39 +3046,39 @@ const serializeAws_restJson1PackageVersionRevisionMap = (input, context) => {
3052
3046
  return acc;
3053
3047
  }, {});
3054
3048
  };
3055
- const serializeAws_restJson1Tag = (input, context) => {
3049
+ const se_Tag = (input, context) => {
3056
3050
  return {
3057
3051
  ...(input.key != null && { key: input.key }),
3058
3052
  ...(input.value != null && { value: input.value }),
3059
3053
  };
3060
3054
  };
3061
- const serializeAws_restJson1TagKeyList = (input, context) => {
3055
+ const se_TagKeyList = (input, context) => {
3062
3056
  return input
3063
3057
  .filter((e) => e != null)
3064
3058
  .map((entry) => {
3065
3059
  return entry;
3066
3060
  });
3067
3061
  };
3068
- const serializeAws_restJson1TagList = (input, context) => {
3062
+ const se_TagList = (input, context) => {
3069
3063
  return input
3070
3064
  .filter((e) => e != null)
3071
3065
  .map((entry) => {
3072
- return serializeAws_restJson1Tag(entry, context);
3066
+ return se_Tag(entry, context);
3073
3067
  });
3074
3068
  };
3075
- const serializeAws_restJson1UpstreamRepository = (input, context) => {
3069
+ const se_UpstreamRepository = (input, context) => {
3076
3070
  return {
3077
3071
  ...(input.repositoryName != null && { repositoryName: input.repositoryName }),
3078
3072
  };
3079
3073
  };
3080
- const serializeAws_restJson1UpstreamRepositoryList = (input, context) => {
3074
+ const se_UpstreamRepositoryList = (input, context) => {
3081
3075
  return input
3082
3076
  .filter((e) => e != null)
3083
3077
  .map((entry) => {
3084
- return serializeAws_restJson1UpstreamRepository(entry, context);
3078
+ return se_UpstreamRepository(entry, context);
3085
3079
  });
3086
3080
  };
3087
- const deserializeAws_restJson1AssetHashes = (output, context) => {
3081
+ const de_AssetHashes = (output, context) => {
3088
3082
  return Object.entries(output).reduce((acc, [key, value]) => {
3089
3083
  if (value === null) {
3090
3084
  return acc;
@@ -3093,25 +3087,25 @@ const deserializeAws_restJson1AssetHashes = (output, context) => {
3093
3087
  return acc;
3094
3088
  }, {});
3095
3089
  };
3096
- const deserializeAws_restJson1AssetSummary = (output, context) => {
3090
+ const de_AssetSummary = (output, context) => {
3097
3091
  return {
3098
- hashes: output.hashes != null ? deserializeAws_restJson1AssetHashes(output.hashes, context) : undefined,
3092
+ hashes: output.hashes != null ? de_AssetHashes(output.hashes, context) : undefined,
3099
3093
  name: (0, smithy_client_1.expectString)(output.name),
3100
3094
  size: (0, smithy_client_1.expectLong)(output.size),
3101
3095
  };
3102
3096
  };
3103
- const deserializeAws_restJson1AssetSummaryList = (output, context) => {
3097
+ const de_AssetSummaryList = (output, context) => {
3104
3098
  const retVal = (output || [])
3105
3099
  .filter((e) => e != null)
3106
3100
  .map((entry) => {
3107
3101
  if (entry === null) {
3108
3102
  return null;
3109
3103
  }
3110
- return deserializeAws_restJson1AssetSummary(entry, context);
3104
+ return de_AssetSummary(entry, context);
3111
3105
  });
3112
3106
  return retVal;
3113
3107
  };
3114
- const deserializeAws_restJson1DomainDescription = (output, context) => {
3108
+ const de_DomainDescription = (output, context) => {
3115
3109
  return {
3116
3110
  arn: (0, smithy_client_1.expectString)(output.arn),
3117
3111
  assetSizeBytes: (0, smithy_client_1.expectLong)(output.assetSizeBytes),
@@ -3126,13 +3120,13 @@ const deserializeAws_restJson1DomainDescription = (output, context) => {
3126
3120
  status: (0, smithy_client_1.expectString)(output.status),
3127
3121
  };
3128
3122
  };
3129
- const deserializeAws_restJson1DomainEntryPoint = (output, context) => {
3123
+ const de_DomainEntryPoint = (output, context) => {
3130
3124
  return {
3131
3125
  externalConnectionName: (0, smithy_client_1.expectString)(output.externalConnectionName),
3132
3126
  repositoryName: (0, smithy_client_1.expectString)(output.repositoryName),
3133
3127
  };
3134
3128
  };
3135
- const deserializeAws_restJson1DomainSummary = (output, context) => {
3129
+ const de_DomainSummary = (output, context) => {
3136
3130
  return {
3137
3131
  arn: (0, smithy_client_1.expectString)(output.arn),
3138
3132
  createdTime: output.createdTime != null
@@ -3144,35 +3138,35 @@ const deserializeAws_restJson1DomainSummary = (output, context) => {
3144
3138
  status: (0, smithy_client_1.expectString)(output.status),
3145
3139
  };
3146
3140
  };
3147
- const deserializeAws_restJson1DomainSummaryList = (output, context) => {
3141
+ const de_DomainSummaryList = (output, context) => {
3148
3142
  const retVal = (output || [])
3149
3143
  .filter((e) => e != null)
3150
3144
  .map((entry) => {
3151
3145
  if (entry === null) {
3152
3146
  return null;
3153
3147
  }
3154
- return deserializeAws_restJson1DomainSummary(entry, context);
3148
+ return de_DomainSummary(entry, context);
3155
3149
  });
3156
3150
  return retVal;
3157
3151
  };
3158
- const deserializeAws_restJson1LicenseInfo = (output, context) => {
3152
+ const de_LicenseInfo = (output, context) => {
3159
3153
  return {
3160
3154
  name: (0, smithy_client_1.expectString)(output.name),
3161
3155
  url: (0, smithy_client_1.expectString)(output.url),
3162
3156
  };
3163
3157
  };
3164
- const deserializeAws_restJson1LicenseInfoList = (output, context) => {
3158
+ const de_LicenseInfoList = (output, context) => {
3165
3159
  const retVal = (output || [])
3166
3160
  .filter((e) => e != null)
3167
3161
  .map((entry) => {
3168
3162
  if (entry === null) {
3169
3163
  return null;
3170
3164
  }
3171
- return deserializeAws_restJson1LicenseInfo(entry, context);
3165
+ return de_LicenseInfo(entry, context);
3172
3166
  });
3173
3167
  return retVal;
3174
3168
  };
3175
- const deserializeAws_restJson1PackageDependency = (output, context) => {
3169
+ const de_PackageDependency = (output, context) => {
3176
3170
  return {
3177
3171
  dependencyType: (0, smithy_client_1.expectString)(output.dependencyType),
3178
3172
  namespace: (0, smithy_client_1.expectString)(output.namespace),
@@ -3180,69 +3174,67 @@ const deserializeAws_restJson1PackageDependency = (output, context) => {
3180
3174
  versionRequirement: (0, smithy_client_1.expectString)(output.versionRequirement),
3181
3175
  };
3182
3176
  };
3183
- const deserializeAws_restJson1PackageDependencyList = (output, context) => {
3177
+ const de_PackageDependencyList = (output, context) => {
3184
3178
  const retVal = (output || [])
3185
3179
  .filter((e) => e != null)
3186
3180
  .map((entry) => {
3187
3181
  if (entry === null) {
3188
3182
  return null;
3189
3183
  }
3190
- return deserializeAws_restJson1PackageDependency(entry, context);
3184
+ return de_PackageDependency(entry, context);
3191
3185
  });
3192
3186
  return retVal;
3193
3187
  };
3194
- const deserializeAws_restJson1PackageDescription = (output, context) => {
3188
+ const de_PackageDescription = (output, context) => {
3195
3189
  return {
3196
3190
  format: (0, smithy_client_1.expectString)(output.format),
3197
3191
  name: (0, smithy_client_1.expectString)(output.name),
3198
3192
  namespace: (0, smithy_client_1.expectString)(output.namespace),
3199
3193
  originConfiguration: output.originConfiguration != null
3200
- ? deserializeAws_restJson1PackageOriginConfiguration(output.originConfiguration, context)
3194
+ ? de_PackageOriginConfiguration(output.originConfiguration, context)
3201
3195
  : undefined,
3202
3196
  };
3203
3197
  };
3204
- const deserializeAws_restJson1PackageOriginConfiguration = (output, context) => {
3198
+ const de_PackageOriginConfiguration = (output, context) => {
3205
3199
  return {
3206
- restrictions: output.restrictions != null
3207
- ? deserializeAws_restJson1PackageOriginRestrictions(output.restrictions, context)
3208
- : undefined,
3200
+ restrictions: output.restrictions != null ? de_PackageOriginRestrictions(output.restrictions, context) : undefined,
3209
3201
  };
3210
3202
  };
3211
- const deserializeAws_restJson1PackageOriginRestrictions = (output, context) => {
3203
+ const de_PackageOriginRestrictions = (output, context) => {
3212
3204
  return {
3213
3205
  publish: (0, smithy_client_1.expectString)(output.publish),
3214
3206
  upstream: (0, smithy_client_1.expectString)(output.upstream),
3215
3207
  };
3216
3208
  };
3217
- const deserializeAws_restJson1PackageSummary = (output, context) => {
3209
+ const de_PackageSummary = (output, context) => {
3218
3210
  return {
3219
3211
  format: (0, smithy_client_1.expectString)(output.format),
3220
3212
  namespace: (0, smithy_client_1.expectString)(output.namespace),
3221
3213
  originConfiguration: output.originConfiguration != null
3222
- ? deserializeAws_restJson1PackageOriginConfiguration(output.originConfiguration, context)
3214
+ ? de_PackageOriginConfiguration(output.originConfiguration, context)
3223
3215
  : undefined,
3224
3216
  package: (0, smithy_client_1.expectString)(output.package),
3225
3217
  };
3226
3218
  };
3227
- const deserializeAws_restJson1PackageSummaryList = (output, context) => {
3219
+ const de_PackageSummaryList = (output, context) => {
3228
3220
  const retVal = (output || [])
3229
3221
  .filter((e) => e != null)
3230
3222
  .map((entry) => {
3231
3223
  if (entry === null) {
3232
3224
  return null;
3233
3225
  }
3234
- return deserializeAws_restJson1PackageSummary(entry, context);
3226
+ return de_PackageSummary(entry, context);
3235
3227
  });
3236
3228
  return retVal;
3237
3229
  };
3238
- const deserializeAws_restJson1PackageVersionDescription = (output, context) => {
3230
+ const de_PackageVersionDescription = (output, context) => {
3239
3231
  return {
3240
3232
  displayName: (0, smithy_client_1.expectString)(output.displayName),
3241
3233
  format: (0, smithy_client_1.expectString)(output.format),
3242
3234
  homePage: (0, smithy_client_1.expectString)(output.homePage),
3243
- licenses: output.licenses != null ? deserializeAws_restJson1LicenseInfoList(output.licenses, context) : undefined,
3235
+ licenses: output.licenses != null ? de_LicenseInfoList(output.licenses, context) : undefined,
3244
3236
  namespace: (0, smithy_client_1.expectString)(output.namespace),
3245
- origin: output.origin != null ? deserializeAws_restJson1PackageVersionOrigin(output.origin, context) : undefined,
3237
+ origin: output.origin != null ? de_PackageVersionOrigin(output.origin, context) : undefined,
3246
3238
  packageName: (0, smithy_client_1.expectString)(output.packageName),
3247
3239
  publishedTime: output.publishedTime != null
3248
3240
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.publishedTime)))
@@ -3254,49 +3246,47 @@ const deserializeAws_restJson1PackageVersionDescription = (output, context) => {
3254
3246
  version: (0, smithy_client_1.expectString)(output.version),
3255
3247
  };
3256
3248
  };
3257
- const deserializeAws_restJson1PackageVersionError = (output, context) => {
3249
+ const de_PackageVersionError = (output, context) => {
3258
3250
  return {
3259
3251
  errorCode: (0, smithy_client_1.expectString)(output.errorCode),
3260
3252
  errorMessage: (0, smithy_client_1.expectString)(output.errorMessage),
3261
3253
  };
3262
3254
  };
3263
- const deserializeAws_restJson1PackageVersionErrorMap = (output, context) => {
3255
+ const de_PackageVersionErrorMap = (output, context) => {
3264
3256
  return Object.entries(output).reduce((acc, [key, value]) => {
3265
3257
  if (value === null) {
3266
3258
  return acc;
3267
3259
  }
3268
- acc[key] = deserializeAws_restJson1PackageVersionError(value, context);
3260
+ acc[key] = de_PackageVersionError(value, context);
3269
3261
  return acc;
3270
3262
  }, {});
3271
3263
  };
3272
- const deserializeAws_restJson1PackageVersionOrigin = (output, context) => {
3264
+ const de_PackageVersionOrigin = (output, context) => {
3273
3265
  return {
3274
- domainEntryPoint: output.domainEntryPoint != null
3275
- ? deserializeAws_restJson1DomainEntryPoint(output.domainEntryPoint, context)
3276
- : undefined,
3266
+ domainEntryPoint: output.domainEntryPoint != null ? de_DomainEntryPoint(output.domainEntryPoint, context) : undefined,
3277
3267
  originType: (0, smithy_client_1.expectString)(output.originType),
3278
3268
  };
3279
3269
  };
3280
- const deserializeAws_restJson1PackageVersionSummary = (output, context) => {
3270
+ const de_PackageVersionSummary = (output, context) => {
3281
3271
  return {
3282
- origin: output.origin != null ? deserializeAws_restJson1PackageVersionOrigin(output.origin, context) : undefined,
3272
+ origin: output.origin != null ? de_PackageVersionOrigin(output.origin, context) : undefined,
3283
3273
  revision: (0, smithy_client_1.expectString)(output.revision),
3284
3274
  status: (0, smithy_client_1.expectString)(output.status),
3285
3275
  version: (0, smithy_client_1.expectString)(output.version),
3286
3276
  };
3287
3277
  };
3288
- const deserializeAws_restJson1PackageVersionSummaryList = (output, context) => {
3278
+ const de_PackageVersionSummaryList = (output, context) => {
3289
3279
  const retVal = (output || [])
3290
3280
  .filter((e) => e != null)
3291
3281
  .map((entry) => {
3292
3282
  if (entry === null) {
3293
3283
  return null;
3294
3284
  }
3295
- return deserializeAws_restJson1PackageVersionSummary(entry, context);
3285
+ return de_PackageVersionSummary(entry, context);
3296
3286
  });
3297
3287
  return retVal;
3298
3288
  };
3299
- const deserializeAws_restJson1RepositoryDescription = (output, context) => {
3289
+ const de_RepositoryDescription = (output, context) => {
3300
3290
  return {
3301
3291
  administratorAccount: (0, smithy_client_1.expectString)(output.administratorAccount),
3302
3292
  arn: (0, smithy_client_1.expectString)(output.arn),
@@ -3307,33 +3297,31 @@ const deserializeAws_restJson1RepositoryDescription = (output, context) => {
3307
3297
  domainName: (0, smithy_client_1.expectString)(output.domainName),
3308
3298
  domainOwner: (0, smithy_client_1.expectString)(output.domainOwner),
3309
3299
  externalConnections: output.externalConnections != null
3310
- ? deserializeAws_restJson1RepositoryExternalConnectionInfoList(output.externalConnections, context)
3300
+ ? de_RepositoryExternalConnectionInfoList(output.externalConnections, context)
3311
3301
  : undefined,
3312
3302
  name: (0, smithy_client_1.expectString)(output.name),
3313
- upstreams: output.upstreams != null
3314
- ? deserializeAws_restJson1UpstreamRepositoryInfoList(output.upstreams, context)
3315
- : undefined,
3303
+ upstreams: output.upstreams != null ? de_UpstreamRepositoryInfoList(output.upstreams, context) : undefined,
3316
3304
  };
3317
3305
  };
3318
- const deserializeAws_restJson1RepositoryExternalConnectionInfo = (output, context) => {
3306
+ const de_RepositoryExternalConnectionInfo = (output, context) => {
3319
3307
  return {
3320
3308
  externalConnectionName: (0, smithy_client_1.expectString)(output.externalConnectionName),
3321
3309
  packageFormat: (0, smithy_client_1.expectString)(output.packageFormat),
3322
3310
  status: (0, smithy_client_1.expectString)(output.status),
3323
3311
  };
3324
3312
  };
3325
- const deserializeAws_restJson1RepositoryExternalConnectionInfoList = (output, context) => {
3313
+ const de_RepositoryExternalConnectionInfoList = (output, context) => {
3326
3314
  const retVal = (output || [])
3327
3315
  .filter((e) => e != null)
3328
3316
  .map((entry) => {
3329
3317
  if (entry === null) {
3330
3318
  return null;
3331
3319
  }
3332
- return deserializeAws_restJson1RepositoryExternalConnectionInfo(entry, context);
3320
+ return de_RepositoryExternalConnectionInfo(entry, context);
3333
3321
  });
3334
3322
  return retVal;
3335
3323
  };
3336
- const deserializeAws_restJson1RepositorySummary = (output, context) => {
3324
+ const de_RepositorySummary = (output, context) => {
3337
3325
  return {
3338
3326
  administratorAccount: (0, smithy_client_1.expectString)(output.administratorAccount),
3339
3327
  arn: (0, smithy_client_1.expectString)(output.arn),
@@ -3346,69 +3334,69 @@ const deserializeAws_restJson1RepositorySummary = (output, context) => {
3346
3334
  name: (0, smithy_client_1.expectString)(output.name),
3347
3335
  };
3348
3336
  };
3349
- const deserializeAws_restJson1RepositorySummaryList = (output, context) => {
3337
+ const de_RepositorySummaryList = (output, context) => {
3350
3338
  const retVal = (output || [])
3351
3339
  .filter((e) => e != null)
3352
3340
  .map((entry) => {
3353
3341
  if (entry === null) {
3354
3342
  return null;
3355
3343
  }
3356
- return deserializeAws_restJson1RepositorySummary(entry, context);
3344
+ return de_RepositorySummary(entry, context);
3357
3345
  });
3358
3346
  return retVal;
3359
3347
  };
3360
- const deserializeAws_restJson1ResourcePolicy = (output, context) => {
3348
+ const de_ResourcePolicy = (output, context) => {
3361
3349
  return {
3362
3350
  document: (0, smithy_client_1.expectString)(output.document),
3363
3351
  resourceArn: (0, smithy_client_1.expectString)(output.resourceArn),
3364
3352
  revision: (0, smithy_client_1.expectString)(output.revision),
3365
3353
  };
3366
3354
  };
3367
- const deserializeAws_restJson1SuccessfulPackageVersionInfo = (output, context) => {
3355
+ const de_SuccessfulPackageVersionInfo = (output, context) => {
3368
3356
  return {
3369
3357
  revision: (0, smithy_client_1.expectString)(output.revision),
3370
3358
  status: (0, smithy_client_1.expectString)(output.status),
3371
3359
  };
3372
3360
  };
3373
- const deserializeAws_restJson1SuccessfulPackageVersionInfoMap = (output, context) => {
3361
+ const de_SuccessfulPackageVersionInfoMap = (output, context) => {
3374
3362
  return Object.entries(output).reduce((acc, [key, value]) => {
3375
3363
  if (value === null) {
3376
3364
  return acc;
3377
3365
  }
3378
- acc[key] = deserializeAws_restJson1SuccessfulPackageVersionInfo(value, context);
3366
+ acc[key] = de_SuccessfulPackageVersionInfo(value, context);
3379
3367
  return acc;
3380
3368
  }, {});
3381
3369
  };
3382
- const deserializeAws_restJson1Tag = (output, context) => {
3370
+ const de_Tag = (output, context) => {
3383
3371
  return {
3384
3372
  key: (0, smithy_client_1.expectString)(output.key),
3385
3373
  value: (0, smithy_client_1.expectString)(output.value),
3386
3374
  };
3387
3375
  };
3388
- const deserializeAws_restJson1TagList = (output, context) => {
3376
+ const de_TagList = (output, context) => {
3389
3377
  const retVal = (output || [])
3390
3378
  .filter((e) => e != null)
3391
3379
  .map((entry) => {
3392
3380
  if (entry === null) {
3393
3381
  return null;
3394
3382
  }
3395
- return deserializeAws_restJson1Tag(entry, context);
3383
+ return de_Tag(entry, context);
3396
3384
  });
3397
3385
  return retVal;
3398
3386
  };
3399
- const deserializeAws_restJson1UpstreamRepositoryInfo = (output, context) => {
3387
+ const de_UpstreamRepositoryInfo = (output, context) => {
3400
3388
  return {
3401
3389
  repositoryName: (0, smithy_client_1.expectString)(output.repositoryName),
3402
3390
  };
3403
3391
  };
3404
- const deserializeAws_restJson1UpstreamRepositoryInfoList = (output, context) => {
3392
+ const de_UpstreamRepositoryInfoList = (output, context) => {
3405
3393
  const retVal = (output || [])
3406
3394
  .filter((e) => e != null)
3407
3395
  .map((entry) => {
3408
3396
  if (entry === null) {
3409
3397
  return null;
3410
3398
  }
3411
- return deserializeAws_restJson1UpstreamRepositoryInfo(entry, context);
3399
+ return de_UpstreamRepositoryInfo(entry, context);
3412
3400
  });
3413
3401
  return retVal;
3414
3402
  };