@aws-sdk/client-greengrassv2 3.210.0 → 3.212.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/endpoint/ruleset.js +4 -4
- package/dist-cjs/protocols/Aws_restJson1.js +26 -40
- package/dist-es/endpoint/ruleset.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +26 -40
- package/dist-types/models/models_0.d.ts +18 -2
- package/dist-types/ts3.4/models/models_0.d.ts +4 -0
- package/package.json +28 -28
|
@@ -315,12 +315,12 @@ exports.ruleSet = {
|
|
|
315
315
|
{
|
|
316
316
|
ref: "Region",
|
|
317
317
|
},
|
|
318
|
-
"dataplane-us-gov-
|
|
318
|
+
"dataplane-us-gov-east-1",
|
|
319
319
|
],
|
|
320
320
|
},
|
|
321
321
|
],
|
|
322
322
|
endpoint: {
|
|
323
|
-
url: "https://greengrass-ats.iot.us-gov-
|
|
323
|
+
url: "https://greengrass-ats.iot.us-gov-east-1.amazonaws.com",
|
|
324
324
|
properties: {},
|
|
325
325
|
headers: {},
|
|
326
326
|
},
|
|
@@ -334,12 +334,12 @@ exports.ruleSet = {
|
|
|
334
334
|
{
|
|
335
335
|
ref: "Region",
|
|
336
336
|
},
|
|
337
|
-
"dataplane-us-gov-
|
|
337
|
+
"dataplane-us-gov-west-1",
|
|
338
338
|
],
|
|
339
339
|
},
|
|
340
340
|
],
|
|
341
341
|
endpoint: {
|
|
342
|
-
url: "https://greengrass-ats.iot.us-gov-
|
|
342
|
+
url: "https://greengrass-ats.iot.us-gov-west-1.amazonaws.com",
|
|
343
343
|
properties: {},
|
|
344
344
|
headers: {},
|
|
345
345
|
},
|
|
@@ -141,6 +141,7 @@ const serializeAws_restJson1CreateDeploymentCommand = async (input, context) =>
|
|
|
141
141
|
...(input.iotJobConfiguration != null && {
|
|
142
142
|
iotJobConfiguration: serializeAws_restJson1DeploymentIoTJobConfiguration(input.iotJobConfiguration, context),
|
|
143
143
|
}),
|
|
144
|
+
...(input.parentTargetArn != null && { parentTargetArn: input.parentTargetArn }),
|
|
144
145
|
...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
|
|
145
146
|
...(input.targetArn != null && { targetArn: input.targetArn }),
|
|
146
147
|
});
|
|
@@ -452,6 +453,7 @@ const serializeAws_restJson1ListDeploymentsCommand = async (input, context) => {
|
|
|
452
453
|
const query = map({
|
|
453
454
|
targetArn: [, input.targetArn],
|
|
454
455
|
historyFilter: [, input.historyFilter],
|
|
456
|
+
parentTargetArn: [, input.parentTargetArn],
|
|
455
457
|
maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
|
|
456
458
|
nextToken: [, input.nextToken],
|
|
457
459
|
});
|
|
@@ -1406,6 +1408,9 @@ const deserializeAws_restJson1GetDeploymentCommand = async (output, context) =>
|
|
|
1406
1408
|
if (data.isLatestForTarget != null) {
|
|
1407
1409
|
contents.isLatestForTarget = (0, smithy_client_1.expectBoolean)(data.isLatestForTarget);
|
|
1408
1410
|
}
|
|
1411
|
+
if (data.parentTargetArn != null) {
|
|
1412
|
+
contents.parentTargetArn = (0, smithy_client_1.expectString)(data.parentTargetArn);
|
|
1413
|
+
}
|
|
1409
1414
|
if (data.revisionId != null) {
|
|
1410
1415
|
contents.revisionId = (0, smithy_client_1.expectString)(data.revisionId);
|
|
1411
1416
|
}
|
|
@@ -2216,10 +2221,8 @@ const serializeAws_restJson1ComponentDependencyMap = (input, context) => {
|
|
|
2216
2221
|
if (value === null) {
|
|
2217
2222
|
return acc;
|
|
2218
2223
|
}
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
[key]: serializeAws_restJson1ComponentDependencyRequirement(value, context),
|
|
2222
|
-
};
|
|
2224
|
+
acc[key] = serializeAws_restJson1ComponentDependencyRequirement(value, context);
|
|
2225
|
+
return acc;
|
|
2223
2226
|
}, {});
|
|
2224
2227
|
};
|
|
2225
2228
|
const serializeAws_restJson1ComponentDependencyRequirement = (input, context) => {
|
|
@@ -2242,10 +2245,8 @@ const serializeAws_restJson1ComponentDeploymentSpecifications = (input, context)
|
|
|
2242
2245
|
if (value === null) {
|
|
2243
2246
|
return acc;
|
|
2244
2247
|
}
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
[key]: serializeAws_restJson1ComponentDeploymentSpecification(value, context),
|
|
2248
|
-
};
|
|
2248
|
+
acc[key] = serializeAws_restJson1ComponentDeploymentSpecification(value, context);
|
|
2249
|
+
return acc;
|
|
2249
2250
|
}, {});
|
|
2250
2251
|
};
|
|
2251
2252
|
const serializeAws_restJson1ComponentPlatform = (input, context) => {
|
|
@@ -2277,10 +2278,8 @@ const serializeAws_restJson1ComponentVersionRequirementMap = (input, context) =>
|
|
|
2277
2278
|
if (value === null) {
|
|
2278
2279
|
return acc;
|
|
2279
2280
|
}
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
[key]: value,
|
|
2283
|
-
};
|
|
2281
|
+
acc[key] = value;
|
|
2282
|
+
return acc;
|
|
2284
2283
|
}, {});
|
|
2285
2284
|
};
|
|
2286
2285
|
const serializeAws_restJson1ConnectivityInfo = (input, context) => {
|
|
@@ -2422,10 +2421,8 @@ const serializeAws_restJson1LambdaEnvironmentVariables = (input, context) => {
|
|
|
2422
2421
|
if (value === null) {
|
|
2423
2422
|
return acc;
|
|
2424
2423
|
}
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
[key]: value,
|
|
2428
|
-
};
|
|
2424
|
+
acc[key] = value;
|
|
2425
|
+
return acc;
|
|
2429
2426
|
}, {});
|
|
2430
2427
|
};
|
|
2431
2428
|
const serializeAws_restJson1LambdaEventSource = (input, context) => {
|
|
@@ -2513,10 +2510,8 @@ const serializeAws_restJson1PlatformAttributesMap = (input, context) => {
|
|
|
2513
2510
|
if (value === null) {
|
|
2514
2511
|
return acc;
|
|
2515
2512
|
}
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
[key]: value,
|
|
2519
|
-
};
|
|
2513
|
+
acc[key] = value;
|
|
2514
|
+
return acc;
|
|
2520
2515
|
}, {});
|
|
2521
2516
|
};
|
|
2522
2517
|
const serializeAws_restJson1SystemResourceLimits = (input, context) => {
|
|
@@ -2530,10 +2525,8 @@ const serializeAws_restJson1TagMap = (input, context) => {
|
|
|
2530
2525
|
if (value === null) {
|
|
2531
2526
|
return acc;
|
|
2532
2527
|
}
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
[key]: value,
|
|
2536
|
-
};
|
|
2528
|
+
acc[key] = value;
|
|
2529
|
+
return acc;
|
|
2537
2530
|
}, {});
|
|
2538
2531
|
};
|
|
2539
2532
|
const deserializeAws_restJson1AssociateClientDeviceWithCoreDeviceErrorEntry = (output, context) => {
|
|
@@ -2622,10 +2615,8 @@ const deserializeAws_restJson1ComponentDeploymentSpecifications = (output, conte
|
|
|
2622
2615
|
if (value === null) {
|
|
2623
2616
|
return acc;
|
|
2624
2617
|
}
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
[key]: deserializeAws_restJson1ComponentDeploymentSpecification(value, context),
|
|
2628
|
-
};
|
|
2618
|
+
acc[key] = deserializeAws_restJson1ComponentDeploymentSpecification(value, context);
|
|
2619
|
+
return acc;
|
|
2629
2620
|
}, {});
|
|
2630
2621
|
};
|
|
2631
2622
|
const deserializeAws_restJson1ComponentLatestVersion = (output, context) => {
|
|
@@ -2743,6 +2734,7 @@ const deserializeAws_restJson1Deployment = (output, context) => {
|
|
|
2743
2734
|
deploymentName: (0, smithy_client_1.expectString)(output.deploymentName),
|
|
2744
2735
|
deploymentStatus: (0, smithy_client_1.expectString)(output.deploymentStatus),
|
|
2745
2736
|
isLatestForTarget: (0, smithy_client_1.expectBoolean)(output.isLatestForTarget),
|
|
2737
|
+
parentTargetArn: (0, smithy_client_1.expectString)(output.parentTargetArn),
|
|
2746
2738
|
revisionId: (0, smithy_client_1.expectString)(output.revisionId),
|
|
2747
2739
|
targetArn: (0, smithy_client_1.expectString)(output.targetArn),
|
|
2748
2740
|
};
|
|
@@ -2973,10 +2965,8 @@ const deserializeAws_restJson1PlatformAttributesMap = (output, context) => {
|
|
|
2973
2965
|
if (value === null) {
|
|
2974
2966
|
return acc;
|
|
2975
2967
|
}
|
|
2976
|
-
|
|
2977
|
-
|
|
2978
|
-
[key]: (0, smithy_client_1.expectString)(value),
|
|
2979
|
-
};
|
|
2968
|
+
acc[key] = (0, smithy_client_1.expectString)(value);
|
|
2969
|
+
return acc;
|
|
2980
2970
|
}, {});
|
|
2981
2971
|
};
|
|
2982
2972
|
const deserializeAws_restJson1ResolvedComponentVersion = (output, context) => {
|
|
@@ -3005,10 +2995,8 @@ const deserializeAws_restJson1StringMap = (output, context) => {
|
|
|
3005
2995
|
if (value === null) {
|
|
3006
2996
|
return acc;
|
|
3007
2997
|
}
|
|
3008
|
-
|
|
3009
|
-
|
|
3010
|
-
[key]: (0, smithy_client_1.expectString)(value),
|
|
3011
|
-
};
|
|
2998
|
+
acc[key] = (0, smithy_client_1.expectString)(value);
|
|
2999
|
+
return acc;
|
|
3012
3000
|
}, {});
|
|
3013
3001
|
};
|
|
3014
3002
|
const deserializeAws_restJson1SystemResourceLimits = (output, context) => {
|
|
@@ -3022,10 +3010,8 @@ const deserializeAws_restJson1TagMap = (output, context) => {
|
|
|
3022
3010
|
if (value === null) {
|
|
3023
3011
|
return acc;
|
|
3024
3012
|
}
|
|
3025
|
-
|
|
3026
|
-
|
|
3027
|
-
[key]: (0, smithy_client_1.expectString)(value),
|
|
3028
|
-
};
|
|
3013
|
+
acc[key] = (0, smithy_client_1.expectString)(value);
|
|
3014
|
+
return acc;
|
|
3029
3015
|
}, {});
|
|
3030
3016
|
};
|
|
3031
3017
|
const deserializeAws_restJson1ValidationExceptionField = (output, context) => {
|
|
@@ -312,12 +312,12 @@ export const ruleSet = {
|
|
|
312
312
|
{
|
|
313
313
|
ref: "Region",
|
|
314
314
|
},
|
|
315
|
-
"dataplane-us-gov-
|
|
315
|
+
"dataplane-us-gov-east-1",
|
|
316
316
|
],
|
|
317
317
|
},
|
|
318
318
|
],
|
|
319
319
|
endpoint: {
|
|
320
|
-
url: "https://greengrass-ats.iot.us-gov-
|
|
320
|
+
url: "https://greengrass-ats.iot.us-gov-east-1.amazonaws.com",
|
|
321
321
|
properties: {},
|
|
322
322
|
headers: {},
|
|
323
323
|
},
|
|
@@ -331,12 +331,12 @@ export const ruleSet = {
|
|
|
331
331
|
{
|
|
332
332
|
ref: "Region",
|
|
333
333
|
},
|
|
334
|
-
"dataplane-us-gov-
|
|
334
|
+
"dataplane-us-gov-west-1",
|
|
335
335
|
],
|
|
336
336
|
},
|
|
337
337
|
],
|
|
338
338
|
endpoint: {
|
|
339
|
-
url: "https://greengrass-ats.iot.us-gov-
|
|
339
|
+
url: "https://greengrass-ats.iot.us-gov-west-1.amazonaws.com",
|
|
340
340
|
properties: {},
|
|
341
341
|
headers: {},
|
|
342
342
|
},
|
|
@@ -132,6 +132,7 @@ export const serializeAws_restJson1CreateDeploymentCommand = async (input, conte
|
|
|
132
132
|
...(input.iotJobConfiguration != null && {
|
|
133
133
|
iotJobConfiguration: serializeAws_restJson1DeploymentIoTJobConfiguration(input.iotJobConfiguration, context),
|
|
134
134
|
}),
|
|
135
|
+
...(input.parentTargetArn != null && { parentTargetArn: input.parentTargetArn }),
|
|
135
136
|
...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
|
|
136
137
|
...(input.targetArn != null && { targetArn: input.targetArn }),
|
|
137
138
|
});
|
|
@@ -427,6 +428,7 @@ export const serializeAws_restJson1ListDeploymentsCommand = async (input, contex
|
|
|
427
428
|
const query = map({
|
|
428
429
|
targetArn: [, input.targetArn],
|
|
429
430
|
historyFilter: [, input.historyFilter],
|
|
431
|
+
parentTargetArn: [, input.parentTargetArn],
|
|
430
432
|
maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
|
|
431
433
|
nextToken: [, input.nextToken],
|
|
432
434
|
});
|
|
@@ -1358,6 +1360,9 @@ export const deserializeAws_restJson1GetDeploymentCommand = async (output, conte
|
|
|
1358
1360
|
if (data.isLatestForTarget != null) {
|
|
1359
1361
|
contents.isLatestForTarget = __expectBoolean(data.isLatestForTarget);
|
|
1360
1362
|
}
|
|
1363
|
+
if (data.parentTargetArn != null) {
|
|
1364
|
+
contents.parentTargetArn = __expectString(data.parentTargetArn);
|
|
1365
|
+
}
|
|
1361
1366
|
if (data.revisionId != null) {
|
|
1362
1367
|
contents.revisionId = __expectString(data.revisionId);
|
|
1363
1368
|
}
|
|
@@ -2154,10 +2159,8 @@ const serializeAws_restJson1ComponentDependencyMap = (input, context) => {
|
|
|
2154
2159
|
if (value === null) {
|
|
2155
2160
|
return acc;
|
|
2156
2161
|
}
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
[key]: serializeAws_restJson1ComponentDependencyRequirement(value, context),
|
|
2160
|
-
};
|
|
2162
|
+
acc[key] = serializeAws_restJson1ComponentDependencyRequirement(value, context);
|
|
2163
|
+
return acc;
|
|
2161
2164
|
}, {});
|
|
2162
2165
|
};
|
|
2163
2166
|
const serializeAws_restJson1ComponentDependencyRequirement = (input, context) => {
|
|
@@ -2180,10 +2183,8 @@ const serializeAws_restJson1ComponentDeploymentSpecifications = (input, context)
|
|
|
2180
2183
|
if (value === null) {
|
|
2181
2184
|
return acc;
|
|
2182
2185
|
}
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
[key]: serializeAws_restJson1ComponentDeploymentSpecification(value, context),
|
|
2186
|
-
};
|
|
2186
|
+
acc[key] = serializeAws_restJson1ComponentDeploymentSpecification(value, context);
|
|
2187
|
+
return acc;
|
|
2187
2188
|
}, {});
|
|
2188
2189
|
};
|
|
2189
2190
|
const serializeAws_restJson1ComponentPlatform = (input, context) => {
|
|
@@ -2215,10 +2216,8 @@ const serializeAws_restJson1ComponentVersionRequirementMap = (input, context) =>
|
|
|
2215
2216
|
if (value === null) {
|
|
2216
2217
|
return acc;
|
|
2217
2218
|
}
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
[key]: value,
|
|
2221
|
-
};
|
|
2219
|
+
acc[key] = value;
|
|
2220
|
+
return acc;
|
|
2222
2221
|
}, {});
|
|
2223
2222
|
};
|
|
2224
2223
|
const serializeAws_restJson1ConnectivityInfo = (input, context) => {
|
|
@@ -2360,10 +2359,8 @@ const serializeAws_restJson1LambdaEnvironmentVariables = (input, context) => {
|
|
|
2360
2359
|
if (value === null) {
|
|
2361
2360
|
return acc;
|
|
2362
2361
|
}
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
[key]: value,
|
|
2366
|
-
};
|
|
2362
|
+
acc[key] = value;
|
|
2363
|
+
return acc;
|
|
2367
2364
|
}, {});
|
|
2368
2365
|
};
|
|
2369
2366
|
const serializeAws_restJson1LambdaEventSource = (input, context) => {
|
|
@@ -2451,10 +2448,8 @@ const serializeAws_restJson1PlatformAttributesMap = (input, context) => {
|
|
|
2451
2448
|
if (value === null) {
|
|
2452
2449
|
return acc;
|
|
2453
2450
|
}
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
[key]: value,
|
|
2457
|
-
};
|
|
2451
|
+
acc[key] = value;
|
|
2452
|
+
return acc;
|
|
2458
2453
|
}, {});
|
|
2459
2454
|
};
|
|
2460
2455
|
const serializeAws_restJson1SystemResourceLimits = (input, context) => {
|
|
@@ -2468,10 +2463,8 @@ const serializeAws_restJson1TagMap = (input, context) => {
|
|
|
2468
2463
|
if (value === null) {
|
|
2469
2464
|
return acc;
|
|
2470
2465
|
}
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
[key]: value,
|
|
2474
|
-
};
|
|
2466
|
+
acc[key] = value;
|
|
2467
|
+
return acc;
|
|
2475
2468
|
}, {});
|
|
2476
2469
|
};
|
|
2477
2470
|
const deserializeAws_restJson1AssociateClientDeviceWithCoreDeviceErrorEntry = (output, context) => {
|
|
@@ -2560,10 +2553,8 @@ const deserializeAws_restJson1ComponentDeploymentSpecifications = (output, conte
|
|
|
2560
2553
|
if (value === null) {
|
|
2561
2554
|
return acc;
|
|
2562
2555
|
}
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
[key]: deserializeAws_restJson1ComponentDeploymentSpecification(value, context),
|
|
2566
|
-
};
|
|
2556
|
+
acc[key] = deserializeAws_restJson1ComponentDeploymentSpecification(value, context);
|
|
2557
|
+
return acc;
|
|
2567
2558
|
}, {});
|
|
2568
2559
|
};
|
|
2569
2560
|
const deserializeAws_restJson1ComponentLatestVersion = (output, context) => {
|
|
@@ -2681,6 +2672,7 @@ const deserializeAws_restJson1Deployment = (output, context) => {
|
|
|
2681
2672
|
deploymentName: __expectString(output.deploymentName),
|
|
2682
2673
|
deploymentStatus: __expectString(output.deploymentStatus),
|
|
2683
2674
|
isLatestForTarget: __expectBoolean(output.isLatestForTarget),
|
|
2675
|
+
parentTargetArn: __expectString(output.parentTargetArn),
|
|
2684
2676
|
revisionId: __expectString(output.revisionId),
|
|
2685
2677
|
targetArn: __expectString(output.targetArn),
|
|
2686
2678
|
};
|
|
@@ -2911,10 +2903,8 @@ const deserializeAws_restJson1PlatformAttributesMap = (output, context) => {
|
|
|
2911
2903
|
if (value === null) {
|
|
2912
2904
|
return acc;
|
|
2913
2905
|
}
|
|
2914
|
-
|
|
2915
|
-
|
|
2916
|
-
[key]: __expectString(value),
|
|
2917
|
-
};
|
|
2906
|
+
acc[key] = __expectString(value);
|
|
2907
|
+
return acc;
|
|
2918
2908
|
}, {});
|
|
2919
2909
|
};
|
|
2920
2910
|
const deserializeAws_restJson1ResolvedComponentVersion = (output, context) => {
|
|
@@ -2943,10 +2933,8 @@ const deserializeAws_restJson1StringMap = (output, context) => {
|
|
|
2943
2933
|
if (value === null) {
|
|
2944
2934
|
return acc;
|
|
2945
2935
|
}
|
|
2946
|
-
|
|
2947
|
-
|
|
2948
|
-
[key]: __expectString(value),
|
|
2949
|
-
};
|
|
2936
|
+
acc[key] = __expectString(value);
|
|
2937
|
+
return acc;
|
|
2950
2938
|
}, {});
|
|
2951
2939
|
};
|
|
2952
2940
|
const deserializeAws_restJson1SystemResourceLimits = (output, context) => {
|
|
@@ -2960,10 +2948,8 @@ const deserializeAws_restJson1TagMap = (output, context) => {
|
|
|
2960
2948
|
if (value === null) {
|
|
2961
2949
|
return acc;
|
|
2962
2950
|
}
|
|
2963
|
-
|
|
2964
|
-
|
|
2965
|
-
[key]: __expectString(value),
|
|
2966
|
-
};
|
|
2951
|
+
acc[key] = __expectString(value);
|
|
2952
|
+
return acc;
|
|
2967
2953
|
}, {});
|
|
2968
2954
|
};
|
|
2969
2955
|
const deserializeAws_restJson1ValidationExceptionField = (output, context) => {
|
|
@@ -1182,7 +1182,7 @@ export interface DeploymentIoTJobConfiguration {
|
|
|
1182
1182
|
}
|
|
1183
1183
|
export interface CreateDeploymentRequest {
|
|
1184
1184
|
/**
|
|
1185
|
-
* <p>The <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">ARN</a> of the target IoT thing or thing group.</p>
|
|
1185
|
+
* <p>The <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">ARN</a> of the target IoT thing or thing group. When creating a subdeployment, the targetARN can only be a thing group.</p>
|
|
1186
1186
|
*/
|
|
1187
1187
|
targetArn: string | undefined;
|
|
1188
1188
|
/**
|
|
@@ -1204,6 +1204,10 @@ export interface CreateDeploymentRequest {
|
|
|
1204
1204
|
* updates components and handles failure.</p>
|
|
1205
1205
|
*/
|
|
1206
1206
|
deploymentPolicies?: DeploymentPolicies;
|
|
1207
|
+
/**
|
|
1208
|
+
* <p>The parent deployment's target <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">ARN</a> within a subdeployment.</p>
|
|
1209
|
+
*/
|
|
1210
|
+
parentTargetArn?: string;
|
|
1207
1211
|
/**
|
|
1208
1212
|
* <p>A list of key-value pairs that contain metadata for the resource. For more
|
|
1209
1213
|
* information, see <a href="https://docs.aws.amazon.com/greengrass/v2/developerguide/tag-resources.html">Tag your
|
|
@@ -1263,7 +1267,7 @@ export declare enum DeploymentStatus {
|
|
|
1263
1267
|
*/
|
|
1264
1268
|
export interface Deployment {
|
|
1265
1269
|
/**
|
|
1266
|
-
* <p>The <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">ARN</a> of the target IoT thing or thing group.</p>
|
|
1270
|
+
* <p>The <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">ARN</a> of the target IoT thing or thing group. When creating a subdeployment, the targetARN can only be a thing group.</p>
|
|
1267
1271
|
*/
|
|
1268
1272
|
targetArn?: string;
|
|
1269
1273
|
/**
|
|
@@ -1290,6 +1294,10 @@ export interface Deployment {
|
|
|
1290
1294
|
* <p>Whether or not the deployment is the latest revision for its target.</p>
|
|
1291
1295
|
*/
|
|
1292
1296
|
isLatestForTarget?: boolean;
|
|
1297
|
+
/**
|
|
1298
|
+
* <p>The parent deployment's target <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">ARN</a> within a subdeployment.</p>
|
|
1299
|
+
*/
|
|
1300
|
+
parentTargetArn?: string;
|
|
1293
1301
|
}
|
|
1294
1302
|
export declare enum DeploymentHistoryFilter {
|
|
1295
1303
|
ALL = "ALL",
|
|
@@ -1613,6 +1621,10 @@ export interface GetDeploymentResponse {
|
|
|
1613
1621
|
* <p>Whether or not the deployment is the latest revision for its target.</p>
|
|
1614
1622
|
*/
|
|
1615
1623
|
isLatestForTarget?: boolean;
|
|
1624
|
+
/**
|
|
1625
|
+
* <p>The parent deployment's target <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">ARN</a> within a subdeployment.</p>
|
|
1626
|
+
*/
|
|
1627
|
+
parentTargetArn?: string;
|
|
1616
1628
|
/**
|
|
1617
1629
|
* <p>A list of key-value pairs that contain metadata for the resource. For more
|
|
1618
1630
|
* information, see <a href="https://docs.aws.amazon.com/greengrass/v2/developerguide/tag-resources.html">Tag your
|
|
@@ -1773,6 +1785,10 @@ export interface ListDeploymentsRequest {
|
|
|
1773
1785
|
* </p>
|
|
1774
1786
|
*/
|
|
1775
1787
|
historyFilter?: DeploymentHistoryFilter | string;
|
|
1788
|
+
/**
|
|
1789
|
+
* <p>The parent deployment's target <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">ARN</a> within a subdeployment.</p>
|
|
1790
|
+
*/
|
|
1791
|
+
parentTargetArn?: string;
|
|
1776
1792
|
/**
|
|
1777
1793
|
* <p>The maximum number of results to be returned per paginated request.</p>
|
|
1778
1794
|
*/
|
|
@@ -358,6 +358,7 @@ export interface CreateDeploymentRequest {
|
|
|
358
358
|
components?: Record<string, ComponentDeploymentSpecification>;
|
|
359
359
|
iotJobConfiguration?: DeploymentIoTJobConfiguration;
|
|
360
360
|
deploymentPolicies?: DeploymentPolicies;
|
|
361
|
+
parentTargetArn?: string;
|
|
361
362
|
tags?: Record<string, string>;
|
|
362
363
|
clientToken?: string;
|
|
363
364
|
}
|
|
@@ -390,6 +391,7 @@ export interface Deployment {
|
|
|
390
391
|
creationTimestamp?: Date;
|
|
391
392
|
deploymentStatus?: DeploymentStatus | string;
|
|
392
393
|
isLatestForTarget?: boolean;
|
|
394
|
+
parentTargetArn?: string;
|
|
393
395
|
}
|
|
394
396
|
export declare enum DeploymentHistoryFilter {
|
|
395
397
|
ALL = "ALL",
|
|
@@ -497,6 +499,7 @@ export interface GetDeploymentResponse {
|
|
|
497
499
|
iotJobConfiguration?: DeploymentIoTJobConfiguration;
|
|
498
500
|
creationTimestamp?: Date;
|
|
499
501
|
isLatestForTarget?: boolean;
|
|
502
|
+
parentTargetArn?: string;
|
|
500
503
|
tags?: Record<string, string>;
|
|
501
504
|
}
|
|
502
505
|
export interface GetServiceRoleForAccountRequest {}
|
|
@@ -544,6 +547,7 @@ export interface ListCoreDevicesResponse {
|
|
|
544
547
|
export interface ListDeploymentsRequest {
|
|
545
548
|
targetArn?: string;
|
|
546
549
|
historyFilter?: DeploymentHistoryFilter | string;
|
|
550
|
+
parentTargetArn?: string;
|
|
547
551
|
maxResults?: number;
|
|
548
552
|
nextToken?: string;
|
|
549
553
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-greengrassv2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Greengrassv2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.212.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,36 +19,36 @@
|
|
|
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.
|
|
23
|
-
"@aws-sdk/config-resolver": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
26
|
-
"@aws-sdk/hash-node": "3.
|
|
27
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
28
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
29
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
30
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
31
|
-
"@aws-sdk/middleware-logger": "3.
|
|
32
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
33
|
-
"@aws-sdk/middleware-retry": "3.
|
|
34
|
-
"@aws-sdk/middleware-serde": "3.
|
|
35
|
-
"@aws-sdk/middleware-signing": "3.
|
|
36
|
-
"@aws-sdk/middleware-stack": "3.
|
|
37
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
38
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
-
"@aws-sdk/node-http-handler": "3.
|
|
40
|
-
"@aws-sdk/protocol-http": "3.
|
|
41
|
-
"@aws-sdk/smithy-client": "3.
|
|
42
|
-
"@aws-sdk/types": "3.
|
|
43
|
-
"@aws-sdk/url-parser": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.212.0",
|
|
23
|
+
"@aws-sdk/config-resolver": "3.212.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.212.0",
|
|
25
|
+
"@aws-sdk/fetch-http-handler": "3.212.0",
|
|
26
|
+
"@aws-sdk/hash-node": "3.212.0",
|
|
27
|
+
"@aws-sdk/invalid-dependency": "3.212.0",
|
|
28
|
+
"@aws-sdk/middleware-content-length": "3.212.0",
|
|
29
|
+
"@aws-sdk/middleware-endpoint": "3.212.0",
|
|
30
|
+
"@aws-sdk/middleware-host-header": "3.212.0",
|
|
31
|
+
"@aws-sdk/middleware-logger": "3.212.0",
|
|
32
|
+
"@aws-sdk/middleware-recursion-detection": "3.212.0",
|
|
33
|
+
"@aws-sdk/middleware-retry": "3.212.0",
|
|
34
|
+
"@aws-sdk/middleware-serde": "3.212.0",
|
|
35
|
+
"@aws-sdk/middleware-signing": "3.212.0",
|
|
36
|
+
"@aws-sdk/middleware-stack": "3.212.0",
|
|
37
|
+
"@aws-sdk/middleware-user-agent": "3.212.0",
|
|
38
|
+
"@aws-sdk/node-config-provider": "3.212.0",
|
|
39
|
+
"@aws-sdk/node-http-handler": "3.212.0",
|
|
40
|
+
"@aws-sdk/protocol-http": "3.212.0",
|
|
41
|
+
"@aws-sdk/smithy-client": "3.212.0",
|
|
42
|
+
"@aws-sdk/types": "3.212.0",
|
|
43
|
+
"@aws-sdk/url-parser": "3.212.0",
|
|
44
44
|
"@aws-sdk/util-base64": "3.208.0",
|
|
45
45
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
46
46
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
47
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
48
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
-
"@aws-sdk/util-endpoints": "3.
|
|
50
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
51
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
47
|
+
"@aws-sdk/util-defaults-mode-browser": "3.212.0",
|
|
48
|
+
"@aws-sdk/util-defaults-mode-node": "3.212.0",
|
|
49
|
+
"@aws-sdk/util-endpoints": "3.212.0",
|
|
50
|
+
"@aws-sdk/util-user-agent-browser": "3.212.0",
|
|
51
|
+
"@aws-sdk/util-user-agent-node": "3.212.0",
|
|
52
52
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|
|
53
53
|
"@aws-sdk/util-utf8-node": "3.208.0",
|
|
54
54
|
"tslib": "^2.3.1",
|