@aws-sdk/client-ecr-public 3.899.0 → 3.906.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/index.js +1754 -2010
- package/package.json +37 -37
package/dist-cjs/index.js
CHANGED
|
@@ -1,2093 +1,1837 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
DescribeRegistriesCommand: () => DescribeRegistriesCommand,
|
|
33
|
-
DescribeRepositoriesCommand: () => DescribeRepositoriesCommand,
|
|
34
|
-
ECRPUBLIC: () => ECRPUBLIC,
|
|
35
|
-
ECRPUBLICClient: () => ECRPUBLICClient,
|
|
36
|
-
ECRPUBLICServiceException: () => ECRPUBLICServiceException,
|
|
37
|
-
EmptyUploadException: () => EmptyUploadException,
|
|
38
|
-
GetAuthorizationTokenCommand: () => GetAuthorizationTokenCommand,
|
|
39
|
-
GetRegistryCatalogDataCommand: () => GetRegistryCatalogDataCommand,
|
|
40
|
-
GetRepositoryCatalogDataCommand: () => GetRepositoryCatalogDataCommand,
|
|
41
|
-
GetRepositoryPolicyCommand: () => GetRepositoryPolicyCommand,
|
|
42
|
-
ImageAlreadyExistsException: () => ImageAlreadyExistsException,
|
|
43
|
-
ImageDigestDoesNotMatchException: () => ImageDigestDoesNotMatchException,
|
|
44
|
-
ImageFailureCode: () => ImageFailureCode,
|
|
45
|
-
ImageNotFoundException: () => ImageNotFoundException,
|
|
46
|
-
ImageTagAlreadyExistsException: () => ImageTagAlreadyExistsException,
|
|
47
|
-
InitiateLayerUploadCommand: () => InitiateLayerUploadCommand,
|
|
48
|
-
InvalidLayerException: () => InvalidLayerException,
|
|
49
|
-
InvalidLayerPartException: () => InvalidLayerPartException,
|
|
50
|
-
InvalidParameterException: () => InvalidParameterException,
|
|
51
|
-
InvalidTagParameterException: () => InvalidTagParameterException,
|
|
52
|
-
LayerAlreadyExistsException: () => LayerAlreadyExistsException,
|
|
53
|
-
LayerAvailability: () => LayerAvailability,
|
|
54
|
-
LayerFailureCode: () => LayerFailureCode,
|
|
55
|
-
LayerPartTooSmallException: () => LayerPartTooSmallException,
|
|
56
|
-
LayersNotFoundException: () => LayersNotFoundException,
|
|
57
|
-
LimitExceededException: () => LimitExceededException,
|
|
58
|
-
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
59
|
-
PutImageCommand: () => PutImageCommand,
|
|
60
|
-
PutRegistryCatalogDataCommand: () => PutRegistryCatalogDataCommand,
|
|
61
|
-
PutRepositoryCatalogDataCommand: () => PutRepositoryCatalogDataCommand,
|
|
62
|
-
ReferencedImagesNotFoundException: () => ReferencedImagesNotFoundException,
|
|
63
|
-
RegistryAliasStatus: () => RegistryAliasStatus,
|
|
64
|
-
RegistryNotFoundException: () => RegistryNotFoundException,
|
|
65
|
-
RepositoryAlreadyExistsException: () => RepositoryAlreadyExistsException,
|
|
66
|
-
RepositoryCatalogDataNotFoundException: () => RepositoryCatalogDataNotFoundException,
|
|
67
|
-
RepositoryNotEmptyException: () => RepositoryNotEmptyException,
|
|
68
|
-
RepositoryNotFoundException: () => RepositoryNotFoundException,
|
|
69
|
-
RepositoryPolicyNotFoundException: () => RepositoryPolicyNotFoundException,
|
|
70
|
-
ServerException: () => ServerException,
|
|
71
|
-
SetRepositoryPolicyCommand: () => SetRepositoryPolicyCommand,
|
|
72
|
-
TagResourceCommand: () => TagResourceCommand,
|
|
73
|
-
TooManyTagsException: () => TooManyTagsException,
|
|
74
|
-
UnsupportedCommandException: () => UnsupportedCommandException,
|
|
75
|
-
UntagResourceCommand: () => UntagResourceCommand,
|
|
76
|
-
UploadLayerPartCommand: () => UploadLayerPartCommand,
|
|
77
|
-
UploadNotFoundException: () => UploadNotFoundException,
|
|
78
|
-
__Client: () => import_smithy_client.Client,
|
|
79
|
-
paginateDescribeImageTags: () => paginateDescribeImageTags,
|
|
80
|
-
paginateDescribeImages: () => paginateDescribeImages,
|
|
81
|
-
paginateDescribeRegistries: () => paginateDescribeRegistries,
|
|
82
|
-
paginateDescribeRepositories: () => paginateDescribeRepositories
|
|
83
|
-
});
|
|
84
|
-
module.exports = __toCommonJS(index_exports);
|
|
85
|
-
|
|
86
|
-
// src/ECRPUBLICClient.ts
|
|
87
|
-
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
88
|
-
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
89
|
-
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
90
|
-
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
91
|
-
var import_config_resolver = require("@smithy/config-resolver");
|
|
92
|
-
var import_core = require("@smithy/core");
|
|
93
|
-
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
94
|
-
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
95
|
-
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
96
|
-
|
|
97
|
-
var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
|
|
98
|
-
|
|
99
|
-
// src/endpoint/EndpointParameters.ts
|
|
100
|
-
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
101
|
-
return Object.assign(options, {
|
|
102
|
-
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
103
|
-
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
104
|
-
defaultSigningName: "ecr-public"
|
|
105
|
-
});
|
|
106
|
-
}, "resolveClientEndpointParameters");
|
|
107
|
-
var commonParams = {
|
|
108
|
-
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
109
|
-
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
110
|
-
Region: { type: "builtInParams", name: "region" },
|
|
111
|
-
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
|
|
4
|
+
var middlewareLogger = require('@aws-sdk/middleware-logger');
|
|
5
|
+
var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
|
|
6
|
+
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
7
|
+
var configResolver = require('@smithy/config-resolver');
|
|
8
|
+
var core = require('@smithy/core');
|
|
9
|
+
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
10
|
+
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
11
|
+
var middlewareRetry = require('@smithy/middleware-retry');
|
|
12
|
+
var smithyClient = require('@smithy/smithy-client');
|
|
13
|
+
var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
14
|
+
var runtimeConfig = require('./runtimeConfig');
|
|
15
|
+
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
16
|
+
var protocolHttp = require('@smithy/protocol-http');
|
|
17
|
+
var middlewareSerde = require('@smithy/middleware-serde');
|
|
18
|
+
var core$1 = require('@aws-sdk/core');
|
|
19
|
+
|
|
20
|
+
const resolveClientEndpointParameters = (options) => {
|
|
21
|
+
return Object.assign(options, {
|
|
22
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
23
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
24
|
+
defaultSigningName: "ecr-public",
|
|
25
|
+
});
|
|
26
|
+
};
|
|
27
|
+
const commonParams = {
|
|
28
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
29
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
30
|
+
Region: { type: "builtInParams", name: "region" },
|
|
31
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
112
32
|
};
|
|
113
33
|
|
|
114
|
-
|
|
115
|
-
|
|
34
|
+
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
35
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
36
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
37
|
+
let _credentials = runtimeConfig.credentials;
|
|
38
|
+
return {
|
|
39
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
40
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
41
|
+
if (index === -1) {
|
|
42
|
+
_httpAuthSchemes.push(httpAuthScheme);
|
|
43
|
+
}
|
|
44
|
+
else {
|
|
45
|
+
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
httpAuthSchemes() {
|
|
49
|
+
return _httpAuthSchemes;
|
|
50
|
+
},
|
|
51
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
52
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
53
|
+
},
|
|
54
|
+
httpAuthSchemeProvider() {
|
|
55
|
+
return _httpAuthSchemeProvider;
|
|
56
|
+
},
|
|
57
|
+
setCredentials(credentials) {
|
|
58
|
+
_credentials = credentials;
|
|
59
|
+
},
|
|
60
|
+
credentials() {
|
|
61
|
+
return _credentials;
|
|
62
|
+
},
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
const resolveHttpAuthRuntimeConfig = (config) => {
|
|
66
|
+
return {
|
|
67
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
68
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
69
|
+
credentials: config.credentials(),
|
|
70
|
+
};
|
|
71
|
+
};
|
|
116
72
|
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
73
|
+
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
74
|
+
const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
75
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
76
|
+
return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
77
|
+
};
|
|
121
78
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
79
|
+
class ECRPUBLICClient extends smithyClient.Client {
|
|
80
|
+
config;
|
|
81
|
+
constructor(...[configuration]) {
|
|
82
|
+
const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
|
|
83
|
+
super(_config_0);
|
|
84
|
+
this.initConfig = _config_0;
|
|
85
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
86
|
+
const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
|
|
87
|
+
const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);
|
|
88
|
+
const _config_4 = configResolver.resolveRegionConfig(_config_3);
|
|
89
|
+
const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
|
|
90
|
+
const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);
|
|
91
|
+
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
92
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
93
|
+
this.config = _config_8;
|
|
94
|
+
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
95
|
+
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
96
|
+
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
97
|
+
this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
|
|
98
|
+
this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
|
|
99
|
+
this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
|
|
100
|
+
this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
101
|
+
httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultECRPUBLICHttpAuthSchemeParametersProvider,
|
|
102
|
+
identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
|
|
103
|
+
"aws.auth#sigv4": config.credentials,
|
|
104
|
+
}),
|
|
105
|
+
}));
|
|
106
|
+
this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
|
|
150
107
|
}
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
httpAuthSchemes: config.httpAuthSchemes(),
|
|
156
|
-
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
157
|
-
credentials: config.credentials()
|
|
158
|
-
};
|
|
159
|
-
}, "resolveHttpAuthRuntimeConfig");
|
|
108
|
+
destroy() {
|
|
109
|
+
super.destroy();
|
|
110
|
+
}
|
|
111
|
+
}
|
|
160
112
|
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
getHttpAuthExtensionConfiguration(runtimeConfig)
|
|
168
|
-
);
|
|
169
|
-
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
170
|
-
return Object.assign(
|
|
171
|
-
runtimeConfig,
|
|
172
|
-
(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
173
|
-
(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
174
|
-
(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
175
|
-
resolveHttpAuthRuntimeConfig(extensionConfiguration)
|
|
176
|
-
);
|
|
177
|
-
}, "resolveRuntimeExtensions");
|
|
113
|
+
class ECRPUBLICServiceException extends smithyClient.ServiceException {
|
|
114
|
+
constructor(options) {
|
|
115
|
+
super(options);
|
|
116
|
+
Object.setPrototypeOf(this, ECRPUBLICServiceException.prototype);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
178
119
|
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
__name(this, "ECRPUBLICClient");
|
|
183
|
-
}
|
|
184
|
-
/**
|
|
185
|
-
* The resolved configuration of ECRPUBLICClient class. This is resolved and normalized from the {@link ECRPUBLICClientConfig | constructor configuration interface}.
|
|
186
|
-
*/
|
|
187
|
-
config;
|
|
188
|
-
constructor(...[configuration]) {
|
|
189
|
-
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
190
|
-
super(_config_0);
|
|
191
|
-
this.initConfig = _config_0;
|
|
192
|
-
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
193
|
-
const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
|
|
194
|
-
const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
|
|
195
|
-
const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
|
|
196
|
-
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
197
|
-
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
198
|
-
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
199
|
-
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
200
|
-
this.config = _config_8;
|
|
201
|
-
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
202
|
-
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
203
|
-
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
204
|
-
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
205
|
-
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
206
|
-
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
207
|
-
this.middlewareStack.use(
|
|
208
|
-
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
209
|
-
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultECRPUBLICHttpAuthSchemeParametersProvider,
|
|
210
|
-
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
211
|
-
"aws.auth#sigv4": config.credentials
|
|
212
|
-
}), "identityProviderConfigProvider")
|
|
213
|
-
})
|
|
214
|
-
);
|
|
215
|
-
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
216
|
-
}
|
|
217
|
-
/**
|
|
218
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
219
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
220
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
221
|
-
*/
|
|
222
|
-
destroy() {
|
|
223
|
-
super.destroy();
|
|
224
|
-
}
|
|
120
|
+
const LayerFailureCode = {
|
|
121
|
+
InvalidLayerDigest: "InvalidLayerDigest",
|
|
122
|
+
MissingLayerDigest: "MissingLayerDigest",
|
|
225
123
|
};
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
124
|
+
const LayerAvailability = {
|
|
125
|
+
AVAILABLE: "AVAILABLE",
|
|
126
|
+
UNAVAILABLE: "UNAVAILABLE",
|
|
127
|
+
};
|
|
128
|
+
class InvalidParameterException extends ECRPUBLICServiceException {
|
|
129
|
+
name = "InvalidParameterException";
|
|
130
|
+
$fault = "client";
|
|
131
|
+
constructor(opts) {
|
|
132
|
+
super({
|
|
133
|
+
name: "InvalidParameterException",
|
|
134
|
+
$fault: "client",
|
|
135
|
+
...opts,
|
|
136
|
+
});
|
|
137
|
+
Object.setPrototypeOf(this, InvalidParameterException.prototype);
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
class RegistryNotFoundException extends ECRPUBLICServiceException {
|
|
141
|
+
name = "RegistryNotFoundException";
|
|
142
|
+
$fault = "client";
|
|
143
|
+
constructor(opts) {
|
|
144
|
+
super({
|
|
145
|
+
name: "RegistryNotFoundException",
|
|
146
|
+
$fault: "client",
|
|
147
|
+
...opts,
|
|
148
|
+
});
|
|
149
|
+
Object.setPrototypeOf(this, RegistryNotFoundException.prototype);
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
class RepositoryNotFoundException extends ECRPUBLICServiceException {
|
|
153
|
+
name = "RepositoryNotFoundException";
|
|
154
|
+
$fault = "client";
|
|
155
|
+
constructor(opts) {
|
|
156
|
+
super({
|
|
157
|
+
name: "RepositoryNotFoundException",
|
|
158
|
+
$fault: "client",
|
|
159
|
+
...opts,
|
|
160
|
+
});
|
|
161
|
+
Object.setPrototypeOf(this, RepositoryNotFoundException.prototype);
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
class ServerException extends ECRPUBLICServiceException {
|
|
165
|
+
name = "ServerException";
|
|
166
|
+
$fault = "server";
|
|
167
|
+
constructor(opts) {
|
|
168
|
+
super({
|
|
169
|
+
name: "ServerException",
|
|
170
|
+
$fault: "server",
|
|
171
|
+
...opts,
|
|
172
|
+
});
|
|
173
|
+
Object.setPrototypeOf(this, ServerException.prototype);
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
class UnsupportedCommandException extends ECRPUBLICServiceException {
|
|
177
|
+
name = "UnsupportedCommandException";
|
|
178
|
+
$fault = "client";
|
|
179
|
+
constructor(opts) {
|
|
180
|
+
super({
|
|
181
|
+
name: "UnsupportedCommandException",
|
|
182
|
+
$fault: "client",
|
|
183
|
+
...opts,
|
|
184
|
+
});
|
|
185
|
+
Object.setPrototypeOf(this, UnsupportedCommandException.prototype);
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
const ImageFailureCode = {
|
|
189
|
+
ImageNotFound: "ImageNotFound",
|
|
190
|
+
ImageReferencedByManifestList: "ImageReferencedByManifestList",
|
|
191
|
+
ImageTagDoesNotMatchDigest: "ImageTagDoesNotMatchDigest",
|
|
192
|
+
InvalidImageDigest: "InvalidImageDigest",
|
|
193
|
+
InvalidImageTag: "InvalidImageTag",
|
|
194
|
+
KmsError: "KmsError",
|
|
195
|
+
MissingDigestAndTag: "MissingDigestAndTag",
|
|
196
|
+
};
|
|
197
|
+
class EmptyUploadException extends ECRPUBLICServiceException {
|
|
198
|
+
name = "EmptyUploadException";
|
|
199
|
+
$fault = "client";
|
|
200
|
+
constructor(opts) {
|
|
201
|
+
super({
|
|
202
|
+
name: "EmptyUploadException",
|
|
203
|
+
$fault: "client",
|
|
204
|
+
...opts,
|
|
205
|
+
});
|
|
206
|
+
Object.setPrototypeOf(this, EmptyUploadException.prototype);
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
class InvalidLayerException extends ECRPUBLICServiceException {
|
|
210
|
+
name = "InvalidLayerException";
|
|
211
|
+
$fault = "client";
|
|
212
|
+
constructor(opts) {
|
|
213
|
+
super({
|
|
214
|
+
name: "InvalidLayerException",
|
|
215
|
+
$fault: "client",
|
|
216
|
+
...opts,
|
|
217
|
+
});
|
|
218
|
+
Object.setPrototypeOf(this, InvalidLayerException.prototype);
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
class LayerAlreadyExistsException extends ECRPUBLICServiceException {
|
|
222
|
+
name = "LayerAlreadyExistsException";
|
|
223
|
+
$fault = "client";
|
|
224
|
+
constructor(opts) {
|
|
225
|
+
super({
|
|
226
|
+
name: "LayerAlreadyExistsException",
|
|
227
|
+
$fault: "client",
|
|
228
|
+
...opts,
|
|
229
|
+
});
|
|
230
|
+
Object.setPrototypeOf(this, LayerAlreadyExistsException.prototype);
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
class LayerPartTooSmallException extends ECRPUBLICServiceException {
|
|
234
|
+
name = "LayerPartTooSmallException";
|
|
235
|
+
$fault = "client";
|
|
236
|
+
constructor(opts) {
|
|
237
|
+
super({
|
|
238
|
+
name: "LayerPartTooSmallException",
|
|
239
|
+
$fault: "client",
|
|
240
|
+
...opts,
|
|
241
|
+
});
|
|
242
|
+
Object.setPrototypeOf(this, LayerPartTooSmallException.prototype);
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
class UploadNotFoundException extends ECRPUBLICServiceException {
|
|
246
|
+
name = "UploadNotFoundException";
|
|
247
|
+
$fault = "client";
|
|
248
|
+
constructor(opts) {
|
|
249
|
+
super({
|
|
250
|
+
name: "UploadNotFoundException",
|
|
251
|
+
$fault: "client",
|
|
252
|
+
...opts,
|
|
253
|
+
});
|
|
254
|
+
Object.setPrototypeOf(this, UploadNotFoundException.prototype);
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
class InvalidTagParameterException extends ECRPUBLICServiceException {
|
|
258
|
+
name = "InvalidTagParameterException";
|
|
259
|
+
$fault = "client";
|
|
260
|
+
constructor(opts) {
|
|
261
|
+
super({
|
|
262
|
+
name: "InvalidTagParameterException",
|
|
263
|
+
$fault: "client",
|
|
264
|
+
...opts,
|
|
265
|
+
});
|
|
266
|
+
Object.setPrototypeOf(this, InvalidTagParameterException.prototype);
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
class LimitExceededException extends ECRPUBLICServiceException {
|
|
270
|
+
name = "LimitExceededException";
|
|
271
|
+
$fault = "client";
|
|
272
|
+
constructor(opts) {
|
|
273
|
+
super({
|
|
274
|
+
name: "LimitExceededException",
|
|
275
|
+
$fault: "client",
|
|
276
|
+
...opts,
|
|
277
|
+
});
|
|
278
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
class RepositoryAlreadyExistsException extends ECRPUBLICServiceException {
|
|
282
|
+
name = "RepositoryAlreadyExistsException";
|
|
283
|
+
$fault = "client";
|
|
284
|
+
constructor(opts) {
|
|
285
|
+
super({
|
|
286
|
+
name: "RepositoryAlreadyExistsException",
|
|
287
|
+
$fault: "client",
|
|
288
|
+
...opts,
|
|
289
|
+
});
|
|
290
|
+
Object.setPrototypeOf(this, RepositoryAlreadyExistsException.prototype);
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
class TooManyTagsException extends ECRPUBLICServiceException {
|
|
294
|
+
name = "TooManyTagsException";
|
|
295
|
+
$fault = "client";
|
|
296
|
+
constructor(opts) {
|
|
297
|
+
super({
|
|
298
|
+
name: "TooManyTagsException",
|
|
299
|
+
$fault: "client",
|
|
300
|
+
...opts,
|
|
301
|
+
});
|
|
302
|
+
Object.setPrototypeOf(this, TooManyTagsException.prototype);
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
class RepositoryNotEmptyException extends ECRPUBLICServiceException {
|
|
306
|
+
name = "RepositoryNotEmptyException";
|
|
307
|
+
$fault = "client";
|
|
308
|
+
constructor(opts) {
|
|
309
|
+
super({
|
|
310
|
+
name: "RepositoryNotEmptyException",
|
|
311
|
+
$fault: "client",
|
|
312
|
+
...opts,
|
|
313
|
+
});
|
|
314
|
+
Object.setPrototypeOf(this, RepositoryNotEmptyException.prototype);
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
class RepositoryPolicyNotFoundException extends ECRPUBLICServiceException {
|
|
318
|
+
name = "RepositoryPolicyNotFoundException";
|
|
319
|
+
$fault = "client";
|
|
320
|
+
constructor(opts) {
|
|
321
|
+
super({
|
|
322
|
+
name: "RepositoryPolicyNotFoundException",
|
|
323
|
+
$fault: "client",
|
|
324
|
+
...opts,
|
|
325
|
+
});
|
|
326
|
+
Object.setPrototypeOf(this, RepositoryPolicyNotFoundException.prototype);
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
class ImageNotFoundException extends ECRPUBLICServiceException {
|
|
330
|
+
name = "ImageNotFoundException";
|
|
331
|
+
$fault = "client";
|
|
332
|
+
constructor(opts) {
|
|
333
|
+
super({
|
|
334
|
+
name: "ImageNotFoundException",
|
|
335
|
+
$fault: "client",
|
|
336
|
+
...opts,
|
|
337
|
+
});
|
|
338
|
+
Object.setPrototypeOf(this, ImageNotFoundException.prototype);
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
const RegistryAliasStatus = {
|
|
342
|
+
ACTIVE: "ACTIVE",
|
|
343
|
+
PENDING: "PENDING",
|
|
344
|
+
REJECTED: "REJECTED",
|
|
253
345
|
};
|
|
346
|
+
class RepositoryCatalogDataNotFoundException extends ECRPUBLICServiceException {
|
|
347
|
+
name = "RepositoryCatalogDataNotFoundException";
|
|
348
|
+
$fault = "client";
|
|
349
|
+
constructor(opts) {
|
|
350
|
+
super({
|
|
351
|
+
name: "RepositoryCatalogDataNotFoundException",
|
|
352
|
+
$fault: "client",
|
|
353
|
+
...opts,
|
|
354
|
+
});
|
|
355
|
+
Object.setPrototypeOf(this, RepositoryCatalogDataNotFoundException.prototype);
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
class ImageAlreadyExistsException extends ECRPUBLICServiceException {
|
|
359
|
+
name = "ImageAlreadyExistsException";
|
|
360
|
+
$fault = "client";
|
|
361
|
+
constructor(opts) {
|
|
362
|
+
super({
|
|
363
|
+
name: "ImageAlreadyExistsException",
|
|
364
|
+
$fault: "client",
|
|
365
|
+
...opts,
|
|
366
|
+
});
|
|
367
|
+
Object.setPrototypeOf(this, ImageAlreadyExistsException.prototype);
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
class ImageDigestDoesNotMatchException extends ECRPUBLICServiceException {
|
|
371
|
+
name = "ImageDigestDoesNotMatchException";
|
|
372
|
+
$fault = "client";
|
|
373
|
+
constructor(opts) {
|
|
374
|
+
super({
|
|
375
|
+
name: "ImageDigestDoesNotMatchException",
|
|
376
|
+
$fault: "client",
|
|
377
|
+
...opts,
|
|
378
|
+
});
|
|
379
|
+
Object.setPrototypeOf(this, ImageDigestDoesNotMatchException.prototype);
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
class ImageTagAlreadyExistsException extends ECRPUBLICServiceException {
|
|
383
|
+
name = "ImageTagAlreadyExistsException";
|
|
384
|
+
$fault = "client";
|
|
385
|
+
constructor(opts) {
|
|
386
|
+
super({
|
|
387
|
+
name: "ImageTagAlreadyExistsException",
|
|
388
|
+
$fault: "client",
|
|
389
|
+
...opts,
|
|
390
|
+
});
|
|
391
|
+
Object.setPrototypeOf(this, ImageTagAlreadyExistsException.prototype);
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
class InvalidLayerPartException extends ECRPUBLICServiceException {
|
|
395
|
+
name = "InvalidLayerPartException";
|
|
396
|
+
$fault = "client";
|
|
397
|
+
registryId;
|
|
398
|
+
repositoryName;
|
|
399
|
+
uploadId;
|
|
400
|
+
lastValidByteReceived;
|
|
401
|
+
constructor(opts) {
|
|
402
|
+
super({
|
|
403
|
+
name: "InvalidLayerPartException",
|
|
404
|
+
$fault: "client",
|
|
405
|
+
...opts,
|
|
406
|
+
});
|
|
407
|
+
Object.setPrototypeOf(this, InvalidLayerPartException.prototype);
|
|
408
|
+
this.registryId = opts.registryId;
|
|
409
|
+
this.repositoryName = opts.repositoryName;
|
|
410
|
+
this.uploadId = opts.uploadId;
|
|
411
|
+
this.lastValidByteReceived = opts.lastValidByteReceived;
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
class LayersNotFoundException extends ECRPUBLICServiceException {
|
|
415
|
+
name = "LayersNotFoundException";
|
|
416
|
+
$fault = "client";
|
|
417
|
+
constructor(opts) {
|
|
418
|
+
super({
|
|
419
|
+
name: "LayersNotFoundException",
|
|
420
|
+
$fault: "client",
|
|
421
|
+
...opts,
|
|
422
|
+
});
|
|
423
|
+
Object.setPrototypeOf(this, LayersNotFoundException.prototype);
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
class ReferencedImagesNotFoundException extends ECRPUBLICServiceException {
|
|
427
|
+
name = "ReferencedImagesNotFoundException";
|
|
428
|
+
$fault = "client";
|
|
429
|
+
constructor(opts) {
|
|
430
|
+
super({
|
|
431
|
+
name: "ReferencedImagesNotFoundException",
|
|
432
|
+
$fault: "client",
|
|
433
|
+
...opts,
|
|
434
|
+
});
|
|
435
|
+
Object.setPrototypeOf(this, ReferencedImagesNotFoundException.prototype);
|
|
436
|
+
}
|
|
437
|
+
}
|
|
254
438
|
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
439
|
+
const se_BatchCheckLayerAvailabilityCommand = async (input, context) => {
|
|
440
|
+
const headers = sharedHeaders("BatchCheckLayerAvailability");
|
|
441
|
+
let body;
|
|
442
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
443
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
444
|
+
};
|
|
445
|
+
const se_BatchDeleteImageCommand = async (input, context) => {
|
|
446
|
+
const headers = sharedHeaders("BatchDeleteImage");
|
|
447
|
+
let body;
|
|
448
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
449
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
450
|
+
};
|
|
451
|
+
const se_CompleteLayerUploadCommand = async (input, context) => {
|
|
452
|
+
const headers = sharedHeaders("CompleteLayerUpload");
|
|
453
|
+
let body;
|
|
454
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
455
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
456
|
+
};
|
|
457
|
+
const se_CreateRepositoryCommand = async (input, context) => {
|
|
458
|
+
const headers = sharedHeaders("CreateRepository");
|
|
459
|
+
let body;
|
|
460
|
+
body = JSON.stringify(se_CreateRepositoryRequest(input, context));
|
|
461
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
462
|
+
};
|
|
463
|
+
const se_DeleteRepositoryCommand = async (input, context) => {
|
|
464
|
+
const headers = sharedHeaders("DeleteRepository");
|
|
465
|
+
let body;
|
|
466
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
467
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
468
|
+
};
|
|
469
|
+
const se_DeleteRepositoryPolicyCommand = async (input, context) => {
|
|
470
|
+
const headers = sharedHeaders("DeleteRepositoryPolicy");
|
|
471
|
+
let body;
|
|
472
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
473
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
474
|
+
};
|
|
475
|
+
const se_DescribeImagesCommand = async (input, context) => {
|
|
476
|
+
const headers = sharedHeaders("DescribeImages");
|
|
477
|
+
let body;
|
|
478
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
479
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
480
|
+
};
|
|
481
|
+
const se_DescribeImageTagsCommand = async (input, context) => {
|
|
482
|
+
const headers = sharedHeaders("DescribeImageTags");
|
|
483
|
+
let body;
|
|
484
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
485
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
486
|
+
};
|
|
487
|
+
const se_DescribeRegistriesCommand = async (input, context) => {
|
|
488
|
+
const headers = sharedHeaders("DescribeRegistries");
|
|
489
|
+
let body;
|
|
490
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
491
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
492
|
+
};
|
|
493
|
+
const se_DescribeRepositoriesCommand = async (input, context) => {
|
|
494
|
+
const headers = sharedHeaders("DescribeRepositories");
|
|
495
|
+
let body;
|
|
496
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
497
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
498
|
+
};
|
|
499
|
+
const se_GetAuthorizationTokenCommand = async (input, context) => {
|
|
500
|
+
const headers = sharedHeaders("GetAuthorizationToken");
|
|
501
|
+
let body;
|
|
502
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
503
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
504
|
+
};
|
|
505
|
+
const se_GetRegistryCatalogDataCommand = async (input, context) => {
|
|
506
|
+
const headers = sharedHeaders("GetRegistryCatalogData");
|
|
507
|
+
let body;
|
|
508
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
509
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
510
|
+
};
|
|
511
|
+
const se_GetRepositoryCatalogDataCommand = async (input, context) => {
|
|
512
|
+
const headers = sharedHeaders("GetRepositoryCatalogData");
|
|
513
|
+
let body;
|
|
514
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
515
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
516
|
+
};
|
|
517
|
+
const se_GetRepositoryPolicyCommand = async (input, context) => {
|
|
518
|
+
const headers = sharedHeaders("GetRepositoryPolicy");
|
|
519
|
+
let body;
|
|
520
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
521
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
522
|
+
};
|
|
523
|
+
const se_InitiateLayerUploadCommand = async (input, context) => {
|
|
524
|
+
const headers = sharedHeaders("InitiateLayerUpload");
|
|
525
|
+
let body;
|
|
526
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
527
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
528
|
+
};
|
|
529
|
+
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
530
|
+
const headers = sharedHeaders("ListTagsForResource");
|
|
531
|
+
let body;
|
|
532
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
533
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
534
|
+
};
|
|
535
|
+
const se_PutImageCommand = async (input, context) => {
|
|
536
|
+
const headers = sharedHeaders("PutImage");
|
|
537
|
+
let body;
|
|
538
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
539
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
540
|
+
};
|
|
541
|
+
const se_PutRegistryCatalogDataCommand = async (input, context) => {
|
|
542
|
+
const headers = sharedHeaders("PutRegistryCatalogData");
|
|
543
|
+
let body;
|
|
544
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
545
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
546
|
+
};
|
|
547
|
+
const se_PutRepositoryCatalogDataCommand = async (input, context) => {
|
|
548
|
+
const headers = sharedHeaders("PutRepositoryCatalogData");
|
|
549
|
+
let body;
|
|
550
|
+
body = JSON.stringify(se_PutRepositoryCatalogDataRequest(input, context));
|
|
551
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
552
|
+
};
|
|
553
|
+
const se_SetRepositoryPolicyCommand = async (input, context) => {
|
|
554
|
+
const headers = sharedHeaders("SetRepositoryPolicy");
|
|
555
|
+
let body;
|
|
556
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
557
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
558
|
+
};
|
|
559
|
+
const se_TagResourceCommand = async (input, context) => {
|
|
560
|
+
const headers = sharedHeaders("TagResource");
|
|
561
|
+
let body;
|
|
562
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
563
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
564
|
+
};
|
|
565
|
+
const se_UntagResourceCommand = async (input, context) => {
|
|
566
|
+
const headers = sharedHeaders("UntagResource");
|
|
567
|
+
let body;
|
|
568
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
569
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
570
|
+
};
|
|
571
|
+
const se_UploadLayerPartCommand = async (input, context) => {
|
|
572
|
+
const headers = sharedHeaders("UploadLayerPart");
|
|
573
|
+
let body;
|
|
574
|
+
body = JSON.stringify(se_UploadLayerPartRequest(input, context));
|
|
575
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
576
|
+
};
|
|
577
|
+
const de_BatchCheckLayerAvailabilityCommand = async (output, context) => {
|
|
578
|
+
if (output.statusCode >= 300) {
|
|
579
|
+
return de_CommandError(output, context);
|
|
580
|
+
}
|
|
581
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
582
|
+
let contents = {};
|
|
583
|
+
contents = smithyClient._json(data);
|
|
584
|
+
const response = {
|
|
585
|
+
$metadata: deserializeMetadata(output),
|
|
586
|
+
...contents,
|
|
587
|
+
};
|
|
588
|
+
return response;
|
|
589
|
+
};
|
|
590
|
+
const de_BatchDeleteImageCommand = async (output, context) => {
|
|
591
|
+
if (output.statusCode >= 300) {
|
|
592
|
+
return de_CommandError(output, context);
|
|
593
|
+
}
|
|
594
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
595
|
+
let contents = {};
|
|
596
|
+
contents = smithyClient._json(data);
|
|
597
|
+
const response = {
|
|
598
|
+
$metadata: deserializeMetadata(output),
|
|
599
|
+
...contents,
|
|
600
|
+
};
|
|
601
|
+
return response;
|
|
602
|
+
};
|
|
603
|
+
const de_CompleteLayerUploadCommand = async (output, context) => {
|
|
604
|
+
if (output.statusCode >= 300) {
|
|
605
|
+
return de_CommandError(output, context);
|
|
606
|
+
}
|
|
607
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
608
|
+
let contents = {};
|
|
609
|
+
contents = smithyClient._json(data);
|
|
610
|
+
const response = {
|
|
611
|
+
$metadata: deserializeMetadata(output),
|
|
612
|
+
...contents,
|
|
613
|
+
};
|
|
614
|
+
return response;
|
|
615
|
+
};
|
|
616
|
+
const de_CreateRepositoryCommand = async (output, context) => {
|
|
617
|
+
if (output.statusCode >= 300) {
|
|
618
|
+
return de_CommandError(output, context);
|
|
619
|
+
}
|
|
620
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
621
|
+
let contents = {};
|
|
622
|
+
contents = de_CreateRepositoryResponse(data);
|
|
623
|
+
const response = {
|
|
624
|
+
$metadata: deserializeMetadata(output),
|
|
625
|
+
...contents,
|
|
626
|
+
};
|
|
627
|
+
return response;
|
|
628
|
+
};
|
|
629
|
+
const de_DeleteRepositoryCommand = async (output, context) => {
|
|
630
|
+
if (output.statusCode >= 300) {
|
|
631
|
+
return de_CommandError(output, context);
|
|
632
|
+
}
|
|
633
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
634
|
+
let contents = {};
|
|
635
|
+
contents = de_DeleteRepositoryResponse(data);
|
|
636
|
+
const response = {
|
|
637
|
+
$metadata: deserializeMetadata(output),
|
|
638
|
+
...contents,
|
|
639
|
+
};
|
|
640
|
+
return response;
|
|
641
|
+
};
|
|
642
|
+
const de_DeleteRepositoryPolicyCommand = async (output, context) => {
|
|
643
|
+
if (output.statusCode >= 300) {
|
|
644
|
+
return de_CommandError(output, context);
|
|
645
|
+
}
|
|
646
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
647
|
+
let contents = {};
|
|
648
|
+
contents = smithyClient._json(data);
|
|
649
|
+
const response = {
|
|
650
|
+
$metadata: deserializeMetadata(output),
|
|
651
|
+
...contents,
|
|
652
|
+
};
|
|
653
|
+
return response;
|
|
654
|
+
};
|
|
655
|
+
const de_DescribeImagesCommand = async (output, context) => {
|
|
656
|
+
if (output.statusCode >= 300) {
|
|
657
|
+
return de_CommandError(output, context);
|
|
658
|
+
}
|
|
659
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
660
|
+
let contents = {};
|
|
661
|
+
contents = de_DescribeImagesResponse(data);
|
|
662
|
+
const response = {
|
|
663
|
+
$metadata: deserializeMetadata(output),
|
|
664
|
+
...contents,
|
|
665
|
+
};
|
|
666
|
+
return response;
|
|
667
|
+
};
|
|
668
|
+
const de_DescribeImageTagsCommand = async (output, context) => {
|
|
669
|
+
if (output.statusCode >= 300) {
|
|
670
|
+
return de_CommandError(output, context);
|
|
671
|
+
}
|
|
672
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
673
|
+
let contents = {};
|
|
674
|
+
contents = de_DescribeImageTagsResponse(data);
|
|
675
|
+
const response = {
|
|
676
|
+
$metadata: deserializeMetadata(output),
|
|
677
|
+
...contents,
|
|
678
|
+
};
|
|
679
|
+
return response;
|
|
680
|
+
};
|
|
681
|
+
const de_DescribeRegistriesCommand = async (output, context) => {
|
|
682
|
+
if (output.statusCode >= 300) {
|
|
683
|
+
return de_CommandError(output, context);
|
|
684
|
+
}
|
|
685
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
686
|
+
let contents = {};
|
|
687
|
+
contents = smithyClient._json(data);
|
|
688
|
+
const response = {
|
|
689
|
+
$metadata: deserializeMetadata(output),
|
|
690
|
+
...contents,
|
|
691
|
+
};
|
|
692
|
+
return response;
|
|
693
|
+
};
|
|
694
|
+
const de_DescribeRepositoriesCommand = async (output, context) => {
|
|
695
|
+
if (output.statusCode >= 300) {
|
|
696
|
+
return de_CommandError(output, context);
|
|
697
|
+
}
|
|
698
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
699
|
+
let contents = {};
|
|
700
|
+
contents = de_DescribeRepositoriesResponse(data);
|
|
701
|
+
const response = {
|
|
702
|
+
$metadata: deserializeMetadata(output),
|
|
703
|
+
...contents,
|
|
704
|
+
};
|
|
705
|
+
return response;
|
|
706
|
+
};
|
|
707
|
+
const de_GetAuthorizationTokenCommand = async (output, context) => {
|
|
708
|
+
if (output.statusCode >= 300) {
|
|
709
|
+
return de_CommandError(output, context);
|
|
710
|
+
}
|
|
711
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
712
|
+
let contents = {};
|
|
713
|
+
contents = de_GetAuthorizationTokenResponse(data);
|
|
714
|
+
const response = {
|
|
715
|
+
$metadata: deserializeMetadata(output),
|
|
716
|
+
...contents,
|
|
717
|
+
};
|
|
718
|
+
return response;
|
|
719
|
+
};
|
|
720
|
+
const de_GetRegistryCatalogDataCommand = async (output, context) => {
|
|
721
|
+
if (output.statusCode >= 300) {
|
|
722
|
+
return de_CommandError(output, context);
|
|
723
|
+
}
|
|
724
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
725
|
+
let contents = {};
|
|
726
|
+
contents = smithyClient._json(data);
|
|
727
|
+
const response = {
|
|
728
|
+
$metadata: deserializeMetadata(output),
|
|
729
|
+
...contents,
|
|
730
|
+
};
|
|
731
|
+
return response;
|
|
732
|
+
};
|
|
733
|
+
const de_GetRepositoryCatalogDataCommand = async (output, context) => {
|
|
734
|
+
if (output.statusCode >= 300) {
|
|
735
|
+
return de_CommandError(output, context);
|
|
736
|
+
}
|
|
737
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
738
|
+
let contents = {};
|
|
739
|
+
contents = smithyClient._json(data);
|
|
740
|
+
const response = {
|
|
741
|
+
$metadata: deserializeMetadata(output),
|
|
742
|
+
...contents,
|
|
743
|
+
};
|
|
744
|
+
return response;
|
|
745
|
+
};
|
|
746
|
+
const de_GetRepositoryPolicyCommand = async (output, context) => {
|
|
747
|
+
if (output.statusCode >= 300) {
|
|
748
|
+
return de_CommandError(output, context);
|
|
749
|
+
}
|
|
750
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
751
|
+
let contents = {};
|
|
752
|
+
contents = smithyClient._json(data);
|
|
753
|
+
const response = {
|
|
754
|
+
$metadata: deserializeMetadata(output),
|
|
755
|
+
...contents,
|
|
756
|
+
};
|
|
757
|
+
return response;
|
|
758
|
+
};
|
|
759
|
+
const de_InitiateLayerUploadCommand = async (output, context) => {
|
|
760
|
+
if (output.statusCode >= 300) {
|
|
761
|
+
return de_CommandError(output, context);
|
|
762
|
+
}
|
|
763
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
764
|
+
let contents = {};
|
|
765
|
+
contents = smithyClient._json(data);
|
|
766
|
+
const response = {
|
|
767
|
+
$metadata: deserializeMetadata(output),
|
|
768
|
+
...contents,
|
|
769
|
+
};
|
|
770
|
+
return response;
|
|
771
|
+
};
|
|
772
|
+
const de_ListTagsForResourceCommand = async (output, context) => {
|
|
773
|
+
if (output.statusCode >= 300) {
|
|
774
|
+
return de_CommandError(output, context);
|
|
775
|
+
}
|
|
776
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
777
|
+
let contents = {};
|
|
778
|
+
contents = smithyClient._json(data);
|
|
779
|
+
const response = {
|
|
780
|
+
$metadata: deserializeMetadata(output),
|
|
781
|
+
...contents,
|
|
782
|
+
};
|
|
783
|
+
return response;
|
|
784
|
+
};
|
|
785
|
+
const de_PutImageCommand = async (output, context) => {
|
|
786
|
+
if (output.statusCode >= 300) {
|
|
787
|
+
return de_CommandError(output, context);
|
|
788
|
+
}
|
|
789
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
790
|
+
let contents = {};
|
|
791
|
+
contents = smithyClient._json(data);
|
|
792
|
+
const response = {
|
|
793
|
+
$metadata: deserializeMetadata(output),
|
|
794
|
+
...contents,
|
|
795
|
+
};
|
|
796
|
+
return response;
|
|
797
|
+
};
|
|
798
|
+
const de_PutRegistryCatalogDataCommand = async (output, context) => {
|
|
799
|
+
if (output.statusCode >= 300) {
|
|
800
|
+
return de_CommandError(output, context);
|
|
801
|
+
}
|
|
802
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
803
|
+
let contents = {};
|
|
804
|
+
contents = smithyClient._json(data);
|
|
805
|
+
const response = {
|
|
806
|
+
$metadata: deserializeMetadata(output),
|
|
807
|
+
...contents,
|
|
808
|
+
};
|
|
809
|
+
return response;
|
|
810
|
+
};
|
|
811
|
+
const de_PutRepositoryCatalogDataCommand = async (output, context) => {
|
|
812
|
+
if (output.statusCode >= 300) {
|
|
813
|
+
return de_CommandError(output, context);
|
|
814
|
+
}
|
|
815
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
816
|
+
let contents = {};
|
|
817
|
+
contents = smithyClient._json(data);
|
|
818
|
+
const response = {
|
|
819
|
+
$metadata: deserializeMetadata(output),
|
|
820
|
+
...contents,
|
|
821
|
+
};
|
|
822
|
+
return response;
|
|
823
|
+
};
|
|
824
|
+
const de_SetRepositoryPolicyCommand = async (output, context) => {
|
|
825
|
+
if (output.statusCode >= 300) {
|
|
826
|
+
return de_CommandError(output, context);
|
|
827
|
+
}
|
|
828
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
829
|
+
let contents = {};
|
|
830
|
+
contents = smithyClient._json(data);
|
|
831
|
+
const response = {
|
|
832
|
+
$metadata: deserializeMetadata(output),
|
|
833
|
+
...contents,
|
|
834
|
+
};
|
|
835
|
+
return response;
|
|
836
|
+
};
|
|
837
|
+
const de_TagResourceCommand = async (output, context) => {
|
|
838
|
+
if (output.statusCode >= 300) {
|
|
839
|
+
return de_CommandError(output, context);
|
|
840
|
+
}
|
|
841
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
842
|
+
let contents = {};
|
|
843
|
+
contents = smithyClient._json(data);
|
|
844
|
+
const response = {
|
|
845
|
+
$metadata: deserializeMetadata(output),
|
|
846
|
+
...contents,
|
|
847
|
+
};
|
|
848
|
+
return response;
|
|
849
|
+
};
|
|
850
|
+
const de_UntagResourceCommand = async (output, context) => {
|
|
851
|
+
if (output.statusCode >= 300) {
|
|
852
|
+
return de_CommandError(output, context);
|
|
853
|
+
}
|
|
854
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
855
|
+
let contents = {};
|
|
856
|
+
contents = smithyClient._json(data);
|
|
857
|
+
const response = {
|
|
858
|
+
$metadata: deserializeMetadata(output),
|
|
859
|
+
...contents,
|
|
860
|
+
};
|
|
861
|
+
return response;
|
|
862
|
+
};
|
|
863
|
+
const de_UploadLayerPartCommand = async (output, context) => {
|
|
864
|
+
if (output.statusCode >= 300) {
|
|
865
|
+
return de_CommandError(output, context);
|
|
866
|
+
}
|
|
867
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
868
|
+
let contents = {};
|
|
869
|
+
contents = smithyClient._json(data);
|
|
870
|
+
const response = {
|
|
871
|
+
$metadata: deserializeMetadata(output),
|
|
872
|
+
...contents,
|
|
873
|
+
};
|
|
874
|
+
return response;
|
|
875
|
+
};
|
|
876
|
+
const de_CommandError = async (output, context) => {
|
|
877
|
+
const parsedOutput = {
|
|
878
|
+
...output,
|
|
879
|
+
body: await core$1.parseJsonErrorBody(output.body, context),
|
|
880
|
+
};
|
|
881
|
+
const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
882
|
+
switch (errorCode) {
|
|
883
|
+
case "InvalidParameterException":
|
|
884
|
+
case "com.amazonaws.ecrpublic#InvalidParameterException":
|
|
885
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput);
|
|
886
|
+
case "RegistryNotFoundException":
|
|
887
|
+
case "com.amazonaws.ecrpublic#RegistryNotFoundException":
|
|
888
|
+
throw await de_RegistryNotFoundExceptionRes(parsedOutput);
|
|
889
|
+
case "RepositoryNotFoundException":
|
|
890
|
+
case "com.amazonaws.ecrpublic#RepositoryNotFoundException":
|
|
891
|
+
throw await de_RepositoryNotFoundExceptionRes(parsedOutput);
|
|
892
|
+
case "ServerException":
|
|
893
|
+
case "com.amazonaws.ecrpublic#ServerException":
|
|
894
|
+
throw await de_ServerExceptionRes(parsedOutput);
|
|
895
|
+
case "UnsupportedCommandException":
|
|
896
|
+
case "com.amazonaws.ecrpublic#UnsupportedCommandException":
|
|
897
|
+
throw await de_UnsupportedCommandExceptionRes(parsedOutput);
|
|
898
|
+
case "EmptyUploadException":
|
|
899
|
+
case "com.amazonaws.ecrpublic#EmptyUploadException":
|
|
900
|
+
throw await de_EmptyUploadExceptionRes(parsedOutput);
|
|
901
|
+
case "InvalidLayerException":
|
|
902
|
+
case "com.amazonaws.ecrpublic#InvalidLayerException":
|
|
903
|
+
throw await de_InvalidLayerExceptionRes(parsedOutput);
|
|
904
|
+
case "LayerAlreadyExistsException":
|
|
905
|
+
case "com.amazonaws.ecrpublic#LayerAlreadyExistsException":
|
|
906
|
+
throw await de_LayerAlreadyExistsExceptionRes(parsedOutput);
|
|
907
|
+
case "LayerPartTooSmallException":
|
|
908
|
+
case "com.amazonaws.ecrpublic#LayerPartTooSmallException":
|
|
909
|
+
throw await de_LayerPartTooSmallExceptionRes(parsedOutput);
|
|
910
|
+
case "UploadNotFoundException":
|
|
911
|
+
case "com.amazonaws.ecrpublic#UploadNotFoundException":
|
|
912
|
+
throw await de_UploadNotFoundExceptionRes(parsedOutput);
|
|
913
|
+
case "InvalidTagParameterException":
|
|
914
|
+
case "com.amazonaws.ecrpublic#InvalidTagParameterException":
|
|
915
|
+
throw await de_InvalidTagParameterExceptionRes(parsedOutput);
|
|
916
|
+
case "LimitExceededException":
|
|
917
|
+
case "com.amazonaws.ecrpublic#LimitExceededException":
|
|
918
|
+
throw await de_LimitExceededExceptionRes(parsedOutput);
|
|
919
|
+
case "RepositoryAlreadyExistsException":
|
|
920
|
+
case "com.amazonaws.ecrpublic#RepositoryAlreadyExistsException":
|
|
921
|
+
throw await de_RepositoryAlreadyExistsExceptionRes(parsedOutput);
|
|
922
|
+
case "TooManyTagsException":
|
|
923
|
+
case "com.amazonaws.ecrpublic#TooManyTagsException":
|
|
924
|
+
throw await de_TooManyTagsExceptionRes(parsedOutput);
|
|
925
|
+
case "RepositoryNotEmptyException":
|
|
926
|
+
case "com.amazonaws.ecrpublic#RepositoryNotEmptyException":
|
|
927
|
+
throw await de_RepositoryNotEmptyExceptionRes(parsedOutput);
|
|
928
|
+
case "RepositoryPolicyNotFoundException":
|
|
929
|
+
case "com.amazonaws.ecrpublic#RepositoryPolicyNotFoundException":
|
|
930
|
+
throw await de_RepositoryPolicyNotFoundExceptionRes(parsedOutput);
|
|
931
|
+
case "ImageNotFoundException":
|
|
932
|
+
case "com.amazonaws.ecrpublic#ImageNotFoundException":
|
|
933
|
+
throw await de_ImageNotFoundExceptionRes(parsedOutput);
|
|
934
|
+
case "RepositoryCatalogDataNotFoundException":
|
|
935
|
+
case "com.amazonaws.ecrpublic#RepositoryCatalogDataNotFoundException":
|
|
936
|
+
throw await de_RepositoryCatalogDataNotFoundExceptionRes(parsedOutput);
|
|
937
|
+
case "ImageAlreadyExistsException":
|
|
938
|
+
case "com.amazonaws.ecrpublic#ImageAlreadyExistsException":
|
|
939
|
+
throw await de_ImageAlreadyExistsExceptionRes(parsedOutput);
|
|
940
|
+
case "ImageDigestDoesNotMatchException":
|
|
941
|
+
case "com.amazonaws.ecrpublic#ImageDigestDoesNotMatchException":
|
|
942
|
+
throw await de_ImageDigestDoesNotMatchExceptionRes(parsedOutput);
|
|
943
|
+
case "ImageTagAlreadyExistsException":
|
|
944
|
+
case "com.amazonaws.ecrpublic#ImageTagAlreadyExistsException":
|
|
945
|
+
throw await de_ImageTagAlreadyExistsExceptionRes(parsedOutput);
|
|
946
|
+
case "LayersNotFoundException":
|
|
947
|
+
case "com.amazonaws.ecrpublic#LayersNotFoundException":
|
|
948
|
+
throw await de_LayersNotFoundExceptionRes(parsedOutput);
|
|
949
|
+
case "ReferencedImagesNotFoundException":
|
|
950
|
+
case "com.amazonaws.ecrpublic#ReferencedImagesNotFoundException":
|
|
951
|
+
throw await de_ReferencedImagesNotFoundExceptionRes(parsedOutput);
|
|
952
|
+
case "InvalidLayerPartException":
|
|
953
|
+
case "com.amazonaws.ecrpublic#InvalidLayerPartException":
|
|
954
|
+
throw await de_InvalidLayerPartExceptionRes(parsedOutput);
|
|
955
|
+
default:
|
|
956
|
+
const parsedBody = parsedOutput.body;
|
|
957
|
+
return throwDefaultError({
|
|
958
|
+
output,
|
|
959
|
+
parsedBody,
|
|
960
|
+
errorCode,
|
|
961
|
+
});
|
|
962
|
+
}
|
|
963
|
+
};
|
|
964
|
+
const de_EmptyUploadExceptionRes = async (parsedOutput, context) => {
|
|
965
|
+
const body = parsedOutput.body;
|
|
966
|
+
const deserialized = smithyClient._json(body);
|
|
967
|
+
const exception = new EmptyUploadException({
|
|
968
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
969
|
+
...deserialized,
|
|
970
|
+
});
|
|
971
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
972
|
+
};
|
|
973
|
+
const de_ImageAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
974
|
+
const body = parsedOutput.body;
|
|
975
|
+
const deserialized = smithyClient._json(body);
|
|
976
|
+
const exception = new ImageAlreadyExistsException({
|
|
977
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
978
|
+
...deserialized,
|
|
979
|
+
});
|
|
980
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
981
|
+
};
|
|
982
|
+
const de_ImageDigestDoesNotMatchExceptionRes = async (parsedOutput, context) => {
|
|
983
|
+
const body = parsedOutput.body;
|
|
984
|
+
const deserialized = smithyClient._json(body);
|
|
985
|
+
const exception = new ImageDigestDoesNotMatchException({
|
|
986
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
987
|
+
...deserialized,
|
|
278
988
|
});
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
$fault = "client";
|
|
288
|
-
/**
|
|
289
|
-
* @internal
|
|
290
|
-
*/
|
|
291
|
-
constructor(opts) {
|
|
292
|
-
super({
|
|
293
|
-
name: "RegistryNotFoundException",
|
|
294
|
-
$fault: "client",
|
|
295
|
-
...opts
|
|
989
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
990
|
+
};
|
|
991
|
+
const de_ImageNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
992
|
+
const body = parsedOutput.body;
|
|
993
|
+
const deserialized = smithyClient._json(body);
|
|
994
|
+
const exception = new ImageNotFoundException({
|
|
995
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
996
|
+
...deserialized,
|
|
296
997
|
});
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
$fault = "client";
|
|
306
|
-
/**
|
|
307
|
-
* @internal
|
|
308
|
-
*/
|
|
309
|
-
constructor(opts) {
|
|
310
|
-
super({
|
|
311
|
-
name: "RepositoryNotFoundException",
|
|
312
|
-
$fault: "client",
|
|
313
|
-
...opts
|
|
998
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
999
|
+
};
|
|
1000
|
+
const de_ImageTagAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
1001
|
+
const body = parsedOutput.body;
|
|
1002
|
+
const deserialized = smithyClient._json(body);
|
|
1003
|
+
const exception = new ImageTagAlreadyExistsException({
|
|
1004
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1005
|
+
...deserialized,
|
|
314
1006
|
});
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
$fault = "server";
|
|
324
|
-
/**
|
|
325
|
-
* @internal
|
|
326
|
-
*/
|
|
327
|
-
constructor(opts) {
|
|
328
|
-
super({
|
|
329
|
-
name: "ServerException",
|
|
330
|
-
$fault: "server",
|
|
331
|
-
...opts
|
|
1007
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1008
|
+
};
|
|
1009
|
+
const de_InvalidLayerExceptionRes = async (parsedOutput, context) => {
|
|
1010
|
+
const body = parsedOutput.body;
|
|
1011
|
+
const deserialized = smithyClient._json(body);
|
|
1012
|
+
const exception = new InvalidLayerException({
|
|
1013
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1014
|
+
...deserialized,
|
|
332
1015
|
});
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
$fault = "client";
|
|
342
|
-
/**
|
|
343
|
-
* @internal
|
|
344
|
-
*/
|
|
345
|
-
constructor(opts) {
|
|
346
|
-
super({
|
|
347
|
-
name: "UnsupportedCommandException",
|
|
348
|
-
$fault: "client",
|
|
349
|
-
...opts
|
|
1016
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1017
|
+
};
|
|
1018
|
+
const de_InvalidLayerPartExceptionRes = async (parsedOutput, context) => {
|
|
1019
|
+
const body = parsedOutput.body;
|
|
1020
|
+
const deserialized = smithyClient._json(body);
|
|
1021
|
+
const exception = new InvalidLayerPartException({
|
|
1022
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1023
|
+
...deserialized,
|
|
350
1024
|
});
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
InvalidImageTag: "InvalidImageTag",
|
|
360
|
-
KmsError: "KmsError",
|
|
361
|
-
MissingDigestAndTag: "MissingDigestAndTag"
|
|
362
|
-
};
|
|
363
|
-
var EmptyUploadException = class _EmptyUploadException extends ECRPUBLICServiceException {
|
|
364
|
-
static {
|
|
365
|
-
__name(this, "EmptyUploadException");
|
|
366
|
-
}
|
|
367
|
-
name = "EmptyUploadException";
|
|
368
|
-
$fault = "client";
|
|
369
|
-
/**
|
|
370
|
-
* @internal
|
|
371
|
-
*/
|
|
372
|
-
constructor(opts) {
|
|
373
|
-
super({
|
|
374
|
-
name: "EmptyUploadException",
|
|
375
|
-
$fault: "client",
|
|
376
|
-
...opts
|
|
1025
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1026
|
+
};
|
|
1027
|
+
const de_InvalidParameterExceptionRes = async (parsedOutput, context) => {
|
|
1028
|
+
const body = parsedOutput.body;
|
|
1029
|
+
const deserialized = smithyClient._json(body);
|
|
1030
|
+
const exception = new InvalidParameterException({
|
|
1031
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1032
|
+
...deserialized,
|
|
377
1033
|
});
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
$fault = "client";
|
|
387
|
-
/**
|
|
388
|
-
* @internal
|
|
389
|
-
*/
|
|
390
|
-
constructor(opts) {
|
|
391
|
-
super({
|
|
392
|
-
name: "InvalidLayerException",
|
|
393
|
-
$fault: "client",
|
|
394
|
-
...opts
|
|
1034
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1035
|
+
};
|
|
1036
|
+
const de_InvalidTagParameterExceptionRes = async (parsedOutput, context) => {
|
|
1037
|
+
const body = parsedOutput.body;
|
|
1038
|
+
const deserialized = smithyClient._json(body);
|
|
1039
|
+
const exception = new InvalidTagParameterException({
|
|
1040
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1041
|
+
...deserialized,
|
|
395
1042
|
});
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
$fault = "client";
|
|
405
|
-
/**
|
|
406
|
-
* @internal
|
|
407
|
-
*/
|
|
408
|
-
constructor(opts) {
|
|
409
|
-
super({
|
|
410
|
-
name: "LayerAlreadyExistsException",
|
|
411
|
-
$fault: "client",
|
|
412
|
-
...opts
|
|
1043
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1044
|
+
};
|
|
1045
|
+
const de_LayerAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
1046
|
+
const body = parsedOutput.body;
|
|
1047
|
+
const deserialized = smithyClient._json(body);
|
|
1048
|
+
const exception = new LayerAlreadyExistsException({
|
|
1049
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1050
|
+
...deserialized,
|
|
413
1051
|
});
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
$fault = "client";
|
|
423
|
-
/**
|
|
424
|
-
* @internal
|
|
425
|
-
*/
|
|
426
|
-
constructor(opts) {
|
|
427
|
-
super({
|
|
428
|
-
name: "LayerPartTooSmallException",
|
|
429
|
-
$fault: "client",
|
|
430
|
-
...opts
|
|
1052
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1053
|
+
};
|
|
1054
|
+
const de_LayerPartTooSmallExceptionRes = async (parsedOutput, context) => {
|
|
1055
|
+
const body = parsedOutput.body;
|
|
1056
|
+
const deserialized = smithyClient._json(body);
|
|
1057
|
+
const exception = new LayerPartTooSmallException({
|
|
1058
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1059
|
+
...deserialized,
|
|
431
1060
|
});
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
$fault = "client";
|
|
441
|
-
/**
|
|
442
|
-
* @internal
|
|
443
|
-
*/
|
|
444
|
-
constructor(opts) {
|
|
445
|
-
super({
|
|
446
|
-
name: "UploadNotFoundException",
|
|
447
|
-
$fault: "client",
|
|
448
|
-
...opts
|
|
1061
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1062
|
+
};
|
|
1063
|
+
const de_LayersNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1064
|
+
const body = parsedOutput.body;
|
|
1065
|
+
const deserialized = smithyClient._json(body);
|
|
1066
|
+
const exception = new LayersNotFoundException({
|
|
1067
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1068
|
+
...deserialized,
|
|
449
1069
|
});
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
$fault = "client";
|
|
459
|
-
/**
|
|
460
|
-
* @internal
|
|
461
|
-
*/
|
|
462
|
-
constructor(opts) {
|
|
463
|
-
super({
|
|
464
|
-
name: "InvalidTagParameterException",
|
|
465
|
-
$fault: "client",
|
|
466
|
-
...opts
|
|
1070
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1071
|
+
};
|
|
1072
|
+
const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
1073
|
+
const body = parsedOutput.body;
|
|
1074
|
+
const deserialized = smithyClient._json(body);
|
|
1075
|
+
const exception = new LimitExceededException({
|
|
1076
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1077
|
+
...deserialized,
|
|
467
1078
|
});
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
$fault = "client";
|
|
477
|
-
/**
|
|
478
|
-
* @internal
|
|
479
|
-
*/
|
|
480
|
-
constructor(opts) {
|
|
481
|
-
super({
|
|
482
|
-
name: "LimitExceededException",
|
|
483
|
-
$fault: "client",
|
|
484
|
-
...opts
|
|
1079
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1080
|
+
};
|
|
1081
|
+
const de_ReferencedImagesNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1082
|
+
const body = parsedOutput.body;
|
|
1083
|
+
const deserialized = smithyClient._json(body);
|
|
1084
|
+
const exception = new ReferencedImagesNotFoundException({
|
|
1085
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1086
|
+
...deserialized,
|
|
485
1087
|
});
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
$fault = "client";
|
|
495
|
-
/**
|
|
496
|
-
* @internal
|
|
497
|
-
*/
|
|
498
|
-
constructor(opts) {
|
|
499
|
-
super({
|
|
500
|
-
name: "RepositoryAlreadyExistsException",
|
|
501
|
-
$fault: "client",
|
|
502
|
-
...opts
|
|
1088
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1089
|
+
};
|
|
1090
|
+
const de_RegistryNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1091
|
+
const body = parsedOutput.body;
|
|
1092
|
+
const deserialized = smithyClient._json(body);
|
|
1093
|
+
const exception = new RegistryNotFoundException({
|
|
1094
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1095
|
+
...deserialized,
|
|
503
1096
|
});
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
$fault = "client";
|
|
513
|
-
/**
|
|
514
|
-
* @internal
|
|
515
|
-
*/
|
|
516
|
-
constructor(opts) {
|
|
517
|
-
super({
|
|
518
|
-
name: "TooManyTagsException",
|
|
519
|
-
$fault: "client",
|
|
520
|
-
...opts
|
|
1097
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1098
|
+
};
|
|
1099
|
+
const de_RepositoryAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
1100
|
+
const body = parsedOutput.body;
|
|
1101
|
+
const deserialized = smithyClient._json(body);
|
|
1102
|
+
const exception = new RepositoryAlreadyExistsException({
|
|
1103
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1104
|
+
...deserialized,
|
|
521
1105
|
});
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
$fault = "client";
|
|
531
|
-
/**
|
|
532
|
-
* @internal
|
|
533
|
-
*/
|
|
534
|
-
constructor(opts) {
|
|
535
|
-
super({
|
|
536
|
-
name: "RepositoryNotEmptyException",
|
|
537
|
-
$fault: "client",
|
|
538
|
-
...opts
|
|
1106
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1107
|
+
};
|
|
1108
|
+
const de_RepositoryCatalogDataNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1109
|
+
const body = parsedOutput.body;
|
|
1110
|
+
const deserialized = smithyClient._json(body);
|
|
1111
|
+
const exception = new RepositoryCatalogDataNotFoundException({
|
|
1112
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1113
|
+
...deserialized,
|
|
539
1114
|
});
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
$fault = "client";
|
|
549
|
-
/**
|
|
550
|
-
* @internal
|
|
551
|
-
*/
|
|
552
|
-
constructor(opts) {
|
|
553
|
-
super({
|
|
554
|
-
name: "RepositoryPolicyNotFoundException",
|
|
555
|
-
$fault: "client",
|
|
556
|
-
...opts
|
|
1115
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1116
|
+
};
|
|
1117
|
+
const de_RepositoryNotEmptyExceptionRes = async (parsedOutput, context) => {
|
|
1118
|
+
const body = parsedOutput.body;
|
|
1119
|
+
const deserialized = smithyClient._json(body);
|
|
1120
|
+
const exception = new RepositoryNotEmptyException({
|
|
1121
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1122
|
+
...deserialized,
|
|
557
1123
|
});
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
$fault = "client";
|
|
567
|
-
/**
|
|
568
|
-
* @internal
|
|
569
|
-
*/
|
|
570
|
-
constructor(opts) {
|
|
571
|
-
super({
|
|
572
|
-
name: "ImageNotFoundException",
|
|
573
|
-
$fault: "client",
|
|
574
|
-
...opts
|
|
1124
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1125
|
+
};
|
|
1126
|
+
const de_RepositoryNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1127
|
+
const body = parsedOutput.body;
|
|
1128
|
+
const deserialized = smithyClient._json(body);
|
|
1129
|
+
const exception = new RepositoryNotFoundException({
|
|
1130
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1131
|
+
...deserialized,
|
|
575
1132
|
});
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
var RepositoryCatalogDataNotFoundException = class _RepositoryCatalogDataNotFoundException extends ECRPUBLICServiceException {
|
|
585
|
-
static {
|
|
586
|
-
__name(this, "RepositoryCatalogDataNotFoundException");
|
|
587
|
-
}
|
|
588
|
-
name = "RepositoryCatalogDataNotFoundException";
|
|
589
|
-
$fault = "client";
|
|
590
|
-
/**
|
|
591
|
-
* @internal
|
|
592
|
-
*/
|
|
593
|
-
constructor(opts) {
|
|
594
|
-
super({
|
|
595
|
-
name: "RepositoryCatalogDataNotFoundException",
|
|
596
|
-
$fault: "client",
|
|
597
|
-
...opts
|
|
1133
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1134
|
+
};
|
|
1135
|
+
const de_RepositoryPolicyNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1136
|
+
const body = parsedOutput.body;
|
|
1137
|
+
const deserialized = smithyClient._json(body);
|
|
1138
|
+
const exception = new RepositoryPolicyNotFoundException({
|
|
1139
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1140
|
+
...deserialized,
|
|
598
1141
|
});
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
$fault = "client";
|
|
608
|
-
/**
|
|
609
|
-
* @internal
|
|
610
|
-
*/
|
|
611
|
-
constructor(opts) {
|
|
612
|
-
super({
|
|
613
|
-
name: "ImageAlreadyExistsException",
|
|
614
|
-
$fault: "client",
|
|
615
|
-
...opts
|
|
1142
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1143
|
+
};
|
|
1144
|
+
const de_ServerExceptionRes = async (parsedOutput, context) => {
|
|
1145
|
+
const body = parsedOutput.body;
|
|
1146
|
+
const deserialized = smithyClient._json(body);
|
|
1147
|
+
const exception = new ServerException({
|
|
1148
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1149
|
+
...deserialized,
|
|
616
1150
|
});
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
$fault = "client";
|
|
626
|
-
/**
|
|
627
|
-
* @internal
|
|
628
|
-
*/
|
|
629
|
-
constructor(opts) {
|
|
630
|
-
super({
|
|
631
|
-
name: "ImageDigestDoesNotMatchException",
|
|
632
|
-
$fault: "client",
|
|
633
|
-
...opts
|
|
1151
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1152
|
+
};
|
|
1153
|
+
const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
|
|
1154
|
+
const body = parsedOutput.body;
|
|
1155
|
+
const deserialized = smithyClient._json(body);
|
|
1156
|
+
const exception = new TooManyTagsException({
|
|
1157
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1158
|
+
...deserialized,
|
|
634
1159
|
});
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
$fault = "client";
|
|
644
|
-
/**
|
|
645
|
-
* @internal
|
|
646
|
-
*/
|
|
647
|
-
constructor(opts) {
|
|
648
|
-
super({
|
|
649
|
-
name: "ImageTagAlreadyExistsException",
|
|
650
|
-
$fault: "client",
|
|
651
|
-
...opts
|
|
1160
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1161
|
+
};
|
|
1162
|
+
const de_UnsupportedCommandExceptionRes = async (parsedOutput, context) => {
|
|
1163
|
+
const body = parsedOutput.body;
|
|
1164
|
+
const deserialized = smithyClient._json(body);
|
|
1165
|
+
const exception = new UnsupportedCommandException({
|
|
1166
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1167
|
+
...deserialized,
|
|
652
1168
|
});
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
$fault = "client";
|
|
662
|
-
/**
|
|
663
|
-
* <p>The Amazon Web Services account ID that's associated with the layer part.</p>
|
|
664
|
-
* @public
|
|
665
|
-
*/
|
|
666
|
-
registryId;
|
|
667
|
-
/**
|
|
668
|
-
* <p>The name of the repository.</p>
|
|
669
|
-
* @public
|
|
670
|
-
*/
|
|
671
|
-
repositoryName;
|
|
672
|
-
/**
|
|
673
|
-
* <p>The upload ID that's associated with the layer part.</p>
|
|
674
|
-
* @public
|
|
675
|
-
*/
|
|
676
|
-
uploadId;
|
|
677
|
-
/**
|
|
678
|
-
* <p>The position of the last byte of the layer part.</p>
|
|
679
|
-
* @public
|
|
680
|
-
*/
|
|
681
|
-
lastValidByteReceived;
|
|
682
|
-
/**
|
|
683
|
-
* @internal
|
|
684
|
-
*/
|
|
685
|
-
constructor(opts) {
|
|
686
|
-
super({
|
|
687
|
-
name: "InvalidLayerPartException",
|
|
688
|
-
$fault: "client",
|
|
689
|
-
...opts
|
|
1169
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1170
|
+
};
|
|
1171
|
+
const de_UploadNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1172
|
+
const body = parsedOutput.body;
|
|
1173
|
+
const deserialized = smithyClient._json(body);
|
|
1174
|
+
const exception = new UploadNotFoundException({
|
|
1175
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1176
|
+
...deserialized,
|
|
690
1177
|
});
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
var LayersNotFoundException = class _LayersNotFoundException extends ECRPUBLICServiceException {
|
|
699
|
-
static {
|
|
700
|
-
__name(this, "LayersNotFoundException");
|
|
701
|
-
}
|
|
702
|
-
name = "LayersNotFoundException";
|
|
703
|
-
$fault = "client";
|
|
704
|
-
/**
|
|
705
|
-
* @internal
|
|
706
|
-
*/
|
|
707
|
-
constructor(opts) {
|
|
708
|
-
super({
|
|
709
|
-
name: "LayersNotFoundException",
|
|
710
|
-
$fault: "client",
|
|
711
|
-
...opts
|
|
1178
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1179
|
+
};
|
|
1180
|
+
const se_CreateRepositoryRequest = (input, context) => {
|
|
1181
|
+
return smithyClient.take(input, {
|
|
1182
|
+
catalogData: (_) => se_RepositoryCatalogDataInput(_, context),
|
|
1183
|
+
repositoryName: [],
|
|
1184
|
+
tags: smithyClient._json,
|
|
712
1185
|
});
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
}
|
|
720
|
-
name = "ReferencedImagesNotFoundException";
|
|
721
|
-
$fault = "client";
|
|
722
|
-
/**
|
|
723
|
-
* @internal
|
|
724
|
-
*/
|
|
725
|
-
constructor(opts) {
|
|
726
|
-
super({
|
|
727
|
-
name: "ReferencedImagesNotFoundException",
|
|
728
|
-
$fault: "client",
|
|
729
|
-
...opts
|
|
1186
|
+
};
|
|
1187
|
+
const se_PutRepositoryCatalogDataRequest = (input, context) => {
|
|
1188
|
+
return smithyClient.take(input, {
|
|
1189
|
+
catalogData: (_) => se_RepositoryCatalogDataInput(_, context),
|
|
1190
|
+
registryId: [],
|
|
1191
|
+
repositoryName: [],
|
|
730
1192
|
});
|
|
731
|
-
Object.setPrototypeOf(this, _ReferencedImagesNotFoundException.prototype);
|
|
732
|
-
}
|
|
733
1193
|
};
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
const headers = sharedHeaders("BatchDeleteImage");
|
|
744
|
-
let body;
|
|
745
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
746
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
747
|
-
}, "se_BatchDeleteImageCommand");
|
|
748
|
-
var se_CompleteLayerUploadCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
749
|
-
const headers = sharedHeaders("CompleteLayerUpload");
|
|
750
|
-
let body;
|
|
751
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
752
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
753
|
-
}, "se_CompleteLayerUploadCommand");
|
|
754
|
-
var se_CreateRepositoryCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
755
|
-
const headers = sharedHeaders("CreateRepository");
|
|
756
|
-
let body;
|
|
757
|
-
body = JSON.stringify(se_CreateRepositoryRequest(input, context));
|
|
758
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
759
|
-
}, "se_CreateRepositoryCommand");
|
|
760
|
-
var se_DeleteRepositoryCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
761
|
-
const headers = sharedHeaders("DeleteRepository");
|
|
762
|
-
let body;
|
|
763
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
764
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
765
|
-
}, "se_DeleteRepositoryCommand");
|
|
766
|
-
var se_DeleteRepositoryPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
767
|
-
const headers = sharedHeaders("DeleteRepositoryPolicy");
|
|
768
|
-
let body;
|
|
769
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
770
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
771
|
-
}, "se_DeleteRepositoryPolicyCommand");
|
|
772
|
-
var se_DescribeImagesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
773
|
-
const headers = sharedHeaders("DescribeImages");
|
|
774
|
-
let body;
|
|
775
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
776
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
777
|
-
}, "se_DescribeImagesCommand");
|
|
778
|
-
var se_DescribeImageTagsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
779
|
-
const headers = sharedHeaders("DescribeImageTags");
|
|
780
|
-
let body;
|
|
781
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
782
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
783
|
-
}, "se_DescribeImageTagsCommand");
|
|
784
|
-
var se_DescribeRegistriesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
785
|
-
const headers = sharedHeaders("DescribeRegistries");
|
|
786
|
-
let body;
|
|
787
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
788
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
789
|
-
}, "se_DescribeRegistriesCommand");
|
|
790
|
-
var se_DescribeRepositoriesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
791
|
-
const headers = sharedHeaders("DescribeRepositories");
|
|
792
|
-
let body;
|
|
793
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
794
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
795
|
-
}, "se_DescribeRepositoriesCommand");
|
|
796
|
-
var se_GetAuthorizationTokenCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
797
|
-
const headers = sharedHeaders("GetAuthorizationToken");
|
|
798
|
-
let body;
|
|
799
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
800
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
801
|
-
}, "se_GetAuthorizationTokenCommand");
|
|
802
|
-
var se_GetRegistryCatalogDataCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
803
|
-
const headers = sharedHeaders("GetRegistryCatalogData");
|
|
804
|
-
let body;
|
|
805
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
806
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
807
|
-
}, "se_GetRegistryCatalogDataCommand");
|
|
808
|
-
var se_GetRepositoryCatalogDataCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
809
|
-
const headers = sharedHeaders("GetRepositoryCatalogData");
|
|
810
|
-
let body;
|
|
811
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
812
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
813
|
-
}, "se_GetRepositoryCatalogDataCommand");
|
|
814
|
-
var se_GetRepositoryPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
815
|
-
const headers = sharedHeaders("GetRepositoryPolicy");
|
|
816
|
-
let body;
|
|
817
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
818
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
819
|
-
}, "se_GetRepositoryPolicyCommand");
|
|
820
|
-
var se_InitiateLayerUploadCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
821
|
-
const headers = sharedHeaders("InitiateLayerUpload");
|
|
822
|
-
let body;
|
|
823
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
824
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
825
|
-
}, "se_InitiateLayerUploadCommand");
|
|
826
|
-
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
827
|
-
const headers = sharedHeaders("ListTagsForResource");
|
|
828
|
-
let body;
|
|
829
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
830
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
831
|
-
}, "se_ListTagsForResourceCommand");
|
|
832
|
-
var se_PutImageCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
833
|
-
const headers = sharedHeaders("PutImage");
|
|
834
|
-
let body;
|
|
835
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
836
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
837
|
-
}, "se_PutImageCommand");
|
|
838
|
-
var se_PutRegistryCatalogDataCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
839
|
-
const headers = sharedHeaders("PutRegistryCatalogData");
|
|
840
|
-
let body;
|
|
841
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
842
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
843
|
-
}, "se_PutRegistryCatalogDataCommand");
|
|
844
|
-
var se_PutRepositoryCatalogDataCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
845
|
-
const headers = sharedHeaders("PutRepositoryCatalogData");
|
|
846
|
-
let body;
|
|
847
|
-
body = JSON.stringify(se_PutRepositoryCatalogDataRequest(input, context));
|
|
848
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
849
|
-
}, "se_PutRepositoryCatalogDataCommand");
|
|
850
|
-
var se_SetRepositoryPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
851
|
-
const headers = sharedHeaders("SetRepositoryPolicy");
|
|
852
|
-
let body;
|
|
853
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
854
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
855
|
-
}, "se_SetRepositoryPolicyCommand");
|
|
856
|
-
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
857
|
-
const headers = sharedHeaders("TagResource");
|
|
858
|
-
let body;
|
|
859
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
860
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
861
|
-
}, "se_TagResourceCommand");
|
|
862
|
-
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
863
|
-
const headers = sharedHeaders("UntagResource");
|
|
864
|
-
let body;
|
|
865
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
866
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
867
|
-
}, "se_UntagResourceCommand");
|
|
868
|
-
var se_UploadLayerPartCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
869
|
-
const headers = sharedHeaders("UploadLayerPart");
|
|
870
|
-
let body;
|
|
871
|
-
body = JSON.stringify(se_UploadLayerPartRequest(input, context));
|
|
872
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
873
|
-
}, "se_UploadLayerPartCommand");
|
|
874
|
-
var de_BatchCheckLayerAvailabilityCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
875
|
-
if (output.statusCode >= 300) {
|
|
876
|
-
return de_CommandError(output, context);
|
|
877
|
-
}
|
|
878
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
879
|
-
let contents = {};
|
|
880
|
-
contents = (0, import_smithy_client._json)(data);
|
|
881
|
-
const response = {
|
|
882
|
-
$metadata: deserializeMetadata(output),
|
|
883
|
-
...contents
|
|
884
|
-
};
|
|
885
|
-
return response;
|
|
886
|
-
}, "de_BatchCheckLayerAvailabilityCommand");
|
|
887
|
-
var de_BatchDeleteImageCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
888
|
-
if (output.statusCode >= 300) {
|
|
889
|
-
return de_CommandError(output, context);
|
|
890
|
-
}
|
|
891
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
892
|
-
let contents = {};
|
|
893
|
-
contents = (0, import_smithy_client._json)(data);
|
|
894
|
-
const response = {
|
|
895
|
-
$metadata: deserializeMetadata(output),
|
|
896
|
-
...contents
|
|
897
|
-
};
|
|
898
|
-
return response;
|
|
899
|
-
}, "de_BatchDeleteImageCommand");
|
|
900
|
-
var de_CompleteLayerUploadCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
901
|
-
if (output.statusCode >= 300) {
|
|
902
|
-
return de_CommandError(output, context);
|
|
903
|
-
}
|
|
904
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
905
|
-
let contents = {};
|
|
906
|
-
contents = (0, import_smithy_client._json)(data);
|
|
907
|
-
const response = {
|
|
908
|
-
$metadata: deserializeMetadata(output),
|
|
909
|
-
...contents
|
|
910
|
-
};
|
|
911
|
-
return response;
|
|
912
|
-
}, "de_CompleteLayerUploadCommand");
|
|
913
|
-
var de_CreateRepositoryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
914
|
-
if (output.statusCode >= 300) {
|
|
915
|
-
return de_CommandError(output, context);
|
|
916
|
-
}
|
|
917
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
918
|
-
let contents = {};
|
|
919
|
-
contents = de_CreateRepositoryResponse(data, context);
|
|
920
|
-
const response = {
|
|
921
|
-
$metadata: deserializeMetadata(output),
|
|
922
|
-
...contents
|
|
923
|
-
};
|
|
924
|
-
return response;
|
|
925
|
-
}, "de_CreateRepositoryCommand");
|
|
926
|
-
var de_DeleteRepositoryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
927
|
-
if (output.statusCode >= 300) {
|
|
928
|
-
return de_CommandError(output, context);
|
|
929
|
-
}
|
|
930
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
931
|
-
let contents = {};
|
|
932
|
-
contents = de_DeleteRepositoryResponse(data, context);
|
|
933
|
-
const response = {
|
|
934
|
-
$metadata: deserializeMetadata(output),
|
|
935
|
-
...contents
|
|
936
|
-
};
|
|
937
|
-
return response;
|
|
938
|
-
}, "de_DeleteRepositoryCommand");
|
|
939
|
-
var de_DeleteRepositoryPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
940
|
-
if (output.statusCode >= 300) {
|
|
941
|
-
return de_CommandError(output, context);
|
|
942
|
-
}
|
|
943
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
944
|
-
let contents = {};
|
|
945
|
-
contents = (0, import_smithy_client._json)(data);
|
|
946
|
-
const response = {
|
|
947
|
-
$metadata: deserializeMetadata(output),
|
|
948
|
-
...contents
|
|
949
|
-
};
|
|
950
|
-
return response;
|
|
951
|
-
}, "de_DeleteRepositoryPolicyCommand");
|
|
952
|
-
var de_DescribeImagesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
953
|
-
if (output.statusCode >= 300) {
|
|
954
|
-
return de_CommandError(output, context);
|
|
955
|
-
}
|
|
956
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
957
|
-
let contents = {};
|
|
958
|
-
contents = de_DescribeImagesResponse(data, context);
|
|
959
|
-
const response = {
|
|
960
|
-
$metadata: deserializeMetadata(output),
|
|
961
|
-
...contents
|
|
962
|
-
};
|
|
963
|
-
return response;
|
|
964
|
-
}, "de_DescribeImagesCommand");
|
|
965
|
-
var de_DescribeImageTagsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
966
|
-
if (output.statusCode >= 300) {
|
|
967
|
-
return de_CommandError(output, context);
|
|
968
|
-
}
|
|
969
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
970
|
-
let contents = {};
|
|
971
|
-
contents = de_DescribeImageTagsResponse(data, context);
|
|
972
|
-
const response = {
|
|
973
|
-
$metadata: deserializeMetadata(output),
|
|
974
|
-
...contents
|
|
975
|
-
};
|
|
976
|
-
return response;
|
|
977
|
-
}, "de_DescribeImageTagsCommand");
|
|
978
|
-
var de_DescribeRegistriesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
979
|
-
if (output.statusCode >= 300) {
|
|
980
|
-
return de_CommandError(output, context);
|
|
981
|
-
}
|
|
982
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
983
|
-
let contents = {};
|
|
984
|
-
contents = (0, import_smithy_client._json)(data);
|
|
985
|
-
const response = {
|
|
986
|
-
$metadata: deserializeMetadata(output),
|
|
987
|
-
...contents
|
|
988
|
-
};
|
|
989
|
-
return response;
|
|
990
|
-
}, "de_DescribeRegistriesCommand");
|
|
991
|
-
var de_DescribeRepositoriesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
992
|
-
if (output.statusCode >= 300) {
|
|
993
|
-
return de_CommandError(output, context);
|
|
994
|
-
}
|
|
995
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
996
|
-
let contents = {};
|
|
997
|
-
contents = de_DescribeRepositoriesResponse(data, context);
|
|
998
|
-
const response = {
|
|
999
|
-
$metadata: deserializeMetadata(output),
|
|
1000
|
-
...contents
|
|
1001
|
-
};
|
|
1002
|
-
return response;
|
|
1003
|
-
}, "de_DescribeRepositoriesCommand");
|
|
1004
|
-
var de_GetAuthorizationTokenCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1005
|
-
if (output.statusCode >= 300) {
|
|
1006
|
-
return de_CommandError(output, context);
|
|
1007
|
-
}
|
|
1008
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1009
|
-
let contents = {};
|
|
1010
|
-
contents = de_GetAuthorizationTokenResponse(data, context);
|
|
1011
|
-
const response = {
|
|
1012
|
-
$metadata: deserializeMetadata(output),
|
|
1013
|
-
...contents
|
|
1014
|
-
};
|
|
1015
|
-
return response;
|
|
1016
|
-
}, "de_GetAuthorizationTokenCommand");
|
|
1017
|
-
var de_GetRegistryCatalogDataCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1018
|
-
if (output.statusCode >= 300) {
|
|
1019
|
-
return de_CommandError(output, context);
|
|
1020
|
-
}
|
|
1021
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1022
|
-
let contents = {};
|
|
1023
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1024
|
-
const response = {
|
|
1025
|
-
$metadata: deserializeMetadata(output),
|
|
1026
|
-
...contents
|
|
1027
|
-
};
|
|
1028
|
-
return response;
|
|
1029
|
-
}, "de_GetRegistryCatalogDataCommand");
|
|
1030
|
-
var de_GetRepositoryCatalogDataCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1031
|
-
if (output.statusCode >= 300) {
|
|
1032
|
-
return de_CommandError(output, context);
|
|
1033
|
-
}
|
|
1034
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1035
|
-
let contents = {};
|
|
1036
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1037
|
-
const response = {
|
|
1038
|
-
$metadata: deserializeMetadata(output),
|
|
1039
|
-
...contents
|
|
1040
|
-
};
|
|
1041
|
-
return response;
|
|
1042
|
-
}, "de_GetRepositoryCatalogDataCommand");
|
|
1043
|
-
var de_GetRepositoryPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1044
|
-
if (output.statusCode >= 300) {
|
|
1045
|
-
return de_CommandError(output, context);
|
|
1046
|
-
}
|
|
1047
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1048
|
-
let contents = {};
|
|
1049
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1050
|
-
const response = {
|
|
1051
|
-
$metadata: deserializeMetadata(output),
|
|
1052
|
-
...contents
|
|
1053
|
-
};
|
|
1054
|
-
return response;
|
|
1055
|
-
}, "de_GetRepositoryPolicyCommand");
|
|
1056
|
-
var de_InitiateLayerUploadCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1057
|
-
if (output.statusCode >= 300) {
|
|
1058
|
-
return de_CommandError(output, context);
|
|
1059
|
-
}
|
|
1060
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1061
|
-
let contents = {};
|
|
1062
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1063
|
-
const response = {
|
|
1064
|
-
$metadata: deserializeMetadata(output),
|
|
1065
|
-
...contents
|
|
1066
|
-
};
|
|
1067
|
-
return response;
|
|
1068
|
-
}, "de_InitiateLayerUploadCommand");
|
|
1069
|
-
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1070
|
-
if (output.statusCode >= 300) {
|
|
1071
|
-
return de_CommandError(output, context);
|
|
1072
|
-
}
|
|
1073
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1074
|
-
let contents = {};
|
|
1075
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1076
|
-
const response = {
|
|
1077
|
-
$metadata: deserializeMetadata(output),
|
|
1078
|
-
...contents
|
|
1079
|
-
};
|
|
1080
|
-
return response;
|
|
1081
|
-
}, "de_ListTagsForResourceCommand");
|
|
1082
|
-
var de_PutImageCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1083
|
-
if (output.statusCode >= 300) {
|
|
1084
|
-
return de_CommandError(output, context);
|
|
1085
|
-
}
|
|
1086
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1087
|
-
let contents = {};
|
|
1088
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1089
|
-
const response = {
|
|
1090
|
-
$metadata: deserializeMetadata(output),
|
|
1091
|
-
...contents
|
|
1092
|
-
};
|
|
1093
|
-
return response;
|
|
1094
|
-
}, "de_PutImageCommand");
|
|
1095
|
-
var de_PutRegistryCatalogDataCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1096
|
-
if (output.statusCode >= 300) {
|
|
1097
|
-
return de_CommandError(output, context);
|
|
1098
|
-
}
|
|
1099
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1100
|
-
let contents = {};
|
|
1101
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1102
|
-
const response = {
|
|
1103
|
-
$metadata: deserializeMetadata(output),
|
|
1104
|
-
...contents
|
|
1105
|
-
};
|
|
1106
|
-
return response;
|
|
1107
|
-
}, "de_PutRegistryCatalogDataCommand");
|
|
1108
|
-
var de_PutRepositoryCatalogDataCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1109
|
-
if (output.statusCode >= 300) {
|
|
1110
|
-
return de_CommandError(output, context);
|
|
1111
|
-
}
|
|
1112
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1113
|
-
let contents = {};
|
|
1114
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1115
|
-
const response = {
|
|
1116
|
-
$metadata: deserializeMetadata(output),
|
|
1117
|
-
...contents
|
|
1118
|
-
};
|
|
1119
|
-
return response;
|
|
1120
|
-
}, "de_PutRepositoryCatalogDataCommand");
|
|
1121
|
-
var de_SetRepositoryPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1122
|
-
if (output.statusCode >= 300) {
|
|
1123
|
-
return de_CommandError(output, context);
|
|
1124
|
-
}
|
|
1125
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1126
|
-
let contents = {};
|
|
1127
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1128
|
-
const response = {
|
|
1129
|
-
$metadata: deserializeMetadata(output),
|
|
1130
|
-
...contents
|
|
1131
|
-
};
|
|
1132
|
-
return response;
|
|
1133
|
-
}, "de_SetRepositoryPolicyCommand");
|
|
1134
|
-
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1135
|
-
if (output.statusCode >= 300) {
|
|
1136
|
-
return de_CommandError(output, context);
|
|
1137
|
-
}
|
|
1138
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1139
|
-
let contents = {};
|
|
1140
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1141
|
-
const response = {
|
|
1142
|
-
$metadata: deserializeMetadata(output),
|
|
1143
|
-
...contents
|
|
1144
|
-
};
|
|
1145
|
-
return response;
|
|
1146
|
-
}, "de_TagResourceCommand");
|
|
1147
|
-
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1148
|
-
if (output.statusCode >= 300) {
|
|
1149
|
-
return de_CommandError(output, context);
|
|
1150
|
-
}
|
|
1151
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1152
|
-
let contents = {};
|
|
1153
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1154
|
-
const response = {
|
|
1155
|
-
$metadata: deserializeMetadata(output),
|
|
1156
|
-
...contents
|
|
1157
|
-
};
|
|
1158
|
-
return response;
|
|
1159
|
-
}, "de_UntagResourceCommand");
|
|
1160
|
-
var de_UploadLayerPartCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1161
|
-
if (output.statusCode >= 300) {
|
|
1162
|
-
return de_CommandError(output, context);
|
|
1163
|
-
}
|
|
1164
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1165
|
-
let contents = {};
|
|
1166
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1167
|
-
const response = {
|
|
1168
|
-
$metadata: deserializeMetadata(output),
|
|
1169
|
-
...contents
|
|
1170
|
-
};
|
|
1171
|
-
return response;
|
|
1172
|
-
}, "de_UploadLayerPartCommand");
|
|
1173
|
-
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1174
|
-
const parsedOutput = {
|
|
1175
|
-
...output,
|
|
1176
|
-
body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
|
|
1177
|
-
};
|
|
1178
|
-
const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
1179
|
-
switch (errorCode) {
|
|
1180
|
-
case "InvalidParameterException":
|
|
1181
|
-
case "com.amazonaws.ecrpublic#InvalidParameterException":
|
|
1182
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1183
|
-
case "RegistryNotFoundException":
|
|
1184
|
-
case "com.amazonaws.ecrpublic#RegistryNotFoundException":
|
|
1185
|
-
throw await de_RegistryNotFoundExceptionRes(parsedOutput, context);
|
|
1186
|
-
case "RepositoryNotFoundException":
|
|
1187
|
-
case "com.amazonaws.ecrpublic#RepositoryNotFoundException":
|
|
1188
|
-
throw await de_RepositoryNotFoundExceptionRes(parsedOutput, context);
|
|
1189
|
-
case "ServerException":
|
|
1190
|
-
case "com.amazonaws.ecrpublic#ServerException":
|
|
1191
|
-
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1192
|
-
case "UnsupportedCommandException":
|
|
1193
|
-
case "com.amazonaws.ecrpublic#UnsupportedCommandException":
|
|
1194
|
-
throw await de_UnsupportedCommandExceptionRes(parsedOutput, context);
|
|
1195
|
-
case "EmptyUploadException":
|
|
1196
|
-
case "com.amazonaws.ecrpublic#EmptyUploadException":
|
|
1197
|
-
throw await de_EmptyUploadExceptionRes(parsedOutput, context);
|
|
1198
|
-
case "InvalidLayerException":
|
|
1199
|
-
case "com.amazonaws.ecrpublic#InvalidLayerException":
|
|
1200
|
-
throw await de_InvalidLayerExceptionRes(parsedOutput, context);
|
|
1201
|
-
case "LayerAlreadyExistsException":
|
|
1202
|
-
case "com.amazonaws.ecrpublic#LayerAlreadyExistsException":
|
|
1203
|
-
throw await de_LayerAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1204
|
-
case "LayerPartTooSmallException":
|
|
1205
|
-
case "com.amazonaws.ecrpublic#LayerPartTooSmallException":
|
|
1206
|
-
throw await de_LayerPartTooSmallExceptionRes(parsedOutput, context);
|
|
1207
|
-
case "UploadNotFoundException":
|
|
1208
|
-
case "com.amazonaws.ecrpublic#UploadNotFoundException":
|
|
1209
|
-
throw await de_UploadNotFoundExceptionRes(parsedOutput, context);
|
|
1210
|
-
case "InvalidTagParameterException":
|
|
1211
|
-
case "com.amazonaws.ecrpublic#InvalidTagParameterException":
|
|
1212
|
-
throw await de_InvalidTagParameterExceptionRes(parsedOutput, context);
|
|
1213
|
-
case "LimitExceededException":
|
|
1214
|
-
case "com.amazonaws.ecrpublic#LimitExceededException":
|
|
1215
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1216
|
-
case "RepositoryAlreadyExistsException":
|
|
1217
|
-
case "com.amazonaws.ecrpublic#RepositoryAlreadyExistsException":
|
|
1218
|
-
throw await de_RepositoryAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1219
|
-
case "TooManyTagsException":
|
|
1220
|
-
case "com.amazonaws.ecrpublic#TooManyTagsException":
|
|
1221
|
-
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
1222
|
-
case "RepositoryNotEmptyException":
|
|
1223
|
-
case "com.amazonaws.ecrpublic#RepositoryNotEmptyException":
|
|
1224
|
-
throw await de_RepositoryNotEmptyExceptionRes(parsedOutput, context);
|
|
1225
|
-
case "RepositoryPolicyNotFoundException":
|
|
1226
|
-
case "com.amazonaws.ecrpublic#RepositoryPolicyNotFoundException":
|
|
1227
|
-
throw await de_RepositoryPolicyNotFoundExceptionRes(parsedOutput, context);
|
|
1228
|
-
case "ImageNotFoundException":
|
|
1229
|
-
case "com.amazonaws.ecrpublic#ImageNotFoundException":
|
|
1230
|
-
throw await de_ImageNotFoundExceptionRes(parsedOutput, context);
|
|
1231
|
-
case "RepositoryCatalogDataNotFoundException":
|
|
1232
|
-
case "com.amazonaws.ecrpublic#RepositoryCatalogDataNotFoundException":
|
|
1233
|
-
throw await de_RepositoryCatalogDataNotFoundExceptionRes(parsedOutput, context);
|
|
1234
|
-
case "ImageAlreadyExistsException":
|
|
1235
|
-
case "com.amazonaws.ecrpublic#ImageAlreadyExistsException":
|
|
1236
|
-
throw await de_ImageAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1237
|
-
case "ImageDigestDoesNotMatchException":
|
|
1238
|
-
case "com.amazonaws.ecrpublic#ImageDigestDoesNotMatchException":
|
|
1239
|
-
throw await de_ImageDigestDoesNotMatchExceptionRes(parsedOutput, context);
|
|
1240
|
-
case "ImageTagAlreadyExistsException":
|
|
1241
|
-
case "com.amazonaws.ecrpublic#ImageTagAlreadyExistsException":
|
|
1242
|
-
throw await de_ImageTagAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1243
|
-
case "LayersNotFoundException":
|
|
1244
|
-
case "com.amazonaws.ecrpublic#LayersNotFoundException":
|
|
1245
|
-
throw await de_LayersNotFoundExceptionRes(parsedOutput, context);
|
|
1246
|
-
case "ReferencedImagesNotFoundException":
|
|
1247
|
-
case "com.amazonaws.ecrpublic#ReferencedImagesNotFoundException":
|
|
1248
|
-
throw await de_ReferencedImagesNotFoundExceptionRes(parsedOutput, context);
|
|
1249
|
-
case "InvalidLayerPartException":
|
|
1250
|
-
case "com.amazonaws.ecrpublic#InvalidLayerPartException":
|
|
1251
|
-
throw await de_InvalidLayerPartExceptionRes(parsedOutput, context);
|
|
1252
|
-
default:
|
|
1253
|
-
const parsedBody = parsedOutput.body;
|
|
1254
|
-
return throwDefaultError({
|
|
1255
|
-
output,
|
|
1256
|
-
parsedBody,
|
|
1257
|
-
errorCode
|
|
1258
|
-
});
|
|
1259
|
-
}
|
|
1260
|
-
}, "de_CommandError");
|
|
1261
|
-
var de_EmptyUploadExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1262
|
-
const body = parsedOutput.body;
|
|
1263
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1264
|
-
const exception = new EmptyUploadException({
|
|
1265
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1266
|
-
...deserialized
|
|
1267
|
-
});
|
|
1268
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1269
|
-
}, "de_EmptyUploadExceptionRes");
|
|
1270
|
-
var de_ImageAlreadyExistsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1271
|
-
const body = parsedOutput.body;
|
|
1272
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1273
|
-
const exception = new ImageAlreadyExistsException({
|
|
1274
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1275
|
-
...deserialized
|
|
1276
|
-
});
|
|
1277
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1278
|
-
}, "de_ImageAlreadyExistsExceptionRes");
|
|
1279
|
-
var de_ImageDigestDoesNotMatchExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1280
|
-
const body = parsedOutput.body;
|
|
1281
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1282
|
-
const exception = new ImageDigestDoesNotMatchException({
|
|
1283
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1284
|
-
...deserialized
|
|
1285
|
-
});
|
|
1286
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1287
|
-
}, "de_ImageDigestDoesNotMatchExceptionRes");
|
|
1288
|
-
var de_ImageNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1289
|
-
const body = parsedOutput.body;
|
|
1290
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1291
|
-
const exception = new ImageNotFoundException({
|
|
1292
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1293
|
-
...deserialized
|
|
1294
|
-
});
|
|
1295
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1296
|
-
}, "de_ImageNotFoundExceptionRes");
|
|
1297
|
-
var de_ImageTagAlreadyExistsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1298
|
-
const body = parsedOutput.body;
|
|
1299
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1300
|
-
const exception = new ImageTagAlreadyExistsException({
|
|
1301
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1302
|
-
...deserialized
|
|
1303
|
-
});
|
|
1304
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1305
|
-
}, "de_ImageTagAlreadyExistsExceptionRes");
|
|
1306
|
-
var de_InvalidLayerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1307
|
-
const body = parsedOutput.body;
|
|
1308
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1309
|
-
const exception = new InvalidLayerException({
|
|
1310
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1311
|
-
...deserialized
|
|
1312
|
-
});
|
|
1313
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1314
|
-
}, "de_InvalidLayerExceptionRes");
|
|
1315
|
-
var de_InvalidLayerPartExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1316
|
-
const body = parsedOutput.body;
|
|
1317
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1318
|
-
const exception = new InvalidLayerPartException({
|
|
1319
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1320
|
-
...deserialized
|
|
1321
|
-
});
|
|
1322
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1323
|
-
}, "de_InvalidLayerPartExceptionRes");
|
|
1324
|
-
var de_InvalidParameterExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1325
|
-
const body = parsedOutput.body;
|
|
1326
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1327
|
-
const exception = new InvalidParameterException({
|
|
1328
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1329
|
-
...deserialized
|
|
1330
|
-
});
|
|
1331
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1332
|
-
}, "de_InvalidParameterExceptionRes");
|
|
1333
|
-
var de_InvalidTagParameterExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1334
|
-
const body = parsedOutput.body;
|
|
1335
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1336
|
-
const exception = new InvalidTagParameterException({
|
|
1337
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1338
|
-
...deserialized
|
|
1339
|
-
});
|
|
1340
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1341
|
-
}, "de_InvalidTagParameterExceptionRes");
|
|
1342
|
-
var de_LayerAlreadyExistsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1343
|
-
const body = parsedOutput.body;
|
|
1344
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1345
|
-
const exception = new LayerAlreadyExistsException({
|
|
1346
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1347
|
-
...deserialized
|
|
1348
|
-
});
|
|
1349
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1350
|
-
}, "de_LayerAlreadyExistsExceptionRes");
|
|
1351
|
-
var de_LayerPartTooSmallExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1352
|
-
const body = parsedOutput.body;
|
|
1353
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1354
|
-
const exception = new LayerPartTooSmallException({
|
|
1355
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1356
|
-
...deserialized
|
|
1357
|
-
});
|
|
1358
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1359
|
-
}, "de_LayerPartTooSmallExceptionRes");
|
|
1360
|
-
var de_LayersNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1361
|
-
const body = parsedOutput.body;
|
|
1362
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1363
|
-
const exception = new LayersNotFoundException({
|
|
1364
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1365
|
-
...deserialized
|
|
1366
|
-
});
|
|
1367
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1368
|
-
}, "de_LayersNotFoundExceptionRes");
|
|
1369
|
-
var de_LimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1370
|
-
const body = parsedOutput.body;
|
|
1371
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1372
|
-
const exception = new LimitExceededException({
|
|
1373
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1374
|
-
...deserialized
|
|
1375
|
-
});
|
|
1376
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1377
|
-
}, "de_LimitExceededExceptionRes");
|
|
1378
|
-
var de_ReferencedImagesNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1379
|
-
const body = parsedOutput.body;
|
|
1380
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1381
|
-
const exception = new ReferencedImagesNotFoundException({
|
|
1382
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1383
|
-
...deserialized
|
|
1384
|
-
});
|
|
1385
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1386
|
-
}, "de_ReferencedImagesNotFoundExceptionRes");
|
|
1387
|
-
var de_RegistryNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1388
|
-
const body = parsedOutput.body;
|
|
1389
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1390
|
-
const exception = new RegistryNotFoundException({
|
|
1391
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1392
|
-
...deserialized
|
|
1393
|
-
});
|
|
1394
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1395
|
-
}, "de_RegistryNotFoundExceptionRes");
|
|
1396
|
-
var de_RepositoryAlreadyExistsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1397
|
-
const body = parsedOutput.body;
|
|
1398
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1399
|
-
const exception = new RepositoryAlreadyExistsException({
|
|
1400
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1401
|
-
...deserialized
|
|
1402
|
-
});
|
|
1403
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1404
|
-
}, "de_RepositoryAlreadyExistsExceptionRes");
|
|
1405
|
-
var de_RepositoryCatalogDataNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1406
|
-
const body = parsedOutput.body;
|
|
1407
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1408
|
-
const exception = new RepositoryCatalogDataNotFoundException({
|
|
1409
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1410
|
-
...deserialized
|
|
1411
|
-
});
|
|
1412
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1413
|
-
}, "de_RepositoryCatalogDataNotFoundExceptionRes");
|
|
1414
|
-
var de_RepositoryNotEmptyExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1415
|
-
const body = parsedOutput.body;
|
|
1416
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1417
|
-
const exception = new RepositoryNotEmptyException({
|
|
1418
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1419
|
-
...deserialized
|
|
1420
|
-
});
|
|
1421
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1422
|
-
}, "de_RepositoryNotEmptyExceptionRes");
|
|
1423
|
-
var de_RepositoryNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1424
|
-
const body = parsedOutput.body;
|
|
1425
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1426
|
-
const exception = new RepositoryNotFoundException({
|
|
1427
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1428
|
-
...deserialized
|
|
1429
|
-
});
|
|
1430
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1431
|
-
}, "de_RepositoryNotFoundExceptionRes");
|
|
1432
|
-
var de_RepositoryPolicyNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1433
|
-
const body = parsedOutput.body;
|
|
1434
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1435
|
-
const exception = new RepositoryPolicyNotFoundException({
|
|
1436
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1437
|
-
...deserialized
|
|
1438
|
-
});
|
|
1439
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1440
|
-
}, "de_RepositoryPolicyNotFoundExceptionRes");
|
|
1441
|
-
var de_ServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1442
|
-
const body = parsedOutput.body;
|
|
1443
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1444
|
-
const exception = new ServerException({
|
|
1445
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1446
|
-
...deserialized
|
|
1447
|
-
});
|
|
1448
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1449
|
-
}, "de_ServerExceptionRes");
|
|
1450
|
-
var de_TooManyTagsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1451
|
-
const body = parsedOutput.body;
|
|
1452
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1453
|
-
const exception = new TooManyTagsException({
|
|
1454
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1455
|
-
...deserialized
|
|
1456
|
-
});
|
|
1457
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1458
|
-
}, "de_TooManyTagsExceptionRes");
|
|
1459
|
-
var de_UnsupportedCommandExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1460
|
-
const body = parsedOutput.body;
|
|
1461
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1462
|
-
const exception = new UnsupportedCommandException({
|
|
1463
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1464
|
-
...deserialized
|
|
1465
|
-
});
|
|
1466
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1467
|
-
}, "de_UnsupportedCommandExceptionRes");
|
|
1468
|
-
var de_UploadNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1469
|
-
const body = parsedOutput.body;
|
|
1470
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1471
|
-
const exception = new UploadNotFoundException({
|
|
1472
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1473
|
-
...deserialized
|
|
1474
|
-
});
|
|
1475
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1476
|
-
}, "de_UploadNotFoundExceptionRes");
|
|
1477
|
-
var se_CreateRepositoryRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1478
|
-
return (0, import_smithy_client.take)(input, {
|
|
1479
|
-
catalogData: /* @__PURE__ */ __name((_) => se_RepositoryCatalogDataInput(_, context), "catalogData"),
|
|
1480
|
-
repositoryName: [],
|
|
1481
|
-
tags: import_smithy_client._json
|
|
1482
|
-
});
|
|
1483
|
-
}, "se_CreateRepositoryRequest");
|
|
1484
|
-
var se_PutRepositoryCatalogDataRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1485
|
-
return (0, import_smithy_client.take)(input, {
|
|
1486
|
-
catalogData: /* @__PURE__ */ __name((_) => se_RepositoryCatalogDataInput(_, context), "catalogData"),
|
|
1487
|
-
registryId: [],
|
|
1488
|
-
repositoryName: []
|
|
1489
|
-
});
|
|
1490
|
-
}, "se_PutRepositoryCatalogDataRequest");
|
|
1491
|
-
var se_RepositoryCatalogDataInput = /* @__PURE__ */ __name((input, context) => {
|
|
1492
|
-
return (0, import_smithy_client.take)(input, {
|
|
1493
|
-
aboutText: [],
|
|
1494
|
-
architectures: import_smithy_client._json,
|
|
1495
|
-
description: [],
|
|
1496
|
-
logoImageBlob: context.base64Encoder,
|
|
1497
|
-
operatingSystems: import_smithy_client._json,
|
|
1498
|
-
usageText: []
|
|
1499
|
-
});
|
|
1500
|
-
}, "se_RepositoryCatalogDataInput");
|
|
1501
|
-
var se_UploadLayerPartRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1502
|
-
return (0, import_smithy_client.take)(input, {
|
|
1503
|
-
layerPartBlob: context.base64Encoder,
|
|
1504
|
-
partFirstByte: [],
|
|
1505
|
-
partLastByte: [],
|
|
1506
|
-
registryId: [],
|
|
1507
|
-
repositoryName: [],
|
|
1508
|
-
uploadId: []
|
|
1509
|
-
});
|
|
1510
|
-
}, "se_UploadLayerPartRequest");
|
|
1511
|
-
var de_AuthorizationData = /* @__PURE__ */ __name((output, context) => {
|
|
1512
|
-
return (0, import_smithy_client.take)(output, {
|
|
1513
|
-
authorizationToken: import_smithy_client.expectString,
|
|
1514
|
-
expiresAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "expiresAt")
|
|
1515
|
-
});
|
|
1516
|
-
}, "de_AuthorizationData");
|
|
1517
|
-
var de_CreateRepositoryResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1518
|
-
return (0, import_smithy_client.take)(output, {
|
|
1519
|
-
catalogData: import_smithy_client._json,
|
|
1520
|
-
repository: /* @__PURE__ */ __name((_) => de_Repository(_, context), "repository")
|
|
1521
|
-
});
|
|
1522
|
-
}, "de_CreateRepositoryResponse");
|
|
1523
|
-
var de_DeleteRepositoryResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1524
|
-
return (0, import_smithy_client.take)(output, {
|
|
1525
|
-
repository: /* @__PURE__ */ __name((_) => de_Repository(_, context), "repository")
|
|
1526
|
-
});
|
|
1527
|
-
}, "de_DeleteRepositoryResponse");
|
|
1528
|
-
var de_DescribeImagesResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1529
|
-
return (0, import_smithy_client.take)(output, {
|
|
1530
|
-
imageDetails: /* @__PURE__ */ __name((_) => de_ImageDetailList(_, context), "imageDetails"),
|
|
1531
|
-
nextToken: import_smithy_client.expectString
|
|
1532
|
-
});
|
|
1533
|
-
}, "de_DescribeImagesResponse");
|
|
1534
|
-
var de_DescribeImageTagsResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1535
|
-
return (0, import_smithy_client.take)(output, {
|
|
1536
|
-
imageTagDetails: /* @__PURE__ */ __name((_) => de_ImageTagDetailList(_, context), "imageTagDetails"),
|
|
1537
|
-
nextToken: import_smithy_client.expectString
|
|
1538
|
-
});
|
|
1539
|
-
}, "de_DescribeImageTagsResponse");
|
|
1540
|
-
var de_DescribeRepositoriesResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1541
|
-
return (0, import_smithy_client.take)(output, {
|
|
1542
|
-
nextToken: import_smithy_client.expectString,
|
|
1543
|
-
repositories: /* @__PURE__ */ __name((_) => de_RepositoryList(_, context), "repositories")
|
|
1544
|
-
});
|
|
1545
|
-
}, "de_DescribeRepositoriesResponse");
|
|
1546
|
-
var de_GetAuthorizationTokenResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1547
|
-
return (0, import_smithy_client.take)(output, {
|
|
1548
|
-
authorizationData: /* @__PURE__ */ __name((_) => de_AuthorizationData(_, context), "authorizationData")
|
|
1549
|
-
});
|
|
1550
|
-
}, "de_GetAuthorizationTokenResponse");
|
|
1551
|
-
var de_ImageDetail = /* @__PURE__ */ __name((output, context) => {
|
|
1552
|
-
return (0, import_smithy_client.take)(output, {
|
|
1553
|
-
artifactMediaType: import_smithy_client.expectString,
|
|
1554
|
-
imageDigest: import_smithy_client.expectString,
|
|
1555
|
-
imageManifestMediaType: import_smithy_client.expectString,
|
|
1556
|
-
imagePushedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "imagePushedAt"),
|
|
1557
|
-
imageSizeInBytes: import_smithy_client.expectLong,
|
|
1558
|
-
imageTags: import_smithy_client._json,
|
|
1559
|
-
registryId: import_smithy_client.expectString,
|
|
1560
|
-
repositoryName: import_smithy_client.expectString
|
|
1561
|
-
});
|
|
1562
|
-
}, "de_ImageDetail");
|
|
1563
|
-
var de_ImageDetailList = /* @__PURE__ */ __name((output, context) => {
|
|
1564
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1565
|
-
return de_ImageDetail(entry, context);
|
|
1566
|
-
});
|
|
1567
|
-
return retVal;
|
|
1568
|
-
}, "de_ImageDetailList");
|
|
1569
|
-
var de_ImageTagDetail = /* @__PURE__ */ __name((output, context) => {
|
|
1570
|
-
return (0, import_smithy_client.take)(output, {
|
|
1571
|
-
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"),
|
|
1572
|
-
imageDetail: /* @__PURE__ */ __name((_) => de_ReferencedImageDetail(_, context), "imageDetail"),
|
|
1573
|
-
imageTag: import_smithy_client.expectString
|
|
1574
|
-
});
|
|
1575
|
-
}, "de_ImageTagDetail");
|
|
1576
|
-
var de_ImageTagDetailList = /* @__PURE__ */ __name((output, context) => {
|
|
1577
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1578
|
-
return de_ImageTagDetail(entry, context);
|
|
1579
|
-
});
|
|
1580
|
-
return retVal;
|
|
1581
|
-
}, "de_ImageTagDetailList");
|
|
1582
|
-
var de_ReferencedImageDetail = /* @__PURE__ */ __name((output, context) => {
|
|
1583
|
-
return (0, import_smithy_client.take)(output, {
|
|
1584
|
-
artifactMediaType: import_smithy_client.expectString,
|
|
1585
|
-
imageDigest: import_smithy_client.expectString,
|
|
1586
|
-
imageManifestMediaType: import_smithy_client.expectString,
|
|
1587
|
-
imagePushedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "imagePushedAt"),
|
|
1588
|
-
imageSizeInBytes: import_smithy_client.expectLong
|
|
1589
|
-
});
|
|
1590
|
-
}, "de_ReferencedImageDetail");
|
|
1591
|
-
var de_Repository = /* @__PURE__ */ __name((output, context) => {
|
|
1592
|
-
return (0, import_smithy_client.take)(output, {
|
|
1593
|
-
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"),
|
|
1594
|
-
registryId: import_smithy_client.expectString,
|
|
1595
|
-
repositoryArn: import_smithy_client.expectString,
|
|
1596
|
-
repositoryName: import_smithy_client.expectString,
|
|
1597
|
-
repositoryUri: import_smithy_client.expectString
|
|
1598
|
-
});
|
|
1599
|
-
}, "de_Repository");
|
|
1600
|
-
var de_RepositoryList = /* @__PURE__ */ __name((output, context) => {
|
|
1601
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1602
|
-
return de_Repository(entry, context);
|
|
1603
|
-
});
|
|
1604
|
-
return retVal;
|
|
1605
|
-
}, "de_RepositoryList");
|
|
1606
|
-
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
1607
|
-
httpStatusCode: output.statusCode,
|
|
1608
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1609
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1610
|
-
cfId: output.headers["x-amz-cf-id"]
|
|
1611
|
-
}), "deserializeMetadata");
|
|
1612
|
-
var throwDefaultError = (0, import_smithy_client.withBaseException)(ECRPUBLICServiceException);
|
|
1613
|
-
var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
|
|
1614
|
-
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1615
|
-
const contents = {
|
|
1616
|
-
protocol,
|
|
1617
|
-
hostname,
|
|
1618
|
-
port,
|
|
1619
|
-
method: "POST",
|
|
1620
|
-
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
1621
|
-
headers
|
|
1622
|
-
};
|
|
1623
|
-
if (resolvedHostname !== void 0) {
|
|
1624
|
-
contents.hostname = resolvedHostname;
|
|
1625
|
-
}
|
|
1626
|
-
if (body !== void 0) {
|
|
1627
|
-
contents.body = body;
|
|
1628
|
-
}
|
|
1629
|
-
return new import_protocol_http.HttpRequest(contents);
|
|
1630
|
-
}, "buildHttpRpcRequest");
|
|
1631
|
-
function sharedHeaders(operation) {
|
|
1632
|
-
return {
|
|
1633
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1634
|
-
"x-amz-target": `SpencerFrontendService.${operation}`
|
|
1635
|
-
};
|
|
1636
|
-
}
|
|
1637
|
-
__name(sharedHeaders, "sharedHeaders");
|
|
1638
|
-
|
|
1639
|
-
// src/commands/BatchCheckLayerAvailabilityCommand.ts
|
|
1640
|
-
var BatchCheckLayerAvailabilityCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1641
|
-
return [
|
|
1642
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1643
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1644
|
-
];
|
|
1645
|
-
}).s("SpencerFrontendService", "BatchCheckLayerAvailability", {}).n("ECRPUBLICClient", "BatchCheckLayerAvailabilityCommand").f(void 0, void 0).ser(se_BatchCheckLayerAvailabilityCommand).de(de_BatchCheckLayerAvailabilityCommand).build() {
|
|
1646
|
-
static {
|
|
1647
|
-
__name(this, "BatchCheckLayerAvailabilityCommand");
|
|
1648
|
-
}
|
|
1194
|
+
const se_RepositoryCatalogDataInput = (input, context) => {
|
|
1195
|
+
return smithyClient.take(input, {
|
|
1196
|
+
aboutText: [],
|
|
1197
|
+
architectures: smithyClient._json,
|
|
1198
|
+
description: [],
|
|
1199
|
+
logoImageBlob: context.base64Encoder,
|
|
1200
|
+
operatingSystems: smithyClient._json,
|
|
1201
|
+
usageText: [],
|
|
1202
|
+
});
|
|
1649
1203
|
};
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
];
|
|
1660
|
-
}).s("SpencerFrontendService", "BatchDeleteImage", {}).n("ECRPUBLICClient", "BatchDeleteImageCommand").f(void 0, void 0).ser(se_BatchDeleteImageCommand).de(de_BatchDeleteImageCommand).build() {
|
|
1661
|
-
static {
|
|
1662
|
-
__name(this, "BatchDeleteImageCommand");
|
|
1663
|
-
}
|
|
1204
|
+
const se_UploadLayerPartRequest = (input, context) => {
|
|
1205
|
+
return smithyClient.take(input, {
|
|
1206
|
+
layerPartBlob: context.base64Encoder,
|
|
1207
|
+
partFirstByte: [],
|
|
1208
|
+
partLastByte: [],
|
|
1209
|
+
registryId: [],
|
|
1210
|
+
repositoryName: [],
|
|
1211
|
+
uploadId: [],
|
|
1212
|
+
});
|
|
1664
1213
|
};
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
var CompleteLayerUploadCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1671
|
-
return [
|
|
1672
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1673
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1674
|
-
];
|
|
1675
|
-
}).s("SpencerFrontendService", "CompleteLayerUpload", {}).n("ECRPUBLICClient", "CompleteLayerUploadCommand").f(void 0, void 0).ser(se_CompleteLayerUploadCommand).de(de_CompleteLayerUploadCommand).build() {
|
|
1676
|
-
static {
|
|
1677
|
-
__name(this, "CompleteLayerUploadCommand");
|
|
1678
|
-
}
|
|
1214
|
+
const de_AuthorizationData = (output, context) => {
|
|
1215
|
+
return smithyClient.take(output, {
|
|
1216
|
+
authorizationToken: smithyClient.expectString,
|
|
1217
|
+
expiresAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1218
|
+
});
|
|
1679
1219
|
};
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
var CreateRepositoryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1686
|
-
return [
|
|
1687
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1688
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1689
|
-
];
|
|
1690
|
-
}).s("SpencerFrontendService", "CreateRepository", {}).n("ECRPUBLICClient", "CreateRepositoryCommand").f(void 0, void 0).ser(se_CreateRepositoryCommand).de(de_CreateRepositoryCommand).build() {
|
|
1691
|
-
static {
|
|
1692
|
-
__name(this, "CreateRepositoryCommand");
|
|
1693
|
-
}
|
|
1220
|
+
const de_CreateRepositoryResponse = (output, context) => {
|
|
1221
|
+
return smithyClient.take(output, {
|
|
1222
|
+
catalogData: smithyClient._json,
|
|
1223
|
+
repository: (_) => de_Repository(_),
|
|
1224
|
+
});
|
|
1694
1225
|
};
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
var DeleteRepositoryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1701
|
-
return [
|
|
1702
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1703
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1704
|
-
];
|
|
1705
|
-
}).s("SpencerFrontendService", "DeleteRepository", {}).n("ECRPUBLICClient", "DeleteRepositoryCommand").f(void 0, void 0).ser(se_DeleteRepositoryCommand).de(de_DeleteRepositoryCommand).build() {
|
|
1706
|
-
static {
|
|
1707
|
-
__name(this, "DeleteRepositoryCommand");
|
|
1708
|
-
}
|
|
1226
|
+
const de_DeleteRepositoryResponse = (output, context) => {
|
|
1227
|
+
return smithyClient.take(output, {
|
|
1228
|
+
repository: (_) => de_Repository(_),
|
|
1229
|
+
});
|
|
1709
1230
|
};
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
var DeleteRepositoryPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1716
|
-
return [
|
|
1717
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1718
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1719
|
-
];
|
|
1720
|
-
}).s("SpencerFrontendService", "DeleteRepositoryPolicy", {}).n("ECRPUBLICClient", "DeleteRepositoryPolicyCommand").f(void 0, void 0).ser(se_DeleteRepositoryPolicyCommand).de(de_DeleteRepositoryPolicyCommand).build() {
|
|
1721
|
-
static {
|
|
1722
|
-
__name(this, "DeleteRepositoryPolicyCommand");
|
|
1723
|
-
}
|
|
1231
|
+
const de_DescribeImagesResponse = (output, context) => {
|
|
1232
|
+
return smithyClient.take(output, {
|
|
1233
|
+
imageDetails: (_) => de_ImageDetailList(_),
|
|
1234
|
+
nextToken: smithyClient.expectString,
|
|
1235
|
+
});
|
|
1724
1236
|
};
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
var DescribeImagesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1731
|
-
return [
|
|
1732
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1733
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1734
|
-
];
|
|
1735
|
-
}).s("SpencerFrontendService", "DescribeImages", {}).n("ECRPUBLICClient", "DescribeImagesCommand").f(void 0, void 0).ser(se_DescribeImagesCommand).de(de_DescribeImagesCommand).build() {
|
|
1736
|
-
static {
|
|
1737
|
-
__name(this, "DescribeImagesCommand");
|
|
1738
|
-
}
|
|
1237
|
+
const de_DescribeImageTagsResponse = (output, context) => {
|
|
1238
|
+
return smithyClient.take(output, {
|
|
1239
|
+
imageTagDetails: (_) => de_ImageTagDetailList(_),
|
|
1240
|
+
nextToken: smithyClient.expectString,
|
|
1241
|
+
});
|
|
1739
1242
|
};
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
var DescribeImageTagsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1746
|
-
return [
|
|
1747
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1748
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1749
|
-
];
|
|
1750
|
-
}).s("SpencerFrontendService", "DescribeImageTags", {}).n("ECRPUBLICClient", "DescribeImageTagsCommand").f(void 0, void 0).ser(se_DescribeImageTagsCommand).de(de_DescribeImageTagsCommand).build() {
|
|
1751
|
-
static {
|
|
1752
|
-
__name(this, "DescribeImageTagsCommand");
|
|
1753
|
-
}
|
|
1243
|
+
const de_DescribeRepositoriesResponse = (output, context) => {
|
|
1244
|
+
return smithyClient.take(output, {
|
|
1245
|
+
nextToken: smithyClient.expectString,
|
|
1246
|
+
repositories: (_) => de_RepositoryList(_),
|
|
1247
|
+
});
|
|
1754
1248
|
};
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
var DescribeRegistriesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1761
|
-
return [
|
|
1762
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1763
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1764
|
-
];
|
|
1765
|
-
}).s("SpencerFrontendService", "DescribeRegistries", {}).n("ECRPUBLICClient", "DescribeRegistriesCommand").f(void 0, void 0).ser(se_DescribeRegistriesCommand).de(de_DescribeRegistriesCommand).build() {
|
|
1766
|
-
static {
|
|
1767
|
-
__name(this, "DescribeRegistriesCommand");
|
|
1768
|
-
}
|
|
1249
|
+
const de_GetAuthorizationTokenResponse = (output, context) => {
|
|
1250
|
+
return smithyClient.take(output, {
|
|
1251
|
+
authorizationData: (_) => de_AuthorizationData(_),
|
|
1252
|
+
});
|
|
1769
1253
|
};
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
})
|
|
1781
|
-
static {
|
|
1782
|
-
__name(this, "DescribeRepositoriesCommand");
|
|
1783
|
-
}
|
|
1254
|
+
const de_ImageDetail = (output, context) => {
|
|
1255
|
+
return smithyClient.take(output, {
|
|
1256
|
+
artifactMediaType: smithyClient.expectString,
|
|
1257
|
+
imageDigest: smithyClient.expectString,
|
|
1258
|
+
imageManifestMediaType: smithyClient.expectString,
|
|
1259
|
+
imagePushedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1260
|
+
imageSizeInBytes: smithyClient.expectLong,
|
|
1261
|
+
imageTags: smithyClient._json,
|
|
1262
|
+
registryId: smithyClient.expectString,
|
|
1263
|
+
repositoryName: smithyClient.expectString,
|
|
1264
|
+
});
|
|
1784
1265
|
};
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1793
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1794
|
-
];
|
|
1795
|
-
}).s("SpencerFrontendService", "GetAuthorizationToken", {}).n("ECRPUBLICClient", "GetAuthorizationTokenCommand").f(void 0, void 0).ser(se_GetAuthorizationTokenCommand).de(de_GetAuthorizationTokenCommand).build() {
|
|
1796
|
-
static {
|
|
1797
|
-
__name(this, "GetAuthorizationTokenCommand");
|
|
1798
|
-
}
|
|
1266
|
+
const de_ImageDetailList = (output, context) => {
|
|
1267
|
+
const retVal = (output || [])
|
|
1268
|
+
.filter((e) => e != null)
|
|
1269
|
+
.map((entry) => {
|
|
1270
|
+
return de_ImageDetail(entry);
|
|
1271
|
+
});
|
|
1272
|
+
return retVal;
|
|
1799
1273
|
};
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
return [
|
|
1807
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1808
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1809
|
-
];
|
|
1810
|
-
}).s("SpencerFrontendService", "GetRegistryCatalogData", {}).n("ECRPUBLICClient", "GetRegistryCatalogDataCommand").f(void 0, void 0).ser(se_GetRegistryCatalogDataCommand).de(de_GetRegistryCatalogDataCommand).build() {
|
|
1811
|
-
static {
|
|
1812
|
-
__name(this, "GetRegistryCatalogDataCommand");
|
|
1813
|
-
}
|
|
1274
|
+
const de_ImageTagDetail = (output, context) => {
|
|
1275
|
+
return smithyClient.take(output, {
|
|
1276
|
+
createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1277
|
+
imageDetail: (_) => de_ReferencedImageDetail(_),
|
|
1278
|
+
imageTag: smithyClient.expectString,
|
|
1279
|
+
});
|
|
1814
1280
|
};
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1823
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1824
|
-
];
|
|
1825
|
-
}).s("SpencerFrontendService", "GetRepositoryCatalogData", {}).n("ECRPUBLICClient", "GetRepositoryCatalogDataCommand").f(void 0, void 0).ser(se_GetRepositoryCatalogDataCommand).de(de_GetRepositoryCatalogDataCommand).build() {
|
|
1826
|
-
static {
|
|
1827
|
-
__name(this, "GetRepositoryCatalogDataCommand");
|
|
1828
|
-
}
|
|
1281
|
+
const de_ImageTagDetailList = (output, context) => {
|
|
1282
|
+
const retVal = (output || [])
|
|
1283
|
+
.filter((e) => e != null)
|
|
1284
|
+
.map((entry) => {
|
|
1285
|
+
return de_ImageTagDetail(entry);
|
|
1286
|
+
});
|
|
1287
|
+
return retVal;
|
|
1829
1288
|
};
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1839
|
-
];
|
|
1840
|
-
}).s("SpencerFrontendService", "GetRepositoryPolicy", {}).n("ECRPUBLICClient", "GetRepositoryPolicyCommand").f(void 0, void 0).ser(se_GetRepositoryPolicyCommand).de(de_GetRepositoryPolicyCommand).build() {
|
|
1841
|
-
static {
|
|
1842
|
-
__name(this, "GetRepositoryPolicyCommand");
|
|
1843
|
-
}
|
|
1289
|
+
const de_ReferencedImageDetail = (output, context) => {
|
|
1290
|
+
return smithyClient.take(output, {
|
|
1291
|
+
artifactMediaType: smithyClient.expectString,
|
|
1292
|
+
imageDigest: smithyClient.expectString,
|
|
1293
|
+
imageManifestMediaType: smithyClient.expectString,
|
|
1294
|
+
imagePushedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1295
|
+
imageSizeInBytes: smithyClient.expectLong,
|
|
1296
|
+
});
|
|
1844
1297
|
};
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1854
|
-
];
|
|
1855
|
-
}).s("SpencerFrontendService", "InitiateLayerUpload", {}).n("ECRPUBLICClient", "InitiateLayerUploadCommand").f(void 0, void 0).ser(se_InitiateLayerUploadCommand).de(de_InitiateLayerUploadCommand).build() {
|
|
1856
|
-
static {
|
|
1857
|
-
__name(this, "InitiateLayerUploadCommand");
|
|
1858
|
-
}
|
|
1298
|
+
const de_Repository = (output, context) => {
|
|
1299
|
+
return smithyClient.take(output, {
|
|
1300
|
+
createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1301
|
+
registryId: smithyClient.expectString,
|
|
1302
|
+
repositoryArn: smithyClient.expectString,
|
|
1303
|
+
repositoryName: smithyClient.expectString,
|
|
1304
|
+
repositoryUri: smithyClient.expectString,
|
|
1305
|
+
});
|
|
1859
1306
|
};
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1868
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1869
|
-
];
|
|
1870
|
-
}).s("SpencerFrontendService", "ListTagsForResource", {}).n("ECRPUBLICClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
|
|
1871
|
-
static {
|
|
1872
|
-
__name(this, "ListTagsForResourceCommand");
|
|
1873
|
-
}
|
|
1307
|
+
const de_RepositoryList = (output, context) => {
|
|
1308
|
+
const retVal = (output || [])
|
|
1309
|
+
.filter((e) => e != null)
|
|
1310
|
+
.map((entry) => {
|
|
1311
|
+
return de_Repository(entry);
|
|
1312
|
+
});
|
|
1313
|
+
return retVal;
|
|
1874
1314
|
};
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1315
|
+
const deserializeMetadata = (output) => ({
|
|
1316
|
+
httpStatusCode: output.statusCode,
|
|
1317
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1318
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1319
|
+
cfId: output.headers["x-amz-cf-id"],
|
|
1320
|
+
});
|
|
1321
|
+
const throwDefaultError = smithyClient.withBaseException(ECRPUBLICServiceException);
|
|
1322
|
+
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
1323
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1324
|
+
const contents = {
|
|
1325
|
+
protocol,
|
|
1326
|
+
hostname,
|
|
1327
|
+
port,
|
|
1328
|
+
method: "POST",
|
|
1329
|
+
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
1330
|
+
headers,
|
|
1331
|
+
};
|
|
1332
|
+
if (body !== undefined) {
|
|
1333
|
+
contents.body = body;
|
|
1334
|
+
}
|
|
1335
|
+
return new protocolHttp.HttpRequest(contents);
|
|
1889
1336
|
};
|
|
1337
|
+
function sharedHeaders(operation) {
|
|
1338
|
+
return {
|
|
1339
|
+
"content-type": "application/x-amz-json-1.1",
|
|
1340
|
+
"x-amz-target": `SpencerFrontendService.${operation}`,
|
|
1341
|
+
};
|
|
1342
|
+
}
|
|
1890
1343
|
|
|
1891
|
-
|
|
1344
|
+
class BatchCheckLayerAvailabilityCommand extends smithyClient.Command
|
|
1345
|
+
.classBuilder()
|
|
1346
|
+
.ep(commonParams)
|
|
1347
|
+
.m(function (Command, cs, config, o) {
|
|
1348
|
+
return [
|
|
1349
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1350
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1351
|
+
];
|
|
1352
|
+
})
|
|
1353
|
+
.s("SpencerFrontendService", "BatchCheckLayerAvailability", {})
|
|
1354
|
+
.n("ECRPUBLICClient", "BatchCheckLayerAvailabilityCommand")
|
|
1355
|
+
.f(void 0, void 0)
|
|
1356
|
+
.ser(se_BatchCheckLayerAvailabilityCommand)
|
|
1357
|
+
.de(de_BatchCheckLayerAvailabilityCommand)
|
|
1358
|
+
.build() {
|
|
1359
|
+
}
|
|
1892
1360
|
|
|
1361
|
+
class BatchDeleteImageCommand extends smithyClient.Command
|
|
1362
|
+
.classBuilder()
|
|
1363
|
+
.ep(commonParams)
|
|
1364
|
+
.m(function (Command, cs, config, o) {
|
|
1365
|
+
return [
|
|
1366
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1367
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1368
|
+
];
|
|
1369
|
+
})
|
|
1370
|
+
.s("SpencerFrontendService", "BatchDeleteImage", {})
|
|
1371
|
+
.n("ECRPUBLICClient", "BatchDeleteImageCommand")
|
|
1372
|
+
.f(void 0, void 0)
|
|
1373
|
+
.ser(se_BatchDeleteImageCommand)
|
|
1374
|
+
.de(de_BatchDeleteImageCommand)
|
|
1375
|
+
.build() {
|
|
1376
|
+
}
|
|
1893
1377
|
|
|
1378
|
+
class CompleteLayerUploadCommand extends smithyClient.Command
|
|
1379
|
+
.classBuilder()
|
|
1380
|
+
.ep(commonParams)
|
|
1381
|
+
.m(function (Command, cs, config, o) {
|
|
1382
|
+
return [
|
|
1383
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1384
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1385
|
+
];
|
|
1386
|
+
})
|
|
1387
|
+
.s("SpencerFrontendService", "CompleteLayerUpload", {})
|
|
1388
|
+
.n("ECRPUBLICClient", "CompleteLayerUploadCommand")
|
|
1389
|
+
.f(void 0, void 0)
|
|
1390
|
+
.ser(se_CompleteLayerUploadCommand)
|
|
1391
|
+
.de(de_CompleteLayerUploadCommand)
|
|
1392
|
+
.build() {
|
|
1393
|
+
}
|
|
1894
1394
|
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
(
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
}
|
|
1395
|
+
class CreateRepositoryCommand extends smithyClient.Command
|
|
1396
|
+
.classBuilder()
|
|
1397
|
+
.ep(commonParams)
|
|
1398
|
+
.m(function (Command, cs, config, o) {
|
|
1399
|
+
return [
|
|
1400
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1401
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1402
|
+
];
|
|
1403
|
+
})
|
|
1404
|
+
.s("SpencerFrontendService", "CreateRepository", {})
|
|
1405
|
+
.n("ECRPUBLICClient", "CreateRepositoryCommand")
|
|
1406
|
+
.f(void 0, void 0)
|
|
1407
|
+
.ser(se_CreateRepositoryCommand)
|
|
1408
|
+
.de(de_CreateRepositoryCommand)
|
|
1409
|
+
.build() {
|
|
1410
|
+
}
|
|
1905
1411
|
|
|
1906
|
-
|
|
1412
|
+
class DeleteRepositoryCommand extends smithyClient.Command
|
|
1413
|
+
.classBuilder()
|
|
1414
|
+
.ep(commonParams)
|
|
1415
|
+
.m(function (Command, cs, config, o) {
|
|
1416
|
+
return [
|
|
1417
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1418
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1419
|
+
];
|
|
1420
|
+
})
|
|
1421
|
+
.s("SpencerFrontendService", "DeleteRepository", {})
|
|
1422
|
+
.n("ECRPUBLICClient", "DeleteRepositoryCommand")
|
|
1423
|
+
.f(void 0, void 0)
|
|
1424
|
+
.ser(se_DeleteRepositoryCommand)
|
|
1425
|
+
.de(de_DeleteRepositoryCommand)
|
|
1426
|
+
.build() {
|
|
1427
|
+
}
|
|
1907
1428
|
|
|
1429
|
+
class DeleteRepositoryPolicyCommand extends smithyClient.Command
|
|
1430
|
+
.classBuilder()
|
|
1431
|
+
.ep(commonParams)
|
|
1432
|
+
.m(function (Command, cs, config, o) {
|
|
1433
|
+
return [
|
|
1434
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1435
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1436
|
+
];
|
|
1437
|
+
})
|
|
1438
|
+
.s("SpencerFrontendService", "DeleteRepositoryPolicy", {})
|
|
1439
|
+
.n("ECRPUBLICClient", "DeleteRepositoryPolicyCommand")
|
|
1440
|
+
.f(void 0, void 0)
|
|
1441
|
+
.ser(se_DeleteRepositoryPolicyCommand)
|
|
1442
|
+
.de(de_DeleteRepositoryPolicyCommand)
|
|
1443
|
+
.build() {
|
|
1444
|
+
}
|
|
1908
1445
|
|
|
1446
|
+
class DescribeImagesCommand extends smithyClient.Command
|
|
1447
|
+
.classBuilder()
|
|
1448
|
+
.ep(commonParams)
|
|
1449
|
+
.m(function (Command, cs, config, o) {
|
|
1450
|
+
return [
|
|
1451
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1452
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1453
|
+
];
|
|
1454
|
+
})
|
|
1455
|
+
.s("SpencerFrontendService", "DescribeImages", {})
|
|
1456
|
+
.n("ECRPUBLICClient", "DescribeImagesCommand")
|
|
1457
|
+
.f(void 0, void 0)
|
|
1458
|
+
.ser(se_DescribeImagesCommand)
|
|
1459
|
+
.de(de_DescribeImagesCommand)
|
|
1460
|
+
.build() {
|
|
1461
|
+
}
|
|
1909
1462
|
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
(
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
}
|
|
1463
|
+
class DescribeImageTagsCommand extends smithyClient.Command
|
|
1464
|
+
.classBuilder()
|
|
1465
|
+
.ep(commonParams)
|
|
1466
|
+
.m(function (Command, cs, config, o) {
|
|
1467
|
+
return [
|
|
1468
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1469
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1470
|
+
];
|
|
1471
|
+
})
|
|
1472
|
+
.s("SpencerFrontendService", "DescribeImageTags", {})
|
|
1473
|
+
.n("ECRPUBLICClient", "DescribeImageTagsCommand")
|
|
1474
|
+
.f(void 0, void 0)
|
|
1475
|
+
.ser(se_DescribeImageTagsCommand)
|
|
1476
|
+
.de(de_DescribeImageTagsCommand)
|
|
1477
|
+
.build() {
|
|
1478
|
+
}
|
|
1920
1479
|
|
|
1921
|
-
|
|
1480
|
+
class DescribeRegistriesCommand extends smithyClient.Command
|
|
1481
|
+
.classBuilder()
|
|
1482
|
+
.ep(commonParams)
|
|
1483
|
+
.m(function (Command, cs, config, o) {
|
|
1484
|
+
return [
|
|
1485
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1486
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1487
|
+
];
|
|
1488
|
+
})
|
|
1489
|
+
.s("SpencerFrontendService", "DescribeRegistries", {})
|
|
1490
|
+
.n("ECRPUBLICClient", "DescribeRegistriesCommand")
|
|
1491
|
+
.f(void 0, void 0)
|
|
1492
|
+
.ser(se_DescribeRegistriesCommand)
|
|
1493
|
+
.de(de_DescribeRegistriesCommand)
|
|
1494
|
+
.build() {
|
|
1495
|
+
}
|
|
1922
1496
|
|
|
1497
|
+
class DescribeRepositoriesCommand extends smithyClient.Command
|
|
1498
|
+
.classBuilder()
|
|
1499
|
+
.ep(commonParams)
|
|
1500
|
+
.m(function (Command, cs, config, o) {
|
|
1501
|
+
return [
|
|
1502
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1503
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1504
|
+
];
|
|
1505
|
+
})
|
|
1506
|
+
.s("SpencerFrontendService", "DescribeRepositories", {})
|
|
1507
|
+
.n("ECRPUBLICClient", "DescribeRepositoriesCommand")
|
|
1508
|
+
.f(void 0, void 0)
|
|
1509
|
+
.ser(se_DescribeRepositoriesCommand)
|
|
1510
|
+
.de(de_DescribeRepositoriesCommand)
|
|
1511
|
+
.build() {
|
|
1512
|
+
}
|
|
1923
1513
|
|
|
1514
|
+
class GetAuthorizationTokenCommand extends smithyClient.Command
|
|
1515
|
+
.classBuilder()
|
|
1516
|
+
.ep(commonParams)
|
|
1517
|
+
.m(function (Command, cs, config, o) {
|
|
1518
|
+
return [
|
|
1519
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1520
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1521
|
+
];
|
|
1522
|
+
})
|
|
1523
|
+
.s("SpencerFrontendService", "GetAuthorizationToken", {})
|
|
1524
|
+
.n("ECRPUBLICClient", "GetAuthorizationTokenCommand")
|
|
1525
|
+
.f(void 0, void 0)
|
|
1526
|
+
.ser(se_GetAuthorizationTokenCommand)
|
|
1527
|
+
.de(de_GetAuthorizationTokenCommand)
|
|
1528
|
+
.build() {
|
|
1529
|
+
}
|
|
1924
1530
|
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
(
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
}
|
|
1531
|
+
class GetRegistryCatalogDataCommand extends smithyClient.Command
|
|
1532
|
+
.classBuilder()
|
|
1533
|
+
.ep(commonParams)
|
|
1534
|
+
.m(function (Command, cs, config, o) {
|
|
1535
|
+
return [
|
|
1536
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1537
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1538
|
+
];
|
|
1539
|
+
})
|
|
1540
|
+
.s("SpencerFrontendService", "GetRegistryCatalogData", {})
|
|
1541
|
+
.n("ECRPUBLICClient", "GetRegistryCatalogDataCommand")
|
|
1542
|
+
.f(void 0, void 0)
|
|
1543
|
+
.ser(se_GetRegistryCatalogDataCommand)
|
|
1544
|
+
.de(de_GetRegistryCatalogDataCommand)
|
|
1545
|
+
.build() {
|
|
1546
|
+
}
|
|
1935
1547
|
|
|
1936
|
-
|
|
1548
|
+
class GetRepositoryCatalogDataCommand extends smithyClient.Command
|
|
1549
|
+
.classBuilder()
|
|
1550
|
+
.ep(commonParams)
|
|
1551
|
+
.m(function (Command, cs, config, o) {
|
|
1552
|
+
return [
|
|
1553
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1554
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1555
|
+
];
|
|
1556
|
+
})
|
|
1557
|
+
.s("SpencerFrontendService", "GetRepositoryCatalogData", {})
|
|
1558
|
+
.n("ECRPUBLICClient", "GetRepositoryCatalogDataCommand")
|
|
1559
|
+
.f(void 0, void 0)
|
|
1560
|
+
.ser(se_GetRepositoryCatalogDataCommand)
|
|
1561
|
+
.de(de_GetRepositoryCatalogDataCommand)
|
|
1562
|
+
.build() {
|
|
1563
|
+
}
|
|
1937
1564
|
|
|
1565
|
+
class GetRepositoryPolicyCommand extends smithyClient.Command
|
|
1566
|
+
.classBuilder()
|
|
1567
|
+
.ep(commonParams)
|
|
1568
|
+
.m(function (Command, cs, config, o) {
|
|
1569
|
+
return [
|
|
1570
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1571
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1572
|
+
];
|
|
1573
|
+
})
|
|
1574
|
+
.s("SpencerFrontendService", "GetRepositoryPolicy", {})
|
|
1575
|
+
.n("ECRPUBLICClient", "GetRepositoryPolicyCommand")
|
|
1576
|
+
.f(void 0, void 0)
|
|
1577
|
+
.ser(se_GetRepositoryPolicyCommand)
|
|
1578
|
+
.de(de_GetRepositoryPolicyCommand)
|
|
1579
|
+
.build() {
|
|
1580
|
+
}
|
|
1938
1581
|
|
|
1582
|
+
class InitiateLayerUploadCommand extends smithyClient.Command
|
|
1583
|
+
.classBuilder()
|
|
1584
|
+
.ep(commonParams)
|
|
1585
|
+
.m(function (Command, cs, config, o) {
|
|
1586
|
+
return [
|
|
1587
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1588
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1589
|
+
];
|
|
1590
|
+
})
|
|
1591
|
+
.s("SpencerFrontendService", "InitiateLayerUpload", {})
|
|
1592
|
+
.n("ECRPUBLICClient", "InitiateLayerUploadCommand")
|
|
1593
|
+
.f(void 0, void 0)
|
|
1594
|
+
.ser(se_InitiateLayerUploadCommand)
|
|
1595
|
+
.de(de_InitiateLayerUploadCommand)
|
|
1596
|
+
.build() {
|
|
1597
|
+
}
|
|
1939
1598
|
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
(
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
}
|
|
1599
|
+
class ListTagsForResourceCommand extends smithyClient.Command
|
|
1600
|
+
.classBuilder()
|
|
1601
|
+
.ep(commonParams)
|
|
1602
|
+
.m(function (Command, cs, config, o) {
|
|
1603
|
+
return [
|
|
1604
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1605
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1606
|
+
];
|
|
1607
|
+
})
|
|
1608
|
+
.s("SpencerFrontendService", "ListTagsForResource", {})
|
|
1609
|
+
.n("ECRPUBLICClient", "ListTagsForResourceCommand")
|
|
1610
|
+
.f(void 0, void 0)
|
|
1611
|
+
.ser(se_ListTagsForResourceCommand)
|
|
1612
|
+
.de(de_ListTagsForResourceCommand)
|
|
1613
|
+
.build() {
|
|
1614
|
+
}
|
|
1950
1615
|
|
|
1951
|
-
|
|
1616
|
+
class PutImageCommand extends smithyClient.Command
|
|
1617
|
+
.classBuilder()
|
|
1618
|
+
.ep(commonParams)
|
|
1619
|
+
.m(function (Command, cs, config, o) {
|
|
1620
|
+
return [
|
|
1621
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1622
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1623
|
+
];
|
|
1624
|
+
})
|
|
1625
|
+
.s("SpencerFrontendService", "PutImage", {})
|
|
1626
|
+
.n("ECRPUBLICClient", "PutImageCommand")
|
|
1627
|
+
.f(void 0, void 0)
|
|
1628
|
+
.ser(se_PutImageCommand)
|
|
1629
|
+
.de(de_PutImageCommand)
|
|
1630
|
+
.build() {
|
|
1631
|
+
}
|
|
1952
1632
|
|
|
1633
|
+
class PutRegistryCatalogDataCommand extends smithyClient.Command
|
|
1634
|
+
.classBuilder()
|
|
1635
|
+
.ep(commonParams)
|
|
1636
|
+
.m(function (Command, cs, config, o) {
|
|
1637
|
+
return [
|
|
1638
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1639
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1640
|
+
];
|
|
1641
|
+
})
|
|
1642
|
+
.s("SpencerFrontendService", "PutRegistryCatalogData", {})
|
|
1643
|
+
.n("ECRPUBLICClient", "PutRegistryCatalogDataCommand")
|
|
1644
|
+
.f(void 0, void 0)
|
|
1645
|
+
.ser(se_PutRegistryCatalogDataCommand)
|
|
1646
|
+
.de(de_PutRegistryCatalogDataCommand)
|
|
1647
|
+
.build() {
|
|
1648
|
+
}
|
|
1953
1649
|
|
|
1650
|
+
class PutRepositoryCatalogDataCommand extends smithyClient.Command
|
|
1651
|
+
.classBuilder()
|
|
1652
|
+
.ep(commonParams)
|
|
1653
|
+
.m(function (Command, cs, config, o) {
|
|
1654
|
+
return [
|
|
1655
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1656
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1657
|
+
];
|
|
1658
|
+
})
|
|
1659
|
+
.s("SpencerFrontendService", "PutRepositoryCatalogData", {})
|
|
1660
|
+
.n("ECRPUBLICClient", "PutRepositoryCatalogDataCommand")
|
|
1661
|
+
.f(void 0, void 0)
|
|
1662
|
+
.ser(se_PutRepositoryCatalogDataCommand)
|
|
1663
|
+
.de(de_PutRepositoryCatalogDataCommand)
|
|
1664
|
+
.build() {
|
|
1665
|
+
}
|
|
1954
1666
|
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
(
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
}
|
|
1667
|
+
class SetRepositoryPolicyCommand extends smithyClient.Command
|
|
1668
|
+
.classBuilder()
|
|
1669
|
+
.ep(commonParams)
|
|
1670
|
+
.m(function (Command, cs, config, o) {
|
|
1671
|
+
return [
|
|
1672
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1673
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1674
|
+
];
|
|
1675
|
+
})
|
|
1676
|
+
.s("SpencerFrontendService", "SetRepositoryPolicy", {})
|
|
1677
|
+
.n("ECRPUBLICClient", "SetRepositoryPolicyCommand")
|
|
1678
|
+
.f(void 0, void 0)
|
|
1679
|
+
.ser(se_SetRepositoryPolicyCommand)
|
|
1680
|
+
.de(de_SetRepositoryPolicyCommand)
|
|
1681
|
+
.build() {
|
|
1682
|
+
}
|
|
1965
1683
|
|
|
1966
|
-
|
|
1684
|
+
class TagResourceCommand extends smithyClient.Command
|
|
1685
|
+
.classBuilder()
|
|
1686
|
+
.ep(commonParams)
|
|
1687
|
+
.m(function (Command, cs, config, o) {
|
|
1688
|
+
return [
|
|
1689
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1690
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1691
|
+
];
|
|
1692
|
+
})
|
|
1693
|
+
.s("SpencerFrontendService", "TagResource", {})
|
|
1694
|
+
.n("ECRPUBLICClient", "TagResourceCommand")
|
|
1695
|
+
.f(void 0, void 0)
|
|
1696
|
+
.ser(se_TagResourceCommand)
|
|
1697
|
+
.de(de_TagResourceCommand)
|
|
1698
|
+
.build() {
|
|
1699
|
+
}
|
|
1967
1700
|
|
|
1701
|
+
class UntagResourceCommand extends smithyClient.Command
|
|
1702
|
+
.classBuilder()
|
|
1703
|
+
.ep(commonParams)
|
|
1704
|
+
.m(function (Command, cs, config, o) {
|
|
1705
|
+
return [
|
|
1706
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1707
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1708
|
+
];
|
|
1709
|
+
})
|
|
1710
|
+
.s("SpencerFrontendService", "UntagResource", {})
|
|
1711
|
+
.n("ECRPUBLICClient", "UntagResourceCommand")
|
|
1712
|
+
.f(void 0, void 0)
|
|
1713
|
+
.ser(se_UntagResourceCommand)
|
|
1714
|
+
.de(de_UntagResourceCommand)
|
|
1715
|
+
.build() {
|
|
1716
|
+
}
|
|
1968
1717
|
|
|
1718
|
+
class UploadLayerPartCommand extends smithyClient.Command
|
|
1719
|
+
.classBuilder()
|
|
1720
|
+
.ep(commonParams)
|
|
1721
|
+
.m(function (Command, cs, config, o) {
|
|
1722
|
+
return [
|
|
1723
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1724
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1725
|
+
];
|
|
1726
|
+
})
|
|
1727
|
+
.s("SpencerFrontendService", "UploadLayerPart", {})
|
|
1728
|
+
.n("ECRPUBLICClient", "UploadLayerPartCommand")
|
|
1729
|
+
.f(void 0, void 0)
|
|
1730
|
+
.ser(se_UploadLayerPartCommand)
|
|
1731
|
+
.de(de_UploadLayerPartCommand)
|
|
1732
|
+
.build() {
|
|
1733
|
+
}
|
|
1969
1734
|
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1735
|
+
const commands = {
|
|
1736
|
+
BatchCheckLayerAvailabilityCommand,
|
|
1737
|
+
BatchDeleteImageCommand,
|
|
1738
|
+
CompleteLayerUploadCommand,
|
|
1739
|
+
CreateRepositoryCommand,
|
|
1740
|
+
DeleteRepositoryCommand,
|
|
1741
|
+
DeleteRepositoryPolicyCommand,
|
|
1742
|
+
DescribeImagesCommand,
|
|
1743
|
+
DescribeImageTagsCommand,
|
|
1744
|
+
DescribeRegistriesCommand,
|
|
1745
|
+
DescribeRepositoriesCommand,
|
|
1746
|
+
GetAuthorizationTokenCommand,
|
|
1747
|
+
GetRegistryCatalogDataCommand,
|
|
1748
|
+
GetRepositoryCatalogDataCommand,
|
|
1749
|
+
GetRepositoryPolicyCommand,
|
|
1750
|
+
InitiateLayerUploadCommand,
|
|
1751
|
+
ListTagsForResourceCommand,
|
|
1752
|
+
PutImageCommand,
|
|
1753
|
+
PutRegistryCatalogDataCommand,
|
|
1754
|
+
PutRepositoryCatalogDataCommand,
|
|
1755
|
+
SetRepositoryPolicyCommand,
|
|
1756
|
+
TagResourceCommand,
|
|
1757
|
+
UntagResourceCommand,
|
|
1758
|
+
UploadLayerPartCommand,
|
|
1979
1759
|
};
|
|
1760
|
+
class ECRPUBLIC extends ECRPUBLICClient {
|
|
1761
|
+
}
|
|
1762
|
+
smithyClient.createAggregatedClient(commands, ECRPUBLIC);
|
|
1980
1763
|
|
|
1981
|
-
|
|
1982
|
-
var commands = {
|
|
1983
|
-
BatchCheckLayerAvailabilityCommand,
|
|
1984
|
-
BatchDeleteImageCommand,
|
|
1985
|
-
CompleteLayerUploadCommand,
|
|
1986
|
-
CreateRepositoryCommand,
|
|
1987
|
-
DeleteRepositoryCommand,
|
|
1988
|
-
DeleteRepositoryPolicyCommand,
|
|
1989
|
-
DescribeImagesCommand,
|
|
1990
|
-
DescribeImageTagsCommand,
|
|
1991
|
-
DescribeRegistriesCommand,
|
|
1992
|
-
DescribeRepositoriesCommand,
|
|
1993
|
-
GetAuthorizationTokenCommand,
|
|
1994
|
-
GetRegistryCatalogDataCommand,
|
|
1995
|
-
GetRepositoryCatalogDataCommand,
|
|
1996
|
-
GetRepositoryPolicyCommand,
|
|
1997
|
-
InitiateLayerUploadCommand,
|
|
1998
|
-
ListTagsForResourceCommand,
|
|
1999
|
-
PutImageCommand,
|
|
2000
|
-
PutRegistryCatalogDataCommand,
|
|
2001
|
-
PutRepositoryCatalogDataCommand,
|
|
2002
|
-
SetRepositoryPolicyCommand,
|
|
2003
|
-
TagResourceCommand,
|
|
2004
|
-
UntagResourceCommand,
|
|
2005
|
-
UploadLayerPartCommand
|
|
2006
|
-
};
|
|
2007
|
-
var ECRPUBLIC = class extends ECRPUBLICClient {
|
|
2008
|
-
static {
|
|
2009
|
-
__name(this, "ECRPUBLIC");
|
|
2010
|
-
}
|
|
2011
|
-
};
|
|
2012
|
-
(0, import_smithy_client.createAggregatedClient)(commands, ECRPUBLIC);
|
|
2013
|
-
|
|
2014
|
-
// src/pagination/DescribeImageTagsPaginator.ts
|
|
2015
|
-
|
|
2016
|
-
var paginateDescribeImageTags = (0, import_core.createPaginator)(ECRPUBLICClient, DescribeImageTagsCommand, "nextToken", "nextToken", "maxResults");
|
|
2017
|
-
|
|
2018
|
-
// src/pagination/DescribeImagesPaginator.ts
|
|
2019
|
-
|
|
2020
|
-
var paginateDescribeImages = (0, import_core.createPaginator)(ECRPUBLICClient, DescribeImagesCommand, "nextToken", "nextToken", "maxResults");
|
|
2021
|
-
|
|
2022
|
-
// src/pagination/DescribeRegistriesPaginator.ts
|
|
1764
|
+
const paginateDescribeImageTags = core.createPaginator(ECRPUBLICClient, DescribeImageTagsCommand, "nextToken", "nextToken", "maxResults");
|
|
2023
1765
|
|
|
2024
|
-
|
|
1766
|
+
const paginateDescribeImages = core.createPaginator(ECRPUBLICClient, DescribeImagesCommand, "nextToken", "nextToken", "maxResults");
|
|
2025
1767
|
|
|
2026
|
-
|
|
1768
|
+
const paginateDescribeRegistries = core.createPaginator(ECRPUBLICClient, DescribeRegistriesCommand, "nextToken", "nextToken", "maxResults");
|
|
2027
1769
|
|
|
2028
|
-
|
|
2029
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
1770
|
+
const paginateDescribeRepositories = core.createPaginator(ECRPUBLICClient, DescribeRepositoriesCommand, "nextToken", "nextToken", "maxResults");
|
|
2030
1771
|
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
ECRPUBLICClient,
|
|
2035
|
-
ECRPUBLIC,
|
|
2036
|
-
$Command,
|
|
2037
|
-
BatchCheckLayerAvailabilityCommand,
|
|
2038
|
-
BatchDeleteImageCommand,
|
|
2039
|
-
CompleteLayerUploadCommand,
|
|
2040
|
-
CreateRepositoryCommand,
|
|
2041
|
-
DeleteRepositoryCommand,
|
|
2042
|
-
DeleteRepositoryPolicyCommand,
|
|
2043
|
-
DescribeImageTagsCommand,
|
|
2044
|
-
DescribeImagesCommand,
|
|
2045
|
-
DescribeRegistriesCommand,
|
|
2046
|
-
DescribeRepositoriesCommand,
|
|
2047
|
-
GetAuthorizationTokenCommand,
|
|
2048
|
-
GetRegistryCatalogDataCommand,
|
|
2049
|
-
GetRepositoryCatalogDataCommand,
|
|
2050
|
-
GetRepositoryPolicyCommand,
|
|
2051
|
-
InitiateLayerUploadCommand,
|
|
2052
|
-
ListTagsForResourceCommand,
|
|
2053
|
-
PutImageCommand,
|
|
2054
|
-
PutRegistryCatalogDataCommand,
|
|
2055
|
-
PutRepositoryCatalogDataCommand,
|
|
2056
|
-
SetRepositoryPolicyCommand,
|
|
2057
|
-
TagResourceCommand,
|
|
2058
|
-
UntagResourceCommand,
|
|
2059
|
-
UploadLayerPartCommand,
|
|
2060
|
-
paginateDescribeImageTags,
|
|
2061
|
-
paginateDescribeImages,
|
|
2062
|
-
paginateDescribeRegistries,
|
|
2063
|
-
paginateDescribeRepositories,
|
|
2064
|
-
LayerFailureCode,
|
|
2065
|
-
LayerAvailability,
|
|
2066
|
-
InvalidParameterException,
|
|
2067
|
-
RegistryNotFoundException,
|
|
2068
|
-
RepositoryNotFoundException,
|
|
2069
|
-
ServerException,
|
|
2070
|
-
UnsupportedCommandException,
|
|
2071
|
-
ImageFailureCode,
|
|
2072
|
-
EmptyUploadException,
|
|
2073
|
-
InvalidLayerException,
|
|
2074
|
-
LayerAlreadyExistsException,
|
|
2075
|
-
LayerPartTooSmallException,
|
|
2076
|
-
UploadNotFoundException,
|
|
2077
|
-
InvalidTagParameterException,
|
|
2078
|
-
LimitExceededException,
|
|
2079
|
-
RepositoryAlreadyExistsException,
|
|
2080
|
-
TooManyTagsException,
|
|
2081
|
-
RepositoryNotEmptyException,
|
|
2082
|
-
RepositoryPolicyNotFoundException,
|
|
2083
|
-
ImageNotFoundException,
|
|
2084
|
-
RegistryAliasStatus,
|
|
2085
|
-
RepositoryCatalogDataNotFoundException,
|
|
2086
|
-
ImageAlreadyExistsException,
|
|
2087
|
-
ImageDigestDoesNotMatchException,
|
|
2088
|
-
ImageTagAlreadyExistsException,
|
|
2089
|
-
InvalidLayerPartException,
|
|
2090
|
-
LayersNotFoundException,
|
|
2091
|
-
ReferencedImagesNotFoundException
|
|
1772
|
+
Object.defineProperty(exports, "$Command", {
|
|
1773
|
+
enumerable: true,
|
|
1774
|
+
get: function () { return smithyClient.Command; }
|
|
2092
1775
|
});
|
|
2093
|
-
|
|
1776
|
+
Object.defineProperty(exports, "__Client", {
|
|
1777
|
+
enumerable: true,
|
|
1778
|
+
get: function () { return smithyClient.Client; }
|
|
1779
|
+
});
|
|
1780
|
+
exports.BatchCheckLayerAvailabilityCommand = BatchCheckLayerAvailabilityCommand;
|
|
1781
|
+
exports.BatchDeleteImageCommand = BatchDeleteImageCommand;
|
|
1782
|
+
exports.CompleteLayerUploadCommand = CompleteLayerUploadCommand;
|
|
1783
|
+
exports.CreateRepositoryCommand = CreateRepositoryCommand;
|
|
1784
|
+
exports.DeleteRepositoryCommand = DeleteRepositoryCommand;
|
|
1785
|
+
exports.DeleteRepositoryPolicyCommand = DeleteRepositoryPolicyCommand;
|
|
1786
|
+
exports.DescribeImageTagsCommand = DescribeImageTagsCommand;
|
|
1787
|
+
exports.DescribeImagesCommand = DescribeImagesCommand;
|
|
1788
|
+
exports.DescribeRegistriesCommand = DescribeRegistriesCommand;
|
|
1789
|
+
exports.DescribeRepositoriesCommand = DescribeRepositoriesCommand;
|
|
1790
|
+
exports.ECRPUBLIC = ECRPUBLIC;
|
|
1791
|
+
exports.ECRPUBLICClient = ECRPUBLICClient;
|
|
1792
|
+
exports.ECRPUBLICServiceException = ECRPUBLICServiceException;
|
|
1793
|
+
exports.EmptyUploadException = EmptyUploadException;
|
|
1794
|
+
exports.GetAuthorizationTokenCommand = GetAuthorizationTokenCommand;
|
|
1795
|
+
exports.GetRegistryCatalogDataCommand = GetRegistryCatalogDataCommand;
|
|
1796
|
+
exports.GetRepositoryCatalogDataCommand = GetRepositoryCatalogDataCommand;
|
|
1797
|
+
exports.GetRepositoryPolicyCommand = GetRepositoryPolicyCommand;
|
|
1798
|
+
exports.ImageAlreadyExistsException = ImageAlreadyExistsException;
|
|
1799
|
+
exports.ImageDigestDoesNotMatchException = ImageDigestDoesNotMatchException;
|
|
1800
|
+
exports.ImageFailureCode = ImageFailureCode;
|
|
1801
|
+
exports.ImageNotFoundException = ImageNotFoundException;
|
|
1802
|
+
exports.ImageTagAlreadyExistsException = ImageTagAlreadyExistsException;
|
|
1803
|
+
exports.InitiateLayerUploadCommand = InitiateLayerUploadCommand;
|
|
1804
|
+
exports.InvalidLayerException = InvalidLayerException;
|
|
1805
|
+
exports.InvalidLayerPartException = InvalidLayerPartException;
|
|
1806
|
+
exports.InvalidParameterException = InvalidParameterException;
|
|
1807
|
+
exports.InvalidTagParameterException = InvalidTagParameterException;
|
|
1808
|
+
exports.LayerAlreadyExistsException = LayerAlreadyExistsException;
|
|
1809
|
+
exports.LayerAvailability = LayerAvailability;
|
|
1810
|
+
exports.LayerFailureCode = LayerFailureCode;
|
|
1811
|
+
exports.LayerPartTooSmallException = LayerPartTooSmallException;
|
|
1812
|
+
exports.LayersNotFoundException = LayersNotFoundException;
|
|
1813
|
+
exports.LimitExceededException = LimitExceededException;
|
|
1814
|
+
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
1815
|
+
exports.PutImageCommand = PutImageCommand;
|
|
1816
|
+
exports.PutRegistryCatalogDataCommand = PutRegistryCatalogDataCommand;
|
|
1817
|
+
exports.PutRepositoryCatalogDataCommand = PutRepositoryCatalogDataCommand;
|
|
1818
|
+
exports.ReferencedImagesNotFoundException = ReferencedImagesNotFoundException;
|
|
1819
|
+
exports.RegistryAliasStatus = RegistryAliasStatus;
|
|
1820
|
+
exports.RegistryNotFoundException = RegistryNotFoundException;
|
|
1821
|
+
exports.RepositoryAlreadyExistsException = RepositoryAlreadyExistsException;
|
|
1822
|
+
exports.RepositoryCatalogDataNotFoundException = RepositoryCatalogDataNotFoundException;
|
|
1823
|
+
exports.RepositoryNotEmptyException = RepositoryNotEmptyException;
|
|
1824
|
+
exports.RepositoryNotFoundException = RepositoryNotFoundException;
|
|
1825
|
+
exports.RepositoryPolicyNotFoundException = RepositoryPolicyNotFoundException;
|
|
1826
|
+
exports.ServerException = ServerException;
|
|
1827
|
+
exports.SetRepositoryPolicyCommand = SetRepositoryPolicyCommand;
|
|
1828
|
+
exports.TagResourceCommand = TagResourceCommand;
|
|
1829
|
+
exports.TooManyTagsException = TooManyTagsException;
|
|
1830
|
+
exports.UnsupportedCommandException = UnsupportedCommandException;
|
|
1831
|
+
exports.UntagResourceCommand = UntagResourceCommand;
|
|
1832
|
+
exports.UploadLayerPartCommand = UploadLayerPartCommand;
|
|
1833
|
+
exports.UploadNotFoundException = UploadNotFoundException;
|
|
1834
|
+
exports.paginateDescribeImageTags = paginateDescribeImageTags;
|
|
1835
|
+
exports.paginateDescribeImages = paginateDescribeImages;
|
|
1836
|
+
exports.paginateDescribeRegistries = paginateDescribeRegistries;
|
|
1837
|
+
exports.paginateDescribeRepositories = paginateDescribeRepositories;
|