@aws-sdk/client-marketplace-deployment 3.490.0 → 3.495.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/MarketplaceDeployment.js +1 -19
- package/dist-cjs/MarketplaceDeploymentClient.js +1 -43
- package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
- package/dist-cjs/commands/PutDeploymentParameterCommand.js +1 -29
- package/dist-cjs/commands/TagResourceCommand.js +1 -28
- package/dist-cjs/commands/UntagResourceCommand.js +1 -28
- package/dist-cjs/commands/index.js +1 -7
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +784 -10
- package/dist-cjs/models/MarketplaceDeploymentServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -114
- package/dist-cjs/protocols/Aws_restJson1.js +1 -407
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/package.json +40 -40
package/dist-cjs/index.js
CHANGED
|
@@ -1,11 +1,785 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.defineProperty
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
|
|
21
|
+
// src/index.ts
|
|
22
|
+
var src_exports = {};
|
|
23
|
+
__export(src_exports, {
|
|
24
|
+
AccessDeniedException: () => AccessDeniedException,
|
|
25
|
+
ConflictException: () => ConflictException,
|
|
26
|
+
DeploymentParameterInputFilterSensitiveLog: () => DeploymentParameterInputFilterSensitiveLog,
|
|
27
|
+
InternalServerException: () => InternalServerException,
|
|
28
|
+
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
29
|
+
MarketplaceDeployment: () => MarketplaceDeployment,
|
|
30
|
+
MarketplaceDeploymentClient: () => MarketplaceDeploymentClient,
|
|
31
|
+
MarketplaceDeploymentServiceException: () => MarketplaceDeploymentServiceException,
|
|
32
|
+
PutDeploymentParameterCommand: () => PutDeploymentParameterCommand,
|
|
33
|
+
PutDeploymentParameterRequestFilterSensitiveLog: () => PutDeploymentParameterRequestFilterSensitiveLog,
|
|
34
|
+
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
35
|
+
ServiceQuotaExceededException: () => ServiceQuotaExceededException,
|
|
36
|
+
TagResourceCommand: () => TagResourceCommand,
|
|
37
|
+
ThrottlingException: () => ThrottlingException,
|
|
38
|
+
UntagResourceCommand: () => UntagResourceCommand,
|
|
39
|
+
ValidationException: () => ValidationException,
|
|
40
|
+
__Client: () => import_smithy_client.Client
|
|
41
|
+
});
|
|
42
|
+
module.exports = __toCommonJS(src_exports);
|
|
43
|
+
|
|
44
|
+
// src/MarketplaceDeploymentClient.ts
|
|
45
|
+
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
46
|
+
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
47
|
+
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
48
|
+
var import_middleware_signing = require("@aws-sdk/middleware-signing");
|
|
49
|
+
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
50
|
+
var import_config_resolver = require("@smithy/config-resolver");
|
|
51
|
+
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
52
|
+
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
53
|
+
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
// src/endpoint/EndpointParameters.ts
|
|
57
|
+
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
58
|
+
return {
|
|
59
|
+
...options,
|
|
60
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
61
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
62
|
+
defaultSigningName: "aws-marketplace"
|
|
63
|
+
};
|
|
64
|
+
}, "resolveClientEndpointParameters");
|
|
65
|
+
var commonParams = {
|
|
66
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
67
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
68
|
+
Region: { type: "builtInParams", name: "region" },
|
|
69
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
// src/MarketplaceDeploymentClient.ts
|
|
73
|
+
var import_runtimeConfig = require("././runtimeConfig");
|
|
74
|
+
|
|
75
|
+
// src/runtimeExtensions.ts
|
|
76
|
+
var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
|
|
77
|
+
var import_protocol_http = require("@smithy/protocol-http");
|
|
78
|
+
var import_smithy_client = require("@smithy/smithy-client");
|
|
79
|
+
var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
|
|
80
|
+
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
81
|
+
const extensionConfiguration = {
|
|
82
|
+
...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
|
83
|
+
...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
84
|
+
...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
|
|
85
|
+
};
|
|
86
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
87
|
+
return {
|
|
88
|
+
...runtimeConfig,
|
|
89
|
+
...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
90
|
+
...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
91
|
+
...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
|
|
92
|
+
};
|
|
93
|
+
}, "resolveRuntimeExtensions");
|
|
94
|
+
|
|
95
|
+
// src/MarketplaceDeploymentClient.ts
|
|
96
|
+
var _MarketplaceDeploymentClient = class _MarketplaceDeploymentClient extends import_smithy_client.Client {
|
|
97
|
+
constructor(...[configuration]) {
|
|
98
|
+
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
99
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
100
|
+
const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
|
|
101
|
+
const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
|
|
102
|
+
const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
|
|
103
|
+
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
104
|
+
const _config_6 = (0, import_middleware_signing.resolveAwsAuthConfig)(_config_5);
|
|
105
|
+
const _config_7 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_6);
|
|
106
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
107
|
+
super(_config_8);
|
|
108
|
+
this.config = _config_8;
|
|
109
|
+
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
110
|
+
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
111
|
+
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
112
|
+
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
113
|
+
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
114
|
+
this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
|
|
115
|
+
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
119
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
120
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
121
|
+
*/
|
|
122
|
+
destroy() {
|
|
123
|
+
super.destroy();
|
|
124
|
+
}
|
|
125
|
+
};
|
|
126
|
+
__name(_MarketplaceDeploymentClient, "MarketplaceDeploymentClient");
|
|
127
|
+
var MarketplaceDeploymentClient = _MarketplaceDeploymentClient;
|
|
128
|
+
|
|
129
|
+
// src/MarketplaceDeployment.ts
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
// src/commands/ListTagsForResourceCommand.ts
|
|
133
|
+
|
|
134
|
+
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
135
|
+
|
|
136
|
+
var import_types = require("@smithy/types");
|
|
137
|
+
|
|
138
|
+
// src/protocols/Aws_restJson1.ts
|
|
139
|
+
var import_core = require("@smithy/core");
|
|
140
|
+
|
|
141
|
+
var import_uuid = require("uuid");
|
|
142
|
+
|
|
143
|
+
// src/models/MarketplaceDeploymentServiceException.ts
|
|
144
|
+
|
|
145
|
+
var _MarketplaceDeploymentServiceException = class _MarketplaceDeploymentServiceException extends import_smithy_client.ServiceException {
|
|
146
|
+
/**
|
|
147
|
+
* @internal
|
|
148
|
+
*/
|
|
149
|
+
constructor(options) {
|
|
150
|
+
super(options);
|
|
151
|
+
Object.setPrototypeOf(this, _MarketplaceDeploymentServiceException.prototype);
|
|
152
|
+
}
|
|
153
|
+
};
|
|
154
|
+
__name(_MarketplaceDeploymentServiceException, "MarketplaceDeploymentServiceException");
|
|
155
|
+
var MarketplaceDeploymentServiceException = _MarketplaceDeploymentServiceException;
|
|
156
|
+
|
|
157
|
+
// src/models/models_0.ts
|
|
158
|
+
|
|
159
|
+
var _AccessDeniedException = class _AccessDeniedException extends MarketplaceDeploymentServiceException {
|
|
160
|
+
/**
|
|
161
|
+
* @internal
|
|
162
|
+
*/
|
|
163
|
+
constructor(opts) {
|
|
164
|
+
super({
|
|
165
|
+
name: "AccessDeniedException",
|
|
166
|
+
$fault: "client",
|
|
167
|
+
...opts
|
|
168
|
+
});
|
|
169
|
+
this.name = "AccessDeniedException";
|
|
170
|
+
this.$fault = "client";
|
|
171
|
+
Object.setPrototypeOf(this, _AccessDeniedException.prototype);
|
|
172
|
+
}
|
|
173
|
+
};
|
|
174
|
+
__name(_AccessDeniedException, "AccessDeniedException");
|
|
175
|
+
var AccessDeniedException = _AccessDeniedException;
|
|
176
|
+
var _ConflictException = class _ConflictException extends MarketplaceDeploymentServiceException {
|
|
177
|
+
/**
|
|
178
|
+
* @internal
|
|
179
|
+
*/
|
|
180
|
+
constructor(opts) {
|
|
181
|
+
super({
|
|
182
|
+
name: "ConflictException",
|
|
183
|
+
$fault: "client",
|
|
184
|
+
...opts
|
|
185
|
+
});
|
|
186
|
+
this.name = "ConflictException";
|
|
187
|
+
this.$fault = "client";
|
|
188
|
+
Object.setPrototypeOf(this, _ConflictException.prototype);
|
|
189
|
+
this.resourceId = opts.resourceId;
|
|
190
|
+
}
|
|
191
|
+
};
|
|
192
|
+
__name(_ConflictException, "ConflictException");
|
|
193
|
+
var ConflictException = _ConflictException;
|
|
194
|
+
var _InternalServerException = class _InternalServerException extends MarketplaceDeploymentServiceException {
|
|
195
|
+
/**
|
|
196
|
+
* @internal
|
|
197
|
+
*/
|
|
198
|
+
constructor(opts) {
|
|
199
|
+
super({
|
|
200
|
+
name: "InternalServerException",
|
|
201
|
+
$fault: "server",
|
|
202
|
+
...opts
|
|
203
|
+
});
|
|
204
|
+
this.name = "InternalServerException";
|
|
205
|
+
this.$fault = "server";
|
|
206
|
+
this.$retryable = {};
|
|
207
|
+
Object.setPrototypeOf(this, _InternalServerException.prototype);
|
|
208
|
+
}
|
|
209
|
+
};
|
|
210
|
+
__name(_InternalServerException, "InternalServerException");
|
|
211
|
+
var InternalServerException = _InternalServerException;
|
|
212
|
+
var _ResourceNotFoundException = class _ResourceNotFoundException extends MarketplaceDeploymentServiceException {
|
|
213
|
+
/**
|
|
214
|
+
* @internal
|
|
215
|
+
*/
|
|
216
|
+
constructor(opts) {
|
|
217
|
+
super({
|
|
218
|
+
name: "ResourceNotFoundException",
|
|
219
|
+
$fault: "client",
|
|
220
|
+
...opts
|
|
221
|
+
});
|
|
222
|
+
this.name = "ResourceNotFoundException";
|
|
223
|
+
this.$fault = "client";
|
|
224
|
+
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
225
|
+
}
|
|
226
|
+
};
|
|
227
|
+
__name(_ResourceNotFoundException, "ResourceNotFoundException");
|
|
228
|
+
var ResourceNotFoundException = _ResourceNotFoundException;
|
|
229
|
+
var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends MarketplaceDeploymentServiceException {
|
|
230
|
+
/**
|
|
231
|
+
* @internal
|
|
232
|
+
*/
|
|
233
|
+
constructor(opts) {
|
|
234
|
+
super({
|
|
235
|
+
name: "ServiceQuotaExceededException",
|
|
236
|
+
$fault: "client",
|
|
237
|
+
...opts
|
|
238
|
+
});
|
|
239
|
+
this.name = "ServiceQuotaExceededException";
|
|
240
|
+
this.$fault = "client";
|
|
241
|
+
Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
|
|
242
|
+
}
|
|
243
|
+
};
|
|
244
|
+
__name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
|
|
245
|
+
var ServiceQuotaExceededException = _ServiceQuotaExceededException;
|
|
246
|
+
var _ThrottlingException = class _ThrottlingException extends MarketplaceDeploymentServiceException {
|
|
247
|
+
/**
|
|
248
|
+
* @internal
|
|
249
|
+
*/
|
|
250
|
+
constructor(opts) {
|
|
251
|
+
super({
|
|
252
|
+
name: "ThrottlingException",
|
|
253
|
+
$fault: "client",
|
|
254
|
+
...opts
|
|
255
|
+
});
|
|
256
|
+
this.name = "ThrottlingException";
|
|
257
|
+
this.$fault = "client";
|
|
258
|
+
this.$retryable = {
|
|
259
|
+
throttling: true
|
|
260
|
+
};
|
|
261
|
+
Object.setPrototypeOf(this, _ThrottlingException.prototype);
|
|
262
|
+
}
|
|
263
|
+
};
|
|
264
|
+
__name(_ThrottlingException, "ThrottlingException");
|
|
265
|
+
var ThrottlingException = _ThrottlingException;
|
|
266
|
+
var _ValidationException = class _ValidationException extends MarketplaceDeploymentServiceException {
|
|
267
|
+
/**
|
|
268
|
+
* @internal
|
|
269
|
+
*/
|
|
270
|
+
constructor(opts) {
|
|
271
|
+
super({
|
|
272
|
+
name: "ValidationException",
|
|
273
|
+
$fault: "client",
|
|
274
|
+
...opts
|
|
275
|
+
});
|
|
276
|
+
this.name = "ValidationException";
|
|
277
|
+
this.$fault = "client";
|
|
278
|
+
Object.setPrototypeOf(this, _ValidationException.prototype);
|
|
279
|
+
this.fieldName = opts.fieldName;
|
|
280
|
+
}
|
|
281
|
+
};
|
|
282
|
+
__name(_ValidationException, "ValidationException");
|
|
283
|
+
var ValidationException = _ValidationException;
|
|
284
|
+
var DeploymentParameterInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
285
|
+
...obj,
|
|
286
|
+
...obj.secretString && { secretString: import_smithy_client.SENSITIVE_STRING }
|
|
287
|
+
}), "DeploymentParameterInputFilterSensitiveLog");
|
|
288
|
+
var PutDeploymentParameterRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
289
|
+
...obj,
|
|
290
|
+
...obj.deploymentParameter && {
|
|
291
|
+
deploymentParameter: DeploymentParameterInputFilterSensitiveLog(obj.deploymentParameter)
|
|
292
|
+
}
|
|
293
|
+
}), "PutDeploymentParameterRequestFilterSensitiveLog");
|
|
294
|
+
|
|
295
|
+
// src/protocols/Aws_restJson1.ts
|
|
296
|
+
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
297
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
298
|
+
const headers = {};
|
|
299
|
+
b.bp("/tags/{resourceArn}");
|
|
300
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
301
|
+
let body;
|
|
302
|
+
b.m("GET").h(headers).b(body);
|
|
303
|
+
return b.build();
|
|
304
|
+
}, "se_ListTagsForResourceCommand");
|
|
305
|
+
var se_PutDeploymentParameterCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
306
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
307
|
+
const headers = {
|
|
308
|
+
"content-type": "application/json"
|
|
309
|
+
};
|
|
310
|
+
b.bp("/catalogs/{catalog}/products/{productId}/deployment-parameters");
|
|
311
|
+
b.p("catalog", () => input.catalog, "{catalog}", false);
|
|
312
|
+
b.p("productId", () => input.productId, "{productId}", false);
|
|
313
|
+
let body;
|
|
314
|
+
body = JSON.stringify(
|
|
315
|
+
(0, import_smithy_client.take)(input, {
|
|
316
|
+
agreementId: [],
|
|
317
|
+
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
318
|
+
deploymentParameter: (_) => (0, import_smithy_client._json)(_),
|
|
319
|
+
expirationDate: (_) => _.toISOString().split(".")[0] + "Z",
|
|
320
|
+
tags: (_) => (0, import_smithy_client._json)(_)
|
|
321
|
+
})
|
|
322
|
+
);
|
|
323
|
+
b.m("POST").h(headers).b(body);
|
|
324
|
+
return b.build();
|
|
325
|
+
}, "se_PutDeploymentParameterCommand");
|
|
326
|
+
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
327
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
328
|
+
const headers = {
|
|
329
|
+
"content-type": "application/json"
|
|
330
|
+
};
|
|
331
|
+
b.bp("/tags/{resourceArn}");
|
|
332
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
333
|
+
let body;
|
|
334
|
+
body = JSON.stringify(
|
|
335
|
+
(0, import_smithy_client.take)(input, {
|
|
336
|
+
tags: (_) => (0, import_smithy_client._json)(_)
|
|
337
|
+
})
|
|
338
|
+
);
|
|
339
|
+
b.m("POST").h(headers).b(body);
|
|
340
|
+
return b.build();
|
|
341
|
+
}, "se_TagResourceCommand");
|
|
342
|
+
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
343
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
344
|
+
const headers = {};
|
|
345
|
+
b.bp("/tags/{resourceArn}");
|
|
346
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
347
|
+
const query = (0, import_smithy_client.map)({
|
|
348
|
+
[_tK]: [
|
|
349
|
+
(0, import_smithy_client.expectNonNull)(input.tagKeys, `tagKeys`) != null,
|
|
350
|
+
() => (input[_tK] || []).map((_entry) => _entry)
|
|
351
|
+
]
|
|
352
|
+
});
|
|
353
|
+
let body;
|
|
354
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
355
|
+
return b.build();
|
|
356
|
+
}, "se_UntagResourceCommand");
|
|
357
|
+
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
358
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
359
|
+
return de_ListTagsForResourceCommandError(output, context);
|
|
360
|
+
}
|
|
361
|
+
const contents = (0, import_smithy_client.map)({
|
|
362
|
+
$metadata: deserializeMetadata(output)
|
|
363
|
+
});
|
|
364
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
365
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
366
|
+
tags: import_smithy_client._json
|
|
367
|
+
});
|
|
368
|
+
Object.assign(contents, doc);
|
|
369
|
+
return contents;
|
|
370
|
+
}, "de_ListTagsForResourceCommand");
|
|
371
|
+
var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
372
|
+
const parsedOutput = {
|
|
373
|
+
...output,
|
|
374
|
+
body: await parseErrorBody(output.body, context)
|
|
375
|
+
};
|
|
376
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
377
|
+
switch (errorCode) {
|
|
378
|
+
case "AccessDeniedException":
|
|
379
|
+
case "com.amazonaws.marketplacedeployment#AccessDeniedException":
|
|
380
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
381
|
+
case "InternalServerException":
|
|
382
|
+
case "com.amazonaws.marketplacedeployment#InternalServerException":
|
|
383
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
384
|
+
case "ResourceNotFoundException":
|
|
385
|
+
case "com.amazonaws.marketplacedeployment#ResourceNotFoundException":
|
|
386
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
387
|
+
case "ThrottlingException":
|
|
388
|
+
case "com.amazonaws.marketplacedeployment#ThrottlingException":
|
|
389
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
390
|
+
case "ValidationException":
|
|
391
|
+
case "com.amazonaws.marketplacedeployment#ValidationException":
|
|
392
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
393
|
+
default:
|
|
394
|
+
const parsedBody = parsedOutput.body;
|
|
395
|
+
return throwDefaultError({
|
|
396
|
+
output,
|
|
397
|
+
parsedBody,
|
|
398
|
+
errorCode
|
|
399
|
+
});
|
|
400
|
+
}
|
|
401
|
+
}, "de_ListTagsForResourceCommandError");
|
|
402
|
+
var de_PutDeploymentParameterCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
403
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
404
|
+
return de_PutDeploymentParameterCommandError(output, context);
|
|
405
|
+
}
|
|
406
|
+
const contents = (0, import_smithy_client.map)({
|
|
407
|
+
$metadata: deserializeMetadata(output)
|
|
408
|
+
});
|
|
409
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
410
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
411
|
+
agreementId: import_smithy_client.expectString,
|
|
412
|
+
deploymentParameterId: import_smithy_client.expectString,
|
|
413
|
+
resourceArn: import_smithy_client.expectString,
|
|
414
|
+
tags: import_smithy_client._json
|
|
415
|
+
});
|
|
416
|
+
Object.assign(contents, doc);
|
|
417
|
+
return contents;
|
|
418
|
+
}, "de_PutDeploymentParameterCommand");
|
|
419
|
+
var de_PutDeploymentParameterCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
420
|
+
const parsedOutput = {
|
|
421
|
+
...output,
|
|
422
|
+
body: await parseErrorBody(output.body, context)
|
|
423
|
+
};
|
|
424
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
425
|
+
switch (errorCode) {
|
|
426
|
+
case "AccessDeniedException":
|
|
427
|
+
case "com.amazonaws.marketplacedeployment#AccessDeniedException":
|
|
428
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
429
|
+
case "ConflictException":
|
|
430
|
+
case "com.amazonaws.marketplacedeployment#ConflictException":
|
|
431
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
432
|
+
case "InternalServerException":
|
|
433
|
+
case "com.amazonaws.marketplacedeployment#InternalServerException":
|
|
434
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
435
|
+
case "ResourceNotFoundException":
|
|
436
|
+
case "com.amazonaws.marketplacedeployment#ResourceNotFoundException":
|
|
437
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
438
|
+
case "ServiceQuotaExceededException":
|
|
439
|
+
case "com.amazonaws.marketplacedeployment#ServiceQuotaExceededException":
|
|
440
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
441
|
+
case "ThrottlingException":
|
|
442
|
+
case "com.amazonaws.marketplacedeployment#ThrottlingException":
|
|
443
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
444
|
+
case "ValidationException":
|
|
445
|
+
case "com.amazonaws.marketplacedeployment#ValidationException":
|
|
446
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
447
|
+
default:
|
|
448
|
+
const parsedBody = parsedOutput.body;
|
|
449
|
+
return throwDefaultError({
|
|
450
|
+
output,
|
|
451
|
+
parsedBody,
|
|
452
|
+
errorCode
|
|
453
|
+
});
|
|
454
|
+
}
|
|
455
|
+
}, "de_PutDeploymentParameterCommandError");
|
|
456
|
+
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
457
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
458
|
+
return de_TagResourceCommandError(output, context);
|
|
459
|
+
}
|
|
460
|
+
const contents = (0, import_smithy_client.map)({
|
|
461
|
+
$metadata: deserializeMetadata(output)
|
|
462
|
+
});
|
|
463
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
464
|
+
return contents;
|
|
465
|
+
}, "de_TagResourceCommand");
|
|
466
|
+
var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
467
|
+
const parsedOutput = {
|
|
468
|
+
...output,
|
|
469
|
+
body: await parseErrorBody(output.body, context)
|
|
470
|
+
};
|
|
471
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
472
|
+
switch (errorCode) {
|
|
473
|
+
case "AccessDeniedException":
|
|
474
|
+
case "com.amazonaws.marketplacedeployment#AccessDeniedException":
|
|
475
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
476
|
+
case "ConflictException":
|
|
477
|
+
case "com.amazonaws.marketplacedeployment#ConflictException":
|
|
478
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
479
|
+
case "InternalServerException":
|
|
480
|
+
case "com.amazonaws.marketplacedeployment#InternalServerException":
|
|
481
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
482
|
+
case "ResourceNotFoundException":
|
|
483
|
+
case "com.amazonaws.marketplacedeployment#ResourceNotFoundException":
|
|
484
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
485
|
+
case "ThrottlingException":
|
|
486
|
+
case "com.amazonaws.marketplacedeployment#ThrottlingException":
|
|
487
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
488
|
+
case "ValidationException":
|
|
489
|
+
case "com.amazonaws.marketplacedeployment#ValidationException":
|
|
490
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
491
|
+
default:
|
|
492
|
+
const parsedBody = parsedOutput.body;
|
|
493
|
+
return throwDefaultError({
|
|
494
|
+
output,
|
|
495
|
+
parsedBody,
|
|
496
|
+
errorCode
|
|
497
|
+
});
|
|
498
|
+
}
|
|
499
|
+
}, "de_TagResourceCommandError");
|
|
500
|
+
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
501
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
502
|
+
return de_UntagResourceCommandError(output, context);
|
|
503
|
+
}
|
|
504
|
+
const contents = (0, import_smithy_client.map)({
|
|
505
|
+
$metadata: deserializeMetadata(output)
|
|
506
|
+
});
|
|
507
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
508
|
+
return contents;
|
|
509
|
+
}, "de_UntagResourceCommand");
|
|
510
|
+
var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
511
|
+
const parsedOutput = {
|
|
512
|
+
...output,
|
|
513
|
+
body: await parseErrorBody(output.body, context)
|
|
514
|
+
};
|
|
515
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
516
|
+
switch (errorCode) {
|
|
517
|
+
case "AccessDeniedException":
|
|
518
|
+
case "com.amazonaws.marketplacedeployment#AccessDeniedException":
|
|
519
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
520
|
+
case "ConflictException":
|
|
521
|
+
case "com.amazonaws.marketplacedeployment#ConflictException":
|
|
522
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
523
|
+
case "InternalServerException":
|
|
524
|
+
case "com.amazonaws.marketplacedeployment#InternalServerException":
|
|
525
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
526
|
+
case "ResourceNotFoundException":
|
|
527
|
+
case "com.amazonaws.marketplacedeployment#ResourceNotFoundException":
|
|
528
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
529
|
+
case "ThrottlingException":
|
|
530
|
+
case "com.amazonaws.marketplacedeployment#ThrottlingException":
|
|
531
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
532
|
+
case "ValidationException":
|
|
533
|
+
case "com.amazonaws.marketplacedeployment#ValidationException":
|
|
534
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
535
|
+
default:
|
|
536
|
+
const parsedBody = parsedOutput.body;
|
|
537
|
+
return throwDefaultError({
|
|
538
|
+
output,
|
|
539
|
+
parsedBody,
|
|
540
|
+
errorCode
|
|
541
|
+
});
|
|
542
|
+
}
|
|
543
|
+
}, "de_UntagResourceCommandError");
|
|
544
|
+
var throwDefaultError = (0, import_smithy_client.withBaseException)(MarketplaceDeploymentServiceException);
|
|
545
|
+
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
546
|
+
const contents = (0, import_smithy_client.map)({});
|
|
547
|
+
const data = parsedOutput.body;
|
|
548
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
549
|
+
message: import_smithy_client.expectString
|
|
550
|
+
});
|
|
551
|
+
Object.assign(contents, doc);
|
|
552
|
+
const exception = new AccessDeniedException({
|
|
553
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
554
|
+
...contents
|
|
555
|
+
});
|
|
556
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
557
|
+
}, "de_AccessDeniedExceptionRes");
|
|
558
|
+
var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
559
|
+
const contents = (0, import_smithy_client.map)({});
|
|
560
|
+
const data = parsedOutput.body;
|
|
561
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
562
|
+
message: import_smithy_client.expectString,
|
|
563
|
+
resourceId: import_smithy_client.expectString
|
|
564
|
+
});
|
|
565
|
+
Object.assign(contents, doc);
|
|
566
|
+
const exception = new ConflictException({
|
|
567
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
568
|
+
...contents
|
|
569
|
+
});
|
|
570
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
571
|
+
}, "de_ConflictExceptionRes");
|
|
572
|
+
var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
573
|
+
const contents = (0, import_smithy_client.map)({});
|
|
574
|
+
const data = parsedOutput.body;
|
|
575
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
576
|
+
message: import_smithy_client.expectString
|
|
577
|
+
});
|
|
578
|
+
Object.assign(contents, doc);
|
|
579
|
+
const exception = new InternalServerException({
|
|
580
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
581
|
+
...contents
|
|
582
|
+
});
|
|
583
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
584
|
+
}, "de_InternalServerExceptionRes");
|
|
585
|
+
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
586
|
+
const contents = (0, import_smithy_client.map)({});
|
|
587
|
+
const data = parsedOutput.body;
|
|
588
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
589
|
+
message: import_smithy_client.expectString
|
|
590
|
+
});
|
|
591
|
+
Object.assign(contents, doc);
|
|
592
|
+
const exception = new ResourceNotFoundException({
|
|
593
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
594
|
+
...contents
|
|
595
|
+
});
|
|
596
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
597
|
+
}, "de_ResourceNotFoundExceptionRes");
|
|
598
|
+
var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
599
|
+
const contents = (0, import_smithy_client.map)({});
|
|
600
|
+
const data = parsedOutput.body;
|
|
601
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
602
|
+
message: import_smithy_client.expectString
|
|
603
|
+
});
|
|
604
|
+
Object.assign(contents, doc);
|
|
605
|
+
const exception = new ServiceQuotaExceededException({
|
|
606
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
607
|
+
...contents
|
|
608
|
+
});
|
|
609
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
610
|
+
}, "de_ServiceQuotaExceededExceptionRes");
|
|
611
|
+
var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
612
|
+
const contents = (0, import_smithy_client.map)({});
|
|
613
|
+
const data = parsedOutput.body;
|
|
614
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
615
|
+
message: import_smithy_client.expectString
|
|
616
|
+
});
|
|
617
|
+
Object.assign(contents, doc);
|
|
618
|
+
const exception = new ThrottlingException({
|
|
619
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
620
|
+
...contents
|
|
621
|
+
});
|
|
622
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
623
|
+
}, "de_ThrottlingExceptionRes");
|
|
624
|
+
var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
625
|
+
const contents = (0, import_smithy_client.map)({});
|
|
626
|
+
const data = parsedOutput.body;
|
|
627
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
628
|
+
fieldName: import_smithy_client.expectString,
|
|
629
|
+
message: import_smithy_client.expectString
|
|
630
|
+
});
|
|
631
|
+
Object.assign(contents, doc);
|
|
632
|
+
const exception = new ValidationException({
|
|
633
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
634
|
+
...contents
|
|
635
|
+
});
|
|
636
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
637
|
+
}, "de_ValidationExceptionRes");
|
|
638
|
+
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
639
|
+
httpStatusCode: output.statusCode,
|
|
640
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
641
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
642
|
+
cfId: output.headers["x-amz-cf-id"]
|
|
643
|
+
}), "deserializeMetadata");
|
|
644
|
+
var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
|
|
645
|
+
var _tK = "tagKeys";
|
|
646
|
+
var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
647
|
+
if (encoded.length) {
|
|
648
|
+
return JSON.parse(encoded);
|
|
649
|
+
}
|
|
650
|
+
return {};
|
|
651
|
+
}), "parseBody");
|
|
652
|
+
var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
|
|
653
|
+
const value = await parseBody(errorBody, context);
|
|
654
|
+
value.message = value.message ?? value.Message;
|
|
655
|
+
return value;
|
|
656
|
+
}, "parseErrorBody");
|
|
657
|
+
var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
|
|
658
|
+
const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
|
|
659
|
+
const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
|
|
660
|
+
let cleanValue = rawValue;
|
|
661
|
+
if (typeof cleanValue === "number") {
|
|
662
|
+
cleanValue = cleanValue.toString();
|
|
663
|
+
}
|
|
664
|
+
if (cleanValue.indexOf(",") >= 0) {
|
|
665
|
+
cleanValue = cleanValue.split(",")[0];
|
|
666
|
+
}
|
|
667
|
+
if (cleanValue.indexOf(":") >= 0) {
|
|
668
|
+
cleanValue = cleanValue.split(":")[0];
|
|
669
|
+
}
|
|
670
|
+
if (cleanValue.indexOf("#") >= 0) {
|
|
671
|
+
cleanValue = cleanValue.split("#")[1];
|
|
672
|
+
}
|
|
673
|
+
return cleanValue;
|
|
674
|
+
}, "sanitizeErrorCode");
|
|
675
|
+
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
676
|
+
if (headerKey !== void 0) {
|
|
677
|
+
return sanitizeErrorCode(output.headers[headerKey]);
|
|
678
|
+
}
|
|
679
|
+
if (data.code !== void 0) {
|
|
680
|
+
return sanitizeErrorCode(data.code);
|
|
681
|
+
}
|
|
682
|
+
if (data["__type"] !== void 0) {
|
|
683
|
+
return sanitizeErrorCode(data["__type"]);
|
|
684
|
+
}
|
|
685
|
+
}, "loadRestJsonErrorCode");
|
|
686
|
+
|
|
687
|
+
// src/commands/ListTagsForResourceCommand.ts
|
|
688
|
+
var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
689
|
+
...commonParams
|
|
690
|
+
}).m(function(Command, cs, config, o) {
|
|
691
|
+
return [
|
|
692
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
693
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
694
|
+
];
|
|
695
|
+
}).s("AWSMPDeploymentParametersService", "ListTagsForResource", {}).n("MarketplaceDeploymentClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
|
|
696
|
+
};
|
|
697
|
+
__name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
|
|
698
|
+
var ListTagsForResourceCommand = _ListTagsForResourceCommand;
|
|
699
|
+
|
|
700
|
+
// src/commands/PutDeploymentParameterCommand.ts
|
|
701
|
+
|
|
702
|
+
|
|
703
|
+
|
|
704
|
+
|
|
705
|
+
var _PutDeploymentParameterCommand = class _PutDeploymentParameterCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
706
|
+
...commonParams
|
|
707
|
+
}).m(function(Command, cs, config, o) {
|
|
708
|
+
return [
|
|
709
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
710
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
711
|
+
];
|
|
712
|
+
}).s("AWSMPDeploymentParametersService", "PutDeploymentParameter", {}).n("MarketplaceDeploymentClient", "PutDeploymentParameterCommand").f(PutDeploymentParameterRequestFilterSensitiveLog, void 0).ser(se_PutDeploymentParameterCommand).de(de_PutDeploymentParameterCommand).build() {
|
|
713
|
+
};
|
|
714
|
+
__name(_PutDeploymentParameterCommand, "PutDeploymentParameterCommand");
|
|
715
|
+
var PutDeploymentParameterCommand = _PutDeploymentParameterCommand;
|
|
716
|
+
|
|
717
|
+
// src/commands/TagResourceCommand.ts
|
|
718
|
+
|
|
719
|
+
|
|
720
|
+
|
|
721
|
+
|
|
722
|
+
var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
723
|
+
...commonParams
|
|
724
|
+
}).m(function(Command, cs, config, o) {
|
|
725
|
+
return [
|
|
726
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
727
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
728
|
+
];
|
|
729
|
+
}).s("AWSMPDeploymentParametersService", "TagResource", {}).n("MarketplaceDeploymentClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
|
|
730
|
+
};
|
|
731
|
+
__name(_TagResourceCommand, "TagResourceCommand");
|
|
732
|
+
var TagResourceCommand = _TagResourceCommand;
|
|
733
|
+
|
|
734
|
+
// src/commands/UntagResourceCommand.ts
|
|
735
|
+
|
|
736
|
+
|
|
737
|
+
|
|
738
|
+
|
|
739
|
+
var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
740
|
+
...commonParams
|
|
741
|
+
}).m(function(Command, cs, config, o) {
|
|
742
|
+
return [
|
|
743
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
744
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
745
|
+
];
|
|
746
|
+
}).s("AWSMPDeploymentParametersService", "UntagResource", {}).n("MarketplaceDeploymentClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
|
|
747
|
+
};
|
|
748
|
+
__name(_UntagResourceCommand, "UntagResourceCommand");
|
|
749
|
+
var UntagResourceCommand = _UntagResourceCommand;
|
|
750
|
+
|
|
751
|
+
// src/MarketplaceDeployment.ts
|
|
752
|
+
var commands = {
|
|
753
|
+
ListTagsForResourceCommand,
|
|
754
|
+
PutDeploymentParameterCommand,
|
|
755
|
+
TagResourceCommand,
|
|
756
|
+
UntagResourceCommand
|
|
757
|
+
};
|
|
758
|
+
var _MarketplaceDeployment = class _MarketplaceDeployment extends MarketplaceDeploymentClient {
|
|
759
|
+
};
|
|
760
|
+
__name(_MarketplaceDeployment, "MarketplaceDeployment");
|
|
761
|
+
var MarketplaceDeployment = _MarketplaceDeployment;
|
|
762
|
+
(0, import_smithy_client.createAggregatedClient)(commands, MarketplaceDeployment);
|
|
763
|
+
|
|
764
|
+
// src/index.ts
|
|
765
|
+
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
766
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
767
|
+
0 && (module.exports = {
|
|
768
|
+
AccessDeniedException,
|
|
769
|
+
ConflictException,
|
|
770
|
+
DeploymentParameterInputFilterSensitiveLog,
|
|
771
|
+
InternalServerException,
|
|
772
|
+
ListTagsForResourceCommand,
|
|
773
|
+
MarketplaceDeployment,
|
|
774
|
+
MarketplaceDeploymentClient,
|
|
775
|
+
MarketplaceDeploymentServiceException,
|
|
776
|
+
PutDeploymentParameterCommand,
|
|
777
|
+
PutDeploymentParameterRequestFilterSensitiveLog,
|
|
778
|
+
ResourceNotFoundException,
|
|
779
|
+
ServiceQuotaExceededException,
|
|
780
|
+
TagResourceCommand,
|
|
781
|
+
ThrottlingException,
|
|
782
|
+
UntagResourceCommand,
|
|
783
|
+
ValidationException,
|
|
784
|
+
__Client
|
|
785
|
+
});
|