@aws-sdk/client-imagebuilder 3.315.0 → 3.319.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/Imagebuilder.js +60 -784
- package/dist-cjs/protocols/Aws_restJson1.js +14 -14
- package/dist-es/Imagebuilder.js +60 -784
- package/dist-es/protocols/Aws_restJson1.js +14 -14
- package/dist-types/Imagebuilder.d.ts +66 -243
- package/dist-types/ts3.4/Imagebuilder.d.ts +4 -1
- package/package.json +8 -8
|
@@ -16,7 +16,7 @@ const se_CancelImageCreationCommand = async (input, context) => {
|
|
|
16
16
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/CancelImageCreation";
|
|
17
17
|
let body;
|
|
18
18
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
19
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
19
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
20
20
|
imageBuildVersionArn: [],
|
|
21
21
|
}));
|
|
22
22
|
return new protocol_http_1.HttpRequest({
|
|
@@ -39,7 +39,7 @@ const se_CreateComponentCommand = async (input, context) => {
|
|
|
39
39
|
let body;
|
|
40
40
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
41
41
|
changeDescription: [],
|
|
42
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
42
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
43
43
|
data: [],
|
|
44
44
|
description: [],
|
|
45
45
|
kmsKeyId: [],
|
|
@@ -69,7 +69,7 @@ const se_CreateContainerRecipeCommand = async (input, context) => {
|
|
|
69
69
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/CreateContainerRecipe";
|
|
70
70
|
let body;
|
|
71
71
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
72
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
72
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
73
73
|
components: (_) => (0, smithy_client_1._json)(_),
|
|
74
74
|
containerType: [],
|
|
75
75
|
description: [],
|
|
@@ -105,7 +105,7 @@ const se_CreateDistributionConfigurationCommand = async (input, context) => {
|
|
|
105
105
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/CreateDistributionConfiguration";
|
|
106
106
|
let body;
|
|
107
107
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
108
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
108
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
109
109
|
description: [],
|
|
110
110
|
distributions: (_) => (0, smithy_client_1._json)(_),
|
|
111
111
|
name: [],
|
|
@@ -130,7 +130,7 @@ const se_CreateImageCommand = async (input, context) => {
|
|
|
130
130
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/CreateImage";
|
|
131
131
|
let body;
|
|
132
132
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
133
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
133
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
134
134
|
containerRecipeArn: [],
|
|
135
135
|
distributionConfigurationArn: [],
|
|
136
136
|
enhancedImageMetadataEnabled: [],
|
|
@@ -159,7 +159,7 @@ const se_CreateImagePipelineCommand = async (input, context) => {
|
|
|
159
159
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/CreateImagePipeline";
|
|
160
160
|
let body;
|
|
161
161
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
162
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
162
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
163
163
|
containerRecipeArn: [],
|
|
164
164
|
description: [],
|
|
165
165
|
distributionConfigurationArn: [],
|
|
@@ -194,7 +194,7 @@ const se_CreateImageRecipeCommand = async (input, context) => {
|
|
|
194
194
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
195
195
|
additionalInstanceConfiguration: (_) => (0, smithy_client_1._json)(_),
|
|
196
196
|
blockDeviceMappings: (_) => (0, smithy_client_1._json)(_),
|
|
197
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
197
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
198
198
|
components: (_) => (0, smithy_client_1._json)(_),
|
|
199
199
|
description: [],
|
|
200
200
|
name: [],
|
|
@@ -222,7 +222,7 @@ const se_CreateInfrastructureConfigurationCommand = async (input, context) => {
|
|
|
222
222
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/CreateInfrastructureConfiguration";
|
|
223
223
|
let body;
|
|
224
224
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
225
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
225
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
226
226
|
description: [],
|
|
227
227
|
instanceMetadataOptions: (_) => (0, smithy_client_1._json)(_),
|
|
228
228
|
instanceProfileName: [],
|
|
@@ -669,7 +669,7 @@ const se_ImportComponentCommand = async (input, context) => {
|
|
|
669
669
|
let body;
|
|
670
670
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
671
671
|
changeDescription: [],
|
|
672
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
672
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
673
673
|
data: [],
|
|
674
674
|
description: [],
|
|
675
675
|
format: [],
|
|
@@ -700,7 +700,7 @@ const se_ImportVmImageCommand = async (input, context) => {
|
|
|
700
700
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/ImportVmImage";
|
|
701
701
|
let body;
|
|
702
702
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
703
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
703
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
704
704
|
description: [],
|
|
705
705
|
name: [],
|
|
706
706
|
osVersion: [],
|
|
@@ -1186,7 +1186,7 @@ const se_StartImagePipelineExecutionCommand = async (input, context) => {
|
|
|
1186
1186
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/StartImagePipelineExecution";
|
|
1187
1187
|
let body;
|
|
1188
1188
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1189
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
1189
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
1190
1190
|
imagePipelineArn: [],
|
|
1191
1191
|
}));
|
|
1192
1192
|
return new protocol_http_1.HttpRequest({
|
|
@@ -1254,7 +1254,7 @@ const se_UpdateDistributionConfigurationCommand = async (input, context) => {
|
|
|
1254
1254
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/UpdateDistributionConfiguration";
|
|
1255
1255
|
let body;
|
|
1256
1256
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1257
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
1257
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
1258
1258
|
description: [],
|
|
1259
1259
|
distributionConfigurationArn: [],
|
|
1260
1260
|
distributions: (_) => (0, smithy_client_1._json)(_),
|
|
@@ -1278,7 +1278,7 @@ const se_UpdateImagePipelineCommand = async (input, context) => {
|
|
|
1278
1278
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/UpdateImagePipeline";
|
|
1279
1279
|
let body;
|
|
1280
1280
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1281
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
1281
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
1282
1282
|
containerRecipeArn: [],
|
|
1283
1283
|
description: [],
|
|
1284
1284
|
distributionConfigurationArn: [],
|
|
@@ -1310,7 +1310,7 @@ const se_UpdateInfrastructureConfigurationCommand = async (input, context) => {
|
|
|
1310
1310
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/UpdateInfrastructureConfiguration";
|
|
1311
1311
|
let body;
|
|
1312
1312
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1313
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
1313
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
1314
1314
|
description: [],
|
|
1315
1315
|
infrastructureConfigurationArn: [],
|
|
1316
1316
|
instanceMetadataOptions: (_) => (0, smithy_client_1._json)(_),
|