@aws-sdk/client-ecr 3.490.0 → 3.496.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/ECR.js +1 -97
- package/dist-cjs/ECRClient.js +1 -43
- package/dist-cjs/commands/BatchCheckLayerAvailabilityCommand.js +1 -28
- package/dist-cjs/commands/BatchDeleteImageCommand.js +1 -28
- package/dist-cjs/commands/BatchGetImageCommand.js +1 -28
- package/dist-cjs/commands/BatchGetRepositoryScanningConfigurationCommand.js +1 -28
- package/dist-cjs/commands/CompleteLayerUploadCommand.js +1 -28
- package/dist-cjs/commands/CreatePullThroughCacheRuleCommand.js +1 -28
- package/dist-cjs/commands/CreateRepositoryCommand.js +1 -28
- package/dist-cjs/commands/DeleteLifecyclePolicyCommand.js +1 -28
- package/dist-cjs/commands/DeletePullThroughCacheRuleCommand.js +1 -28
- package/dist-cjs/commands/DeleteRegistryPolicyCommand.js +1 -28
- package/dist-cjs/commands/DeleteRepositoryCommand.js +1 -28
- package/dist-cjs/commands/DeleteRepositoryPolicyCommand.js +1 -28
- package/dist-cjs/commands/DescribeImageReplicationStatusCommand.js +1 -28
- package/dist-cjs/commands/DescribeImageScanFindingsCommand.js +1 -28
- package/dist-cjs/commands/DescribeImagesCommand.js +1 -28
- package/dist-cjs/commands/DescribePullThroughCacheRulesCommand.js +1 -28
- package/dist-cjs/commands/DescribeRegistryCommand.js +1 -28
- package/dist-cjs/commands/DescribeRepositoriesCommand.js +1 -28
- package/dist-cjs/commands/GetAuthorizationTokenCommand.js +1 -28
- package/dist-cjs/commands/GetDownloadUrlForLayerCommand.js +1 -28
- package/dist-cjs/commands/GetLifecyclePolicyCommand.js +1 -28
- package/dist-cjs/commands/GetLifecyclePolicyPreviewCommand.js +1 -28
- package/dist-cjs/commands/GetRegistryPolicyCommand.js +1 -28
- package/dist-cjs/commands/GetRegistryScanningConfigurationCommand.js +1 -28
- package/dist-cjs/commands/GetRepositoryPolicyCommand.js +1 -28
- package/dist-cjs/commands/InitiateLayerUploadCommand.js +1 -28
- package/dist-cjs/commands/ListImagesCommand.js +1 -28
- package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
- package/dist-cjs/commands/PutImageCommand.js +1 -28
- package/dist-cjs/commands/PutImageScanningConfigurationCommand.js +1 -28
- package/dist-cjs/commands/PutImageTagMutabilityCommand.js +1 -28
- package/dist-cjs/commands/PutLifecyclePolicyCommand.js +1 -28
- package/dist-cjs/commands/PutRegistryPolicyCommand.js +1 -28
- package/dist-cjs/commands/PutRegistryScanningConfigurationCommand.js +1 -28
- package/dist-cjs/commands/PutReplicationConfigurationCommand.js +1 -28
- package/dist-cjs/commands/SetRepositoryPolicyCommand.js +1 -28
- package/dist-cjs/commands/StartImageScanCommand.js +1 -28
- package/dist-cjs/commands/StartLifecyclePolicyPreviewCommand.js +1 -28
- package/dist-cjs/commands/TagResourceCommand.js +1 -28
- package/dist-cjs/commands/UntagResourceCommand.js +1 -28
- package/dist-cjs/commands/UpdatePullThroughCacheRuleCommand.js +1 -28
- package/dist-cjs/commands/UploadLayerPartCommand.js +1 -28
- package/dist-cjs/commands/ValidatePullThroughCacheRuleCommand.js +1 -28
- package/dist-cjs/commands/index.js +1 -46
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +4822 -12
- package/dist-cjs/models/ECRServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -595
- package/dist-cjs/pagination/DescribeImageScanFindingsPaginator.js +1 -7
- package/dist-cjs/pagination/DescribeImagesPaginator.js +1 -7
- package/dist-cjs/pagination/DescribePullThroughCacheRulesPaginator.js +1 -7
- package/dist-cjs/pagination/DescribeRepositoriesPaginator.js +1 -7
- package/dist-cjs/pagination/GetLifecyclePolicyPreviewPaginator.js +1 -7
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/ListImagesPaginator.js +1 -7
- package/dist-cjs/pagination/index.js +1 -10
- package/dist-cjs/protocols/Aws_json1_1.js +1 -2934
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/dist-cjs/waiters/index.js +1 -5
- package/dist-cjs/waiters/waitForImageScanComplete.js +1 -45
- package/dist-cjs/waiters/waitForLifecyclePolicyPreviewComplete.js +1 -45
- package/package.json +41 -41
package/dist-cjs/index.js
CHANGED
|
@@ -1,13 +1,4823 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.defineProperty
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
|
|
21
|
+
// src/index.ts
|
|
22
|
+
var src_exports = {};
|
|
23
|
+
__export(src_exports, {
|
|
24
|
+
BatchCheckLayerAvailabilityCommand: () => BatchCheckLayerAvailabilityCommand,
|
|
25
|
+
BatchDeleteImageCommand: () => BatchDeleteImageCommand,
|
|
26
|
+
BatchGetImageCommand: () => BatchGetImageCommand,
|
|
27
|
+
BatchGetRepositoryScanningConfigurationCommand: () => BatchGetRepositoryScanningConfigurationCommand,
|
|
28
|
+
CompleteLayerUploadCommand: () => CompleteLayerUploadCommand,
|
|
29
|
+
CreatePullThroughCacheRuleCommand: () => CreatePullThroughCacheRuleCommand,
|
|
30
|
+
CreateRepositoryCommand: () => CreateRepositoryCommand,
|
|
31
|
+
DeleteLifecyclePolicyCommand: () => DeleteLifecyclePolicyCommand,
|
|
32
|
+
DeletePullThroughCacheRuleCommand: () => DeletePullThroughCacheRuleCommand,
|
|
33
|
+
DeleteRegistryPolicyCommand: () => DeleteRegistryPolicyCommand,
|
|
34
|
+
DeleteRepositoryCommand: () => DeleteRepositoryCommand,
|
|
35
|
+
DeleteRepositoryPolicyCommand: () => DeleteRepositoryPolicyCommand,
|
|
36
|
+
DescribeImageReplicationStatusCommand: () => DescribeImageReplicationStatusCommand,
|
|
37
|
+
DescribeImageScanFindingsCommand: () => DescribeImageScanFindingsCommand,
|
|
38
|
+
DescribeImagesCommand: () => DescribeImagesCommand,
|
|
39
|
+
DescribePullThroughCacheRulesCommand: () => DescribePullThroughCacheRulesCommand,
|
|
40
|
+
DescribeRegistryCommand: () => DescribeRegistryCommand,
|
|
41
|
+
DescribeRepositoriesCommand: () => DescribeRepositoriesCommand,
|
|
42
|
+
ECR: () => ECR,
|
|
43
|
+
ECRClient: () => ECRClient,
|
|
44
|
+
ECRServiceException: () => ECRServiceException,
|
|
45
|
+
EmptyUploadException: () => EmptyUploadException,
|
|
46
|
+
EncryptionType: () => EncryptionType,
|
|
47
|
+
FindingSeverity: () => FindingSeverity,
|
|
48
|
+
GetAuthorizationTokenCommand: () => GetAuthorizationTokenCommand,
|
|
49
|
+
GetDownloadUrlForLayerCommand: () => GetDownloadUrlForLayerCommand,
|
|
50
|
+
GetLifecyclePolicyCommand: () => GetLifecyclePolicyCommand,
|
|
51
|
+
GetLifecyclePolicyPreviewCommand: () => GetLifecyclePolicyPreviewCommand,
|
|
52
|
+
GetRegistryPolicyCommand: () => GetRegistryPolicyCommand,
|
|
53
|
+
GetRegistryScanningConfigurationCommand: () => GetRegistryScanningConfigurationCommand,
|
|
54
|
+
GetRepositoryPolicyCommand: () => GetRepositoryPolicyCommand,
|
|
55
|
+
ImageActionType: () => ImageActionType,
|
|
56
|
+
ImageAlreadyExistsException: () => ImageAlreadyExistsException,
|
|
57
|
+
ImageDigestDoesNotMatchException: () => ImageDigestDoesNotMatchException,
|
|
58
|
+
ImageFailureCode: () => ImageFailureCode,
|
|
59
|
+
ImageNotFoundException: () => ImageNotFoundException,
|
|
60
|
+
ImageTagAlreadyExistsException: () => ImageTagAlreadyExistsException,
|
|
61
|
+
ImageTagMutability: () => ImageTagMutability,
|
|
62
|
+
InitiateLayerUploadCommand: () => InitiateLayerUploadCommand,
|
|
63
|
+
InvalidLayerException: () => InvalidLayerException,
|
|
64
|
+
InvalidLayerPartException: () => InvalidLayerPartException,
|
|
65
|
+
InvalidParameterException: () => InvalidParameterException,
|
|
66
|
+
InvalidTagParameterException: () => InvalidTagParameterException,
|
|
67
|
+
KmsException: () => KmsException,
|
|
68
|
+
LayerAlreadyExistsException: () => LayerAlreadyExistsException,
|
|
69
|
+
LayerAvailability: () => LayerAvailability,
|
|
70
|
+
LayerFailureCode: () => LayerFailureCode,
|
|
71
|
+
LayerInaccessibleException: () => LayerInaccessibleException,
|
|
72
|
+
LayerPartTooSmallException: () => LayerPartTooSmallException,
|
|
73
|
+
LayersNotFoundException: () => LayersNotFoundException,
|
|
74
|
+
LifecyclePolicyNotFoundException: () => LifecyclePolicyNotFoundException,
|
|
75
|
+
LifecyclePolicyPreviewInProgressException: () => LifecyclePolicyPreviewInProgressException,
|
|
76
|
+
LifecyclePolicyPreviewNotFoundException: () => LifecyclePolicyPreviewNotFoundException,
|
|
77
|
+
LifecyclePolicyPreviewStatus: () => LifecyclePolicyPreviewStatus,
|
|
78
|
+
LimitExceededException: () => LimitExceededException,
|
|
79
|
+
ListImagesCommand: () => ListImagesCommand,
|
|
80
|
+
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
81
|
+
PullThroughCacheRuleAlreadyExistsException: () => PullThroughCacheRuleAlreadyExistsException,
|
|
82
|
+
PullThroughCacheRuleNotFoundException: () => PullThroughCacheRuleNotFoundException,
|
|
83
|
+
PutImageCommand: () => PutImageCommand,
|
|
84
|
+
PutImageScanningConfigurationCommand: () => PutImageScanningConfigurationCommand,
|
|
85
|
+
PutImageTagMutabilityCommand: () => PutImageTagMutabilityCommand,
|
|
86
|
+
PutLifecyclePolicyCommand: () => PutLifecyclePolicyCommand,
|
|
87
|
+
PutRegistryPolicyCommand: () => PutRegistryPolicyCommand,
|
|
88
|
+
PutRegistryScanningConfigurationCommand: () => PutRegistryScanningConfigurationCommand,
|
|
89
|
+
PutReplicationConfigurationCommand: () => PutReplicationConfigurationCommand,
|
|
90
|
+
ReferencedImagesNotFoundException: () => ReferencedImagesNotFoundException,
|
|
91
|
+
RegistryPolicyNotFoundException: () => RegistryPolicyNotFoundException,
|
|
92
|
+
ReplicationStatus: () => ReplicationStatus,
|
|
93
|
+
RepositoryAlreadyExistsException: () => RepositoryAlreadyExistsException,
|
|
94
|
+
RepositoryFilterType: () => RepositoryFilterType,
|
|
95
|
+
RepositoryNotEmptyException: () => RepositoryNotEmptyException,
|
|
96
|
+
RepositoryNotFoundException: () => RepositoryNotFoundException,
|
|
97
|
+
RepositoryPolicyNotFoundException: () => RepositoryPolicyNotFoundException,
|
|
98
|
+
ScanFrequency: () => ScanFrequency,
|
|
99
|
+
ScanNotFoundException: () => ScanNotFoundException,
|
|
100
|
+
ScanStatus: () => ScanStatus,
|
|
101
|
+
ScanType: () => ScanType,
|
|
102
|
+
ScanningConfigurationFailureCode: () => ScanningConfigurationFailureCode,
|
|
103
|
+
ScanningRepositoryFilterType: () => ScanningRepositoryFilterType,
|
|
104
|
+
SecretNotFoundException: () => SecretNotFoundException,
|
|
105
|
+
ServerException: () => ServerException,
|
|
106
|
+
SetRepositoryPolicyCommand: () => SetRepositoryPolicyCommand,
|
|
107
|
+
StartImageScanCommand: () => StartImageScanCommand,
|
|
108
|
+
StartLifecyclePolicyPreviewCommand: () => StartLifecyclePolicyPreviewCommand,
|
|
109
|
+
TagResourceCommand: () => TagResourceCommand,
|
|
110
|
+
TagStatus: () => TagStatus,
|
|
111
|
+
TooManyTagsException: () => TooManyTagsException,
|
|
112
|
+
UnableToAccessSecretException: () => UnableToAccessSecretException,
|
|
113
|
+
UnableToDecryptSecretValueException: () => UnableToDecryptSecretValueException,
|
|
114
|
+
UnableToGetUpstreamImageException: () => UnableToGetUpstreamImageException,
|
|
115
|
+
UnableToGetUpstreamLayerException: () => UnableToGetUpstreamLayerException,
|
|
116
|
+
UnsupportedImageTypeException: () => UnsupportedImageTypeException,
|
|
117
|
+
UnsupportedUpstreamRegistryException: () => UnsupportedUpstreamRegistryException,
|
|
118
|
+
UntagResourceCommand: () => UntagResourceCommand,
|
|
119
|
+
UpdatePullThroughCacheRuleCommand: () => UpdatePullThroughCacheRuleCommand,
|
|
120
|
+
UploadLayerPartCommand: () => UploadLayerPartCommand,
|
|
121
|
+
UploadNotFoundException: () => UploadNotFoundException,
|
|
122
|
+
UpstreamRegistry: () => UpstreamRegistry,
|
|
123
|
+
ValidatePullThroughCacheRuleCommand: () => ValidatePullThroughCacheRuleCommand,
|
|
124
|
+
ValidationException: () => ValidationException,
|
|
125
|
+
__Client: () => import_smithy_client.Client,
|
|
126
|
+
paginateDescribeImageScanFindings: () => paginateDescribeImageScanFindings,
|
|
127
|
+
paginateDescribeImages: () => paginateDescribeImages,
|
|
128
|
+
paginateDescribePullThroughCacheRules: () => paginateDescribePullThroughCacheRules,
|
|
129
|
+
paginateDescribeRepositories: () => paginateDescribeRepositories,
|
|
130
|
+
paginateGetLifecyclePolicyPreview: () => paginateGetLifecyclePolicyPreview,
|
|
131
|
+
paginateListImages: () => paginateListImages,
|
|
132
|
+
waitForImageScanComplete: () => waitForImageScanComplete,
|
|
133
|
+
waitForLifecyclePolicyPreviewComplete: () => waitForLifecyclePolicyPreviewComplete,
|
|
134
|
+
waitUntilImageScanComplete: () => waitUntilImageScanComplete,
|
|
135
|
+
waitUntilLifecyclePolicyPreviewComplete: () => waitUntilLifecyclePolicyPreviewComplete
|
|
136
|
+
});
|
|
137
|
+
module.exports = __toCommonJS(src_exports);
|
|
138
|
+
|
|
139
|
+
// src/ECRClient.ts
|
|
140
|
+
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
141
|
+
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
142
|
+
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
143
|
+
var import_middleware_signing = require("@aws-sdk/middleware-signing");
|
|
144
|
+
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
145
|
+
var import_config_resolver = require("@smithy/config-resolver");
|
|
146
|
+
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
147
|
+
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
148
|
+
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
// src/endpoint/EndpointParameters.ts
|
|
152
|
+
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
153
|
+
return {
|
|
154
|
+
...options,
|
|
155
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
156
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
157
|
+
defaultSigningName: "ecr"
|
|
158
|
+
};
|
|
159
|
+
}, "resolveClientEndpointParameters");
|
|
160
|
+
var commonParams = {
|
|
161
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
162
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
163
|
+
Region: { type: "builtInParams", name: "region" },
|
|
164
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
165
|
+
};
|
|
166
|
+
|
|
167
|
+
// src/ECRClient.ts
|
|
168
|
+
var import_runtimeConfig = require("././runtimeConfig");
|
|
169
|
+
|
|
170
|
+
// src/runtimeExtensions.ts
|
|
171
|
+
var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
|
|
172
|
+
var import_protocol_http = require("@smithy/protocol-http");
|
|
173
|
+
var import_smithy_client = require("@smithy/smithy-client");
|
|
174
|
+
var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
|
|
175
|
+
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
176
|
+
const extensionConfiguration = {
|
|
177
|
+
...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
|
178
|
+
...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
179
|
+
...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
|
|
180
|
+
};
|
|
181
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
182
|
+
return {
|
|
183
|
+
...runtimeConfig,
|
|
184
|
+
...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
185
|
+
...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
186
|
+
...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
|
|
187
|
+
};
|
|
188
|
+
}, "resolveRuntimeExtensions");
|
|
189
|
+
|
|
190
|
+
// src/ECRClient.ts
|
|
191
|
+
var _ECRClient = class _ECRClient extends import_smithy_client.Client {
|
|
192
|
+
constructor(...[configuration]) {
|
|
193
|
+
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
194
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
195
|
+
const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
|
|
196
|
+
const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
|
|
197
|
+
const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
|
|
198
|
+
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
199
|
+
const _config_6 = (0, import_middleware_signing.resolveAwsAuthConfig)(_config_5);
|
|
200
|
+
const _config_7 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_6);
|
|
201
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
202
|
+
super(_config_8);
|
|
203
|
+
this.config = _config_8;
|
|
204
|
+
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
205
|
+
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
206
|
+
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
207
|
+
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
208
|
+
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
209
|
+
this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
|
|
210
|
+
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
211
|
+
}
|
|
212
|
+
/**
|
|
213
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
214
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
215
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
216
|
+
*/
|
|
217
|
+
destroy() {
|
|
218
|
+
super.destroy();
|
|
219
|
+
}
|
|
220
|
+
};
|
|
221
|
+
__name(_ECRClient, "ECRClient");
|
|
222
|
+
var ECRClient = _ECRClient;
|
|
223
|
+
|
|
224
|
+
// src/ECR.ts
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
// src/commands/BatchCheckLayerAvailabilityCommand.ts
|
|
228
|
+
|
|
229
|
+
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
230
|
+
|
|
231
|
+
var import_types = require("@smithy/types");
|
|
232
|
+
|
|
233
|
+
// src/protocols/Aws_json1_1.ts
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
// src/models/ECRServiceException.ts
|
|
238
|
+
|
|
239
|
+
var _ECRServiceException = class _ECRServiceException extends import_smithy_client.ServiceException {
|
|
240
|
+
/**
|
|
241
|
+
* @internal
|
|
242
|
+
*/
|
|
243
|
+
constructor(options) {
|
|
244
|
+
super(options);
|
|
245
|
+
Object.setPrototypeOf(this, _ECRServiceException.prototype);
|
|
246
|
+
}
|
|
247
|
+
};
|
|
248
|
+
__name(_ECRServiceException, "ECRServiceException");
|
|
249
|
+
var ECRServiceException = _ECRServiceException;
|
|
250
|
+
|
|
251
|
+
// src/models/models_0.ts
|
|
252
|
+
var LayerFailureCode = {
|
|
253
|
+
InvalidLayerDigest: "InvalidLayerDigest",
|
|
254
|
+
MissingLayerDigest: "MissingLayerDigest"
|
|
255
|
+
};
|
|
256
|
+
var LayerAvailability = {
|
|
257
|
+
AVAILABLE: "AVAILABLE",
|
|
258
|
+
UNAVAILABLE: "UNAVAILABLE"
|
|
259
|
+
};
|
|
260
|
+
var _InvalidParameterException = class _InvalidParameterException extends ECRServiceException {
|
|
261
|
+
/**
|
|
262
|
+
* @internal
|
|
263
|
+
*/
|
|
264
|
+
constructor(opts) {
|
|
265
|
+
super({
|
|
266
|
+
name: "InvalidParameterException",
|
|
267
|
+
$fault: "client",
|
|
268
|
+
...opts
|
|
269
|
+
});
|
|
270
|
+
this.name = "InvalidParameterException";
|
|
271
|
+
this.$fault = "client";
|
|
272
|
+
Object.setPrototypeOf(this, _InvalidParameterException.prototype);
|
|
273
|
+
}
|
|
274
|
+
};
|
|
275
|
+
__name(_InvalidParameterException, "InvalidParameterException");
|
|
276
|
+
var InvalidParameterException = _InvalidParameterException;
|
|
277
|
+
var _RepositoryNotFoundException = class _RepositoryNotFoundException extends ECRServiceException {
|
|
278
|
+
/**
|
|
279
|
+
* @internal
|
|
280
|
+
*/
|
|
281
|
+
constructor(opts) {
|
|
282
|
+
super({
|
|
283
|
+
name: "RepositoryNotFoundException",
|
|
284
|
+
$fault: "client",
|
|
285
|
+
...opts
|
|
286
|
+
});
|
|
287
|
+
this.name = "RepositoryNotFoundException";
|
|
288
|
+
this.$fault = "client";
|
|
289
|
+
Object.setPrototypeOf(this, _RepositoryNotFoundException.prototype);
|
|
290
|
+
}
|
|
291
|
+
};
|
|
292
|
+
__name(_RepositoryNotFoundException, "RepositoryNotFoundException");
|
|
293
|
+
var RepositoryNotFoundException = _RepositoryNotFoundException;
|
|
294
|
+
var _ServerException = class _ServerException extends ECRServiceException {
|
|
295
|
+
/**
|
|
296
|
+
* @internal
|
|
297
|
+
*/
|
|
298
|
+
constructor(opts) {
|
|
299
|
+
super({
|
|
300
|
+
name: "ServerException",
|
|
301
|
+
$fault: "server",
|
|
302
|
+
...opts
|
|
303
|
+
});
|
|
304
|
+
this.name = "ServerException";
|
|
305
|
+
this.$fault = "server";
|
|
306
|
+
Object.setPrototypeOf(this, _ServerException.prototype);
|
|
307
|
+
}
|
|
308
|
+
};
|
|
309
|
+
__name(_ServerException, "ServerException");
|
|
310
|
+
var ServerException = _ServerException;
|
|
311
|
+
var ImageFailureCode = {
|
|
312
|
+
ImageNotFound: "ImageNotFound",
|
|
313
|
+
ImageReferencedByManifestList: "ImageReferencedByManifestList",
|
|
314
|
+
ImageTagDoesNotMatchDigest: "ImageTagDoesNotMatchDigest",
|
|
315
|
+
InvalidImageDigest: "InvalidImageDigest",
|
|
316
|
+
InvalidImageTag: "InvalidImageTag",
|
|
317
|
+
KmsError: "KmsError",
|
|
318
|
+
MissingDigestAndTag: "MissingDigestAndTag",
|
|
319
|
+
UpstreamAccessDenied: "UpstreamAccessDenied",
|
|
320
|
+
UpstreamTooManyRequests: "UpstreamTooManyRequests",
|
|
321
|
+
UpstreamUnavailable: "UpstreamUnavailable"
|
|
322
|
+
};
|
|
323
|
+
var _LimitExceededException = class _LimitExceededException extends ECRServiceException {
|
|
324
|
+
/**
|
|
325
|
+
* @internal
|
|
326
|
+
*/
|
|
327
|
+
constructor(opts) {
|
|
328
|
+
super({
|
|
329
|
+
name: "LimitExceededException",
|
|
330
|
+
$fault: "client",
|
|
331
|
+
...opts
|
|
332
|
+
});
|
|
333
|
+
this.name = "LimitExceededException";
|
|
334
|
+
this.$fault = "client";
|
|
335
|
+
Object.setPrototypeOf(this, _LimitExceededException.prototype);
|
|
336
|
+
}
|
|
337
|
+
};
|
|
338
|
+
__name(_LimitExceededException, "LimitExceededException");
|
|
339
|
+
var LimitExceededException = _LimitExceededException;
|
|
340
|
+
var _UnableToGetUpstreamImageException = class _UnableToGetUpstreamImageException extends ECRServiceException {
|
|
341
|
+
/**
|
|
342
|
+
* @internal
|
|
343
|
+
*/
|
|
344
|
+
constructor(opts) {
|
|
345
|
+
super({
|
|
346
|
+
name: "UnableToGetUpstreamImageException",
|
|
347
|
+
$fault: "client",
|
|
348
|
+
...opts
|
|
349
|
+
});
|
|
350
|
+
this.name = "UnableToGetUpstreamImageException";
|
|
351
|
+
this.$fault = "client";
|
|
352
|
+
Object.setPrototypeOf(this, _UnableToGetUpstreamImageException.prototype);
|
|
353
|
+
}
|
|
354
|
+
};
|
|
355
|
+
__name(_UnableToGetUpstreamImageException, "UnableToGetUpstreamImageException");
|
|
356
|
+
var UnableToGetUpstreamImageException = _UnableToGetUpstreamImageException;
|
|
357
|
+
var ScanningConfigurationFailureCode = {
|
|
358
|
+
REPOSITORY_NOT_FOUND: "REPOSITORY_NOT_FOUND"
|
|
359
|
+
};
|
|
360
|
+
var ScanningRepositoryFilterType = {
|
|
361
|
+
WILDCARD: "WILDCARD"
|
|
362
|
+
};
|
|
363
|
+
var ScanFrequency = {
|
|
364
|
+
CONTINUOUS_SCAN: "CONTINUOUS_SCAN",
|
|
365
|
+
MANUAL: "MANUAL",
|
|
366
|
+
SCAN_ON_PUSH: "SCAN_ON_PUSH"
|
|
367
|
+
};
|
|
368
|
+
var _ValidationException = class _ValidationException extends ECRServiceException {
|
|
369
|
+
/**
|
|
370
|
+
* @internal
|
|
371
|
+
*/
|
|
372
|
+
constructor(opts) {
|
|
373
|
+
super({
|
|
374
|
+
name: "ValidationException",
|
|
375
|
+
$fault: "client",
|
|
376
|
+
...opts
|
|
377
|
+
});
|
|
378
|
+
this.name = "ValidationException";
|
|
379
|
+
this.$fault = "client";
|
|
380
|
+
Object.setPrototypeOf(this, _ValidationException.prototype);
|
|
381
|
+
}
|
|
382
|
+
};
|
|
383
|
+
__name(_ValidationException, "ValidationException");
|
|
384
|
+
var ValidationException = _ValidationException;
|
|
385
|
+
var _EmptyUploadException = class _EmptyUploadException extends ECRServiceException {
|
|
386
|
+
/**
|
|
387
|
+
* @internal
|
|
388
|
+
*/
|
|
389
|
+
constructor(opts) {
|
|
390
|
+
super({
|
|
391
|
+
name: "EmptyUploadException",
|
|
392
|
+
$fault: "client",
|
|
393
|
+
...opts
|
|
394
|
+
});
|
|
395
|
+
this.name = "EmptyUploadException";
|
|
396
|
+
this.$fault = "client";
|
|
397
|
+
Object.setPrototypeOf(this, _EmptyUploadException.prototype);
|
|
398
|
+
}
|
|
399
|
+
};
|
|
400
|
+
__name(_EmptyUploadException, "EmptyUploadException");
|
|
401
|
+
var EmptyUploadException = _EmptyUploadException;
|
|
402
|
+
var _InvalidLayerException = class _InvalidLayerException extends ECRServiceException {
|
|
403
|
+
/**
|
|
404
|
+
* @internal
|
|
405
|
+
*/
|
|
406
|
+
constructor(opts) {
|
|
407
|
+
super({
|
|
408
|
+
name: "InvalidLayerException",
|
|
409
|
+
$fault: "client",
|
|
410
|
+
...opts
|
|
411
|
+
});
|
|
412
|
+
this.name = "InvalidLayerException";
|
|
413
|
+
this.$fault = "client";
|
|
414
|
+
Object.setPrototypeOf(this, _InvalidLayerException.prototype);
|
|
415
|
+
}
|
|
416
|
+
};
|
|
417
|
+
__name(_InvalidLayerException, "InvalidLayerException");
|
|
418
|
+
var InvalidLayerException = _InvalidLayerException;
|
|
419
|
+
var _KmsException = class _KmsException extends ECRServiceException {
|
|
420
|
+
/**
|
|
421
|
+
* @internal
|
|
422
|
+
*/
|
|
423
|
+
constructor(opts) {
|
|
424
|
+
super({
|
|
425
|
+
name: "KmsException",
|
|
426
|
+
$fault: "client",
|
|
427
|
+
...opts
|
|
428
|
+
});
|
|
429
|
+
this.name = "KmsException";
|
|
430
|
+
this.$fault = "client";
|
|
431
|
+
Object.setPrototypeOf(this, _KmsException.prototype);
|
|
432
|
+
this.kmsError = opts.kmsError;
|
|
433
|
+
}
|
|
434
|
+
};
|
|
435
|
+
__name(_KmsException, "KmsException");
|
|
436
|
+
var KmsException = _KmsException;
|
|
437
|
+
var _LayerAlreadyExistsException = class _LayerAlreadyExistsException extends ECRServiceException {
|
|
438
|
+
/**
|
|
439
|
+
* @internal
|
|
440
|
+
*/
|
|
441
|
+
constructor(opts) {
|
|
442
|
+
super({
|
|
443
|
+
name: "LayerAlreadyExistsException",
|
|
444
|
+
$fault: "client",
|
|
445
|
+
...opts
|
|
446
|
+
});
|
|
447
|
+
this.name = "LayerAlreadyExistsException";
|
|
448
|
+
this.$fault = "client";
|
|
449
|
+
Object.setPrototypeOf(this, _LayerAlreadyExistsException.prototype);
|
|
450
|
+
}
|
|
451
|
+
};
|
|
452
|
+
__name(_LayerAlreadyExistsException, "LayerAlreadyExistsException");
|
|
453
|
+
var LayerAlreadyExistsException = _LayerAlreadyExistsException;
|
|
454
|
+
var _LayerPartTooSmallException = class _LayerPartTooSmallException extends ECRServiceException {
|
|
455
|
+
/**
|
|
456
|
+
* @internal
|
|
457
|
+
*/
|
|
458
|
+
constructor(opts) {
|
|
459
|
+
super({
|
|
460
|
+
name: "LayerPartTooSmallException",
|
|
461
|
+
$fault: "client",
|
|
462
|
+
...opts
|
|
463
|
+
});
|
|
464
|
+
this.name = "LayerPartTooSmallException";
|
|
465
|
+
this.$fault = "client";
|
|
466
|
+
Object.setPrototypeOf(this, _LayerPartTooSmallException.prototype);
|
|
467
|
+
}
|
|
468
|
+
};
|
|
469
|
+
__name(_LayerPartTooSmallException, "LayerPartTooSmallException");
|
|
470
|
+
var LayerPartTooSmallException = _LayerPartTooSmallException;
|
|
471
|
+
var _UploadNotFoundException = class _UploadNotFoundException extends ECRServiceException {
|
|
472
|
+
/**
|
|
473
|
+
* @internal
|
|
474
|
+
*/
|
|
475
|
+
constructor(opts) {
|
|
476
|
+
super({
|
|
477
|
+
name: "UploadNotFoundException",
|
|
478
|
+
$fault: "client",
|
|
479
|
+
...opts
|
|
480
|
+
});
|
|
481
|
+
this.name = "UploadNotFoundException";
|
|
482
|
+
this.$fault = "client";
|
|
483
|
+
Object.setPrototypeOf(this, _UploadNotFoundException.prototype);
|
|
484
|
+
}
|
|
485
|
+
};
|
|
486
|
+
__name(_UploadNotFoundException, "UploadNotFoundException");
|
|
487
|
+
var UploadNotFoundException = _UploadNotFoundException;
|
|
488
|
+
var UpstreamRegistry = {
|
|
489
|
+
AzureContainerRegistry: "azure-container-registry",
|
|
490
|
+
DockerHub: "docker-hub",
|
|
491
|
+
EcrPublic: "ecr-public",
|
|
492
|
+
GitHubContainerRegistry: "github-container-registry",
|
|
493
|
+
K8s: "k8s",
|
|
494
|
+
Quay: "quay"
|
|
495
|
+
};
|
|
496
|
+
var _PullThroughCacheRuleAlreadyExistsException = class _PullThroughCacheRuleAlreadyExistsException extends ECRServiceException {
|
|
497
|
+
/**
|
|
498
|
+
* @internal
|
|
499
|
+
*/
|
|
500
|
+
constructor(opts) {
|
|
501
|
+
super({
|
|
502
|
+
name: "PullThroughCacheRuleAlreadyExistsException",
|
|
503
|
+
$fault: "client",
|
|
504
|
+
...opts
|
|
505
|
+
});
|
|
506
|
+
this.name = "PullThroughCacheRuleAlreadyExistsException";
|
|
507
|
+
this.$fault = "client";
|
|
508
|
+
Object.setPrototypeOf(this, _PullThroughCacheRuleAlreadyExistsException.prototype);
|
|
509
|
+
}
|
|
510
|
+
};
|
|
511
|
+
__name(_PullThroughCacheRuleAlreadyExistsException, "PullThroughCacheRuleAlreadyExistsException");
|
|
512
|
+
var PullThroughCacheRuleAlreadyExistsException = _PullThroughCacheRuleAlreadyExistsException;
|
|
513
|
+
var _SecretNotFoundException = class _SecretNotFoundException extends ECRServiceException {
|
|
514
|
+
/**
|
|
515
|
+
* @internal
|
|
516
|
+
*/
|
|
517
|
+
constructor(opts) {
|
|
518
|
+
super({
|
|
519
|
+
name: "SecretNotFoundException",
|
|
520
|
+
$fault: "client",
|
|
521
|
+
...opts
|
|
522
|
+
});
|
|
523
|
+
this.name = "SecretNotFoundException";
|
|
524
|
+
this.$fault = "client";
|
|
525
|
+
Object.setPrototypeOf(this, _SecretNotFoundException.prototype);
|
|
526
|
+
}
|
|
527
|
+
};
|
|
528
|
+
__name(_SecretNotFoundException, "SecretNotFoundException");
|
|
529
|
+
var SecretNotFoundException = _SecretNotFoundException;
|
|
530
|
+
var _UnableToAccessSecretException = class _UnableToAccessSecretException extends ECRServiceException {
|
|
531
|
+
/**
|
|
532
|
+
* @internal
|
|
533
|
+
*/
|
|
534
|
+
constructor(opts) {
|
|
535
|
+
super({
|
|
536
|
+
name: "UnableToAccessSecretException",
|
|
537
|
+
$fault: "client",
|
|
538
|
+
...opts
|
|
539
|
+
});
|
|
540
|
+
this.name = "UnableToAccessSecretException";
|
|
541
|
+
this.$fault = "client";
|
|
542
|
+
Object.setPrototypeOf(this, _UnableToAccessSecretException.prototype);
|
|
543
|
+
}
|
|
544
|
+
};
|
|
545
|
+
__name(_UnableToAccessSecretException, "UnableToAccessSecretException");
|
|
546
|
+
var UnableToAccessSecretException = _UnableToAccessSecretException;
|
|
547
|
+
var _UnableToDecryptSecretValueException = class _UnableToDecryptSecretValueException extends ECRServiceException {
|
|
548
|
+
/**
|
|
549
|
+
* @internal
|
|
550
|
+
*/
|
|
551
|
+
constructor(opts) {
|
|
552
|
+
super({
|
|
553
|
+
name: "UnableToDecryptSecretValueException",
|
|
554
|
+
$fault: "client",
|
|
555
|
+
...opts
|
|
556
|
+
});
|
|
557
|
+
this.name = "UnableToDecryptSecretValueException";
|
|
558
|
+
this.$fault = "client";
|
|
559
|
+
Object.setPrototypeOf(this, _UnableToDecryptSecretValueException.prototype);
|
|
560
|
+
}
|
|
561
|
+
};
|
|
562
|
+
__name(_UnableToDecryptSecretValueException, "UnableToDecryptSecretValueException");
|
|
563
|
+
var UnableToDecryptSecretValueException = _UnableToDecryptSecretValueException;
|
|
564
|
+
var _UnsupportedUpstreamRegistryException = class _UnsupportedUpstreamRegistryException extends ECRServiceException {
|
|
565
|
+
/**
|
|
566
|
+
* @internal
|
|
567
|
+
*/
|
|
568
|
+
constructor(opts) {
|
|
569
|
+
super({
|
|
570
|
+
name: "UnsupportedUpstreamRegistryException",
|
|
571
|
+
$fault: "client",
|
|
572
|
+
...opts
|
|
573
|
+
});
|
|
574
|
+
this.name = "UnsupportedUpstreamRegistryException";
|
|
575
|
+
this.$fault = "client";
|
|
576
|
+
Object.setPrototypeOf(this, _UnsupportedUpstreamRegistryException.prototype);
|
|
577
|
+
}
|
|
578
|
+
};
|
|
579
|
+
__name(_UnsupportedUpstreamRegistryException, "UnsupportedUpstreamRegistryException");
|
|
580
|
+
var UnsupportedUpstreamRegistryException = _UnsupportedUpstreamRegistryException;
|
|
581
|
+
var EncryptionType = {
|
|
582
|
+
AES256: "AES256",
|
|
583
|
+
KMS: "KMS"
|
|
584
|
+
};
|
|
585
|
+
var ImageTagMutability = {
|
|
586
|
+
IMMUTABLE: "IMMUTABLE",
|
|
587
|
+
MUTABLE: "MUTABLE"
|
|
588
|
+
};
|
|
589
|
+
var _InvalidTagParameterException = class _InvalidTagParameterException extends ECRServiceException {
|
|
590
|
+
/**
|
|
591
|
+
* @internal
|
|
592
|
+
*/
|
|
593
|
+
constructor(opts) {
|
|
594
|
+
super({
|
|
595
|
+
name: "InvalidTagParameterException",
|
|
596
|
+
$fault: "client",
|
|
597
|
+
...opts
|
|
598
|
+
});
|
|
599
|
+
this.name = "InvalidTagParameterException";
|
|
600
|
+
this.$fault = "client";
|
|
601
|
+
Object.setPrototypeOf(this, _InvalidTagParameterException.prototype);
|
|
602
|
+
}
|
|
603
|
+
};
|
|
604
|
+
__name(_InvalidTagParameterException, "InvalidTagParameterException");
|
|
605
|
+
var InvalidTagParameterException = _InvalidTagParameterException;
|
|
606
|
+
var _RepositoryAlreadyExistsException = class _RepositoryAlreadyExistsException extends ECRServiceException {
|
|
607
|
+
/**
|
|
608
|
+
* @internal
|
|
609
|
+
*/
|
|
610
|
+
constructor(opts) {
|
|
611
|
+
super({
|
|
612
|
+
name: "RepositoryAlreadyExistsException",
|
|
613
|
+
$fault: "client",
|
|
614
|
+
...opts
|
|
615
|
+
});
|
|
616
|
+
this.name = "RepositoryAlreadyExistsException";
|
|
617
|
+
this.$fault = "client";
|
|
618
|
+
Object.setPrototypeOf(this, _RepositoryAlreadyExistsException.prototype);
|
|
619
|
+
}
|
|
620
|
+
};
|
|
621
|
+
__name(_RepositoryAlreadyExistsException, "RepositoryAlreadyExistsException");
|
|
622
|
+
var RepositoryAlreadyExistsException = _RepositoryAlreadyExistsException;
|
|
623
|
+
var _TooManyTagsException = class _TooManyTagsException extends ECRServiceException {
|
|
624
|
+
/**
|
|
625
|
+
* @internal
|
|
626
|
+
*/
|
|
627
|
+
constructor(opts) {
|
|
628
|
+
super({
|
|
629
|
+
name: "TooManyTagsException",
|
|
630
|
+
$fault: "client",
|
|
631
|
+
...opts
|
|
632
|
+
});
|
|
633
|
+
this.name = "TooManyTagsException";
|
|
634
|
+
this.$fault = "client";
|
|
635
|
+
Object.setPrototypeOf(this, _TooManyTagsException.prototype);
|
|
636
|
+
}
|
|
637
|
+
};
|
|
638
|
+
__name(_TooManyTagsException, "TooManyTagsException");
|
|
639
|
+
var TooManyTagsException = _TooManyTagsException;
|
|
640
|
+
var _LifecyclePolicyNotFoundException = class _LifecyclePolicyNotFoundException extends ECRServiceException {
|
|
641
|
+
/**
|
|
642
|
+
* @internal
|
|
643
|
+
*/
|
|
644
|
+
constructor(opts) {
|
|
645
|
+
super({
|
|
646
|
+
name: "LifecyclePolicyNotFoundException",
|
|
647
|
+
$fault: "client",
|
|
648
|
+
...opts
|
|
649
|
+
});
|
|
650
|
+
this.name = "LifecyclePolicyNotFoundException";
|
|
651
|
+
this.$fault = "client";
|
|
652
|
+
Object.setPrototypeOf(this, _LifecyclePolicyNotFoundException.prototype);
|
|
653
|
+
}
|
|
654
|
+
};
|
|
655
|
+
__name(_LifecyclePolicyNotFoundException, "LifecyclePolicyNotFoundException");
|
|
656
|
+
var LifecyclePolicyNotFoundException = _LifecyclePolicyNotFoundException;
|
|
657
|
+
var _PullThroughCacheRuleNotFoundException = class _PullThroughCacheRuleNotFoundException extends ECRServiceException {
|
|
658
|
+
/**
|
|
659
|
+
* @internal
|
|
660
|
+
*/
|
|
661
|
+
constructor(opts) {
|
|
662
|
+
super({
|
|
663
|
+
name: "PullThroughCacheRuleNotFoundException",
|
|
664
|
+
$fault: "client",
|
|
665
|
+
...opts
|
|
666
|
+
});
|
|
667
|
+
this.name = "PullThroughCacheRuleNotFoundException";
|
|
668
|
+
this.$fault = "client";
|
|
669
|
+
Object.setPrototypeOf(this, _PullThroughCacheRuleNotFoundException.prototype);
|
|
670
|
+
}
|
|
671
|
+
};
|
|
672
|
+
__name(_PullThroughCacheRuleNotFoundException, "PullThroughCacheRuleNotFoundException");
|
|
673
|
+
var PullThroughCacheRuleNotFoundException = _PullThroughCacheRuleNotFoundException;
|
|
674
|
+
var _RegistryPolicyNotFoundException = class _RegistryPolicyNotFoundException extends ECRServiceException {
|
|
675
|
+
/**
|
|
676
|
+
* @internal
|
|
677
|
+
*/
|
|
678
|
+
constructor(opts) {
|
|
679
|
+
super({
|
|
680
|
+
name: "RegistryPolicyNotFoundException",
|
|
681
|
+
$fault: "client",
|
|
682
|
+
...opts
|
|
683
|
+
});
|
|
684
|
+
this.name = "RegistryPolicyNotFoundException";
|
|
685
|
+
this.$fault = "client";
|
|
686
|
+
Object.setPrototypeOf(this, _RegistryPolicyNotFoundException.prototype);
|
|
687
|
+
}
|
|
688
|
+
};
|
|
689
|
+
__name(_RegistryPolicyNotFoundException, "RegistryPolicyNotFoundException");
|
|
690
|
+
var RegistryPolicyNotFoundException = _RegistryPolicyNotFoundException;
|
|
691
|
+
var _RepositoryNotEmptyException = class _RepositoryNotEmptyException extends ECRServiceException {
|
|
692
|
+
/**
|
|
693
|
+
* @internal
|
|
694
|
+
*/
|
|
695
|
+
constructor(opts) {
|
|
696
|
+
super({
|
|
697
|
+
name: "RepositoryNotEmptyException",
|
|
698
|
+
$fault: "client",
|
|
699
|
+
...opts
|
|
700
|
+
});
|
|
701
|
+
this.name = "RepositoryNotEmptyException";
|
|
702
|
+
this.$fault = "client";
|
|
703
|
+
Object.setPrototypeOf(this, _RepositoryNotEmptyException.prototype);
|
|
704
|
+
}
|
|
705
|
+
};
|
|
706
|
+
__name(_RepositoryNotEmptyException, "RepositoryNotEmptyException");
|
|
707
|
+
var RepositoryNotEmptyException = _RepositoryNotEmptyException;
|
|
708
|
+
var _RepositoryPolicyNotFoundException = class _RepositoryPolicyNotFoundException extends ECRServiceException {
|
|
709
|
+
/**
|
|
710
|
+
* @internal
|
|
711
|
+
*/
|
|
712
|
+
constructor(opts) {
|
|
713
|
+
super({
|
|
714
|
+
name: "RepositoryPolicyNotFoundException",
|
|
715
|
+
$fault: "client",
|
|
716
|
+
...opts
|
|
717
|
+
});
|
|
718
|
+
this.name = "RepositoryPolicyNotFoundException";
|
|
719
|
+
this.$fault = "client";
|
|
720
|
+
Object.setPrototypeOf(this, _RepositoryPolicyNotFoundException.prototype);
|
|
721
|
+
}
|
|
722
|
+
};
|
|
723
|
+
__name(_RepositoryPolicyNotFoundException, "RepositoryPolicyNotFoundException");
|
|
724
|
+
var RepositoryPolicyNotFoundException = _RepositoryPolicyNotFoundException;
|
|
725
|
+
var ReplicationStatus = {
|
|
726
|
+
COMPLETE: "COMPLETE",
|
|
727
|
+
FAILED: "FAILED",
|
|
728
|
+
IN_PROGRESS: "IN_PROGRESS"
|
|
729
|
+
};
|
|
730
|
+
var _ImageNotFoundException = class _ImageNotFoundException extends ECRServiceException {
|
|
731
|
+
/**
|
|
732
|
+
* @internal
|
|
733
|
+
*/
|
|
734
|
+
constructor(opts) {
|
|
735
|
+
super({
|
|
736
|
+
name: "ImageNotFoundException",
|
|
737
|
+
$fault: "client",
|
|
738
|
+
...opts
|
|
739
|
+
});
|
|
740
|
+
this.name = "ImageNotFoundException";
|
|
741
|
+
this.$fault = "client";
|
|
742
|
+
Object.setPrototypeOf(this, _ImageNotFoundException.prototype);
|
|
743
|
+
}
|
|
744
|
+
};
|
|
745
|
+
__name(_ImageNotFoundException, "ImageNotFoundException");
|
|
746
|
+
var ImageNotFoundException = _ImageNotFoundException;
|
|
747
|
+
var TagStatus = {
|
|
748
|
+
ANY: "ANY",
|
|
749
|
+
TAGGED: "TAGGED",
|
|
750
|
+
UNTAGGED: "UNTAGGED"
|
|
751
|
+
};
|
|
752
|
+
var FindingSeverity = {
|
|
753
|
+
CRITICAL: "CRITICAL",
|
|
754
|
+
HIGH: "HIGH",
|
|
755
|
+
INFORMATIONAL: "INFORMATIONAL",
|
|
756
|
+
LOW: "LOW",
|
|
757
|
+
MEDIUM: "MEDIUM",
|
|
758
|
+
UNDEFINED: "UNDEFINED"
|
|
759
|
+
};
|
|
760
|
+
var ScanStatus = {
|
|
761
|
+
ACTIVE: "ACTIVE",
|
|
762
|
+
COMPLETE: "COMPLETE",
|
|
763
|
+
FAILED: "FAILED",
|
|
764
|
+
FINDINGS_UNAVAILABLE: "FINDINGS_UNAVAILABLE",
|
|
765
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
766
|
+
PENDING: "PENDING",
|
|
767
|
+
SCAN_ELIGIBILITY_EXPIRED: "SCAN_ELIGIBILITY_EXPIRED",
|
|
768
|
+
UNSUPPORTED_IMAGE: "UNSUPPORTED_IMAGE"
|
|
769
|
+
};
|
|
770
|
+
var _ScanNotFoundException = class _ScanNotFoundException extends ECRServiceException {
|
|
771
|
+
/**
|
|
772
|
+
* @internal
|
|
773
|
+
*/
|
|
774
|
+
constructor(opts) {
|
|
775
|
+
super({
|
|
776
|
+
name: "ScanNotFoundException",
|
|
777
|
+
$fault: "client",
|
|
778
|
+
...opts
|
|
779
|
+
});
|
|
780
|
+
this.name = "ScanNotFoundException";
|
|
781
|
+
this.$fault = "client";
|
|
782
|
+
Object.setPrototypeOf(this, _ScanNotFoundException.prototype);
|
|
783
|
+
}
|
|
784
|
+
};
|
|
785
|
+
__name(_ScanNotFoundException, "ScanNotFoundException");
|
|
786
|
+
var ScanNotFoundException = _ScanNotFoundException;
|
|
787
|
+
var RepositoryFilterType = {
|
|
788
|
+
PREFIX_MATCH: "PREFIX_MATCH"
|
|
789
|
+
};
|
|
790
|
+
var _LayerInaccessibleException = class _LayerInaccessibleException extends ECRServiceException {
|
|
791
|
+
/**
|
|
792
|
+
* @internal
|
|
793
|
+
*/
|
|
794
|
+
constructor(opts) {
|
|
795
|
+
super({
|
|
796
|
+
name: "LayerInaccessibleException",
|
|
797
|
+
$fault: "client",
|
|
798
|
+
...opts
|
|
799
|
+
});
|
|
800
|
+
this.name = "LayerInaccessibleException";
|
|
801
|
+
this.$fault = "client";
|
|
802
|
+
Object.setPrototypeOf(this, _LayerInaccessibleException.prototype);
|
|
803
|
+
}
|
|
804
|
+
};
|
|
805
|
+
__name(_LayerInaccessibleException, "LayerInaccessibleException");
|
|
806
|
+
var LayerInaccessibleException = _LayerInaccessibleException;
|
|
807
|
+
var _LayersNotFoundException = class _LayersNotFoundException extends ECRServiceException {
|
|
808
|
+
/**
|
|
809
|
+
* @internal
|
|
810
|
+
*/
|
|
811
|
+
constructor(opts) {
|
|
812
|
+
super({
|
|
813
|
+
name: "LayersNotFoundException",
|
|
814
|
+
$fault: "client",
|
|
815
|
+
...opts
|
|
816
|
+
});
|
|
817
|
+
this.name = "LayersNotFoundException";
|
|
818
|
+
this.$fault = "client";
|
|
819
|
+
Object.setPrototypeOf(this, _LayersNotFoundException.prototype);
|
|
820
|
+
}
|
|
821
|
+
};
|
|
822
|
+
__name(_LayersNotFoundException, "LayersNotFoundException");
|
|
823
|
+
var LayersNotFoundException = _LayersNotFoundException;
|
|
824
|
+
var _UnableToGetUpstreamLayerException = class _UnableToGetUpstreamLayerException extends ECRServiceException {
|
|
825
|
+
/**
|
|
826
|
+
* @internal
|
|
827
|
+
*/
|
|
828
|
+
constructor(opts) {
|
|
829
|
+
super({
|
|
830
|
+
name: "UnableToGetUpstreamLayerException",
|
|
831
|
+
$fault: "client",
|
|
832
|
+
...opts
|
|
833
|
+
});
|
|
834
|
+
this.name = "UnableToGetUpstreamLayerException";
|
|
835
|
+
this.$fault = "client";
|
|
836
|
+
Object.setPrototypeOf(this, _UnableToGetUpstreamLayerException.prototype);
|
|
837
|
+
}
|
|
838
|
+
};
|
|
839
|
+
__name(_UnableToGetUpstreamLayerException, "UnableToGetUpstreamLayerException");
|
|
840
|
+
var UnableToGetUpstreamLayerException = _UnableToGetUpstreamLayerException;
|
|
841
|
+
var ImageActionType = {
|
|
842
|
+
EXPIRE: "EXPIRE"
|
|
843
|
+
};
|
|
844
|
+
var LifecyclePolicyPreviewStatus = {
|
|
845
|
+
COMPLETE: "COMPLETE",
|
|
846
|
+
EXPIRED: "EXPIRED",
|
|
847
|
+
FAILED: "FAILED",
|
|
848
|
+
IN_PROGRESS: "IN_PROGRESS"
|
|
849
|
+
};
|
|
850
|
+
var _LifecyclePolicyPreviewNotFoundException = class _LifecyclePolicyPreviewNotFoundException extends ECRServiceException {
|
|
851
|
+
/**
|
|
852
|
+
* @internal
|
|
853
|
+
*/
|
|
854
|
+
constructor(opts) {
|
|
855
|
+
super({
|
|
856
|
+
name: "LifecyclePolicyPreviewNotFoundException",
|
|
857
|
+
$fault: "client",
|
|
858
|
+
...opts
|
|
859
|
+
});
|
|
860
|
+
this.name = "LifecyclePolicyPreviewNotFoundException";
|
|
861
|
+
this.$fault = "client";
|
|
862
|
+
Object.setPrototypeOf(this, _LifecyclePolicyPreviewNotFoundException.prototype);
|
|
863
|
+
}
|
|
864
|
+
};
|
|
865
|
+
__name(_LifecyclePolicyPreviewNotFoundException, "LifecyclePolicyPreviewNotFoundException");
|
|
866
|
+
var LifecyclePolicyPreviewNotFoundException = _LifecyclePolicyPreviewNotFoundException;
|
|
867
|
+
var ScanType = {
|
|
868
|
+
BASIC: "BASIC",
|
|
869
|
+
ENHANCED: "ENHANCED"
|
|
870
|
+
};
|
|
871
|
+
var _ImageAlreadyExistsException = class _ImageAlreadyExistsException extends ECRServiceException {
|
|
872
|
+
/**
|
|
873
|
+
* @internal
|
|
874
|
+
*/
|
|
875
|
+
constructor(opts) {
|
|
876
|
+
super({
|
|
877
|
+
name: "ImageAlreadyExistsException",
|
|
878
|
+
$fault: "client",
|
|
879
|
+
...opts
|
|
880
|
+
});
|
|
881
|
+
this.name = "ImageAlreadyExistsException";
|
|
882
|
+
this.$fault = "client";
|
|
883
|
+
Object.setPrototypeOf(this, _ImageAlreadyExistsException.prototype);
|
|
884
|
+
}
|
|
885
|
+
};
|
|
886
|
+
__name(_ImageAlreadyExistsException, "ImageAlreadyExistsException");
|
|
887
|
+
var ImageAlreadyExistsException = _ImageAlreadyExistsException;
|
|
888
|
+
var _ImageDigestDoesNotMatchException = class _ImageDigestDoesNotMatchException extends ECRServiceException {
|
|
889
|
+
/**
|
|
890
|
+
* @internal
|
|
891
|
+
*/
|
|
892
|
+
constructor(opts) {
|
|
893
|
+
super({
|
|
894
|
+
name: "ImageDigestDoesNotMatchException",
|
|
895
|
+
$fault: "client",
|
|
896
|
+
...opts
|
|
897
|
+
});
|
|
898
|
+
this.name = "ImageDigestDoesNotMatchException";
|
|
899
|
+
this.$fault = "client";
|
|
900
|
+
Object.setPrototypeOf(this, _ImageDigestDoesNotMatchException.prototype);
|
|
901
|
+
}
|
|
902
|
+
};
|
|
903
|
+
__name(_ImageDigestDoesNotMatchException, "ImageDigestDoesNotMatchException");
|
|
904
|
+
var ImageDigestDoesNotMatchException = _ImageDigestDoesNotMatchException;
|
|
905
|
+
var _ImageTagAlreadyExistsException = class _ImageTagAlreadyExistsException extends ECRServiceException {
|
|
906
|
+
/**
|
|
907
|
+
* @internal
|
|
908
|
+
*/
|
|
909
|
+
constructor(opts) {
|
|
910
|
+
super({
|
|
911
|
+
name: "ImageTagAlreadyExistsException",
|
|
912
|
+
$fault: "client",
|
|
913
|
+
...opts
|
|
914
|
+
});
|
|
915
|
+
this.name = "ImageTagAlreadyExistsException";
|
|
916
|
+
this.$fault = "client";
|
|
917
|
+
Object.setPrototypeOf(this, _ImageTagAlreadyExistsException.prototype);
|
|
918
|
+
}
|
|
919
|
+
};
|
|
920
|
+
__name(_ImageTagAlreadyExistsException, "ImageTagAlreadyExistsException");
|
|
921
|
+
var ImageTagAlreadyExistsException = _ImageTagAlreadyExistsException;
|
|
922
|
+
var _ReferencedImagesNotFoundException = class _ReferencedImagesNotFoundException extends ECRServiceException {
|
|
923
|
+
/**
|
|
924
|
+
* @internal
|
|
925
|
+
*/
|
|
926
|
+
constructor(opts) {
|
|
927
|
+
super({
|
|
928
|
+
name: "ReferencedImagesNotFoundException",
|
|
929
|
+
$fault: "client",
|
|
930
|
+
...opts
|
|
931
|
+
});
|
|
932
|
+
this.name = "ReferencedImagesNotFoundException";
|
|
933
|
+
this.$fault = "client";
|
|
934
|
+
Object.setPrototypeOf(this, _ReferencedImagesNotFoundException.prototype);
|
|
935
|
+
}
|
|
936
|
+
};
|
|
937
|
+
__name(_ReferencedImagesNotFoundException, "ReferencedImagesNotFoundException");
|
|
938
|
+
var ReferencedImagesNotFoundException = _ReferencedImagesNotFoundException;
|
|
939
|
+
var _UnsupportedImageTypeException = class _UnsupportedImageTypeException extends ECRServiceException {
|
|
940
|
+
/**
|
|
941
|
+
* @internal
|
|
942
|
+
*/
|
|
943
|
+
constructor(opts) {
|
|
944
|
+
super({
|
|
945
|
+
name: "UnsupportedImageTypeException",
|
|
946
|
+
$fault: "client",
|
|
947
|
+
...opts
|
|
948
|
+
});
|
|
949
|
+
this.name = "UnsupportedImageTypeException";
|
|
950
|
+
this.$fault = "client";
|
|
951
|
+
Object.setPrototypeOf(this, _UnsupportedImageTypeException.prototype);
|
|
952
|
+
}
|
|
953
|
+
};
|
|
954
|
+
__name(_UnsupportedImageTypeException, "UnsupportedImageTypeException");
|
|
955
|
+
var UnsupportedImageTypeException = _UnsupportedImageTypeException;
|
|
956
|
+
var _LifecyclePolicyPreviewInProgressException = class _LifecyclePolicyPreviewInProgressException extends ECRServiceException {
|
|
957
|
+
/**
|
|
958
|
+
* @internal
|
|
959
|
+
*/
|
|
960
|
+
constructor(opts) {
|
|
961
|
+
super({
|
|
962
|
+
name: "LifecyclePolicyPreviewInProgressException",
|
|
963
|
+
$fault: "client",
|
|
964
|
+
...opts
|
|
965
|
+
});
|
|
966
|
+
this.name = "LifecyclePolicyPreviewInProgressException";
|
|
967
|
+
this.$fault = "client";
|
|
968
|
+
Object.setPrototypeOf(this, _LifecyclePolicyPreviewInProgressException.prototype);
|
|
969
|
+
}
|
|
970
|
+
};
|
|
971
|
+
__name(_LifecyclePolicyPreviewInProgressException, "LifecyclePolicyPreviewInProgressException");
|
|
972
|
+
var LifecyclePolicyPreviewInProgressException = _LifecyclePolicyPreviewInProgressException;
|
|
973
|
+
var _InvalidLayerPartException = class _InvalidLayerPartException extends ECRServiceException {
|
|
974
|
+
/**
|
|
975
|
+
* @internal
|
|
976
|
+
*/
|
|
977
|
+
constructor(opts) {
|
|
978
|
+
super({
|
|
979
|
+
name: "InvalidLayerPartException",
|
|
980
|
+
$fault: "client",
|
|
981
|
+
...opts
|
|
982
|
+
});
|
|
983
|
+
this.name = "InvalidLayerPartException";
|
|
984
|
+
this.$fault = "client";
|
|
985
|
+
Object.setPrototypeOf(this, _InvalidLayerPartException.prototype);
|
|
986
|
+
this.registryId = opts.registryId;
|
|
987
|
+
this.repositoryName = opts.repositoryName;
|
|
988
|
+
this.uploadId = opts.uploadId;
|
|
989
|
+
this.lastValidByteReceived = opts.lastValidByteReceived;
|
|
990
|
+
}
|
|
991
|
+
};
|
|
992
|
+
__name(_InvalidLayerPartException, "InvalidLayerPartException");
|
|
993
|
+
var InvalidLayerPartException = _InvalidLayerPartException;
|
|
994
|
+
|
|
995
|
+
// src/protocols/Aws_json1_1.ts
|
|
996
|
+
var se_BatchCheckLayerAvailabilityCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
997
|
+
const headers = sharedHeaders("BatchCheckLayerAvailability");
|
|
998
|
+
let body;
|
|
999
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1000
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1001
|
+
}, "se_BatchCheckLayerAvailabilityCommand");
|
|
1002
|
+
var se_BatchDeleteImageCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1003
|
+
const headers = sharedHeaders("BatchDeleteImage");
|
|
1004
|
+
let body;
|
|
1005
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1006
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1007
|
+
}, "se_BatchDeleteImageCommand");
|
|
1008
|
+
var se_BatchGetImageCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1009
|
+
const headers = sharedHeaders("BatchGetImage");
|
|
1010
|
+
let body;
|
|
1011
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1012
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1013
|
+
}, "se_BatchGetImageCommand");
|
|
1014
|
+
var se_BatchGetRepositoryScanningConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1015
|
+
const headers = sharedHeaders("BatchGetRepositoryScanningConfiguration");
|
|
1016
|
+
let body;
|
|
1017
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1018
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1019
|
+
}, "se_BatchGetRepositoryScanningConfigurationCommand");
|
|
1020
|
+
var se_CompleteLayerUploadCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1021
|
+
const headers = sharedHeaders("CompleteLayerUpload");
|
|
1022
|
+
let body;
|
|
1023
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1024
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1025
|
+
}, "se_CompleteLayerUploadCommand");
|
|
1026
|
+
var se_CreatePullThroughCacheRuleCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1027
|
+
const headers = sharedHeaders("CreatePullThroughCacheRule");
|
|
1028
|
+
let body;
|
|
1029
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1030
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1031
|
+
}, "se_CreatePullThroughCacheRuleCommand");
|
|
1032
|
+
var se_CreateRepositoryCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1033
|
+
const headers = sharedHeaders("CreateRepository");
|
|
1034
|
+
let body;
|
|
1035
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1036
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1037
|
+
}, "se_CreateRepositoryCommand");
|
|
1038
|
+
var se_DeleteLifecyclePolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1039
|
+
const headers = sharedHeaders("DeleteLifecyclePolicy");
|
|
1040
|
+
let body;
|
|
1041
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1042
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1043
|
+
}, "se_DeleteLifecyclePolicyCommand");
|
|
1044
|
+
var se_DeletePullThroughCacheRuleCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1045
|
+
const headers = sharedHeaders("DeletePullThroughCacheRule");
|
|
1046
|
+
let body;
|
|
1047
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1048
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1049
|
+
}, "se_DeletePullThroughCacheRuleCommand");
|
|
1050
|
+
var se_DeleteRegistryPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1051
|
+
const headers = sharedHeaders("DeleteRegistryPolicy");
|
|
1052
|
+
let body;
|
|
1053
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1054
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1055
|
+
}, "se_DeleteRegistryPolicyCommand");
|
|
1056
|
+
var se_DeleteRepositoryCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1057
|
+
const headers = sharedHeaders("DeleteRepository");
|
|
1058
|
+
let body;
|
|
1059
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1060
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1061
|
+
}, "se_DeleteRepositoryCommand");
|
|
1062
|
+
var se_DeleteRepositoryPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1063
|
+
const headers = sharedHeaders("DeleteRepositoryPolicy");
|
|
1064
|
+
let body;
|
|
1065
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1066
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1067
|
+
}, "se_DeleteRepositoryPolicyCommand");
|
|
1068
|
+
var se_DescribeImageReplicationStatusCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1069
|
+
const headers = sharedHeaders("DescribeImageReplicationStatus");
|
|
1070
|
+
let body;
|
|
1071
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1072
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1073
|
+
}, "se_DescribeImageReplicationStatusCommand");
|
|
1074
|
+
var se_DescribeImagesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1075
|
+
const headers = sharedHeaders("DescribeImages");
|
|
1076
|
+
let body;
|
|
1077
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1078
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1079
|
+
}, "se_DescribeImagesCommand");
|
|
1080
|
+
var se_DescribeImageScanFindingsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1081
|
+
const headers = sharedHeaders("DescribeImageScanFindings");
|
|
1082
|
+
let body;
|
|
1083
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1084
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1085
|
+
}, "se_DescribeImageScanFindingsCommand");
|
|
1086
|
+
var se_DescribePullThroughCacheRulesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1087
|
+
const headers = sharedHeaders("DescribePullThroughCacheRules");
|
|
1088
|
+
let body;
|
|
1089
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1090
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1091
|
+
}, "se_DescribePullThroughCacheRulesCommand");
|
|
1092
|
+
var se_DescribeRegistryCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1093
|
+
const headers = sharedHeaders("DescribeRegistry");
|
|
1094
|
+
let body;
|
|
1095
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1096
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1097
|
+
}, "se_DescribeRegistryCommand");
|
|
1098
|
+
var se_DescribeRepositoriesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1099
|
+
const headers = sharedHeaders("DescribeRepositories");
|
|
1100
|
+
let body;
|
|
1101
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1102
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1103
|
+
}, "se_DescribeRepositoriesCommand");
|
|
1104
|
+
var se_GetAuthorizationTokenCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1105
|
+
const headers = sharedHeaders("GetAuthorizationToken");
|
|
1106
|
+
let body;
|
|
1107
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1108
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1109
|
+
}, "se_GetAuthorizationTokenCommand");
|
|
1110
|
+
var se_GetDownloadUrlForLayerCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1111
|
+
const headers = sharedHeaders("GetDownloadUrlForLayer");
|
|
1112
|
+
let body;
|
|
1113
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1114
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1115
|
+
}, "se_GetDownloadUrlForLayerCommand");
|
|
1116
|
+
var se_GetLifecyclePolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1117
|
+
const headers = sharedHeaders("GetLifecyclePolicy");
|
|
1118
|
+
let body;
|
|
1119
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1120
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1121
|
+
}, "se_GetLifecyclePolicyCommand");
|
|
1122
|
+
var se_GetLifecyclePolicyPreviewCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1123
|
+
const headers = sharedHeaders("GetLifecyclePolicyPreview");
|
|
1124
|
+
let body;
|
|
1125
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1126
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1127
|
+
}, "se_GetLifecyclePolicyPreviewCommand");
|
|
1128
|
+
var se_GetRegistryPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1129
|
+
const headers = sharedHeaders("GetRegistryPolicy");
|
|
1130
|
+
let body;
|
|
1131
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1132
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1133
|
+
}, "se_GetRegistryPolicyCommand");
|
|
1134
|
+
var se_GetRegistryScanningConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1135
|
+
const headers = sharedHeaders("GetRegistryScanningConfiguration");
|
|
1136
|
+
let body;
|
|
1137
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1138
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1139
|
+
}, "se_GetRegistryScanningConfigurationCommand");
|
|
1140
|
+
var se_GetRepositoryPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1141
|
+
const headers = sharedHeaders("GetRepositoryPolicy");
|
|
1142
|
+
let body;
|
|
1143
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1144
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1145
|
+
}, "se_GetRepositoryPolicyCommand");
|
|
1146
|
+
var se_InitiateLayerUploadCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1147
|
+
const headers = sharedHeaders("InitiateLayerUpload");
|
|
1148
|
+
let body;
|
|
1149
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1150
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1151
|
+
}, "se_InitiateLayerUploadCommand");
|
|
1152
|
+
var se_ListImagesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1153
|
+
const headers = sharedHeaders("ListImages");
|
|
1154
|
+
let body;
|
|
1155
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1156
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1157
|
+
}, "se_ListImagesCommand");
|
|
1158
|
+
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1159
|
+
const headers = sharedHeaders("ListTagsForResource");
|
|
1160
|
+
let body;
|
|
1161
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1162
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1163
|
+
}, "se_ListTagsForResourceCommand");
|
|
1164
|
+
var se_PutImageCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1165
|
+
const headers = sharedHeaders("PutImage");
|
|
1166
|
+
let body;
|
|
1167
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1168
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1169
|
+
}, "se_PutImageCommand");
|
|
1170
|
+
var se_PutImageScanningConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1171
|
+
const headers = sharedHeaders("PutImageScanningConfiguration");
|
|
1172
|
+
let body;
|
|
1173
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1174
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1175
|
+
}, "se_PutImageScanningConfigurationCommand");
|
|
1176
|
+
var se_PutImageTagMutabilityCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1177
|
+
const headers = sharedHeaders("PutImageTagMutability");
|
|
1178
|
+
let body;
|
|
1179
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1180
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1181
|
+
}, "se_PutImageTagMutabilityCommand");
|
|
1182
|
+
var se_PutLifecyclePolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1183
|
+
const headers = sharedHeaders("PutLifecyclePolicy");
|
|
1184
|
+
let body;
|
|
1185
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1186
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1187
|
+
}, "se_PutLifecyclePolicyCommand");
|
|
1188
|
+
var se_PutRegistryPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1189
|
+
const headers = sharedHeaders("PutRegistryPolicy");
|
|
1190
|
+
let body;
|
|
1191
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1192
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1193
|
+
}, "se_PutRegistryPolicyCommand");
|
|
1194
|
+
var se_PutRegistryScanningConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1195
|
+
const headers = sharedHeaders("PutRegistryScanningConfiguration");
|
|
1196
|
+
let body;
|
|
1197
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1198
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1199
|
+
}, "se_PutRegistryScanningConfigurationCommand");
|
|
1200
|
+
var se_PutReplicationConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1201
|
+
const headers = sharedHeaders("PutReplicationConfiguration");
|
|
1202
|
+
let body;
|
|
1203
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1204
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1205
|
+
}, "se_PutReplicationConfigurationCommand");
|
|
1206
|
+
var se_SetRepositoryPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1207
|
+
const headers = sharedHeaders("SetRepositoryPolicy");
|
|
1208
|
+
let body;
|
|
1209
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1210
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1211
|
+
}, "se_SetRepositoryPolicyCommand");
|
|
1212
|
+
var se_StartImageScanCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1213
|
+
const headers = sharedHeaders("StartImageScan");
|
|
1214
|
+
let body;
|
|
1215
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1216
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1217
|
+
}, "se_StartImageScanCommand");
|
|
1218
|
+
var se_StartLifecyclePolicyPreviewCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1219
|
+
const headers = sharedHeaders("StartLifecyclePolicyPreview");
|
|
1220
|
+
let body;
|
|
1221
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1222
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1223
|
+
}, "se_StartLifecyclePolicyPreviewCommand");
|
|
1224
|
+
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1225
|
+
const headers = sharedHeaders("TagResource");
|
|
1226
|
+
let body;
|
|
1227
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1228
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1229
|
+
}, "se_TagResourceCommand");
|
|
1230
|
+
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1231
|
+
const headers = sharedHeaders("UntagResource");
|
|
1232
|
+
let body;
|
|
1233
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1234
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1235
|
+
}, "se_UntagResourceCommand");
|
|
1236
|
+
var se_UpdatePullThroughCacheRuleCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1237
|
+
const headers = sharedHeaders("UpdatePullThroughCacheRule");
|
|
1238
|
+
let body;
|
|
1239
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1240
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1241
|
+
}, "se_UpdatePullThroughCacheRuleCommand");
|
|
1242
|
+
var se_UploadLayerPartCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1243
|
+
const headers = sharedHeaders("UploadLayerPart");
|
|
1244
|
+
let body;
|
|
1245
|
+
body = JSON.stringify(se_UploadLayerPartRequest(input, context));
|
|
1246
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1247
|
+
}, "se_UploadLayerPartCommand");
|
|
1248
|
+
var se_ValidatePullThroughCacheRuleCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1249
|
+
const headers = sharedHeaders("ValidatePullThroughCacheRule");
|
|
1250
|
+
let body;
|
|
1251
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1252
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1253
|
+
}, "se_ValidatePullThroughCacheRuleCommand");
|
|
1254
|
+
var de_BatchCheckLayerAvailabilityCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1255
|
+
if (output.statusCode >= 300) {
|
|
1256
|
+
return de_BatchCheckLayerAvailabilityCommandError(output, context);
|
|
1257
|
+
}
|
|
1258
|
+
const data = await parseBody(output.body, context);
|
|
1259
|
+
let contents = {};
|
|
1260
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1261
|
+
const response = {
|
|
1262
|
+
$metadata: deserializeMetadata(output),
|
|
1263
|
+
...contents
|
|
1264
|
+
};
|
|
1265
|
+
return response;
|
|
1266
|
+
}, "de_BatchCheckLayerAvailabilityCommand");
|
|
1267
|
+
var de_BatchCheckLayerAvailabilityCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1268
|
+
const parsedOutput = {
|
|
1269
|
+
...output,
|
|
1270
|
+
body: await parseErrorBody(output.body, context)
|
|
1271
|
+
};
|
|
1272
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1273
|
+
switch (errorCode) {
|
|
1274
|
+
case "InvalidParameterException":
|
|
1275
|
+
case "com.amazonaws.ecr#InvalidParameterException":
|
|
1276
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1277
|
+
case "RepositoryNotFoundException":
|
|
1278
|
+
case "com.amazonaws.ecr#RepositoryNotFoundException":
|
|
1279
|
+
throw await de_RepositoryNotFoundExceptionRes(parsedOutput, context);
|
|
1280
|
+
case "ServerException":
|
|
1281
|
+
case "com.amazonaws.ecr#ServerException":
|
|
1282
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1283
|
+
default:
|
|
1284
|
+
const parsedBody = parsedOutput.body;
|
|
1285
|
+
return throwDefaultError({
|
|
1286
|
+
output,
|
|
1287
|
+
parsedBody,
|
|
1288
|
+
errorCode
|
|
1289
|
+
});
|
|
1290
|
+
}
|
|
1291
|
+
}, "de_BatchCheckLayerAvailabilityCommandError");
|
|
1292
|
+
var de_BatchDeleteImageCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1293
|
+
if (output.statusCode >= 300) {
|
|
1294
|
+
return de_BatchDeleteImageCommandError(output, context);
|
|
1295
|
+
}
|
|
1296
|
+
const data = await parseBody(output.body, context);
|
|
1297
|
+
let contents = {};
|
|
1298
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1299
|
+
const response = {
|
|
1300
|
+
$metadata: deserializeMetadata(output),
|
|
1301
|
+
...contents
|
|
1302
|
+
};
|
|
1303
|
+
return response;
|
|
1304
|
+
}, "de_BatchDeleteImageCommand");
|
|
1305
|
+
var de_BatchDeleteImageCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1306
|
+
const parsedOutput = {
|
|
1307
|
+
...output,
|
|
1308
|
+
body: await parseErrorBody(output.body, context)
|
|
1309
|
+
};
|
|
1310
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1311
|
+
switch (errorCode) {
|
|
1312
|
+
case "InvalidParameterException":
|
|
1313
|
+
case "com.amazonaws.ecr#InvalidParameterException":
|
|
1314
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1315
|
+
case "RepositoryNotFoundException":
|
|
1316
|
+
case "com.amazonaws.ecr#RepositoryNotFoundException":
|
|
1317
|
+
throw await de_RepositoryNotFoundExceptionRes(parsedOutput, context);
|
|
1318
|
+
case "ServerException":
|
|
1319
|
+
case "com.amazonaws.ecr#ServerException":
|
|
1320
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1321
|
+
default:
|
|
1322
|
+
const parsedBody = parsedOutput.body;
|
|
1323
|
+
return throwDefaultError({
|
|
1324
|
+
output,
|
|
1325
|
+
parsedBody,
|
|
1326
|
+
errorCode
|
|
1327
|
+
});
|
|
1328
|
+
}
|
|
1329
|
+
}, "de_BatchDeleteImageCommandError");
|
|
1330
|
+
var de_BatchGetImageCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1331
|
+
if (output.statusCode >= 300) {
|
|
1332
|
+
return de_BatchGetImageCommandError(output, context);
|
|
1333
|
+
}
|
|
1334
|
+
const data = await parseBody(output.body, context);
|
|
1335
|
+
let contents = {};
|
|
1336
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1337
|
+
const response = {
|
|
1338
|
+
$metadata: deserializeMetadata(output),
|
|
1339
|
+
...contents
|
|
1340
|
+
};
|
|
1341
|
+
return response;
|
|
1342
|
+
}, "de_BatchGetImageCommand");
|
|
1343
|
+
var de_BatchGetImageCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1344
|
+
const parsedOutput = {
|
|
1345
|
+
...output,
|
|
1346
|
+
body: await parseErrorBody(output.body, context)
|
|
1347
|
+
};
|
|
1348
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1349
|
+
switch (errorCode) {
|
|
1350
|
+
case "InvalidParameterException":
|
|
1351
|
+
case "com.amazonaws.ecr#InvalidParameterException":
|
|
1352
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1353
|
+
case "LimitExceededException":
|
|
1354
|
+
case "com.amazonaws.ecr#LimitExceededException":
|
|
1355
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1356
|
+
case "RepositoryNotFoundException":
|
|
1357
|
+
case "com.amazonaws.ecr#RepositoryNotFoundException":
|
|
1358
|
+
throw await de_RepositoryNotFoundExceptionRes(parsedOutput, context);
|
|
1359
|
+
case "ServerException":
|
|
1360
|
+
case "com.amazonaws.ecr#ServerException":
|
|
1361
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1362
|
+
case "UnableToGetUpstreamImageException":
|
|
1363
|
+
case "com.amazonaws.ecr#UnableToGetUpstreamImageException":
|
|
1364
|
+
throw await de_UnableToGetUpstreamImageExceptionRes(parsedOutput, context);
|
|
1365
|
+
default:
|
|
1366
|
+
const parsedBody = parsedOutput.body;
|
|
1367
|
+
return throwDefaultError({
|
|
1368
|
+
output,
|
|
1369
|
+
parsedBody,
|
|
1370
|
+
errorCode
|
|
1371
|
+
});
|
|
1372
|
+
}
|
|
1373
|
+
}, "de_BatchGetImageCommandError");
|
|
1374
|
+
var de_BatchGetRepositoryScanningConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1375
|
+
if (output.statusCode >= 300) {
|
|
1376
|
+
return de_BatchGetRepositoryScanningConfigurationCommandError(output, context);
|
|
1377
|
+
}
|
|
1378
|
+
const data = await parseBody(output.body, context);
|
|
1379
|
+
let contents = {};
|
|
1380
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1381
|
+
const response = {
|
|
1382
|
+
$metadata: deserializeMetadata(output),
|
|
1383
|
+
...contents
|
|
1384
|
+
};
|
|
1385
|
+
return response;
|
|
1386
|
+
}, "de_BatchGetRepositoryScanningConfigurationCommand");
|
|
1387
|
+
var de_BatchGetRepositoryScanningConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1388
|
+
const parsedOutput = {
|
|
1389
|
+
...output,
|
|
1390
|
+
body: await parseErrorBody(output.body, context)
|
|
1391
|
+
};
|
|
1392
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1393
|
+
switch (errorCode) {
|
|
1394
|
+
case "InvalidParameterException":
|
|
1395
|
+
case "com.amazonaws.ecr#InvalidParameterException":
|
|
1396
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1397
|
+
case "RepositoryNotFoundException":
|
|
1398
|
+
case "com.amazonaws.ecr#RepositoryNotFoundException":
|
|
1399
|
+
throw await de_RepositoryNotFoundExceptionRes(parsedOutput, context);
|
|
1400
|
+
case "ServerException":
|
|
1401
|
+
case "com.amazonaws.ecr#ServerException":
|
|
1402
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1403
|
+
case "ValidationException":
|
|
1404
|
+
case "com.amazonaws.ecr#ValidationException":
|
|
1405
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1406
|
+
default:
|
|
1407
|
+
const parsedBody = parsedOutput.body;
|
|
1408
|
+
return throwDefaultError({
|
|
1409
|
+
output,
|
|
1410
|
+
parsedBody,
|
|
1411
|
+
errorCode
|
|
1412
|
+
});
|
|
1413
|
+
}
|
|
1414
|
+
}, "de_BatchGetRepositoryScanningConfigurationCommandError");
|
|
1415
|
+
var de_CompleteLayerUploadCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1416
|
+
if (output.statusCode >= 300) {
|
|
1417
|
+
return de_CompleteLayerUploadCommandError(output, context);
|
|
1418
|
+
}
|
|
1419
|
+
const data = await parseBody(output.body, context);
|
|
1420
|
+
let contents = {};
|
|
1421
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1422
|
+
const response = {
|
|
1423
|
+
$metadata: deserializeMetadata(output),
|
|
1424
|
+
...contents
|
|
1425
|
+
};
|
|
1426
|
+
return response;
|
|
1427
|
+
}, "de_CompleteLayerUploadCommand");
|
|
1428
|
+
var de_CompleteLayerUploadCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1429
|
+
const parsedOutput = {
|
|
1430
|
+
...output,
|
|
1431
|
+
body: await parseErrorBody(output.body, context)
|
|
1432
|
+
};
|
|
1433
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1434
|
+
switch (errorCode) {
|
|
1435
|
+
case "EmptyUploadException":
|
|
1436
|
+
case "com.amazonaws.ecr#EmptyUploadException":
|
|
1437
|
+
throw await de_EmptyUploadExceptionRes(parsedOutput, context);
|
|
1438
|
+
case "InvalidLayerException":
|
|
1439
|
+
case "com.amazonaws.ecr#InvalidLayerException":
|
|
1440
|
+
throw await de_InvalidLayerExceptionRes(parsedOutput, context);
|
|
1441
|
+
case "InvalidParameterException":
|
|
1442
|
+
case "com.amazonaws.ecr#InvalidParameterException":
|
|
1443
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1444
|
+
case "KmsException":
|
|
1445
|
+
case "com.amazonaws.ecr#KmsException":
|
|
1446
|
+
throw await de_KmsExceptionRes(parsedOutput, context);
|
|
1447
|
+
case "LayerAlreadyExistsException":
|
|
1448
|
+
case "com.amazonaws.ecr#LayerAlreadyExistsException":
|
|
1449
|
+
throw await de_LayerAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1450
|
+
case "LayerPartTooSmallException":
|
|
1451
|
+
case "com.amazonaws.ecr#LayerPartTooSmallException":
|
|
1452
|
+
throw await de_LayerPartTooSmallExceptionRes(parsedOutput, context);
|
|
1453
|
+
case "RepositoryNotFoundException":
|
|
1454
|
+
case "com.amazonaws.ecr#RepositoryNotFoundException":
|
|
1455
|
+
throw await de_RepositoryNotFoundExceptionRes(parsedOutput, context);
|
|
1456
|
+
case "ServerException":
|
|
1457
|
+
case "com.amazonaws.ecr#ServerException":
|
|
1458
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1459
|
+
case "UploadNotFoundException":
|
|
1460
|
+
case "com.amazonaws.ecr#UploadNotFoundException":
|
|
1461
|
+
throw await de_UploadNotFoundExceptionRes(parsedOutput, context);
|
|
1462
|
+
default:
|
|
1463
|
+
const parsedBody = parsedOutput.body;
|
|
1464
|
+
return throwDefaultError({
|
|
1465
|
+
output,
|
|
1466
|
+
parsedBody,
|
|
1467
|
+
errorCode
|
|
1468
|
+
});
|
|
1469
|
+
}
|
|
1470
|
+
}, "de_CompleteLayerUploadCommandError");
|
|
1471
|
+
var de_CreatePullThroughCacheRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1472
|
+
if (output.statusCode >= 300) {
|
|
1473
|
+
return de_CreatePullThroughCacheRuleCommandError(output, context);
|
|
1474
|
+
}
|
|
1475
|
+
const data = await parseBody(output.body, context);
|
|
1476
|
+
let contents = {};
|
|
1477
|
+
contents = de_CreatePullThroughCacheRuleResponse(data, context);
|
|
1478
|
+
const response = {
|
|
1479
|
+
$metadata: deserializeMetadata(output),
|
|
1480
|
+
...contents
|
|
1481
|
+
};
|
|
1482
|
+
return response;
|
|
1483
|
+
}, "de_CreatePullThroughCacheRuleCommand");
|
|
1484
|
+
var de_CreatePullThroughCacheRuleCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1485
|
+
const parsedOutput = {
|
|
1486
|
+
...output,
|
|
1487
|
+
body: await parseErrorBody(output.body, context)
|
|
1488
|
+
};
|
|
1489
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1490
|
+
switch (errorCode) {
|
|
1491
|
+
case "InvalidParameterException":
|
|
1492
|
+
case "com.amazonaws.ecr#InvalidParameterException":
|
|
1493
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1494
|
+
case "LimitExceededException":
|
|
1495
|
+
case "com.amazonaws.ecr#LimitExceededException":
|
|
1496
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1497
|
+
case "PullThroughCacheRuleAlreadyExistsException":
|
|
1498
|
+
case "com.amazonaws.ecr#PullThroughCacheRuleAlreadyExistsException":
|
|
1499
|
+
throw await de_PullThroughCacheRuleAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1500
|
+
case "SecretNotFoundException":
|
|
1501
|
+
case "com.amazonaws.ecr#SecretNotFoundException":
|
|
1502
|
+
throw await de_SecretNotFoundExceptionRes(parsedOutput, context);
|
|
1503
|
+
case "ServerException":
|
|
1504
|
+
case "com.amazonaws.ecr#ServerException":
|
|
1505
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1506
|
+
case "UnableToAccessSecretException":
|
|
1507
|
+
case "com.amazonaws.ecr#UnableToAccessSecretException":
|
|
1508
|
+
throw await de_UnableToAccessSecretExceptionRes(parsedOutput, context);
|
|
1509
|
+
case "UnableToDecryptSecretValueException":
|
|
1510
|
+
case "com.amazonaws.ecr#UnableToDecryptSecretValueException":
|
|
1511
|
+
throw await de_UnableToDecryptSecretValueExceptionRes(parsedOutput, context);
|
|
1512
|
+
case "UnsupportedUpstreamRegistryException":
|
|
1513
|
+
case "com.amazonaws.ecr#UnsupportedUpstreamRegistryException":
|
|
1514
|
+
throw await de_UnsupportedUpstreamRegistryExceptionRes(parsedOutput, context);
|
|
1515
|
+
case "ValidationException":
|
|
1516
|
+
case "com.amazonaws.ecr#ValidationException":
|
|
1517
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1518
|
+
default:
|
|
1519
|
+
const parsedBody = parsedOutput.body;
|
|
1520
|
+
return throwDefaultError({
|
|
1521
|
+
output,
|
|
1522
|
+
parsedBody,
|
|
1523
|
+
errorCode
|
|
1524
|
+
});
|
|
1525
|
+
}
|
|
1526
|
+
}, "de_CreatePullThroughCacheRuleCommandError");
|
|
1527
|
+
var de_CreateRepositoryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1528
|
+
if (output.statusCode >= 300) {
|
|
1529
|
+
return de_CreateRepositoryCommandError(output, context);
|
|
1530
|
+
}
|
|
1531
|
+
const data = await parseBody(output.body, context);
|
|
1532
|
+
let contents = {};
|
|
1533
|
+
contents = de_CreateRepositoryResponse(data, context);
|
|
1534
|
+
const response = {
|
|
1535
|
+
$metadata: deserializeMetadata(output),
|
|
1536
|
+
...contents
|
|
1537
|
+
};
|
|
1538
|
+
return response;
|
|
1539
|
+
}, "de_CreateRepositoryCommand");
|
|
1540
|
+
var de_CreateRepositoryCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1541
|
+
const parsedOutput = {
|
|
1542
|
+
...output,
|
|
1543
|
+
body: await parseErrorBody(output.body, context)
|
|
1544
|
+
};
|
|
1545
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1546
|
+
switch (errorCode) {
|
|
1547
|
+
case "InvalidParameterException":
|
|
1548
|
+
case "com.amazonaws.ecr#InvalidParameterException":
|
|
1549
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1550
|
+
case "InvalidTagParameterException":
|
|
1551
|
+
case "com.amazonaws.ecr#InvalidTagParameterException":
|
|
1552
|
+
throw await de_InvalidTagParameterExceptionRes(parsedOutput, context);
|
|
1553
|
+
case "KmsException":
|
|
1554
|
+
case "com.amazonaws.ecr#KmsException":
|
|
1555
|
+
throw await de_KmsExceptionRes(parsedOutput, context);
|
|
1556
|
+
case "LimitExceededException":
|
|
1557
|
+
case "com.amazonaws.ecr#LimitExceededException":
|
|
1558
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1559
|
+
case "RepositoryAlreadyExistsException":
|
|
1560
|
+
case "com.amazonaws.ecr#RepositoryAlreadyExistsException":
|
|
1561
|
+
throw await de_RepositoryAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1562
|
+
case "ServerException":
|
|
1563
|
+
case "com.amazonaws.ecr#ServerException":
|
|
1564
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1565
|
+
case "TooManyTagsException":
|
|
1566
|
+
case "com.amazonaws.ecr#TooManyTagsException":
|
|
1567
|
+
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
1568
|
+
default:
|
|
1569
|
+
const parsedBody = parsedOutput.body;
|
|
1570
|
+
return throwDefaultError({
|
|
1571
|
+
output,
|
|
1572
|
+
parsedBody,
|
|
1573
|
+
errorCode
|
|
1574
|
+
});
|
|
1575
|
+
}
|
|
1576
|
+
}, "de_CreateRepositoryCommandError");
|
|
1577
|
+
var de_DeleteLifecyclePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1578
|
+
if (output.statusCode >= 300) {
|
|
1579
|
+
return de_DeleteLifecyclePolicyCommandError(output, context);
|
|
1580
|
+
}
|
|
1581
|
+
const data = await parseBody(output.body, context);
|
|
1582
|
+
let contents = {};
|
|
1583
|
+
contents = de_DeleteLifecyclePolicyResponse(data, context);
|
|
1584
|
+
const response = {
|
|
1585
|
+
$metadata: deserializeMetadata(output),
|
|
1586
|
+
...contents
|
|
1587
|
+
};
|
|
1588
|
+
return response;
|
|
1589
|
+
}, "de_DeleteLifecyclePolicyCommand");
|
|
1590
|
+
var de_DeleteLifecyclePolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1591
|
+
const parsedOutput = {
|
|
1592
|
+
...output,
|
|
1593
|
+
body: await parseErrorBody(output.body, context)
|
|
1594
|
+
};
|
|
1595
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1596
|
+
switch (errorCode) {
|
|
1597
|
+
case "InvalidParameterException":
|
|
1598
|
+
case "com.amazonaws.ecr#InvalidParameterException":
|
|
1599
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1600
|
+
case "LifecyclePolicyNotFoundException":
|
|
1601
|
+
case "com.amazonaws.ecr#LifecyclePolicyNotFoundException":
|
|
1602
|
+
throw await de_LifecyclePolicyNotFoundExceptionRes(parsedOutput, context);
|
|
1603
|
+
case "RepositoryNotFoundException":
|
|
1604
|
+
case "com.amazonaws.ecr#RepositoryNotFoundException":
|
|
1605
|
+
throw await de_RepositoryNotFoundExceptionRes(parsedOutput, context);
|
|
1606
|
+
case "ServerException":
|
|
1607
|
+
case "com.amazonaws.ecr#ServerException":
|
|
1608
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1609
|
+
case "ValidationException":
|
|
1610
|
+
case "com.amazonaws.ecr#ValidationException":
|
|
1611
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1612
|
+
default:
|
|
1613
|
+
const parsedBody = parsedOutput.body;
|
|
1614
|
+
return throwDefaultError({
|
|
1615
|
+
output,
|
|
1616
|
+
parsedBody,
|
|
1617
|
+
errorCode
|
|
1618
|
+
});
|
|
1619
|
+
}
|
|
1620
|
+
}, "de_DeleteLifecyclePolicyCommandError");
|
|
1621
|
+
var de_DeletePullThroughCacheRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1622
|
+
if (output.statusCode >= 300) {
|
|
1623
|
+
return de_DeletePullThroughCacheRuleCommandError(output, context);
|
|
1624
|
+
}
|
|
1625
|
+
const data = await parseBody(output.body, context);
|
|
1626
|
+
let contents = {};
|
|
1627
|
+
contents = de_DeletePullThroughCacheRuleResponse(data, context);
|
|
1628
|
+
const response = {
|
|
1629
|
+
$metadata: deserializeMetadata(output),
|
|
1630
|
+
...contents
|
|
1631
|
+
};
|
|
1632
|
+
return response;
|
|
1633
|
+
}, "de_DeletePullThroughCacheRuleCommand");
|
|
1634
|
+
var de_DeletePullThroughCacheRuleCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1635
|
+
const parsedOutput = {
|
|
1636
|
+
...output,
|
|
1637
|
+
body: await parseErrorBody(output.body, context)
|
|
1638
|
+
};
|
|
1639
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1640
|
+
switch (errorCode) {
|
|
1641
|
+
case "InvalidParameterException":
|
|
1642
|
+
case "com.amazonaws.ecr#InvalidParameterException":
|
|
1643
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1644
|
+
case "PullThroughCacheRuleNotFoundException":
|
|
1645
|
+
case "com.amazonaws.ecr#PullThroughCacheRuleNotFoundException":
|
|
1646
|
+
throw await de_PullThroughCacheRuleNotFoundExceptionRes(parsedOutput, context);
|
|
1647
|
+
case "ServerException":
|
|
1648
|
+
case "com.amazonaws.ecr#ServerException":
|
|
1649
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1650
|
+
case "ValidationException":
|
|
1651
|
+
case "com.amazonaws.ecr#ValidationException":
|
|
1652
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1653
|
+
default:
|
|
1654
|
+
const parsedBody = parsedOutput.body;
|
|
1655
|
+
return throwDefaultError({
|
|
1656
|
+
output,
|
|
1657
|
+
parsedBody,
|
|
1658
|
+
errorCode
|
|
1659
|
+
});
|
|
1660
|
+
}
|
|
1661
|
+
}, "de_DeletePullThroughCacheRuleCommandError");
|
|
1662
|
+
var de_DeleteRegistryPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1663
|
+
if (output.statusCode >= 300) {
|
|
1664
|
+
return de_DeleteRegistryPolicyCommandError(output, context);
|
|
1665
|
+
}
|
|
1666
|
+
const data = await parseBody(output.body, context);
|
|
1667
|
+
let contents = {};
|
|
1668
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1669
|
+
const response = {
|
|
1670
|
+
$metadata: deserializeMetadata(output),
|
|
1671
|
+
...contents
|
|
1672
|
+
};
|
|
1673
|
+
return response;
|
|
1674
|
+
}, "de_DeleteRegistryPolicyCommand");
|
|
1675
|
+
var de_DeleteRegistryPolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1676
|
+
const parsedOutput = {
|
|
1677
|
+
...output,
|
|
1678
|
+
body: await parseErrorBody(output.body, context)
|
|
1679
|
+
};
|
|
1680
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1681
|
+
switch (errorCode) {
|
|
1682
|
+
case "InvalidParameterException":
|
|
1683
|
+
case "com.amazonaws.ecr#InvalidParameterException":
|
|
1684
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1685
|
+
case "RegistryPolicyNotFoundException":
|
|
1686
|
+
case "com.amazonaws.ecr#RegistryPolicyNotFoundException":
|
|
1687
|
+
throw await de_RegistryPolicyNotFoundExceptionRes(parsedOutput, context);
|
|
1688
|
+
case "ServerException":
|
|
1689
|
+
case "com.amazonaws.ecr#ServerException":
|
|
1690
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1691
|
+
case "ValidationException":
|
|
1692
|
+
case "com.amazonaws.ecr#ValidationException":
|
|
1693
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1694
|
+
default:
|
|
1695
|
+
const parsedBody = parsedOutput.body;
|
|
1696
|
+
return throwDefaultError({
|
|
1697
|
+
output,
|
|
1698
|
+
parsedBody,
|
|
1699
|
+
errorCode
|
|
1700
|
+
});
|
|
1701
|
+
}
|
|
1702
|
+
}, "de_DeleteRegistryPolicyCommandError");
|
|
1703
|
+
var de_DeleteRepositoryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1704
|
+
if (output.statusCode >= 300) {
|
|
1705
|
+
return de_DeleteRepositoryCommandError(output, context);
|
|
1706
|
+
}
|
|
1707
|
+
const data = await parseBody(output.body, context);
|
|
1708
|
+
let contents = {};
|
|
1709
|
+
contents = de_DeleteRepositoryResponse(data, context);
|
|
1710
|
+
const response = {
|
|
1711
|
+
$metadata: deserializeMetadata(output),
|
|
1712
|
+
...contents
|
|
1713
|
+
};
|
|
1714
|
+
return response;
|
|
1715
|
+
}, "de_DeleteRepositoryCommand");
|
|
1716
|
+
var de_DeleteRepositoryCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1717
|
+
const parsedOutput = {
|
|
1718
|
+
...output,
|
|
1719
|
+
body: await parseErrorBody(output.body, context)
|
|
1720
|
+
};
|
|
1721
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1722
|
+
switch (errorCode) {
|
|
1723
|
+
case "InvalidParameterException":
|
|
1724
|
+
case "com.amazonaws.ecr#InvalidParameterException":
|
|
1725
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1726
|
+
case "KmsException":
|
|
1727
|
+
case "com.amazonaws.ecr#KmsException":
|
|
1728
|
+
throw await de_KmsExceptionRes(parsedOutput, context);
|
|
1729
|
+
case "RepositoryNotEmptyException":
|
|
1730
|
+
case "com.amazonaws.ecr#RepositoryNotEmptyException":
|
|
1731
|
+
throw await de_RepositoryNotEmptyExceptionRes(parsedOutput, context);
|
|
1732
|
+
case "RepositoryNotFoundException":
|
|
1733
|
+
case "com.amazonaws.ecr#RepositoryNotFoundException":
|
|
1734
|
+
throw await de_RepositoryNotFoundExceptionRes(parsedOutput, context);
|
|
1735
|
+
case "ServerException":
|
|
1736
|
+
case "com.amazonaws.ecr#ServerException":
|
|
1737
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1738
|
+
default:
|
|
1739
|
+
const parsedBody = parsedOutput.body;
|
|
1740
|
+
return throwDefaultError({
|
|
1741
|
+
output,
|
|
1742
|
+
parsedBody,
|
|
1743
|
+
errorCode
|
|
1744
|
+
});
|
|
1745
|
+
}
|
|
1746
|
+
}, "de_DeleteRepositoryCommandError");
|
|
1747
|
+
var de_DeleteRepositoryPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1748
|
+
if (output.statusCode >= 300) {
|
|
1749
|
+
return de_DeleteRepositoryPolicyCommandError(output, context);
|
|
1750
|
+
}
|
|
1751
|
+
const data = await parseBody(output.body, context);
|
|
1752
|
+
let contents = {};
|
|
1753
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1754
|
+
const response = {
|
|
1755
|
+
$metadata: deserializeMetadata(output),
|
|
1756
|
+
...contents
|
|
1757
|
+
};
|
|
1758
|
+
return response;
|
|
1759
|
+
}, "de_DeleteRepositoryPolicyCommand");
|
|
1760
|
+
var de_DeleteRepositoryPolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1761
|
+
const parsedOutput = {
|
|
1762
|
+
...output,
|
|
1763
|
+
body: await parseErrorBody(output.body, context)
|
|
1764
|
+
};
|
|
1765
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1766
|
+
switch (errorCode) {
|
|
1767
|
+
case "InvalidParameterException":
|
|
1768
|
+
case "com.amazonaws.ecr#InvalidParameterException":
|
|
1769
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1770
|
+
case "RepositoryNotFoundException":
|
|
1771
|
+
case "com.amazonaws.ecr#RepositoryNotFoundException":
|
|
1772
|
+
throw await de_RepositoryNotFoundExceptionRes(parsedOutput, context);
|
|
1773
|
+
case "RepositoryPolicyNotFoundException":
|
|
1774
|
+
case "com.amazonaws.ecr#RepositoryPolicyNotFoundException":
|
|
1775
|
+
throw await de_RepositoryPolicyNotFoundExceptionRes(parsedOutput, context);
|
|
1776
|
+
case "ServerException":
|
|
1777
|
+
case "com.amazonaws.ecr#ServerException":
|
|
1778
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1779
|
+
default:
|
|
1780
|
+
const parsedBody = parsedOutput.body;
|
|
1781
|
+
return throwDefaultError({
|
|
1782
|
+
output,
|
|
1783
|
+
parsedBody,
|
|
1784
|
+
errorCode
|
|
1785
|
+
});
|
|
1786
|
+
}
|
|
1787
|
+
}, "de_DeleteRepositoryPolicyCommandError");
|
|
1788
|
+
var de_DescribeImageReplicationStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1789
|
+
if (output.statusCode >= 300) {
|
|
1790
|
+
return de_DescribeImageReplicationStatusCommandError(output, context);
|
|
1791
|
+
}
|
|
1792
|
+
const data = await parseBody(output.body, context);
|
|
1793
|
+
let contents = {};
|
|
1794
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1795
|
+
const response = {
|
|
1796
|
+
$metadata: deserializeMetadata(output),
|
|
1797
|
+
...contents
|
|
1798
|
+
};
|
|
1799
|
+
return response;
|
|
1800
|
+
}, "de_DescribeImageReplicationStatusCommand");
|
|
1801
|
+
var de_DescribeImageReplicationStatusCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1802
|
+
const parsedOutput = {
|
|
1803
|
+
...output,
|
|
1804
|
+
body: await parseErrorBody(output.body, context)
|
|
1805
|
+
};
|
|
1806
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1807
|
+
switch (errorCode) {
|
|
1808
|
+
case "ImageNotFoundException":
|
|
1809
|
+
case "com.amazonaws.ecr#ImageNotFoundException":
|
|
1810
|
+
throw await de_ImageNotFoundExceptionRes(parsedOutput, context);
|
|
1811
|
+
case "InvalidParameterException":
|
|
1812
|
+
case "com.amazonaws.ecr#InvalidParameterException":
|
|
1813
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1814
|
+
case "RepositoryNotFoundException":
|
|
1815
|
+
case "com.amazonaws.ecr#RepositoryNotFoundException":
|
|
1816
|
+
throw await de_RepositoryNotFoundExceptionRes(parsedOutput, context);
|
|
1817
|
+
case "ServerException":
|
|
1818
|
+
case "com.amazonaws.ecr#ServerException":
|
|
1819
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1820
|
+
case "ValidationException":
|
|
1821
|
+
case "com.amazonaws.ecr#ValidationException":
|
|
1822
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1823
|
+
default:
|
|
1824
|
+
const parsedBody = parsedOutput.body;
|
|
1825
|
+
return throwDefaultError({
|
|
1826
|
+
output,
|
|
1827
|
+
parsedBody,
|
|
1828
|
+
errorCode
|
|
1829
|
+
});
|
|
1830
|
+
}
|
|
1831
|
+
}, "de_DescribeImageReplicationStatusCommandError");
|
|
1832
|
+
var de_DescribeImagesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1833
|
+
if (output.statusCode >= 300) {
|
|
1834
|
+
return de_DescribeImagesCommandError(output, context);
|
|
1835
|
+
}
|
|
1836
|
+
const data = await parseBody(output.body, context);
|
|
1837
|
+
let contents = {};
|
|
1838
|
+
contents = de_DescribeImagesResponse(data, context);
|
|
1839
|
+
const response = {
|
|
1840
|
+
$metadata: deserializeMetadata(output),
|
|
1841
|
+
...contents
|
|
1842
|
+
};
|
|
1843
|
+
return response;
|
|
1844
|
+
}, "de_DescribeImagesCommand");
|
|
1845
|
+
var de_DescribeImagesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1846
|
+
const parsedOutput = {
|
|
1847
|
+
...output,
|
|
1848
|
+
body: await parseErrorBody(output.body, context)
|
|
1849
|
+
};
|
|
1850
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1851
|
+
switch (errorCode) {
|
|
1852
|
+
case "ImageNotFoundException":
|
|
1853
|
+
case "com.amazonaws.ecr#ImageNotFoundException":
|
|
1854
|
+
throw await de_ImageNotFoundExceptionRes(parsedOutput, context);
|
|
1855
|
+
case "InvalidParameterException":
|
|
1856
|
+
case "com.amazonaws.ecr#InvalidParameterException":
|
|
1857
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1858
|
+
case "RepositoryNotFoundException":
|
|
1859
|
+
case "com.amazonaws.ecr#RepositoryNotFoundException":
|
|
1860
|
+
throw await de_RepositoryNotFoundExceptionRes(parsedOutput, context);
|
|
1861
|
+
case "ServerException":
|
|
1862
|
+
case "com.amazonaws.ecr#ServerException":
|
|
1863
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1864
|
+
default:
|
|
1865
|
+
const parsedBody = parsedOutput.body;
|
|
1866
|
+
return throwDefaultError({
|
|
1867
|
+
output,
|
|
1868
|
+
parsedBody,
|
|
1869
|
+
errorCode
|
|
1870
|
+
});
|
|
1871
|
+
}
|
|
1872
|
+
}, "de_DescribeImagesCommandError");
|
|
1873
|
+
var de_DescribeImageScanFindingsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1874
|
+
if (output.statusCode >= 300) {
|
|
1875
|
+
return de_DescribeImageScanFindingsCommandError(output, context);
|
|
1876
|
+
}
|
|
1877
|
+
const data = await parseBody(output.body, context);
|
|
1878
|
+
let contents = {};
|
|
1879
|
+
contents = de_DescribeImageScanFindingsResponse(data, context);
|
|
1880
|
+
const response = {
|
|
1881
|
+
$metadata: deserializeMetadata(output),
|
|
1882
|
+
...contents
|
|
1883
|
+
};
|
|
1884
|
+
return response;
|
|
1885
|
+
}, "de_DescribeImageScanFindingsCommand");
|
|
1886
|
+
var de_DescribeImageScanFindingsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1887
|
+
const parsedOutput = {
|
|
1888
|
+
...output,
|
|
1889
|
+
body: await parseErrorBody(output.body, context)
|
|
1890
|
+
};
|
|
1891
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1892
|
+
switch (errorCode) {
|
|
1893
|
+
case "ImageNotFoundException":
|
|
1894
|
+
case "com.amazonaws.ecr#ImageNotFoundException":
|
|
1895
|
+
throw await de_ImageNotFoundExceptionRes(parsedOutput, context);
|
|
1896
|
+
case "InvalidParameterException":
|
|
1897
|
+
case "com.amazonaws.ecr#InvalidParameterException":
|
|
1898
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1899
|
+
case "RepositoryNotFoundException":
|
|
1900
|
+
case "com.amazonaws.ecr#RepositoryNotFoundException":
|
|
1901
|
+
throw await de_RepositoryNotFoundExceptionRes(parsedOutput, context);
|
|
1902
|
+
case "ScanNotFoundException":
|
|
1903
|
+
case "com.amazonaws.ecr#ScanNotFoundException":
|
|
1904
|
+
throw await de_ScanNotFoundExceptionRes(parsedOutput, context);
|
|
1905
|
+
case "ServerException":
|
|
1906
|
+
case "com.amazonaws.ecr#ServerException":
|
|
1907
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1908
|
+
case "ValidationException":
|
|
1909
|
+
case "com.amazonaws.ecr#ValidationException":
|
|
1910
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1911
|
+
default:
|
|
1912
|
+
const parsedBody = parsedOutput.body;
|
|
1913
|
+
return throwDefaultError({
|
|
1914
|
+
output,
|
|
1915
|
+
parsedBody,
|
|
1916
|
+
errorCode
|
|
1917
|
+
});
|
|
1918
|
+
}
|
|
1919
|
+
}, "de_DescribeImageScanFindingsCommandError");
|
|
1920
|
+
var de_DescribePullThroughCacheRulesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1921
|
+
if (output.statusCode >= 300) {
|
|
1922
|
+
return de_DescribePullThroughCacheRulesCommandError(output, context);
|
|
1923
|
+
}
|
|
1924
|
+
const data = await parseBody(output.body, context);
|
|
1925
|
+
let contents = {};
|
|
1926
|
+
contents = de_DescribePullThroughCacheRulesResponse(data, context);
|
|
1927
|
+
const response = {
|
|
1928
|
+
$metadata: deserializeMetadata(output),
|
|
1929
|
+
...contents
|
|
1930
|
+
};
|
|
1931
|
+
return response;
|
|
1932
|
+
}, "de_DescribePullThroughCacheRulesCommand");
|
|
1933
|
+
var de_DescribePullThroughCacheRulesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1934
|
+
const parsedOutput = {
|
|
1935
|
+
...output,
|
|
1936
|
+
body: await parseErrorBody(output.body, context)
|
|
1937
|
+
};
|
|
1938
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1939
|
+
switch (errorCode) {
|
|
1940
|
+
case "InvalidParameterException":
|
|
1941
|
+
case "com.amazonaws.ecr#InvalidParameterException":
|
|
1942
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1943
|
+
case "PullThroughCacheRuleNotFoundException":
|
|
1944
|
+
case "com.amazonaws.ecr#PullThroughCacheRuleNotFoundException":
|
|
1945
|
+
throw await de_PullThroughCacheRuleNotFoundExceptionRes(parsedOutput, context);
|
|
1946
|
+
case "ServerException":
|
|
1947
|
+
case "com.amazonaws.ecr#ServerException":
|
|
1948
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1949
|
+
case "ValidationException":
|
|
1950
|
+
case "com.amazonaws.ecr#ValidationException":
|
|
1951
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1952
|
+
default:
|
|
1953
|
+
const parsedBody = parsedOutput.body;
|
|
1954
|
+
return throwDefaultError({
|
|
1955
|
+
output,
|
|
1956
|
+
parsedBody,
|
|
1957
|
+
errorCode
|
|
1958
|
+
});
|
|
1959
|
+
}
|
|
1960
|
+
}, "de_DescribePullThroughCacheRulesCommandError");
|
|
1961
|
+
var de_DescribeRegistryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1962
|
+
if (output.statusCode >= 300) {
|
|
1963
|
+
return de_DescribeRegistryCommandError(output, context);
|
|
1964
|
+
}
|
|
1965
|
+
const data = await parseBody(output.body, context);
|
|
1966
|
+
let contents = {};
|
|
1967
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1968
|
+
const response = {
|
|
1969
|
+
$metadata: deserializeMetadata(output),
|
|
1970
|
+
...contents
|
|
1971
|
+
};
|
|
1972
|
+
return response;
|
|
1973
|
+
}, "de_DescribeRegistryCommand");
|
|
1974
|
+
var de_DescribeRegistryCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1975
|
+
const parsedOutput = {
|
|
1976
|
+
...output,
|
|
1977
|
+
body: await parseErrorBody(output.body, context)
|
|
1978
|
+
};
|
|
1979
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1980
|
+
switch (errorCode) {
|
|
1981
|
+
case "InvalidParameterException":
|
|
1982
|
+
case "com.amazonaws.ecr#InvalidParameterException":
|
|
1983
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1984
|
+
case "ServerException":
|
|
1985
|
+
case "com.amazonaws.ecr#ServerException":
|
|
1986
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1987
|
+
case "ValidationException":
|
|
1988
|
+
case "com.amazonaws.ecr#ValidationException":
|
|
1989
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1990
|
+
default:
|
|
1991
|
+
const parsedBody = parsedOutput.body;
|
|
1992
|
+
return throwDefaultError({
|
|
1993
|
+
output,
|
|
1994
|
+
parsedBody,
|
|
1995
|
+
errorCode
|
|
1996
|
+
});
|
|
1997
|
+
}
|
|
1998
|
+
}, "de_DescribeRegistryCommandError");
|
|
1999
|
+
var de_DescribeRepositoriesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2000
|
+
if (output.statusCode >= 300) {
|
|
2001
|
+
return de_DescribeRepositoriesCommandError(output, context);
|
|
2002
|
+
}
|
|
2003
|
+
const data = await parseBody(output.body, context);
|
|
2004
|
+
let contents = {};
|
|
2005
|
+
contents = de_DescribeRepositoriesResponse(data, context);
|
|
2006
|
+
const response = {
|
|
2007
|
+
$metadata: deserializeMetadata(output),
|
|
2008
|
+
...contents
|
|
2009
|
+
};
|
|
2010
|
+
return response;
|
|
2011
|
+
}, "de_DescribeRepositoriesCommand");
|
|
2012
|
+
var de_DescribeRepositoriesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2013
|
+
const parsedOutput = {
|
|
2014
|
+
...output,
|
|
2015
|
+
body: await parseErrorBody(output.body, context)
|
|
2016
|
+
};
|
|
2017
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2018
|
+
switch (errorCode) {
|
|
2019
|
+
case "InvalidParameterException":
|
|
2020
|
+
case "com.amazonaws.ecr#InvalidParameterException":
|
|
2021
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2022
|
+
case "RepositoryNotFoundException":
|
|
2023
|
+
case "com.amazonaws.ecr#RepositoryNotFoundException":
|
|
2024
|
+
throw await de_RepositoryNotFoundExceptionRes(parsedOutput, context);
|
|
2025
|
+
case "ServerException":
|
|
2026
|
+
case "com.amazonaws.ecr#ServerException":
|
|
2027
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
2028
|
+
default:
|
|
2029
|
+
const parsedBody = parsedOutput.body;
|
|
2030
|
+
return throwDefaultError({
|
|
2031
|
+
output,
|
|
2032
|
+
parsedBody,
|
|
2033
|
+
errorCode
|
|
2034
|
+
});
|
|
2035
|
+
}
|
|
2036
|
+
}, "de_DescribeRepositoriesCommandError");
|
|
2037
|
+
var de_GetAuthorizationTokenCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2038
|
+
if (output.statusCode >= 300) {
|
|
2039
|
+
return de_GetAuthorizationTokenCommandError(output, context);
|
|
2040
|
+
}
|
|
2041
|
+
const data = await parseBody(output.body, context);
|
|
2042
|
+
let contents = {};
|
|
2043
|
+
contents = de_GetAuthorizationTokenResponse(data, context);
|
|
2044
|
+
const response = {
|
|
2045
|
+
$metadata: deserializeMetadata(output),
|
|
2046
|
+
...contents
|
|
2047
|
+
};
|
|
2048
|
+
return response;
|
|
2049
|
+
}, "de_GetAuthorizationTokenCommand");
|
|
2050
|
+
var de_GetAuthorizationTokenCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2051
|
+
const parsedOutput = {
|
|
2052
|
+
...output,
|
|
2053
|
+
body: await parseErrorBody(output.body, context)
|
|
2054
|
+
};
|
|
2055
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2056
|
+
switch (errorCode) {
|
|
2057
|
+
case "InvalidParameterException":
|
|
2058
|
+
case "com.amazonaws.ecr#InvalidParameterException":
|
|
2059
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2060
|
+
case "ServerException":
|
|
2061
|
+
case "com.amazonaws.ecr#ServerException":
|
|
2062
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
2063
|
+
default:
|
|
2064
|
+
const parsedBody = parsedOutput.body;
|
|
2065
|
+
return throwDefaultError({
|
|
2066
|
+
output,
|
|
2067
|
+
parsedBody,
|
|
2068
|
+
errorCode
|
|
2069
|
+
});
|
|
2070
|
+
}
|
|
2071
|
+
}, "de_GetAuthorizationTokenCommandError");
|
|
2072
|
+
var de_GetDownloadUrlForLayerCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2073
|
+
if (output.statusCode >= 300) {
|
|
2074
|
+
return de_GetDownloadUrlForLayerCommandError(output, context);
|
|
2075
|
+
}
|
|
2076
|
+
const data = await parseBody(output.body, context);
|
|
2077
|
+
let contents = {};
|
|
2078
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2079
|
+
const response = {
|
|
2080
|
+
$metadata: deserializeMetadata(output),
|
|
2081
|
+
...contents
|
|
2082
|
+
};
|
|
2083
|
+
return response;
|
|
2084
|
+
}, "de_GetDownloadUrlForLayerCommand");
|
|
2085
|
+
var de_GetDownloadUrlForLayerCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2086
|
+
const parsedOutput = {
|
|
2087
|
+
...output,
|
|
2088
|
+
body: await parseErrorBody(output.body, context)
|
|
2089
|
+
};
|
|
2090
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2091
|
+
switch (errorCode) {
|
|
2092
|
+
case "InvalidParameterException":
|
|
2093
|
+
case "com.amazonaws.ecr#InvalidParameterException":
|
|
2094
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2095
|
+
case "LayerInaccessibleException":
|
|
2096
|
+
case "com.amazonaws.ecr#LayerInaccessibleException":
|
|
2097
|
+
throw await de_LayerInaccessibleExceptionRes(parsedOutput, context);
|
|
2098
|
+
case "LayersNotFoundException":
|
|
2099
|
+
case "com.amazonaws.ecr#LayersNotFoundException":
|
|
2100
|
+
throw await de_LayersNotFoundExceptionRes(parsedOutput, context);
|
|
2101
|
+
case "RepositoryNotFoundException":
|
|
2102
|
+
case "com.amazonaws.ecr#RepositoryNotFoundException":
|
|
2103
|
+
throw await de_RepositoryNotFoundExceptionRes(parsedOutput, context);
|
|
2104
|
+
case "ServerException":
|
|
2105
|
+
case "com.amazonaws.ecr#ServerException":
|
|
2106
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
2107
|
+
case "UnableToGetUpstreamLayerException":
|
|
2108
|
+
case "com.amazonaws.ecr#UnableToGetUpstreamLayerException":
|
|
2109
|
+
throw await de_UnableToGetUpstreamLayerExceptionRes(parsedOutput, context);
|
|
2110
|
+
default:
|
|
2111
|
+
const parsedBody = parsedOutput.body;
|
|
2112
|
+
return throwDefaultError({
|
|
2113
|
+
output,
|
|
2114
|
+
parsedBody,
|
|
2115
|
+
errorCode
|
|
2116
|
+
});
|
|
2117
|
+
}
|
|
2118
|
+
}, "de_GetDownloadUrlForLayerCommandError");
|
|
2119
|
+
var de_GetLifecyclePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2120
|
+
if (output.statusCode >= 300) {
|
|
2121
|
+
return de_GetLifecyclePolicyCommandError(output, context);
|
|
2122
|
+
}
|
|
2123
|
+
const data = await parseBody(output.body, context);
|
|
2124
|
+
let contents = {};
|
|
2125
|
+
contents = de_GetLifecyclePolicyResponse(data, context);
|
|
2126
|
+
const response = {
|
|
2127
|
+
$metadata: deserializeMetadata(output),
|
|
2128
|
+
...contents
|
|
2129
|
+
};
|
|
2130
|
+
return response;
|
|
2131
|
+
}, "de_GetLifecyclePolicyCommand");
|
|
2132
|
+
var de_GetLifecyclePolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2133
|
+
const parsedOutput = {
|
|
2134
|
+
...output,
|
|
2135
|
+
body: await parseErrorBody(output.body, context)
|
|
2136
|
+
};
|
|
2137
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2138
|
+
switch (errorCode) {
|
|
2139
|
+
case "InvalidParameterException":
|
|
2140
|
+
case "com.amazonaws.ecr#InvalidParameterException":
|
|
2141
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2142
|
+
case "LifecyclePolicyNotFoundException":
|
|
2143
|
+
case "com.amazonaws.ecr#LifecyclePolicyNotFoundException":
|
|
2144
|
+
throw await de_LifecyclePolicyNotFoundExceptionRes(parsedOutput, context);
|
|
2145
|
+
case "RepositoryNotFoundException":
|
|
2146
|
+
case "com.amazonaws.ecr#RepositoryNotFoundException":
|
|
2147
|
+
throw await de_RepositoryNotFoundExceptionRes(parsedOutput, context);
|
|
2148
|
+
case "ServerException":
|
|
2149
|
+
case "com.amazonaws.ecr#ServerException":
|
|
2150
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
2151
|
+
case "ValidationException":
|
|
2152
|
+
case "com.amazonaws.ecr#ValidationException":
|
|
2153
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2154
|
+
default:
|
|
2155
|
+
const parsedBody = parsedOutput.body;
|
|
2156
|
+
return throwDefaultError({
|
|
2157
|
+
output,
|
|
2158
|
+
parsedBody,
|
|
2159
|
+
errorCode
|
|
2160
|
+
});
|
|
2161
|
+
}
|
|
2162
|
+
}, "de_GetLifecyclePolicyCommandError");
|
|
2163
|
+
var de_GetLifecyclePolicyPreviewCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2164
|
+
if (output.statusCode >= 300) {
|
|
2165
|
+
return de_GetLifecyclePolicyPreviewCommandError(output, context);
|
|
2166
|
+
}
|
|
2167
|
+
const data = await parseBody(output.body, context);
|
|
2168
|
+
let contents = {};
|
|
2169
|
+
contents = de_GetLifecyclePolicyPreviewResponse(data, context);
|
|
2170
|
+
const response = {
|
|
2171
|
+
$metadata: deserializeMetadata(output),
|
|
2172
|
+
...contents
|
|
2173
|
+
};
|
|
2174
|
+
return response;
|
|
2175
|
+
}, "de_GetLifecyclePolicyPreviewCommand");
|
|
2176
|
+
var de_GetLifecyclePolicyPreviewCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2177
|
+
const parsedOutput = {
|
|
2178
|
+
...output,
|
|
2179
|
+
body: await parseErrorBody(output.body, context)
|
|
2180
|
+
};
|
|
2181
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2182
|
+
switch (errorCode) {
|
|
2183
|
+
case "InvalidParameterException":
|
|
2184
|
+
case "com.amazonaws.ecr#InvalidParameterException":
|
|
2185
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2186
|
+
case "LifecyclePolicyPreviewNotFoundException":
|
|
2187
|
+
case "com.amazonaws.ecr#LifecyclePolicyPreviewNotFoundException":
|
|
2188
|
+
throw await de_LifecyclePolicyPreviewNotFoundExceptionRes(parsedOutput, context);
|
|
2189
|
+
case "RepositoryNotFoundException":
|
|
2190
|
+
case "com.amazonaws.ecr#RepositoryNotFoundException":
|
|
2191
|
+
throw await de_RepositoryNotFoundExceptionRes(parsedOutput, context);
|
|
2192
|
+
case "ServerException":
|
|
2193
|
+
case "com.amazonaws.ecr#ServerException":
|
|
2194
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
2195
|
+
case "ValidationException":
|
|
2196
|
+
case "com.amazonaws.ecr#ValidationException":
|
|
2197
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2198
|
+
default:
|
|
2199
|
+
const parsedBody = parsedOutput.body;
|
|
2200
|
+
return throwDefaultError({
|
|
2201
|
+
output,
|
|
2202
|
+
parsedBody,
|
|
2203
|
+
errorCode
|
|
2204
|
+
});
|
|
2205
|
+
}
|
|
2206
|
+
}, "de_GetLifecyclePolicyPreviewCommandError");
|
|
2207
|
+
var de_GetRegistryPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2208
|
+
if (output.statusCode >= 300) {
|
|
2209
|
+
return de_GetRegistryPolicyCommandError(output, context);
|
|
2210
|
+
}
|
|
2211
|
+
const data = await parseBody(output.body, context);
|
|
2212
|
+
let contents = {};
|
|
2213
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2214
|
+
const response = {
|
|
2215
|
+
$metadata: deserializeMetadata(output),
|
|
2216
|
+
...contents
|
|
2217
|
+
};
|
|
2218
|
+
return response;
|
|
2219
|
+
}, "de_GetRegistryPolicyCommand");
|
|
2220
|
+
var de_GetRegistryPolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2221
|
+
const parsedOutput = {
|
|
2222
|
+
...output,
|
|
2223
|
+
body: await parseErrorBody(output.body, context)
|
|
2224
|
+
};
|
|
2225
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2226
|
+
switch (errorCode) {
|
|
2227
|
+
case "InvalidParameterException":
|
|
2228
|
+
case "com.amazonaws.ecr#InvalidParameterException":
|
|
2229
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2230
|
+
case "RegistryPolicyNotFoundException":
|
|
2231
|
+
case "com.amazonaws.ecr#RegistryPolicyNotFoundException":
|
|
2232
|
+
throw await de_RegistryPolicyNotFoundExceptionRes(parsedOutput, context);
|
|
2233
|
+
case "ServerException":
|
|
2234
|
+
case "com.amazonaws.ecr#ServerException":
|
|
2235
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
2236
|
+
case "ValidationException":
|
|
2237
|
+
case "com.amazonaws.ecr#ValidationException":
|
|
2238
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2239
|
+
default:
|
|
2240
|
+
const parsedBody = parsedOutput.body;
|
|
2241
|
+
return throwDefaultError({
|
|
2242
|
+
output,
|
|
2243
|
+
parsedBody,
|
|
2244
|
+
errorCode
|
|
2245
|
+
});
|
|
2246
|
+
}
|
|
2247
|
+
}, "de_GetRegistryPolicyCommandError");
|
|
2248
|
+
var de_GetRegistryScanningConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2249
|
+
if (output.statusCode >= 300) {
|
|
2250
|
+
return de_GetRegistryScanningConfigurationCommandError(output, context);
|
|
2251
|
+
}
|
|
2252
|
+
const data = await parseBody(output.body, context);
|
|
2253
|
+
let contents = {};
|
|
2254
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2255
|
+
const response = {
|
|
2256
|
+
$metadata: deserializeMetadata(output),
|
|
2257
|
+
...contents
|
|
2258
|
+
};
|
|
2259
|
+
return response;
|
|
2260
|
+
}, "de_GetRegistryScanningConfigurationCommand");
|
|
2261
|
+
var de_GetRegistryScanningConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2262
|
+
const parsedOutput = {
|
|
2263
|
+
...output,
|
|
2264
|
+
body: await parseErrorBody(output.body, context)
|
|
2265
|
+
};
|
|
2266
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2267
|
+
switch (errorCode) {
|
|
2268
|
+
case "InvalidParameterException":
|
|
2269
|
+
case "com.amazonaws.ecr#InvalidParameterException":
|
|
2270
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2271
|
+
case "ServerException":
|
|
2272
|
+
case "com.amazonaws.ecr#ServerException":
|
|
2273
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
2274
|
+
case "ValidationException":
|
|
2275
|
+
case "com.amazonaws.ecr#ValidationException":
|
|
2276
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2277
|
+
default:
|
|
2278
|
+
const parsedBody = parsedOutput.body;
|
|
2279
|
+
return throwDefaultError({
|
|
2280
|
+
output,
|
|
2281
|
+
parsedBody,
|
|
2282
|
+
errorCode
|
|
2283
|
+
});
|
|
2284
|
+
}
|
|
2285
|
+
}, "de_GetRegistryScanningConfigurationCommandError");
|
|
2286
|
+
var de_GetRepositoryPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2287
|
+
if (output.statusCode >= 300) {
|
|
2288
|
+
return de_GetRepositoryPolicyCommandError(output, context);
|
|
2289
|
+
}
|
|
2290
|
+
const data = await parseBody(output.body, context);
|
|
2291
|
+
let contents = {};
|
|
2292
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2293
|
+
const response = {
|
|
2294
|
+
$metadata: deserializeMetadata(output),
|
|
2295
|
+
...contents
|
|
2296
|
+
};
|
|
2297
|
+
return response;
|
|
2298
|
+
}, "de_GetRepositoryPolicyCommand");
|
|
2299
|
+
var de_GetRepositoryPolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2300
|
+
const parsedOutput = {
|
|
2301
|
+
...output,
|
|
2302
|
+
body: await parseErrorBody(output.body, context)
|
|
2303
|
+
};
|
|
2304
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2305
|
+
switch (errorCode) {
|
|
2306
|
+
case "InvalidParameterException":
|
|
2307
|
+
case "com.amazonaws.ecr#InvalidParameterException":
|
|
2308
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2309
|
+
case "RepositoryNotFoundException":
|
|
2310
|
+
case "com.amazonaws.ecr#RepositoryNotFoundException":
|
|
2311
|
+
throw await de_RepositoryNotFoundExceptionRes(parsedOutput, context);
|
|
2312
|
+
case "RepositoryPolicyNotFoundException":
|
|
2313
|
+
case "com.amazonaws.ecr#RepositoryPolicyNotFoundException":
|
|
2314
|
+
throw await de_RepositoryPolicyNotFoundExceptionRes(parsedOutput, context);
|
|
2315
|
+
case "ServerException":
|
|
2316
|
+
case "com.amazonaws.ecr#ServerException":
|
|
2317
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
2318
|
+
default:
|
|
2319
|
+
const parsedBody = parsedOutput.body;
|
|
2320
|
+
return throwDefaultError({
|
|
2321
|
+
output,
|
|
2322
|
+
parsedBody,
|
|
2323
|
+
errorCode
|
|
2324
|
+
});
|
|
2325
|
+
}
|
|
2326
|
+
}, "de_GetRepositoryPolicyCommandError");
|
|
2327
|
+
var de_InitiateLayerUploadCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2328
|
+
if (output.statusCode >= 300) {
|
|
2329
|
+
return de_InitiateLayerUploadCommandError(output, context);
|
|
2330
|
+
}
|
|
2331
|
+
const data = await parseBody(output.body, context);
|
|
2332
|
+
let contents = {};
|
|
2333
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2334
|
+
const response = {
|
|
2335
|
+
$metadata: deserializeMetadata(output),
|
|
2336
|
+
...contents
|
|
2337
|
+
};
|
|
2338
|
+
return response;
|
|
2339
|
+
}, "de_InitiateLayerUploadCommand");
|
|
2340
|
+
var de_InitiateLayerUploadCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2341
|
+
const parsedOutput = {
|
|
2342
|
+
...output,
|
|
2343
|
+
body: await parseErrorBody(output.body, context)
|
|
2344
|
+
};
|
|
2345
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2346
|
+
switch (errorCode) {
|
|
2347
|
+
case "InvalidParameterException":
|
|
2348
|
+
case "com.amazonaws.ecr#InvalidParameterException":
|
|
2349
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2350
|
+
case "KmsException":
|
|
2351
|
+
case "com.amazonaws.ecr#KmsException":
|
|
2352
|
+
throw await de_KmsExceptionRes(parsedOutput, context);
|
|
2353
|
+
case "RepositoryNotFoundException":
|
|
2354
|
+
case "com.amazonaws.ecr#RepositoryNotFoundException":
|
|
2355
|
+
throw await de_RepositoryNotFoundExceptionRes(parsedOutput, context);
|
|
2356
|
+
case "ServerException":
|
|
2357
|
+
case "com.amazonaws.ecr#ServerException":
|
|
2358
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
2359
|
+
default:
|
|
2360
|
+
const parsedBody = parsedOutput.body;
|
|
2361
|
+
return throwDefaultError({
|
|
2362
|
+
output,
|
|
2363
|
+
parsedBody,
|
|
2364
|
+
errorCode
|
|
2365
|
+
});
|
|
2366
|
+
}
|
|
2367
|
+
}, "de_InitiateLayerUploadCommandError");
|
|
2368
|
+
var de_ListImagesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2369
|
+
if (output.statusCode >= 300) {
|
|
2370
|
+
return de_ListImagesCommandError(output, context);
|
|
2371
|
+
}
|
|
2372
|
+
const data = await parseBody(output.body, context);
|
|
2373
|
+
let contents = {};
|
|
2374
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2375
|
+
const response = {
|
|
2376
|
+
$metadata: deserializeMetadata(output),
|
|
2377
|
+
...contents
|
|
2378
|
+
};
|
|
2379
|
+
return response;
|
|
2380
|
+
}, "de_ListImagesCommand");
|
|
2381
|
+
var de_ListImagesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2382
|
+
const parsedOutput = {
|
|
2383
|
+
...output,
|
|
2384
|
+
body: await parseErrorBody(output.body, context)
|
|
2385
|
+
};
|
|
2386
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2387
|
+
switch (errorCode) {
|
|
2388
|
+
case "InvalidParameterException":
|
|
2389
|
+
case "com.amazonaws.ecr#InvalidParameterException":
|
|
2390
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2391
|
+
case "RepositoryNotFoundException":
|
|
2392
|
+
case "com.amazonaws.ecr#RepositoryNotFoundException":
|
|
2393
|
+
throw await de_RepositoryNotFoundExceptionRes(parsedOutput, context);
|
|
2394
|
+
case "ServerException":
|
|
2395
|
+
case "com.amazonaws.ecr#ServerException":
|
|
2396
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
2397
|
+
default:
|
|
2398
|
+
const parsedBody = parsedOutput.body;
|
|
2399
|
+
return throwDefaultError({
|
|
2400
|
+
output,
|
|
2401
|
+
parsedBody,
|
|
2402
|
+
errorCode
|
|
2403
|
+
});
|
|
2404
|
+
}
|
|
2405
|
+
}, "de_ListImagesCommandError");
|
|
2406
|
+
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2407
|
+
if (output.statusCode >= 300) {
|
|
2408
|
+
return de_ListTagsForResourceCommandError(output, context);
|
|
2409
|
+
}
|
|
2410
|
+
const data = await parseBody(output.body, context);
|
|
2411
|
+
let contents = {};
|
|
2412
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2413
|
+
const response = {
|
|
2414
|
+
$metadata: deserializeMetadata(output),
|
|
2415
|
+
...contents
|
|
2416
|
+
};
|
|
2417
|
+
return response;
|
|
2418
|
+
}, "de_ListTagsForResourceCommand");
|
|
2419
|
+
var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2420
|
+
const parsedOutput = {
|
|
2421
|
+
...output,
|
|
2422
|
+
body: await parseErrorBody(output.body, context)
|
|
2423
|
+
};
|
|
2424
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2425
|
+
switch (errorCode) {
|
|
2426
|
+
case "InvalidParameterException":
|
|
2427
|
+
case "com.amazonaws.ecr#InvalidParameterException":
|
|
2428
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2429
|
+
case "RepositoryNotFoundException":
|
|
2430
|
+
case "com.amazonaws.ecr#RepositoryNotFoundException":
|
|
2431
|
+
throw await de_RepositoryNotFoundExceptionRes(parsedOutput, context);
|
|
2432
|
+
case "ServerException":
|
|
2433
|
+
case "com.amazonaws.ecr#ServerException":
|
|
2434
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
2435
|
+
default:
|
|
2436
|
+
const parsedBody = parsedOutput.body;
|
|
2437
|
+
return throwDefaultError({
|
|
2438
|
+
output,
|
|
2439
|
+
parsedBody,
|
|
2440
|
+
errorCode
|
|
2441
|
+
});
|
|
2442
|
+
}
|
|
2443
|
+
}, "de_ListTagsForResourceCommandError");
|
|
2444
|
+
var de_PutImageCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2445
|
+
if (output.statusCode >= 300) {
|
|
2446
|
+
return de_PutImageCommandError(output, context);
|
|
2447
|
+
}
|
|
2448
|
+
const data = await parseBody(output.body, context);
|
|
2449
|
+
let contents = {};
|
|
2450
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2451
|
+
const response = {
|
|
2452
|
+
$metadata: deserializeMetadata(output),
|
|
2453
|
+
...contents
|
|
2454
|
+
};
|
|
2455
|
+
return response;
|
|
2456
|
+
}, "de_PutImageCommand");
|
|
2457
|
+
var de_PutImageCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2458
|
+
const parsedOutput = {
|
|
2459
|
+
...output,
|
|
2460
|
+
body: await parseErrorBody(output.body, context)
|
|
2461
|
+
};
|
|
2462
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2463
|
+
switch (errorCode) {
|
|
2464
|
+
case "ImageAlreadyExistsException":
|
|
2465
|
+
case "com.amazonaws.ecr#ImageAlreadyExistsException":
|
|
2466
|
+
throw await de_ImageAlreadyExistsExceptionRes(parsedOutput, context);
|
|
2467
|
+
case "ImageDigestDoesNotMatchException":
|
|
2468
|
+
case "com.amazonaws.ecr#ImageDigestDoesNotMatchException":
|
|
2469
|
+
throw await de_ImageDigestDoesNotMatchExceptionRes(parsedOutput, context);
|
|
2470
|
+
case "ImageTagAlreadyExistsException":
|
|
2471
|
+
case "com.amazonaws.ecr#ImageTagAlreadyExistsException":
|
|
2472
|
+
throw await de_ImageTagAlreadyExistsExceptionRes(parsedOutput, context);
|
|
2473
|
+
case "InvalidParameterException":
|
|
2474
|
+
case "com.amazonaws.ecr#InvalidParameterException":
|
|
2475
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2476
|
+
case "KmsException":
|
|
2477
|
+
case "com.amazonaws.ecr#KmsException":
|
|
2478
|
+
throw await de_KmsExceptionRes(parsedOutput, context);
|
|
2479
|
+
case "LayersNotFoundException":
|
|
2480
|
+
case "com.amazonaws.ecr#LayersNotFoundException":
|
|
2481
|
+
throw await de_LayersNotFoundExceptionRes(parsedOutput, context);
|
|
2482
|
+
case "LimitExceededException":
|
|
2483
|
+
case "com.amazonaws.ecr#LimitExceededException":
|
|
2484
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
2485
|
+
case "ReferencedImagesNotFoundException":
|
|
2486
|
+
case "com.amazonaws.ecr#ReferencedImagesNotFoundException":
|
|
2487
|
+
throw await de_ReferencedImagesNotFoundExceptionRes(parsedOutput, context);
|
|
2488
|
+
case "RepositoryNotFoundException":
|
|
2489
|
+
case "com.amazonaws.ecr#RepositoryNotFoundException":
|
|
2490
|
+
throw await de_RepositoryNotFoundExceptionRes(parsedOutput, context);
|
|
2491
|
+
case "ServerException":
|
|
2492
|
+
case "com.amazonaws.ecr#ServerException":
|
|
2493
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
2494
|
+
default:
|
|
2495
|
+
const parsedBody = parsedOutput.body;
|
|
2496
|
+
return throwDefaultError({
|
|
2497
|
+
output,
|
|
2498
|
+
parsedBody,
|
|
2499
|
+
errorCode
|
|
2500
|
+
});
|
|
2501
|
+
}
|
|
2502
|
+
}, "de_PutImageCommandError");
|
|
2503
|
+
var de_PutImageScanningConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2504
|
+
if (output.statusCode >= 300) {
|
|
2505
|
+
return de_PutImageScanningConfigurationCommandError(output, context);
|
|
2506
|
+
}
|
|
2507
|
+
const data = await parseBody(output.body, context);
|
|
2508
|
+
let contents = {};
|
|
2509
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2510
|
+
const response = {
|
|
2511
|
+
$metadata: deserializeMetadata(output),
|
|
2512
|
+
...contents
|
|
2513
|
+
};
|
|
2514
|
+
return response;
|
|
2515
|
+
}, "de_PutImageScanningConfigurationCommand");
|
|
2516
|
+
var de_PutImageScanningConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2517
|
+
const parsedOutput = {
|
|
2518
|
+
...output,
|
|
2519
|
+
body: await parseErrorBody(output.body, context)
|
|
2520
|
+
};
|
|
2521
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2522
|
+
switch (errorCode) {
|
|
2523
|
+
case "InvalidParameterException":
|
|
2524
|
+
case "com.amazonaws.ecr#InvalidParameterException":
|
|
2525
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2526
|
+
case "RepositoryNotFoundException":
|
|
2527
|
+
case "com.amazonaws.ecr#RepositoryNotFoundException":
|
|
2528
|
+
throw await de_RepositoryNotFoundExceptionRes(parsedOutput, context);
|
|
2529
|
+
case "ServerException":
|
|
2530
|
+
case "com.amazonaws.ecr#ServerException":
|
|
2531
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
2532
|
+
case "ValidationException":
|
|
2533
|
+
case "com.amazonaws.ecr#ValidationException":
|
|
2534
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2535
|
+
default:
|
|
2536
|
+
const parsedBody = parsedOutput.body;
|
|
2537
|
+
return throwDefaultError({
|
|
2538
|
+
output,
|
|
2539
|
+
parsedBody,
|
|
2540
|
+
errorCode
|
|
2541
|
+
});
|
|
2542
|
+
}
|
|
2543
|
+
}, "de_PutImageScanningConfigurationCommandError");
|
|
2544
|
+
var de_PutImageTagMutabilityCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2545
|
+
if (output.statusCode >= 300) {
|
|
2546
|
+
return de_PutImageTagMutabilityCommandError(output, context);
|
|
2547
|
+
}
|
|
2548
|
+
const data = await parseBody(output.body, context);
|
|
2549
|
+
let contents = {};
|
|
2550
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2551
|
+
const response = {
|
|
2552
|
+
$metadata: deserializeMetadata(output),
|
|
2553
|
+
...contents
|
|
2554
|
+
};
|
|
2555
|
+
return response;
|
|
2556
|
+
}, "de_PutImageTagMutabilityCommand");
|
|
2557
|
+
var de_PutImageTagMutabilityCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2558
|
+
const parsedOutput = {
|
|
2559
|
+
...output,
|
|
2560
|
+
body: await parseErrorBody(output.body, context)
|
|
2561
|
+
};
|
|
2562
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2563
|
+
switch (errorCode) {
|
|
2564
|
+
case "InvalidParameterException":
|
|
2565
|
+
case "com.amazonaws.ecr#InvalidParameterException":
|
|
2566
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2567
|
+
case "RepositoryNotFoundException":
|
|
2568
|
+
case "com.amazonaws.ecr#RepositoryNotFoundException":
|
|
2569
|
+
throw await de_RepositoryNotFoundExceptionRes(parsedOutput, context);
|
|
2570
|
+
case "ServerException":
|
|
2571
|
+
case "com.amazonaws.ecr#ServerException":
|
|
2572
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
2573
|
+
default:
|
|
2574
|
+
const parsedBody = parsedOutput.body;
|
|
2575
|
+
return throwDefaultError({
|
|
2576
|
+
output,
|
|
2577
|
+
parsedBody,
|
|
2578
|
+
errorCode
|
|
2579
|
+
});
|
|
2580
|
+
}
|
|
2581
|
+
}, "de_PutImageTagMutabilityCommandError");
|
|
2582
|
+
var de_PutLifecyclePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2583
|
+
if (output.statusCode >= 300) {
|
|
2584
|
+
return de_PutLifecyclePolicyCommandError(output, context);
|
|
2585
|
+
}
|
|
2586
|
+
const data = await parseBody(output.body, context);
|
|
2587
|
+
let contents = {};
|
|
2588
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2589
|
+
const response = {
|
|
2590
|
+
$metadata: deserializeMetadata(output),
|
|
2591
|
+
...contents
|
|
2592
|
+
};
|
|
2593
|
+
return response;
|
|
2594
|
+
}, "de_PutLifecyclePolicyCommand");
|
|
2595
|
+
var de_PutLifecyclePolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2596
|
+
const parsedOutput = {
|
|
2597
|
+
...output,
|
|
2598
|
+
body: await parseErrorBody(output.body, context)
|
|
2599
|
+
};
|
|
2600
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2601
|
+
switch (errorCode) {
|
|
2602
|
+
case "InvalidParameterException":
|
|
2603
|
+
case "com.amazonaws.ecr#InvalidParameterException":
|
|
2604
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2605
|
+
case "RepositoryNotFoundException":
|
|
2606
|
+
case "com.amazonaws.ecr#RepositoryNotFoundException":
|
|
2607
|
+
throw await de_RepositoryNotFoundExceptionRes(parsedOutput, context);
|
|
2608
|
+
case "ServerException":
|
|
2609
|
+
case "com.amazonaws.ecr#ServerException":
|
|
2610
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
2611
|
+
case "ValidationException":
|
|
2612
|
+
case "com.amazonaws.ecr#ValidationException":
|
|
2613
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2614
|
+
default:
|
|
2615
|
+
const parsedBody = parsedOutput.body;
|
|
2616
|
+
return throwDefaultError({
|
|
2617
|
+
output,
|
|
2618
|
+
parsedBody,
|
|
2619
|
+
errorCode
|
|
2620
|
+
});
|
|
2621
|
+
}
|
|
2622
|
+
}, "de_PutLifecyclePolicyCommandError");
|
|
2623
|
+
var de_PutRegistryPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2624
|
+
if (output.statusCode >= 300) {
|
|
2625
|
+
return de_PutRegistryPolicyCommandError(output, context);
|
|
2626
|
+
}
|
|
2627
|
+
const data = await parseBody(output.body, context);
|
|
2628
|
+
let contents = {};
|
|
2629
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2630
|
+
const response = {
|
|
2631
|
+
$metadata: deserializeMetadata(output),
|
|
2632
|
+
...contents
|
|
2633
|
+
};
|
|
2634
|
+
return response;
|
|
2635
|
+
}, "de_PutRegistryPolicyCommand");
|
|
2636
|
+
var de_PutRegistryPolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2637
|
+
const parsedOutput = {
|
|
2638
|
+
...output,
|
|
2639
|
+
body: await parseErrorBody(output.body, context)
|
|
2640
|
+
};
|
|
2641
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2642
|
+
switch (errorCode) {
|
|
2643
|
+
case "InvalidParameterException":
|
|
2644
|
+
case "com.amazonaws.ecr#InvalidParameterException":
|
|
2645
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2646
|
+
case "ServerException":
|
|
2647
|
+
case "com.amazonaws.ecr#ServerException":
|
|
2648
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
2649
|
+
case "ValidationException":
|
|
2650
|
+
case "com.amazonaws.ecr#ValidationException":
|
|
2651
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2652
|
+
default:
|
|
2653
|
+
const parsedBody = parsedOutput.body;
|
|
2654
|
+
return throwDefaultError({
|
|
2655
|
+
output,
|
|
2656
|
+
parsedBody,
|
|
2657
|
+
errorCode
|
|
2658
|
+
});
|
|
2659
|
+
}
|
|
2660
|
+
}, "de_PutRegistryPolicyCommandError");
|
|
2661
|
+
var de_PutRegistryScanningConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2662
|
+
if (output.statusCode >= 300) {
|
|
2663
|
+
return de_PutRegistryScanningConfigurationCommandError(output, context);
|
|
2664
|
+
}
|
|
2665
|
+
const data = await parseBody(output.body, context);
|
|
2666
|
+
let contents = {};
|
|
2667
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2668
|
+
const response = {
|
|
2669
|
+
$metadata: deserializeMetadata(output),
|
|
2670
|
+
...contents
|
|
2671
|
+
};
|
|
2672
|
+
return response;
|
|
2673
|
+
}, "de_PutRegistryScanningConfigurationCommand");
|
|
2674
|
+
var de_PutRegistryScanningConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2675
|
+
const parsedOutput = {
|
|
2676
|
+
...output,
|
|
2677
|
+
body: await parseErrorBody(output.body, context)
|
|
2678
|
+
};
|
|
2679
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2680
|
+
switch (errorCode) {
|
|
2681
|
+
case "InvalidParameterException":
|
|
2682
|
+
case "com.amazonaws.ecr#InvalidParameterException":
|
|
2683
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2684
|
+
case "ServerException":
|
|
2685
|
+
case "com.amazonaws.ecr#ServerException":
|
|
2686
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
2687
|
+
case "ValidationException":
|
|
2688
|
+
case "com.amazonaws.ecr#ValidationException":
|
|
2689
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2690
|
+
default:
|
|
2691
|
+
const parsedBody = parsedOutput.body;
|
|
2692
|
+
return throwDefaultError({
|
|
2693
|
+
output,
|
|
2694
|
+
parsedBody,
|
|
2695
|
+
errorCode
|
|
2696
|
+
});
|
|
2697
|
+
}
|
|
2698
|
+
}, "de_PutRegistryScanningConfigurationCommandError");
|
|
2699
|
+
var de_PutReplicationConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2700
|
+
if (output.statusCode >= 300) {
|
|
2701
|
+
return de_PutReplicationConfigurationCommandError(output, context);
|
|
2702
|
+
}
|
|
2703
|
+
const data = await parseBody(output.body, context);
|
|
2704
|
+
let contents = {};
|
|
2705
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2706
|
+
const response = {
|
|
2707
|
+
$metadata: deserializeMetadata(output),
|
|
2708
|
+
...contents
|
|
2709
|
+
};
|
|
2710
|
+
return response;
|
|
2711
|
+
}, "de_PutReplicationConfigurationCommand");
|
|
2712
|
+
var de_PutReplicationConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2713
|
+
const parsedOutput = {
|
|
2714
|
+
...output,
|
|
2715
|
+
body: await parseErrorBody(output.body, context)
|
|
2716
|
+
};
|
|
2717
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2718
|
+
switch (errorCode) {
|
|
2719
|
+
case "InvalidParameterException":
|
|
2720
|
+
case "com.amazonaws.ecr#InvalidParameterException":
|
|
2721
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2722
|
+
case "ServerException":
|
|
2723
|
+
case "com.amazonaws.ecr#ServerException":
|
|
2724
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
2725
|
+
case "ValidationException":
|
|
2726
|
+
case "com.amazonaws.ecr#ValidationException":
|
|
2727
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2728
|
+
default:
|
|
2729
|
+
const parsedBody = parsedOutput.body;
|
|
2730
|
+
return throwDefaultError({
|
|
2731
|
+
output,
|
|
2732
|
+
parsedBody,
|
|
2733
|
+
errorCode
|
|
2734
|
+
});
|
|
2735
|
+
}
|
|
2736
|
+
}, "de_PutReplicationConfigurationCommandError");
|
|
2737
|
+
var de_SetRepositoryPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2738
|
+
if (output.statusCode >= 300) {
|
|
2739
|
+
return de_SetRepositoryPolicyCommandError(output, context);
|
|
2740
|
+
}
|
|
2741
|
+
const data = await parseBody(output.body, context);
|
|
2742
|
+
let contents = {};
|
|
2743
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2744
|
+
const response = {
|
|
2745
|
+
$metadata: deserializeMetadata(output),
|
|
2746
|
+
...contents
|
|
2747
|
+
};
|
|
2748
|
+
return response;
|
|
2749
|
+
}, "de_SetRepositoryPolicyCommand");
|
|
2750
|
+
var de_SetRepositoryPolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2751
|
+
const parsedOutput = {
|
|
2752
|
+
...output,
|
|
2753
|
+
body: await parseErrorBody(output.body, context)
|
|
2754
|
+
};
|
|
2755
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2756
|
+
switch (errorCode) {
|
|
2757
|
+
case "InvalidParameterException":
|
|
2758
|
+
case "com.amazonaws.ecr#InvalidParameterException":
|
|
2759
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2760
|
+
case "RepositoryNotFoundException":
|
|
2761
|
+
case "com.amazonaws.ecr#RepositoryNotFoundException":
|
|
2762
|
+
throw await de_RepositoryNotFoundExceptionRes(parsedOutput, context);
|
|
2763
|
+
case "ServerException":
|
|
2764
|
+
case "com.amazonaws.ecr#ServerException":
|
|
2765
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
2766
|
+
default:
|
|
2767
|
+
const parsedBody = parsedOutput.body;
|
|
2768
|
+
return throwDefaultError({
|
|
2769
|
+
output,
|
|
2770
|
+
parsedBody,
|
|
2771
|
+
errorCode
|
|
2772
|
+
});
|
|
2773
|
+
}
|
|
2774
|
+
}, "de_SetRepositoryPolicyCommandError");
|
|
2775
|
+
var de_StartImageScanCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2776
|
+
if (output.statusCode >= 300) {
|
|
2777
|
+
return de_StartImageScanCommandError(output, context);
|
|
2778
|
+
}
|
|
2779
|
+
const data = await parseBody(output.body, context);
|
|
2780
|
+
let contents = {};
|
|
2781
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2782
|
+
const response = {
|
|
2783
|
+
$metadata: deserializeMetadata(output),
|
|
2784
|
+
...contents
|
|
2785
|
+
};
|
|
2786
|
+
return response;
|
|
2787
|
+
}, "de_StartImageScanCommand");
|
|
2788
|
+
var de_StartImageScanCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2789
|
+
const parsedOutput = {
|
|
2790
|
+
...output,
|
|
2791
|
+
body: await parseErrorBody(output.body, context)
|
|
2792
|
+
};
|
|
2793
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2794
|
+
switch (errorCode) {
|
|
2795
|
+
case "ImageNotFoundException":
|
|
2796
|
+
case "com.amazonaws.ecr#ImageNotFoundException":
|
|
2797
|
+
throw await de_ImageNotFoundExceptionRes(parsedOutput, context);
|
|
2798
|
+
case "InvalidParameterException":
|
|
2799
|
+
case "com.amazonaws.ecr#InvalidParameterException":
|
|
2800
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2801
|
+
case "LimitExceededException":
|
|
2802
|
+
case "com.amazonaws.ecr#LimitExceededException":
|
|
2803
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
2804
|
+
case "RepositoryNotFoundException":
|
|
2805
|
+
case "com.amazonaws.ecr#RepositoryNotFoundException":
|
|
2806
|
+
throw await de_RepositoryNotFoundExceptionRes(parsedOutput, context);
|
|
2807
|
+
case "ServerException":
|
|
2808
|
+
case "com.amazonaws.ecr#ServerException":
|
|
2809
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
2810
|
+
case "UnsupportedImageTypeException":
|
|
2811
|
+
case "com.amazonaws.ecr#UnsupportedImageTypeException":
|
|
2812
|
+
throw await de_UnsupportedImageTypeExceptionRes(parsedOutput, context);
|
|
2813
|
+
case "ValidationException":
|
|
2814
|
+
case "com.amazonaws.ecr#ValidationException":
|
|
2815
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2816
|
+
default:
|
|
2817
|
+
const parsedBody = parsedOutput.body;
|
|
2818
|
+
return throwDefaultError({
|
|
2819
|
+
output,
|
|
2820
|
+
parsedBody,
|
|
2821
|
+
errorCode
|
|
2822
|
+
});
|
|
2823
|
+
}
|
|
2824
|
+
}, "de_StartImageScanCommandError");
|
|
2825
|
+
var de_StartLifecyclePolicyPreviewCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2826
|
+
if (output.statusCode >= 300) {
|
|
2827
|
+
return de_StartLifecyclePolicyPreviewCommandError(output, context);
|
|
2828
|
+
}
|
|
2829
|
+
const data = await parseBody(output.body, context);
|
|
2830
|
+
let contents = {};
|
|
2831
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2832
|
+
const response = {
|
|
2833
|
+
$metadata: deserializeMetadata(output),
|
|
2834
|
+
...contents
|
|
2835
|
+
};
|
|
2836
|
+
return response;
|
|
2837
|
+
}, "de_StartLifecyclePolicyPreviewCommand");
|
|
2838
|
+
var de_StartLifecyclePolicyPreviewCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2839
|
+
const parsedOutput = {
|
|
2840
|
+
...output,
|
|
2841
|
+
body: await parseErrorBody(output.body, context)
|
|
2842
|
+
};
|
|
2843
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2844
|
+
switch (errorCode) {
|
|
2845
|
+
case "InvalidParameterException":
|
|
2846
|
+
case "com.amazonaws.ecr#InvalidParameterException":
|
|
2847
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2848
|
+
case "LifecyclePolicyNotFoundException":
|
|
2849
|
+
case "com.amazonaws.ecr#LifecyclePolicyNotFoundException":
|
|
2850
|
+
throw await de_LifecyclePolicyNotFoundExceptionRes(parsedOutput, context);
|
|
2851
|
+
case "LifecyclePolicyPreviewInProgressException":
|
|
2852
|
+
case "com.amazonaws.ecr#LifecyclePolicyPreviewInProgressException":
|
|
2853
|
+
throw await de_LifecyclePolicyPreviewInProgressExceptionRes(parsedOutput, context);
|
|
2854
|
+
case "RepositoryNotFoundException":
|
|
2855
|
+
case "com.amazonaws.ecr#RepositoryNotFoundException":
|
|
2856
|
+
throw await de_RepositoryNotFoundExceptionRes(parsedOutput, context);
|
|
2857
|
+
case "ServerException":
|
|
2858
|
+
case "com.amazonaws.ecr#ServerException":
|
|
2859
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
2860
|
+
case "ValidationException":
|
|
2861
|
+
case "com.amazonaws.ecr#ValidationException":
|
|
2862
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2863
|
+
default:
|
|
2864
|
+
const parsedBody = parsedOutput.body;
|
|
2865
|
+
return throwDefaultError({
|
|
2866
|
+
output,
|
|
2867
|
+
parsedBody,
|
|
2868
|
+
errorCode
|
|
2869
|
+
});
|
|
2870
|
+
}
|
|
2871
|
+
}, "de_StartLifecyclePolicyPreviewCommandError");
|
|
2872
|
+
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2873
|
+
if (output.statusCode >= 300) {
|
|
2874
|
+
return de_TagResourceCommandError(output, context);
|
|
2875
|
+
}
|
|
2876
|
+
const data = await parseBody(output.body, context);
|
|
2877
|
+
let contents = {};
|
|
2878
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2879
|
+
const response = {
|
|
2880
|
+
$metadata: deserializeMetadata(output),
|
|
2881
|
+
...contents
|
|
2882
|
+
};
|
|
2883
|
+
return response;
|
|
2884
|
+
}, "de_TagResourceCommand");
|
|
2885
|
+
var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2886
|
+
const parsedOutput = {
|
|
2887
|
+
...output,
|
|
2888
|
+
body: await parseErrorBody(output.body, context)
|
|
2889
|
+
};
|
|
2890
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2891
|
+
switch (errorCode) {
|
|
2892
|
+
case "InvalidParameterException":
|
|
2893
|
+
case "com.amazonaws.ecr#InvalidParameterException":
|
|
2894
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2895
|
+
case "InvalidTagParameterException":
|
|
2896
|
+
case "com.amazonaws.ecr#InvalidTagParameterException":
|
|
2897
|
+
throw await de_InvalidTagParameterExceptionRes(parsedOutput, context);
|
|
2898
|
+
case "RepositoryNotFoundException":
|
|
2899
|
+
case "com.amazonaws.ecr#RepositoryNotFoundException":
|
|
2900
|
+
throw await de_RepositoryNotFoundExceptionRes(parsedOutput, context);
|
|
2901
|
+
case "ServerException":
|
|
2902
|
+
case "com.amazonaws.ecr#ServerException":
|
|
2903
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
2904
|
+
case "TooManyTagsException":
|
|
2905
|
+
case "com.amazonaws.ecr#TooManyTagsException":
|
|
2906
|
+
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
2907
|
+
default:
|
|
2908
|
+
const parsedBody = parsedOutput.body;
|
|
2909
|
+
return throwDefaultError({
|
|
2910
|
+
output,
|
|
2911
|
+
parsedBody,
|
|
2912
|
+
errorCode
|
|
2913
|
+
});
|
|
2914
|
+
}
|
|
2915
|
+
}, "de_TagResourceCommandError");
|
|
2916
|
+
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2917
|
+
if (output.statusCode >= 300) {
|
|
2918
|
+
return de_UntagResourceCommandError(output, context);
|
|
2919
|
+
}
|
|
2920
|
+
const data = await parseBody(output.body, context);
|
|
2921
|
+
let contents = {};
|
|
2922
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2923
|
+
const response = {
|
|
2924
|
+
$metadata: deserializeMetadata(output),
|
|
2925
|
+
...contents
|
|
2926
|
+
};
|
|
2927
|
+
return response;
|
|
2928
|
+
}, "de_UntagResourceCommand");
|
|
2929
|
+
var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2930
|
+
const parsedOutput = {
|
|
2931
|
+
...output,
|
|
2932
|
+
body: await parseErrorBody(output.body, context)
|
|
2933
|
+
};
|
|
2934
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2935
|
+
switch (errorCode) {
|
|
2936
|
+
case "InvalidParameterException":
|
|
2937
|
+
case "com.amazonaws.ecr#InvalidParameterException":
|
|
2938
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2939
|
+
case "InvalidTagParameterException":
|
|
2940
|
+
case "com.amazonaws.ecr#InvalidTagParameterException":
|
|
2941
|
+
throw await de_InvalidTagParameterExceptionRes(parsedOutput, context);
|
|
2942
|
+
case "RepositoryNotFoundException":
|
|
2943
|
+
case "com.amazonaws.ecr#RepositoryNotFoundException":
|
|
2944
|
+
throw await de_RepositoryNotFoundExceptionRes(parsedOutput, context);
|
|
2945
|
+
case "ServerException":
|
|
2946
|
+
case "com.amazonaws.ecr#ServerException":
|
|
2947
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
2948
|
+
case "TooManyTagsException":
|
|
2949
|
+
case "com.amazonaws.ecr#TooManyTagsException":
|
|
2950
|
+
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
2951
|
+
default:
|
|
2952
|
+
const parsedBody = parsedOutput.body;
|
|
2953
|
+
return throwDefaultError({
|
|
2954
|
+
output,
|
|
2955
|
+
parsedBody,
|
|
2956
|
+
errorCode
|
|
2957
|
+
});
|
|
2958
|
+
}
|
|
2959
|
+
}, "de_UntagResourceCommandError");
|
|
2960
|
+
var de_UpdatePullThroughCacheRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2961
|
+
if (output.statusCode >= 300) {
|
|
2962
|
+
return de_UpdatePullThroughCacheRuleCommandError(output, context);
|
|
2963
|
+
}
|
|
2964
|
+
const data = await parseBody(output.body, context);
|
|
2965
|
+
let contents = {};
|
|
2966
|
+
contents = de_UpdatePullThroughCacheRuleResponse(data, context);
|
|
2967
|
+
const response = {
|
|
2968
|
+
$metadata: deserializeMetadata(output),
|
|
2969
|
+
...contents
|
|
2970
|
+
};
|
|
2971
|
+
return response;
|
|
2972
|
+
}, "de_UpdatePullThroughCacheRuleCommand");
|
|
2973
|
+
var de_UpdatePullThroughCacheRuleCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2974
|
+
const parsedOutput = {
|
|
2975
|
+
...output,
|
|
2976
|
+
body: await parseErrorBody(output.body, context)
|
|
2977
|
+
};
|
|
2978
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2979
|
+
switch (errorCode) {
|
|
2980
|
+
case "InvalidParameterException":
|
|
2981
|
+
case "com.amazonaws.ecr#InvalidParameterException":
|
|
2982
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2983
|
+
case "PullThroughCacheRuleNotFoundException":
|
|
2984
|
+
case "com.amazonaws.ecr#PullThroughCacheRuleNotFoundException":
|
|
2985
|
+
throw await de_PullThroughCacheRuleNotFoundExceptionRes(parsedOutput, context);
|
|
2986
|
+
case "SecretNotFoundException":
|
|
2987
|
+
case "com.amazonaws.ecr#SecretNotFoundException":
|
|
2988
|
+
throw await de_SecretNotFoundExceptionRes(parsedOutput, context);
|
|
2989
|
+
case "ServerException":
|
|
2990
|
+
case "com.amazonaws.ecr#ServerException":
|
|
2991
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
2992
|
+
case "UnableToAccessSecretException":
|
|
2993
|
+
case "com.amazonaws.ecr#UnableToAccessSecretException":
|
|
2994
|
+
throw await de_UnableToAccessSecretExceptionRes(parsedOutput, context);
|
|
2995
|
+
case "UnableToDecryptSecretValueException":
|
|
2996
|
+
case "com.amazonaws.ecr#UnableToDecryptSecretValueException":
|
|
2997
|
+
throw await de_UnableToDecryptSecretValueExceptionRes(parsedOutput, context);
|
|
2998
|
+
case "ValidationException":
|
|
2999
|
+
case "com.amazonaws.ecr#ValidationException":
|
|
3000
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3001
|
+
default:
|
|
3002
|
+
const parsedBody = parsedOutput.body;
|
|
3003
|
+
return throwDefaultError({
|
|
3004
|
+
output,
|
|
3005
|
+
parsedBody,
|
|
3006
|
+
errorCode
|
|
3007
|
+
});
|
|
3008
|
+
}
|
|
3009
|
+
}, "de_UpdatePullThroughCacheRuleCommandError");
|
|
3010
|
+
var de_UploadLayerPartCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3011
|
+
if (output.statusCode >= 300) {
|
|
3012
|
+
return de_UploadLayerPartCommandError(output, context);
|
|
3013
|
+
}
|
|
3014
|
+
const data = await parseBody(output.body, context);
|
|
3015
|
+
let contents = {};
|
|
3016
|
+
contents = (0, import_smithy_client._json)(data);
|
|
3017
|
+
const response = {
|
|
3018
|
+
$metadata: deserializeMetadata(output),
|
|
3019
|
+
...contents
|
|
3020
|
+
};
|
|
3021
|
+
return response;
|
|
3022
|
+
}, "de_UploadLayerPartCommand");
|
|
3023
|
+
var de_UploadLayerPartCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3024
|
+
const parsedOutput = {
|
|
3025
|
+
...output,
|
|
3026
|
+
body: await parseErrorBody(output.body, context)
|
|
3027
|
+
};
|
|
3028
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3029
|
+
switch (errorCode) {
|
|
3030
|
+
case "InvalidLayerPartException":
|
|
3031
|
+
case "com.amazonaws.ecr#InvalidLayerPartException":
|
|
3032
|
+
throw await de_InvalidLayerPartExceptionRes(parsedOutput, context);
|
|
3033
|
+
case "InvalidParameterException":
|
|
3034
|
+
case "com.amazonaws.ecr#InvalidParameterException":
|
|
3035
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
3036
|
+
case "KmsException":
|
|
3037
|
+
case "com.amazonaws.ecr#KmsException":
|
|
3038
|
+
throw await de_KmsExceptionRes(parsedOutput, context);
|
|
3039
|
+
case "LimitExceededException":
|
|
3040
|
+
case "com.amazonaws.ecr#LimitExceededException":
|
|
3041
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
3042
|
+
case "RepositoryNotFoundException":
|
|
3043
|
+
case "com.amazonaws.ecr#RepositoryNotFoundException":
|
|
3044
|
+
throw await de_RepositoryNotFoundExceptionRes(parsedOutput, context);
|
|
3045
|
+
case "ServerException":
|
|
3046
|
+
case "com.amazonaws.ecr#ServerException":
|
|
3047
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
3048
|
+
case "UploadNotFoundException":
|
|
3049
|
+
case "com.amazonaws.ecr#UploadNotFoundException":
|
|
3050
|
+
throw await de_UploadNotFoundExceptionRes(parsedOutput, context);
|
|
3051
|
+
default:
|
|
3052
|
+
const parsedBody = parsedOutput.body;
|
|
3053
|
+
return throwDefaultError({
|
|
3054
|
+
output,
|
|
3055
|
+
parsedBody,
|
|
3056
|
+
errorCode
|
|
3057
|
+
});
|
|
3058
|
+
}
|
|
3059
|
+
}, "de_UploadLayerPartCommandError");
|
|
3060
|
+
var de_ValidatePullThroughCacheRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3061
|
+
if (output.statusCode >= 300) {
|
|
3062
|
+
return de_ValidatePullThroughCacheRuleCommandError(output, context);
|
|
3063
|
+
}
|
|
3064
|
+
const data = await parseBody(output.body, context);
|
|
3065
|
+
let contents = {};
|
|
3066
|
+
contents = (0, import_smithy_client._json)(data);
|
|
3067
|
+
const response = {
|
|
3068
|
+
$metadata: deserializeMetadata(output),
|
|
3069
|
+
...contents
|
|
3070
|
+
};
|
|
3071
|
+
return response;
|
|
3072
|
+
}, "de_ValidatePullThroughCacheRuleCommand");
|
|
3073
|
+
var de_ValidatePullThroughCacheRuleCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3074
|
+
const parsedOutput = {
|
|
3075
|
+
...output,
|
|
3076
|
+
body: await parseErrorBody(output.body, context)
|
|
3077
|
+
};
|
|
3078
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3079
|
+
switch (errorCode) {
|
|
3080
|
+
case "InvalidParameterException":
|
|
3081
|
+
case "com.amazonaws.ecr#InvalidParameterException":
|
|
3082
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
3083
|
+
case "PullThroughCacheRuleNotFoundException":
|
|
3084
|
+
case "com.amazonaws.ecr#PullThroughCacheRuleNotFoundException":
|
|
3085
|
+
throw await de_PullThroughCacheRuleNotFoundExceptionRes(parsedOutput, context);
|
|
3086
|
+
case "ServerException":
|
|
3087
|
+
case "com.amazonaws.ecr#ServerException":
|
|
3088
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
3089
|
+
case "ValidationException":
|
|
3090
|
+
case "com.amazonaws.ecr#ValidationException":
|
|
3091
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3092
|
+
default:
|
|
3093
|
+
const parsedBody = parsedOutput.body;
|
|
3094
|
+
return throwDefaultError({
|
|
3095
|
+
output,
|
|
3096
|
+
parsedBody,
|
|
3097
|
+
errorCode
|
|
3098
|
+
});
|
|
3099
|
+
}
|
|
3100
|
+
}, "de_ValidatePullThroughCacheRuleCommandError");
|
|
3101
|
+
var de_EmptyUploadExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3102
|
+
const body = parsedOutput.body;
|
|
3103
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3104
|
+
const exception = new EmptyUploadException({
|
|
3105
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3106
|
+
...deserialized
|
|
3107
|
+
});
|
|
3108
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3109
|
+
}, "de_EmptyUploadExceptionRes");
|
|
3110
|
+
var de_ImageAlreadyExistsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3111
|
+
const body = parsedOutput.body;
|
|
3112
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3113
|
+
const exception = new ImageAlreadyExistsException({
|
|
3114
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3115
|
+
...deserialized
|
|
3116
|
+
});
|
|
3117
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3118
|
+
}, "de_ImageAlreadyExistsExceptionRes");
|
|
3119
|
+
var de_ImageDigestDoesNotMatchExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3120
|
+
const body = parsedOutput.body;
|
|
3121
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3122
|
+
const exception = new ImageDigestDoesNotMatchException({
|
|
3123
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3124
|
+
...deserialized
|
|
3125
|
+
});
|
|
3126
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3127
|
+
}, "de_ImageDigestDoesNotMatchExceptionRes");
|
|
3128
|
+
var de_ImageNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3129
|
+
const body = parsedOutput.body;
|
|
3130
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3131
|
+
const exception = new ImageNotFoundException({
|
|
3132
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3133
|
+
...deserialized
|
|
3134
|
+
});
|
|
3135
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3136
|
+
}, "de_ImageNotFoundExceptionRes");
|
|
3137
|
+
var de_ImageTagAlreadyExistsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3138
|
+
const body = parsedOutput.body;
|
|
3139
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3140
|
+
const exception = new ImageTagAlreadyExistsException({
|
|
3141
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3142
|
+
...deserialized
|
|
3143
|
+
});
|
|
3144
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3145
|
+
}, "de_ImageTagAlreadyExistsExceptionRes");
|
|
3146
|
+
var de_InvalidLayerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3147
|
+
const body = parsedOutput.body;
|
|
3148
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3149
|
+
const exception = new InvalidLayerException({
|
|
3150
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3151
|
+
...deserialized
|
|
3152
|
+
});
|
|
3153
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3154
|
+
}, "de_InvalidLayerExceptionRes");
|
|
3155
|
+
var de_InvalidLayerPartExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3156
|
+
const body = parsedOutput.body;
|
|
3157
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3158
|
+
const exception = new InvalidLayerPartException({
|
|
3159
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3160
|
+
...deserialized
|
|
3161
|
+
});
|
|
3162
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3163
|
+
}, "de_InvalidLayerPartExceptionRes");
|
|
3164
|
+
var de_InvalidParameterExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3165
|
+
const body = parsedOutput.body;
|
|
3166
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3167
|
+
const exception = new InvalidParameterException({
|
|
3168
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3169
|
+
...deserialized
|
|
3170
|
+
});
|
|
3171
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3172
|
+
}, "de_InvalidParameterExceptionRes");
|
|
3173
|
+
var de_InvalidTagParameterExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3174
|
+
const body = parsedOutput.body;
|
|
3175
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3176
|
+
const exception = new InvalidTagParameterException({
|
|
3177
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3178
|
+
...deserialized
|
|
3179
|
+
});
|
|
3180
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3181
|
+
}, "de_InvalidTagParameterExceptionRes");
|
|
3182
|
+
var de_KmsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3183
|
+
const body = parsedOutput.body;
|
|
3184
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3185
|
+
const exception = new KmsException({
|
|
3186
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3187
|
+
...deserialized
|
|
3188
|
+
});
|
|
3189
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3190
|
+
}, "de_KmsExceptionRes");
|
|
3191
|
+
var de_LayerAlreadyExistsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3192
|
+
const body = parsedOutput.body;
|
|
3193
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3194
|
+
const exception = new LayerAlreadyExistsException({
|
|
3195
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3196
|
+
...deserialized
|
|
3197
|
+
});
|
|
3198
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3199
|
+
}, "de_LayerAlreadyExistsExceptionRes");
|
|
3200
|
+
var de_LayerInaccessibleExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3201
|
+
const body = parsedOutput.body;
|
|
3202
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3203
|
+
const exception = new LayerInaccessibleException({
|
|
3204
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3205
|
+
...deserialized
|
|
3206
|
+
});
|
|
3207
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3208
|
+
}, "de_LayerInaccessibleExceptionRes");
|
|
3209
|
+
var de_LayerPartTooSmallExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3210
|
+
const body = parsedOutput.body;
|
|
3211
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3212
|
+
const exception = new LayerPartTooSmallException({
|
|
3213
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3214
|
+
...deserialized
|
|
3215
|
+
});
|
|
3216
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3217
|
+
}, "de_LayerPartTooSmallExceptionRes");
|
|
3218
|
+
var de_LayersNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3219
|
+
const body = parsedOutput.body;
|
|
3220
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3221
|
+
const exception = new LayersNotFoundException({
|
|
3222
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3223
|
+
...deserialized
|
|
3224
|
+
});
|
|
3225
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3226
|
+
}, "de_LayersNotFoundExceptionRes");
|
|
3227
|
+
var de_LifecyclePolicyNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3228
|
+
const body = parsedOutput.body;
|
|
3229
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3230
|
+
const exception = new LifecyclePolicyNotFoundException({
|
|
3231
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3232
|
+
...deserialized
|
|
3233
|
+
});
|
|
3234
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3235
|
+
}, "de_LifecyclePolicyNotFoundExceptionRes");
|
|
3236
|
+
var de_LifecyclePolicyPreviewInProgressExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3237
|
+
const body = parsedOutput.body;
|
|
3238
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3239
|
+
const exception = new LifecyclePolicyPreviewInProgressException({
|
|
3240
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3241
|
+
...deserialized
|
|
3242
|
+
});
|
|
3243
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3244
|
+
}, "de_LifecyclePolicyPreviewInProgressExceptionRes");
|
|
3245
|
+
var de_LifecyclePolicyPreviewNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3246
|
+
const body = parsedOutput.body;
|
|
3247
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3248
|
+
const exception = new LifecyclePolicyPreviewNotFoundException({
|
|
3249
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3250
|
+
...deserialized
|
|
3251
|
+
});
|
|
3252
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3253
|
+
}, "de_LifecyclePolicyPreviewNotFoundExceptionRes");
|
|
3254
|
+
var de_LimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3255
|
+
const body = parsedOutput.body;
|
|
3256
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3257
|
+
const exception = new LimitExceededException({
|
|
3258
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3259
|
+
...deserialized
|
|
3260
|
+
});
|
|
3261
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3262
|
+
}, "de_LimitExceededExceptionRes");
|
|
3263
|
+
var de_PullThroughCacheRuleAlreadyExistsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3264
|
+
const body = parsedOutput.body;
|
|
3265
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3266
|
+
const exception = new PullThroughCacheRuleAlreadyExistsException({
|
|
3267
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3268
|
+
...deserialized
|
|
3269
|
+
});
|
|
3270
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3271
|
+
}, "de_PullThroughCacheRuleAlreadyExistsExceptionRes");
|
|
3272
|
+
var de_PullThroughCacheRuleNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3273
|
+
const body = parsedOutput.body;
|
|
3274
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3275
|
+
const exception = new PullThroughCacheRuleNotFoundException({
|
|
3276
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3277
|
+
...deserialized
|
|
3278
|
+
});
|
|
3279
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3280
|
+
}, "de_PullThroughCacheRuleNotFoundExceptionRes");
|
|
3281
|
+
var de_ReferencedImagesNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3282
|
+
const body = parsedOutput.body;
|
|
3283
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3284
|
+
const exception = new ReferencedImagesNotFoundException({
|
|
3285
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3286
|
+
...deserialized
|
|
3287
|
+
});
|
|
3288
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3289
|
+
}, "de_ReferencedImagesNotFoundExceptionRes");
|
|
3290
|
+
var de_RegistryPolicyNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3291
|
+
const body = parsedOutput.body;
|
|
3292
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3293
|
+
const exception = new RegistryPolicyNotFoundException({
|
|
3294
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3295
|
+
...deserialized
|
|
3296
|
+
});
|
|
3297
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3298
|
+
}, "de_RegistryPolicyNotFoundExceptionRes");
|
|
3299
|
+
var de_RepositoryAlreadyExistsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3300
|
+
const body = parsedOutput.body;
|
|
3301
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3302
|
+
const exception = new RepositoryAlreadyExistsException({
|
|
3303
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3304
|
+
...deserialized
|
|
3305
|
+
});
|
|
3306
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3307
|
+
}, "de_RepositoryAlreadyExistsExceptionRes");
|
|
3308
|
+
var de_RepositoryNotEmptyExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3309
|
+
const body = parsedOutput.body;
|
|
3310
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3311
|
+
const exception = new RepositoryNotEmptyException({
|
|
3312
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3313
|
+
...deserialized
|
|
3314
|
+
});
|
|
3315
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3316
|
+
}, "de_RepositoryNotEmptyExceptionRes");
|
|
3317
|
+
var de_RepositoryNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3318
|
+
const body = parsedOutput.body;
|
|
3319
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3320
|
+
const exception = new RepositoryNotFoundException({
|
|
3321
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3322
|
+
...deserialized
|
|
3323
|
+
});
|
|
3324
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3325
|
+
}, "de_RepositoryNotFoundExceptionRes");
|
|
3326
|
+
var de_RepositoryPolicyNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3327
|
+
const body = parsedOutput.body;
|
|
3328
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3329
|
+
const exception = new RepositoryPolicyNotFoundException({
|
|
3330
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3331
|
+
...deserialized
|
|
3332
|
+
});
|
|
3333
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3334
|
+
}, "de_RepositoryPolicyNotFoundExceptionRes");
|
|
3335
|
+
var de_ScanNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3336
|
+
const body = parsedOutput.body;
|
|
3337
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3338
|
+
const exception = new ScanNotFoundException({
|
|
3339
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3340
|
+
...deserialized
|
|
3341
|
+
});
|
|
3342
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3343
|
+
}, "de_ScanNotFoundExceptionRes");
|
|
3344
|
+
var de_SecretNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3345
|
+
const body = parsedOutput.body;
|
|
3346
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3347
|
+
const exception = new SecretNotFoundException({
|
|
3348
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3349
|
+
...deserialized
|
|
3350
|
+
});
|
|
3351
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3352
|
+
}, "de_SecretNotFoundExceptionRes");
|
|
3353
|
+
var de_ServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3354
|
+
const body = parsedOutput.body;
|
|
3355
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3356
|
+
const exception = new ServerException({
|
|
3357
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3358
|
+
...deserialized
|
|
3359
|
+
});
|
|
3360
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3361
|
+
}, "de_ServerExceptionRes");
|
|
3362
|
+
var de_TooManyTagsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3363
|
+
const body = parsedOutput.body;
|
|
3364
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3365
|
+
const exception = new TooManyTagsException({
|
|
3366
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3367
|
+
...deserialized
|
|
3368
|
+
});
|
|
3369
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3370
|
+
}, "de_TooManyTagsExceptionRes");
|
|
3371
|
+
var de_UnableToAccessSecretExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3372
|
+
const body = parsedOutput.body;
|
|
3373
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3374
|
+
const exception = new UnableToAccessSecretException({
|
|
3375
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3376
|
+
...deserialized
|
|
3377
|
+
});
|
|
3378
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3379
|
+
}, "de_UnableToAccessSecretExceptionRes");
|
|
3380
|
+
var de_UnableToDecryptSecretValueExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3381
|
+
const body = parsedOutput.body;
|
|
3382
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3383
|
+
const exception = new UnableToDecryptSecretValueException({
|
|
3384
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3385
|
+
...deserialized
|
|
3386
|
+
});
|
|
3387
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3388
|
+
}, "de_UnableToDecryptSecretValueExceptionRes");
|
|
3389
|
+
var de_UnableToGetUpstreamImageExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3390
|
+
const body = parsedOutput.body;
|
|
3391
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3392
|
+
const exception = new UnableToGetUpstreamImageException({
|
|
3393
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3394
|
+
...deserialized
|
|
3395
|
+
});
|
|
3396
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3397
|
+
}, "de_UnableToGetUpstreamImageExceptionRes");
|
|
3398
|
+
var de_UnableToGetUpstreamLayerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3399
|
+
const body = parsedOutput.body;
|
|
3400
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3401
|
+
const exception = new UnableToGetUpstreamLayerException({
|
|
3402
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3403
|
+
...deserialized
|
|
3404
|
+
});
|
|
3405
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3406
|
+
}, "de_UnableToGetUpstreamLayerExceptionRes");
|
|
3407
|
+
var de_UnsupportedImageTypeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3408
|
+
const body = parsedOutput.body;
|
|
3409
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3410
|
+
const exception = new UnsupportedImageTypeException({
|
|
3411
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3412
|
+
...deserialized
|
|
3413
|
+
});
|
|
3414
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3415
|
+
}, "de_UnsupportedImageTypeExceptionRes");
|
|
3416
|
+
var de_UnsupportedUpstreamRegistryExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3417
|
+
const body = parsedOutput.body;
|
|
3418
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3419
|
+
const exception = new UnsupportedUpstreamRegistryException({
|
|
3420
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3421
|
+
...deserialized
|
|
3422
|
+
});
|
|
3423
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3424
|
+
}, "de_UnsupportedUpstreamRegistryExceptionRes");
|
|
3425
|
+
var de_UploadNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3426
|
+
const body = parsedOutput.body;
|
|
3427
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3428
|
+
const exception = new UploadNotFoundException({
|
|
3429
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3430
|
+
...deserialized
|
|
3431
|
+
});
|
|
3432
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3433
|
+
}, "de_UploadNotFoundExceptionRes");
|
|
3434
|
+
var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3435
|
+
const body = parsedOutput.body;
|
|
3436
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3437
|
+
const exception = new ValidationException({
|
|
3438
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3439
|
+
...deserialized
|
|
3440
|
+
});
|
|
3441
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3442
|
+
}, "de_ValidationExceptionRes");
|
|
3443
|
+
var se_UploadLayerPartRequest = /* @__PURE__ */ __name((input, context) => {
|
|
3444
|
+
return (0, import_smithy_client.take)(input, {
|
|
3445
|
+
layerPartBlob: context.base64Encoder,
|
|
3446
|
+
partFirstByte: [],
|
|
3447
|
+
partLastByte: [],
|
|
3448
|
+
registryId: [],
|
|
3449
|
+
repositoryName: [],
|
|
3450
|
+
uploadId: []
|
|
3451
|
+
});
|
|
3452
|
+
}, "se_UploadLayerPartRequest");
|
|
3453
|
+
var de_AuthorizationData = /* @__PURE__ */ __name((output, context) => {
|
|
3454
|
+
return (0, import_smithy_client.take)(output, {
|
|
3455
|
+
authorizationToken: import_smithy_client.expectString,
|
|
3456
|
+
expiresAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3457
|
+
proxyEndpoint: import_smithy_client.expectString
|
|
3458
|
+
});
|
|
3459
|
+
}, "de_AuthorizationData");
|
|
3460
|
+
var de_AuthorizationDataList = /* @__PURE__ */ __name((output, context) => {
|
|
3461
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
3462
|
+
return de_AuthorizationData(entry, context);
|
|
3463
|
+
});
|
|
3464
|
+
return retVal;
|
|
3465
|
+
}, "de_AuthorizationDataList");
|
|
3466
|
+
var de_AwsEcrContainerImageDetails = /* @__PURE__ */ __name((output, context) => {
|
|
3467
|
+
return (0, import_smithy_client.take)(output, {
|
|
3468
|
+
architecture: import_smithy_client.expectString,
|
|
3469
|
+
author: import_smithy_client.expectString,
|
|
3470
|
+
imageHash: import_smithy_client.expectString,
|
|
3471
|
+
imageTags: import_smithy_client._json,
|
|
3472
|
+
platform: import_smithy_client.expectString,
|
|
3473
|
+
pushedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3474
|
+
registry: import_smithy_client.expectString,
|
|
3475
|
+
repositoryName: import_smithy_client.expectString
|
|
3476
|
+
});
|
|
3477
|
+
}, "de_AwsEcrContainerImageDetails");
|
|
3478
|
+
var de_CreatePullThroughCacheRuleResponse = /* @__PURE__ */ __name((output, context) => {
|
|
3479
|
+
return (0, import_smithy_client.take)(output, {
|
|
3480
|
+
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3481
|
+
credentialArn: import_smithy_client.expectString,
|
|
3482
|
+
ecrRepositoryPrefix: import_smithy_client.expectString,
|
|
3483
|
+
registryId: import_smithy_client.expectString,
|
|
3484
|
+
upstreamRegistry: import_smithy_client.expectString,
|
|
3485
|
+
upstreamRegistryUrl: import_smithy_client.expectString
|
|
3486
|
+
});
|
|
3487
|
+
}, "de_CreatePullThroughCacheRuleResponse");
|
|
3488
|
+
var de_CreateRepositoryResponse = /* @__PURE__ */ __name((output, context) => {
|
|
3489
|
+
return (0, import_smithy_client.take)(output, {
|
|
3490
|
+
repository: (_) => de_Repository(_, context)
|
|
3491
|
+
});
|
|
3492
|
+
}, "de_CreateRepositoryResponse");
|
|
3493
|
+
var de_CvssScore = /* @__PURE__ */ __name((output, context) => {
|
|
3494
|
+
return (0, import_smithy_client.take)(output, {
|
|
3495
|
+
baseScore: import_smithy_client.limitedParseDouble,
|
|
3496
|
+
scoringVector: import_smithy_client.expectString,
|
|
3497
|
+
source: import_smithy_client.expectString,
|
|
3498
|
+
version: import_smithy_client.expectString
|
|
3499
|
+
});
|
|
3500
|
+
}, "de_CvssScore");
|
|
3501
|
+
var de_CvssScoreDetails = /* @__PURE__ */ __name((output, context) => {
|
|
3502
|
+
return (0, import_smithy_client.take)(output, {
|
|
3503
|
+
adjustments: import_smithy_client._json,
|
|
3504
|
+
score: import_smithy_client.limitedParseDouble,
|
|
3505
|
+
scoreSource: import_smithy_client.expectString,
|
|
3506
|
+
scoringVector: import_smithy_client.expectString,
|
|
3507
|
+
version: import_smithy_client.expectString
|
|
3508
|
+
});
|
|
3509
|
+
}, "de_CvssScoreDetails");
|
|
3510
|
+
var de_CvssScoreList = /* @__PURE__ */ __name((output, context) => {
|
|
3511
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
3512
|
+
return de_CvssScore(entry, context);
|
|
3513
|
+
});
|
|
3514
|
+
return retVal;
|
|
3515
|
+
}, "de_CvssScoreList");
|
|
3516
|
+
var de_DeleteLifecyclePolicyResponse = /* @__PURE__ */ __name((output, context) => {
|
|
3517
|
+
return (0, import_smithy_client.take)(output, {
|
|
3518
|
+
lastEvaluatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3519
|
+
lifecyclePolicyText: import_smithy_client.expectString,
|
|
3520
|
+
registryId: import_smithy_client.expectString,
|
|
3521
|
+
repositoryName: import_smithy_client.expectString
|
|
3522
|
+
});
|
|
3523
|
+
}, "de_DeleteLifecyclePolicyResponse");
|
|
3524
|
+
var de_DeletePullThroughCacheRuleResponse = /* @__PURE__ */ __name((output, context) => {
|
|
3525
|
+
return (0, import_smithy_client.take)(output, {
|
|
3526
|
+
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3527
|
+
credentialArn: import_smithy_client.expectString,
|
|
3528
|
+
ecrRepositoryPrefix: import_smithy_client.expectString,
|
|
3529
|
+
registryId: import_smithy_client.expectString,
|
|
3530
|
+
upstreamRegistryUrl: import_smithy_client.expectString
|
|
3531
|
+
});
|
|
3532
|
+
}, "de_DeletePullThroughCacheRuleResponse");
|
|
3533
|
+
var de_DeleteRepositoryResponse = /* @__PURE__ */ __name((output, context) => {
|
|
3534
|
+
return (0, import_smithy_client.take)(output, {
|
|
3535
|
+
repository: (_) => de_Repository(_, context)
|
|
3536
|
+
});
|
|
3537
|
+
}, "de_DeleteRepositoryResponse");
|
|
3538
|
+
var de_DescribeImageScanFindingsResponse = /* @__PURE__ */ __name((output, context) => {
|
|
3539
|
+
return (0, import_smithy_client.take)(output, {
|
|
3540
|
+
imageId: import_smithy_client._json,
|
|
3541
|
+
imageScanFindings: (_) => de_ImageScanFindings(_, context),
|
|
3542
|
+
imageScanStatus: import_smithy_client._json,
|
|
3543
|
+
nextToken: import_smithy_client.expectString,
|
|
3544
|
+
registryId: import_smithy_client.expectString,
|
|
3545
|
+
repositoryName: import_smithy_client.expectString
|
|
3546
|
+
});
|
|
3547
|
+
}, "de_DescribeImageScanFindingsResponse");
|
|
3548
|
+
var de_DescribeImagesResponse = /* @__PURE__ */ __name((output, context) => {
|
|
3549
|
+
return (0, import_smithy_client.take)(output, {
|
|
3550
|
+
imageDetails: (_) => de_ImageDetailList(_, context),
|
|
3551
|
+
nextToken: import_smithy_client.expectString
|
|
3552
|
+
});
|
|
3553
|
+
}, "de_DescribeImagesResponse");
|
|
3554
|
+
var de_DescribePullThroughCacheRulesResponse = /* @__PURE__ */ __name((output, context) => {
|
|
3555
|
+
return (0, import_smithy_client.take)(output, {
|
|
3556
|
+
nextToken: import_smithy_client.expectString,
|
|
3557
|
+
pullThroughCacheRules: (_) => de_PullThroughCacheRuleList(_, context)
|
|
3558
|
+
});
|
|
3559
|
+
}, "de_DescribePullThroughCacheRulesResponse");
|
|
3560
|
+
var de_DescribeRepositoriesResponse = /* @__PURE__ */ __name((output, context) => {
|
|
3561
|
+
return (0, import_smithy_client.take)(output, {
|
|
3562
|
+
nextToken: import_smithy_client.expectString,
|
|
3563
|
+
repositories: (_) => de_RepositoryList(_, context)
|
|
3564
|
+
});
|
|
3565
|
+
}, "de_DescribeRepositoriesResponse");
|
|
3566
|
+
var de_EnhancedImageScanFinding = /* @__PURE__ */ __name((output, context) => {
|
|
3567
|
+
return (0, import_smithy_client.take)(output, {
|
|
3568
|
+
awsAccountId: import_smithy_client.expectString,
|
|
3569
|
+
description: import_smithy_client.expectString,
|
|
3570
|
+
findingArn: import_smithy_client.expectString,
|
|
3571
|
+
firstObservedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3572
|
+
lastObservedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3573
|
+
packageVulnerabilityDetails: (_) => de_PackageVulnerabilityDetails(_, context),
|
|
3574
|
+
remediation: import_smithy_client._json,
|
|
3575
|
+
resources: (_) => de_ResourceList(_, context),
|
|
3576
|
+
score: import_smithy_client.limitedParseDouble,
|
|
3577
|
+
scoreDetails: (_) => de_ScoreDetails(_, context),
|
|
3578
|
+
severity: import_smithy_client.expectString,
|
|
3579
|
+
status: import_smithy_client.expectString,
|
|
3580
|
+
title: import_smithy_client.expectString,
|
|
3581
|
+
type: import_smithy_client.expectString,
|
|
3582
|
+
updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
3583
|
+
});
|
|
3584
|
+
}, "de_EnhancedImageScanFinding");
|
|
3585
|
+
var de_EnhancedImageScanFindingList = /* @__PURE__ */ __name((output, context) => {
|
|
3586
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
3587
|
+
return de_EnhancedImageScanFinding(entry, context);
|
|
3588
|
+
});
|
|
3589
|
+
return retVal;
|
|
3590
|
+
}, "de_EnhancedImageScanFindingList");
|
|
3591
|
+
var de_GetAuthorizationTokenResponse = /* @__PURE__ */ __name((output, context) => {
|
|
3592
|
+
return (0, import_smithy_client.take)(output, {
|
|
3593
|
+
authorizationData: (_) => de_AuthorizationDataList(_, context)
|
|
3594
|
+
});
|
|
3595
|
+
}, "de_GetAuthorizationTokenResponse");
|
|
3596
|
+
var de_GetLifecyclePolicyPreviewResponse = /* @__PURE__ */ __name((output, context) => {
|
|
3597
|
+
return (0, import_smithy_client.take)(output, {
|
|
3598
|
+
lifecyclePolicyText: import_smithy_client.expectString,
|
|
3599
|
+
nextToken: import_smithy_client.expectString,
|
|
3600
|
+
previewResults: (_) => de_LifecyclePolicyPreviewResultList(_, context),
|
|
3601
|
+
registryId: import_smithy_client.expectString,
|
|
3602
|
+
repositoryName: import_smithy_client.expectString,
|
|
3603
|
+
status: import_smithy_client.expectString,
|
|
3604
|
+
summary: import_smithy_client._json
|
|
3605
|
+
});
|
|
3606
|
+
}, "de_GetLifecyclePolicyPreviewResponse");
|
|
3607
|
+
var de_GetLifecyclePolicyResponse = /* @__PURE__ */ __name((output, context) => {
|
|
3608
|
+
return (0, import_smithy_client.take)(output, {
|
|
3609
|
+
lastEvaluatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3610
|
+
lifecyclePolicyText: import_smithy_client.expectString,
|
|
3611
|
+
registryId: import_smithy_client.expectString,
|
|
3612
|
+
repositoryName: import_smithy_client.expectString
|
|
3613
|
+
});
|
|
3614
|
+
}, "de_GetLifecyclePolicyResponse");
|
|
3615
|
+
var de_ImageDetail = /* @__PURE__ */ __name((output, context) => {
|
|
3616
|
+
return (0, import_smithy_client.take)(output, {
|
|
3617
|
+
artifactMediaType: import_smithy_client.expectString,
|
|
3618
|
+
imageDigest: import_smithy_client.expectString,
|
|
3619
|
+
imageManifestMediaType: import_smithy_client.expectString,
|
|
3620
|
+
imagePushedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3621
|
+
imageScanFindingsSummary: (_) => de_ImageScanFindingsSummary(_, context),
|
|
3622
|
+
imageScanStatus: import_smithy_client._json,
|
|
3623
|
+
imageSizeInBytes: import_smithy_client.expectLong,
|
|
3624
|
+
imageTags: import_smithy_client._json,
|
|
3625
|
+
lastRecordedPullTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3626
|
+
registryId: import_smithy_client.expectString,
|
|
3627
|
+
repositoryName: import_smithy_client.expectString
|
|
3628
|
+
});
|
|
3629
|
+
}, "de_ImageDetail");
|
|
3630
|
+
var de_ImageDetailList = /* @__PURE__ */ __name((output, context) => {
|
|
3631
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
3632
|
+
return de_ImageDetail(entry, context);
|
|
3633
|
+
});
|
|
3634
|
+
return retVal;
|
|
3635
|
+
}, "de_ImageDetailList");
|
|
3636
|
+
var de_ImageScanFindings = /* @__PURE__ */ __name((output, context) => {
|
|
3637
|
+
return (0, import_smithy_client.take)(output, {
|
|
3638
|
+
enhancedFindings: (_) => de_EnhancedImageScanFindingList(_, context),
|
|
3639
|
+
findingSeverityCounts: import_smithy_client._json,
|
|
3640
|
+
findings: import_smithy_client._json,
|
|
3641
|
+
imageScanCompletedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3642
|
+
vulnerabilitySourceUpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
3643
|
+
});
|
|
3644
|
+
}, "de_ImageScanFindings");
|
|
3645
|
+
var de_ImageScanFindingsSummary = /* @__PURE__ */ __name((output, context) => {
|
|
3646
|
+
return (0, import_smithy_client.take)(output, {
|
|
3647
|
+
findingSeverityCounts: import_smithy_client._json,
|
|
3648
|
+
imageScanCompletedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3649
|
+
vulnerabilitySourceUpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
3650
|
+
});
|
|
3651
|
+
}, "de_ImageScanFindingsSummary");
|
|
3652
|
+
var de_LifecyclePolicyPreviewResult = /* @__PURE__ */ __name((output, context) => {
|
|
3653
|
+
return (0, import_smithy_client.take)(output, {
|
|
3654
|
+
action: import_smithy_client._json,
|
|
3655
|
+
appliedRulePriority: import_smithy_client.expectInt32,
|
|
3656
|
+
imageDigest: import_smithy_client.expectString,
|
|
3657
|
+
imagePushedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3658
|
+
imageTags: import_smithy_client._json
|
|
3659
|
+
});
|
|
3660
|
+
}, "de_LifecyclePolicyPreviewResult");
|
|
3661
|
+
var de_LifecyclePolicyPreviewResultList = /* @__PURE__ */ __name((output, context) => {
|
|
3662
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
3663
|
+
return de_LifecyclePolicyPreviewResult(entry, context);
|
|
3664
|
+
});
|
|
3665
|
+
return retVal;
|
|
3666
|
+
}, "de_LifecyclePolicyPreviewResultList");
|
|
3667
|
+
var de_PackageVulnerabilityDetails = /* @__PURE__ */ __name((output, context) => {
|
|
3668
|
+
return (0, import_smithy_client.take)(output, {
|
|
3669
|
+
cvss: (_) => de_CvssScoreList(_, context),
|
|
3670
|
+
referenceUrls: import_smithy_client._json,
|
|
3671
|
+
relatedVulnerabilities: import_smithy_client._json,
|
|
3672
|
+
source: import_smithy_client.expectString,
|
|
3673
|
+
sourceUrl: import_smithy_client.expectString,
|
|
3674
|
+
vendorCreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3675
|
+
vendorSeverity: import_smithy_client.expectString,
|
|
3676
|
+
vendorUpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3677
|
+
vulnerabilityId: import_smithy_client.expectString,
|
|
3678
|
+
vulnerablePackages: import_smithy_client._json
|
|
3679
|
+
});
|
|
3680
|
+
}, "de_PackageVulnerabilityDetails");
|
|
3681
|
+
var de_PullThroughCacheRule = /* @__PURE__ */ __name((output, context) => {
|
|
3682
|
+
return (0, import_smithy_client.take)(output, {
|
|
3683
|
+
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3684
|
+
credentialArn: import_smithy_client.expectString,
|
|
3685
|
+
ecrRepositoryPrefix: import_smithy_client.expectString,
|
|
3686
|
+
registryId: import_smithy_client.expectString,
|
|
3687
|
+
updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3688
|
+
upstreamRegistry: import_smithy_client.expectString,
|
|
3689
|
+
upstreamRegistryUrl: import_smithy_client.expectString
|
|
3690
|
+
});
|
|
3691
|
+
}, "de_PullThroughCacheRule");
|
|
3692
|
+
var de_PullThroughCacheRuleList = /* @__PURE__ */ __name((output, context) => {
|
|
3693
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
3694
|
+
return de_PullThroughCacheRule(entry, context);
|
|
3695
|
+
});
|
|
3696
|
+
return retVal;
|
|
3697
|
+
}, "de_PullThroughCacheRuleList");
|
|
3698
|
+
var de_Repository = /* @__PURE__ */ __name((output, context) => {
|
|
3699
|
+
return (0, import_smithy_client.take)(output, {
|
|
3700
|
+
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3701
|
+
encryptionConfiguration: import_smithy_client._json,
|
|
3702
|
+
imageScanningConfiguration: import_smithy_client._json,
|
|
3703
|
+
imageTagMutability: import_smithy_client.expectString,
|
|
3704
|
+
registryId: import_smithy_client.expectString,
|
|
3705
|
+
repositoryArn: import_smithy_client.expectString,
|
|
3706
|
+
repositoryName: import_smithy_client.expectString,
|
|
3707
|
+
repositoryUri: import_smithy_client.expectString
|
|
3708
|
+
});
|
|
3709
|
+
}, "de_Repository");
|
|
3710
|
+
var de_RepositoryList = /* @__PURE__ */ __name((output, context) => {
|
|
3711
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
3712
|
+
return de_Repository(entry, context);
|
|
3713
|
+
});
|
|
3714
|
+
return retVal;
|
|
3715
|
+
}, "de_RepositoryList");
|
|
3716
|
+
var de_Resource = /* @__PURE__ */ __name((output, context) => {
|
|
3717
|
+
return (0, import_smithy_client.take)(output, {
|
|
3718
|
+
details: (_) => de_ResourceDetails(_, context),
|
|
3719
|
+
id: import_smithy_client.expectString,
|
|
3720
|
+
tags: import_smithy_client._json,
|
|
3721
|
+
type: import_smithy_client.expectString
|
|
3722
|
+
});
|
|
3723
|
+
}, "de_Resource");
|
|
3724
|
+
var de_ResourceDetails = /* @__PURE__ */ __name((output, context) => {
|
|
3725
|
+
return (0, import_smithy_client.take)(output, {
|
|
3726
|
+
awsEcrContainerImage: (_) => de_AwsEcrContainerImageDetails(_, context)
|
|
3727
|
+
});
|
|
3728
|
+
}, "de_ResourceDetails");
|
|
3729
|
+
var de_ResourceList = /* @__PURE__ */ __name((output, context) => {
|
|
3730
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
3731
|
+
return de_Resource(entry, context);
|
|
3732
|
+
});
|
|
3733
|
+
return retVal;
|
|
3734
|
+
}, "de_ResourceList");
|
|
3735
|
+
var de_ScoreDetails = /* @__PURE__ */ __name((output, context) => {
|
|
3736
|
+
return (0, import_smithy_client.take)(output, {
|
|
3737
|
+
cvss: (_) => de_CvssScoreDetails(_, context)
|
|
3738
|
+
});
|
|
3739
|
+
}, "de_ScoreDetails");
|
|
3740
|
+
var de_UpdatePullThroughCacheRuleResponse = /* @__PURE__ */ __name((output, context) => {
|
|
3741
|
+
return (0, import_smithy_client.take)(output, {
|
|
3742
|
+
credentialArn: import_smithy_client.expectString,
|
|
3743
|
+
ecrRepositoryPrefix: import_smithy_client.expectString,
|
|
3744
|
+
registryId: import_smithy_client.expectString,
|
|
3745
|
+
updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
3746
|
+
});
|
|
3747
|
+
}, "de_UpdatePullThroughCacheRuleResponse");
|
|
3748
|
+
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
3749
|
+
httpStatusCode: output.statusCode,
|
|
3750
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
3751
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
3752
|
+
cfId: output.headers["x-amz-cf-id"]
|
|
3753
|
+
}), "deserializeMetadata");
|
|
3754
|
+
var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
|
|
3755
|
+
var throwDefaultError = (0, import_smithy_client.withBaseException)(ECRServiceException);
|
|
3756
|
+
var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
|
|
3757
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
3758
|
+
const contents = {
|
|
3759
|
+
protocol,
|
|
3760
|
+
hostname,
|
|
3761
|
+
port,
|
|
3762
|
+
method: "POST",
|
|
3763
|
+
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
3764
|
+
headers
|
|
3765
|
+
};
|
|
3766
|
+
if (resolvedHostname !== void 0) {
|
|
3767
|
+
contents.hostname = resolvedHostname;
|
|
3768
|
+
}
|
|
3769
|
+
if (body !== void 0) {
|
|
3770
|
+
contents.body = body;
|
|
3771
|
+
}
|
|
3772
|
+
return new import_protocol_http.HttpRequest(contents);
|
|
3773
|
+
}, "buildHttpRpcRequest");
|
|
3774
|
+
function sharedHeaders(operation) {
|
|
3775
|
+
return {
|
|
3776
|
+
"content-type": "application/x-amz-json-1.1",
|
|
3777
|
+
"x-amz-target": `AmazonEC2ContainerRegistry_V20150921.${operation}`
|
|
3778
|
+
};
|
|
3779
|
+
}
|
|
3780
|
+
__name(sharedHeaders, "sharedHeaders");
|
|
3781
|
+
var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
3782
|
+
if (encoded.length) {
|
|
3783
|
+
return JSON.parse(encoded);
|
|
3784
|
+
}
|
|
3785
|
+
return {};
|
|
3786
|
+
}), "parseBody");
|
|
3787
|
+
var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
|
|
3788
|
+
const value = await parseBody(errorBody, context);
|
|
3789
|
+
value.message = value.message ?? value.Message;
|
|
3790
|
+
return value;
|
|
3791
|
+
}, "parseErrorBody");
|
|
3792
|
+
var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
|
|
3793
|
+
const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
|
|
3794
|
+
const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
|
|
3795
|
+
let cleanValue = rawValue;
|
|
3796
|
+
if (typeof cleanValue === "number") {
|
|
3797
|
+
cleanValue = cleanValue.toString();
|
|
3798
|
+
}
|
|
3799
|
+
if (cleanValue.indexOf(",") >= 0) {
|
|
3800
|
+
cleanValue = cleanValue.split(",")[0];
|
|
3801
|
+
}
|
|
3802
|
+
if (cleanValue.indexOf(":") >= 0) {
|
|
3803
|
+
cleanValue = cleanValue.split(":")[0];
|
|
3804
|
+
}
|
|
3805
|
+
if (cleanValue.indexOf("#") >= 0) {
|
|
3806
|
+
cleanValue = cleanValue.split("#")[1];
|
|
3807
|
+
}
|
|
3808
|
+
return cleanValue;
|
|
3809
|
+
}, "sanitizeErrorCode");
|
|
3810
|
+
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
3811
|
+
if (headerKey !== void 0) {
|
|
3812
|
+
return sanitizeErrorCode(output.headers[headerKey]);
|
|
3813
|
+
}
|
|
3814
|
+
if (data.code !== void 0) {
|
|
3815
|
+
return sanitizeErrorCode(data.code);
|
|
3816
|
+
}
|
|
3817
|
+
if (data["__type"] !== void 0) {
|
|
3818
|
+
return sanitizeErrorCode(data["__type"]);
|
|
3819
|
+
}
|
|
3820
|
+
}, "loadRestJsonErrorCode");
|
|
3821
|
+
|
|
3822
|
+
// src/commands/BatchCheckLayerAvailabilityCommand.ts
|
|
3823
|
+
var _BatchCheckLayerAvailabilityCommand = class _BatchCheckLayerAvailabilityCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3824
|
+
...commonParams
|
|
3825
|
+
}).m(function(Command, cs, config, o) {
|
|
3826
|
+
return [
|
|
3827
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3828
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3829
|
+
];
|
|
3830
|
+
}).s("AmazonEC2ContainerRegistry_V20150921", "BatchCheckLayerAvailability", {}).n("ECRClient", "BatchCheckLayerAvailabilityCommand").f(void 0, void 0).ser(se_BatchCheckLayerAvailabilityCommand).de(de_BatchCheckLayerAvailabilityCommand).build() {
|
|
3831
|
+
};
|
|
3832
|
+
__name(_BatchCheckLayerAvailabilityCommand, "BatchCheckLayerAvailabilityCommand");
|
|
3833
|
+
var BatchCheckLayerAvailabilityCommand = _BatchCheckLayerAvailabilityCommand;
|
|
3834
|
+
|
|
3835
|
+
// src/commands/BatchDeleteImageCommand.ts
|
|
3836
|
+
|
|
3837
|
+
|
|
3838
|
+
|
|
3839
|
+
|
|
3840
|
+
var _BatchDeleteImageCommand = class _BatchDeleteImageCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3841
|
+
...commonParams
|
|
3842
|
+
}).m(function(Command, cs, config, o) {
|
|
3843
|
+
return [
|
|
3844
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3845
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3846
|
+
];
|
|
3847
|
+
}).s("AmazonEC2ContainerRegistry_V20150921", "BatchDeleteImage", {}).n("ECRClient", "BatchDeleteImageCommand").f(void 0, void 0).ser(se_BatchDeleteImageCommand).de(de_BatchDeleteImageCommand).build() {
|
|
3848
|
+
};
|
|
3849
|
+
__name(_BatchDeleteImageCommand, "BatchDeleteImageCommand");
|
|
3850
|
+
var BatchDeleteImageCommand = _BatchDeleteImageCommand;
|
|
3851
|
+
|
|
3852
|
+
// src/commands/BatchGetImageCommand.ts
|
|
3853
|
+
|
|
3854
|
+
|
|
3855
|
+
|
|
3856
|
+
|
|
3857
|
+
var _BatchGetImageCommand = class _BatchGetImageCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3858
|
+
...commonParams
|
|
3859
|
+
}).m(function(Command, cs, config, o) {
|
|
3860
|
+
return [
|
|
3861
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3862
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3863
|
+
];
|
|
3864
|
+
}).s("AmazonEC2ContainerRegistry_V20150921", "BatchGetImage", {}).n("ECRClient", "BatchGetImageCommand").f(void 0, void 0).ser(se_BatchGetImageCommand).de(de_BatchGetImageCommand).build() {
|
|
3865
|
+
};
|
|
3866
|
+
__name(_BatchGetImageCommand, "BatchGetImageCommand");
|
|
3867
|
+
var BatchGetImageCommand = _BatchGetImageCommand;
|
|
3868
|
+
|
|
3869
|
+
// src/commands/BatchGetRepositoryScanningConfigurationCommand.ts
|
|
3870
|
+
|
|
3871
|
+
|
|
3872
|
+
|
|
3873
|
+
|
|
3874
|
+
var _BatchGetRepositoryScanningConfigurationCommand = class _BatchGetRepositoryScanningConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3875
|
+
...commonParams
|
|
3876
|
+
}).m(function(Command, cs, config, o) {
|
|
3877
|
+
return [
|
|
3878
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3879
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3880
|
+
];
|
|
3881
|
+
}).s("AmazonEC2ContainerRegistry_V20150921", "BatchGetRepositoryScanningConfiguration", {}).n("ECRClient", "BatchGetRepositoryScanningConfigurationCommand").f(void 0, void 0).ser(se_BatchGetRepositoryScanningConfigurationCommand).de(de_BatchGetRepositoryScanningConfigurationCommand).build() {
|
|
3882
|
+
};
|
|
3883
|
+
__name(_BatchGetRepositoryScanningConfigurationCommand, "BatchGetRepositoryScanningConfigurationCommand");
|
|
3884
|
+
var BatchGetRepositoryScanningConfigurationCommand = _BatchGetRepositoryScanningConfigurationCommand;
|
|
3885
|
+
|
|
3886
|
+
// src/commands/CompleteLayerUploadCommand.ts
|
|
3887
|
+
|
|
3888
|
+
|
|
3889
|
+
|
|
3890
|
+
|
|
3891
|
+
var _CompleteLayerUploadCommand = class _CompleteLayerUploadCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3892
|
+
...commonParams
|
|
3893
|
+
}).m(function(Command, cs, config, o) {
|
|
3894
|
+
return [
|
|
3895
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3896
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3897
|
+
];
|
|
3898
|
+
}).s("AmazonEC2ContainerRegistry_V20150921", "CompleteLayerUpload", {}).n("ECRClient", "CompleteLayerUploadCommand").f(void 0, void 0).ser(se_CompleteLayerUploadCommand).de(de_CompleteLayerUploadCommand).build() {
|
|
3899
|
+
};
|
|
3900
|
+
__name(_CompleteLayerUploadCommand, "CompleteLayerUploadCommand");
|
|
3901
|
+
var CompleteLayerUploadCommand = _CompleteLayerUploadCommand;
|
|
3902
|
+
|
|
3903
|
+
// src/commands/CreatePullThroughCacheRuleCommand.ts
|
|
3904
|
+
|
|
3905
|
+
|
|
3906
|
+
|
|
3907
|
+
|
|
3908
|
+
var _CreatePullThroughCacheRuleCommand = class _CreatePullThroughCacheRuleCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3909
|
+
...commonParams
|
|
3910
|
+
}).m(function(Command, cs, config, o) {
|
|
3911
|
+
return [
|
|
3912
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3913
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3914
|
+
];
|
|
3915
|
+
}).s("AmazonEC2ContainerRegistry_V20150921", "CreatePullThroughCacheRule", {}).n("ECRClient", "CreatePullThroughCacheRuleCommand").f(void 0, void 0).ser(se_CreatePullThroughCacheRuleCommand).de(de_CreatePullThroughCacheRuleCommand).build() {
|
|
3916
|
+
};
|
|
3917
|
+
__name(_CreatePullThroughCacheRuleCommand, "CreatePullThroughCacheRuleCommand");
|
|
3918
|
+
var CreatePullThroughCacheRuleCommand = _CreatePullThroughCacheRuleCommand;
|
|
3919
|
+
|
|
3920
|
+
// src/commands/CreateRepositoryCommand.ts
|
|
3921
|
+
|
|
3922
|
+
|
|
3923
|
+
|
|
3924
|
+
|
|
3925
|
+
var _CreateRepositoryCommand = class _CreateRepositoryCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3926
|
+
...commonParams
|
|
3927
|
+
}).m(function(Command, cs, config, o) {
|
|
3928
|
+
return [
|
|
3929
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3930
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3931
|
+
];
|
|
3932
|
+
}).s("AmazonEC2ContainerRegistry_V20150921", "CreateRepository", {}).n("ECRClient", "CreateRepositoryCommand").f(void 0, void 0).ser(se_CreateRepositoryCommand).de(de_CreateRepositoryCommand).build() {
|
|
3933
|
+
};
|
|
3934
|
+
__name(_CreateRepositoryCommand, "CreateRepositoryCommand");
|
|
3935
|
+
var CreateRepositoryCommand = _CreateRepositoryCommand;
|
|
3936
|
+
|
|
3937
|
+
// src/commands/DeleteLifecyclePolicyCommand.ts
|
|
3938
|
+
|
|
3939
|
+
|
|
3940
|
+
|
|
3941
|
+
|
|
3942
|
+
var _DeleteLifecyclePolicyCommand = class _DeleteLifecyclePolicyCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3943
|
+
...commonParams
|
|
3944
|
+
}).m(function(Command, cs, config, o) {
|
|
3945
|
+
return [
|
|
3946
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3947
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3948
|
+
];
|
|
3949
|
+
}).s("AmazonEC2ContainerRegistry_V20150921", "DeleteLifecyclePolicy", {}).n("ECRClient", "DeleteLifecyclePolicyCommand").f(void 0, void 0).ser(se_DeleteLifecyclePolicyCommand).de(de_DeleteLifecyclePolicyCommand).build() {
|
|
3950
|
+
};
|
|
3951
|
+
__name(_DeleteLifecyclePolicyCommand, "DeleteLifecyclePolicyCommand");
|
|
3952
|
+
var DeleteLifecyclePolicyCommand = _DeleteLifecyclePolicyCommand;
|
|
3953
|
+
|
|
3954
|
+
// src/commands/DeletePullThroughCacheRuleCommand.ts
|
|
3955
|
+
|
|
3956
|
+
|
|
3957
|
+
|
|
3958
|
+
|
|
3959
|
+
var _DeletePullThroughCacheRuleCommand = class _DeletePullThroughCacheRuleCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3960
|
+
...commonParams
|
|
3961
|
+
}).m(function(Command, cs, config, o) {
|
|
3962
|
+
return [
|
|
3963
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3964
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3965
|
+
];
|
|
3966
|
+
}).s("AmazonEC2ContainerRegistry_V20150921", "DeletePullThroughCacheRule", {}).n("ECRClient", "DeletePullThroughCacheRuleCommand").f(void 0, void 0).ser(se_DeletePullThroughCacheRuleCommand).de(de_DeletePullThroughCacheRuleCommand).build() {
|
|
3967
|
+
};
|
|
3968
|
+
__name(_DeletePullThroughCacheRuleCommand, "DeletePullThroughCacheRuleCommand");
|
|
3969
|
+
var DeletePullThroughCacheRuleCommand = _DeletePullThroughCacheRuleCommand;
|
|
3970
|
+
|
|
3971
|
+
// src/commands/DeleteRegistryPolicyCommand.ts
|
|
3972
|
+
|
|
3973
|
+
|
|
3974
|
+
|
|
3975
|
+
|
|
3976
|
+
var _DeleteRegistryPolicyCommand = class _DeleteRegistryPolicyCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3977
|
+
...commonParams
|
|
3978
|
+
}).m(function(Command, cs, config, o) {
|
|
3979
|
+
return [
|
|
3980
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3981
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3982
|
+
];
|
|
3983
|
+
}).s("AmazonEC2ContainerRegistry_V20150921", "DeleteRegistryPolicy", {}).n("ECRClient", "DeleteRegistryPolicyCommand").f(void 0, void 0).ser(se_DeleteRegistryPolicyCommand).de(de_DeleteRegistryPolicyCommand).build() {
|
|
3984
|
+
};
|
|
3985
|
+
__name(_DeleteRegistryPolicyCommand, "DeleteRegistryPolicyCommand");
|
|
3986
|
+
var DeleteRegistryPolicyCommand = _DeleteRegistryPolicyCommand;
|
|
3987
|
+
|
|
3988
|
+
// src/commands/DeleteRepositoryCommand.ts
|
|
3989
|
+
|
|
3990
|
+
|
|
3991
|
+
|
|
3992
|
+
|
|
3993
|
+
var _DeleteRepositoryCommand = class _DeleteRepositoryCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3994
|
+
...commonParams
|
|
3995
|
+
}).m(function(Command, cs, config, o) {
|
|
3996
|
+
return [
|
|
3997
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3998
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3999
|
+
];
|
|
4000
|
+
}).s("AmazonEC2ContainerRegistry_V20150921", "DeleteRepository", {}).n("ECRClient", "DeleteRepositoryCommand").f(void 0, void 0).ser(se_DeleteRepositoryCommand).de(de_DeleteRepositoryCommand).build() {
|
|
4001
|
+
};
|
|
4002
|
+
__name(_DeleteRepositoryCommand, "DeleteRepositoryCommand");
|
|
4003
|
+
var DeleteRepositoryCommand = _DeleteRepositoryCommand;
|
|
4004
|
+
|
|
4005
|
+
// src/commands/DeleteRepositoryPolicyCommand.ts
|
|
4006
|
+
|
|
4007
|
+
|
|
4008
|
+
|
|
4009
|
+
|
|
4010
|
+
var _DeleteRepositoryPolicyCommand = class _DeleteRepositoryPolicyCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4011
|
+
...commonParams
|
|
4012
|
+
}).m(function(Command, cs, config, o) {
|
|
4013
|
+
return [
|
|
4014
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4015
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4016
|
+
];
|
|
4017
|
+
}).s("AmazonEC2ContainerRegistry_V20150921", "DeleteRepositoryPolicy", {}).n("ECRClient", "DeleteRepositoryPolicyCommand").f(void 0, void 0).ser(se_DeleteRepositoryPolicyCommand).de(de_DeleteRepositoryPolicyCommand).build() {
|
|
4018
|
+
};
|
|
4019
|
+
__name(_DeleteRepositoryPolicyCommand, "DeleteRepositoryPolicyCommand");
|
|
4020
|
+
var DeleteRepositoryPolicyCommand = _DeleteRepositoryPolicyCommand;
|
|
4021
|
+
|
|
4022
|
+
// src/commands/DescribeImageReplicationStatusCommand.ts
|
|
4023
|
+
|
|
4024
|
+
|
|
4025
|
+
|
|
4026
|
+
|
|
4027
|
+
var _DescribeImageReplicationStatusCommand = class _DescribeImageReplicationStatusCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4028
|
+
...commonParams
|
|
4029
|
+
}).m(function(Command, cs, config, o) {
|
|
4030
|
+
return [
|
|
4031
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4032
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4033
|
+
];
|
|
4034
|
+
}).s("AmazonEC2ContainerRegistry_V20150921", "DescribeImageReplicationStatus", {}).n("ECRClient", "DescribeImageReplicationStatusCommand").f(void 0, void 0).ser(se_DescribeImageReplicationStatusCommand).de(de_DescribeImageReplicationStatusCommand).build() {
|
|
4035
|
+
};
|
|
4036
|
+
__name(_DescribeImageReplicationStatusCommand, "DescribeImageReplicationStatusCommand");
|
|
4037
|
+
var DescribeImageReplicationStatusCommand = _DescribeImageReplicationStatusCommand;
|
|
4038
|
+
|
|
4039
|
+
// src/commands/DescribeImageScanFindingsCommand.ts
|
|
4040
|
+
|
|
4041
|
+
|
|
4042
|
+
|
|
4043
|
+
|
|
4044
|
+
var _DescribeImageScanFindingsCommand = class _DescribeImageScanFindingsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4045
|
+
...commonParams
|
|
4046
|
+
}).m(function(Command, cs, config, o) {
|
|
4047
|
+
return [
|
|
4048
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4049
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4050
|
+
];
|
|
4051
|
+
}).s("AmazonEC2ContainerRegistry_V20150921", "DescribeImageScanFindings", {}).n("ECRClient", "DescribeImageScanFindingsCommand").f(void 0, void 0).ser(se_DescribeImageScanFindingsCommand).de(de_DescribeImageScanFindingsCommand).build() {
|
|
4052
|
+
};
|
|
4053
|
+
__name(_DescribeImageScanFindingsCommand, "DescribeImageScanFindingsCommand");
|
|
4054
|
+
var DescribeImageScanFindingsCommand = _DescribeImageScanFindingsCommand;
|
|
4055
|
+
|
|
4056
|
+
// src/commands/DescribeImagesCommand.ts
|
|
4057
|
+
|
|
4058
|
+
|
|
4059
|
+
|
|
4060
|
+
|
|
4061
|
+
var _DescribeImagesCommand = class _DescribeImagesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4062
|
+
...commonParams
|
|
4063
|
+
}).m(function(Command, cs, config, o) {
|
|
4064
|
+
return [
|
|
4065
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4066
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4067
|
+
];
|
|
4068
|
+
}).s("AmazonEC2ContainerRegistry_V20150921", "DescribeImages", {}).n("ECRClient", "DescribeImagesCommand").f(void 0, void 0).ser(se_DescribeImagesCommand).de(de_DescribeImagesCommand).build() {
|
|
4069
|
+
};
|
|
4070
|
+
__name(_DescribeImagesCommand, "DescribeImagesCommand");
|
|
4071
|
+
var DescribeImagesCommand = _DescribeImagesCommand;
|
|
4072
|
+
|
|
4073
|
+
// src/commands/DescribePullThroughCacheRulesCommand.ts
|
|
4074
|
+
|
|
4075
|
+
|
|
4076
|
+
|
|
4077
|
+
|
|
4078
|
+
var _DescribePullThroughCacheRulesCommand = class _DescribePullThroughCacheRulesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4079
|
+
...commonParams
|
|
4080
|
+
}).m(function(Command, cs, config, o) {
|
|
4081
|
+
return [
|
|
4082
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4083
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4084
|
+
];
|
|
4085
|
+
}).s("AmazonEC2ContainerRegistry_V20150921", "DescribePullThroughCacheRules", {}).n("ECRClient", "DescribePullThroughCacheRulesCommand").f(void 0, void 0).ser(se_DescribePullThroughCacheRulesCommand).de(de_DescribePullThroughCacheRulesCommand).build() {
|
|
4086
|
+
};
|
|
4087
|
+
__name(_DescribePullThroughCacheRulesCommand, "DescribePullThroughCacheRulesCommand");
|
|
4088
|
+
var DescribePullThroughCacheRulesCommand = _DescribePullThroughCacheRulesCommand;
|
|
4089
|
+
|
|
4090
|
+
// src/commands/DescribeRegistryCommand.ts
|
|
4091
|
+
|
|
4092
|
+
|
|
4093
|
+
|
|
4094
|
+
|
|
4095
|
+
var _DescribeRegistryCommand = class _DescribeRegistryCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4096
|
+
...commonParams
|
|
4097
|
+
}).m(function(Command, cs, config, o) {
|
|
4098
|
+
return [
|
|
4099
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4100
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4101
|
+
];
|
|
4102
|
+
}).s("AmazonEC2ContainerRegistry_V20150921", "DescribeRegistry", {}).n("ECRClient", "DescribeRegistryCommand").f(void 0, void 0).ser(se_DescribeRegistryCommand).de(de_DescribeRegistryCommand).build() {
|
|
4103
|
+
};
|
|
4104
|
+
__name(_DescribeRegistryCommand, "DescribeRegistryCommand");
|
|
4105
|
+
var DescribeRegistryCommand = _DescribeRegistryCommand;
|
|
4106
|
+
|
|
4107
|
+
// src/commands/DescribeRepositoriesCommand.ts
|
|
4108
|
+
|
|
4109
|
+
|
|
4110
|
+
|
|
4111
|
+
|
|
4112
|
+
var _DescribeRepositoriesCommand = class _DescribeRepositoriesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4113
|
+
...commonParams
|
|
4114
|
+
}).m(function(Command, cs, config, o) {
|
|
4115
|
+
return [
|
|
4116
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4117
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4118
|
+
];
|
|
4119
|
+
}).s("AmazonEC2ContainerRegistry_V20150921", "DescribeRepositories", {}).n("ECRClient", "DescribeRepositoriesCommand").f(void 0, void 0).ser(se_DescribeRepositoriesCommand).de(de_DescribeRepositoriesCommand).build() {
|
|
4120
|
+
};
|
|
4121
|
+
__name(_DescribeRepositoriesCommand, "DescribeRepositoriesCommand");
|
|
4122
|
+
var DescribeRepositoriesCommand = _DescribeRepositoriesCommand;
|
|
4123
|
+
|
|
4124
|
+
// src/commands/GetAuthorizationTokenCommand.ts
|
|
4125
|
+
|
|
4126
|
+
|
|
4127
|
+
|
|
4128
|
+
|
|
4129
|
+
var _GetAuthorizationTokenCommand = class _GetAuthorizationTokenCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4130
|
+
...commonParams
|
|
4131
|
+
}).m(function(Command, cs, config, o) {
|
|
4132
|
+
return [
|
|
4133
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4134
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4135
|
+
];
|
|
4136
|
+
}).s("AmazonEC2ContainerRegistry_V20150921", "GetAuthorizationToken", {}).n("ECRClient", "GetAuthorizationTokenCommand").f(void 0, void 0).ser(se_GetAuthorizationTokenCommand).de(de_GetAuthorizationTokenCommand).build() {
|
|
4137
|
+
};
|
|
4138
|
+
__name(_GetAuthorizationTokenCommand, "GetAuthorizationTokenCommand");
|
|
4139
|
+
var GetAuthorizationTokenCommand = _GetAuthorizationTokenCommand;
|
|
4140
|
+
|
|
4141
|
+
// src/commands/GetDownloadUrlForLayerCommand.ts
|
|
4142
|
+
|
|
4143
|
+
|
|
4144
|
+
|
|
4145
|
+
|
|
4146
|
+
var _GetDownloadUrlForLayerCommand = class _GetDownloadUrlForLayerCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4147
|
+
...commonParams
|
|
4148
|
+
}).m(function(Command, cs, config, o) {
|
|
4149
|
+
return [
|
|
4150
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4151
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4152
|
+
];
|
|
4153
|
+
}).s("AmazonEC2ContainerRegistry_V20150921", "GetDownloadUrlForLayer", {}).n("ECRClient", "GetDownloadUrlForLayerCommand").f(void 0, void 0).ser(se_GetDownloadUrlForLayerCommand).de(de_GetDownloadUrlForLayerCommand).build() {
|
|
4154
|
+
};
|
|
4155
|
+
__name(_GetDownloadUrlForLayerCommand, "GetDownloadUrlForLayerCommand");
|
|
4156
|
+
var GetDownloadUrlForLayerCommand = _GetDownloadUrlForLayerCommand;
|
|
4157
|
+
|
|
4158
|
+
// src/commands/GetLifecyclePolicyCommand.ts
|
|
4159
|
+
|
|
4160
|
+
|
|
4161
|
+
|
|
4162
|
+
|
|
4163
|
+
var _GetLifecyclePolicyCommand = class _GetLifecyclePolicyCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4164
|
+
...commonParams
|
|
4165
|
+
}).m(function(Command, cs, config, o) {
|
|
4166
|
+
return [
|
|
4167
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4168
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4169
|
+
];
|
|
4170
|
+
}).s("AmazonEC2ContainerRegistry_V20150921", "GetLifecyclePolicy", {}).n("ECRClient", "GetLifecyclePolicyCommand").f(void 0, void 0).ser(se_GetLifecyclePolicyCommand).de(de_GetLifecyclePolicyCommand).build() {
|
|
4171
|
+
};
|
|
4172
|
+
__name(_GetLifecyclePolicyCommand, "GetLifecyclePolicyCommand");
|
|
4173
|
+
var GetLifecyclePolicyCommand = _GetLifecyclePolicyCommand;
|
|
4174
|
+
|
|
4175
|
+
// src/commands/GetLifecyclePolicyPreviewCommand.ts
|
|
4176
|
+
|
|
4177
|
+
|
|
4178
|
+
|
|
4179
|
+
|
|
4180
|
+
var _GetLifecyclePolicyPreviewCommand = class _GetLifecyclePolicyPreviewCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4181
|
+
...commonParams
|
|
4182
|
+
}).m(function(Command, cs, config, o) {
|
|
4183
|
+
return [
|
|
4184
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4185
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4186
|
+
];
|
|
4187
|
+
}).s("AmazonEC2ContainerRegistry_V20150921", "GetLifecyclePolicyPreview", {}).n("ECRClient", "GetLifecyclePolicyPreviewCommand").f(void 0, void 0).ser(se_GetLifecyclePolicyPreviewCommand).de(de_GetLifecyclePolicyPreviewCommand).build() {
|
|
4188
|
+
};
|
|
4189
|
+
__name(_GetLifecyclePolicyPreviewCommand, "GetLifecyclePolicyPreviewCommand");
|
|
4190
|
+
var GetLifecyclePolicyPreviewCommand = _GetLifecyclePolicyPreviewCommand;
|
|
4191
|
+
|
|
4192
|
+
// src/commands/GetRegistryPolicyCommand.ts
|
|
4193
|
+
|
|
4194
|
+
|
|
4195
|
+
|
|
4196
|
+
|
|
4197
|
+
var _GetRegistryPolicyCommand = class _GetRegistryPolicyCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4198
|
+
...commonParams
|
|
4199
|
+
}).m(function(Command, cs, config, o) {
|
|
4200
|
+
return [
|
|
4201
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4202
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4203
|
+
];
|
|
4204
|
+
}).s("AmazonEC2ContainerRegistry_V20150921", "GetRegistryPolicy", {}).n("ECRClient", "GetRegistryPolicyCommand").f(void 0, void 0).ser(se_GetRegistryPolicyCommand).de(de_GetRegistryPolicyCommand).build() {
|
|
4205
|
+
};
|
|
4206
|
+
__name(_GetRegistryPolicyCommand, "GetRegistryPolicyCommand");
|
|
4207
|
+
var GetRegistryPolicyCommand = _GetRegistryPolicyCommand;
|
|
4208
|
+
|
|
4209
|
+
// src/commands/GetRegistryScanningConfigurationCommand.ts
|
|
4210
|
+
|
|
4211
|
+
|
|
4212
|
+
|
|
4213
|
+
|
|
4214
|
+
var _GetRegistryScanningConfigurationCommand = class _GetRegistryScanningConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4215
|
+
...commonParams
|
|
4216
|
+
}).m(function(Command, cs, config, o) {
|
|
4217
|
+
return [
|
|
4218
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4219
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4220
|
+
];
|
|
4221
|
+
}).s("AmazonEC2ContainerRegistry_V20150921", "GetRegistryScanningConfiguration", {}).n("ECRClient", "GetRegistryScanningConfigurationCommand").f(void 0, void 0).ser(se_GetRegistryScanningConfigurationCommand).de(de_GetRegistryScanningConfigurationCommand).build() {
|
|
4222
|
+
};
|
|
4223
|
+
__name(_GetRegistryScanningConfigurationCommand, "GetRegistryScanningConfigurationCommand");
|
|
4224
|
+
var GetRegistryScanningConfigurationCommand = _GetRegistryScanningConfigurationCommand;
|
|
4225
|
+
|
|
4226
|
+
// src/commands/GetRepositoryPolicyCommand.ts
|
|
4227
|
+
|
|
4228
|
+
|
|
4229
|
+
|
|
4230
|
+
|
|
4231
|
+
var _GetRepositoryPolicyCommand = class _GetRepositoryPolicyCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4232
|
+
...commonParams
|
|
4233
|
+
}).m(function(Command, cs, config, o) {
|
|
4234
|
+
return [
|
|
4235
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4236
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4237
|
+
];
|
|
4238
|
+
}).s("AmazonEC2ContainerRegistry_V20150921", "GetRepositoryPolicy", {}).n("ECRClient", "GetRepositoryPolicyCommand").f(void 0, void 0).ser(se_GetRepositoryPolicyCommand).de(de_GetRepositoryPolicyCommand).build() {
|
|
4239
|
+
};
|
|
4240
|
+
__name(_GetRepositoryPolicyCommand, "GetRepositoryPolicyCommand");
|
|
4241
|
+
var GetRepositoryPolicyCommand = _GetRepositoryPolicyCommand;
|
|
4242
|
+
|
|
4243
|
+
// src/commands/InitiateLayerUploadCommand.ts
|
|
4244
|
+
|
|
4245
|
+
|
|
4246
|
+
|
|
4247
|
+
|
|
4248
|
+
var _InitiateLayerUploadCommand = class _InitiateLayerUploadCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4249
|
+
...commonParams
|
|
4250
|
+
}).m(function(Command, cs, config, o) {
|
|
4251
|
+
return [
|
|
4252
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4253
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4254
|
+
];
|
|
4255
|
+
}).s("AmazonEC2ContainerRegistry_V20150921", "InitiateLayerUpload", {}).n("ECRClient", "InitiateLayerUploadCommand").f(void 0, void 0).ser(se_InitiateLayerUploadCommand).de(de_InitiateLayerUploadCommand).build() {
|
|
4256
|
+
};
|
|
4257
|
+
__name(_InitiateLayerUploadCommand, "InitiateLayerUploadCommand");
|
|
4258
|
+
var InitiateLayerUploadCommand = _InitiateLayerUploadCommand;
|
|
4259
|
+
|
|
4260
|
+
// src/commands/ListImagesCommand.ts
|
|
4261
|
+
|
|
4262
|
+
|
|
4263
|
+
|
|
4264
|
+
|
|
4265
|
+
var _ListImagesCommand = class _ListImagesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4266
|
+
...commonParams
|
|
4267
|
+
}).m(function(Command, cs, config, o) {
|
|
4268
|
+
return [
|
|
4269
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4270
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4271
|
+
];
|
|
4272
|
+
}).s("AmazonEC2ContainerRegistry_V20150921", "ListImages", {}).n("ECRClient", "ListImagesCommand").f(void 0, void 0).ser(se_ListImagesCommand).de(de_ListImagesCommand).build() {
|
|
4273
|
+
};
|
|
4274
|
+
__name(_ListImagesCommand, "ListImagesCommand");
|
|
4275
|
+
var ListImagesCommand = _ListImagesCommand;
|
|
4276
|
+
|
|
4277
|
+
// src/commands/ListTagsForResourceCommand.ts
|
|
4278
|
+
|
|
4279
|
+
|
|
4280
|
+
|
|
4281
|
+
|
|
4282
|
+
var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4283
|
+
...commonParams
|
|
4284
|
+
}).m(function(Command, cs, config, o) {
|
|
4285
|
+
return [
|
|
4286
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4287
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4288
|
+
];
|
|
4289
|
+
}).s("AmazonEC2ContainerRegistry_V20150921", "ListTagsForResource", {}).n("ECRClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
|
|
4290
|
+
};
|
|
4291
|
+
__name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
|
|
4292
|
+
var ListTagsForResourceCommand = _ListTagsForResourceCommand;
|
|
4293
|
+
|
|
4294
|
+
// src/commands/PutImageCommand.ts
|
|
4295
|
+
|
|
4296
|
+
|
|
4297
|
+
|
|
4298
|
+
|
|
4299
|
+
var _PutImageCommand = class _PutImageCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4300
|
+
...commonParams
|
|
4301
|
+
}).m(function(Command, cs, config, o) {
|
|
4302
|
+
return [
|
|
4303
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4304
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4305
|
+
];
|
|
4306
|
+
}).s("AmazonEC2ContainerRegistry_V20150921", "PutImage", {}).n("ECRClient", "PutImageCommand").f(void 0, void 0).ser(se_PutImageCommand).de(de_PutImageCommand).build() {
|
|
4307
|
+
};
|
|
4308
|
+
__name(_PutImageCommand, "PutImageCommand");
|
|
4309
|
+
var PutImageCommand = _PutImageCommand;
|
|
4310
|
+
|
|
4311
|
+
// src/commands/PutImageScanningConfigurationCommand.ts
|
|
4312
|
+
|
|
4313
|
+
|
|
4314
|
+
|
|
4315
|
+
|
|
4316
|
+
var _PutImageScanningConfigurationCommand = class _PutImageScanningConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4317
|
+
...commonParams
|
|
4318
|
+
}).m(function(Command, cs, config, o) {
|
|
4319
|
+
return [
|
|
4320
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4321
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4322
|
+
];
|
|
4323
|
+
}).s("AmazonEC2ContainerRegistry_V20150921", "PutImageScanningConfiguration", {}).n("ECRClient", "PutImageScanningConfigurationCommand").f(void 0, void 0).ser(se_PutImageScanningConfigurationCommand).de(de_PutImageScanningConfigurationCommand).build() {
|
|
4324
|
+
};
|
|
4325
|
+
__name(_PutImageScanningConfigurationCommand, "PutImageScanningConfigurationCommand");
|
|
4326
|
+
var PutImageScanningConfigurationCommand = _PutImageScanningConfigurationCommand;
|
|
4327
|
+
|
|
4328
|
+
// src/commands/PutImageTagMutabilityCommand.ts
|
|
4329
|
+
|
|
4330
|
+
|
|
4331
|
+
|
|
4332
|
+
|
|
4333
|
+
var _PutImageTagMutabilityCommand = class _PutImageTagMutabilityCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4334
|
+
...commonParams
|
|
4335
|
+
}).m(function(Command, cs, config, o) {
|
|
4336
|
+
return [
|
|
4337
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4338
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4339
|
+
];
|
|
4340
|
+
}).s("AmazonEC2ContainerRegistry_V20150921", "PutImageTagMutability", {}).n("ECRClient", "PutImageTagMutabilityCommand").f(void 0, void 0).ser(se_PutImageTagMutabilityCommand).de(de_PutImageTagMutabilityCommand).build() {
|
|
4341
|
+
};
|
|
4342
|
+
__name(_PutImageTagMutabilityCommand, "PutImageTagMutabilityCommand");
|
|
4343
|
+
var PutImageTagMutabilityCommand = _PutImageTagMutabilityCommand;
|
|
4344
|
+
|
|
4345
|
+
// src/commands/PutLifecyclePolicyCommand.ts
|
|
4346
|
+
|
|
4347
|
+
|
|
4348
|
+
|
|
4349
|
+
|
|
4350
|
+
var _PutLifecyclePolicyCommand = class _PutLifecyclePolicyCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4351
|
+
...commonParams
|
|
4352
|
+
}).m(function(Command, cs, config, o) {
|
|
4353
|
+
return [
|
|
4354
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4355
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4356
|
+
];
|
|
4357
|
+
}).s("AmazonEC2ContainerRegistry_V20150921", "PutLifecyclePolicy", {}).n("ECRClient", "PutLifecyclePolicyCommand").f(void 0, void 0).ser(se_PutLifecyclePolicyCommand).de(de_PutLifecyclePolicyCommand).build() {
|
|
4358
|
+
};
|
|
4359
|
+
__name(_PutLifecyclePolicyCommand, "PutLifecyclePolicyCommand");
|
|
4360
|
+
var PutLifecyclePolicyCommand = _PutLifecyclePolicyCommand;
|
|
4361
|
+
|
|
4362
|
+
// src/commands/PutRegistryPolicyCommand.ts
|
|
4363
|
+
|
|
4364
|
+
|
|
4365
|
+
|
|
4366
|
+
|
|
4367
|
+
var _PutRegistryPolicyCommand = class _PutRegistryPolicyCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4368
|
+
...commonParams
|
|
4369
|
+
}).m(function(Command, cs, config, o) {
|
|
4370
|
+
return [
|
|
4371
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4372
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4373
|
+
];
|
|
4374
|
+
}).s("AmazonEC2ContainerRegistry_V20150921", "PutRegistryPolicy", {}).n("ECRClient", "PutRegistryPolicyCommand").f(void 0, void 0).ser(se_PutRegistryPolicyCommand).de(de_PutRegistryPolicyCommand).build() {
|
|
4375
|
+
};
|
|
4376
|
+
__name(_PutRegistryPolicyCommand, "PutRegistryPolicyCommand");
|
|
4377
|
+
var PutRegistryPolicyCommand = _PutRegistryPolicyCommand;
|
|
4378
|
+
|
|
4379
|
+
// src/commands/PutRegistryScanningConfigurationCommand.ts
|
|
4380
|
+
|
|
4381
|
+
|
|
4382
|
+
|
|
4383
|
+
|
|
4384
|
+
var _PutRegistryScanningConfigurationCommand = class _PutRegistryScanningConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4385
|
+
...commonParams
|
|
4386
|
+
}).m(function(Command, cs, config, o) {
|
|
4387
|
+
return [
|
|
4388
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4389
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4390
|
+
];
|
|
4391
|
+
}).s("AmazonEC2ContainerRegistry_V20150921", "PutRegistryScanningConfiguration", {}).n("ECRClient", "PutRegistryScanningConfigurationCommand").f(void 0, void 0).ser(se_PutRegistryScanningConfigurationCommand).de(de_PutRegistryScanningConfigurationCommand).build() {
|
|
4392
|
+
};
|
|
4393
|
+
__name(_PutRegistryScanningConfigurationCommand, "PutRegistryScanningConfigurationCommand");
|
|
4394
|
+
var PutRegistryScanningConfigurationCommand = _PutRegistryScanningConfigurationCommand;
|
|
4395
|
+
|
|
4396
|
+
// src/commands/PutReplicationConfigurationCommand.ts
|
|
4397
|
+
|
|
4398
|
+
|
|
4399
|
+
|
|
4400
|
+
|
|
4401
|
+
var _PutReplicationConfigurationCommand = class _PutReplicationConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4402
|
+
...commonParams
|
|
4403
|
+
}).m(function(Command, cs, config, o) {
|
|
4404
|
+
return [
|
|
4405
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4406
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4407
|
+
];
|
|
4408
|
+
}).s("AmazonEC2ContainerRegistry_V20150921", "PutReplicationConfiguration", {}).n("ECRClient", "PutReplicationConfigurationCommand").f(void 0, void 0).ser(se_PutReplicationConfigurationCommand).de(de_PutReplicationConfigurationCommand).build() {
|
|
4409
|
+
};
|
|
4410
|
+
__name(_PutReplicationConfigurationCommand, "PutReplicationConfigurationCommand");
|
|
4411
|
+
var PutReplicationConfigurationCommand = _PutReplicationConfigurationCommand;
|
|
4412
|
+
|
|
4413
|
+
// src/commands/SetRepositoryPolicyCommand.ts
|
|
4414
|
+
|
|
4415
|
+
|
|
4416
|
+
|
|
4417
|
+
|
|
4418
|
+
var _SetRepositoryPolicyCommand = class _SetRepositoryPolicyCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4419
|
+
...commonParams
|
|
4420
|
+
}).m(function(Command, cs, config, o) {
|
|
4421
|
+
return [
|
|
4422
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4423
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4424
|
+
];
|
|
4425
|
+
}).s("AmazonEC2ContainerRegistry_V20150921", "SetRepositoryPolicy", {}).n("ECRClient", "SetRepositoryPolicyCommand").f(void 0, void 0).ser(se_SetRepositoryPolicyCommand).de(de_SetRepositoryPolicyCommand).build() {
|
|
4426
|
+
};
|
|
4427
|
+
__name(_SetRepositoryPolicyCommand, "SetRepositoryPolicyCommand");
|
|
4428
|
+
var SetRepositoryPolicyCommand = _SetRepositoryPolicyCommand;
|
|
4429
|
+
|
|
4430
|
+
// src/commands/StartImageScanCommand.ts
|
|
4431
|
+
|
|
4432
|
+
|
|
4433
|
+
|
|
4434
|
+
|
|
4435
|
+
var _StartImageScanCommand = class _StartImageScanCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4436
|
+
...commonParams
|
|
4437
|
+
}).m(function(Command, cs, config, o) {
|
|
4438
|
+
return [
|
|
4439
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4440
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4441
|
+
];
|
|
4442
|
+
}).s("AmazonEC2ContainerRegistry_V20150921", "StartImageScan", {}).n("ECRClient", "StartImageScanCommand").f(void 0, void 0).ser(se_StartImageScanCommand).de(de_StartImageScanCommand).build() {
|
|
4443
|
+
};
|
|
4444
|
+
__name(_StartImageScanCommand, "StartImageScanCommand");
|
|
4445
|
+
var StartImageScanCommand = _StartImageScanCommand;
|
|
4446
|
+
|
|
4447
|
+
// src/commands/StartLifecyclePolicyPreviewCommand.ts
|
|
4448
|
+
|
|
4449
|
+
|
|
4450
|
+
|
|
4451
|
+
|
|
4452
|
+
var _StartLifecyclePolicyPreviewCommand = class _StartLifecyclePolicyPreviewCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4453
|
+
...commonParams
|
|
4454
|
+
}).m(function(Command, cs, config, o) {
|
|
4455
|
+
return [
|
|
4456
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4457
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4458
|
+
];
|
|
4459
|
+
}).s("AmazonEC2ContainerRegistry_V20150921", "StartLifecyclePolicyPreview", {}).n("ECRClient", "StartLifecyclePolicyPreviewCommand").f(void 0, void 0).ser(se_StartLifecyclePolicyPreviewCommand).de(de_StartLifecyclePolicyPreviewCommand).build() {
|
|
4460
|
+
};
|
|
4461
|
+
__name(_StartLifecyclePolicyPreviewCommand, "StartLifecyclePolicyPreviewCommand");
|
|
4462
|
+
var StartLifecyclePolicyPreviewCommand = _StartLifecyclePolicyPreviewCommand;
|
|
4463
|
+
|
|
4464
|
+
// src/commands/TagResourceCommand.ts
|
|
4465
|
+
|
|
4466
|
+
|
|
4467
|
+
|
|
4468
|
+
|
|
4469
|
+
var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4470
|
+
...commonParams
|
|
4471
|
+
}).m(function(Command, cs, config, o) {
|
|
4472
|
+
return [
|
|
4473
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4474
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4475
|
+
];
|
|
4476
|
+
}).s("AmazonEC2ContainerRegistry_V20150921", "TagResource", {}).n("ECRClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
|
|
4477
|
+
};
|
|
4478
|
+
__name(_TagResourceCommand, "TagResourceCommand");
|
|
4479
|
+
var TagResourceCommand = _TagResourceCommand;
|
|
4480
|
+
|
|
4481
|
+
// src/commands/UntagResourceCommand.ts
|
|
4482
|
+
|
|
4483
|
+
|
|
4484
|
+
|
|
4485
|
+
|
|
4486
|
+
var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4487
|
+
...commonParams
|
|
4488
|
+
}).m(function(Command, cs, config, o) {
|
|
4489
|
+
return [
|
|
4490
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4491
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4492
|
+
];
|
|
4493
|
+
}).s("AmazonEC2ContainerRegistry_V20150921", "UntagResource", {}).n("ECRClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
|
|
4494
|
+
};
|
|
4495
|
+
__name(_UntagResourceCommand, "UntagResourceCommand");
|
|
4496
|
+
var UntagResourceCommand = _UntagResourceCommand;
|
|
4497
|
+
|
|
4498
|
+
// src/commands/UpdatePullThroughCacheRuleCommand.ts
|
|
4499
|
+
|
|
4500
|
+
|
|
4501
|
+
|
|
4502
|
+
|
|
4503
|
+
var _UpdatePullThroughCacheRuleCommand = class _UpdatePullThroughCacheRuleCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4504
|
+
...commonParams
|
|
4505
|
+
}).m(function(Command, cs, config, o) {
|
|
4506
|
+
return [
|
|
4507
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4508
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4509
|
+
];
|
|
4510
|
+
}).s("AmazonEC2ContainerRegistry_V20150921", "UpdatePullThroughCacheRule", {}).n("ECRClient", "UpdatePullThroughCacheRuleCommand").f(void 0, void 0).ser(se_UpdatePullThroughCacheRuleCommand).de(de_UpdatePullThroughCacheRuleCommand).build() {
|
|
4511
|
+
};
|
|
4512
|
+
__name(_UpdatePullThroughCacheRuleCommand, "UpdatePullThroughCacheRuleCommand");
|
|
4513
|
+
var UpdatePullThroughCacheRuleCommand = _UpdatePullThroughCacheRuleCommand;
|
|
4514
|
+
|
|
4515
|
+
// src/commands/UploadLayerPartCommand.ts
|
|
4516
|
+
|
|
4517
|
+
|
|
4518
|
+
|
|
4519
|
+
|
|
4520
|
+
var _UploadLayerPartCommand = class _UploadLayerPartCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4521
|
+
...commonParams
|
|
4522
|
+
}).m(function(Command, cs, config, o) {
|
|
4523
|
+
return [
|
|
4524
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4525
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4526
|
+
];
|
|
4527
|
+
}).s("AmazonEC2ContainerRegistry_V20150921", "UploadLayerPart", {}).n("ECRClient", "UploadLayerPartCommand").f(void 0, void 0).ser(se_UploadLayerPartCommand).de(de_UploadLayerPartCommand).build() {
|
|
4528
|
+
};
|
|
4529
|
+
__name(_UploadLayerPartCommand, "UploadLayerPartCommand");
|
|
4530
|
+
var UploadLayerPartCommand = _UploadLayerPartCommand;
|
|
4531
|
+
|
|
4532
|
+
// src/commands/ValidatePullThroughCacheRuleCommand.ts
|
|
4533
|
+
|
|
4534
|
+
|
|
4535
|
+
|
|
4536
|
+
|
|
4537
|
+
var _ValidatePullThroughCacheRuleCommand = class _ValidatePullThroughCacheRuleCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4538
|
+
...commonParams
|
|
4539
|
+
}).m(function(Command, cs, config, o) {
|
|
4540
|
+
return [
|
|
4541
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4542
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4543
|
+
];
|
|
4544
|
+
}).s("AmazonEC2ContainerRegistry_V20150921", "ValidatePullThroughCacheRule", {}).n("ECRClient", "ValidatePullThroughCacheRuleCommand").f(void 0, void 0).ser(se_ValidatePullThroughCacheRuleCommand).de(de_ValidatePullThroughCacheRuleCommand).build() {
|
|
4545
|
+
};
|
|
4546
|
+
__name(_ValidatePullThroughCacheRuleCommand, "ValidatePullThroughCacheRuleCommand");
|
|
4547
|
+
var ValidatePullThroughCacheRuleCommand = _ValidatePullThroughCacheRuleCommand;
|
|
4548
|
+
|
|
4549
|
+
// src/ECR.ts
|
|
4550
|
+
var commands = {
|
|
4551
|
+
BatchCheckLayerAvailabilityCommand,
|
|
4552
|
+
BatchDeleteImageCommand,
|
|
4553
|
+
BatchGetImageCommand,
|
|
4554
|
+
BatchGetRepositoryScanningConfigurationCommand,
|
|
4555
|
+
CompleteLayerUploadCommand,
|
|
4556
|
+
CreatePullThroughCacheRuleCommand,
|
|
4557
|
+
CreateRepositoryCommand,
|
|
4558
|
+
DeleteLifecyclePolicyCommand,
|
|
4559
|
+
DeletePullThroughCacheRuleCommand,
|
|
4560
|
+
DeleteRegistryPolicyCommand,
|
|
4561
|
+
DeleteRepositoryCommand,
|
|
4562
|
+
DeleteRepositoryPolicyCommand,
|
|
4563
|
+
DescribeImageReplicationStatusCommand,
|
|
4564
|
+
DescribeImagesCommand,
|
|
4565
|
+
DescribeImageScanFindingsCommand,
|
|
4566
|
+
DescribePullThroughCacheRulesCommand,
|
|
4567
|
+
DescribeRegistryCommand,
|
|
4568
|
+
DescribeRepositoriesCommand,
|
|
4569
|
+
GetAuthorizationTokenCommand,
|
|
4570
|
+
GetDownloadUrlForLayerCommand,
|
|
4571
|
+
GetLifecyclePolicyCommand,
|
|
4572
|
+
GetLifecyclePolicyPreviewCommand,
|
|
4573
|
+
GetRegistryPolicyCommand,
|
|
4574
|
+
GetRegistryScanningConfigurationCommand,
|
|
4575
|
+
GetRepositoryPolicyCommand,
|
|
4576
|
+
InitiateLayerUploadCommand,
|
|
4577
|
+
ListImagesCommand,
|
|
4578
|
+
ListTagsForResourceCommand,
|
|
4579
|
+
PutImageCommand,
|
|
4580
|
+
PutImageScanningConfigurationCommand,
|
|
4581
|
+
PutImageTagMutabilityCommand,
|
|
4582
|
+
PutLifecyclePolicyCommand,
|
|
4583
|
+
PutRegistryPolicyCommand,
|
|
4584
|
+
PutRegistryScanningConfigurationCommand,
|
|
4585
|
+
PutReplicationConfigurationCommand,
|
|
4586
|
+
SetRepositoryPolicyCommand,
|
|
4587
|
+
StartImageScanCommand,
|
|
4588
|
+
StartLifecyclePolicyPreviewCommand,
|
|
4589
|
+
TagResourceCommand,
|
|
4590
|
+
UntagResourceCommand,
|
|
4591
|
+
UpdatePullThroughCacheRuleCommand,
|
|
4592
|
+
UploadLayerPartCommand,
|
|
4593
|
+
ValidatePullThroughCacheRuleCommand
|
|
4594
|
+
};
|
|
4595
|
+
var _ECR = class _ECR extends ECRClient {
|
|
4596
|
+
};
|
|
4597
|
+
__name(_ECR, "ECR");
|
|
4598
|
+
var ECR = _ECR;
|
|
4599
|
+
(0, import_smithy_client.createAggregatedClient)(commands, ECR);
|
|
4600
|
+
|
|
4601
|
+
// src/pagination/DescribeImageScanFindingsPaginator.ts
|
|
4602
|
+
var import_core = require("@smithy/core");
|
|
4603
|
+
var paginateDescribeImageScanFindings = (0, import_core.createPaginator)(ECRClient, DescribeImageScanFindingsCommand, "nextToken", "nextToken", "maxResults");
|
|
4604
|
+
|
|
4605
|
+
// src/pagination/DescribeImagesPaginator.ts
|
|
4606
|
+
|
|
4607
|
+
var paginateDescribeImages = (0, import_core.createPaginator)(ECRClient, DescribeImagesCommand, "nextToken", "nextToken", "maxResults");
|
|
4608
|
+
|
|
4609
|
+
// src/pagination/DescribePullThroughCacheRulesPaginator.ts
|
|
4610
|
+
|
|
4611
|
+
var paginateDescribePullThroughCacheRules = (0, import_core.createPaginator)(ECRClient, DescribePullThroughCacheRulesCommand, "nextToken", "nextToken", "maxResults");
|
|
4612
|
+
|
|
4613
|
+
// src/pagination/DescribeRepositoriesPaginator.ts
|
|
4614
|
+
|
|
4615
|
+
var paginateDescribeRepositories = (0, import_core.createPaginator)(ECRClient, DescribeRepositoriesCommand, "nextToken", "nextToken", "maxResults");
|
|
4616
|
+
|
|
4617
|
+
// src/pagination/GetLifecyclePolicyPreviewPaginator.ts
|
|
4618
|
+
|
|
4619
|
+
var paginateGetLifecyclePolicyPreview = (0, import_core.createPaginator)(ECRClient, GetLifecyclePolicyPreviewCommand, "nextToken", "nextToken", "maxResults");
|
|
4620
|
+
|
|
4621
|
+
// src/pagination/ListImagesPaginator.ts
|
|
4622
|
+
|
|
4623
|
+
var paginateListImages = (0, import_core.createPaginator)(ECRClient, ListImagesCommand, "nextToken", "nextToken", "maxResults");
|
|
4624
|
+
|
|
4625
|
+
// src/waiters/waitForImageScanComplete.ts
|
|
4626
|
+
var import_util_waiter = require("@smithy/util-waiter");
|
|
4627
|
+
var checkState = /* @__PURE__ */ __name(async (client, input) => {
|
|
4628
|
+
let reason;
|
|
4629
|
+
try {
|
|
4630
|
+
const result = await client.send(new DescribeImageScanFindingsCommand(input));
|
|
4631
|
+
reason = result;
|
|
4632
|
+
try {
|
|
4633
|
+
const returnComparator = /* @__PURE__ */ __name(() => {
|
|
4634
|
+
return result.imageScanStatus.status;
|
|
4635
|
+
}, "returnComparator");
|
|
4636
|
+
if (returnComparator() === "COMPLETE") {
|
|
4637
|
+
return { state: import_util_waiter.WaiterState.SUCCESS, reason };
|
|
4638
|
+
}
|
|
4639
|
+
} catch (e) {
|
|
4640
|
+
}
|
|
4641
|
+
try {
|
|
4642
|
+
const returnComparator = /* @__PURE__ */ __name(() => {
|
|
4643
|
+
return result.imageScanStatus.status;
|
|
4644
|
+
}, "returnComparator");
|
|
4645
|
+
if (returnComparator() === "FAILED") {
|
|
4646
|
+
return { state: import_util_waiter.WaiterState.FAILURE, reason };
|
|
4647
|
+
}
|
|
4648
|
+
} catch (e) {
|
|
4649
|
+
}
|
|
4650
|
+
} catch (exception) {
|
|
4651
|
+
reason = exception;
|
|
4652
|
+
}
|
|
4653
|
+
return { state: import_util_waiter.WaiterState.RETRY, reason };
|
|
4654
|
+
}, "checkState");
|
|
4655
|
+
var waitForImageScanComplete = /* @__PURE__ */ __name(async (params, input) => {
|
|
4656
|
+
const serviceDefaults = { minDelay: 5, maxDelay: 120 };
|
|
4657
|
+
return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
4658
|
+
}, "waitForImageScanComplete");
|
|
4659
|
+
var waitUntilImageScanComplete = /* @__PURE__ */ __name(async (params, input) => {
|
|
4660
|
+
const serviceDefaults = { minDelay: 5, maxDelay: 120 };
|
|
4661
|
+
const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
4662
|
+
return (0, import_util_waiter.checkExceptions)(result);
|
|
4663
|
+
}, "waitUntilImageScanComplete");
|
|
4664
|
+
|
|
4665
|
+
// src/waiters/waitForLifecyclePolicyPreviewComplete.ts
|
|
4666
|
+
|
|
4667
|
+
var checkState2 = /* @__PURE__ */ __name(async (client, input) => {
|
|
4668
|
+
let reason;
|
|
4669
|
+
try {
|
|
4670
|
+
const result = await client.send(new GetLifecyclePolicyPreviewCommand(input));
|
|
4671
|
+
reason = result;
|
|
4672
|
+
try {
|
|
4673
|
+
const returnComparator = /* @__PURE__ */ __name(() => {
|
|
4674
|
+
return result.status;
|
|
4675
|
+
}, "returnComparator");
|
|
4676
|
+
if (returnComparator() === "COMPLETE") {
|
|
4677
|
+
return { state: import_util_waiter.WaiterState.SUCCESS, reason };
|
|
4678
|
+
}
|
|
4679
|
+
} catch (e) {
|
|
4680
|
+
}
|
|
4681
|
+
try {
|
|
4682
|
+
const returnComparator = /* @__PURE__ */ __name(() => {
|
|
4683
|
+
return result.status;
|
|
4684
|
+
}, "returnComparator");
|
|
4685
|
+
if (returnComparator() === "FAILED") {
|
|
4686
|
+
return { state: import_util_waiter.WaiterState.FAILURE, reason };
|
|
4687
|
+
}
|
|
4688
|
+
} catch (e) {
|
|
4689
|
+
}
|
|
4690
|
+
} catch (exception) {
|
|
4691
|
+
reason = exception;
|
|
4692
|
+
}
|
|
4693
|
+
return { state: import_util_waiter.WaiterState.RETRY, reason };
|
|
4694
|
+
}, "checkState");
|
|
4695
|
+
var waitForLifecyclePolicyPreviewComplete = /* @__PURE__ */ __name(async (params, input) => {
|
|
4696
|
+
const serviceDefaults = { minDelay: 5, maxDelay: 120 };
|
|
4697
|
+
return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState2);
|
|
4698
|
+
}, "waitForLifecyclePolicyPreviewComplete");
|
|
4699
|
+
var waitUntilLifecyclePolicyPreviewComplete = /* @__PURE__ */ __name(async (params, input) => {
|
|
4700
|
+
const serviceDefaults = { minDelay: 5, maxDelay: 120 };
|
|
4701
|
+
const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState2);
|
|
4702
|
+
return (0, import_util_waiter.checkExceptions)(result);
|
|
4703
|
+
}, "waitUntilLifecyclePolicyPreviewComplete");
|
|
4704
|
+
|
|
4705
|
+
// src/index.ts
|
|
4706
|
+
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
4707
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
4708
|
+
|
|
4709
|
+
0 && (module.exports = {
|
|
4710
|
+
BatchCheckLayerAvailabilityCommand,
|
|
4711
|
+
BatchDeleteImageCommand,
|
|
4712
|
+
BatchGetImageCommand,
|
|
4713
|
+
BatchGetRepositoryScanningConfigurationCommand,
|
|
4714
|
+
CompleteLayerUploadCommand,
|
|
4715
|
+
CreatePullThroughCacheRuleCommand,
|
|
4716
|
+
CreateRepositoryCommand,
|
|
4717
|
+
DeleteLifecyclePolicyCommand,
|
|
4718
|
+
DeletePullThroughCacheRuleCommand,
|
|
4719
|
+
DeleteRegistryPolicyCommand,
|
|
4720
|
+
DeleteRepositoryCommand,
|
|
4721
|
+
DeleteRepositoryPolicyCommand,
|
|
4722
|
+
DescribeImageReplicationStatusCommand,
|
|
4723
|
+
DescribeImageScanFindingsCommand,
|
|
4724
|
+
DescribeImagesCommand,
|
|
4725
|
+
DescribePullThroughCacheRulesCommand,
|
|
4726
|
+
DescribeRegistryCommand,
|
|
4727
|
+
DescribeRepositoriesCommand,
|
|
4728
|
+
ECR,
|
|
4729
|
+
ECRClient,
|
|
4730
|
+
ECRServiceException,
|
|
4731
|
+
EmptyUploadException,
|
|
4732
|
+
EncryptionType,
|
|
4733
|
+
FindingSeverity,
|
|
4734
|
+
GetAuthorizationTokenCommand,
|
|
4735
|
+
GetDownloadUrlForLayerCommand,
|
|
4736
|
+
GetLifecyclePolicyCommand,
|
|
4737
|
+
GetLifecyclePolicyPreviewCommand,
|
|
4738
|
+
GetRegistryPolicyCommand,
|
|
4739
|
+
GetRegistryScanningConfigurationCommand,
|
|
4740
|
+
GetRepositoryPolicyCommand,
|
|
4741
|
+
ImageActionType,
|
|
4742
|
+
ImageAlreadyExistsException,
|
|
4743
|
+
ImageDigestDoesNotMatchException,
|
|
4744
|
+
ImageFailureCode,
|
|
4745
|
+
ImageNotFoundException,
|
|
4746
|
+
ImageTagAlreadyExistsException,
|
|
4747
|
+
ImageTagMutability,
|
|
4748
|
+
InitiateLayerUploadCommand,
|
|
4749
|
+
InvalidLayerException,
|
|
4750
|
+
InvalidLayerPartException,
|
|
4751
|
+
InvalidParameterException,
|
|
4752
|
+
InvalidTagParameterException,
|
|
4753
|
+
KmsException,
|
|
4754
|
+
LayerAlreadyExistsException,
|
|
4755
|
+
LayerAvailability,
|
|
4756
|
+
LayerFailureCode,
|
|
4757
|
+
LayerInaccessibleException,
|
|
4758
|
+
LayerPartTooSmallException,
|
|
4759
|
+
LayersNotFoundException,
|
|
4760
|
+
LifecyclePolicyNotFoundException,
|
|
4761
|
+
LifecyclePolicyPreviewInProgressException,
|
|
4762
|
+
LifecyclePolicyPreviewNotFoundException,
|
|
4763
|
+
LifecyclePolicyPreviewStatus,
|
|
4764
|
+
LimitExceededException,
|
|
4765
|
+
ListImagesCommand,
|
|
4766
|
+
ListTagsForResourceCommand,
|
|
4767
|
+
PullThroughCacheRuleAlreadyExistsException,
|
|
4768
|
+
PullThroughCacheRuleNotFoundException,
|
|
4769
|
+
PutImageCommand,
|
|
4770
|
+
PutImageScanningConfigurationCommand,
|
|
4771
|
+
PutImageTagMutabilityCommand,
|
|
4772
|
+
PutLifecyclePolicyCommand,
|
|
4773
|
+
PutRegistryPolicyCommand,
|
|
4774
|
+
PutRegistryScanningConfigurationCommand,
|
|
4775
|
+
PutReplicationConfigurationCommand,
|
|
4776
|
+
ReferencedImagesNotFoundException,
|
|
4777
|
+
RegistryPolicyNotFoundException,
|
|
4778
|
+
ReplicationStatus,
|
|
4779
|
+
RepositoryAlreadyExistsException,
|
|
4780
|
+
RepositoryFilterType,
|
|
4781
|
+
RepositoryNotEmptyException,
|
|
4782
|
+
RepositoryNotFoundException,
|
|
4783
|
+
RepositoryPolicyNotFoundException,
|
|
4784
|
+
ScanFrequency,
|
|
4785
|
+
ScanNotFoundException,
|
|
4786
|
+
ScanStatus,
|
|
4787
|
+
ScanType,
|
|
4788
|
+
ScanningConfigurationFailureCode,
|
|
4789
|
+
ScanningRepositoryFilterType,
|
|
4790
|
+
SecretNotFoundException,
|
|
4791
|
+
ServerException,
|
|
4792
|
+
SetRepositoryPolicyCommand,
|
|
4793
|
+
StartImageScanCommand,
|
|
4794
|
+
StartLifecyclePolicyPreviewCommand,
|
|
4795
|
+
TagResourceCommand,
|
|
4796
|
+
TagStatus,
|
|
4797
|
+
TooManyTagsException,
|
|
4798
|
+
UnableToAccessSecretException,
|
|
4799
|
+
UnableToDecryptSecretValueException,
|
|
4800
|
+
UnableToGetUpstreamImageException,
|
|
4801
|
+
UnableToGetUpstreamLayerException,
|
|
4802
|
+
UnsupportedImageTypeException,
|
|
4803
|
+
UnsupportedUpstreamRegistryException,
|
|
4804
|
+
UntagResourceCommand,
|
|
4805
|
+
UpdatePullThroughCacheRuleCommand,
|
|
4806
|
+
UploadLayerPartCommand,
|
|
4807
|
+
UploadNotFoundException,
|
|
4808
|
+
UpstreamRegistry,
|
|
4809
|
+
ValidatePullThroughCacheRuleCommand,
|
|
4810
|
+
ValidationException,
|
|
4811
|
+
__Client,
|
|
4812
|
+
paginateDescribeImageScanFindings,
|
|
4813
|
+
paginateDescribeImages,
|
|
4814
|
+
paginateDescribePullThroughCacheRules,
|
|
4815
|
+
paginateDescribeRepositories,
|
|
4816
|
+
paginateGetLifecyclePolicyPreview,
|
|
4817
|
+
paginateListImages,
|
|
4818
|
+
waitForImageScanComplete,
|
|
4819
|
+
waitForLifecyclePolicyPreviewComplete,
|
|
4820
|
+
waitUntilImageScanComplete,
|
|
4821
|
+
waitUntilLifecyclePolicyPreviewComplete
|
|
4822
|
+
});
|
|
4823
|
+
|