@aws-sdk/client-imagebuilder 3.936.0 → 3.939.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/README.md +16 -0
- package/dist-cjs/index.js +240 -17
- package/dist-es/Imagebuilder.js +4 -0
- package/dist-es/commands/DistributeImageCommand.js +16 -0
- package/dist-es/commands/RetryImageCommand.js +16 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/errors.js +36 -0
- package/dist-es/schemas/schemas_0.js +174 -18
- package/dist-types/Imagebuilder.d.ts +14 -0
- package/dist-types/ImagebuilderClient.d.ts +4 -2
- package/dist-types/commands/CreateComponentCommand.d.ts +10 -0
- package/dist-types/commands/CreateContainerRecipeCommand.d.ts +6 -0
- package/dist-types/commands/CreateImageCommand.d.ts +6 -0
- package/dist-types/commands/CreateImageRecipeCommand.d.ts +6 -0
- package/dist-types/commands/CreateWorkflowCommand.d.ts +10 -0
- package/dist-types/commands/DistributeImageCommand.d.ts +127 -0
- package/dist-types/commands/GetComponentCommand.d.ts +6 -0
- package/dist-types/commands/GetContainerRecipeCommand.d.ts +6 -0
- package/dist-types/commands/GetImageCommand.d.ts +6 -0
- package/dist-types/commands/GetImageRecipeCommand.d.ts +6 -0
- package/dist-types/commands/GetWorkflowCommand.d.ts +6 -0
- package/dist-types/commands/ListWorkflowExecutionsCommand.d.ts +1 -0
- package/dist-types/commands/RetryImageCommand.d.ts +105 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/errors.d.ts +36 -0
- package/dist-types/models/models_0.d.ts +189 -15
- package/dist-types/schemas/schemas_0.d.ts +10 -0
- package/dist-types/ts3.4/Imagebuilder.d.ts +34 -0
- package/dist-types/ts3.4/ImagebuilderClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/DistributeImageCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/RetryImageCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/errors.d.ts +21 -0
- package/dist-types/ts3.4/models/models_0.d.ts +39 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +10 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -365,6 +365,14 @@ DeleteWorkflow
|
|
|
365
365
|
|
|
366
366
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/imagebuilder/command/DeleteWorkflowCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-imagebuilder/Interface/DeleteWorkflowCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-imagebuilder/Interface/DeleteWorkflowCommandOutput/)
|
|
367
367
|
|
|
368
|
+
</details>
|
|
369
|
+
<details>
|
|
370
|
+
<summary>
|
|
371
|
+
DistributeImage
|
|
372
|
+
</summary>
|
|
373
|
+
|
|
374
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/imagebuilder/command/DistributeImageCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-imagebuilder/Interface/DistributeImageCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-imagebuilder/Interface/DistributeImageCommandOutput/)
|
|
375
|
+
|
|
368
376
|
</details>
|
|
369
377
|
<details>
|
|
370
378
|
<summary>
|
|
@@ -733,6 +741,14 @@ PutImageRecipePolicy
|
|
|
733
741
|
|
|
734
742
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/imagebuilder/command/PutImageRecipePolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-imagebuilder/Interface/PutImageRecipePolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-imagebuilder/Interface/PutImageRecipePolicyCommandOutput/)
|
|
735
743
|
|
|
744
|
+
</details>
|
|
745
|
+
<details>
|
|
746
|
+
<summary>
|
|
747
|
+
RetryImage
|
|
748
|
+
</summary>
|
|
749
|
+
|
|
750
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/imagebuilder/command/RetryImageCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-imagebuilder/Interface/RetryImageCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-imagebuilder/Interface/RetryImageCommandOutput/)
|
|
751
|
+
|
|
736
752
|
</details>
|
|
737
753
|
<details>
|
|
738
754
|
<summary>
|
package/dist-cjs/index.js
CHANGED
|
@@ -117,6 +117,18 @@ let ImagebuilderServiceException$1 = class ImagebuilderServiceException extends
|
|
|
117
117
|
}
|
|
118
118
|
};
|
|
119
119
|
|
|
120
|
+
let AccessDeniedException$1 = class AccessDeniedException extends ImagebuilderServiceException$1 {
|
|
121
|
+
name = "AccessDeniedException";
|
|
122
|
+
$fault = "client";
|
|
123
|
+
constructor(opts) {
|
|
124
|
+
super({
|
|
125
|
+
name: "AccessDeniedException",
|
|
126
|
+
$fault: "client",
|
|
127
|
+
...opts,
|
|
128
|
+
});
|
|
129
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
130
|
+
}
|
|
131
|
+
};
|
|
120
132
|
let CallRateLimitExceededException$1 = class CallRateLimitExceededException extends ImagebuilderServiceException$1 {
|
|
121
133
|
name = "CallRateLimitExceededException";
|
|
122
134
|
$fault = "client";
|
|
@@ -213,6 +225,18 @@ let ServiceUnavailableException$1 = class ServiceUnavailableException extends Im
|
|
|
213
225
|
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
214
226
|
}
|
|
215
227
|
};
|
|
228
|
+
let DryRunOperationException$1 = class DryRunOperationException extends ImagebuilderServiceException$1 {
|
|
229
|
+
name = "DryRunOperationException";
|
|
230
|
+
$fault = "client";
|
|
231
|
+
constructor(opts) {
|
|
232
|
+
super({
|
|
233
|
+
name: "DryRunOperationException",
|
|
234
|
+
$fault: "client",
|
|
235
|
+
...opts,
|
|
236
|
+
});
|
|
237
|
+
Object.setPrototypeOf(this, DryRunOperationException.prototype);
|
|
238
|
+
}
|
|
239
|
+
};
|
|
216
240
|
let InvalidParameterCombinationException$1 = class InvalidParameterCombinationException extends ImagebuilderServiceException$1 {
|
|
217
241
|
name = "InvalidParameterCombinationException";
|
|
218
242
|
$fault = "client";
|
|
@@ -285,6 +309,18 @@ let ResourceNotFoundException$1 = class ResourceNotFoundException extends Imageb
|
|
|
285
309
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
286
310
|
}
|
|
287
311
|
};
|
|
312
|
+
let TooManyRequestsException$1 = class TooManyRequestsException extends ImagebuilderServiceException$1 {
|
|
313
|
+
name = "TooManyRequestsException";
|
|
314
|
+
$fault = "client";
|
|
315
|
+
constructor(opts) {
|
|
316
|
+
super({
|
|
317
|
+
name: "TooManyRequestsException",
|
|
318
|
+
$fault: "client",
|
|
319
|
+
...opts,
|
|
320
|
+
});
|
|
321
|
+
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
322
|
+
}
|
|
323
|
+
};
|
|
288
324
|
let InvalidPaginationTokenException$1 = class InvalidPaginationTokenException extends ImagebuilderServiceException$1 {
|
|
289
325
|
name = "InvalidPaginationTokenException";
|
|
290
326
|
$fault = "client";
|
|
@@ -325,6 +361,7 @@ let InvalidParameterValueException$1 = class InvalidParameterValueException exte
|
|
|
325
361
|
const _A = "Ami";
|
|
326
362
|
const _AA = "AccountAggregation";
|
|
327
363
|
const _ADC = "AmiDistributionConfiguration";
|
|
364
|
+
const _ADE = "AccessDeniedException";
|
|
328
365
|
const _ADP = "AutoDisablePolicy";
|
|
329
366
|
const _AIC = "AdditionalInstanceConfiguration";
|
|
330
367
|
const _AL = "AmiList";
|
|
@@ -411,10 +448,14 @@ const _DIRR = "DeleteImageRecipeRequest";
|
|
|
411
448
|
const _DIRRe = "DeleteImageRecipeResponse";
|
|
412
449
|
const _DIRe = "DeleteImageResponse";
|
|
413
450
|
const _DIRel = "DeleteImageRecipe";
|
|
451
|
+
const _DIRi = "DistributeImageRequest";
|
|
452
|
+
const _DIRis = "DistributeImageResponse";
|
|
453
|
+
const _DIi = "DistributeImage";
|
|
414
454
|
const _DL = "DistributionList";
|
|
415
455
|
const _DLP = "DeleteLifecyclePolicy";
|
|
416
456
|
const _DLPR = "DeleteLifecyclePolicyRequest";
|
|
417
457
|
const _DLPRe = "DeleteLifecyclePolicyResponse";
|
|
458
|
+
const _DROE = "DryRunOperationException";
|
|
418
459
|
const _DW = "DeleteWorkflow";
|
|
419
460
|
const _DWR = "DeleteWorkflowRequest";
|
|
420
461
|
const _DWRe = "DeleteWorkflowResponse";
|
|
@@ -606,6 +647,7 @@ const _LTCL = "LaunchTemplateConfigurationList";
|
|
|
606
647
|
const _LTFR = "ListTagsForResource";
|
|
607
648
|
const _LTFRR = "ListTagsForResourceRequest";
|
|
608
649
|
const _LTFRRi = "ListTagsForResourceResponse";
|
|
650
|
+
const _LVR = "LatestVersionReferences";
|
|
609
651
|
const _LW = "ListWorkflows";
|
|
610
652
|
const _LWBV = "ListWorkflowBuildVersions";
|
|
611
653
|
const _LWBVR = "ListWorkflowBuildVersionsRequest";
|
|
@@ -642,6 +684,9 @@ const _PVD = "PackageVulnerabilityDetails";
|
|
|
642
684
|
const _R = "Remediation";
|
|
643
685
|
const _RAEE = "ResourceAlreadyExistsException";
|
|
644
686
|
const _RDE = "ResourceDependencyException";
|
|
687
|
+
const _RI = "RetryImage";
|
|
688
|
+
const _RIR = "RetryImageRequest";
|
|
689
|
+
const _RIRe = "RetryImageResponse";
|
|
645
690
|
const _RIUE = "ResourceInUseException";
|
|
646
691
|
const _RNFE = "ResourceNotFoundException";
|
|
647
692
|
const _RR = "RemediationRecommendation";
|
|
@@ -668,6 +713,7 @@ const _SWSA = "SendWorkflowStepAction";
|
|
|
668
713
|
const _SWSAR = "SendWorkflowStepActionRequest";
|
|
669
714
|
const _SWSARe = "SendWorkflowStepActionResponse";
|
|
670
715
|
const _TCR = "TargetContainerRepository";
|
|
716
|
+
const _TMRE = "TooManyRequestsException";
|
|
671
717
|
const _TR = "TagResource";
|
|
672
718
|
const _TRR = "TagResourceRequest";
|
|
673
719
|
const _TRRa = "TagResourceResponse";
|
|
@@ -759,6 +805,7 @@ const _dLR = "dateLastRun";
|
|
|
759
805
|
const _dN = "deviceName";
|
|
760
806
|
const _dNR = "dateNextRun";
|
|
761
807
|
const _dOT = "deleteOnTermination";
|
|
808
|
+
const _dR = "dryRun";
|
|
762
809
|
const _dT = "deprecationTime";
|
|
763
810
|
const _dTD = "dockerfileTemplateData";
|
|
764
811
|
const _dTU = "dockerfileTemplateUri";
|
|
@@ -845,9 +892,12 @@ const _lES = "lifecycleExecutionState";
|
|
|
845
892
|
const _lEi = "lifecycleExecutions";
|
|
846
893
|
const _lGN = "logGroupName";
|
|
847
894
|
const _lL = "lastLaunched";
|
|
895
|
+
const _lMVA = "latestMajorVersionArn";
|
|
896
|
+
const _lMVAa = "latestMinorVersionArn";
|
|
848
897
|
const _lP = "launchPermission";
|
|
849
898
|
const _lPA = "lifecyclePolicyArn";
|
|
850
899
|
const _lPSL = "lifecyclePolicySummaryList";
|
|
900
|
+
const _lPVA = "latestPatchVersionArn";
|
|
851
901
|
const _lPi = "lifecyclePolicy";
|
|
852
902
|
const _lRS = "lastRunStatus";
|
|
853
903
|
const _lT = "launchTemplate";
|
|
@@ -855,6 +905,8 @@ const _lTC = "launchTemplateConfigurations";
|
|
|
855
905
|
const _lTI = "launchTemplateId";
|
|
856
906
|
const _lTN = "launchTemplateName";
|
|
857
907
|
const _lTV = "launchTemplateVersion";
|
|
908
|
+
const _lVA = "latestVersionArn";
|
|
909
|
+
const _lVR = "latestVersionReferences";
|
|
858
910
|
const _m = "message";
|
|
859
911
|
const _mPL = "maxParallelLaunches";
|
|
860
912
|
const _mR = "maxResults";
|
|
@@ -914,6 +966,7 @@ const _rel = "release";
|
|
|
914
966
|
const _rem = "remediation";
|
|
915
967
|
const _res = "responses";
|
|
916
968
|
const _reso = "resources";
|
|
969
|
+
const _ret = "retried";
|
|
917
970
|
const _s = "state";
|
|
918
971
|
const _sA = "sharedAccounts";
|
|
919
972
|
const _sB = "s3Bucket";
|
|
@@ -927,6 +980,7 @@ const _sEI = "stepExecutionId";
|
|
|
927
980
|
const _sGI = "securityGroupIds";
|
|
928
981
|
const _sI = "subnetId";
|
|
929
982
|
const _sIn = "snapshotId";
|
|
983
|
+
const _sIo = "sourceImage";
|
|
930
984
|
const _sKP = "s3KeyPrefix";
|
|
931
985
|
const _sL = "s3Logs";
|
|
932
986
|
const _sLH = "sourceLayerHash";
|
|
@@ -1005,6 +1059,18 @@ const _wVA = "workflowVersionArn";
|
|
|
1005
1059
|
const _wVL = "workflowVersionList";
|
|
1006
1060
|
const _wo = "workflow";
|
|
1007
1061
|
const n0 = "com.amazonaws.imagebuilder";
|
|
1062
|
+
var AccessDeniedException = [
|
|
1063
|
+
-3,
|
|
1064
|
+
n0,
|
|
1065
|
+
_ADE,
|
|
1066
|
+
{
|
|
1067
|
+
[_e]: _c,
|
|
1068
|
+
[_hE]: 403,
|
|
1069
|
+
},
|
|
1070
|
+
[_m],
|
|
1071
|
+
[0],
|
|
1072
|
+
];
|
|
1073
|
+
schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
|
|
1008
1074
|
var AccountAggregation = [3, n0, _AA, 0, [_aI, _sC], [0, () => SeverityCounts]];
|
|
1009
1075
|
var AdditionalInstanceConfiguration = [
|
|
1010
1076
|
3,
|
|
@@ -1155,10 +1221,17 @@ var CreateComponentRequest = [
|
|
|
1155
1221
|
n0,
|
|
1156
1222
|
_CCR,
|
|
1157
1223
|
0,
|
|
1158
|
-
[_n, _sV, _d, _cD, _p, _sOV, _da, _u, _kKI, _ta, _cT],
|
|
1159
|
-
[0, 0, 0, 0, 0, 64 | 0, 0, 0, 0, 128 | 0, [0, 4]],
|
|
1224
|
+
[_n, _sV, _d, _cD, _p, _sOV, _da, _u, _kKI, _ta, _cT, _dR],
|
|
1225
|
+
[0, 0, 0, 0, 0, 64 | 0, 0, 0, 0, 128 | 0, [0, 4], 2],
|
|
1226
|
+
];
|
|
1227
|
+
var CreateComponentResponse = [
|
|
1228
|
+
3,
|
|
1229
|
+
n0,
|
|
1230
|
+
_CCRr,
|
|
1231
|
+
0,
|
|
1232
|
+
[_rI, _cT, _cBVA, _lVR],
|
|
1233
|
+
[0, 0, 0, () => LatestVersionReferences],
|
|
1160
1234
|
];
|
|
1161
|
-
var CreateComponentResponse = [3, n0, _CCRr, 0, [_rI, _cT, _cBVA], [0, 0, 0]];
|
|
1162
1235
|
var CreateContainerRecipeRequest = [
|
|
1163
1236
|
3,
|
|
1164
1237
|
n0,
|
|
@@ -1184,7 +1257,14 @@ var CreateContainerRecipeRequest = [
|
|
|
1184
1257
|
[0, 4],
|
|
1185
1258
|
],
|
|
1186
1259
|
];
|
|
1187
|
-
var CreateContainerRecipeResponse = [
|
|
1260
|
+
var CreateContainerRecipeResponse = [
|
|
1261
|
+
3,
|
|
1262
|
+
n0,
|
|
1263
|
+
_CCRRr,
|
|
1264
|
+
0,
|
|
1265
|
+
[_rI, _cT, _cRA, _lVR],
|
|
1266
|
+
[0, 0, 0, () => LatestVersionReferences],
|
|
1267
|
+
];
|
|
1188
1268
|
var CreateDistributionConfigurationRequest = [
|
|
1189
1269
|
3,
|
|
1190
1270
|
n0,
|
|
@@ -1247,7 +1327,14 @@ var CreateImageRecipeRequest = [
|
|
|
1247
1327
|
[0, 4],
|
|
1248
1328
|
],
|
|
1249
1329
|
];
|
|
1250
|
-
var CreateImageRecipeResponse = [
|
|
1330
|
+
var CreateImageRecipeResponse = [
|
|
1331
|
+
3,
|
|
1332
|
+
n0,
|
|
1333
|
+
_CIRRr,
|
|
1334
|
+
0,
|
|
1335
|
+
[_rI, _cT, _iRA, _lVR],
|
|
1336
|
+
[0, 0, 0, () => LatestVersionReferences],
|
|
1337
|
+
];
|
|
1251
1338
|
var CreateImageRequest = [
|
|
1252
1339
|
3,
|
|
1253
1340
|
n0,
|
|
@@ -1269,7 +1356,14 @@ var CreateImageRequest = [
|
|
|
1269
1356
|
() => ImageLoggingConfiguration,
|
|
1270
1357
|
],
|
|
1271
1358
|
];
|
|
1272
|
-
var CreateImageResponse = [
|
|
1359
|
+
var CreateImageResponse = [
|
|
1360
|
+
3,
|
|
1361
|
+
n0,
|
|
1362
|
+
_CIRr,
|
|
1363
|
+
0,
|
|
1364
|
+
[_rI, _cT, _iBVA, _lVR],
|
|
1365
|
+
[0, 0, 0, () => LatestVersionReferences],
|
|
1366
|
+
];
|
|
1273
1367
|
var CreateInfrastructureConfigurationRequest = [
|
|
1274
1368
|
3,
|
|
1275
1369
|
n0,
|
|
@@ -1316,10 +1410,17 @@ var CreateWorkflowRequest = [
|
|
|
1316
1410
|
n0,
|
|
1317
1411
|
_CWR,
|
|
1318
1412
|
0,
|
|
1319
|
-
[_n, _sV, _d, _cD, _da, _u, _kKI, _ta, _cT, _t],
|
|
1320
|
-
[0, 0, 0, 0, 0, 0, 0, 128 | 0, [0, 4], 0],
|
|
1413
|
+
[_n, _sV, _d, _cD, _da, _u, _kKI, _ta, _cT, _t, _dR],
|
|
1414
|
+
[0, 0, 0, 0, 0, 0, 0, 128 | 0, [0, 4], 0, 2],
|
|
1415
|
+
];
|
|
1416
|
+
var CreateWorkflowResponse = [
|
|
1417
|
+
3,
|
|
1418
|
+
n0,
|
|
1419
|
+
_CWRr,
|
|
1420
|
+
0,
|
|
1421
|
+
[_cT, _wBVA, _lVR],
|
|
1422
|
+
[0, 0, () => LatestVersionReferences],
|
|
1321
1423
|
];
|
|
1322
|
-
var CreateWorkflowResponse = [3, n0, _CWRr, 0, [_cT, _wBVA], [0, 0]];
|
|
1323
1424
|
var CvssScore = [3, n0, _CSv, 0, [_bS, _sVc, _v, _so], [1, 0, 0, 0]];
|
|
1324
1425
|
var CvssScoreAdjustment = [3, n0, _CSA, 0, [_me, _re], [0, 0]];
|
|
1325
1426
|
var CvssScoreDetails = [
|
|
@@ -1474,6 +1575,15 @@ var DeleteWorkflowRequest = [
|
|
|
1474
1575
|
],
|
|
1475
1576
|
];
|
|
1476
1577
|
var DeleteWorkflowResponse = [3, n0, _DWRe, 0, [_wBVA], [0]];
|
|
1578
|
+
var DistributeImageRequest = [
|
|
1579
|
+
3,
|
|
1580
|
+
n0,
|
|
1581
|
+
_DIRi,
|
|
1582
|
+
0,
|
|
1583
|
+
[_sIo, _dCA, _eR, _ta, _cT, _lC],
|
|
1584
|
+
[0, 0, 0, 128 | 0, [0, 4], () => ImageLoggingConfiguration],
|
|
1585
|
+
];
|
|
1586
|
+
var DistributeImageResponse = [3, n0, _DIRis, 0, [_cT, _iBVA], [0, 0]];
|
|
1477
1587
|
var Distribution = [
|
|
1478
1588
|
3,
|
|
1479
1589
|
n0,
|
|
@@ -1507,6 +1617,18 @@ var DistributionConfigurationSummary = [
|
|
|
1507
1617
|
[_a, _n, _d, _dC, _dU, _ta, _reg],
|
|
1508
1618
|
[0, 0, 0, 0, 0, 128 | 0, 64 | 0],
|
|
1509
1619
|
];
|
|
1620
|
+
var DryRunOperationException = [
|
|
1621
|
+
-3,
|
|
1622
|
+
n0,
|
|
1623
|
+
_DROE,
|
|
1624
|
+
{
|
|
1625
|
+
[_e]: _c,
|
|
1626
|
+
[_hE]: 412,
|
|
1627
|
+
},
|
|
1628
|
+
[_m],
|
|
1629
|
+
[0],
|
|
1630
|
+
];
|
|
1631
|
+
schema.TypeRegistry.for(n0).registerError(DryRunOperationException, DryRunOperationException$1);
|
|
1510
1632
|
var EbsInstanceBlockDeviceSpecification = [
|
|
1511
1633
|
3,
|
|
1512
1634
|
n0,
|
|
@@ -1577,7 +1699,14 @@ var GetComponentRequest = [
|
|
|
1577
1699
|
],
|
|
1578
1700
|
],
|
|
1579
1701
|
];
|
|
1580
|
-
var GetComponentResponse = [
|
|
1702
|
+
var GetComponentResponse = [
|
|
1703
|
+
3,
|
|
1704
|
+
n0,
|
|
1705
|
+
_GCRe,
|
|
1706
|
+
0,
|
|
1707
|
+
[_rI, _com, _lVR],
|
|
1708
|
+
[0, () => Component, () => LatestVersionReferences],
|
|
1709
|
+
];
|
|
1581
1710
|
var GetContainerRecipePolicyRequest = [
|
|
1582
1711
|
3,
|
|
1583
1712
|
n0,
|
|
@@ -1614,8 +1743,8 @@ var GetContainerRecipeResponse = [
|
|
|
1614
1743
|
n0,
|
|
1615
1744
|
_GCRRe,
|
|
1616
1745
|
0,
|
|
1617
|
-
[_rI, _cR],
|
|
1618
|
-
[0, () => ContainerRecipe],
|
|
1746
|
+
[_rI, _cR, _lVR],
|
|
1747
|
+
[0, () => ContainerRecipe, () => LatestVersionReferences],
|
|
1619
1748
|
];
|
|
1620
1749
|
var GetDistributionConfigurationRequest = [
|
|
1621
1750
|
3,
|
|
@@ -1703,7 +1832,14 @@ var GetImageRecipeRequest = [
|
|
|
1703
1832
|
],
|
|
1704
1833
|
],
|
|
1705
1834
|
];
|
|
1706
|
-
var GetImageRecipeResponse = [
|
|
1835
|
+
var GetImageRecipeResponse = [
|
|
1836
|
+
3,
|
|
1837
|
+
n0,
|
|
1838
|
+
_GIRRe,
|
|
1839
|
+
0,
|
|
1840
|
+
[_rI, _iR, _lVR],
|
|
1841
|
+
[0, () => ImageRecipe, () => LatestVersionReferences],
|
|
1842
|
+
];
|
|
1707
1843
|
var GetImageRequest = [
|
|
1708
1844
|
3,
|
|
1709
1845
|
n0,
|
|
@@ -1719,7 +1855,14 @@ var GetImageRequest = [
|
|
|
1719
1855
|
],
|
|
1720
1856
|
],
|
|
1721
1857
|
];
|
|
1722
|
-
var GetImageResponse = [
|
|
1858
|
+
var GetImageResponse = [
|
|
1859
|
+
3,
|
|
1860
|
+
n0,
|
|
1861
|
+
_GIRe,
|
|
1862
|
+
0,
|
|
1863
|
+
[_rI, _i, _lVR],
|
|
1864
|
+
[0, () => Image, () => LatestVersionReferences],
|
|
1865
|
+
];
|
|
1723
1866
|
var GetInfrastructureConfigurationRequest = [
|
|
1724
1867
|
3,
|
|
1725
1868
|
n0,
|
|
@@ -1815,7 +1958,14 @@ var GetWorkflowRequest = [
|
|
|
1815
1958
|
],
|
|
1816
1959
|
],
|
|
1817
1960
|
];
|
|
1818
|
-
var GetWorkflowResponse = [
|
|
1961
|
+
var GetWorkflowResponse = [
|
|
1962
|
+
3,
|
|
1963
|
+
n0,
|
|
1964
|
+
_GWRe,
|
|
1965
|
+
0,
|
|
1966
|
+
[_wo, _lVR],
|
|
1967
|
+
[() => Workflow, () => LatestVersionReferences],
|
|
1968
|
+
];
|
|
1819
1969
|
var GetWorkflowStepExecutionRequest = [
|
|
1820
1970
|
3,
|
|
1821
1971
|
n0,
|
|
@@ -2219,6 +2369,14 @@ var InvalidVersionNumberException = [
|
|
|
2219
2369
|
[0],
|
|
2220
2370
|
];
|
|
2221
2371
|
schema.TypeRegistry.for(n0).registerError(InvalidVersionNumberException, InvalidVersionNumberException$1);
|
|
2372
|
+
var LatestVersionReferences = [
|
|
2373
|
+
3,
|
|
2374
|
+
n0,
|
|
2375
|
+
_LVR,
|
|
2376
|
+
0,
|
|
2377
|
+
[_lVA, _lMVA, _lMVAa, _lPVA],
|
|
2378
|
+
[0, 0, 0, 0],
|
|
2379
|
+
];
|
|
2222
2380
|
var LaunchPermissionConfiguration = [
|
|
2223
2381
|
3,
|
|
2224
2382
|
n0,
|
|
@@ -2710,6 +2868,8 @@ var ResourceStateUpdateExclusionRules = [
|
|
|
2710
2868
|
[() => LifecyclePolicyDetailExclusionRulesAmis],
|
|
2711
2869
|
];
|
|
2712
2870
|
var ResourceStateUpdateIncludeResources = [3, n0, _RSUIR, 0, [_am, _sn, _con], [2, 2, 2]];
|
|
2871
|
+
var RetryImageRequest = [3, n0, _RIR, 0, [_iBVA, _cT], [0, [0, 4]]];
|
|
2872
|
+
var RetryImageResponse = [3, n0, _RIRe, 0, [_cT, _iBVA], [0, 0]];
|
|
2713
2873
|
var S3ExportConfiguration = [3, n0, _SEC, 0, [_rNo, _dIF, _sB, _sP], [0, 0, 0, 0]];
|
|
2714
2874
|
var S3Logs = [3, n0, _SL, 0, [_sBN, _sKP], [0, 0]];
|
|
2715
2875
|
var Schedule = [
|
|
@@ -2804,6 +2964,18 @@ var SystemsManagerAgent = [3, n0, _SMA, 0, [_uAB], [2]];
|
|
|
2804
2964
|
var TagResourceRequest = [3, n0, _TRR, 0, [_rA, _ta], [[0, 1], 128 | 0]];
|
|
2805
2965
|
var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
|
|
2806
2966
|
var TargetContainerRepository = [3, n0, _TCR, 0, [_serv, _rN], [0, 0]];
|
|
2967
|
+
var TooManyRequestsException = [
|
|
2968
|
+
-3,
|
|
2969
|
+
n0,
|
|
2970
|
+
_TMRE,
|
|
2971
|
+
{
|
|
2972
|
+
[_e]: _c,
|
|
2973
|
+
[_hE]: 429,
|
|
2974
|
+
},
|
|
2975
|
+
[_m],
|
|
2976
|
+
[0],
|
|
2977
|
+
];
|
|
2978
|
+
schema.TypeRegistry.for(n0).registerError(TooManyRequestsException, TooManyRequestsException$1);
|
|
2807
2979
|
var UntagResourceRequest = [
|
|
2808
2980
|
3,
|
|
2809
2981
|
n0,
|
|
@@ -2917,8 +3089,8 @@ var WorkflowExecutionMetadata = [
|
|
|
2917
3089
|
n0,
|
|
2918
3090
|
_WEM,
|
|
2919
3091
|
0,
|
|
2920
|
-
[_wBVA, _wEI, _t, _st, _m, _tSC, _tSS, _tSF, _tSSo, _sT, _eT, _pG],
|
|
2921
|
-
[0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0],
|
|
3092
|
+
[_wBVA, _wEI, _t, _st, _m, _tSC, _tSS, _tSF, _tSSo, _sT, _eT, _pG, _ret],
|
|
3093
|
+
[0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 2],
|
|
2922
3094
|
];
|
|
2923
3095
|
var WorkflowParameter = [3, n0, _WP, 0, [_n, _va], [0, 64 | 0]];
|
|
2924
3096
|
var WorkflowParameterDetail = [3, n0, _WPD, 0, [_n, _t, _dV, _d], [0, 0, 64 | 0, 0]];
|
|
@@ -3223,6 +3395,16 @@ var DeleteWorkflow = [
|
|
|
3223
3395
|
() => DeleteWorkflowRequest,
|
|
3224
3396
|
() => DeleteWorkflowResponse,
|
|
3225
3397
|
];
|
|
3398
|
+
var DistributeImage = [
|
|
3399
|
+
9,
|
|
3400
|
+
n0,
|
|
3401
|
+
_DIi,
|
|
3402
|
+
{
|
|
3403
|
+
[_ht]: ["PUT", "/DistributeImage", 200],
|
|
3404
|
+
},
|
|
3405
|
+
() => DistributeImageRequest,
|
|
3406
|
+
() => DistributeImageResponse,
|
|
3407
|
+
];
|
|
3226
3408
|
var GetComponent = [
|
|
3227
3409
|
9,
|
|
3228
3410
|
n0,
|
|
@@ -3683,6 +3865,16 @@ var PutImageRecipePolicy = [
|
|
|
3683
3865
|
() => PutImageRecipePolicyRequest,
|
|
3684
3866
|
() => PutImageRecipePolicyResponse,
|
|
3685
3867
|
];
|
|
3868
|
+
var RetryImage = [
|
|
3869
|
+
9,
|
|
3870
|
+
n0,
|
|
3871
|
+
_RI,
|
|
3872
|
+
{
|
|
3873
|
+
[_ht]: ["PUT", "/RetryImage", 200],
|
|
3874
|
+
},
|
|
3875
|
+
() => RetryImageRequest,
|
|
3876
|
+
() => RetryImageResponse,
|
|
3877
|
+
];
|
|
3686
3878
|
var SendWorkflowStepAction = [
|
|
3687
3879
|
9,
|
|
3688
3880
|
n0,
|
|
@@ -4014,6 +4206,18 @@ class DeleteWorkflowCommand extends smithyClient.Command
|
|
|
4014
4206
|
.build() {
|
|
4015
4207
|
}
|
|
4016
4208
|
|
|
4209
|
+
class DistributeImageCommand extends smithyClient.Command
|
|
4210
|
+
.classBuilder()
|
|
4211
|
+
.ep(commonParams)
|
|
4212
|
+
.m(function (Command, cs, config, o) {
|
|
4213
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
4214
|
+
})
|
|
4215
|
+
.s("imagebuilder", "DistributeImage", {})
|
|
4216
|
+
.n("ImagebuilderClient", "DistributeImageCommand")
|
|
4217
|
+
.sc(DistributeImage)
|
|
4218
|
+
.build() {
|
|
4219
|
+
}
|
|
4220
|
+
|
|
4017
4221
|
class GetComponentCommand extends smithyClient.Command
|
|
4018
4222
|
.classBuilder()
|
|
4019
4223
|
.ep(commonParams)
|
|
@@ -4566,6 +4770,18 @@ class PutImageRecipePolicyCommand extends smithyClient.Command
|
|
|
4566
4770
|
.build() {
|
|
4567
4771
|
}
|
|
4568
4772
|
|
|
4773
|
+
class RetryImageCommand extends smithyClient.Command
|
|
4774
|
+
.classBuilder()
|
|
4775
|
+
.ep(commonParams)
|
|
4776
|
+
.m(function (Command, cs, config, o) {
|
|
4777
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
4778
|
+
})
|
|
4779
|
+
.s("imagebuilder", "RetryImage", {})
|
|
4780
|
+
.n("ImagebuilderClient", "RetryImageCommand")
|
|
4781
|
+
.sc(RetryImage)
|
|
4782
|
+
.build() {
|
|
4783
|
+
}
|
|
4784
|
+
|
|
4569
4785
|
class SendWorkflowStepActionCommand extends smithyClient.Command
|
|
4570
4786
|
.classBuilder()
|
|
4571
4787
|
.ep(commonParams)
|
|
@@ -4695,6 +4911,7 @@ const commands = {
|
|
|
4695
4911
|
DeleteInfrastructureConfigurationCommand,
|
|
4696
4912
|
DeleteLifecyclePolicyCommand,
|
|
4697
4913
|
DeleteWorkflowCommand,
|
|
4914
|
+
DistributeImageCommand,
|
|
4698
4915
|
GetComponentCommand,
|
|
4699
4916
|
GetComponentPolicyCommand,
|
|
4700
4917
|
GetContainerRecipeCommand,
|
|
@@ -4741,6 +4958,7 @@ const commands = {
|
|
|
4741
4958
|
PutContainerRecipePolicyCommand,
|
|
4742
4959
|
PutImagePolicyCommand,
|
|
4743
4960
|
PutImageRecipePolicyCommand,
|
|
4961
|
+
RetryImageCommand,
|
|
4744
4962
|
SendWorkflowStepActionCommand,
|
|
4745
4963
|
StartImagePipelineExecutionCommand,
|
|
4746
4964
|
StartResourceStateUpdateCommand,
|
|
@@ -5002,6 +5220,7 @@ Object.defineProperty(exports, "__Client", {
|
|
|
5002
5220
|
enumerable: true,
|
|
5003
5221
|
get: function () { return smithyClient.Client; }
|
|
5004
5222
|
});
|
|
5223
|
+
exports.AccessDeniedException = AccessDeniedException$1;
|
|
5005
5224
|
exports.BuildType = BuildType;
|
|
5006
5225
|
exports.CallRateLimitExceededException = CallRateLimitExceededException$1;
|
|
5007
5226
|
exports.CancelImageCreationCommand = CancelImageCreationCommand;
|
|
@@ -5031,6 +5250,8 @@ exports.DeleteInfrastructureConfigurationCommand = DeleteInfrastructureConfigura
|
|
|
5031
5250
|
exports.DeleteLifecyclePolicyCommand = DeleteLifecyclePolicyCommand;
|
|
5032
5251
|
exports.DeleteWorkflowCommand = DeleteWorkflowCommand;
|
|
5033
5252
|
exports.DiskImageFormat = DiskImageFormat;
|
|
5253
|
+
exports.DistributeImageCommand = DistributeImageCommand;
|
|
5254
|
+
exports.DryRunOperationException = DryRunOperationException$1;
|
|
5034
5255
|
exports.EbsVolumeType = EbsVolumeType;
|
|
5035
5256
|
exports.ForbiddenException = ForbiddenException$1;
|
|
5036
5257
|
exports.GetComponentCommand = GetComponentCommand;
|
|
@@ -5113,6 +5334,7 @@ exports.ResourceDependencyException = ResourceDependencyException$1;
|
|
|
5113
5334
|
exports.ResourceInUseException = ResourceInUseException$1;
|
|
5114
5335
|
exports.ResourceNotFoundException = ResourceNotFoundException$1;
|
|
5115
5336
|
exports.ResourceStatus = ResourceStatus;
|
|
5337
|
+
exports.RetryImageCommand = RetryImageCommand;
|
|
5116
5338
|
exports.SendWorkflowStepActionCommand = SendWorkflowStepActionCommand;
|
|
5117
5339
|
exports.ServiceException = ServiceException$1;
|
|
5118
5340
|
exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
|
|
@@ -5122,6 +5344,7 @@ exports.StartImagePipelineExecutionCommand = StartImagePipelineExecutionCommand;
|
|
|
5122
5344
|
exports.StartResourceStateUpdateCommand = StartResourceStateUpdateCommand;
|
|
5123
5345
|
exports.TagResourceCommand = TagResourceCommand;
|
|
5124
5346
|
exports.TenancyType = TenancyType;
|
|
5347
|
+
exports.TooManyRequestsException = TooManyRequestsException$1;
|
|
5125
5348
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
5126
5349
|
exports.UpdateDistributionConfigurationCommand = UpdateDistributionConfigurationCommand;
|
|
5127
5350
|
exports.UpdateImagePipelineCommand = UpdateImagePipelineCommand;
|
package/dist-es/Imagebuilder.js
CHANGED
|
@@ -19,6 +19,7 @@ import { DeleteImageRecipeCommand, } from "./commands/DeleteImageRecipeCommand";
|
|
|
19
19
|
import { DeleteInfrastructureConfigurationCommand, } from "./commands/DeleteInfrastructureConfigurationCommand";
|
|
20
20
|
import { DeleteLifecyclePolicyCommand, } from "./commands/DeleteLifecyclePolicyCommand";
|
|
21
21
|
import { DeleteWorkflowCommand, } from "./commands/DeleteWorkflowCommand";
|
|
22
|
+
import { DistributeImageCommand, } from "./commands/DistributeImageCommand";
|
|
22
23
|
import { GetComponentCommand, } from "./commands/GetComponentCommand";
|
|
23
24
|
import { GetComponentPolicyCommand, } from "./commands/GetComponentPolicyCommand";
|
|
24
25
|
import { GetContainerRecipeCommand, } from "./commands/GetContainerRecipeCommand";
|
|
@@ -65,6 +66,7 @@ import { PutComponentPolicyCommand, } from "./commands/PutComponentPolicyCommand
|
|
|
65
66
|
import { PutContainerRecipePolicyCommand, } from "./commands/PutContainerRecipePolicyCommand";
|
|
66
67
|
import { PutImagePolicyCommand, } from "./commands/PutImagePolicyCommand";
|
|
67
68
|
import { PutImageRecipePolicyCommand, } from "./commands/PutImageRecipePolicyCommand";
|
|
69
|
+
import { RetryImageCommand } from "./commands/RetryImageCommand";
|
|
68
70
|
import { SendWorkflowStepActionCommand, } from "./commands/SendWorkflowStepActionCommand";
|
|
69
71
|
import { StartImagePipelineExecutionCommand, } from "./commands/StartImagePipelineExecutionCommand";
|
|
70
72
|
import { StartResourceStateUpdateCommand, } from "./commands/StartResourceStateUpdateCommand";
|
|
@@ -96,6 +98,7 @@ const commands = {
|
|
|
96
98
|
DeleteInfrastructureConfigurationCommand,
|
|
97
99
|
DeleteLifecyclePolicyCommand,
|
|
98
100
|
DeleteWorkflowCommand,
|
|
101
|
+
DistributeImageCommand,
|
|
99
102
|
GetComponentCommand,
|
|
100
103
|
GetComponentPolicyCommand,
|
|
101
104
|
GetContainerRecipeCommand,
|
|
@@ -142,6 +145,7 @@ const commands = {
|
|
|
142
145
|
PutContainerRecipePolicyCommand,
|
|
143
146
|
PutImagePolicyCommand,
|
|
144
147
|
PutImageRecipePolicyCommand,
|
|
148
|
+
RetryImageCommand,
|
|
145
149
|
SendWorkflowStepActionCommand,
|
|
146
150
|
StartImagePipelineExecutionCommand,
|
|
147
151
|
StartResourceStateUpdateCommand,
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { DistributeImage } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DistributeImageCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("imagebuilder", "DistributeImage", {})
|
|
13
|
+
.n("ImagebuilderClient", "DistributeImageCommand")
|
|
14
|
+
.sc(DistributeImage)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { RetryImage } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class RetryImageCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("imagebuilder", "RetryImage", {})
|
|
13
|
+
.n("ImagebuilderClient", "RetryImageCommand")
|
|
14
|
+
.sc(RetryImage)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -18,6 +18,7 @@ export * from "./DeleteImageRecipeCommand";
|
|
|
18
18
|
export * from "./DeleteInfrastructureConfigurationCommand";
|
|
19
19
|
export * from "./DeleteLifecyclePolicyCommand";
|
|
20
20
|
export * from "./DeleteWorkflowCommand";
|
|
21
|
+
export * from "./DistributeImageCommand";
|
|
21
22
|
export * from "./GetComponentCommand";
|
|
22
23
|
export * from "./GetComponentPolicyCommand";
|
|
23
24
|
export * from "./GetContainerRecipeCommand";
|
|
@@ -64,6 +65,7 @@ export * from "./PutComponentPolicyCommand";
|
|
|
64
65
|
export * from "./PutContainerRecipePolicyCommand";
|
|
65
66
|
export * from "./PutImagePolicyCommand";
|
|
66
67
|
export * from "./PutImageRecipePolicyCommand";
|
|
68
|
+
export * from "./RetryImageCommand";
|
|
67
69
|
export * from "./SendWorkflowStepActionCommand";
|
|
68
70
|
export * from "./StartImagePipelineExecutionCommand";
|
|
69
71
|
export * from "./StartResourceStateUpdateCommand";
|