@aws-sdk/client-marketplace-deployment 3.928.0 → 3.930.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 CHANGED
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
7
  var configResolver = require('@smithy/config-resolver');
8
8
  var core = require('@smithy/core');
9
+ var schema = require('@smithy/core/schema');
9
10
  var middlewareContentLength = require('@smithy/middleware-content-length');
10
11
  var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
12
  var middlewareRetry = require('@smithy/middleware-retry');
@@ -14,9 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
15
  var runtimeConfig = require('./runtimeConfig');
15
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
17
  var protocolHttp = require('@smithy/protocol-http');
17
- var middlewareSerde = require('@smithy/middleware-serde');
18
- var core$1 = require('@aws-sdk/core');
19
- var uuid = require('@smithy/uuid');
20
18
 
21
19
  const resolveClientEndpointParameters = (options) => {
22
20
  return Object.assign(options, {
@@ -92,6 +90,7 @@ class MarketplaceDeploymentClient extends smithyClient.Client {
92
90
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
93
91
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
94
92
  this.config = _config_8;
93
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
95
94
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
96
95
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
97
96
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -111,14 +110,14 @@ class MarketplaceDeploymentClient extends smithyClient.Client {
111
110
  }
112
111
  }
113
112
 
114
- class MarketplaceDeploymentServiceException extends smithyClient.ServiceException {
113
+ let MarketplaceDeploymentServiceException$1 = class MarketplaceDeploymentServiceException extends smithyClient.ServiceException {
115
114
  constructor(options) {
116
115
  super(options);
117
116
  Object.setPrototypeOf(this, MarketplaceDeploymentServiceException.prototype);
118
117
  }
119
- }
118
+ };
120
119
 
121
- class AccessDeniedException extends MarketplaceDeploymentServiceException {
120
+ let AccessDeniedException$1 = class AccessDeniedException extends MarketplaceDeploymentServiceException$1 {
122
121
  name = "AccessDeniedException";
123
122
  $fault = "client";
124
123
  constructor(opts) {
@@ -129,8 +128,8 @@ class AccessDeniedException extends MarketplaceDeploymentServiceException {
129
128
  });
130
129
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
131
130
  }
132
- }
133
- class ConflictException extends MarketplaceDeploymentServiceException {
131
+ };
132
+ let ConflictException$1 = class ConflictException extends MarketplaceDeploymentServiceException$1 {
134
133
  name = "ConflictException";
135
134
  $fault = "client";
136
135
  resourceId;
@@ -143,8 +142,8 @@ class ConflictException extends MarketplaceDeploymentServiceException {
143
142
  Object.setPrototypeOf(this, ConflictException.prototype);
144
143
  this.resourceId = opts.resourceId;
145
144
  }
146
- }
147
- class InternalServerException extends MarketplaceDeploymentServiceException {
145
+ };
146
+ let InternalServerException$1 = class InternalServerException extends MarketplaceDeploymentServiceException$1 {
148
147
  name = "InternalServerException";
149
148
  $fault = "server";
150
149
  $retryable = {};
@@ -156,8 +155,8 @@ class InternalServerException extends MarketplaceDeploymentServiceException {
156
155
  });
157
156
  Object.setPrototypeOf(this, InternalServerException.prototype);
158
157
  }
159
- }
160
- class ResourceNotFoundException extends MarketplaceDeploymentServiceException {
158
+ };
159
+ let ResourceNotFoundException$1 = class ResourceNotFoundException extends MarketplaceDeploymentServiceException$1 {
161
160
  name = "ResourceNotFoundException";
162
161
  $fault = "client";
163
162
  constructor(opts) {
@@ -168,8 +167,8 @@ class ResourceNotFoundException extends MarketplaceDeploymentServiceException {
168
167
  });
169
168
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
170
169
  }
171
- }
172
- class ServiceQuotaExceededException extends MarketplaceDeploymentServiceException {
170
+ };
171
+ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends MarketplaceDeploymentServiceException$1 {
173
172
  name = "ServiceQuotaExceededException";
174
173
  $fault = "client";
175
174
  constructor(opts) {
@@ -180,8 +179,8 @@ class ServiceQuotaExceededException extends MarketplaceDeploymentServiceExceptio
180
179
  });
181
180
  Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
182
181
  }
183
- }
184
- class ThrottlingException extends MarketplaceDeploymentServiceException {
182
+ };
183
+ let ThrottlingException$1 = class ThrottlingException extends MarketplaceDeploymentServiceException$1 {
185
184
  name = "ThrottlingException";
186
185
  $fault = "client";
187
186
  $retryable = {
@@ -195,8 +194,8 @@ class ThrottlingException extends MarketplaceDeploymentServiceException {
195
194
  });
196
195
  Object.setPrototypeOf(this, ThrottlingException.prototype);
197
196
  }
198
- }
199
- class ValidationException extends MarketplaceDeploymentServiceException {
197
+ };
198
+ let ValidationException$1 = class ValidationException extends MarketplaceDeploymentServiceException$1 {
200
199
  name = "ValidationException";
201
200
  $fault = "client";
202
201
  fieldName;
@@ -209,276 +208,234 @@ class ValidationException extends MarketplaceDeploymentServiceException {
209
208
  Object.setPrototypeOf(this, ValidationException.prototype);
210
209
  this.fieldName = opts.fieldName;
211
210
  }
212
- }
213
- const DeploymentParameterInputFilterSensitiveLog = (obj) => ({
214
- ...obj,
215
- ...(obj.secretString && { secretString: smithyClient.SENSITIVE_STRING }),
216
- });
217
- const PutDeploymentParameterRequestFilterSensitiveLog = (obj) => ({
218
- ...obj,
219
- ...(obj.deploymentParameter && {
220
- deploymentParameter: DeploymentParameterInputFilterSensitiveLog(obj.deploymentParameter),
221
- }),
222
- });
223
-
224
- const se_ListTagsForResourceCommand = async (input, context) => {
225
- const b = core.requestBuilder(input, context);
226
- const headers = {};
227
- b.bp("/tags/{resourceArn}");
228
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
229
- let body;
230
- b.m("GET").h(headers).b(body);
231
- return b.build();
232
- };
233
- const se_PutDeploymentParameterCommand = async (input, context) => {
234
- const b = core.requestBuilder(input, context);
235
- const headers = {
236
- "content-type": "application/json",
237
- };
238
- b.bp("/catalogs/{catalog}/products/{productId}/deployment-parameters");
239
- b.p("catalog", () => input.catalog, "{catalog}", false);
240
- b.p("productId", () => input.productId, "{productId}", false);
241
- let body;
242
- body = JSON.stringify(smithyClient.take(input, {
243
- agreementId: [],
244
- clientToken: [true, (_) => _ ?? uuid.v4()],
245
- deploymentParameter: (_) => smithyClient._json(_),
246
- expirationDate: (_) => smithyClient.serializeDateTime(_),
247
- tags: (_) => smithyClient._json(_),
248
- }));
249
- b.m("POST").h(headers).b(body);
250
- return b.build();
251
- };
252
- const se_TagResourceCommand = async (input, context) => {
253
- const b = core.requestBuilder(input, context);
254
- const headers = {
255
- "content-type": "application/json",
256
- };
257
- b.bp("/tags/{resourceArn}");
258
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
259
- let body;
260
- body = JSON.stringify(smithyClient.take(input, {
261
- tags: (_) => smithyClient._json(_),
262
- }));
263
- b.m("POST").h(headers).b(body);
264
- return b.build();
265
- };
266
- const se_UntagResourceCommand = async (input, context) => {
267
- const b = core.requestBuilder(input, context);
268
- const headers = {};
269
- b.bp("/tags/{resourceArn}");
270
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
271
- const query = smithyClient.map({
272
- [_tK]: [smithyClient.expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
273
- });
274
- let body;
275
- b.m("DELETE").h(headers).q(query).b(body);
276
- return b.build();
277
- };
278
- const de_ListTagsForResourceCommand = async (output, context) => {
279
- if (output.statusCode !== 200 && output.statusCode >= 300) {
280
- return de_CommandError(output, context);
281
- }
282
- const contents = smithyClient.map({
283
- $metadata: deserializeMetadata(output),
284
- });
285
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
286
- const doc = smithyClient.take(data, {
287
- tags: smithyClient._json,
288
- });
289
- Object.assign(contents, doc);
290
- return contents;
291
- };
292
- const de_PutDeploymentParameterCommand = async (output, context) => {
293
- if (output.statusCode !== 200 && output.statusCode >= 300) {
294
- return de_CommandError(output, context);
295
- }
296
- const contents = smithyClient.map({
297
- $metadata: deserializeMetadata(output),
298
- });
299
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
300
- const doc = smithyClient.take(data, {
301
- agreementId: smithyClient.expectString,
302
- deploymentParameterId: smithyClient.expectString,
303
- resourceArn: smithyClient.expectString,
304
- tags: smithyClient._json,
305
- });
306
- Object.assign(contents, doc);
307
- return contents;
308
- };
309
- const de_TagResourceCommand = async (output, context) => {
310
- if (output.statusCode !== 204 && output.statusCode >= 300) {
311
- return de_CommandError(output, context);
312
- }
313
- const contents = smithyClient.map({
314
- $metadata: deserializeMetadata(output),
315
- });
316
- await smithyClient.collectBody(output.body, context);
317
- return contents;
318
- };
319
- const de_UntagResourceCommand = async (output, context) => {
320
- if (output.statusCode !== 204 && output.statusCode >= 300) {
321
- return de_CommandError(output, context);
322
- }
323
- const contents = smithyClient.map({
324
- $metadata: deserializeMetadata(output),
325
- });
326
- await smithyClient.collectBody(output.body, context);
327
- return contents;
328
- };
329
- const de_CommandError = async (output, context) => {
330
- const parsedOutput = {
331
- ...output,
332
- body: await core$1.parseJsonErrorBody(output.body, context),
333
- };
334
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
335
- switch (errorCode) {
336
- case "AccessDeniedException":
337
- case "com.amazonaws.marketplacedeployment#AccessDeniedException":
338
- throw await de_AccessDeniedExceptionRes(parsedOutput);
339
- case "InternalServerException":
340
- case "com.amazonaws.marketplacedeployment#InternalServerException":
341
- throw await de_InternalServerExceptionRes(parsedOutput);
342
- case "ResourceNotFoundException":
343
- case "com.amazonaws.marketplacedeployment#ResourceNotFoundException":
344
- throw await de_ResourceNotFoundExceptionRes(parsedOutput);
345
- case "ThrottlingException":
346
- case "com.amazonaws.marketplacedeployment#ThrottlingException":
347
- throw await de_ThrottlingExceptionRes(parsedOutput);
348
- case "ValidationException":
349
- case "com.amazonaws.marketplacedeployment#ValidationException":
350
- throw await de_ValidationExceptionRes(parsedOutput);
351
- case "ConflictException":
352
- case "com.amazonaws.marketplacedeployment#ConflictException":
353
- throw await de_ConflictExceptionRes(parsedOutput);
354
- case "ServiceQuotaExceededException":
355
- case "com.amazonaws.marketplacedeployment#ServiceQuotaExceededException":
356
- throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
357
- default:
358
- const parsedBody = parsedOutput.body;
359
- return throwDefaultError({
360
- output,
361
- parsedBody,
362
- errorCode,
363
- });
364
- }
365
- };
366
- const throwDefaultError = smithyClient.withBaseException(MarketplaceDeploymentServiceException);
367
- const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
368
- const contents = smithyClient.map({});
369
- const data = parsedOutput.body;
370
- const doc = smithyClient.take(data, {
371
- message: smithyClient.expectString,
372
- });
373
- Object.assign(contents, doc);
374
- const exception = new AccessDeniedException({
375
- $metadata: deserializeMetadata(parsedOutput),
376
- ...contents,
377
- });
378
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
379
- };
380
- const de_ConflictExceptionRes = async (parsedOutput, context) => {
381
- const contents = smithyClient.map({});
382
- const data = parsedOutput.body;
383
- const doc = smithyClient.take(data, {
384
- message: smithyClient.expectString,
385
- resourceId: smithyClient.expectString,
386
- });
387
- Object.assign(contents, doc);
388
- const exception = new ConflictException({
389
- $metadata: deserializeMetadata(parsedOutput),
390
- ...contents,
391
- });
392
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
393
- };
394
- const de_InternalServerExceptionRes = async (parsedOutput, context) => {
395
- const contents = smithyClient.map({});
396
- const data = parsedOutput.body;
397
- const doc = smithyClient.take(data, {
398
- message: smithyClient.expectString,
399
- });
400
- Object.assign(contents, doc);
401
- const exception = new InternalServerException({
402
- $metadata: deserializeMetadata(parsedOutput),
403
- ...contents,
404
- });
405
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
406
- };
407
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
408
- const contents = smithyClient.map({});
409
- const data = parsedOutput.body;
410
- const doc = smithyClient.take(data, {
411
- message: smithyClient.expectString,
412
- });
413
- Object.assign(contents, doc);
414
- const exception = new ResourceNotFoundException({
415
- $metadata: deserializeMetadata(parsedOutput),
416
- ...contents,
417
- });
418
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
419
- };
420
- const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
421
- const contents = smithyClient.map({});
422
- const data = parsedOutput.body;
423
- const doc = smithyClient.take(data, {
424
- message: smithyClient.expectString,
425
- });
426
- Object.assign(contents, doc);
427
- const exception = new ServiceQuotaExceededException({
428
- $metadata: deserializeMetadata(parsedOutput),
429
- ...contents,
430
- });
431
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
432
211
  };
433
- const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
434
- const contents = smithyClient.map({});
435
- const data = parsedOutput.body;
436
- const doc = smithyClient.take(data, {
437
- message: smithyClient.expectString,
438
- });
439
- Object.assign(contents, doc);
440
- const exception = new ThrottlingException({
441
- $metadata: deserializeMetadata(parsedOutput),
442
- ...contents,
443
- });
444
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
445
- };
446
- const de_ValidationExceptionRes = async (parsedOutput, context) => {
447
- const contents = smithyClient.map({});
448
- const data = parsedOutput.body;
449
- const doc = smithyClient.take(data, {
450
- fieldName: smithyClient.expectString,
451
- message: smithyClient.expectString,
452
- });
453
- Object.assign(contents, doc);
454
- const exception = new ValidationException({
455
- $metadata: deserializeMetadata(parsedOutput),
456
- ...contents,
457
- });
458
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
459
- };
460
- const deserializeMetadata = (output) => ({
461
- httpStatusCode: output.statusCode,
462
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
463
- extendedRequestId: output.headers["x-amz-id-2"],
464
- cfId: output.headers["x-amz-cf-id"],
465
- });
212
+
213
+ const _ADE = "AccessDeniedException";
214
+ const _CE = "ConflictException";
215
+ const _DPI = "DeploymentParameterInput";
216
+ const _ISE = "InternalServerException";
217
+ const _LTFR = "ListTagsForResource";
218
+ const _LTFRR = "ListTagsForResourceRequest";
219
+ const _LTFRRi = "ListTagsForResourceResponse";
220
+ const _PDP = "PutDeploymentParameter";
221
+ const _PDPR = "PutDeploymentParameterRequest";
222
+ const _PDPRu = "PutDeploymentParameterResponse";
223
+ const _RNFE = "ResourceNotFoundException";
224
+ const _SQEE = "ServiceQuotaExceededException";
225
+ const _SS = "SecretString";
226
+ const _TE = "ThrottlingException";
227
+ const _TR = "TagResource";
228
+ const _TRR = "TagResourceRequest";
229
+ const _TRRa = "TagResourceResponse";
230
+ const _UR = "UntagResource";
231
+ const _URR = "UntagResourceRequest";
232
+ const _URRn = "UntagResourceResponse";
233
+ const _VE = "ValidationException";
234
+ const _aI = "agreementId";
235
+ const _c = "client";
236
+ const _cT = "clientToken";
237
+ const _ca = "catalog";
238
+ const _dP = "deploymentParameter";
239
+ const _dPI = "deploymentParameterId";
240
+ const _e = "error";
241
+ const _eD = "expirationDate";
242
+ const _fN = "fieldName";
243
+ const _h = "http";
244
+ const _hE = "httpError";
245
+ const _hQ = "httpQuery";
246
+ const _m = "message";
247
+ const _n = "name";
248
+ const _pI = "productId";
249
+ const _rA = "resourceArn";
250
+ const _rI = "resourceId";
251
+ const _s = "server";
252
+ const _sS = "secretString";
253
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.marketplacedeployment";
254
+ const _t = "tags";
466
255
  const _tK = "tagKeys";
256
+ const n0 = "com.amazonaws.marketplacedeployment";
257
+ var SecretString = [0, n0, _SS, 8, 0];
258
+ var AccessDeniedException = [
259
+ -3,
260
+ n0,
261
+ _ADE,
262
+ {
263
+ [_e]: _c,
264
+ [_hE]: 403,
265
+ },
266
+ [_m],
267
+ [0],
268
+ ];
269
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
270
+ var ConflictException = [
271
+ -3,
272
+ n0,
273
+ _CE,
274
+ {
275
+ [_e]: _c,
276
+ [_hE]: 409,
277
+ },
278
+ [_m, _rI],
279
+ [0, 0],
280
+ ];
281
+ schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
282
+ var DeploymentParameterInput = [3, n0, _DPI, 0, [_n, _sS], [0, [() => SecretString, 0]]];
283
+ var InternalServerException = [
284
+ -3,
285
+ n0,
286
+ _ISE,
287
+ {
288
+ [_e]: _s,
289
+ [_hE]: 500,
290
+ },
291
+ [_m],
292
+ [0],
293
+ ];
294
+ schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
295
+ var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_rA], [[0, 1]]];
296
+ var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_t], [128 | 0]];
297
+ var PutDeploymentParameterRequest = [
298
+ 3,
299
+ n0,
300
+ _PDPR,
301
+ 0,
302
+ [_ca, _pI, _aI, _dP, _t, _eD, _cT],
303
+ [[0, 1], [0, 1], 0, [() => DeploymentParameterInput, 0], 128 | 0, 5, [0, 4]],
304
+ ];
305
+ var PutDeploymentParameterResponse = [
306
+ 3,
307
+ n0,
308
+ _PDPRu,
309
+ 0,
310
+ [_rA, _aI, _dPI, _t],
311
+ [0, 0, 0, 128 | 0],
312
+ ];
313
+ var ResourceNotFoundException = [
314
+ -3,
315
+ n0,
316
+ _RNFE,
317
+ {
318
+ [_e]: _c,
319
+ [_hE]: 404,
320
+ },
321
+ [_m],
322
+ [0],
323
+ ];
324
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
325
+ var ServiceQuotaExceededException = [
326
+ -3,
327
+ n0,
328
+ _SQEE,
329
+ {
330
+ [_e]: _c,
331
+ [_hE]: 402,
332
+ },
333
+ [_m],
334
+ [0],
335
+ ];
336
+ schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
337
+ var TagResourceRequest = [3, n0, _TRR, 0, [_rA, _t], [[0, 1], 128 | 0]];
338
+ var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
339
+ var ThrottlingException = [
340
+ -3,
341
+ n0,
342
+ _TE,
343
+ {
344
+ [_e]: _c,
345
+ [_hE]: 429,
346
+ },
347
+ [_m],
348
+ [0],
349
+ ];
350
+ schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
351
+ var UntagResourceRequest = [
352
+ 3,
353
+ n0,
354
+ _URR,
355
+ 0,
356
+ [_rA, _tK],
357
+ [
358
+ [0, 1],
359
+ [
360
+ 64 | 0,
361
+ {
362
+ [_hQ]: _tK,
363
+ },
364
+ ],
365
+ ],
366
+ ];
367
+ var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
368
+ var ValidationException = [
369
+ -3,
370
+ n0,
371
+ _VE,
372
+ {
373
+ [_e]: _c,
374
+ [_hE]: 400,
375
+ },
376
+ [_m, _fN],
377
+ [0, 0],
378
+ ];
379
+ schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
380
+ var MarketplaceDeploymentServiceException = [
381
+ -3,
382
+ _sm,
383
+ "MarketplaceDeploymentServiceException",
384
+ 0,
385
+ [],
386
+ [],
387
+ ];
388
+ schema.TypeRegistry.for(_sm).registerError(MarketplaceDeploymentServiceException, MarketplaceDeploymentServiceException$1);
389
+ var ListTagsForResource = [
390
+ 9,
391
+ n0,
392
+ _LTFR,
393
+ {
394
+ [_h]: ["GET", "/tags/{resourceArn}", 200],
395
+ },
396
+ () => ListTagsForResourceRequest,
397
+ () => ListTagsForResourceResponse,
398
+ ];
399
+ var PutDeploymentParameter = [
400
+ 9,
401
+ n0,
402
+ _PDP,
403
+ {
404
+ [_h]: ["POST", "/catalogs/{catalog}/products/{productId}/deployment-parameters", 200],
405
+ },
406
+ () => PutDeploymentParameterRequest,
407
+ () => PutDeploymentParameterResponse,
408
+ ];
409
+ var TagResource = [
410
+ 9,
411
+ n0,
412
+ _TR,
413
+ {
414
+ [_h]: ["POST", "/tags/{resourceArn}", 204],
415
+ },
416
+ () => TagResourceRequest,
417
+ () => TagResourceResponse,
418
+ ];
419
+ var UntagResource = [
420
+ 9,
421
+ n0,
422
+ _UR,
423
+ {
424
+ [_h]: ["DELETE", "/tags/{resourceArn}", 204],
425
+ },
426
+ () => UntagResourceRequest,
427
+ () => UntagResourceResponse,
428
+ ];
467
429
 
468
430
  class ListTagsForResourceCommand extends smithyClient.Command
469
431
  .classBuilder()
470
432
  .ep(commonParams)
471
433
  .m(function (Command, cs, config, o) {
472
- return [
473
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
474
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
475
- ];
434
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
476
435
  })
477
436
  .s("AWSMPDeploymentParametersService", "ListTagsForResource", {})
478
437
  .n("MarketplaceDeploymentClient", "ListTagsForResourceCommand")
479
- .f(void 0, void 0)
480
- .ser(se_ListTagsForResourceCommand)
481
- .de(de_ListTagsForResourceCommand)
438
+ .sc(ListTagsForResource)
482
439
  .build() {
483
440
  }
484
441
 
@@ -486,16 +443,11 @@ class PutDeploymentParameterCommand extends smithyClient.Command
486
443
  .classBuilder()
487
444
  .ep(commonParams)
488
445
  .m(function (Command, cs, config, o) {
489
- return [
490
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
491
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
492
- ];
446
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
493
447
  })
494
448
  .s("AWSMPDeploymentParametersService", "PutDeploymentParameter", {})
495
449
  .n("MarketplaceDeploymentClient", "PutDeploymentParameterCommand")
496
- .f(PutDeploymentParameterRequestFilterSensitiveLog, void 0)
497
- .ser(se_PutDeploymentParameterCommand)
498
- .de(de_PutDeploymentParameterCommand)
450
+ .sc(PutDeploymentParameter)
499
451
  .build() {
500
452
  }
501
453
 
@@ -503,16 +455,11 @@ class TagResourceCommand extends smithyClient.Command
503
455
  .classBuilder()
504
456
  .ep(commonParams)
505
457
  .m(function (Command, cs, config, o) {
506
- return [
507
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
508
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
509
- ];
458
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
510
459
  })
511
460
  .s("AWSMPDeploymentParametersService", "TagResource", {})
512
461
  .n("MarketplaceDeploymentClient", "TagResourceCommand")
513
- .f(void 0, void 0)
514
- .ser(se_TagResourceCommand)
515
- .de(de_TagResourceCommand)
462
+ .sc(TagResource)
516
463
  .build() {
517
464
  }
518
465
 
@@ -520,16 +467,11 @@ class UntagResourceCommand extends smithyClient.Command
520
467
  .classBuilder()
521
468
  .ep(commonParams)
522
469
  .m(function (Command, cs, config, o) {
523
- return [
524
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
525
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
526
- ];
470
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
527
471
  })
528
472
  .s("AWSMPDeploymentParametersService", "UntagResource", {})
529
473
  .n("MarketplaceDeploymentClient", "UntagResourceCommand")
530
- .f(void 0, void 0)
531
- .ser(se_UntagResourceCommand)
532
- .de(de_UntagResourceCommand)
474
+ .sc(UntagResource)
533
475
  .build() {
534
476
  }
535
477
 
@@ -551,19 +493,17 @@ Object.defineProperty(exports, "__Client", {
551
493
  enumerable: true,
552
494
  get: function () { return smithyClient.Client; }
553
495
  });
554
- exports.AccessDeniedException = AccessDeniedException;
555
- exports.ConflictException = ConflictException;
556
- exports.DeploymentParameterInputFilterSensitiveLog = DeploymentParameterInputFilterSensitiveLog;
557
- exports.InternalServerException = InternalServerException;
496
+ exports.AccessDeniedException = AccessDeniedException$1;
497
+ exports.ConflictException = ConflictException$1;
498
+ exports.InternalServerException = InternalServerException$1;
558
499
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
559
500
  exports.MarketplaceDeployment = MarketplaceDeployment;
560
501
  exports.MarketplaceDeploymentClient = MarketplaceDeploymentClient;
561
- exports.MarketplaceDeploymentServiceException = MarketplaceDeploymentServiceException;
502
+ exports.MarketplaceDeploymentServiceException = MarketplaceDeploymentServiceException$1;
562
503
  exports.PutDeploymentParameterCommand = PutDeploymentParameterCommand;
563
- exports.PutDeploymentParameterRequestFilterSensitiveLog = PutDeploymentParameterRequestFilterSensitiveLog;
564
- exports.ResourceNotFoundException = ResourceNotFoundException;
565
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
504
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
505
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
566
506
  exports.TagResourceCommand = TagResourceCommand;
567
- exports.ThrottlingException = ThrottlingException;
507
+ exports.ThrottlingException = ThrottlingException$1;
568
508
  exports.UntagResourceCommand = UntagResourceCommand;
569
- exports.ValidationException = ValidationException;
509
+ exports.ValidationException = ValidationException$1;