@aws-sdk/client-imagebuilder 3.215.0 → 3.218.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.
|
@@ -290,7 +290,7 @@ const serializeAws_restJson1DeleteComponentCommand = async (input, context) => {
|
|
|
290
290
|
const headers = {};
|
|
291
291
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/DeleteComponent";
|
|
292
292
|
const query = map({
|
|
293
|
-
componentBuildVersionArn: [, input.componentBuildVersionArn],
|
|
293
|
+
componentBuildVersionArn: [, (0, smithy_client_1.expectNonNull)(input.componentBuildVersionArn, `componentBuildVersionArn`)],
|
|
294
294
|
});
|
|
295
295
|
let body;
|
|
296
296
|
return new protocol_http_1.HttpRequest({
|
|
@@ -310,7 +310,7 @@ const serializeAws_restJson1DeleteContainerRecipeCommand = async (input, context
|
|
|
310
310
|
const headers = {};
|
|
311
311
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/DeleteContainerRecipe";
|
|
312
312
|
const query = map({
|
|
313
|
-
containerRecipeArn: [, input.containerRecipeArn],
|
|
313
|
+
containerRecipeArn: [, (0, smithy_client_1.expectNonNull)(input.containerRecipeArn, `containerRecipeArn`)],
|
|
314
314
|
});
|
|
315
315
|
let body;
|
|
316
316
|
return new protocol_http_1.HttpRequest({
|
|
@@ -330,7 +330,10 @@ const serializeAws_restJson1DeleteDistributionConfigurationCommand = async (inpu
|
|
|
330
330
|
const headers = {};
|
|
331
331
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/DeleteDistributionConfiguration";
|
|
332
332
|
const query = map({
|
|
333
|
-
distributionConfigurationArn: [
|
|
333
|
+
distributionConfigurationArn: [
|
|
334
|
+
,
|
|
335
|
+
(0, smithy_client_1.expectNonNull)(input.distributionConfigurationArn, `distributionConfigurationArn`),
|
|
336
|
+
],
|
|
334
337
|
});
|
|
335
338
|
let body;
|
|
336
339
|
return new protocol_http_1.HttpRequest({
|
|
@@ -350,7 +353,7 @@ const serializeAws_restJson1DeleteImageCommand = async (input, context) => {
|
|
|
350
353
|
const headers = {};
|
|
351
354
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/DeleteImage";
|
|
352
355
|
const query = map({
|
|
353
|
-
imageBuildVersionArn: [, input.imageBuildVersionArn],
|
|
356
|
+
imageBuildVersionArn: [, (0, smithy_client_1.expectNonNull)(input.imageBuildVersionArn, `imageBuildVersionArn`)],
|
|
354
357
|
});
|
|
355
358
|
let body;
|
|
356
359
|
return new protocol_http_1.HttpRequest({
|
|
@@ -370,7 +373,7 @@ const serializeAws_restJson1DeleteImagePipelineCommand = async (input, context)
|
|
|
370
373
|
const headers = {};
|
|
371
374
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/DeleteImagePipeline";
|
|
372
375
|
const query = map({
|
|
373
|
-
imagePipelineArn: [, input.imagePipelineArn],
|
|
376
|
+
imagePipelineArn: [, (0, smithy_client_1.expectNonNull)(input.imagePipelineArn, `imagePipelineArn`)],
|
|
374
377
|
});
|
|
375
378
|
let body;
|
|
376
379
|
return new protocol_http_1.HttpRequest({
|
|
@@ -390,7 +393,7 @@ const serializeAws_restJson1DeleteImageRecipeCommand = async (input, context) =>
|
|
|
390
393
|
const headers = {};
|
|
391
394
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/DeleteImageRecipe";
|
|
392
395
|
const query = map({
|
|
393
|
-
imageRecipeArn: [, input.imageRecipeArn],
|
|
396
|
+
imageRecipeArn: [, (0, smithy_client_1.expectNonNull)(input.imageRecipeArn, `imageRecipeArn`)],
|
|
394
397
|
});
|
|
395
398
|
let body;
|
|
396
399
|
return new protocol_http_1.HttpRequest({
|
|
@@ -410,7 +413,10 @@ const serializeAws_restJson1DeleteInfrastructureConfigurationCommand = async (in
|
|
|
410
413
|
const headers = {};
|
|
411
414
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/DeleteInfrastructureConfiguration";
|
|
412
415
|
const query = map({
|
|
413
|
-
infrastructureConfigurationArn: [
|
|
416
|
+
infrastructureConfigurationArn: [
|
|
417
|
+
,
|
|
418
|
+
(0, smithy_client_1.expectNonNull)(input.infrastructureConfigurationArn, `infrastructureConfigurationArn`),
|
|
419
|
+
],
|
|
414
420
|
});
|
|
415
421
|
let body;
|
|
416
422
|
return new protocol_http_1.HttpRequest({
|
|
@@ -430,7 +436,7 @@ const serializeAws_restJson1GetComponentCommand = async (input, context) => {
|
|
|
430
436
|
const headers = {};
|
|
431
437
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/GetComponent";
|
|
432
438
|
const query = map({
|
|
433
|
-
componentBuildVersionArn: [, input.componentBuildVersionArn],
|
|
439
|
+
componentBuildVersionArn: [, (0, smithy_client_1.expectNonNull)(input.componentBuildVersionArn, `componentBuildVersionArn`)],
|
|
434
440
|
});
|
|
435
441
|
let body;
|
|
436
442
|
return new protocol_http_1.HttpRequest({
|
|
@@ -450,7 +456,7 @@ const serializeAws_restJson1GetComponentPolicyCommand = async (input, context) =
|
|
|
450
456
|
const headers = {};
|
|
451
457
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/GetComponentPolicy";
|
|
452
458
|
const query = map({
|
|
453
|
-
componentArn: [, input.componentArn],
|
|
459
|
+
componentArn: [, (0, smithy_client_1.expectNonNull)(input.componentArn, `componentArn`)],
|
|
454
460
|
});
|
|
455
461
|
let body;
|
|
456
462
|
return new protocol_http_1.HttpRequest({
|
|
@@ -470,7 +476,7 @@ const serializeAws_restJson1GetContainerRecipeCommand = async (input, context) =
|
|
|
470
476
|
const headers = {};
|
|
471
477
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/GetContainerRecipe";
|
|
472
478
|
const query = map({
|
|
473
|
-
containerRecipeArn: [, input.containerRecipeArn],
|
|
479
|
+
containerRecipeArn: [, (0, smithy_client_1.expectNonNull)(input.containerRecipeArn, `containerRecipeArn`)],
|
|
474
480
|
});
|
|
475
481
|
let body;
|
|
476
482
|
return new protocol_http_1.HttpRequest({
|
|
@@ -490,7 +496,7 @@ const serializeAws_restJson1GetContainerRecipePolicyCommand = async (input, cont
|
|
|
490
496
|
const headers = {};
|
|
491
497
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/GetContainerRecipePolicy";
|
|
492
498
|
const query = map({
|
|
493
|
-
containerRecipeArn: [, input.containerRecipeArn],
|
|
499
|
+
containerRecipeArn: [, (0, smithy_client_1.expectNonNull)(input.containerRecipeArn, `containerRecipeArn`)],
|
|
494
500
|
});
|
|
495
501
|
let body;
|
|
496
502
|
return new protocol_http_1.HttpRequest({
|
|
@@ -510,7 +516,10 @@ const serializeAws_restJson1GetDistributionConfigurationCommand = async (input,
|
|
|
510
516
|
const headers = {};
|
|
511
517
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/GetDistributionConfiguration";
|
|
512
518
|
const query = map({
|
|
513
|
-
distributionConfigurationArn: [
|
|
519
|
+
distributionConfigurationArn: [
|
|
520
|
+
,
|
|
521
|
+
(0, smithy_client_1.expectNonNull)(input.distributionConfigurationArn, `distributionConfigurationArn`),
|
|
522
|
+
],
|
|
514
523
|
});
|
|
515
524
|
let body;
|
|
516
525
|
return new protocol_http_1.HttpRequest({
|
|
@@ -530,7 +539,7 @@ const serializeAws_restJson1GetImageCommand = async (input, context) => {
|
|
|
530
539
|
const headers = {};
|
|
531
540
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/GetImage";
|
|
532
541
|
const query = map({
|
|
533
|
-
imageBuildVersionArn: [, input.imageBuildVersionArn],
|
|
542
|
+
imageBuildVersionArn: [, (0, smithy_client_1.expectNonNull)(input.imageBuildVersionArn, `imageBuildVersionArn`)],
|
|
534
543
|
});
|
|
535
544
|
let body;
|
|
536
545
|
return new protocol_http_1.HttpRequest({
|
|
@@ -550,7 +559,7 @@ const serializeAws_restJson1GetImagePipelineCommand = async (input, context) =>
|
|
|
550
559
|
const headers = {};
|
|
551
560
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/GetImagePipeline";
|
|
552
561
|
const query = map({
|
|
553
|
-
imagePipelineArn: [, input.imagePipelineArn],
|
|
562
|
+
imagePipelineArn: [, (0, smithy_client_1.expectNonNull)(input.imagePipelineArn, `imagePipelineArn`)],
|
|
554
563
|
});
|
|
555
564
|
let body;
|
|
556
565
|
return new protocol_http_1.HttpRequest({
|
|
@@ -570,7 +579,7 @@ const serializeAws_restJson1GetImagePolicyCommand = async (input, context) => {
|
|
|
570
579
|
const headers = {};
|
|
571
580
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/GetImagePolicy";
|
|
572
581
|
const query = map({
|
|
573
|
-
imageArn: [, input.imageArn],
|
|
582
|
+
imageArn: [, (0, smithy_client_1.expectNonNull)(input.imageArn, `imageArn`)],
|
|
574
583
|
});
|
|
575
584
|
let body;
|
|
576
585
|
return new protocol_http_1.HttpRequest({
|
|
@@ -590,7 +599,7 @@ const serializeAws_restJson1GetImageRecipeCommand = async (input, context) => {
|
|
|
590
599
|
const headers = {};
|
|
591
600
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/GetImageRecipe";
|
|
592
601
|
const query = map({
|
|
593
|
-
imageRecipeArn: [, input.imageRecipeArn],
|
|
602
|
+
imageRecipeArn: [, (0, smithy_client_1.expectNonNull)(input.imageRecipeArn, `imageRecipeArn`)],
|
|
594
603
|
});
|
|
595
604
|
let body;
|
|
596
605
|
return new protocol_http_1.HttpRequest({
|
|
@@ -610,7 +619,7 @@ const serializeAws_restJson1GetImageRecipePolicyCommand = async (input, context)
|
|
|
610
619
|
const headers = {};
|
|
611
620
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/GetImageRecipePolicy";
|
|
612
621
|
const query = map({
|
|
613
|
-
imageRecipeArn: [, input.imageRecipeArn],
|
|
622
|
+
imageRecipeArn: [, (0, smithy_client_1.expectNonNull)(input.imageRecipeArn, `imageRecipeArn`)],
|
|
614
623
|
});
|
|
615
624
|
let body;
|
|
616
625
|
return new protocol_http_1.HttpRequest({
|
|
@@ -630,7 +639,10 @@ const serializeAws_restJson1GetInfrastructureConfigurationCommand = async (input
|
|
|
630
639
|
const headers = {};
|
|
631
640
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/GetInfrastructureConfiguration";
|
|
632
641
|
const query = map({
|
|
633
|
-
infrastructureConfigurationArn: [
|
|
642
|
+
infrastructureConfigurationArn: [
|
|
643
|
+
,
|
|
644
|
+
(0, smithy_client_1.expectNonNull)(input.infrastructureConfigurationArn, `infrastructureConfigurationArn`),
|
|
645
|
+
],
|
|
634
646
|
});
|
|
635
647
|
let body;
|
|
636
648
|
return new protocol_http_1.HttpRequest({
|
|
@@ -1122,7 +1134,10 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
|
|
|
1122
1134
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
|
|
1123
1135
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
1124
1136
|
const query = map({
|
|
1125
|
-
tagKeys: [
|
|
1137
|
+
tagKeys: [
|
|
1138
|
+
(0, smithy_client_1.expectNonNull)(input.tagKeys, `tagKeys`) != null,
|
|
1139
|
+
() => (input.tagKeys || []).map((_entry) => _entry),
|
|
1140
|
+
],
|
|
1126
1141
|
});
|
|
1127
1142
|
let body;
|
|
1128
1143
|
return new protocol_http_1.HttpRequest({
|
|
@@ -278,7 +278,7 @@ export const serializeAws_restJson1DeleteComponentCommand = async (input, contex
|
|
|
278
278
|
const headers = {};
|
|
279
279
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/DeleteComponent";
|
|
280
280
|
const query = map({
|
|
281
|
-
componentBuildVersionArn: [, input.componentBuildVersionArn],
|
|
281
|
+
componentBuildVersionArn: [, __expectNonNull(input.componentBuildVersionArn, `componentBuildVersionArn`)],
|
|
282
282
|
});
|
|
283
283
|
let body;
|
|
284
284
|
return new __HttpRequest({
|
|
@@ -297,7 +297,7 @@ export const serializeAws_restJson1DeleteContainerRecipeCommand = async (input,
|
|
|
297
297
|
const headers = {};
|
|
298
298
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/DeleteContainerRecipe";
|
|
299
299
|
const query = map({
|
|
300
|
-
containerRecipeArn: [, input.containerRecipeArn],
|
|
300
|
+
containerRecipeArn: [, __expectNonNull(input.containerRecipeArn, `containerRecipeArn`)],
|
|
301
301
|
});
|
|
302
302
|
let body;
|
|
303
303
|
return new __HttpRequest({
|
|
@@ -316,7 +316,10 @@ export const serializeAws_restJson1DeleteDistributionConfigurationCommand = asyn
|
|
|
316
316
|
const headers = {};
|
|
317
317
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/DeleteDistributionConfiguration";
|
|
318
318
|
const query = map({
|
|
319
|
-
distributionConfigurationArn: [
|
|
319
|
+
distributionConfigurationArn: [
|
|
320
|
+
,
|
|
321
|
+
__expectNonNull(input.distributionConfigurationArn, `distributionConfigurationArn`),
|
|
322
|
+
],
|
|
320
323
|
});
|
|
321
324
|
let body;
|
|
322
325
|
return new __HttpRequest({
|
|
@@ -335,7 +338,7 @@ export const serializeAws_restJson1DeleteImageCommand = async (input, context) =
|
|
|
335
338
|
const headers = {};
|
|
336
339
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/DeleteImage";
|
|
337
340
|
const query = map({
|
|
338
|
-
imageBuildVersionArn: [, input.imageBuildVersionArn],
|
|
341
|
+
imageBuildVersionArn: [, __expectNonNull(input.imageBuildVersionArn, `imageBuildVersionArn`)],
|
|
339
342
|
});
|
|
340
343
|
let body;
|
|
341
344
|
return new __HttpRequest({
|
|
@@ -354,7 +357,7 @@ export const serializeAws_restJson1DeleteImagePipelineCommand = async (input, co
|
|
|
354
357
|
const headers = {};
|
|
355
358
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/DeleteImagePipeline";
|
|
356
359
|
const query = map({
|
|
357
|
-
imagePipelineArn: [, input.imagePipelineArn],
|
|
360
|
+
imagePipelineArn: [, __expectNonNull(input.imagePipelineArn, `imagePipelineArn`)],
|
|
358
361
|
});
|
|
359
362
|
let body;
|
|
360
363
|
return new __HttpRequest({
|
|
@@ -373,7 +376,7 @@ export const serializeAws_restJson1DeleteImageRecipeCommand = async (input, cont
|
|
|
373
376
|
const headers = {};
|
|
374
377
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/DeleteImageRecipe";
|
|
375
378
|
const query = map({
|
|
376
|
-
imageRecipeArn: [, input.imageRecipeArn],
|
|
379
|
+
imageRecipeArn: [, __expectNonNull(input.imageRecipeArn, `imageRecipeArn`)],
|
|
377
380
|
});
|
|
378
381
|
let body;
|
|
379
382
|
return new __HttpRequest({
|
|
@@ -392,7 +395,10 @@ export const serializeAws_restJson1DeleteInfrastructureConfigurationCommand = as
|
|
|
392
395
|
const headers = {};
|
|
393
396
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/DeleteInfrastructureConfiguration";
|
|
394
397
|
const query = map({
|
|
395
|
-
infrastructureConfigurationArn: [
|
|
398
|
+
infrastructureConfigurationArn: [
|
|
399
|
+
,
|
|
400
|
+
__expectNonNull(input.infrastructureConfigurationArn, `infrastructureConfigurationArn`),
|
|
401
|
+
],
|
|
396
402
|
});
|
|
397
403
|
let body;
|
|
398
404
|
return new __HttpRequest({
|
|
@@ -411,7 +417,7 @@ export const serializeAws_restJson1GetComponentCommand = async (input, context)
|
|
|
411
417
|
const headers = {};
|
|
412
418
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/GetComponent";
|
|
413
419
|
const query = map({
|
|
414
|
-
componentBuildVersionArn: [, input.componentBuildVersionArn],
|
|
420
|
+
componentBuildVersionArn: [, __expectNonNull(input.componentBuildVersionArn, `componentBuildVersionArn`)],
|
|
415
421
|
});
|
|
416
422
|
let body;
|
|
417
423
|
return new __HttpRequest({
|
|
@@ -430,7 +436,7 @@ export const serializeAws_restJson1GetComponentPolicyCommand = async (input, con
|
|
|
430
436
|
const headers = {};
|
|
431
437
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/GetComponentPolicy";
|
|
432
438
|
const query = map({
|
|
433
|
-
componentArn: [, input.componentArn],
|
|
439
|
+
componentArn: [, __expectNonNull(input.componentArn, `componentArn`)],
|
|
434
440
|
});
|
|
435
441
|
let body;
|
|
436
442
|
return new __HttpRequest({
|
|
@@ -449,7 +455,7 @@ export const serializeAws_restJson1GetContainerRecipeCommand = async (input, con
|
|
|
449
455
|
const headers = {};
|
|
450
456
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/GetContainerRecipe";
|
|
451
457
|
const query = map({
|
|
452
|
-
containerRecipeArn: [, input.containerRecipeArn],
|
|
458
|
+
containerRecipeArn: [, __expectNonNull(input.containerRecipeArn, `containerRecipeArn`)],
|
|
453
459
|
});
|
|
454
460
|
let body;
|
|
455
461
|
return new __HttpRequest({
|
|
@@ -468,7 +474,7 @@ export const serializeAws_restJson1GetContainerRecipePolicyCommand = async (inpu
|
|
|
468
474
|
const headers = {};
|
|
469
475
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/GetContainerRecipePolicy";
|
|
470
476
|
const query = map({
|
|
471
|
-
containerRecipeArn: [, input.containerRecipeArn],
|
|
477
|
+
containerRecipeArn: [, __expectNonNull(input.containerRecipeArn, `containerRecipeArn`)],
|
|
472
478
|
});
|
|
473
479
|
let body;
|
|
474
480
|
return new __HttpRequest({
|
|
@@ -487,7 +493,10 @@ export const serializeAws_restJson1GetDistributionConfigurationCommand = async (
|
|
|
487
493
|
const headers = {};
|
|
488
494
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/GetDistributionConfiguration";
|
|
489
495
|
const query = map({
|
|
490
|
-
distributionConfigurationArn: [
|
|
496
|
+
distributionConfigurationArn: [
|
|
497
|
+
,
|
|
498
|
+
__expectNonNull(input.distributionConfigurationArn, `distributionConfigurationArn`),
|
|
499
|
+
],
|
|
491
500
|
});
|
|
492
501
|
let body;
|
|
493
502
|
return new __HttpRequest({
|
|
@@ -506,7 +515,7 @@ export const serializeAws_restJson1GetImageCommand = async (input, context) => {
|
|
|
506
515
|
const headers = {};
|
|
507
516
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/GetImage";
|
|
508
517
|
const query = map({
|
|
509
|
-
imageBuildVersionArn: [, input.imageBuildVersionArn],
|
|
518
|
+
imageBuildVersionArn: [, __expectNonNull(input.imageBuildVersionArn, `imageBuildVersionArn`)],
|
|
510
519
|
});
|
|
511
520
|
let body;
|
|
512
521
|
return new __HttpRequest({
|
|
@@ -525,7 +534,7 @@ export const serializeAws_restJson1GetImagePipelineCommand = async (input, conte
|
|
|
525
534
|
const headers = {};
|
|
526
535
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/GetImagePipeline";
|
|
527
536
|
const query = map({
|
|
528
|
-
imagePipelineArn: [, input.imagePipelineArn],
|
|
537
|
+
imagePipelineArn: [, __expectNonNull(input.imagePipelineArn, `imagePipelineArn`)],
|
|
529
538
|
});
|
|
530
539
|
let body;
|
|
531
540
|
return new __HttpRequest({
|
|
@@ -544,7 +553,7 @@ export const serializeAws_restJson1GetImagePolicyCommand = async (input, context
|
|
|
544
553
|
const headers = {};
|
|
545
554
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/GetImagePolicy";
|
|
546
555
|
const query = map({
|
|
547
|
-
imageArn: [, input.imageArn],
|
|
556
|
+
imageArn: [, __expectNonNull(input.imageArn, `imageArn`)],
|
|
548
557
|
});
|
|
549
558
|
let body;
|
|
550
559
|
return new __HttpRequest({
|
|
@@ -563,7 +572,7 @@ export const serializeAws_restJson1GetImageRecipeCommand = async (input, context
|
|
|
563
572
|
const headers = {};
|
|
564
573
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/GetImageRecipe";
|
|
565
574
|
const query = map({
|
|
566
|
-
imageRecipeArn: [, input.imageRecipeArn],
|
|
575
|
+
imageRecipeArn: [, __expectNonNull(input.imageRecipeArn, `imageRecipeArn`)],
|
|
567
576
|
});
|
|
568
577
|
let body;
|
|
569
578
|
return new __HttpRequest({
|
|
@@ -582,7 +591,7 @@ export const serializeAws_restJson1GetImageRecipePolicyCommand = async (input, c
|
|
|
582
591
|
const headers = {};
|
|
583
592
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/GetImageRecipePolicy";
|
|
584
593
|
const query = map({
|
|
585
|
-
imageRecipeArn: [, input.imageRecipeArn],
|
|
594
|
+
imageRecipeArn: [, __expectNonNull(input.imageRecipeArn, `imageRecipeArn`)],
|
|
586
595
|
});
|
|
587
596
|
let body;
|
|
588
597
|
return new __HttpRequest({
|
|
@@ -601,7 +610,10 @@ export const serializeAws_restJson1GetInfrastructureConfigurationCommand = async
|
|
|
601
610
|
const headers = {};
|
|
602
611
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/GetInfrastructureConfiguration";
|
|
603
612
|
const query = map({
|
|
604
|
-
infrastructureConfigurationArn: [
|
|
613
|
+
infrastructureConfigurationArn: [
|
|
614
|
+
,
|
|
615
|
+
__expectNonNull(input.infrastructureConfigurationArn, `infrastructureConfigurationArn`),
|
|
616
|
+
],
|
|
605
617
|
});
|
|
606
618
|
let body;
|
|
607
619
|
return new __HttpRequest({
|
|
@@ -1072,7 +1084,10 @@ export const serializeAws_restJson1UntagResourceCommand = async (input, context)
|
|
|
1072
1084
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
|
|
1073
1085
|
resolvedPath = __resolvedPath(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
1074
1086
|
const query = map({
|
|
1075
|
-
tagKeys: [
|
|
1087
|
+
tagKeys: [
|
|
1088
|
+
__expectNonNull(input.tagKeys, `tagKeys`) != null,
|
|
1089
|
+
() => (input.tagKeys || []).map((_entry) => _entry),
|
|
1090
|
+
],
|
|
1076
1091
|
});
|
|
1077
1092
|
let body;
|
|
1078
1093
|
return new __HttpRequest({
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-imagebuilder",
|
|
3
3
|
"description": "AWS SDK for JavaScript Imagebuilder Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.218.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.218.0",
|
|
23
23
|
"@aws-sdk/config-resolver": "3.215.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.218.0",
|
|
25
25
|
"@aws-sdk/fetch-http-handler": "3.215.0",
|
|
26
26
|
"@aws-sdk/hash-node": "3.215.0",
|
|
27
27
|
"@aws-sdk/invalid-dependency": "3.215.0",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
47
47
|
"@aws-sdk/util-defaults-mode-browser": "3.215.0",
|
|
48
48
|
"@aws-sdk/util-defaults-mode-node": "3.215.0",
|
|
49
|
-
"@aws-sdk/util-endpoints": "3.
|
|
49
|
+
"@aws-sdk/util-endpoints": "3.216.0",
|
|
50
50
|
"@aws-sdk/util-user-agent-browser": "3.215.0",
|
|
51
51
|
"@aws-sdk/util-user-agent-node": "3.215.0",
|
|
52
52
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|