@aws-sdk/client-ecr-public 3.303.0 → 3.309.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/commands/BatchCheckLayerAvailabilityCommand.js +2 -2
- package/dist-cjs/commands/BatchDeleteImageCommand.js +2 -2
- package/dist-cjs/commands/CompleteLayerUploadCommand.js +2 -2
- package/dist-cjs/commands/CreateRepositoryCommand.js +2 -2
- package/dist-cjs/commands/DeleteRepositoryCommand.js +2 -2
- package/dist-cjs/commands/DeleteRepositoryPolicyCommand.js +2 -2
- package/dist-cjs/commands/DescribeImageTagsCommand.js +2 -2
- package/dist-cjs/commands/DescribeImagesCommand.js +2 -2
- package/dist-cjs/commands/DescribeRegistriesCommand.js +2 -2
- package/dist-cjs/commands/DescribeRepositoriesCommand.js +2 -2
- package/dist-cjs/commands/GetAuthorizationTokenCommand.js +2 -2
- package/dist-cjs/commands/GetRegistryCatalogDataCommand.js +2 -2
- package/dist-cjs/commands/GetRepositoryCatalogDataCommand.js +2 -2
- package/dist-cjs/commands/GetRepositoryPolicyCommand.js +2 -2
- package/dist-cjs/commands/InitiateLayerUploadCommand.js +2 -2
- package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-cjs/commands/PutImageCommand.js +2 -2
- package/dist-cjs/commands/PutRegistryCatalogDataCommand.js +2 -2
- package/dist-cjs/commands/PutRepositoryCatalogDataCommand.js +2 -2
- package/dist-cjs/commands/SetRepositoryPolicyCommand.js +2 -2
- package/dist-cjs/commands/TagResourceCommand.js +2 -2
- package/dist-cjs/commands/UntagResourceCommand.js +2 -2
- package/dist-cjs/commands/UploadLayerPartCommand.js +2 -2
- package/dist-cjs/protocols/Aws_json1_1.js +509 -529
- package/dist-es/commands/BatchCheckLayerAvailabilityCommand.js +3 -3
- package/dist-es/commands/BatchDeleteImageCommand.js +3 -3
- package/dist-es/commands/CompleteLayerUploadCommand.js +3 -3
- package/dist-es/commands/CreateRepositoryCommand.js +3 -3
- package/dist-es/commands/DeleteRepositoryCommand.js +3 -3
- package/dist-es/commands/DeleteRepositoryPolicyCommand.js +3 -3
- package/dist-es/commands/DescribeImageTagsCommand.js +3 -3
- package/dist-es/commands/DescribeImagesCommand.js +3 -3
- package/dist-es/commands/DescribeRegistriesCommand.js +3 -3
- package/dist-es/commands/DescribeRepositoriesCommand.js +3 -3
- package/dist-es/commands/GetAuthorizationTokenCommand.js +3 -3
- package/dist-es/commands/GetRegistryCatalogDataCommand.js +3 -3
- package/dist-es/commands/GetRepositoryCatalogDataCommand.js +3 -3
- package/dist-es/commands/GetRepositoryPolicyCommand.js +3 -3
- package/dist-es/commands/InitiateLayerUploadCommand.js +3 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-es/commands/PutImageCommand.js +3 -3
- package/dist-es/commands/PutRegistryCatalogDataCommand.js +3 -3
- package/dist-es/commands/PutRepositoryCatalogDataCommand.js +3 -3
- package/dist-es/commands/SetRepositoryPolicyCommand.js +3 -3
- package/dist-es/commands/TagResourceCommand.js +3 -3
- package/dist-es/commands/UntagResourceCommand.js +3 -3
- package/dist-es/commands/UploadLayerPartCommand.js +3 -3
- package/dist-es/protocols/Aws_json1_1.js +462 -482
- package/dist-types/protocols/Aws_json1_1.d.ts +184 -46
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +46 -46
- package/package.json +29 -29
|
@@ -2,227 +2,227 @@ import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
|
2
2
|
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, throwDefaultError, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { ECRPUBLICServiceException as __BaseException } from "../models/ECRPUBLICServiceException";
|
|
4
4
|
import { EmptyUploadException, ImageAlreadyExistsException, ImageDigestDoesNotMatchException, ImageNotFoundException, ImageTagAlreadyExistsException, InvalidLayerException, InvalidLayerPartException, InvalidParameterException, InvalidTagParameterException, LayerAlreadyExistsException, LayerPartTooSmallException, LayersNotFoundException, LimitExceededException, ReferencedImagesNotFoundException, RegistryNotFoundException, RepositoryAlreadyExistsException, RepositoryCatalogDataNotFoundException, RepositoryNotEmptyException, RepositoryNotFoundException, RepositoryPolicyNotFoundException, ServerException, TooManyTagsException, UnsupportedCommandException, UploadNotFoundException, } from "../models/models_0";
|
|
5
|
-
export const
|
|
5
|
+
export const se_BatchCheckLayerAvailabilityCommand = async (input, context) => {
|
|
6
6
|
const headers = {
|
|
7
7
|
"content-type": "application/x-amz-json-1.1",
|
|
8
8
|
"x-amz-target": "SpencerFrontendService.BatchCheckLayerAvailability",
|
|
9
9
|
};
|
|
10
10
|
let body;
|
|
11
|
-
body = JSON.stringify(
|
|
11
|
+
body = JSON.stringify(se_BatchCheckLayerAvailabilityRequest(input, context));
|
|
12
12
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
13
13
|
};
|
|
14
|
-
export const
|
|
14
|
+
export const se_BatchDeleteImageCommand = async (input, context) => {
|
|
15
15
|
const headers = {
|
|
16
16
|
"content-type": "application/x-amz-json-1.1",
|
|
17
17
|
"x-amz-target": "SpencerFrontendService.BatchDeleteImage",
|
|
18
18
|
};
|
|
19
19
|
let body;
|
|
20
|
-
body = JSON.stringify(
|
|
20
|
+
body = JSON.stringify(se_BatchDeleteImageRequest(input, context));
|
|
21
21
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
22
22
|
};
|
|
23
|
-
export const
|
|
23
|
+
export const se_CompleteLayerUploadCommand = async (input, context) => {
|
|
24
24
|
const headers = {
|
|
25
25
|
"content-type": "application/x-amz-json-1.1",
|
|
26
26
|
"x-amz-target": "SpencerFrontendService.CompleteLayerUpload",
|
|
27
27
|
};
|
|
28
28
|
let body;
|
|
29
|
-
body = JSON.stringify(
|
|
29
|
+
body = JSON.stringify(se_CompleteLayerUploadRequest(input, context));
|
|
30
30
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
31
31
|
};
|
|
32
|
-
export const
|
|
32
|
+
export const se_CreateRepositoryCommand = async (input, context) => {
|
|
33
33
|
const headers = {
|
|
34
34
|
"content-type": "application/x-amz-json-1.1",
|
|
35
35
|
"x-amz-target": "SpencerFrontendService.CreateRepository",
|
|
36
36
|
};
|
|
37
37
|
let body;
|
|
38
|
-
body = JSON.stringify(
|
|
38
|
+
body = JSON.stringify(se_CreateRepositoryRequest(input, context));
|
|
39
39
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
40
40
|
};
|
|
41
|
-
export const
|
|
41
|
+
export const se_DeleteRepositoryCommand = async (input, context) => {
|
|
42
42
|
const headers = {
|
|
43
43
|
"content-type": "application/x-amz-json-1.1",
|
|
44
44
|
"x-amz-target": "SpencerFrontendService.DeleteRepository",
|
|
45
45
|
};
|
|
46
46
|
let body;
|
|
47
|
-
body = JSON.stringify(
|
|
47
|
+
body = JSON.stringify(se_DeleteRepositoryRequest(input, context));
|
|
48
48
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
49
49
|
};
|
|
50
|
-
export const
|
|
50
|
+
export const se_DeleteRepositoryPolicyCommand = async (input, context) => {
|
|
51
51
|
const headers = {
|
|
52
52
|
"content-type": "application/x-amz-json-1.1",
|
|
53
53
|
"x-amz-target": "SpencerFrontendService.DeleteRepositoryPolicy",
|
|
54
54
|
};
|
|
55
55
|
let body;
|
|
56
|
-
body = JSON.stringify(
|
|
56
|
+
body = JSON.stringify(se_DeleteRepositoryPolicyRequest(input, context));
|
|
57
57
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
58
58
|
};
|
|
59
|
-
export const
|
|
59
|
+
export const se_DescribeImagesCommand = async (input, context) => {
|
|
60
60
|
const headers = {
|
|
61
61
|
"content-type": "application/x-amz-json-1.1",
|
|
62
62
|
"x-amz-target": "SpencerFrontendService.DescribeImages",
|
|
63
63
|
};
|
|
64
64
|
let body;
|
|
65
|
-
body = JSON.stringify(
|
|
65
|
+
body = JSON.stringify(se_DescribeImagesRequest(input, context));
|
|
66
66
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
67
67
|
};
|
|
68
|
-
export const
|
|
68
|
+
export const se_DescribeImageTagsCommand = async (input, context) => {
|
|
69
69
|
const headers = {
|
|
70
70
|
"content-type": "application/x-amz-json-1.1",
|
|
71
71
|
"x-amz-target": "SpencerFrontendService.DescribeImageTags",
|
|
72
72
|
};
|
|
73
73
|
let body;
|
|
74
|
-
body = JSON.stringify(
|
|
74
|
+
body = JSON.stringify(se_DescribeImageTagsRequest(input, context));
|
|
75
75
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
76
76
|
};
|
|
77
|
-
export const
|
|
77
|
+
export const se_DescribeRegistriesCommand = async (input, context) => {
|
|
78
78
|
const headers = {
|
|
79
79
|
"content-type": "application/x-amz-json-1.1",
|
|
80
80
|
"x-amz-target": "SpencerFrontendService.DescribeRegistries",
|
|
81
81
|
};
|
|
82
82
|
let body;
|
|
83
|
-
body = JSON.stringify(
|
|
83
|
+
body = JSON.stringify(se_DescribeRegistriesRequest(input, context));
|
|
84
84
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
85
85
|
};
|
|
86
|
-
export const
|
|
86
|
+
export const se_DescribeRepositoriesCommand = async (input, context) => {
|
|
87
87
|
const headers = {
|
|
88
88
|
"content-type": "application/x-amz-json-1.1",
|
|
89
89
|
"x-amz-target": "SpencerFrontendService.DescribeRepositories",
|
|
90
90
|
};
|
|
91
91
|
let body;
|
|
92
|
-
body = JSON.stringify(
|
|
92
|
+
body = JSON.stringify(se_DescribeRepositoriesRequest(input, context));
|
|
93
93
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
94
94
|
};
|
|
95
|
-
export const
|
|
95
|
+
export const se_GetAuthorizationTokenCommand = async (input, context) => {
|
|
96
96
|
const headers = {
|
|
97
97
|
"content-type": "application/x-amz-json-1.1",
|
|
98
98
|
"x-amz-target": "SpencerFrontendService.GetAuthorizationToken",
|
|
99
99
|
};
|
|
100
100
|
let body;
|
|
101
|
-
body = JSON.stringify(
|
|
101
|
+
body = JSON.stringify(se_GetAuthorizationTokenRequest(input, context));
|
|
102
102
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
103
103
|
};
|
|
104
|
-
export const
|
|
104
|
+
export const se_GetRegistryCatalogDataCommand = async (input, context) => {
|
|
105
105
|
const headers = {
|
|
106
106
|
"content-type": "application/x-amz-json-1.1",
|
|
107
107
|
"x-amz-target": "SpencerFrontendService.GetRegistryCatalogData",
|
|
108
108
|
};
|
|
109
109
|
let body;
|
|
110
|
-
body = JSON.stringify(
|
|
110
|
+
body = JSON.stringify(se_GetRegistryCatalogDataRequest(input, context));
|
|
111
111
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
112
112
|
};
|
|
113
|
-
export const
|
|
113
|
+
export const se_GetRepositoryCatalogDataCommand = async (input, context) => {
|
|
114
114
|
const headers = {
|
|
115
115
|
"content-type": "application/x-amz-json-1.1",
|
|
116
116
|
"x-amz-target": "SpencerFrontendService.GetRepositoryCatalogData",
|
|
117
117
|
};
|
|
118
118
|
let body;
|
|
119
|
-
body = JSON.stringify(
|
|
119
|
+
body = JSON.stringify(se_GetRepositoryCatalogDataRequest(input, context));
|
|
120
120
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
121
121
|
};
|
|
122
|
-
export const
|
|
122
|
+
export const se_GetRepositoryPolicyCommand = async (input, context) => {
|
|
123
123
|
const headers = {
|
|
124
124
|
"content-type": "application/x-amz-json-1.1",
|
|
125
125
|
"x-amz-target": "SpencerFrontendService.GetRepositoryPolicy",
|
|
126
126
|
};
|
|
127
127
|
let body;
|
|
128
|
-
body = JSON.stringify(
|
|
128
|
+
body = JSON.stringify(se_GetRepositoryPolicyRequest(input, context));
|
|
129
129
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
130
130
|
};
|
|
131
|
-
export const
|
|
131
|
+
export const se_InitiateLayerUploadCommand = async (input, context) => {
|
|
132
132
|
const headers = {
|
|
133
133
|
"content-type": "application/x-amz-json-1.1",
|
|
134
134
|
"x-amz-target": "SpencerFrontendService.InitiateLayerUpload",
|
|
135
135
|
};
|
|
136
136
|
let body;
|
|
137
|
-
body = JSON.stringify(
|
|
137
|
+
body = JSON.stringify(se_InitiateLayerUploadRequest(input, context));
|
|
138
138
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
139
139
|
};
|
|
140
|
-
export const
|
|
140
|
+
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
141
141
|
const headers = {
|
|
142
142
|
"content-type": "application/x-amz-json-1.1",
|
|
143
143
|
"x-amz-target": "SpencerFrontendService.ListTagsForResource",
|
|
144
144
|
};
|
|
145
145
|
let body;
|
|
146
|
-
body = JSON.stringify(
|
|
146
|
+
body = JSON.stringify(se_ListTagsForResourceRequest(input, context));
|
|
147
147
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
148
148
|
};
|
|
149
|
-
export const
|
|
149
|
+
export const se_PutImageCommand = async (input, context) => {
|
|
150
150
|
const headers = {
|
|
151
151
|
"content-type": "application/x-amz-json-1.1",
|
|
152
152
|
"x-amz-target": "SpencerFrontendService.PutImage",
|
|
153
153
|
};
|
|
154
154
|
let body;
|
|
155
|
-
body = JSON.stringify(
|
|
155
|
+
body = JSON.stringify(se_PutImageRequest(input, context));
|
|
156
156
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
157
157
|
};
|
|
158
|
-
export const
|
|
158
|
+
export const se_PutRegistryCatalogDataCommand = async (input, context) => {
|
|
159
159
|
const headers = {
|
|
160
160
|
"content-type": "application/x-amz-json-1.1",
|
|
161
161
|
"x-amz-target": "SpencerFrontendService.PutRegistryCatalogData",
|
|
162
162
|
};
|
|
163
163
|
let body;
|
|
164
|
-
body = JSON.stringify(
|
|
164
|
+
body = JSON.stringify(se_PutRegistryCatalogDataRequest(input, context));
|
|
165
165
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
166
166
|
};
|
|
167
|
-
export const
|
|
167
|
+
export const se_PutRepositoryCatalogDataCommand = async (input, context) => {
|
|
168
168
|
const headers = {
|
|
169
169
|
"content-type": "application/x-amz-json-1.1",
|
|
170
170
|
"x-amz-target": "SpencerFrontendService.PutRepositoryCatalogData",
|
|
171
171
|
};
|
|
172
172
|
let body;
|
|
173
|
-
body = JSON.stringify(
|
|
173
|
+
body = JSON.stringify(se_PutRepositoryCatalogDataRequest(input, context));
|
|
174
174
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
175
175
|
};
|
|
176
|
-
export const
|
|
176
|
+
export const se_SetRepositoryPolicyCommand = async (input, context) => {
|
|
177
177
|
const headers = {
|
|
178
178
|
"content-type": "application/x-amz-json-1.1",
|
|
179
179
|
"x-amz-target": "SpencerFrontendService.SetRepositoryPolicy",
|
|
180
180
|
};
|
|
181
181
|
let body;
|
|
182
|
-
body = JSON.stringify(
|
|
182
|
+
body = JSON.stringify(se_SetRepositoryPolicyRequest(input, context));
|
|
183
183
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
184
184
|
};
|
|
185
|
-
export const
|
|
185
|
+
export const se_TagResourceCommand = async (input, context) => {
|
|
186
186
|
const headers = {
|
|
187
187
|
"content-type": "application/x-amz-json-1.1",
|
|
188
188
|
"x-amz-target": "SpencerFrontendService.TagResource",
|
|
189
189
|
};
|
|
190
190
|
let body;
|
|
191
|
-
body = JSON.stringify(
|
|
191
|
+
body = JSON.stringify(se_TagResourceRequest(input, context));
|
|
192
192
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
193
193
|
};
|
|
194
|
-
export const
|
|
194
|
+
export const se_UntagResourceCommand = async (input, context) => {
|
|
195
195
|
const headers = {
|
|
196
196
|
"content-type": "application/x-amz-json-1.1",
|
|
197
197
|
"x-amz-target": "SpencerFrontendService.UntagResource",
|
|
198
198
|
};
|
|
199
199
|
let body;
|
|
200
|
-
body = JSON.stringify(
|
|
200
|
+
body = JSON.stringify(se_UntagResourceRequest(input, context));
|
|
201
201
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
202
202
|
};
|
|
203
|
-
export const
|
|
203
|
+
export const se_UploadLayerPartCommand = async (input, context) => {
|
|
204
204
|
const headers = {
|
|
205
205
|
"content-type": "application/x-amz-json-1.1",
|
|
206
206
|
"x-amz-target": "SpencerFrontendService.UploadLayerPart",
|
|
207
207
|
};
|
|
208
208
|
let body;
|
|
209
|
-
body = JSON.stringify(
|
|
209
|
+
body = JSON.stringify(se_UploadLayerPartRequest(input, context));
|
|
210
210
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
211
211
|
};
|
|
212
|
-
export const
|
|
212
|
+
export const de_BatchCheckLayerAvailabilityCommand = async (output, context) => {
|
|
213
213
|
if (output.statusCode >= 300) {
|
|
214
|
-
return
|
|
214
|
+
return de_BatchCheckLayerAvailabilityCommandError(output, context);
|
|
215
215
|
}
|
|
216
216
|
const data = await parseBody(output.body, context);
|
|
217
217
|
let contents = {};
|
|
218
|
-
contents =
|
|
218
|
+
contents = de_BatchCheckLayerAvailabilityResponse(data, context);
|
|
219
219
|
const response = {
|
|
220
220
|
$metadata: deserializeMetadata(output),
|
|
221
221
|
...contents,
|
|
222
222
|
};
|
|
223
223
|
return Promise.resolve(response);
|
|
224
224
|
};
|
|
225
|
-
const
|
|
225
|
+
const de_BatchCheckLayerAvailabilityCommandError = async (output, context) => {
|
|
226
226
|
const parsedOutput = {
|
|
227
227
|
...output,
|
|
228
228
|
body: await parseErrorBody(output.body, context),
|
|
@@ -231,19 +231,19 @@ const deserializeAws_json1_1BatchCheckLayerAvailabilityCommandError = async (out
|
|
|
231
231
|
switch (errorCode) {
|
|
232
232
|
case "InvalidParameterException":
|
|
233
233
|
case "com.amazonaws.ecrpublic#InvalidParameterException":
|
|
234
|
-
throw await
|
|
234
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
235
235
|
case "RegistryNotFoundException":
|
|
236
236
|
case "com.amazonaws.ecrpublic#RegistryNotFoundException":
|
|
237
|
-
throw await
|
|
237
|
+
throw await de_RegistryNotFoundExceptionRes(parsedOutput, context);
|
|
238
238
|
case "RepositoryNotFoundException":
|
|
239
239
|
case "com.amazonaws.ecrpublic#RepositoryNotFoundException":
|
|
240
|
-
throw await
|
|
240
|
+
throw await de_RepositoryNotFoundExceptionRes(parsedOutput, context);
|
|
241
241
|
case "ServerException":
|
|
242
242
|
case "com.amazonaws.ecrpublic#ServerException":
|
|
243
|
-
throw await
|
|
243
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
244
244
|
case "UnsupportedCommandException":
|
|
245
245
|
case "com.amazonaws.ecrpublic#UnsupportedCommandException":
|
|
246
|
-
throw await
|
|
246
|
+
throw await de_UnsupportedCommandExceptionRes(parsedOutput, context);
|
|
247
247
|
default:
|
|
248
248
|
const parsedBody = parsedOutput.body;
|
|
249
249
|
throwDefaultError({
|
|
@@ -254,20 +254,20 @@ const deserializeAws_json1_1BatchCheckLayerAvailabilityCommandError = async (out
|
|
|
254
254
|
});
|
|
255
255
|
}
|
|
256
256
|
};
|
|
257
|
-
export const
|
|
257
|
+
export const de_BatchDeleteImageCommand = async (output, context) => {
|
|
258
258
|
if (output.statusCode >= 300) {
|
|
259
|
-
return
|
|
259
|
+
return de_BatchDeleteImageCommandError(output, context);
|
|
260
260
|
}
|
|
261
261
|
const data = await parseBody(output.body, context);
|
|
262
262
|
let contents = {};
|
|
263
|
-
contents =
|
|
263
|
+
contents = de_BatchDeleteImageResponse(data, context);
|
|
264
264
|
const response = {
|
|
265
265
|
$metadata: deserializeMetadata(output),
|
|
266
266
|
...contents,
|
|
267
267
|
};
|
|
268
268
|
return Promise.resolve(response);
|
|
269
269
|
};
|
|
270
|
-
const
|
|
270
|
+
const de_BatchDeleteImageCommandError = async (output, context) => {
|
|
271
271
|
const parsedOutput = {
|
|
272
272
|
...output,
|
|
273
273
|
body: await parseErrorBody(output.body, context),
|
|
@@ -276,16 +276,16 @@ const deserializeAws_json1_1BatchDeleteImageCommandError = async (output, contex
|
|
|
276
276
|
switch (errorCode) {
|
|
277
277
|
case "InvalidParameterException":
|
|
278
278
|
case "com.amazonaws.ecrpublic#InvalidParameterException":
|
|
279
|
-
throw await
|
|
279
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
280
280
|
case "RepositoryNotFoundException":
|
|
281
281
|
case "com.amazonaws.ecrpublic#RepositoryNotFoundException":
|
|
282
|
-
throw await
|
|
282
|
+
throw await de_RepositoryNotFoundExceptionRes(parsedOutput, context);
|
|
283
283
|
case "ServerException":
|
|
284
284
|
case "com.amazonaws.ecrpublic#ServerException":
|
|
285
|
-
throw await
|
|
285
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
286
286
|
case "UnsupportedCommandException":
|
|
287
287
|
case "com.amazonaws.ecrpublic#UnsupportedCommandException":
|
|
288
|
-
throw await
|
|
288
|
+
throw await de_UnsupportedCommandExceptionRes(parsedOutput, context);
|
|
289
289
|
default:
|
|
290
290
|
const parsedBody = parsedOutput.body;
|
|
291
291
|
throwDefaultError({
|
|
@@ -296,20 +296,20 @@ const deserializeAws_json1_1BatchDeleteImageCommandError = async (output, contex
|
|
|
296
296
|
});
|
|
297
297
|
}
|
|
298
298
|
};
|
|
299
|
-
export const
|
|
299
|
+
export const de_CompleteLayerUploadCommand = async (output, context) => {
|
|
300
300
|
if (output.statusCode >= 300) {
|
|
301
|
-
return
|
|
301
|
+
return de_CompleteLayerUploadCommandError(output, context);
|
|
302
302
|
}
|
|
303
303
|
const data = await parseBody(output.body, context);
|
|
304
304
|
let contents = {};
|
|
305
|
-
contents =
|
|
305
|
+
contents = de_CompleteLayerUploadResponse(data, context);
|
|
306
306
|
const response = {
|
|
307
307
|
$metadata: deserializeMetadata(output),
|
|
308
308
|
...contents,
|
|
309
309
|
};
|
|
310
310
|
return Promise.resolve(response);
|
|
311
311
|
};
|
|
312
|
-
const
|
|
312
|
+
const de_CompleteLayerUploadCommandError = async (output, context) => {
|
|
313
313
|
const parsedOutput = {
|
|
314
314
|
...output,
|
|
315
315
|
body: await parseErrorBody(output.body, context),
|
|
@@ -318,34 +318,34 @@ const deserializeAws_json1_1CompleteLayerUploadCommandError = async (output, con
|
|
|
318
318
|
switch (errorCode) {
|
|
319
319
|
case "EmptyUploadException":
|
|
320
320
|
case "com.amazonaws.ecrpublic#EmptyUploadException":
|
|
321
|
-
throw await
|
|
321
|
+
throw await de_EmptyUploadExceptionRes(parsedOutput, context);
|
|
322
322
|
case "InvalidLayerException":
|
|
323
323
|
case "com.amazonaws.ecrpublic#InvalidLayerException":
|
|
324
|
-
throw await
|
|
324
|
+
throw await de_InvalidLayerExceptionRes(parsedOutput, context);
|
|
325
325
|
case "InvalidParameterException":
|
|
326
326
|
case "com.amazonaws.ecrpublic#InvalidParameterException":
|
|
327
|
-
throw await
|
|
327
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
328
328
|
case "LayerAlreadyExistsException":
|
|
329
329
|
case "com.amazonaws.ecrpublic#LayerAlreadyExistsException":
|
|
330
|
-
throw await
|
|
330
|
+
throw await de_LayerAlreadyExistsExceptionRes(parsedOutput, context);
|
|
331
331
|
case "LayerPartTooSmallException":
|
|
332
332
|
case "com.amazonaws.ecrpublic#LayerPartTooSmallException":
|
|
333
|
-
throw await
|
|
333
|
+
throw await de_LayerPartTooSmallExceptionRes(parsedOutput, context);
|
|
334
334
|
case "RegistryNotFoundException":
|
|
335
335
|
case "com.amazonaws.ecrpublic#RegistryNotFoundException":
|
|
336
|
-
throw await
|
|
336
|
+
throw await de_RegistryNotFoundExceptionRes(parsedOutput, context);
|
|
337
337
|
case "RepositoryNotFoundException":
|
|
338
338
|
case "com.amazonaws.ecrpublic#RepositoryNotFoundException":
|
|
339
|
-
throw await
|
|
339
|
+
throw await de_RepositoryNotFoundExceptionRes(parsedOutput, context);
|
|
340
340
|
case "ServerException":
|
|
341
341
|
case "com.amazonaws.ecrpublic#ServerException":
|
|
342
|
-
throw await
|
|
342
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
343
343
|
case "UnsupportedCommandException":
|
|
344
344
|
case "com.amazonaws.ecrpublic#UnsupportedCommandException":
|
|
345
|
-
throw await
|
|
345
|
+
throw await de_UnsupportedCommandExceptionRes(parsedOutput, context);
|
|
346
346
|
case "UploadNotFoundException":
|
|
347
347
|
case "com.amazonaws.ecrpublic#UploadNotFoundException":
|
|
348
|
-
throw await
|
|
348
|
+
throw await de_UploadNotFoundExceptionRes(parsedOutput, context);
|
|
349
349
|
default:
|
|
350
350
|
const parsedBody = parsedOutput.body;
|
|
351
351
|
throwDefaultError({
|
|
@@ -356,20 +356,20 @@ const deserializeAws_json1_1CompleteLayerUploadCommandError = async (output, con
|
|
|
356
356
|
});
|
|
357
357
|
}
|
|
358
358
|
};
|
|
359
|
-
export const
|
|
359
|
+
export const de_CreateRepositoryCommand = async (output, context) => {
|
|
360
360
|
if (output.statusCode >= 300) {
|
|
361
|
-
return
|
|
361
|
+
return de_CreateRepositoryCommandError(output, context);
|
|
362
362
|
}
|
|
363
363
|
const data = await parseBody(output.body, context);
|
|
364
364
|
let contents = {};
|
|
365
|
-
contents =
|
|
365
|
+
contents = de_CreateRepositoryResponse(data, context);
|
|
366
366
|
const response = {
|
|
367
367
|
$metadata: deserializeMetadata(output),
|
|
368
368
|
...contents,
|
|
369
369
|
};
|
|
370
370
|
return Promise.resolve(response);
|
|
371
371
|
};
|
|
372
|
-
const
|
|
372
|
+
const de_CreateRepositoryCommandError = async (output, context) => {
|
|
373
373
|
const parsedOutput = {
|
|
374
374
|
...output,
|
|
375
375
|
body: await parseErrorBody(output.body, context),
|
|
@@ -378,25 +378,25 @@ const deserializeAws_json1_1CreateRepositoryCommandError = async (output, contex
|
|
|
378
378
|
switch (errorCode) {
|
|
379
379
|
case "InvalidParameterException":
|
|
380
380
|
case "com.amazonaws.ecrpublic#InvalidParameterException":
|
|
381
|
-
throw await
|
|
381
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
382
382
|
case "InvalidTagParameterException":
|
|
383
383
|
case "com.amazonaws.ecrpublic#InvalidTagParameterException":
|
|
384
|
-
throw await
|
|
384
|
+
throw await de_InvalidTagParameterExceptionRes(parsedOutput, context);
|
|
385
385
|
case "LimitExceededException":
|
|
386
386
|
case "com.amazonaws.ecrpublic#LimitExceededException":
|
|
387
|
-
throw await
|
|
387
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
388
388
|
case "RepositoryAlreadyExistsException":
|
|
389
389
|
case "com.amazonaws.ecrpublic#RepositoryAlreadyExistsException":
|
|
390
|
-
throw await
|
|
390
|
+
throw await de_RepositoryAlreadyExistsExceptionRes(parsedOutput, context);
|
|
391
391
|
case "ServerException":
|
|
392
392
|
case "com.amazonaws.ecrpublic#ServerException":
|
|
393
|
-
throw await
|
|
393
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
394
394
|
case "TooManyTagsException":
|
|
395
395
|
case "com.amazonaws.ecrpublic#TooManyTagsException":
|
|
396
|
-
throw await
|
|
396
|
+
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
397
397
|
case "UnsupportedCommandException":
|
|
398
398
|
case "com.amazonaws.ecrpublic#UnsupportedCommandException":
|
|
399
|
-
throw await
|
|
399
|
+
throw await de_UnsupportedCommandExceptionRes(parsedOutput, context);
|
|
400
400
|
default:
|
|
401
401
|
const parsedBody = parsedOutput.body;
|
|
402
402
|
throwDefaultError({
|
|
@@ -407,20 +407,20 @@ const deserializeAws_json1_1CreateRepositoryCommandError = async (output, contex
|
|
|
407
407
|
});
|
|
408
408
|
}
|
|
409
409
|
};
|
|
410
|
-
export const
|
|
410
|
+
export const de_DeleteRepositoryCommand = async (output, context) => {
|
|
411
411
|
if (output.statusCode >= 300) {
|
|
412
|
-
return
|
|
412
|
+
return de_DeleteRepositoryCommandError(output, context);
|
|
413
413
|
}
|
|
414
414
|
const data = await parseBody(output.body, context);
|
|
415
415
|
let contents = {};
|
|
416
|
-
contents =
|
|
416
|
+
contents = de_DeleteRepositoryResponse(data, context);
|
|
417
417
|
const response = {
|
|
418
418
|
$metadata: deserializeMetadata(output),
|
|
419
419
|
...contents,
|
|
420
420
|
};
|
|
421
421
|
return Promise.resolve(response);
|
|
422
422
|
};
|
|
423
|
-
const
|
|
423
|
+
const de_DeleteRepositoryCommandError = async (output, context) => {
|
|
424
424
|
const parsedOutput = {
|
|
425
425
|
...output,
|
|
426
426
|
body: await parseErrorBody(output.body, context),
|
|
@@ -429,19 +429,19 @@ const deserializeAws_json1_1DeleteRepositoryCommandError = async (output, contex
|
|
|
429
429
|
switch (errorCode) {
|
|
430
430
|
case "InvalidParameterException":
|
|
431
431
|
case "com.amazonaws.ecrpublic#InvalidParameterException":
|
|
432
|
-
throw await
|
|
432
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
433
433
|
case "RepositoryNotEmptyException":
|
|
434
434
|
case "com.amazonaws.ecrpublic#RepositoryNotEmptyException":
|
|
435
|
-
throw await
|
|
435
|
+
throw await de_RepositoryNotEmptyExceptionRes(parsedOutput, context);
|
|
436
436
|
case "RepositoryNotFoundException":
|
|
437
437
|
case "com.amazonaws.ecrpublic#RepositoryNotFoundException":
|
|
438
|
-
throw await
|
|
438
|
+
throw await de_RepositoryNotFoundExceptionRes(parsedOutput, context);
|
|
439
439
|
case "ServerException":
|
|
440
440
|
case "com.amazonaws.ecrpublic#ServerException":
|
|
441
|
-
throw await
|
|
441
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
442
442
|
case "UnsupportedCommandException":
|
|
443
443
|
case "com.amazonaws.ecrpublic#UnsupportedCommandException":
|
|
444
|
-
throw await
|
|
444
|
+
throw await de_UnsupportedCommandExceptionRes(parsedOutput, context);
|
|
445
445
|
default:
|
|
446
446
|
const parsedBody = parsedOutput.body;
|
|
447
447
|
throwDefaultError({
|
|
@@ -452,20 +452,20 @@ const deserializeAws_json1_1DeleteRepositoryCommandError = async (output, contex
|
|
|
452
452
|
});
|
|
453
453
|
}
|
|
454
454
|
};
|
|
455
|
-
export const
|
|
455
|
+
export const de_DeleteRepositoryPolicyCommand = async (output, context) => {
|
|
456
456
|
if (output.statusCode >= 300) {
|
|
457
|
-
return
|
|
457
|
+
return de_DeleteRepositoryPolicyCommandError(output, context);
|
|
458
458
|
}
|
|
459
459
|
const data = await parseBody(output.body, context);
|
|
460
460
|
let contents = {};
|
|
461
|
-
contents =
|
|
461
|
+
contents = de_DeleteRepositoryPolicyResponse(data, context);
|
|
462
462
|
const response = {
|
|
463
463
|
$metadata: deserializeMetadata(output),
|
|
464
464
|
...contents,
|
|
465
465
|
};
|
|
466
466
|
return Promise.resolve(response);
|
|
467
467
|
};
|
|
468
|
-
const
|
|
468
|
+
const de_DeleteRepositoryPolicyCommandError = async (output, context) => {
|
|
469
469
|
const parsedOutput = {
|
|
470
470
|
...output,
|
|
471
471
|
body: await parseErrorBody(output.body, context),
|
|
@@ -474,19 +474,19 @@ const deserializeAws_json1_1DeleteRepositoryPolicyCommandError = async (output,
|
|
|
474
474
|
switch (errorCode) {
|
|
475
475
|
case "InvalidParameterException":
|
|
476
476
|
case "com.amazonaws.ecrpublic#InvalidParameterException":
|
|
477
|
-
throw await
|
|
477
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
478
478
|
case "RepositoryNotFoundException":
|
|
479
479
|
case "com.amazonaws.ecrpublic#RepositoryNotFoundException":
|
|
480
|
-
throw await
|
|
480
|
+
throw await de_RepositoryNotFoundExceptionRes(parsedOutput, context);
|
|
481
481
|
case "RepositoryPolicyNotFoundException":
|
|
482
482
|
case "com.amazonaws.ecrpublic#RepositoryPolicyNotFoundException":
|
|
483
|
-
throw await
|
|
483
|
+
throw await de_RepositoryPolicyNotFoundExceptionRes(parsedOutput, context);
|
|
484
484
|
case "ServerException":
|
|
485
485
|
case "com.amazonaws.ecrpublic#ServerException":
|
|
486
|
-
throw await
|
|
486
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
487
487
|
case "UnsupportedCommandException":
|
|
488
488
|
case "com.amazonaws.ecrpublic#UnsupportedCommandException":
|
|
489
|
-
throw await
|
|
489
|
+
throw await de_UnsupportedCommandExceptionRes(parsedOutput, context);
|
|
490
490
|
default:
|
|
491
491
|
const parsedBody = parsedOutput.body;
|
|
492
492
|
throwDefaultError({
|
|
@@ -497,20 +497,20 @@ const deserializeAws_json1_1DeleteRepositoryPolicyCommandError = async (output,
|
|
|
497
497
|
});
|
|
498
498
|
}
|
|
499
499
|
};
|
|
500
|
-
export const
|
|
500
|
+
export const de_DescribeImagesCommand = async (output, context) => {
|
|
501
501
|
if (output.statusCode >= 300) {
|
|
502
|
-
return
|
|
502
|
+
return de_DescribeImagesCommandError(output, context);
|
|
503
503
|
}
|
|
504
504
|
const data = await parseBody(output.body, context);
|
|
505
505
|
let contents = {};
|
|
506
|
-
contents =
|
|
506
|
+
contents = de_DescribeImagesResponse(data, context);
|
|
507
507
|
const response = {
|
|
508
508
|
$metadata: deserializeMetadata(output),
|
|
509
509
|
...contents,
|
|
510
510
|
};
|
|
511
511
|
return Promise.resolve(response);
|
|
512
512
|
};
|
|
513
|
-
const
|
|
513
|
+
const de_DescribeImagesCommandError = async (output, context) => {
|
|
514
514
|
const parsedOutput = {
|
|
515
515
|
...output,
|
|
516
516
|
body: await parseErrorBody(output.body, context),
|
|
@@ -519,19 +519,19 @@ const deserializeAws_json1_1DescribeImagesCommandError = async (output, context)
|
|
|
519
519
|
switch (errorCode) {
|
|
520
520
|
case "ImageNotFoundException":
|
|
521
521
|
case "com.amazonaws.ecrpublic#ImageNotFoundException":
|
|
522
|
-
throw await
|
|
522
|
+
throw await de_ImageNotFoundExceptionRes(parsedOutput, context);
|
|
523
523
|
case "InvalidParameterException":
|
|
524
524
|
case "com.amazonaws.ecrpublic#InvalidParameterException":
|
|
525
|
-
throw await
|
|
525
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
526
526
|
case "RepositoryNotFoundException":
|
|
527
527
|
case "com.amazonaws.ecrpublic#RepositoryNotFoundException":
|
|
528
|
-
throw await
|
|
528
|
+
throw await de_RepositoryNotFoundExceptionRes(parsedOutput, context);
|
|
529
529
|
case "ServerException":
|
|
530
530
|
case "com.amazonaws.ecrpublic#ServerException":
|
|
531
|
-
throw await
|
|
531
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
532
532
|
case "UnsupportedCommandException":
|
|
533
533
|
case "com.amazonaws.ecrpublic#UnsupportedCommandException":
|
|
534
|
-
throw await
|
|
534
|
+
throw await de_UnsupportedCommandExceptionRes(parsedOutput, context);
|
|
535
535
|
default:
|
|
536
536
|
const parsedBody = parsedOutput.body;
|
|
537
537
|
throwDefaultError({
|
|
@@ -542,20 +542,20 @@ const deserializeAws_json1_1DescribeImagesCommandError = async (output, context)
|
|
|
542
542
|
});
|
|
543
543
|
}
|
|
544
544
|
};
|
|
545
|
-
export const
|
|
545
|
+
export const de_DescribeImageTagsCommand = async (output, context) => {
|
|
546
546
|
if (output.statusCode >= 300) {
|
|
547
|
-
return
|
|
547
|
+
return de_DescribeImageTagsCommandError(output, context);
|
|
548
548
|
}
|
|
549
549
|
const data = await parseBody(output.body, context);
|
|
550
550
|
let contents = {};
|
|
551
|
-
contents =
|
|
551
|
+
contents = de_DescribeImageTagsResponse(data, context);
|
|
552
552
|
const response = {
|
|
553
553
|
$metadata: deserializeMetadata(output),
|
|
554
554
|
...contents,
|
|
555
555
|
};
|
|
556
556
|
return Promise.resolve(response);
|
|
557
557
|
};
|
|
558
|
-
const
|
|
558
|
+
const de_DescribeImageTagsCommandError = async (output, context) => {
|
|
559
559
|
const parsedOutput = {
|
|
560
560
|
...output,
|
|
561
561
|
body: await parseErrorBody(output.body, context),
|
|
@@ -564,16 +564,16 @@ const deserializeAws_json1_1DescribeImageTagsCommandError = async (output, conte
|
|
|
564
564
|
switch (errorCode) {
|
|
565
565
|
case "InvalidParameterException":
|
|
566
566
|
case "com.amazonaws.ecrpublic#InvalidParameterException":
|
|
567
|
-
throw await
|
|
567
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
568
568
|
case "RepositoryNotFoundException":
|
|
569
569
|
case "com.amazonaws.ecrpublic#RepositoryNotFoundException":
|
|
570
|
-
throw await
|
|
570
|
+
throw await de_RepositoryNotFoundExceptionRes(parsedOutput, context);
|
|
571
571
|
case "ServerException":
|
|
572
572
|
case "com.amazonaws.ecrpublic#ServerException":
|
|
573
|
-
throw await
|
|
573
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
574
574
|
case "UnsupportedCommandException":
|
|
575
575
|
case "com.amazonaws.ecrpublic#UnsupportedCommandException":
|
|
576
|
-
throw await
|
|
576
|
+
throw await de_UnsupportedCommandExceptionRes(parsedOutput, context);
|
|
577
577
|
default:
|
|
578
578
|
const parsedBody = parsedOutput.body;
|
|
579
579
|
throwDefaultError({
|
|
@@ -584,20 +584,20 @@ const deserializeAws_json1_1DescribeImageTagsCommandError = async (output, conte
|
|
|
584
584
|
});
|
|
585
585
|
}
|
|
586
586
|
};
|
|
587
|
-
export const
|
|
587
|
+
export const de_DescribeRegistriesCommand = async (output, context) => {
|
|
588
588
|
if (output.statusCode >= 300) {
|
|
589
|
-
return
|
|
589
|
+
return de_DescribeRegistriesCommandError(output, context);
|
|
590
590
|
}
|
|
591
591
|
const data = await parseBody(output.body, context);
|
|
592
592
|
let contents = {};
|
|
593
|
-
contents =
|
|
593
|
+
contents = de_DescribeRegistriesResponse(data, context);
|
|
594
594
|
const response = {
|
|
595
595
|
$metadata: deserializeMetadata(output),
|
|
596
596
|
...contents,
|
|
597
597
|
};
|
|
598
598
|
return Promise.resolve(response);
|
|
599
599
|
};
|
|
600
|
-
const
|
|
600
|
+
const de_DescribeRegistriesCommandError = async (output, context) => {
|
|
601
601
|
const parsedOutput = {
|
|
602
602
|
...output,
|
|
603
603
|
body: await parseErrorBody(output.body, context),
|
|
@@ -606,13 +606,13 @@ const deserializeAws_json1_1DescribeRegistriesCommandError = async (output, cont
|
|
|
606
606
|
switch (errorCode) {
|
|
607
607
|
case "InvalidParameterException":
|
|
608
608
|
case "com.amazonaws.ecrpublic#InvalidParameterException":
|
|
609
|
-
throw await
|
|
609
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
610
610
|
case "ServerException":
|
|
611
611
|
case "com.amazonaws.ecrpublic#ServerException":
|
|
612
|
-
throw await
|
|
612
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
613
613
|
case "UnsupportedCommandException":
|
|
614
614
|
case "com.amazonaws.ecrpublic#UnsupportedCommandException":
|
|
615
|
-
throw await
|
|
615
|
+
throw await de_UnsupportedCommandExceptionRes(parsedOutput, context);
|
|
616
616
|
default:
|
|
617
617
|
const parsedBody = parsedOutput.body;
|
|
618
618
|
throwDefaultError({
|
|
@@ -623,20 +623,20 @@ const deserializeAws_json1_1DescribeRegistriesCommandError = async (output, cont
|
|
|
623
623
|
});
|
|
624
624
|
}
|
|
625
625
|
};
|
|
626
|
-
export const
|
|
626
|
+
export const de_DescribeRepositoriesCommand = async (output, context) => {
|
|
627
627
|
if (output.statusCode >= 300) {
|
|
628
|
-
return
|
|
628
|
+
return de_DescribeRepositoriesCommandError(output, context);
|
|
629
629
|
}
|
|
630
630
|
const data = await parseBody(output.body, context);
|
|
631
631
|
let contents = {};
|
|
632
|
-
contents =
|
|
632
|
+
contents = de_DescribeRepositoriesResponse(data, context);
|
|
633
633
|
const response = {
|
|
634
634
|
$metadata: deserializeMetadata(output),
|
|
635
635
|
...contents,
|
|
636
636
|
};
|
|
637
637
|
return Promise.resolve(response);
|
|
638
638
|
};
|
|
639
|
-
const
|
|
639
|
+
const de_DescribeRepositoriesCommandError = async (output, context) => {
|
|
640
640
|
const parsedOutput = {
|
|
641
641
|
...output,
|
|
642
642
|
body: await parseErrorBody(output.body, context),
|
|
@@ -645,16 +645,16 @@ const deserializeAws_json1_1DescribeRepositoriesCommandError = async (output, co
|
|
|
645
645
|
switch (errorCode) {
|
|
646
646
|
case "InvalidParameterException":
|
|
647
647
|
case "com.amazonaws.ecrpublic#InvalidParameterException":
|
|
648
|
-
throw await
|
|
648
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
649
649
|
case "RepositoryNotFoundException":
|
|
650
650
|
case "com.amazonaws.ecrpublic#RepositoryNotFoundException":
|
|
651
|
-
throw await
|
|
651
|
+
throw await de_RepositoryNotFoundExceptionRes(parsedOutput, context);
|
|
652
652
|
case "ServerException":
|
|
653
653
|
case "com.amazonaws.ecrpublic#ServerException":
|
|
654
|
-
throw await
|
|
654
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
655
655
|
case "UnsupportedCommandException":
|
|
656
656
|
case "com.amazonaws.ecrpublic#UnsupportedCommandException":
|
|
657
|
-
throw await
|
|
657
|
+
throw await de_UnsupportedCommandExceptionRes(parsedOutput, context);
|
|
658
658
|
default:
|
|
659
659
|
const parsedBody = parsedOutput.body;
|
|
660
660
|
throwDefaultError({
|
|
@@ -665,20 +665,20 @@ const deserializeAws_json1_1DescribeRepositoriesCommandError = async (output, co
|
|
|
665
665
|
});
|
|
666
666
|
}
|
|
667
667
|
};
|
|
668
|
-
export const
|
|
668
|
+
export const de_GetAuthorizationTokenCommand = async (output, context) => {
|
|
669
669
|
if (output.statusCode >= 300) {
|
|
670
|
-
return
|
|
670
|
+
return de_GetAuthorizationTokenCommandError(output, context);
|
|
671
671
|
}
|
|
672
672
|
const data = await parseBody(output.body, context);
|
|
673
673
|
let contents = {};
|
|
674
|
-
contents =
|
|
674
|
+
contents = de_GetAuthorizationTokenResponse(data, context);
|
|
675
675
|
const response = {
|
|
676
676
|
$metadata: deserializeMetadata(output),
|
|
677
677
|
...contents,
|
|
678
678
|
};
|
|
679
679
|
return Promise.resolve(response);
|
|
680
680
|
};
|
|
681
|
-
const
|
|
681
|
+
const de_GetAuthorizationTokenCommandError = async (output, context) => {
|
|
682
682
|
const parsedOutput = {
|
|
683
683
|
...output,
|
|
684
684
|
body: await parseErrorBody(output.body, context),
|
|
@@ -687,13 +687,13 @@ const deserializeAws_json1_1GetAuthorizationTokenCommandError = async (output, c
|
|
|
687
687
|
switch (errorCode) {
|
|
688
688
|
case "InvalidParameterException":
|
|
689
689
|
case "com.amazonaws.ecrpublic#InvalidParameterException":
|
|
690
|
-
throw await
|
|
690
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
691
691
|
case "ServerException":
|
|
692
692
|
case "com.amazonaws.ecrpublic#ServerException":
|
|
693
|
-
throw await
|
|
693
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
694
694
|
case "UnsupportedCommandException":
|
|
695
695
|
case "com.amazonaws.ecrpublic#UnsupportedCommandException":
|
|
696
|
-
throw await
|
|
696
|
+
throw await de_UnsupportedCommandExceptionRes(parsedOutput, context);
|
|
697
697
|
default:
|
|
698
698
|
const parsedBody = parsedOutput.body;
|
|
699
699
|
throwDefaultError({
|
|
@@ -704,20 +704,20 @@ const deserializeAws_json1_1GetAuthorizationTokenCommandError = async (output, c
|
|
|
704
704
|
});
|
|
705
705
|
}
|
|
706
706
|
};
|
|
707
|
-
export const
|
|
707
|
+
export const de_GetRegistryCatalogDataCommand = async (output, context) => {
|
|
708
708
|
if (output.statusCode >= 300) {
|
|
709
|
-
return
|
|
709
|
+
return de_GetRegistryCatalogDataCommandError(output, context);
|
|
710
710
|
}
|
|
711
711
|
const data = await parseBody(output.body, context);
|
|
712
712
|
let contents = {};
|
|
713
|
-
contents =
|
|
713
|
+
contents = de_GetRegistryCatalogDataResponse(data, context);
|
|
714
714
|
const response = {
|
|
715
715
|
$metadata: deserializeMetadata(output),
|
|
716
716
|
...contents,
|
|
717
717
|
};
|
|
718
718
|
return Promise.resolve(response);
|
|
719
719
|
};
|
|
720
|
-
const
|
|
720
|
+
const de_GetRegistryCatalogDataCommandError = async (output, context) => {
|
|
721
721
|
const parsedOutput = {
|
|
722
722
|
...output,
|
|
723
723
|
body: await parseErrorBody(output.body, context),
|
|
@@ -726,10 +726,10 @@ const deserializeAws_json1_1GetRegistryCatalogDataCommandError = async (output,
|
|
|
726
726
|
switch (errorCode) {
|
|
727
727
|
case "ServerException":
|
|
728
728
|
case "com.amazonaws.ecrpublic#ServerException":
|
|
729
|
-
throw await
|
|
729
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
730
730
|
case "UnsupportedCommandException":
|
|
731
731
|
case "com.amazonaws.ecrpublic#UnsupportedCommandException":
|
|
732
|
-
throw await
|
|
732
|
+
throw await de_UnsupportedCommandExceptionRes(parsedOutput, context);
|
|
733
733
|
default:
|
|
734
734
|
const parsedBody = parsedOutput.body;
|
|
735
735
|
throwDefaultError({
|
|
@@ -740,20 +740,20 @@ const deserializeAws_json1_1GetRegistryCatalogDataCommandError = async (output,
|
|
|
740
740
|
});
|
|
741
741
|
}
|
|
742
742
|
};
|
|
743
|
-
export const
|
|
743
|
+
export const de_GetRepositoryCatalogDataCommand = async (output, context) => {
|
|
744
744
|
if (output.statusCode >= 300) {
|
|
745
|
-
return
|
|
745
|
+
return de_GetRepositoryCatalogDataCommandError(output, context);
|
|
746
746
|
}
|
|
747
747
|
const data = await parseBody(output.body, context);
|
|
748
748
|
let contents = {};
|
|
749
|
-
contents =
|
|
749
|
+
contents = de_GetRepositoryCatalogDataResponse(data, context);
|
|
750
750
|
const response = {
|
|
751
751
|
$metadata: deserializeMetadata(output),
|
|
752
752
|
...contents,
|
|
753
753
|
};
|
|
754
754
|
return Promise.resolve(response);
|
|
755
755
|
};
|
|
756
|
-
const
|
|
756
|
+
const de_GetRepositoryCatalogDataCommandError = async (output, context) => {
|
|
757
757
|
const parsedOutput = {
|
|
758
758
|
...output,
|
|
759
759
|
body: await parseErrorBody(output.body, context),
|
|
@@ -762,19 +762,19 @@ const deserializeAws_json1_1GetRepositoryCatalogDataCommandError = async (output
|
|
|
762
762
|
switch (errorCode) {
|
|
763
763
|
case "InvalidParameterException":
|
|
764
764
|
case "com.amazonaws.ecrpublic#InvalidParameterException":
|
|
765
|
-
throw await
|
|
765
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
766
766
|
case "RepositoryCatalogDataNotFoundException":
|
|
767
767
|
case "com.amazonaws.ecrpublic#RepositoryCatalogDataNotFoundException":
|
|
768
|
-
throw await
|
|
768
|
+
throw await de_RepositoryCatalogDataNotFoundExceptionRes(parsedOutput, context);
|
|
769
769
|
case "RepositoryNotFoundException":
|
|
770
770
|
case "com.amazonaws.ecrpublic#RepositoryNotFoundException":
|
|
771
|
-
throw await
|
|
771
|
+
throw await de_RepositoryNotFoundExceptionRes(parsedOutput, context);
|
|
772
772
|
case "ServerException":
|
|
773
773
|
case "com.amazonaws.ecrpublic#ServerException":
|
|
774
|
-
throw await
|
|
774
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
775
775
|
case "UnsupportedCommandException":
|
|
776
776
|
case "com.amazonaws.ecrpublic#UnsupportedCommandException":
|
|
777
|
-
throw await
|
|
777
|
+
throw await de_UnsupportedCommandExceptionRes(parsedOutput, context);
|
|
778
778
|
default:
|
|
779
779
|
const parsedBody = parsedOutput.body;
|
|
780
780
|
throwDefaultError({
|
|
@@ -785,20 +785,20 @@ const deserializeAws_json1_1GetRepositoryCatalogDataCommandError = async (output
|
|
|
785
785
|
});
|
|
786
786
|
}
|
|
787
787
|
};
|
|
788
|
-
export const
|
|
788
|
+
export const de_GetRepositoryPolicyCommand = async (output, context) => {
|
|
789
789
|
if (output.statusCode >= 300) {
|
|
790
|
-
return
|
|
790
|
+
return de_GetRepositoryPolicyCommandError(output, context);
|
|
791
791
|
}
|
|
792
792
|
const data = await parseBody(output.body, context);
|
|
793
793
|
let contents = {};
|
|
794
|
-
contents =
|
|
794
|
+
contents = de_GetRepositoryPolicyResponse(data, context);
|
|
795
795
|
const response = {
|
|
796
796
|
$metadata: deserializeMetadata(output),
|
|
797
797
|
...contents,
|
|
798
798
|
};
|
|
799
799
|
return Promise.resolve(response);
|
|
800
800
|
};
|
|
801
|
-
const
|
|
801
|
+
const de_GetRepositoryPolicyCommandError = async (output, context) => {
|
|
802
802
|
const parsedOutput = {
|
|
803
803
|
...output,
|
|
804
804
|
body: await parseErrorBody(output.body, context),
|
|
@@ -807,19 +807,19 @@ const deserializeAws_json1_1GetRepositoryPolicyCommandError = async (output, con
|
|
|
807
807
|
switch (errorCode) {
|
|
808
808
|
case "InvalidParameterException":
|
|
809
809
|
case "com.amazonaws.ecrpublic#InvalidParameterException":
|
|
810
|
-
throw await
|
|
810
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
811
811
|
case "RepositoryNotFoundException":
|
|
812
812
|
case "com.amazonaws.ecrpublic#RepositoryNotFoundException":
|
|
813
|
-
throw await
|
|
813
|
+
throw await de_RepositoryNotFoundExceptionRes(parsedOutput, context);
|
|
814
814
|
case "RepositoryPolicyNotFoundException":
|
|
815
815
|
case "com.amazonaws.ecrpublic#RepositoryPolicyNotFoundException":
|
|
816
|
-
throw await
|
|
816
|
+
throw await de_RepositoryPolicyNotFoundExceptionRes(parsedOutput, context);
|
|
817
817
|
case "ServerException":
|
|
818
818
|
case "com.amazonaws.ecrpublic#ServerException":
|
|
819
|
-
throw await
|
|
819
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
820
820
|
case "UnsupportedCommandException":
|
|
821
821
|
case "com.amazonaws.ecrpublic#UnsupportedCommandException":
|
|
822
|
-
throw await
|
|
822
|
+
throw await de_UnsupportedCommandExceptionRes(parsedOutput, context);
|
|
823
823
|
default:
|
|
824
824
|
const parsedBody = parsedOutput.body;
|
|
825
825
|
throwDefaultError({
|
|
@@ -830,20 +830,20 @@ const deserializeAws_json1_1GetRepositoryPolicyCommandError = async (output, con
|
|
|
830
830
|
});
|
|
831
831
|
}
|
|
832
832
|
};
|
|
833
|
-
export const
|
|
833
|
+
export const de_InitiateLayerUploadCommand = async (output, context) => {
|
|
834
834
|
if (output.statusCode >= 300) {
|
|
835
|
-
return
|
|
835
|
+
return de_InitiateLayerUploadCommandError(output, context);
|
|
836
836
|
}
|
|
837
837
|
const data = await parseBody(output.body, context);
|
|
838
838
|
let contents = {};
|
|
839
|
-
contents =
|
|
839
|
+
contents = de_InitiateLayerUploadResponse(data, context);
|
|
840
840
|
const response = {
|
|
841
841
|
$metadata: deserializeMetadata(output),
|
|
842
842
|
...contents,
|
|
843
843
|
};
|
|
844
844
|
return Promise.resolve(response);
|
|
845
845
|
};
|
|
846
|
-
const
|
|
846
|
+
const de_InitiateLayerUploadCommandError = async (output, context) => {
|
|
847
847
|
const parsedOutput = {
|
|
848
848
|
...output,
|
|
849
849
|
body: await parseErrorBody(output.body, context),
|
|
@@ -852,19 +852,19 @@ const deserializeAws_json1_1InitiateLayerUploadCommandError = async (output, con
|
|
|
852
852
|
switch (errorCode) {
|
|
853
853
|
case "InvalidParameterException":
|
|
854
854
|
case "com.amazonaws.ecrpublic#InvalidParameterException":
|
|
855
|
-
throw await
|
|
855
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
856
856
|
case "RegistryNotFoundException":
|
|
857
857
|
case "com.amazonaws.ecrpublic#RegistryNotFoundException":
|
|
858
|
-
throw await
|
|
858
|
+
throw await de_RegistryNotFoundExceptionRes(parsedOutput, context);
|
|
859
859
|
case "RepositoryNotFoundException":
|
|
860
860
|
case "com.amazonaws.ecrpublic#RepositoryNotFoundException":
|
|
861
|
-
throw await
|
|
861
|
+
throw await de_RepositoryNotFoundExceptionRes(parsedOutput, context);
|
|
862
862
|
case "ServerException":
|
|
863
863
|
case "com.amazonaws.ecrpublic#ServerException":
|
|
864
|
-
throw await
|
|
864
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
865
865
|
case "UnsupportedCommandException":
|
|
866
866
|
case "com.amazonaws.ecrpublic#UnsupportedCommandException":
|
|
867
|
-
throw await
|
|
867
|
+
throw await de_UnsupportedCommandExceptionRes(parsedOutput, context);
|
|
868
868
|
default:
|
|
869
869
|
const parsedBody = parsedOutput.body;
|
|
870
870
|
throwDefaultError({
|
|
@@ -875,20 +875,20 @@ const deserializeAws_json1_1InitiateLayerUploadCommandError = async (output, con
|
|
|
875
875
|
});
|
|
876
876
|
}
|
|
877
877
|
};
|
|
878
|
-
export const
|
|
878
|
+
export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
879
879
|
if (output.statusCode >= 300) {
|
|
880
|
-
return
|
|
880
|
+
return de_ListTagsForResourceCommandError(output, context);
|
|
881
881
|
}
|
|
882
882
|
const data = await parseBody(output.body, context);
|
|
883
883
|
let contents = {};
|
|
884
|
-
contents =
|
|
884
|
+
contents = de_ListTagsForResourceResponse(data, context);
|
|
885
885
|
const response = {
|
|
886
886
|
$metadata: deserializeMetadata(output),
|
|
887
887
|
...contents,
|
|
888
888
|
};
|
|
889
889
|
return Promise.resolve(response);
|
|
890
890
|
};
|
|
891
|
-
const
|
|
891
|
+
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
892
892
|
const parsedOutput = {
|
|
893
893
|
...output,
|
|
894
894
|
body: await parseErrorBody(output.body, context),
|
|
@@ -897,16 +897,16 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
897
897
|
switch (errorCode) {
|
|
898
898
|
case "InvalidParameterException":
|
|
899
899
|
case "com.amazonaws.ecrpublic#InvalidParameterException":
|
|
900
|
-
throw await
|
|
900
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
901
901
|
case "RepositoryNotFoundException":
|
|
902
902
|
case "com.amazonaws.ecrpublic#RepositoryNotFoundException":
|
|
903
|
-
throw await
|
|
903
|
+
throw await de_RepositoryNotFoundExceptionRes(parsedOutput, context);
|
|
904
904
|
case "ServerException":
|
|
905
905
|
case "com.amazonaws.ecrpublic#ServerException":
|
|
906
|
-
throw await
|
|
906
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
907
907
|
case "UnsupportedCommandException":
|
|
908
908
|
case "com.amazonaws.ecrpublic#UnsupportedCommandException":
|
|
909
|
-
throw await
|
|
909
|
+
throw await de_UnsupportedCommandExceptionRes(parsedOutput, context);
|
|
910
910
|
default:
|
|
911
911
|
const parsedBody = parsedOutput.body;
|
|
912
912
|
throwDefaultError({
|
|
@@ -917,20 +917,20 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
917
917
|
});
|
|
918
918
|
}
|
|
919
919
|
};
|
|
920
|
-
export const
|
|
920
|
+
export const de_PutImageCommand = async (output, context) => {
|
|
921
921
|
if (output.statusCode >= 300) {
|
|
922
|
-
return
|
|
922
|
+
return de_PutImageCommandError(output, context);
|
|
923
923
|
}
|
|
924
924
|
const data = await parseBody(output.body, context);
|
|
925
925
|
let contents = {};
|
|
926
|
-
contents =
|
|
926
|
+
contents = de_PutImageResponse(data, context);
|
|
927
927
|
const response = {
|
|
928
928
|
$metadata: deserializeMetadata(output),
|
|
929
929
|
...contents,
|
|
930
930
|
};
|
|
931
931
|
return Promise.resolve(response);
|
|
932
932
|
};
|
|
933
|
-
const
|
|
933
|
+
const de_PutImageCommandError = async (output, context) => {
|
|
934
934
|
const parsedOutput = {
|
|
935
935
|
...output,
|
|
936
936
|
body: await parseErrorBody(output.body, context),
|
|
@@ -939,37 +939,37 @@ const deserializeAws_json1_1PutImageCommandError = async (output, context) => {
|
|
|
939
939
|
switch (errorCode) {
|
|
940
940
|
case "ImageAlreadyExistsException":
|
|
941
941
|
case "com.amazonaws.ecrpublic#ImageAlreadyExistsException":
|
|
942
|
-
throw await
|
|
942
|
+
throw await de_ImageAlreadyExistsExceptionRes(parsedOutput, context);
|
|
943
943
|
case "ImageDigestDoesNotMatchException":
|
|
944
944
|
case "com.amazonaws.ecrpublic#ImageDigestDoesNotMatchException":
|
|
945
|
-
throw await
|
|
945
|
+
throw await de_ImageDigestDoesNotMatchExceptionRes(parsedOutput, context);
|
|
946
946
|
case "ImageTagAlreadyExistsException":
|
|
947
947
|
case "com.amazonaws.ecrpublic#ImageTagAlreadyExistsException":
|
|
948
|
-
throw await
|
|
948
|
+
throw await de_ImageTagAlreadyExistsExceptionRes(parsedOutput, context);
|
|
949
949
|
case "InvalidParameterException":
|
|
950
950
|
case "com.amazonaws.ecrpublic#InvalidParameterException":
|
|
951
|
-
throw await
|
|
951
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
952
952
|
case "LayersNotFoundException":
|
|
953
953
|
case "com.amazonaws.ecrpublic#LayersNotFoundException":
|
|
954
|
-
throw await
|
|
954
|
+
throw await de_LayersNotFoundExceptionRes(parsedOutput, context);
|
|
955
955
|
case "LimitExceededException":
|
|
956
956
|
case "com.amazonaws.ecrpublic#LimitExceededException":
|
|
957
|
-
throw await
|
|
957
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
958
958
|
case "ReferencedImagesNotFoundException":
|
|
959
959
|
case "com.amazonaws.ecrpublic#ReferencedImagesNotFoundException":
|
|
960
|
-
throw await
|
|
960
|
+
throw await de_ReferencedImagesNotFoundExceptionRes(parsedOutput, context);
|
|
961
961
|
case "RegistryNotFoundException":
|
|
962
962
|
case "com.amazonaws.ecrpublic#RegistryNotFoundException":
|
|
963
|
-
throw await
|
|
963
|
+
throw await de_RegistryNotFoundExceptionRes(parsedOutput, context);
|
|
964
964
|
case "RepositoryNotFoundException":
|
|
965
965
|
case "com.amazonaws.ecrpublic#RepositoryNotFoundException":
|
|
966
|
-
throw await
|
|
966
|
+
throw await de_RepositoryNotFoundExceptionRes(parsedOutput, context);
|
|
967
967
|
case "ServerException":
|
|
968
968
|
case "com.amazonaws.ecrpublic#ServerException":
|
|
969
|
-
throw await
|
|
969
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
970
970
|
case "UnsupportedCommandException":
|
|
971
971
|
case "com.amazonaws.ecrpublic#UnsupportedCommandException":
|
|
972
|
-
throw await
|
|
972
|
+
throw await de_UnsupportedCommandExceptionRes(parsedOutput, context);
|
|
973
973
|
default:
|
|
974
974
|
const parsedBody = parsedOutput.body;
|
|
975
975
|
throwDefaultError({
|
|
@@ -980,20 +980,20 @@ const deserializeAws_json1_1PutImageCommandError = async (output, context) => {
|
|
|
980
980
|
});
|
|
981
981
|
}
|
|
982
982
|
};
|
|
983
|
-
export const
|
|
983
|
+
export const de_PutRegistryCatalogDataCommand = async (output, context) => {
|
|
984
984
|
if (output.statusCode >= 300) {
|
|
985
|
-
return
|
|
985
|
+
return de_PutRegistryCatalogDataCommandError(output, context);
|
|
986
986
|
}
|
|
987
987
|
const data = await parseBody(output.body, context);
|
|
988
988
|
let contents = {};
|
|
989
|
-
contents =
|
|
989
|
+
contents = de_PutRegistryCatalogDataResponse(data, context);
|
|
990
990
|
const response = {
|
|
991
991
|
$metadata: deserializeMetadata(output),
|
|
992
992
|
...contents,
|
|
993
993
|
};
|
|
994
994
|
return Promise.resolve(response);
|
|
995
995
|
};
|
|
996
|
-
const
|
|
996
|
+
const de_PutRegistryCatalogDataCommandError = async (output, context) => {
|
|
997
997
|
const parsedOutput = {
|
|
998
998
|
...output,
|
|
999
999
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1002,13 +1002,13 @@ const deserializeAws_json1_1PutRegistryCatalogDataCommandError = async (output,
|
|
|
1002
1002
|
switch (errorCode) {
|
|
1003
1003
|
case "InvalidParameterException":
|
|
1004
1004
|
case "com.amazonaws.ecrpublic#InvalidParameterException":
|
|
1005
|
-
throw await
|
|
1005
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1006
1006
|
case "ServerException":
|
|
1007
1007
|
case "com.amazonaws.ecrpublic#ServerException":
|
|
1008
|
-
throw await
|
|
1008
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1009
1009
|
case "UnsupportedCommandException":
|
|
1010
1010
|
case "com.amazonaws.ecrpublic#UnsupportedCommandException":
|
|
1011
|
-
throw await
|
|
1011
|
+
throw await de_UnsupportedCommandExceptionRes(parsedOutput, context);
|
|
1012
1012
|
default:
|
|
1013
1013
|
const parsedBody = parsedOutput.body;
|
|
1014
1014
|
throwDefaultError({
|
|
@@ -1019,20 +1019,20 @@ const deserializeAws_json1_1PutRegistryCatalogDataCommandError = async (output,
|
|
|
1019
1019
|
});
|
|
1020
1020
|
}
|
|
1021
1021
|
};
|
|
1022
|
-
export const
|
|
1022
|
+
export const de_PutRepositoryCatalogDataCommand = async (output, context) => {
|
|
1023
1023
|
if (output.statusCode >= 300) {
|
|
1024
|
-
return
|
|
1024
|
+
return de_PutRepositoryCatalogDataCommandError(output, context);
|
|
1025
1025
|
}
|
|
1026
1026
|
const data = await parseBody(output.body, context);
|
|
1027
1027
|
let contents = {};
|
|
1028
|
-
contents =
|
|
1028
|
+
contents = de_PutRepositoryCatalogDataResponse(data, context);
|
|
1029
1029
|
const response = {
|
|
1030
1030
|
$metadata: deserializeMetadata(output),
|
|
1031
1031
|
...contents,
|
|
1032
1032
|
};
|
|
1033
1033
|
return Promise.resolve(response);
|
|
1034
1034
|
};
|
|
1035
|
-
const
|
|
1035
|
+
const de_PutRepositoryCatalogDataCommandError = async (output, context) => {
|
|
1036
1036
|
const parsedOutput = {
|
|
1037
1037
|
...output,
|
|
1038
1038
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1041,16 +1041,16 @@ const deserializeAws_json1_1PutRepositoryCatalogDataCommandError = async (output
|
|
|
1041
1041
|
switch (errorCode) {
|
|
1042
1042
|
case "InvalidParameterException":
|
|
1043
1043
|
case "com.amazonaws.ecrpublic#InvalidParameterException":
|
|
1044
|
-
throw await
|
|
1044
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1045
1045
|
case "RepositoryNotFoundException":
|
|
1046
1046
|
case "com.amazonaws.ecrpublic#RepositoryNotFoundException":
|
|
1047
|
-
throw await
|
|
1047
|
+
throw await de_RepositoryNotFoundExceptionRes(parsedOutput, context);
|
|
1048
1048
|
case "ServerException":
|
|
1049
1049
|
case "com.amazonaws.ecrpublic#ServerException":
|
|
1050
|
-
throw await
|
|
1050
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1051
1051
|
case "UnsupportedCommandException":
|
|
1052
1052
|
case "com.amazonaws.ecrpublic#UnsupportedCommandException":
|
|
1053
|
-
throw await
|
|
1053
|
+
throw await de_UnsupportedCommandExceptionRes(parsedOutput, context);
|
|
1054
1054
|
default:
|
|
1055
1055
|
const parsedBody = parsedOutput.body;
|
|
1056
1056
|
throwDefaultError({
|
|
@@ -1061,20 +1061,20 @@ const deserializeAws_json1_1PutRepositoryCatalogDataCommandError = async (output
|
|
|
1061
1061
|
});
|
|
1062
1062
|
}
|
|
1063
1063
|
};
|
|
1064
|
-
export const
|
|
1064
|
+
export const de_SetRepositoryPolicyCommand = async (output, context) => {
|
|
1065
1065
|
if (output.statusCode >= 300) {
|
|
1066
|
-
return
|
|
1066
|
+
return de_SetRepositoryPolicyCommandError(output, context);
|
|
1067
1067
|
}
|
|
1068
1068
|
const data = await parseBody(output.body, context);
|
|
1069
1069
|
let contents = {};
|
|
1070
|
-
contents =
|
|
1070
|
+
contents = de_SetRepositoryPolicyResponse(data, context);
|
|
1071
1071
|
const response = {
|
|
1072
1072
|
$metadata: deserializeMetadata(output),
|
|
1073
1073
|
...contents,
|
|
1074
1074
|
};
|
|
1075
1075
|
return Promise.resolve(response);
|
|
1076
1076
|
};
|
|
1077
|
-
const
|
|
1077
|
+
const de_SetRepositoryPolicyCommandError = async (output, context) => {
|
|
1078
1078
|
const parsedOutput = {
|
|
1079
1079
|
...output,
|
|
1080
1080
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1083,16 +1083,16 @@ const deserializeAws_json1_1SetRepositoryPolicyCommandError = async (output, con
|
|
|
1083
1083
|
switch (errorCode) {
|
|
1084
1084
|
case "InvalidParameterException":
|
|
1085
1085
|
case "com.amazonaws.ecrpublic#InvalidParameterException":
|
|
1086
|
-
throw await
|
|
1086
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1087
1087
|
case "RepositoryNotFoundException":
|
|
1088
1088
|
case "com.amazonaws.ecrpublic#RepositoryNotFoundException":
|
|
1089
|
-
throw await
|
|
1089
|
+
throw await de_RepositoryNotFoundExceptionRes(parsedOutput, context);
|
|
1090
1090
|
case "ServerException":
|
|
1091
1091
|
case "com.amazonaws.ecrpublic#ServerException":
|
|
1092
|
-
throw await
|
|
1092
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1093
1093
|
case "UnsupportedCommandException":
|
|
1094
1094
|
case "com.amazonaws.ecrpublic#UnsupportedCommandException":
|
|
1095
|
-
throw await
|
|
1095
|
+
throw await de_UnsupportedCommandExceptionRes(parsedOutput, context);
|
|
1096
1096
|
default:
|
|
1097
1097
|
const parsedBody = parsedOutput.body;
|
|
1098
1098
|
throwDefaultError({
|
|
@@ -1103,20 +1103,20 @@ const deserializeAws_json1_1SetRepositoryPolicyCommandError = async (output, con
|
|
|
1103
1103
|
});
|
|
1104
1104
|
}
|
|
1105
1105
|
};
|
|
1106
|
-
export const
|
|
1106
|
+
export const de_TagResourceCommand = async (output, context) => {
|
|
1107
1107
|
if (output.statusCode >= 300) {
|
|
1108
|
-
return
|
|
1108
|
+
return de_TagResourceCommandError(output, context);
|
|
1109
1109
|
}
|
|
1110
1110
|
const data = await parseBody(output.body, context);
|
|
1111
1111
|
let contents = {};
|
|
1112
|
-
contents =
|
|
1112
|
+
contents = de_TagResourceResponse(data, context);
|
|
1113
1113
|
const response = {
|
|
1114
1114
|
$metadata: deserializeMetadata(output),
|
|
1115
1115
|
...contents,
|
|
1116
1116
|
};
|
|
1117
1117
|
return Promise.resolve(response);
|
|
1118
1118
|
};
|
|
1119
|
-
const
|
|
1119
|
+
const de_TagResourceCommandError = async (output, context) => {
|
|
1120
1120
|
const parsedOutput = {
|
|
1121
1121
|
...output,
|
|
1122
1122
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1125,22 +1125,22 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
1125
1125
|
switch (errorCode) {
|
|
1126
1126
|
case "InvalidParameterException":
|
|
1127
1127
|
case "com.amazonaws.ecrpublic#InvalidParameterException":
|
|
1128
|
-
throw await
|
|
1128
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1129
1129
|
case "InvalidTagParameterException":
|
|
1130
1130
|
case "com.amazonaws.ecrpublic#InvalidTagParameterException":
|
|
1131
|
-
throw await
|
|
1131
|
+
throw await de_InvalidTagParameterExceptionRes(parsedOutput, context);
|
|
1132
1132
|
case "RepositoryNotFoundException":
|
|
1133
1133
|
case "com.amazonaws.ecrpublic#RepositoryNotFoundException":
|
|
1134
|
-
throw await
|
|
1134
|
+
throw await de_RepositoryNotFoundExceptionRes(parsedOutput, context);
|
|
1135
1135
|
case "ServerException":
|
|
1136
1136
|
case "com.amazonaws.ecrpublic#ServerException":
|
|
1137
|
-
throw await
|
|
1137
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1138
1138
|
case "TooManyTagsException":
|
|
1139
1139
|
case "com.amazonaws.ecrpublic#TooManyTagsException":
|
|
1140
|
-
throw await
|
|
1140
|
+
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
1141
1141
|
case "UnsupportedCommandException":
|
|
1142
1142
|
case "com.amazonaws.ecrpublic#UnsupportedCommandException":
|
|
1143
|
-
throw await
|
|
1143
|
+
throw await de_UnsupportedCommandExceptionRes(parsedOutput, context);
|
|
1144
1144
|
default:
|
|
1145
1145
|
const parsedBody = parsedOutput.body;
|
|
1146
1146
|
throwDefaultError({
|
|
@@ -1151,20 +1151,20 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
1151
1151
|
});
|
|
1152
1152
|
}
|
|
1153
1153
|
};
|
|
1154
|
-
export const
|
|
1154
|
+
export const de_UntagResourceCommand = async (output, context) => {
|
|
1155
1155
|
if (output.statusCode >= 300) {
|
|
1156
|
-
return
|
|
1156
|
+
return de_UntagResourceCommandError(output, context);
|
|
1157
1157
|
}
|
|
1158
1158
|
const data = await parseBody(output.body, context);
|
|
1159
1159
|
let contents = {};
|
|
1160
|
-
contents =
|
|
1160
|
+
contents = de_UntagResourceResponse(data, context);
|
|
1161
1161
|
const response = {
|
|
1162
1162
|
$metadata: deserializeMetadata(output),
|
|
1163
1163
|
...contents,
|
|
1164
1164
|
};
|
|
1165
1165
|
return Promise.resolve(response);
|
|
1166
1166
|
};
|
|
1167
|
-
const
|
|
1167
|
+
const de_UntagResourceCommandError = async (output, context) => {
|
|
1168
1168
|
const parsedOutput = {
|
|
1169
1169
|
...output,
|
|
1170
1170
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1173,22 +1173,22 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
1173
1173
|
switch (errorCode) {
|
|
1174
1174
|
case "InvalidParameterException":
|
|
1175
1175
|
case "com.amazonaws.ecrpublic#InvalidParameterException":
|
|
1176
|
-
throw await
|
|
1176
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1177
1177
|
case "InvalidTagParameterException":
|
|
1178
1178
|
case "com.amazonaws.ecrpublic#InvalidTagParameterException":
|
|
1179
|
-
throw await
|
|
1179
|
+
throw await de_InvalidTagParameterExceptionRes(parsedOutput, context);
|
|
1180
1180
|
case "RepositoryNotFoundException":
|
|
1181
1181
|
case "com.amazonaws.ecrpublic#RepositoryNotFoundException":
|
|
1182
|
-
throw await
|
|
1182
|
+
throw await de_RepositoryNotFoundExceptionRes(parsedOutput, context);
|
|
1183
1183
|
case "ServerException":
|
|
1184
1184
|
case "com.amazonaws.ecrpublic#ServerException":
|
|
1185
|
-
throw await
|
|
1185
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1186
1186
|
case "TooManyTagsException":
|
|
1187
1187
|
case "com.amazonaws.ecrpublic#TooManyTagsException":
|
|
1188
|
-
throw await
|
|
1188
|
+
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
1189
1189
|
case "UnsupportedCommandException":
|
|
1190
1190
|
case "com.amazonaws.ecrpublic#UnsupportedCommandException":
|
|
1191
|
-
throw await
|
|
1191
|
+
throw await de_UnsupportedCommandExceptionRes(parsedOutput, context);
|
|
1192
1192
|
default:
|
|
1193
1193
|
const parsedBody = parsedOutput.body;
|
|
1194
1194
|
throwDefaultError({
|
|
@@ -1199,20 +1199,20 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
1199
1199
|
});
|
|
1200
1200
|
}
|
|
1201
1201
|
};
|
|
1202
|
-
export const
|
|
1202
|
+
export const de_UploadLayerPartCommand = async (output, context) => {
|
|
1203
1203
|
if (output.statusCode >= 300) {
|
|
1204
|
-
return
|
|
1204
|
+
return de_UploadLayerPartCommandError(output, context);
|
|
1205
1205
|
}
|
|
1206
1206
|
const data = await parseBody(output.body, context);
|
|
1207
1207
|
let contents = {};
|
|
1208
|
-
contents =
|
|
1208
|
+
contents = de_UploadLayerPartResponse(data, context);
|
|
1209
1209
|
const response = {
|
|
1210
1210
|
$metadata: deserializeMetadata(output),
|
|
1211
1211
|
...contents,
|
|
1212
1212
|
};
|
|
1213
1213
|
return Promise.resolve(response);
|
|
1214
1214
|
};
|
|
1215
|
-
const
|
|
1215
|
+
const de_UploadLayerPartCommandError = async (output, context) => {
|
|
1216
1216
|
const parsedOutput = {
|
|
1217
1217
|
...output,
|
|
1218
1218
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1221,28 +1221,28 @@ const deserializeAws_json1_1UploadLayerPartCommandError = async (output, context
|
|
|
1221
1221
|
switch (errorCode) {
|
|
1222
1222
|
case "InvalidLayerPartException":
|
|
1223
1223
|
case "com.amazonaws.ecrpublic#InvalidLayerPartException":
|
|
1224
|
-
throw await
|
|
1224
|
+
throw await de_InvalidLayerPartExceptionRes(parsedOutput, context);
|
|
1225
1225
|
case "InvalidParameterException":
|
|
1226
1226
|
case "com.amazonaws.ecrpublic#InvalidParameterException":
|
|
1227
|
-
throw await
|
|
1227
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1228
1228
|
case "LimitExceededException":
|
|
1229
1229
|
case "com.amazonaws.ecrpublic#LimitExceededException":
|
|
1230
|
-
throw await
|
|
1230
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1231
1231
|
case "RegistryNotFoundException":
|
|
1232
1232
|
case "com.amazonaws.ecrpublic#RegistryNotFoundException":
|
|
1233
|
-
throw await
|
|
1233
|
+
throw await de_RegistryNotFoundExceptionRes(parsedOutput, context);
|
|
1234
1234
|
case "RepositoryNotFoundException":
|
|
1235
1235
|
case "com.amazonaws.ecrpublic#RepositoryNotFoundException":
|
|
1236
|
-
throw await
|
|
1236
|
+
throw await de_RepositoryNotFoundExceptionRes(parsedOutput, context);
|
|
1237
1237
|
case "ServerException":
|
|
1238
1238
|
case "com.amazonaws.ecrpublic#ServerException":
|
|
1239
|
-
throw await
|
|
1239
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1240
1240
|
case "UnsupportedCommandException":
|
|
1241
1241
|
case "com.amazonaws.ecrpublic#UnsupportedCommandException":
|
|
1242
|
-
throw await
|
|
1242
|
+
throw await de_UnsupportedCommandExceptionRes(parsedOutput, context);
|
|
1243
1243
|
case "UploadNotFoundException":
|
|
1244
1244
|
case "com.amazonaws.ecrpublic#UploadNotFoundException":
|
|
1245
|
-
throw await
|
|
1245
|
+
throw await de_UploadNotFoundExceptionRes(parsedOutput, context);
|
|
1246
1246
|
default:
|
|
1247
1247
|
const parsedBody = parsedOutput.body;
|
|
1248
1248
|
throwDefaultError({
|
|
@@ -1253,294 +1253,290 @@ const deserializeAws_json1_1UploadLayerPartCommandError = async (output, context
|
|
|
1253
1253
|
});
|
|
1254
1254
|
}
|
|
1255
1255
|
};
|
|
1256
|
-
const
|
|
1256
|
+
const de_EmptyUploadExceptionRes = async (parsedOutput, context) => {
|
|
1257
1257
|
const body = parsedOutput.body;
|
|
1258
|
-
const deserialized =
|
|
1258
|
+
const deserialized = de_EmptyUploadException(body, context);
|
|
1259
1259
|
const exception = new EmptyUploadException({
|
|
1260
1260
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1261
1261
|
...deserialized,
|
|
1262
1262
|
});
|
|
1263
1263
|
return __decorateServiceException(exception, body);
|
|
1264
1264
|
};
|
|
1265
|
-
const
|
|
1265
|
+
const de_ImageAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
1266
1266
|
const body = parsedOutput.body;
|
|
1267
|
-
const deserialized =
|
|
1267
|
+
const deserialized = de_ImageAlreadyExistsException(body, context);
|
|
1268
1268
|
const exception = new ImageAlreadyExistsException({
|
|
1269
1269
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1270
1270
|
...deserialized,
|
|
1271
1271
|
});
|
|
1272
1272
|
return __decorateServiceException(exception, body);
|
|
1273
1273
|
};
|
|
1274
|
-
const
|
|
1274
|
+
const de_ImageDigestDoesNotMatchExceptionRes = async (parsedOutput, context) => {
|
|
1275
1275
|
const body = parsedOutput.body;
|
|
1276
|
-
const deserialized =
|
|
1276
|
+
const deserialized = de_ImageDigestDoesNotMatchException(body, context);
|
|
1277
1277
|
const exception = new ImageDigestDoesNotMatchException({
|
|
1278
1278
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1279
1279
|
...deserialized,
|
|
1280
1280
|
});
|
|
1281
1281
|
return __decorateServiceException(exception, body);
|
|
1282
1282
|
};
|
|
1283
|
-
const
|
|
1283
|
+
const de_ImageNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1284
1284
|
const body = parsedOutput.body;
|
|
1285
|
-
const deserialized =
|
|
1285
|
+
const deserialized = de_ImageNotFoundException(body, context);
|
|
1286
1286
|
const exception = new ImageNotFoundException({
|
|
1287
1287
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1288
1288
|
...deserialized,
|
|
1289
1289
|
});
|
|
1290
1290
|
return __decorateServiceException(exception, body);
|
|
1291
1291
|
};
|
|
1292
|
-
const
|
|
1292
|
+
const de_ImageTagAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
1293
1293
|
const body = parsedOutput.body;
|
|
1294
|
-
const deserialized =
|
|
1294
|
+
const deserialized = de_ImageTagAlreadyExistsException(body, context);
|
|
1295
1295
|
const exception = new ImageTagAlreadyExistsException({
|
|
1296
1296
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1297
1297
|
...deserialized,
|
|
1298
1298
|
});
|
|
1299
1299
|
return __decorateServiceException(exception, body);
|
|
1300
1300
|
};
|
|
1301
|
-
const
|
|
1301
|
+
const de_InvalidLayerExceptionRes = async (parsedOutput, context) => {
|
|
1302
1302
|
const body = parsedOutput.body;
|
|
1303
|
-
const deserialized =
|
|
1303
|
+
const deserialized = de_InvalidLayerException(body, context);
|
|
1304
1304
|
const exception = new InvalidLayerException({
|
|
1305
1305
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1306
1306
|
...deserialized,
|
|
1307
1307
|
});
|
|
1308
1308
|
return __decorateServiceException(exception, body);
|
|
1309
1309
|
};
|
|
1310
|
-
const
|
|
1310
|
+
const de_InvalidLayerPartExceptionRes = async (parsedOutput, context) => {
|
|
1311
1311
|
const body = parsedOutput.body;
|
|
1312
|
-
const deserialized =
|
|
1312
|
+
const deserialized = de_InvalidLayerPartException(body, context);
|
|
1313
1313
|
const exception = new InvalidLayerPartException({
|
|
1314
1314
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1315
1315
|
...deserialized,
|
|
1316
1316
|
});
|
|
1317
1317
|
return __decorateServiceException(exception, body);
|
|
1318
1318
|
};
|
|
1319
|
-
const
|
|
1319
|
+
const de_InvalidParameterExceptionRes = async (parsedOutput, context) => {
|
|
1320
1320
|
const body = parsedOutput.body;
|
|
1321
|
-
const deserialized =
|
|
1321
|
+
const deserialized = de_InvalidParameterException(body, context);
|
|
1322
1322
|
const exception = new InvalidParameterException({
|
|
1323
1323
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1324
1324
|
...deserialized,
|
|
1325
1325
|
});
|
|
1326
1326
|
return __decorateServiceException(exception, body);
|
|
1327
1327
|
};
|
|
1328
|
-
const
|
|
1328
|
+
const de_InvalidTagParameterExceptionRes = async (parsedOutput, context) => {
|
|
1329
1329
|
const body = parsedOutput.body;
|
|
1330
|
-
const deserialized =
|
|
1330
|
+
const deserialized = de_InvalidTagParameterException(body, context);
|
|
1331
1331
|
const exception = new InvalidTagParameterException({
|
|
1332
1332
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1333
1333
|
...deserialized,
|
|
1334
1334
|
});
|
|
1335
1335
|
return __decorateServiceException(exception, body);
|
|
1336
1336
|
};
|
|
1337
|
-
const
|
|
1337
|
+
const de_LayerAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
1338
1338
|
const body = parsedOutput.body;
|
|
1339
|
-
const deserialized =
|
|
1339
|
+
const deserialized = de_LayerAlreadyExistsException(body, context);
|
|
1340
1340
|
const exception = new LayerAlreadyExistsException({
|
|
1341
1341
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1342
1342
|
...deserialized,
|
|
1343
1343
|
});
|
|
1344
1344
|
return __decorateServiceException(exception, body);
|
|
1345
1345
|
};
|
|
1346
|
-
const
|
|
1346
|
+
const de_LayerPartTooSmallExceptionRes = async (parsedOutput, context) => {
|
|
1347
1347
|
const body = parsedOutput.body;
|
|
1348
|
-
const deserialized =
|
|
1348
|
+
const deserialized = de_LayerPartTooSmallException(body, context);
|
|
1349
1349
|
const exception = new LayerPartTooSmallException({
|
|
1350
1350
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1351
1351
|
...deserialized,
|
|
1352
1352
|
});
|
|
1353
1353
|
return __decorateServiceException(exception, body);
|
|
1354
1354
|
};
|
|
1355
|
-
const
|
|
1355
|
+
const de_LayersNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1356
1356
|
const body = parsedOutput.body;
|
|
1357
|
-
const deserialized =
|
|
1357
|
+
const deserialized = de_LayersNotFoundException(body, context);
|
|
1358
1358
|
const exception = new LayersNotFoundException({
|
|
1359
1359
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1360
1360
|
...deserialized,
|
|
1361
1361
|
});
|
|
1362
1362
|
return __decorateServiceException(exception, body);
|
|
1363
1363
|
};
|
|
1364
|
-
const
|
|
1364
|
+
const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
1365
1365
|
const body = parsedOutput.body;
|
|
1366
|
-
const deserialized =
|
|
1366
|
+
const deserialized = de_LimitExceededException(body, context);
|
|
1367
1367
|
const exception = new LimitExceededException({
|
|
1368
1368
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1369
1369
|
...deserialized,
|
|
1370
1370
|
});
|
|
1371
1371
|
return __decorateServiceException(exception, body);
|
|
1372
1372
|
};
|
|
1373
|
-
const
|
|
1373
|
+
const de_ReferencedImagesNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1374
1374
|
const body = parsedOutput.body;
|
|
1375
|
-
const deserialized =
|
|
1375
|
+
const deserialized = de_ReferencedImagesNotFoundException(body, context);
|
|
1376
1376
|
const exception = new ReferencedImagesNotFoundException({
|
|
1377
1377
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1378
1378
|
...deserialized,
|
|
1379
1379
|
});
|
|
1380
1380
|
return __decorateServiceException(exception, body);
|
|
1381
1381
|
};
|
|
1382
|
-
const
|
|
1382
|
+
const de_RegistryNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1383
1383
|
const body = parsedOutput.body;
|
|
1384
|
-
const deserialized =
|
|
1384
|
+
const deserialized = de_RegistryNotFoundException(body, context);
|
|
1385
1385
|
const exception = new RegistryNotFoundException({
|
|
1386
1386
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1387
1387
|
...deserialized,
|
|
1388
1388
|
});
|
|
1389
1389
|
return __decorateServiceException(exception, body);
|
|
1390
1390
|
};
|
|
1391
|
-
const
|
|
1391
|
+
const de_RepositoryAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
1392
1392
|
const body = parsedOutput.body;
|
|
1393
|
-
const deserialized =
|
|
1393
|
+
const deserialized = de_RepositoryAlreadyExistsException(body, context);
|
|
1394
1394
|
const exception = new RepositoryAlreadyExistsException({
|
|
1395
1395
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1396
1396
|
...deserialized,
|
|
1397
1397
|
});
|
|
1398
1398
|
return __decorateServiceException(exception, body);
|
|
1399
1399
|
};
|
|
1400
|
-
const
|
|
1400
|
+
const de_RepositoryCatalogDataNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1401
1401
|
const body = parsedOutput.body;
|
|
1402
|
-
const deserialized =
|
|
1402
|
+
const deserialized = de_RepositoryCatalogDataNotFoundException(body, context);
|
|
1403
1403
|
const exception = new RepositoryCatalogDataNotFoundException({
|
|
1404
1404
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1405
1405
|
...deserialized,
|
|
1406
1406
|
});
|
|
1407
1407
|
return __decorateServiceException(exception, body);
|
|
1408
1408
|
};
|
|
1409
|
-
const
|
|
1409
|
+
const de_RepositoryNotEmptyExceptionRes = async (parsedOutput, context) => {
|
|
1410
1410
|
const body = parsedOutput.body;
|
|
1411
|
-
const deserialized =
|
|
1411
|
+
const deserialized = de_RepositoryNotEmptyException(body, context);
|
|
1412
1412
|
const exception = new RepositoryNotEmptyException({
|
|
1413
1413
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1414
1414
|
...deserialized,
|
|
1415
1415
|
});
|
|
1416
1416
|
return __decorateServiceException(exception, body);
|
|
1417
1417
|
};
|
|
1418
|
-
const
|
|
1418
|
+
const de_RepositoryNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1419
1419
|
const body = parsedOutput.body;
|
|
1420
|
-
const deserialized =
|
|
1420
|
+
const deserialized = de_RepositoryNotFoundException(body, context);
|
|
1421
1421
|
const exception = new RepositoryNotFoundException({
|
|
1422
1422
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1423
1423
|
...deserialized,
|
|
1424
1424
|
});
|
|
1425
1425
|
return __decorateServiceException(exception, body);
|
|
1426
1426
|
};
|
|
1427
|
-
const
|
|
1427
|
+
const de_RepositoryPolicyNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1428
1428
|
const body = parsedOutput.body;
|
|
1429
|
-
const deserialized =
|
|
1429
|
+
const deserialized = de_RepositoryPolicyNotFoundException(body, context);
|
|
1430
1430
|
const exception = new RepositoryPolicyNotFoundException({
|
|
1431
1431
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1432
1432
|
...deserialized,
|
|
1433
1433
|
});
|
|
1434
1434
|
return __decorateServiceException(exception, body);
|
|
1435
1435
|
};
|
|
1436
|
-
const
|
|
1436
|
+
const de_ServerExceptionRes = async (parsedOutput, context) => {
|
|
1437
1437
|
const body = parsedOutput.body;
|
|
1438
|
-
const deserialized =
|
|
1438
|
+
const deserialized = de_ServerException(body, context);
|
|
1439
1439
|
const exception = new ServerException({
|
|
1440
1440
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1441
1441
|
...deserialized,
|
|
1442
1442
|
});
|
|
1443
1443
|
return __decorateServiceException(exception, body);
|
|
1444
1444
|
};
|
|
1445
|
-
const
|
|
1445
|
+
const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
|
|
1446
1446
|
const body = parsedOutput.body;
|
|
1447
|
-
const deserialized =
|
|
1447
|
+
const deserialized = de_TooManyTagsException(body, context);
|
|
1448
1448
|
const exception = new TooManyTagsException({
|
|
1449
1449
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1450
1450
|
...deserialized,
|
|
1451
1451
|
});
|
|
1452
1452
|
return __decorateServiceException(exception, body);
|
|
1453
1453
|
};
|
|
1454
|
-
const
|
|
1454
|
+
const de_UnsupportedCommandExceptionRes = async (parsedOutput, context) => {
|
|
1455
1455
|
const body = parsedOutput.body;
|
|
1456
|
-
const deserialized =
|
|
1456
|
+
const deserialized = de_UnsupportedCommandException(body, context);
|
|
1457
1457
|
const exception = new UnsupportedCommandException({
|
|
1458
1458
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1459
1459
|
...deserialized,
|
|
1460
1460
|
});
|
|
1461
1461
|
return __decorateServiceException(exception, body);
|
|
1462
1462
|
};
|
|
1463
|
-
const
|
|
1463
|
+
const de_UploadNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1464
1464
|
const body = parsedOutput.body;
|
|
1465
|
-
const deserialized =
|
|
1465
|
+
const deserialized = de_UploadNotFoundException(body, context);
|
|
1466
1466
|
const exception = new UploadNotFoundException({
|
|
1467
1467
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1468
1468
|
...deserialized,
|
|
1469
1469
|
});
|
|
1470
1470
|
return __decorateServiceException(exception, body);
|
|
1471
1471
|
};
|
|
1472
|
-
const
|
|
1472
|
+
const se_ArchitectureList = (input, context) => {
|
|
1473
1473
|
return input
|
|
1474
1474
|
.filter((e) => e != null)
|
|
1475
1475
|
.map((entry) => {
|
|
1476
1476
|
return entry;
|
|
1477
1477
|
});
|
|
1478
1478
|
};
|
|
1479
|
-
const
|
|
1479
|
+
const se_BatchCheckLayerAvailabilityRequest = (input, context) => {
|
|
1480
1480
|
return {
|
|
1481
1481
|
...(input.layerDigests != null && {
|
|
1482
|
-
layerDigests:
|
|
1482
|
+
layerDigests: se_BatchedOperationLayerDigestList(input.layerDigests, context),
|
|
1483
1483
|
}),
|
|
1484
1484
|
...(input.registryId != null && { registryId: input.registryId }),
|
|
1485
1485
|
...(input.repositoryName != null && { repositoryName: input.repositoryName }),
|
|
1486
1486
|
};
|
|
1487
1487
|
};
|
|
1488
|
-
const
|
|
1488
|
+
const se_BatchDeleteImageRequest = (input, context) => {
|
|
1489
1489
|
return {
|
|
1490
|
-
...(input.imageIds != null && { imageIds:
|
|
1490
|
+
...(input.imageIds != null && { imageIds: se_ImageIdentifierList(input.imageIds, context) }),
|
|
1491
1491
|
...(input.registryId != null && { registryId: input.registryId }),
|
|
1492
1492
|
...(input.repositoryName != null && { repositoryName: input.repositoryName }),
|
|
1493
1493
|
};
|
|
1494
1494
|
};
|
|
1495
|
-
const
|
|
1495
|
+
const se_BatchedOperationLayerDigestList = (input, context) => {
|
|
1496
1496
|
return input
|
|
1497
1497
|
.filter((e) => e != null)
|
|
1498
1498
|
.map((entry) => {
|
|
1499
1499
|
return entry;
|
|
1500
1500
|
});
|
|
1501
1501
|
};
|
|
1502
|
-
const
|
|
1502
|
+
const se_CompleteLayerUploadRequest = (input, context) => {
|
|
1503
1503
|
return {
|
|
1504
|
-
...(input.layerDigests != null && {
|
|
1505
|
-
layerDigests: serializeAws_json1_1LayerDigestList(input.layerDigests, context),
|
|
1506
|
-
}),
|
|
1504
|
+
...(input.layerDigests != null && { layerDigests: se_LayerDigestList(input.layerDigests, context) }),
|
|
1507
1505
|
...(input.registryId != null && { registryId: input.registryId }),
|
|
1508
1506
|
...(input.repositoryName != null && { repositoryName: input.repositoryName }),
|
|
1509
1507
|
...(input.uploadId != null && { uploadId: input.uploadId }),
|
|
1510
1508
|
};
|
|
1511
1509
|
};
|
|
1512
|
-
const
|
|
1510
|
+
const se_CreateRepositoryRequest = (input, context) => {
|
|
1513
1511
|
return {
|
|
1514
|
-
...(input.catalogData != null && {
|
|
1515
|
-
catalogData: serializeAws_json1_1RepositoryCatalogDataInput(input.catalogData, context),
|
|
1516
|
-
}),
|
|
1512
|
+
...(input.catalogData != null && { catalogData: se_RepositoryCatalogDataInput(input.catalogData, context) }),
|
|
1517
1513
|
...(input.repositoryName != null && { repositoryName: input.repositoryName }),
|
|
1518
|
-
...(input.tags != null && { tags:
|
|
1514
|
+
...(input.tags != null && { tags: se_TagList(input.tags, context) }),
|
|
1519
1515
|
};
|
|
1520
1516
|
};
|
|
1521
|
-
const
|
|
1517
|
+
const se_DeleteRepositoryPolicyRequest = (input, context) => {
|
|
1522
1518
|
return {
|
|
1523
1519
|
...(input.registryId != null && { registryId: input.registryId }),
|
|
1524
1520
|
...(input.repositoryName != null && { repositoryName: input.repositoryName }),
|
|
1525
1521
|
};
|
|
1526
1522
|
};
|
|
1527
|
-
const
|
|
1523
|
+
const se_DeleteRepositoryRequest = (input, context) => {
|
|
1528
1524
|
return {
|
|
1529
1525
|
...(input.force != null && { force: input.force }),
|
|
1530
1526
|
...(input.registryId != null && { registryId: input.registryId }),
|
|
1531
1527
|
...(input.repositoryName != null && { repositoryName: input.repositoryName }),
|
|
1532
1528
|
};
|
|
1533
1529
|
};
|
|
1534
|
-
const
|
|
1530
|
+
const se_DescribeImagesRequest = (input, context) => {
|
|
1535
1531
|
return {
|
|
1536
|
-
...(input.imageIds != null && { imageIds:
|
|
1532
|
+
...(input.imageIds != null && { imageIds: se_ImageIdentifierList(input.imageIds, context) }),
|
|
1537
1533
|
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
1538
1534
|
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
1539
1535
|
...(input.registryId != null && { registryId: input.registryId }),
|
|
1540
1536
|
...(input.repositoryName != null && { repositoryName: input.repositoryName }),
|
|
1541
1537
|
};
|
|
1542
1538
|
};
|
|
1543
|
-
const
|
|
1539
|
+
const se_DescribeImageTagsRequest = (input, context) => {
|
|
1544
1540
|
return {
|
|
1545
1541
|
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
1546
1542
|
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
@@ -1548,79 +1544,77 @@ const serializeAws_json1_1DescribeImageTagsRequest = (input, context) => {
|
|
|
1548
1544
|
...(input.repositoryName != null && { repositoryName: input.repositoryName }),
|
|
1549
1545
|
};
|
|
1550
1546
|
};
|
|
1551
|
-
const
|
|
1547
|
+
const se_DescribeRegistriesRequest = (input, context) => {
|
|
1552
1548
|
return {
|
|
1553
1549
|
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
1554
1550
|
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
1555
1551
|
};
|
|
1556
1552
|
};
|
|
1557
|
-
const
|
|
1553
|
+
const se_DescribeRepositoriesRequest = (input, context) => {
|
|
1558
1554
|
return {
|
|
1559
1555
|
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
1560
1556
|
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
1561
1557
|
...(input.registryId != null && { registryId: input.registryId }),
|
|
1562
|
-
...(input.repositoryNames != null && {
|
|
1563
|
-
repositoryNames: serializeAws_json1_1RepositoryNameList(input.repositoryNames, context),
|
|
1564
|
-
}),
|
|
1558
|
+
...(input.repositoryNames != null && { repositoryNames: se_RepositoryNameList(input.repositoryNames, context) }),
|
|
1565
1559
|
};
|
|
1566
1560
|
};
|
|
1567
|
-
const
|
|
1561
|
+
const se_GetAuthorizationTokenRequest = (input, context) => {
|
|
1568
1562
|
return {};
|
|
1569
1563
|
};
|
|
1570
|
-
const
|
|
1564
|
+
const se_GetRegistryCatalogDataRequest = (input, context) => {
|
|
1571
1565
|
return {};
|
|
1572
1566
|
};
|
|
1573
|
-
const
|
|
1567
|
+
const se_GetRepositoryCatalogDataRequest = (input, context) => {
|
|
1574
1568
|
return {
|
|
1575
1569
|
...(input.registryId != null && { registryId: input.registryId }),
|
|
1576
1570
|
...(input.repositoryName != null && { repositoryName: input.repositoryName }),
|
|
1577
1571
|
};
|
|
1578
1572
|
};
|
|
1579
|
-
const
|
|
1573
|
+
const se_GetRepositoryPolicyRequest = (input, context) => {
|
|
1580
1574
|
return {
|
|
1581
1575
|
...(input.registryId != null && { registryId: input.registryId }),
|
|
1582
1576
|
...(input.repositoryName != null && { repositoryName: input.repositoryName }),
|
|
1583
1577
|
};
|
|
1584
1578
|
};
|
|
1585
|
-
const
|
|
1579
|
+
const se_ImageIdentifier = (input, context) => {
|
|
1586
1580
|
return {
|
|
1587
1581
|
...(input.imageDigest != null && { imageDigest: input.imageDigest }),
|
|
1588
1582
|
...(input.imageTag != null && { imageTag: input.imageTag }),
|
|
1589
1583
|
};
|
|
1590
1584
|
};
|
|
1591
|
-
const
|
|
1585
|
+
const se_ImageIdentifierList = (input, context) => {
|
|
1592
1586
|
return input
|
|
1593
1587
|
.filter((e) => e != null)
|
|
1594
1588
|
.map((entry) => {
|
|
1595
|
-
return
|
|
1589
|
+
return se_ImageIdentifier(entry, context);
|
|
1596
1590
|
});
|
|
1597
1591
|
};
|
|
1598
|
-
const
|
|
1592
|
+
const se_InitiateLayerUploadRequest = (input, context) => {
|
|
1599
1593
|
return {
|
|
1600
1594
|
...(input.registryId != null && { registryId: input.registryId }),
|
|
1601
1595
|
...(input.repositoryName != null && { repositoryName: input.repositoryName }),
|
|
1602
1596
|
};
|
|
1603
1597
|
};
|
|
1604
|
-
const
|
|
1598
|
+
const se_LayerDigestList = (input, context) => {
|
|
1605
1599
|
return input
|
|
1606
1600
|
.filter((e) => e != null)
|
|
1607
1601
|
.map((entry) => {
|
|
1608
1602
|
return entry;
|
|
1609
1603
|
});
|
|
1610
1604
|
};
|
|
1611
|
-
const
|
|
1605
|
+
const se_ListTagsForResourceRequest = (input, context) => {
|
|
1612
1606
|
return {
|
|
1613
1607
|
...(input.resourceArn != null && { resourceArn: input.resourceArn }),
|
|
1614
1608
|
};
|
|
1615
1609
|
};
|
|
1616
|
-
const
|
|
1610
|
+
const se_OperatingSystemList = (input, context) => {
|
|
1617
1611
|
return input
|
|
1618
1612
|
.filter((e) => e != null)
|
|
1619
1613
|
.map((entry) => {
|
|
1620
1614
|
return entry;
|
|
1621
1615
|
});
|
|
1622
1616
|
};
|
|
1623
|
-
const
|
|
1617
|
+
const se_PutImageRequest = (input, context) => {
|
|
1624
1618
|
return {
|
|
1625
1619
|
...(input.imageDigest != null && { imageDigest: input.imageDigest }),
|
|
1626
1620
|
...(input.imageManifest != null && { imageManifest: input.imageManifest }),
|
|
@@ -1630,42 +1624,38 @@ const serializeAws_json1_1PutImageRequest = (input, context) => {
|
|
|
1630
1624
|
...(input.repositoryName != null && { repositoryName: input.repositoryName }),
|
|
1631
1625
|
};
|
|
1632
1626
|
};
|
|
1633
|
-
const
|
|
1627
|
+
const se_PutRegistryCatalogDataRequest = (input, context) => {
|
|
1634
1628
|
return {
|
|
1635
1629
|
...(input.displayName != null && { displayName: input.displayName }),
|
|
1636
1630
|
};
|
|
1637
1631
|
};
|
|
1638
|
-
const
|
|
1632
|
+
const se_PutRepositoryCatalogDataRequest = (input, context) => {
|
|
1639
1633
|
return {
|
|
1640
|
-
...(input.catalogData != null && {
|
|
1641
|
-
catalogData: serializeAws_json1_1RepositoryCatalogDataInput(input.catalogData, context),
|
|
1642
|
-
}),
|
|
1634
|
+
...(input.catalogData != null && { catalogData: se_RepositoryCatalogDataInput(input.catalogData, context) }),
|
|
1643
1635
|
...(input.registryId != null && { registryId: input.registryId }),
|
|
1644
1636
|
...(input.repositoryName != null && { repositoryName: input.repositoryName }),
|
|
1645
1637
|
};
|
|
1646
1638
|
};
|
|
1647
|
-
const
|
|
1639
|
+
const se_RepositoryCatalogDataInput = (input, context) => {
|
|
1648
1640
|
return {
|
|
1649
1641
|
...(input.aboutText != null && { aboutText: input.aboutText }),
|
|
1650
|
-
...(input.architectures != null && {
|
|
1651
|
-
architectures: serializeAws_json1_1ArchitectureList(input.architectures, context),
|
|
1652
|
-
}),
|
|
1642
|
+
...(input.architectures != null && { architectures: se_ArchitectureList(input.architectures, context) }),
|
|
1653
1643
|
...(input.description != null && { description: input.description }),
|
|
1654
1644
|
...(input.logoImageBlob != null && { logoImageBlob: context.base64Encoder(input.logoImageBlob) }),
|
|
1655
1645
|
...(input.operatingSystems != null && {
|
|
1656
|
-
operatingSystems:
|
|
1646
|
+
operatingSystems: se_OperatingSystemList(input.operatingSystems, context),
|
|
1657
1647
|
}),
|
|
1658
1648
|
...(input.usageText != null && { usageText: input.usageText }),
|
|
1659
1649
|
};
|
|
1660
1650
|
};
|
|
1661
|
-
const
|
|
1651
|
+
const se_RepositoryNameList = (input, context) => {
|
|
1662
1652
|
return input
|
|
1663
1653
|
.filter((e) => e != null)
|
|
1664
1654
|
.map((entry) => {
|
|
1665
1655
|
return entry;
|
|
1666
1656
|
});
|
|
1667
1657
|
};
|
|
1668
|
-
const
|
|
1658
|
+
const se_SetRepositoryPolicyRequest = (input, context) => {
|
|
1669
1659
|
return {
|
|
1670
1660
|
...(input.force != null && { force: input.force }),
|
|
1671
1661
|
...(input.policyText != null && { policyText: input.policyText }),
|
|
@@ -1673,39 +1663,39 @@ const serializeAws_json1_1SetRepositoryPolicyRequest = (input, context) => {
|
|
|
1673
1663
|
...(input.repositoryName != null && { repositoryName: input.repositoryName }),
|
|
1674
1664
|
};
|
|
1675
1665
|
};
|
|
1676
|
-
const
|
|
1666
|
+
const se_Tag = (input, context) => {
|
|
1677
1667
|
return {
|
|
1678
1668
|
...(input.Key != null && { Key: input.Key }),
|
|
1679
1669
|
...(input.Value != null && { Value: input.Value }),
|
|
1680
1670
|
};
|
|
1681
1671
|
};
|
|
1682
|
-
const
|
|
1672
|
+
const se_TagKeyList = (input, context) => {
|
|
1683
1673
|
return input
|
|
1684
1674
|
.filter((e) => e != null)
|
|
1685
1675
|
.map((entry) => {
|
|
1686
1676
|
return entry;
|
|
1687
1677
|
});
|
|
1688
1678
|
};
|
|
1689
|
-
const
|
|
1679
|
+
const se_TagList = (input, context) => {
|
|
1690
1680
|
return input
|
|
1691
1681
|
.filter((e) => e != null)
|
|
1692
1682
|
.map((entry) => {
|
|
1693
|
-
return
|
|
1683
|
+
return se_Tag(entry, context);
|
|
1694
1684
|
});
|
|
1695
1685
|
};
|
|
1696
|
-
const
|
|
1686
|
+
const se_TagResourceRequest = (input, context) => {
|
|
1697
1687
|
return {
|
|
1698
1688
|
...(input.resourceArn != null && { resourceArn: input.resourceArn }),
|
|
1699
|
-
...(input.tags != null && { tags:
|
|
1689
|
+
...(input.tags != null && { tags: se_TagList(input.tags, context) }),
|
|
1700
1690
|
};
|
|
1701
1691
|
};
|
|
1702
|
-
const
|
|
1692
|
+
const se_UntagResourceRequest = (input, context) => {
|
|
1703
1693
|
return {
|
|
1704
1694
|
...(input.resourceArn != null && { resourceArn: input.resourceArn }),
|
|
1705
|
-
...(input.tagKeys != null && { tagKeys:
|
|
1695
|
+
...(input.tagKeys != null && { tagKeys: se_TagKeyList(input.tagKeys, context) }),
|
|
1706
1696
|
};
|
|
1707
1697
|
};
|
|
1708
|
-
const
|
|
1698
|
+
const se_UploadLayerPartRequest = (input, context) => {
|
|
1709
1699
|
return {
|
|
1710
1700
|
...(input.layerPartBlob != null && { layerPartBlob: context.base64Encoder(input.layerPartBlob) }),
|
|
1711
1701
|
...(input.partFirstByte != null && { partFirstByte: input.partFirstByte }),
|
|
@@ -1715,7 +1705,7 @@ const serializeAws_json1_1UploadLayerPartRequest = (input, context) => {
|
|
|
1715
1705
|
...(input.uploadId != null && { uploadId: input.uploadId }),
|
|
1716
1706
|
};
|
|
1717
1707
|
};
|
|
1718
|
-
const
|
|
1708
|
+
const de_ArchitectureList = (output, context) => {
|
|
1719
1709
|
const retVal = (output || [])
|
|
1720
1710
|
.filter((e) => e != null)
|
|
1721
1711
|
.map((entry) => {
|
|
@@ -1726,25 +1716,25 @@ const deserializeAws_json1_1ArchitectureList = (output, context) => {
|
|
|
1726
1716
|
});
|
|
1727
1717
|
return retVal;
|
|
1728
1718
|
};
|
|
1729
|
-
const
|
|
1719
|
+
const de_AuthorizationData = (output, context) => {
|
|
1730
1720
|
return {
|
|
1731
1721
|
authorizationToken: __expectString(output.authorizationToken),
|
|
1732
1722
|
expiresAt: output.expiresAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.expiresAt))) : undefined,
|
|
1733
1723
|
};
|
|
1734
1724
|
};
|
|
1735
|
-
const
|
|
1725
|
+
const de_BatchCheckLayerAvailabilityResponse = (output, context) => {
|
|
1736
1726
|
return {
|
|
1737
|
-
failures: output.failures != null ?
|
|
1738
|
-
layers: output.layers != null ?
|
|
1727
|
+
failures: output.failures != null ? de_LayerFailureList(output.failures, context) : undefined,
|
|
1728
|
+
layers: output.layers != null ? de_LayerList(output.layers, context) : undefined,
|
|
1739
1729
|
};
|
|
1740
1730
|
};
|
|
1741
|
-
const
|
|
1731
|
+
const de_BatchDeleteImageResponse = (output, context) => {
|
|
1742
1732
|
return {
|
|
1743
|
-
failures: output.failures != null ?
|
|
1744
|
-
imageIds: output.imageIds != null ?
|
|
1733
|
+
failures: output.failures != null ? de_ImageFailureList(output.failures, context) : undefined,
|
|
1734
|
+
imageIds: output.imageIds != null ? de_ImageIdentifierList(output.imageIds, context) : undefined,
|
|
1745
1735
|
};
|
|
1746
1736
|
};
|
|
1747
|
-
const
|
|
1737
|
+
const de_CompleteLayerUploadResponse = (output, context) => {
|
|
1748
1738
|
return {
|
|
1749
1739
|
layerDigest: __expectString(output.layerDigest),
|
|
1750
1740
|
registryId: __expectString(output.registryId),
|
|
@@ -1752,96 +1742,90 @@ const deserializeAws_json1_1CompleteLayerUploadResponse = (output, context) => {
|
|
|
1752
1742
|
uploadId: __expectString(output.uploadId),
|
|
1753
1743
|
};
|
|
1754
1744
|
};
|
|
1755
|
-
const
|
|
1745
|
+
const de_CreateRepositoryResponse = (output, context) => {
|
|
1756
1746
|
return {
|
|
1757
|
-
catalogData: output.catalogData != null ?
|
|
1758
|
-
repository: output.repository != null ?
|
|
1747
|
+
catalogData: output.catalogData != null ? de_RepositoryCatalogData(output.catalogData, context) : undefined,
|
|
1748
|
+
repository: output.repository != null ? de_Repository(output.repository, context) : undefined,
|
|
1759
1749
|
};
|
|
1760
1750
|
};
|
|
1761
|
-
const
|
|
1751
|
+
const de_DeleteRepositoryPolicyResponse = (output, context) => {
|
|
1762
1752
|
return {
|
|
1763
1753
|
policyText: __expectString(output.policyText),
|
|
1764
1754
|
registryId: __expectString(output.registryId),
|
|
1765
1755
|
repositoryName: __expectString(output.repositoryName),
|
|
1766
1756
|
};
|
|
1767
1757
|
};
|
|
1768
|
-
const
|
|
1758
|
+
const de_DeleteRepositoryResponse = (output, context) => {
|
|
1769
1759
|
return {
|
|
1770
|
-
repository: output.repository != null ?
|
|
1760
|
+
repository: output.repository != null ? de_Repository(output.repository, context) : undefined,
|
|
1771
1761
|
};
|
|
1772
1762
|
};
|
|
1773
|
-
const
|
|
1763
|
+
const de_DescribeImagesResponse = (output, context) => {
|
|
1774
1764
|
return {
|
|
1775
|
-
imageDetails: output.imageDetails != null ?
|
|
1765
|
+
imageDetails: output.imageDetails != null ? de_ImageDetailList(output.imageDetails, context) : undefined,
|
|
1776
1766
|
nextToken: __expectString(output.nextToken),
|
|
1777
1767
|
};
|
|
1778
1768
|
};
|
|
1779
|
-
const
|
|
1769
|
+
const de_DescribeImageTagsResponse = (output, context) => {
|
|
1780
1770
|
return {
|
|
1781
|
-
imageTagDetails: output.imageTagDetails != null
|
|
1782
|
-
? deserializeAws_json1_1ImageTagDetailList(output.imageTagDetails, context)
|
|
1783
|
-
: undefined,
|
|
1771
|
+
imageTagDetails: output.imageTagDetails != null ? de_ImageTagDetailList(output.imageTagDetails, context) : undefined,
|
|
1784
1772
|
nextToken: __expectString(output.nextToken),
|
|
1785
1773
|
};
|
|
1786
1774
|
};
|
|
1787
|
-
const
|
|
1775
|
+
const de_DescribeRegistriesResponse = (output, context) => {
|
|
1788
1776
|
return {
|
|
1789
1777
|
nextToken: __expectString(output.nextToken),
|
|
1790
|
-
registries: output.registries != null ?
|
|
1778
|
+
registries: output.registries != null ? de_RegistryList(output.registries, context) : undefined,
|
|
1791
1779
|
};
|
|
1792
1780
|
};
|
|
1793
|
-
const
|
|
1781
|
+
const de_DescribeRepositoriesResponse = (output, context) => {
|
|
1794
1782
|
return {
|
|
1795
1783
|
nextToken: __expectString(output.nextToken),
|
|
1796
|
-
repositories: output.repositories != null ?
|
|
1784
|
+
repositories: output.repositories != null ? de_RepositoryList(output.repositories, context) : undefined,
|
|
1797
1785
|
};
|
|
1798
1786
|
};
|
|
1799
|
-
const
|
|
1787
|
+
const de_EmptyUploadException = (output, context) => {
|
|
1800
1788
|
return {
|
|
1801
1789
|
message: __expectString(output.message),
|
|
1802
1790
|
};
|
|
1803
1791
|
};
|
|
1804
|
-
const
|
|
1792
|
+
const de_GetAuthorizationTokenResponse = (output, context) => {
|
|
1805
1793
|
return {
|
|
1806
|
-
authorizationData: output.authorizationData != null
|
|
1807
|
-
? deserializeAws_json1_1AuthorizationData(output.authorizationData, context)
|
|
1808
|
-
: undefined,
|
|
1794
|
+
authorizationData: output.authorizationData != null ? de_AuthorizationData(output.authorizationData, context) : undefined,
|
|
1809
1795
|
};
|
|
1810
1796
|
};
|
|
1811
|
-
const
|
|
1797
|
+
const de_GetRegistryCatalogDataResponse = (output, context) => {
|
|
1812
1798
|
return {
|
|
1813
|
-
registryCatalogData: output.registryCatalogData != null
|
|
1814
|
-
? deserializeAws_json1_1RegistryCatalogData(output.registryCatalogData, context)
|
|
1815
|
-
: undefined,
|
|
1799
|
+
registryCatalogData: output.registryCatalogData != null ? de_RegistryCatalogData(output.registryCatalogData, context) : undefined,
|
|
1816
1800
|
};
|
|
1817
1801
|
};
|
|
1818
|
-
const
|
|
1802
|
+
const de_GetRepositoryCatalogDataResponse = (output, context) => {
|
|
1819
1803
|
return {
|
|
1820
|
-
catalogData: output.catalogData != null ?
|
|
1804
|
+
catalogData: output.catalogData != null ? de_RepositoryCatalogData(output.catalogData, context) : undefined,
|
|
1821
1805
|
};
|
|
1822
1806
|
};
|
|
1823
|
-
const
|
|
1807
|
+
const de_GetRepositoryPolicyResponse = (output, context) => {
|
|
1824
1808
|
return {
|
|
1825
1809
|
policyText: __expectString(output.policyText),
|
|
1826
1810
|
registryId: __expectString(output.registryId),
|
|
1827
1811
|
repositoryName: __expectString(output.repositoryName),
|
|
1828
1812
|
};
|
|
1829
1813
|
};
|
|
1830
|
-
const
|
|
1814
|
+
const de_Image = (output, context) => {
|
|
1831
1815
|
return {
|
|
1832
|
-
imageId: output.imageId != null ?
|
|
1816
|
+
imageId: output.imageId != null ? de_ImageIdentifier(output.imageId, context) : undefined,
|
|
1833
1817
|
imageManifest: __expectString(output.imageManifest),
|
|
1834
1818
|
imageManifestMediaType: __expectString(output.imageManifestMediaType),
|
|
1835
1819
|
registryId: __expectString(output.registryId),
|
|
1836
1820
|
repositoryName: __expectString(output.repositoryName),
|
|
1837
1821
|
};
|
|
1838
1822
|
};
|
|
1839
|
-
const
|
|
1823
|
+
const de_ImageAlreadyExistsException = (output, context) => {
|
|
1840
1824
|
return {
|
|
1841
1825
|
message: __expectString(output.message),
|
|
1842
1826
|
};
|
|
1843
1827
|
};
|
|
1844
|
-
const
|
|
1828
|
+
const de_ImageDetail = (output, context) => {
|
|
1845
1829
|
return {
|
|
1846
1830
|
artifactMediaType: __expectString(output.artifactMediaType),
|
|
1847
1831
|
imageDigest: __expectString(output.imageDigest),
|
|
@@ -1850,91 +1834,91 @@ const deserializeAws_json1_1ImageDetail = (output, context) => {
|
|
|
1850
1834
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.imagePushedAt)))
|
|
1851
1835
|
: undefined,
|
|
1852
1836
|
imageSizeInBytes: __expectLong(output.imageSizeInBytes),
|
|
1853
|
-
imageTags: output.imageTags != null ?
|
|
1837
|
+
imageTags: output.imageTags != null ? de_ImageTagList(output.imageTags, context) : undefined,
|
|
1854
1838
|
registryId: __expectString(output.registryId),
|
|
1855
1839
|
repositoryName: __expectString(output.repositoryName),
|
|
1856
1840
|
};
|
|
1857
1841
|
};
|
|
1858
|
-
const
|
|
1842
|
+
const de_ImageDetailList = (output, context) => {
|
|
1859
1843
|
const retVal = (output || [])
|
|
1860
1844
|
.filter((e) => e != null)
|
|
1861
1845
|
.map((entry) => {
|
|
1862
1846
|
if (entry === null) {
|
|
1863
1847
|
return null;
|
|
1864
1848
|
}
|
|
1865
|
-
return
|
|
1849
|
+
return de_ImageDetail(entry, context);
|
|
1866
1850
|
});
|
|
1867
1851
|
return retVal;
|
|
1868
1852
|
};
|
|
1869
|
-
const
|
|
1853
|
+
const de_ImageDigestDoesNotMatchException = (output, context) => {
|
|
1870
1854
|
return {
|
|
1871
1855
|
message: __expectString(output.message),
|
|
1872
1856
|
};
|
|
1873
1857
|
};
|
|
1874
|
-
const
|
|
1858
|
+
const de_ImageFailure = (output, context) => {
|
|
1875
1859
|
return {
|
|
1876
1860
|
failureCode: __expectString(output.failureCode),
|
|
1877
1861
|
failureReason: __expectString(output.failureReason),
|
|
1878
|
-
imageId: output.imageId != null ?
|
|
1862
|
+
imageId: output.imageId != null ? de_ImageIdentifier(output.imageId, context) : undefined,
|
|
1879
1863
|
};
|
|
1880
1864
|
};
|
|
1881
|
-
const
|
|
1865
|
+
const de_ImageFailureList = (output, context) => {
|
|
1882
1866
|
const retVal = (output || [])
|
|
1883
1867
|
.filter((e) => e != null)
|
|
1884
1868
|
.map((entry) => {
|
|
1885
1869
|
if (entry === null) {
|
|
1886
1870
|
return null;
|
|
1887
1871
|
}
|
|
1888
|
-
return
|
|
1872
|
+
return de_ImageFailure(entry, context);
|
|
1889
1873
|
});
|
|
1890
1874
|
return retVal;
|
|
1891
1875
|
};
|
|
1892
|
-
const
|
|
1876
|
+
const de_ImageIdentifier = (output, context) => {
|
|
1893
1877
|
return {
|
|
1894
1878
|
imageDigest: __expectString(output.imageDigest),
|
|
1895
1879
|
imageTag: __expectString(output.imageTag),
|
|
1896
1880
|
};
|
|
1897
1881
|
};
|
|
1898
|
-
const
|
|
1882
|
+
const de_ImageIdentifierList = (output, context) => {
|
|
1899
1883
|
const retVal = (output || [])
|
|
1900
1884
|
.filter((e) => e != null)
|
|
1901
1885
|
.map((entry) => {
|
|
1902
1886
|
if (entry === null) {
|
|
1903
1887
|
return null;
|
|
1904
1888
|
}
|
|
1905
|
-
return
|
|
1889
|
+
return de_ImageIdentifier(entry, context);
|
|
1906
1890
|
});
|
|
1907
1891
|
return retVal;
|
|
1908
1892
|
};
|
|
1909
|
-
const
|
|
1893
|
+
const de_ImageNotFoundException = (output, context) => {
|
|
1910
1894
|
return {
|
|
1911
1895
|
message: __expectString(output.message),
|
|
1912
1896
|
};
|
|
1913
1897
|
};
|
|
1914
|
-
const
|
|
1898
|
+
const de_ImageTagAlreadyExistsException = (output, context) => {
|
|
1915
1899
|
return {
|
|
1916
1900
|
message: __expectString(output.message),
|
|
1917
1901
|
};
|
|
1918
1902
|
};
|
|
1919
|
-
const
|
|
1903
|
+
const de_ImageTagDetail = (output, context) => {
|
|
1920
1904
|
return {
|
|
1921
1905
|
createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
|
|
1922
|
-
imageDetail: output.imageDetail != null ?
|
|
1906
|
+
imageDetail: output.imageDetail != null ? de_ReferencedImageDetail(output.imageDetail, context) : undefined,
|
|
1923
1907
|
imageTag: __expectString(output.imageTag),
|
|
1924
1908
|
};
|
|
1925
1909
|
};
|
|
1926
|
-
const
|
|
1910
|
+
const de_ImageTagDetailList = (output, context) => {
|
|
1927
1911
|
const retVal = (output || [])
|
|
1928
1912
|
.filter((e) => e != null)
|
|
1929
1913
|
.map((entry) => {
|
|
1930
1914
|
if (entry === null) {
|
|
1931
1915
|
return null;
|
|
1932
1916
|
}
|
|
1933
|
-
return
|
|
1917
|
+
return de_ImageTagDetail(entry, context);
|
|
1934
1918
|
});
|
|
1935
1919
|
return retVal;
|
|
1936
1920
|
};
|
|
1937
|
-
const
|
|
1921
|
+
const de_ImageTagList = (output, context) => {
|
|
1938
1922
|
const retVal = (output || [])
|
|
1939
1923
|
.filter((e) => e != null)
|
|
1940
1924
|
.map((entry) => {
|
|
@@ -1945,18 +1929,18 @@ const deserializeAws_json1_1ImageTagList = (output, context) => {
|
|
|
1945
1929
|
});
|
|
1946
1930
|
return retVal;
|
|
1947
1931
|
};
|
|
1948
|
-
const
|
|
1932
|
+
const de_InitiateLayerUploadResponse = (output, context) => {
|
|
1949
1933
|
return {
|
|
1950
1934
|
partSize: __expectLong(output.partSize),
|
|
1951
1935
|
uploadId: __expectString(output.uploadId),
|
|
1952
1936
|
};
|
|
1953
1937
|
};
|
|
1954
|
-
const
|
|
1938
|
+
const de_InvalidLayerException = (output, context) => {
|
|
1955
1939
|
return {
|
|
1956
1940
|
message: __expectString(output.message),
|
|
1957
1941
|
};
|
|
1958
1942
|
};
|
|
1959
|
-
const
|
|
1943
|
+
const de_InvalidLayerPartException = (output, context) => {
|
|
1960
1944
|
return {
|
|
1961
1945
|
lastValidByteReceived: __expectLong(output.lastValidByteReceived),
|
|
1962
1946
|
message: __expectString(output.message),
|
|
@@ -1965,17 +1949,17 @@ const deserializeAws_json1_1InvalidLayerPartException = (output, context) => {
|
|
|
1965
1949
|
uploadId: __expectString(output.uploadId),
|
|
1966
1950
|
};
|
|
1967
1951
|
};
|
|
1968
|
-
const
|
|
1952
|
+
const de_InvalidParameterException = (output, context) => {
|
|
1969
1953
|
return {
|
|
1970
1954
|
message: __expectString(output.message),
|
|
1971
1955
|
};
|
|
1972
1956
|
};
|
|
1973
|
-
const
|
|
1957
|
+
const de_InvalidTagParameterException = (output, context) => {
|
|
1974
1958
|
return {
|
|
1975
1959
|
message: __expectString(output.message),
|
|
1976
1960
|
};
|
|
1977
1961
|
};
|
|
1978
|
-
const
|
|
1962
|
+
const de_Layer = (output, context) => {
|
|
1979
1963
|
return {
|
|
1980
1964
|
layerAvailability: __expectString(output.layerAvailability),
|
|
1981
1965
|
layerDigest: __expectString(output.layerDigest),
|
|
@@ -1983,61 +1967,61 @@ const deserializeAws_json1_1Layer = (output, context) => {
|
|
|
1983
1967
|
mediaType: __expectString(output.mediaType),
|
|
1984
1968
|
};
|
|
1985
1969
|
};
|
|
1986
|
-
const
|
|
1970
|
+
const de_LayerAlreadyExistsException = (output, context) => {
|
|
1987
1971
|
return {
|
|
1988
1972
|
message: __expectString(output.message),
|
|
1989
1973
|
};
|
|
1990
1974
|
};
|
|
1991
|
-
const
|
|
1975
|
+
const de_LayerFailure = (output, context) => {
|
|
1992
1976
|
return {
|
|
1993
1977
|
failureCode: __expectString(output.failureCode),
|
|
1994
1978
|
failureReason: __expectString(output.failureReason),
|
|
1995
1979
|
layerDigest: __expectString(output.layerDigest),
|
|
1996
1980
|
};
|
|
1997
1981
|
};
|
|
1998
|
-
const
|
|
1982
|
+
const de_LayerFailureList = (output, context) => {
|
|
1999
1983
|
const retVal = (output || [])
|
|
2000
1984
|
.filter((e) => e != null)
|
|
2001
1985
|
.map((entry) => {
|
|
2002
1986
|
if (entry === null) {
|
|
2003
1987
|
return null;
|
|
2004
1988
|
}
|
|
2005
|
-
return
|
|
1989
|
+
return de_LayerFailure(entry, context);
|
|
2006
1990
|
});
|
|
2007
1991
|
return retVal;
|
|
2008
1992
|
};
|
|
2009
|
-
const
|
|
1993
|
+
const de_LayerList = (output, context) => {
|
|
2010
1994
|
const retVal = (output || [])
|
|
2011
1995
|
.filter((e) => e != null)
|
|
2012
1996
|
.map((entry) => {
|
|
2013
1997
|
if (entry === null) {
|
|
2014
1998
|
return null;
|
|
2015
1999
|
}
|
|
2016
|
-
return
|
|
2000
|
+
return de_Layer(entry, context);
|
|
2017
2001
|
});
|
|
2018
2002
|
return retVal;
|
|
2019
2003
|
};
|
|
2020
|
-
const
|
|
2004
|
+
const de_LayerPartTooSmallException = (output, context) => {
|
|
2021
2005
|
return {
|
|
2022
2006
|
message: __expectString(output.message),
|
|
2023
2007
|
};
|
|
2024
2008
|
};
|
|
2025
|
-
const
|
|
2009
|
+
const de_LayersNotFoundException = (output, context) => {
|
|
2026
2010
|
return {
|
|
2027
2011
|
message: __expectString(output.message),
|
|
2028
2012
|
};
|
|
2029
2013
|
};
|
|
2030
|
-
const
|
|
2014
|
+
const de_LimitExceededException = (output, context) => {
|
|
2031
2015
|
return {
|
|
2032
2016
|
message: __expectString(output.message),
|
|
2033
2017
|
};
|
|
2034
2018
|
};
|
|
2035
|
-
const
|
|
2019
|
+
const de_ListTagsForResourceResponse = (output, context) => {
|
|
2036
2020
|
return {
|
|
2037
|
-
tags: output.tags != null ?
|
|
2021
|
+
tags: output.tags != null ? de_TagList(output.tags, context) : undefined,
|
|
2038
2022
|
};
|
|
2039
2023
|
};
|
|
2040
|
-
const
|
|
2024
|
+
const de_OperatingSystemList = (output, context) => {
|
|
2041
2025
|
const retVal = (output || [])
|
|
2042
2026
|
.filter((e) => e != null)
|
|
2043
2027
|
.map((entry) => {
|
|
@@ -2048,24 +2032,22 @@ const deserializeAws_json1_1OperatingSystemList = (output, context) => {
|
|
|
2048
2032
|
});
|
|
2049
2033
|
return retVal;
|
|
2050
2034
|
};
|
|
2051
|
-
const
|
|
2035
|
+
const de_PutImageResponse = (output, context) => {
|
|
2052
2036
|
return {
|
|
2053
|
-
image: output.image != null ?
|
|
2037
|
+
image: output.image != null ? de_Image(output.image, context) : undefined,
|
|
2054
2038
|
};
|
|
2055
2039
|
};
|
|
2056
|
-
const
|
|
2040
|
+
const de_PutRegistryCatalogDataResponse = (output, context) => {
|
|
2057
2041
|
return {
|
|
2058
|
-
registryCatalogData: output.registryCatalogData != null
|
|
2059
|
-
? deserializeAws_json1_1RegistryCatalogData(output.registryCatalogData, context)
|
|
2060
|
-
: undefined,
|
|
2042
|
+
registryCatalogData: output.registryCatalogData != null ? de_RegistryCatalogData(output.registryCatalogData, context) : undefined,
|
|
2061
2043
|
};
|
|
2062
2044
|
};
|
|
2063
|
-
const
|
|
2045
|
+
const de_PutRepositoryCatalogDataResponse = (output, context) => {
|
|
2064
2046
|
return {
|
|
2065
|
-
catalogData: output.catalogData != null ?
|
|
2047
|
+
catalogData: output.catalogData != null ? de_RepositoryCatalogData(output.catalogData, context) : undefined,
|
|
2066
2048
|
};
|
|
2067
2049
|
};
|
|
2068
|
-
const
|
|
2050
|
+
const de_ReferencedImageDetail = (output, context) => {
|
|
2069
2051
|
return {
|
|
2070
2052
|
artifactMediaType: __expectString(output.artifactMediaType),
|
|
2071
2053
|
imageDigest: __expectString(output.imageDigest),
|
|
@@ -2076,21 +2058,21 @@ const deserializeAws_json1_1ReferencedImageDetail = (output, context) => {
|
|
|
2076
2058
|
imageSizeInBytes: __expectLong(output.imageSizeInBytes),
|
|
2077
2059
|
};
|
|
2078
2060
|
};
|
|
2079
|
-
const
|
|
2061
|
+
const de_ReferencedImagesNotFoundException = (output, context) => {
|
|
2080
2062
|
return {
|
|
2081
2063
|
message: __expectString(output.message),
|
|
2082
2064
|
};
|
|
2083
2065
|
};
|
|
2084
|
-
const
|
|
2066
|
+
const de_Registry = (output, context) => {
|
|
2085
2067
|
return {
|
|
2086
|
-
aliases: output.aliases != null ?
|
|
2068
|
+
aliases: output.aliases != null ? de_RegistryAliasList(output.aliases, context) : undefined,
|
|
2087
2069
|
registryArn: __expectString(output.registryArn),
|
|
2088
2070
|
registryId: __expectString(output.registryId),
|
|
2089
2071
|
registryUri: __expectString(output.registryUri),
|
|
2090
2072
|
verified: __expectBoolean(output.verified),
|
|
2091
2073
|
};
|
|
2092
2074
|
};
|
|
2093
|
-
const
|
|
2075
|
+
const de_RegistryAlias = (output, context) => {
|
|
2094
2076
|
return {
|
|
2095
2077
|
defaultRegistryAlias: __expectBoolean(output.defaultRegistryAlias),
|
|
2096
2078
|
name: __expectString(output.name),
|
|
@@ -2098,39 +2080,39 @@ const deserializeAws_json1_1RegistryAlias = (output, context) => {
|
|
|
2098
2080
|
status: __expectString(output.status),
|
|
2099
2081
|
};
|
|
2100
2082
|
};
|
|
2101
|
-
const
|
|
2083
|
+
const de_RegistryAliasList = (output, context) => {
|
|
2102
2084
|
const retVal = (output || [])
|
|
2103
2085
|
.filter((e) => e != null)
|
|
2104
2086
|
.map((entry) => {
|
|
2105
2087
|
if (entry === null) {
|
|
2106
2088
|
return null;
|
|
2107
2089
|
}
|
|
2108
|
-
return
|
|
2090
|
+
return de_RegistryAlias(entry, context);
|
|
2109
2091
|
});
|
|
2110
2092
|
return retVal;
|
|
2111
2093
|
};
|
|
2112
|
-
const
|
|
2094
|
+
const de_RegistryCatalogData = (output, context) => {
|
|
2113
2095
|
return {
|
|
2114
2096
|
displayName: __expectString(output.displayName),
|
|
2115
2097
|
};
|
|
2116
2098
|
};
|
|
2117
|
-
const
|
|
2099
|
+
const de_RegistryList = (output, context) => {
|
|
2118
2100
|
const retVal = (output || [])
|
|
2119
2101
|
.filter((e) => e != null)
|
|
2120
2102
|
.map((entry) => {
|
|
2121
2103
|
if (entry === null) {
|
|
2122
2104
|
return null;
|
|
2123
2105
|
}
|
|
2124
|
-
return
|
|
2106
|
+
return de_Registry(entry, context);
|
|
2125
2107
|
});
|
|
2126
2108
|
return retVal;
|
|
2127
2109
|
};
|
|
2128
|
-
const
|
|
2110
|
+
const de_RegistryNotFoundException = (output, context) => {
|
|
2129
2111
|
return {
|
|
2130
2112
|
message: __expectString(output.message),
|
|
2131
2113
|
};
|
|
2132
2114
|
};
|
|
2133
|
-
const
|
|
2115
|
+
const de_Repository = (output, context) => {
|
|
2134
2116
|
return {
|
|
2135
2117
|
createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
|
|
2136
2118
|
registryId: __expectString(output.registryId),
|
|
@@ -2139,101 +2121,99 @@ const deserializeAws_json1_1Repository = (output, context) => {
|
|
|
2139
2121
|
repositoryUri: __expectString(output.repositoryUri),
|
|
2140
2122
|
};
|
|
2141
2123
|
};
|
|
2142
|
-
const
|
|
2124
|
+
const de_RepositoryAlreadyExistsException = (output, context) => {
|
|
2143
2125
|
return {
|
|
2144
2126
|
message: __expectString(output.message),
|
|
2145
2127
|
};
|
|
2146
2128
|
};
|
|
2147
|
-
const
|
|
2129
|
+
const de_RepositoryCatalogData = (output, context) => {
|
|
2148
2130
|
return {
|
|
2149
2131
|
aboutText: __expectString(output.aboutText),
|
|
2150
|
-
architectures: output.architectures != null ?
|
|
2132
|
+
architectures: output.architectures != null ? de_ArchitectureList(output.architectures, context) : undefined,
|
|
2151
2133
|
description: __expectString(output.description),
|
|
2152
2134
|
logoUrl: __expectString(output.logoUrl),
|
|
2153
2135
|
marketplaceCertified: __expectBoolean(output.marketplaceCertified),
|
|
2154
|
-
operatingSystems: output.operatingSystems != null
|
|
2155
|
-
? deserializeAws_json1_1OperatingSystemList(output.operatingSystems, context)
|
|
2156
|
-
: undefined,
|
|
2136
|
+
operatingSystems: output.operatingSystems != null ? de_OperatingSystemList(output.operatingSystems, context) : undefined,
|
|
2157
2137
|
usageText: __expectString(output.usageText),
|
|
2158
2138
|
};
|
|
2159
2139
|
};
|
|
2160
|
-
const
|
|
2140
|
+
const de_RepositoryCatalogDataNotFoundException = (output, context) => {
|
|
2161
2141
|
return {
|
|
2162
2142
|
message: __expectString(output.message),
|
|
2163
2143
|
};
|
|
2164
2144
|
};
|
|
2165
|
-
const
|
|
2145
|
+
const de_RepositoryList = (output, context) => {
|
|
2166
2146
|
const retVal = (output || [])
|
|
2167
2147
|
.filter((e) => e != null)
|
|
2168
2148
|
.map((entry) => {
|
|
2169
2149
|
if (entry === null) {
|
|
2170
2150
|
return null;
|
|
2171
2151
|
}
|
|
2172
|
-
return
|
|
2152
|
+
return de_Repository(entry, context);
|
|
2173
2153
|
});
|
|
2174
2154
|
return retVal;
|
|
2175
2155
|
};
|
|
2176
|
-
const
|
|
2156
|
+
const de_RepositoryNotEmptyException = (output, context) => {
|
|
2177
2157
|
return {
|
|
2178
2158
|
message: __expectString(output.message),
|
|
2179
2159
|
};
|
|
2180
2160
|
};
|
|
2181
|
-
const
|
|
2161
|
+
const de_RepositoryNotFoundException = (output, context) => {
|
|
2182
2162
|
return {
|
|
2183
2163
|
message: __expectString(output.message),
|
|
2184
2164
|
};
|
|
2185
2165
|
};
|
|
2186
|
-
const
|
|
2166
|
+
const de_RepositoryPolicyNotFoundException = (output, context) => {
|
|
2187
2167
|
return {
|
|
2188
2168
|
message: __expectString(output.message),
|
|
2189
2169
|
};
|
|
2190
2170
|
};
|
|
2191
|
-
const
|
|
2171
|
+
const de_ServerException = (output, context) => {
|
|
2192
2172
|
return {
|
|
2193
2173
|
message: __expectString(output.message),
|
|
2194
2174
|
};
|
|
2195
2175
|
};
|
|
2196
|
-
const
|
|
2176
|
+
const de_SetRepositoryPolicyResponse = (output, context) => {
|
|
2197
2177
|
return {
|
|
2198
2178
|
policyText: __expectString(output.policyText),
|
|
2199
2179
|
registryId: __expectString(output.registryId),
|
|
2200
2180
|
repositoryName: __expectString(output.repositoryName),
|
|
2201
2181
|
};
|
|
2202
2182
|
};
|
|
2203
|
-
const
|
|
2183
|
+
const de_Tag = (output, context) => {
|
|
2204
2184
|
return {
|
|
2205
2185
|
Key: __expectString(output.Key),
|
|
2206
2186
|
Value: __expectString(output.Value),
|
|
2207
2187
|
};
|
|
2208
2188
|
};
|
|
2209
|
-
const
|
|
2189
|
+
const de_TagList = (output, context) => {
|
|
2210
2190
|
const retVal = (output || [])
|
|
2211
2191
|
.filter((e) => e != null)
|
|
2212
2192
|
.map((entry) => {
|
|
2213
2193
|
if (entry === null) {
|
|
2214
2194
|
return null;
|
|
2215
2195
|
}
|
|
2216
|
-
return
|
|
2196
|
+
return de_Tag(entry, context);
|
|
2217
2197
|
});
|
|
2218
2198
|
return retVal;
|
|
2219
2199
|
};
|
|
2220
|
-
const
|
|
2200
|
+
const de_TagResourceResponse = (output, context) => {
|
|
2221
2201
|
return {};
|
|
2222
2202
|
};
|
|
2223
|
-
const
|
|
2203
|
+
const de_TooManyTagsException = (output, context) => {
|
|
2224
2204
|
return {
|
|
2225
2205
|
message: __expectString(output.message),
|
|
2226
2206
|
};
|
|
2227
2207
|
};
|
|
2228
|
-
const
|
|
2208
|
+
const de_UnsupportedCommandException = (output, context) => {
|
|
2229
2209
|
return {
|
|
2230
2210
|
message: __expectString(output.message),
|
|
2231
2211
|
};
|
|
2232
2212
|
};
|
|
2233
|
-
const
|
|
2213
|
+
const de_UntagResourceResponse = (output, context) => {
|
|
2234
2214
|
return {};
|
|
2235
2215
|
};
|
|
2236
|
-
const
|
|
2216
|
+
const de_UploadLayerPartResponse = (output, context) => {
|
|
2237
2217
|
return {
|
|
2238
2218
|
lastByteReceived: __expectLong(output.lastByteReceived),
|
|
2239
2219
|
registryId: __expectString(output.registryId),
|
|
@@ -2241,7 +2221,7 @@ const deserializeAws_json1_1UploadLayerPartResponse = (output, context) => {
|
|
|
2241
2221
|
uploadId: __expectString(output.uploadId),
|
|
2242
2222
|
};
|
|
2243
2223
|
};
|
|
2244
|
-
const
|
|
2224
|
+
const de_UploadNotFoundException = (output, context) => {
|
|
2245
2225
|
return {
|
|
2246
2226
|
message: __expectString(output.message),
|
|
2247
2227
|
};
|