@aws-sdk/client-greengrassv2 3.709.0 → 3.713.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 +7 -1
- package/dist-es/protocols/Aws_restJson1.js +6 -0
- package/dist-types/commands/GetCoreDeviceCommand.d.ts +1 -0
- package/dist-types/commands/ListCoreDevicesCommand.d.ts +12 -3
- package/dist-types/models/models_0.d.ts +61 -0
- package/dist-types/ts3.4/models/models_0.d.ts +5 -0
- package/package.json +14 -14
package/dist-cjs/index.js
CHANGED
|
@@ -771,7 +771,8 @@ var se_ListCoreDevicesCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
771
771
|
[_tGA]: [, input[_tGA]],
|
|
772
772
|
[_st]: [, input[_st]],
|
|
773
773
|
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
774
|
-
[_nT]: [, input[_nT]]
|
|
774
|
+
[_nT]: [, input[_nT]],
|
|
775
|
+
[_r]: [, input[_r]]
|
|
775
776
|
});
|
|
776
777
|
let body;
|
|
777
778
|
b.m("GET").h(headers).q(query).b(body);
|
|
@@ -1103,6 +1104,7 @@ var de_GetCoreDeviceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1103
1104
|
coreVersion: import_smithy_client.expectString,
|
|
1104
1105
|
lastStatusUpdateTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1105
1106
|
platform: import_smithy_client.expectString,
|
|
1107
|
+
runtime: import_smithy_client.expectString,
|
|
1106
1108
|
status: import_smithy_client.expectString,
|
|
1107
1109
|
tags: import_smithy_client._json
|
|
1108
1110
|
});
|
|
@@ -1637,8 +1639,11 @@ var de_connectivityInfoList = /* @__PURE__ */ __name((output, context) => {
|
|
|
1637
1639
|
}, "de_connectivityInfoList");
|
|
1638
1640
|
var de_CoreDevice = /* @__PURE__ */ __name((output, context) => {
|
|
1639
1641
|
return (0, import_smithy_client.take)(output, {
|
|
1642
|
+
architecture: import_smithy_client.expectString,
|
|
1640
1643
|
coreDeviceThingName: import_smithy_client.expectString,
|
|
1641
1644
|
lastStatusUpdateTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1645
|
+
platform: import_smithy_client.expectString,
|
|
1646
|
+
runtime: import_smithy_client.expectString,
|
|
1642
1647
|
status: import_smithy_client.expectString
|
|
1643
1648
|
});
|
|
1644
1649
|
}, "de_CoreDevice");
|
|
@@ -1778,6 +1783,7 @@ var _iET = "iotEndpointType";
|
|
|
1778
1783
|
var _mR = "maxResults";
|
|
1779
1784
|
var _nT = "nextToken";
|
|
1780
1785
|
var _pTA = "parentTargetArn";
|
|
1786
|
+
var _r = "runtime";
|
|
1781
1787
|
var _rAS = "retryAfterSeconds";
|
|
1782
1788
|
var _rOF = "recipeOutputFormat";
|
|
1783
1789
|
var _ra = "retry-after";
|
|
@@ -244,6 +244,7 @@ export const se_ListCoreDevicesCommand = async (input, context) => {
|
|
|
244
244
|
[_st]: [, input[_st]],
|
|
245
245
|
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
246
246
|
[_nT]: [, input[_nT]],
|
|
247
|
+
[_r]: [, input[_r]],
|
|
247
248
|
});
|
|
248
249
|
let body;
|
|
249
250
|
b.m("GET").h(headers).q(query).b(body);
|
|
@@ -569,6 +570,7 @@ export const de_GetCoreDeviceCommand = async (output, context) => {
|
|
|
569
570
|
coreVersion: __expectString,
|
|
570
571
|
lastStatusUpdateTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
571
572
|
platform: __expectString,
|
|
573
|
+
runtime: __expectString,
|
|
572
574
|
status: __expectString,
|
|
573
575
|
tags: _json,
|
|
574
576
|
});
|
|
@@ -1110,8 +1112,11 @@ const de_connectivityInfoList = (output, context) => {
|
|
|
1110
1112
|
};
|
|
1111
1113
|
const de_CoreDevice = (output, context) => {
|
|
1112
1114
|
return take(output, {
|
|
1115
|
+
architecture: __expectString,
|
|
1113
1116
|
coreDeviceThingName: __expectString,
|
|
1114
1117
|
lastStatusUpdateTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1118
|
+
platform: __expectString,
|
|
1119
|
+
runtime: __expectString,
|
|
1115
1120
|
status: __expectString,
|
|
1116
1121
|
});
|
|
1117
1122
|
};
|
|
@@ -1264,6 +1269,7 @@ const _iET = "iotEndpointType";
|
|
|
1264
1269
|
const _mR = "maxResults";
|
|
1265
1270
|
const _nT = "nextToken";
|
|
1266
1271
|
const _pTA = "parentTargetArn";
|
|
1272
|
+
const _r = "runtime";
|
|
1267
1273
|
const _rAS = "retryAfterSeconds";
|
|
1268
1274
|
const _rOF = "recipeOutputFormat";
|
|
1269
1275
|
const _ra = "retry-after";
|
|
@@ -71,6 +71,7 @@ declare const GetCoreDeviceCommand_base: {
|
|
|
71
71
|
* // coreVersion: "STRING_VALUE",
|
|
72
72
|
* // platform: "STRING_VALUE",
|
|
73
73
|
* // architecture: "STRING_VALUE",
|
|
74
|
+
* // runtime: "STRING_VALUE",
|
|
74
75
|
* // status: "HEALTHY" || "UNHEALTHY",
|
|
75
76
|
* // lastStatusUpdateTimestamp: new Date("TIMESTAMP"),
|
|
76
77
|
* // tags: { // TagMap
|
|
@@ -42,9 +42,14 @@ declare const ListCoreDevicesCommand_base: {
|
|
|
42
42
|
* <p>When the core device receives a deployment from the Amazon Web Services Cloud</p>
|
|
43
43
|
* </li>
|
|
44
44
|
* <li>
|
|
45
|
-
* <p>
|
|
46
|
-
* <code>
|
|
47
|
-
*
|
|
45
|
+
* <p>For Greengrass nucleus 2.12.2 and earlier, the core device sends status updates when the
|
|
46
|
+
* status of any component on the core device becomes <code>ERRORED</code> or
|
|
47
|
+
* <code>BROKEN</code>.</p>
|
|
48
|
+
* </li>
|
|
49
|
+
* <li>
|
|
50
|
+
* <p>For Greengrass nucleus 2.12.3 and later, the core device sends status updates when the
|
|
51
|
+
* status of any component on the core device becomes <code>ERRORED</code>,
|
|
52
|
+
* <code>BROKEN</code>, <code>RUNNING</code>, or <code>FINISHED</code>.</p>
|
|
48
53
|
* </li>
|
|
49
54
|
* <li>
|
|
50
55
|
* <p>At a <a href="https://docs.aws.amazon.com/greengrass/v2/developerguide/greengrass-nucleus-component.html#greengrass-nucleus-component-configuration-fss">regular interval that you can configure</a>, which defaults to 24 hours</p>
|
|
@@ -66,6 +71,7 @@ declare const ListCoreDevicesCommand_base: {
|
|
|
66
71
|
* status: "HEALTHY" || "UNHEALTHY",
|
|
67
72
|
* maxResults: Number("int"),
|
|
68
73
|
* nextToken: "STRING_VALUE",
|
|
74
|
+
* runtime: "STRING_VALUE",
|
|
69
75
|
* };
|
|
70
76
|
* const command = new ListCoreDevicesCommand(input);
|
|
71
77
|
* const response = await client.send(command);
|
|
@@ -75,6 +81,9 @@ declare const ListCoreDevicesCommand_base: {
|
|
|
75
81
|
* // coreDeviceThingName: "STRING_VALUE",
|
|
76
82
|
* // status: "HEALTHY" || "UNHEALTHY",
|
|
77
83
|
* // lastStatusUpdateTimestamp: new Date("TIMESTAMP"),
|
|
84
|
+
* // platform: "STRING_VALUE",
|
|
85
|
+
* // architecture: "STRING_VALUE",
|
|
86
|
+
* // runtime: "STRING_VALUE",
|
|
78
87
|
* // },
|
|
79
88
|
* // ],
|
|
80
89
|
* // nextToken: "STRING_VALUE",
|
|
@@ -790,6 +790,33 @@ export interface CoreDevice {
|
|
|
790
790
|
* @public
|
|
791
791
|
*/
|
|
792
792
|
lastStatusUpdateTimestamp?: Date | undefined;
|
|
793
|
+
/**
|
|
794
|
+
* <p>The operating system platform that the core device runs.</p>
|
|
795
|
+
* @public
|
|
796
|
+
*/
|
|
797
|
+
platform?: string | undefined;
|
|
798
|
+
/**
|
|
799
|
+
* <p>The computer architecture of the core device.</p>
|
|
800
|
+
* @public
|
|
801
|
+
*/
|
|
802
|
+
architecture?: string | undefined;
|
|
803
|
+
/**
|
|
804
|
+
* <p>The runtime for the core device. The runtime can be:</p>
|
|
805
|
+
* <ul>
|
|
806
|
+
* <li>
|
|
807
|
+
* <p>
|
|
808
|
+
* <code>aws_nucleus_classic</code>
|
|
809
|
+
* </p>
|
|
810
|
+
* </li>
|
|
811
|
+
* <li>
|
|
812
|
+
* <p>
|
|
813
|
+
* <code>aws_nucleus_lite</code>
|
|
814
|
+
* </p>
|
|
815
|
+
* </li>
|
|
816
|
+
* </ul>
|
|
817
|
+
* @public
|
|
818
|
+
*/
|
|
819
|
+
runtime?: string | undefined;
|
|
793
820
|
}
|
|
794
821
|
/**
|
|
795
822
|
* @public
|
|
@@ -2094,6 +2121,23 @@ export interface GetCoreDeviceResponse {
|
|
|
2094
2121
|
* @public
|
|
2095
2122
|
*/
|
|
2096
2123
|
architecture?: string | undefined;
|
|
2124
|
+
/**
|
|
2125
|
+
* <p>The runtime for the core device. The runtime can be:</p>
|
|
2126
|
+
* <ul>
|
|
2127
|
+
* <li>
|
|
2128
|
+
* <p>
|
|
2129
|
+
* <code>aws_nucleus_classic</code>
|
|
2130
|
+
* </p>
|
|
2131
|
+
* </li>
|
|
2132
|
+
* <li>
|
|
2133
|
+
* <p>
|
|
2134
|
+
* <code>aws_nucleus_lite</code>
|
|
2135
|
+
* </p>
|
|
2136
|
+
* </li>
|
|
2137
|
+
* </ul>
|
|
2138
|
+
* @public
|
|
2139
|
+
*/
|
|
2140
|
+
runtime?: string | undefined;
|
|
2097
2141
|
/**
|
|
2098
2142
|
* <p>The status of the core device. The core device status can be:</p>
|
|
2099
2143
|
* <ul>
|
|
@@ -2382,6 +2426,23 @@ export interface ListCoreDevicesRequest {
|
|
|
2382
2426
|
* @public
|
|
2383
2427
|
*/
|
|
2384
2428
|
nextToken?: string | undefined;
|
|
2429
|
+
/**
|
|
2430
|
+
* <p>The runtime to be used by the core device. The runtime can be:</p>
|
|
2431
|
+
* <ul>
|
|
2432
|
+
* <li>
|
|
2433
|
+
* <p>
|
|
2434
|
+
* <code>aws_nucleus_classic</code>
|
|
2435
|
+
* </p>
|
|
2436
|
+
* </li>
|
|
2437
|
+
* <li>
|
|
2438
|
+
* <p>
|
|
2439
|
+
* <code>aws_nucleus_lite</code>
|
|
2440
|
+
* </p>
|
|
2441
|
+
* </li>
|
|
2442
|
+
* </ul>
|
|
2443
|
+
* @public
|
|
2444
|
+
*/
|
|
2445
|
+
runtime?: string | undefined;
|
|
2385
2446
|
}
|
|
2386
2447
|
/**
|
|
2387
2448
|
* @public
|
|
@@ -208,6 +208,9 @@ export interface CoreDevice {
|
|
|
208
208
|
coreDeviceThingName?: string | undefined;
|
|
209
209
|
status?: CoreDeviceStatus | undefined;
|
|
210
210
|
lastStatusUpdateTimestamp?: Date | undefined;
|
|
211
|
+
platform?: string | undefined;
|
|
212
|
+
architecture?: string | undefined;
|
|
213
|
+
runtime?: string | undefined;
|
|
211
214
|
}
|
|
212
215
|
export declare const LambdaEventSourceType: {
|
|
213
216
|
readonly IOT_CORE: "IOT_CORE";
|
|
@@ -531,6 +534,7 @@ export interface GetCoreDeviceResponse {
|
|
|
531
534
|
coreVersion?: string | undefined;
|
|
532
535
|
platform?: string | undefined;
|
|
533
536
|
architecture?: string | undefined;
|
|
537
|
+
runtime?: string | undefined;
|
|
534
538
|
status?: CoreDeviceStatus | undefined;
|
|
535
539
|
lastStatusUpdateTimestamp?: Date | undefined;
|
|
536
540
|
tags?: Record<string, string> | undefined;
|
|
@@ -591,6 +595,7 @@ export interface ListCoreDevicesRequest {
|
|
|
591
595
|
status?: CoreDeviceStatus | undefined;
|
|
592
596
|
maxResults?: number | undefined;
|
|
593
597
|
nextToken?: string | undefined;
|
|
598
|
+
runtime?: string | undefined;
|
|
594
599
|
}
|
|
595
600
|
export interface ListCoreDevicesResponse {
|
|
596
601
|
coreDevices?: CoreDevice[] | undefined;
|
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.713.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-greengrassv2",
|
|
@@ -20,19 +20,19 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.713.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.713.0",
|
|
25
|
+
"@aws-sdk/core": "3.713.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.713.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.713.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.713.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.713.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.713.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.713.0",
|
|
32
|
+
"@aws-sdk/types": "3.713.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.713.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.713.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.713.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.13",
|
|
37
37
|
"@smithy/core": "^2.5.5",
|
|
38
38
|
"@smithy/fetch-http-handler": "^4.1.2",
|