@aws-sdk/client-greengrass 3.301.0 → 3.303.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/models/models_0.js +75 -89
- package/dist-es/models/models_0.js +75 -89
- package/dist-types/models/models_0.d.ts +145 -75
- package/dist-types/ts3.4/models/models_0.d.ts +98 -75
- package/package.json +34 -34
|
@@ -2,39 +2,33 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Telemetry = exports.UpdateTargetsOperatingSystem = exports.UpdateTargetsArchitecture = exports.UpdateAgentLogLevel = exports.SoftwareToUpdate = exports.ConfigurationSyncStatus = exports.BulkDeploymentStatus = exports.DeploymentType = exports.InternalServerErrorException = exports.BadRequestException = exports.LoggerType = exports.LoggerLevel = exports.LoggerComponent = exports.Permission = exports.FunctionIsolationMode = exports.EncodingType = void 0;
|
|
4
4
|
const GreengrassServiceException_1 = require("./GreengrassServiceException");
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
})(LoggerLevel = exports.LoggerLevel || (exports.LoggerLevel = {}));
|
|
33
|
-
var LoggerType;
|
|
34
|
-
(function (LoggerType) {
|
|
35
|
-
LoggerType["AWSCloudWatch"] = "AWSCloudWatch";
|
|
36
|
-
LoggerType["FileSystem"] = "FileSystem";
|
|
37
|
-
})(LoggerType = exports.LoggerType || (exports.LoggerType = {}));
|
|
5
|
+
exports.EncodingType = {
|
|
6
|
+
binary: "binary",
|
|
7
|
+
json: "json",
|
|
8
|
+
};
|
|
9
|
+
exports.FunctionIsolationMode = {
|
|
10
|
+
GreengrassContainer: "GreengrassContainer",
|
|
11
|
+
NoContainer: "NoContainer",
|
|
12
|
+
};
|
|
13
|
+
exports.Permission = {
|
|
14
|
+
ro: "ro",
|
|
15
|
+
rw: "rw",
|
|
16
|
+
};
|
|
17
|
+
exports.LoggerComponent = {
|
|
18
|
+
GreengrassSystem: "GreengrassSystem",
|
|
19
|
+
Lambda: "Lambda",
|
|
20
|
+
};
|
|
21
|
+
exports.LoggerLevel = {
|
|
22
|
+
DEBUG: "DEBUG",
|
|
23
|
+
ERROR: "ERROR",
|
|
24
|
+
FATAL: "FATAL",
|
|
25
|
+
INFO: "INFO",
|
|
26
|
+
WARN: "WARN",
|
|
27
|
+
};
|
|
28
|
+
exports.LoggerType = {
|
|
29
|
+
AWSCloudWatch: "AWSCloudWatch",
|
|
30
|
+
FileSystem: "FileSystem",
|
|
31
|
+
};
|
|
38
32
|
class BadRequestException extends GreengrassServiceException_1.GreengrassServiceException {
|
|
39
33
|
constructor(opts) {
|
|
40
34
|
super({
|
|
@@ -65,59 +59,51 @@ class InternalServerErrorException extends GreengrassServiceException_1.Greengra
|
|
|
65
59
|
}
|
|
66
60
|
}
|
|
67
61
|
exports.InternalServerErrorException = InternalServerErrorException;
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
UpdateTargetsOperatingSystem["raspbian"] = "raspbian";
|
|
117
|
-
UpdateTargetsOperatingSystem["ubuntu"] = "ubuntu";
|
|
118
|
-
})(UpdateTargetsOperatingSystem = exports.UpdateTargetsOperatingSystem || (exports.UpdateTargetsOperatingSystem = {}));
|
|
119
|
-
var Telemetry;
|
|
120
|
-
(function (Telemetry) {
|
|
121
|
-
Telemetry["Off"] = "Off";
|
|
122
|
-
Telemetry["On"] = "On";
|
|
123
|
-
})(Telemetry = exports.Telemetry || (exports.Telemetry = {}));
|
|
62
|
+
exports.DeploymentType = {
|
|
63
|
+
ForceResetDeployment: "ForceResetDeployment",
|
|
64
|
+
NewDeployment: "NewDeployment",
|
|
65
|
+
Redeployment: "Redeployment",
|
|
66
|
+
ResetDeployment: "ResetDeployment",
|
|
67
|
+
};
|
|
68
|
+
exports.BulkDeploymentStatus = {
|
|
69
|
+
Completed: "Completed",
|
|
70
|
+
Failed: "Failed",
|
|
71
|
+
Initializing: "Initializing",
|
|
72
|
+
Running: "Running",
|
|
73
|
+
Stopped: "Stopped",
|
|
74
|
+
Stopping: "Stopping",
|
|
75
|
+
};
|
|
76
|
+
exports.ConfigurationSyncStatus = {
|
|
77
|
+
InSync: "InSync",
|
|
78
|
+
OutOfSync: "OutOfSync",
|
|
79
|
+
};
|
|
80
|
+
exports.SoftwareToUpdate = {
|
|
81
|
+
core: "core",
|
|
82
|
+
ota_agent: "ota_agent",
|
|
83
|
+
};
|
|
84
|
+
exports.UpdateAgentLogLevel = {
|
|
85
|
+
DEBUG: "DEBUG",
|
|
86
|
+
ERROR: "ERROR",
|
|
87
|
+
FATAL: "FATAL",
|
|
88
|
+
INFO: "INFO",
|
|
89
|
+
NONE: "NONE",
|
|
90
|
+
TRACE: "TRACE",
|
|
91
|
+
VERBOSE: "VERBOSE",
|
|
92
|
+
WARN: "WARN",
|
|
93
|
+
};
|
|
94
|
+
exports.UpdateTargetsArchitecture = {
|
|
95
|
+
aarch64: "aarch64",
|
|
96
|
+
armv6l: "armv6l",
|
|
97
|
+
armv7l: "armv7l",
|
|
98
|
+
x86_64: "x86_64",
|
|
99
|
+
};
|
|
100
|
+
exports.UpdateTargetsOperatingSystem = {
|
|
101
|
+
amazon_linux: "amazon_linux",
|
|
102
|
+
openwrt: "openwrt",
|
|
103
|
+
raspbian: "raspbian",
|
|
104
|
+
ubuntu: "ubuntu",
|
|
105
|
+
};
|
|
106
|
+
exports.Telemetry = {
|
|
107
|
+
Off: "Off",
|
|
108
|
+
On: "On",
|
|
109
|
+
};
|
|
@@ -1,37 +1,31 @@
|
|
|
1
1
|
import { GreengrassServiceException as __BaseException } from "./GreengrassServiceException";
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
})(LoggerLevel || (LoggerLevel = {}));
|
|
30
|
-
export var LoggerType;
|
|
31
|
-
(function (LoggerType) {
|
|
32
|
-
LoggerType["AWSCloudWatch"] = "AWSCloudWatch";
|
|
33
|
-
LoggerType["FileSystem"] = "FileSystem";
|
|
34
|
-
})(LoggerType || (LoggerType = {}));
|
|
2
|
+
export const EncodingType = {
|
|
3
|
+
binary: "binary",
|
|
4
|
+
json: "json",
|
|
5
|
+
};
|
|
6
|
+
export const FunctionIsolationMode = {
|
|
7
|
+
GreengrassContainer: "GreengrassContainer",
|
|
8
|
+
NoContainer: "NoContainer",
|
|
9
|
+
};
|
|
10
|
+
export const Permission = {
|
|
11
|
+
ro: "ro",
|
|
12
|
+
rw: "rw",
|
|
13
|
+
};
|
|
14
|
+
export const LoggerComponent = {
|
|
15
|
+
GreengrassSystem: "GreengrassSystem",
|
|
16
|
+
Lambda: "Lambda",
|
|
17
|
+
};
|
|
18
|
+
export const LoggerLevel = {
|
|
19
|
+
DEBUG: "DEBUG",
|
|
20
|
+
ERROR: "ERROR",
|
|
21
|
+
FATAL: "FATAL",
|
|
22
|
+
INFO: "INFO",
|
|
23
|
+
WARN: "WARN",
|
|
24
|
+
};
|
|
25
|
+
export const LoggerType = {
|
|
26
|
+
AWSCloudWatch: "AWSCloudWatch",
|
|
27
|
+
FileSystem: "FileSystem",
|
|
28
|
+
};
|
|
35
29
|
export class BadRequestException extends __BaseException {
|
|
36
30
|
constructor(opts) {
|
|
37
31
|
super({
|
|
@@ -60,59 +54,51 @@ export class InternalServerErrorException extends __BaseException {
|
|
|
60
54
|
this.Message = opts.Message;
|
|
61
55
|
}
|
|
62
56
|
}
|
|
63
|
-
export
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
}
|
|
107
|
-
export
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
UpdateTargetsOperatingSystem["raspbian"] = "raspbian";
|
|
112
|
-
UpdateTargetsOperatingSystem["ubuntu"] = "ubuntu";
|
|
113
|
-
})(UpdateTargetsOperatingSystem || (UpdateTargetsOperatingSystem = {}));
|
|
114
|
-
export var Telemetry;
|
|
115
|
-
(function (Telemetry) {
|
|
116
|
-
Telemetry["Off"] = "Off";
|
|
117
|
-
Telemetry["On"] = "On";
|
|
118
|
-
})(Telemetry || (Telemetry = {}));
|
|
57
|
+
export const DeploymentType = {
|
|
58
|
+
ForceResetDeployment: "ForceResetDeployment",
|
|
59
|
+
NewDeployment: "NewDeployment",
|
|
60
|
+
Redeployment: "Redeployment",
|
|
61
|
+
ResetDeployment: "ResetDeployment",
|
|
62
|
+
};
|
|
63
|
+
export const BulkDeploymentStatus = {
|
|
64
|
+
Completed: "Completed",
|
|
65
|
+
Failed: "Failed",
|
|
66
|
+
Initializing: "Initializing",
|
|
67
|
+
Running: "Running",
|
|
68
|
+
Stopped: "Stopped",
|
|
69
|
+
Stopping: "Stopping",
|
|
70
|
+
};
|
|
71
|
+
export const ConfigurationSyncStatus = {
|
|
72
|
+
InSync: "InSync",
|
|
73
|
+
OutOfSync: "OutOfSync",
|
|
74
|
+
};
|
|
75
|
+
export const SoftwareToUpdate = {
|
|
76
|
+
core: "core",
|
|
77
|
+
ota_agent: "ota_agent",
|
|
78
|
+
};
|
|
79
|
+
export const UpdateAgentLogLevel = {
|
|
80
|
+
DEBUG: "DEBUG",
|
|
81
|
+
ERROR: "ERROR",
|
|
82
|
+
FATAL: "FATAL",
|
|
83
|
+
INFO: "INFO",
|
|
84
|
+
NONE: "NONE",
|
|
85
|
+
TRACE: "TRACE",
|
|
86
|
+
VERBOSE: "VERBOSE",
|
|
87
|
+
WARN: "WARN",
|
|
88
|
+
};
|
|
89
|
+
export const UpdateTargetsArchitecture = {
|
|
90
|
+
aarch64: "aarch64",
|
|
91
|
+
armv6l: "armv6l",
|
|
92
|
+
armv7l: "armv7l",
|
|
93
|
+
x86_64: "x86_64",
|
|
94
|
+
};
|
|
95
|
+
export const UpdateTargetsOperatingSystem = {
|
|
96
|
+
amazon_linux: "amazon_linux",
|
|
97
|
+
openwrt: "openwrt",
|
|
98
|
+
raspbian: "raspbian",
|
|
99
|
+
ubuntu: "ubuntu",
|
|
100
|
+
};
|
|
101
|
+
export const Telemetry = {
|
|
102
|
+
Off: "Off",
|
|
103
|
+
On: "On",
|
|
104
|
+
};
|
|
@@ -124,18 +124,28 @@ export interface Device {
|
|
|
124
124
|
}
|
|
125
125
|
/**
|
|
126
126
|
* @public
|
|
127
|
+
* @enum
|
|
127
128
|
*/
|
|
128
|
-
export declare
|
|
129
|
-
binary
|
|
130
|
-
json
|
|
131
|
-
}
|
|
129
|
+
export declare const EncodingType: {
|
|
130
|
+
readonly binary: "binary";
|
|
131
|
+
readonly json: "json";
|
|
132
|
+
};
|
|
132
133
|
/**
|
|
133
134
|
* @public
|
|
134
135
|
*/
|
|
135
|
-
export
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
136
|
+
export type EncodingType = (typeof EncodingType)[keyof typeof EncodingType];
|
|
137
|
+
/**
|
|
138
|
+
* @public
|
|
139
|
+
* @enum
|
|
140
|
+
*/
|
|
141
|
+
export declare const FunctionIsolationMode: {
|
|
142
|
+
readonly GreengrassContainer: "GreengrassContainer";
|
|
143
|
+
readonly NoContainer: "NoContainer";
|
|
144
|
+
};
|
|
145
|
+
/**
|
|
146
|
+
* @public
|
|
147
|
+
*/
|
|
148
|
+
export type FunctionIsolationMode = (typeof FunctionIsolationMode)[keyof typeof FunctionIsolationMode];
|
|
139
149
|
/**
|
|
140
150
|
* @public
|
|
141
151
|
* Specifies the user and group whose permissions are used when running the Lambda function. You can specify one or both values to override the default values. We recommend that you avoid running as root unless absolutely necessary to minimize the risk of unintended changes or malicious attacks. To run as root, you must set ''IsolationMode'' to ''NoContainer'' and update config.json in ''greengrass-root/config'' to set ''allowFunctionsToRunAsRoot'' to ''yes''.
|
|
@@ -166,11 +176,16 @@ export interface FunctionExecutionConfig {
|
|
|
166
176
|
}
|
|
167
177
|
/**
|
|
168
178
|
* @public
|
|
179
|
+
* @enum
|
|
169
180
|
*/
|
|
170
|
-
export declare
|
|
171
|
-
ro
|
|
172
|
-
rw
|
|
173
|
-
}
|
|
181
|
+
export declare const Permission: {
|
|
182
|
+
readonly ro: "ro";
|
|
183
|
+
readonly rw: "rw";
|
|
184
|
+
};
|
|
185
|
+
/**
|
|
186
|
+
* @public
|
|
187
|
+
*/
|
|
188
|
+
export type Permission = (typeof Permission)[keyof typeof Permission];
|
|
174
189
|
/**
|
|
175
190
|
* @public
|
|
176
191
|
* A policy used by the function to access a resource.
|
|
@@ -313,28 +328,43 @@ export interface GroupInformation {
|
|
|
313
328
|
}
|
|
314
329
|
/**
|
|
315
330
|
* @public
|
|
331
|
+
* @enum
|
|
316
332
|
*/
|
|
317
|
-
export declare
|
|
318
|
-
GreengrassSystem
|
|
319
|
-
Lambda
|
|
320
|
-
}
|
|
333
|
+
export declare const LoggerComponent: {
|
|
334
|
+
readonly GreengrassSystem: "GreengrassSystem";
|
|
335
|
+
readonly Lambda: "Lambda";
|
|
336
|
+
};
|
|
321
337
|
/**
|
|
322
338
|
* @public
|
|
323
339
|
*/
|
|
324
|
-
export
|
|
325
|
-
DEBUG = "DEBUG",
|
|
326
|
-
ERROR = "ERROR",
|
|
327
|
-
FATAL = "FATAL",
|
|
328
|
-
INFO = "INFO",
|
|
329
|
-
WARN = "WARN"
|
|
330
|
-
}
|
|
340
|
+
export type LoggerComponent = (typeof LoggerComponent)[keyof typeof LoggerComponent];
|
|
331
341
|
/**
|
|
332
342
|
* @public
|
|
343
|
+
* @enum
|
|
333
344
|
*/
|
|
334
|
-
export declare
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
345
|
+
export declare const LoggerLevel: {
|
|
346
|
+
readonly DEBUG: "DEBUG";
|
|
347
|
+
readonly ERROR: "ERROR";
|
|
348
|
+
readonly FATAL: "FATAL";
|
|
349
|
+
readonly INFO: "INFO";
|
|
350
|
+
readonly WARN: "WARN";
|
|
351
|
+
};
|
|
352
|
+
/**
|
|
353
|
+
* @public
|
|
354
|
+
*/
|
|
355
|
+
export type LoggerLevel = (typeof LoggerLevel)[keyof typeof LoggerLevel];
|
|
356
|
+
/**
|
|
357
|
+
* @public
|
|
358
|
+
* @enum
|
|
359
|
+
*/
|
|
360
|
+
export declare const LoggerType: {
|
|
361
|
+
readonly AWSCloudWatch: "AWSCloudWatch";
|
|
362
|
+
readonly FileSystem: "FileSystem";
|
|
363
|
+
};
|
|
364
|
+
/**
|
|
365
|
+
* @public
|
|
366
|
+
*/
|
|
367
|
+
export type LoggerType = (typeof LoggerType)[keyof typeof LoggerType];
|
|
338
368
|
/**
|
|
339
369
|
* @public
|
|
340
370
|
* Information about a logger
|
|
@@ -691,13 +721,18 @@ export interface BulkDeploymentMetrics {
|
|
|
691
721
|
}
|
|
692
722
|
/**
|
|
693
723
|
* @public
|
|
724
|
+
* @enum
|
|
694
725
|
*/
|
|
695
|
-
export declare
|
|
696
|
-
ForceResetDeployment
|
|
697
|
-
NewDeployment
|
|
698
|
-
Redeployment
|
|
699
|
-
ResetDeployment
|
|
700
|
-
}
|
|
726
|
+
export declare const DeploymentType: {
|
|
727
|
+
readonly ForceResetDeployment: "ForceResetDeployment";
|
|
728
|
+
readonly NewDeployment: "NewDeployment";
|
|
729
|
+
readonly Redeployment: "Redeployment";
|
|
730
|
+
readonly ResetDeployment: "ResetDeployment";
|
|
731
|
+
};
|
|
732
|
+
/**
|
|
733
|
+
* @public
|
|
734
|
+
*/
|
|
735
|
+
export type DeploymentType = (typeof DeploymentType)[keyof typeof DeploymentType];
|
|
701
736
|
/**
|
|
702
737
|
* @public
|
|
703
738
|
* Information about an individual group deployment in a bulk deployment operation.
|
|
@@ -738,22 +773,32 @@ export interface BulkDeploymentResult {
|
|
|
738
773
|
}
|
|
739
774
|
/**
|
|
740
775
|
* @public
|
|
776
|
+
* @enum
|
|
741
777
|
*/
|
|
742
|
-
export declare
|
|
743
|
-
Completed
|
|
744
|
-
Failed
|
|
745
|
-
Initializing
|
|
746
|
-
Running
|
|
747
|
-
Stopped
|
|
748
|
-
Stopping
|
|
749
|
-
}
|
|
778
|
+
export declare const BulkDeploymentStatus: {
|
|
779
|
+
readonly Completed: "Completed";
|
|
780
|
+
readonly Failed: "Failed";
|
|
781
|
+
readonly Initializing: "Initializing";
|
|
782
|
+
readonly Running: "Running";
|
|
783
|
+
readonly Stopped: "Stopped";
|
|
784
|
+
readonly Stopping: "Stopping";
|
|
785
|
+
};
|
|
750
786
|
/**
|
|
751
787
|
* @public
|
|
752
788
|
*/
|
|
753
|
-
export
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
789
|
+
export type BulkDeploymentStatus = (typeof BulkDeploymentStatus)[keyof typeof BulkDeploymentStatus];
|
|
790
|
+
/**
|
|
791
|
+
* @public
|
|
792
|
+
* @enum
|
|
793
|
+
*/
|
|
794
|
+
export declare const ConfigurationSyncStatus: {
|
|
795
|
+
readonly InSync: "InSync";
|
|
796
|
+
readonly OutOfSync: "OutOfSync";
|
|
797
|
+
};
|
|
798
|
+
/**
|
|
799
|
+
* @public
|
|
800
|
+
*/
|
|
801
|
+
export type ConfigurationSyncStatus = (typeof ConfigurationSyncStatus)[keyof typeof ConfigurationSyncStatus];
|
|
757
802
|
/**
|
|
758
803
|
* @public
|
|
759
804
|
* Information about the connector definition version, which is a container for connectors.
|
|
@@ -1612,42 +1657,62 @@ export interface CreateResourceDefinitionVersionResponse {
|
|
|
1612
1657
|
}
|
|
1613
1658
|
/**
|
|
1614
1659
|
* @public
|
|
1660
|
+
* @enum
|
|
1615
1661
|
*/
|
|
1616
|
-
export declare
|
|
1617
|
-
core
|
|
1618
|
-
ota_agent
|
|
1619
|
-
}
|
|
1662
|
+
export declare const SoftwareToUpdate: {
|
|
1663
|
+
readonly core: "core";
|
|
1664
|
+
readonly ota_agent: "ota_agent";
|
|
1665
|
+
};
|
|
1620
1666
|
/**
|
|
1621
1667
|
* @public
|
|
1622
1668
|
*/
|
|
1623
|
-
export
|
|
1624
|
-
DEBUG = "DEBUG",
|
|
1625
|
-
ERROR = "ERROR",
|
|
1626
|
-
FATAL = "FATAL",
|
|
1627
|
-
INFO = "INFO",
|
|
1628
|
-
NONE = "NONE",
|
|
1629
|
-
TRACE = "TRACE",
|
|
1630
|
-
VERBOSE = "VERBOSE",
|
|
1631
|
-
WARN = "WARN"
|
|
1632
|
-
}
|
|
1669
|
+
export type SoftwareToUpdate = (typeof SoftwareToUpdate)[keyof typeof SoftwareToUpdate];
|
|
1633
1670
|
/**
|
|
1634
1671
|
* @public
|
|
1672
|
+
* @enum
|
|
1635
1673
|
*/
|
|
1636
|
-
export declare
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1674
|
+
export declare const UpdateAgentLogLevel: {
|
|
1675
|
+
readonly DEBUG: "DEBUG";
|
|
1676
|
+
readonly ERROR: "ERROR";
|
|
1677
|
+
readonly FATAL: "FATAL";
|
|
1678
|
+
readonly INFO: "INFO";
|
|
1679
|
+
readonly NONE: "NONE";
|
|
1680
|
+
readonly TRACE: "TRACE";
|
|
1681
|
+
readonly VERBOSE: "VERBOSE";
|
|
1682
|
+
readonly WARN: "WARN";
|
|
1683
|
+
};
|
|
1642
1684
|
/**
|
|
1643
1685
|
* @public
|
|
1644
1686
|
*/
|
|
1645
|
-
export
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1687
|
+
export type UpdateAgentLogLevel = (typeof UpdateAgentLogLevel)[keyof typeof UpdateAgentLogLevel];
|
|
1688
|
+
/**
|
|
1689
|
+
* @public
|
|
1690
|
+
* @enum
|
|
1691
|
+
*/
|
|
1692
|
+
export declare const UpdateTargetsArchitecture: {
|
|
1693
|
+
readonly aarch64: "aarch64";
|
|
1694
|
+
readonly armv6l: "armv6l";
|
|
1695
|
+
readonly armv7l: "armv7l";
|
|
1696
|
+
readonly x86_64: "x86_64";
|
|
1697
|
+
};
|
|
1698
|
+
/**
|
|
1699
|
+
* @public
|
|
1700
|
+
*/
|
|
1701
|
+
export type UpdateTargetsArchitecture = (typeof UpdateTargetsArchitecture)[keyof typeof UpdateTargetsArchitecture];
|
|
1702
|
+
/**
|
|
1703
|
+
* @public
|
|
1704
|
+
* @enum
|
|
1705
|
+
*/
|
|
1706
|
+
export declare const UpdateTargetsOperatingSystem: {
|
|
1707
|
+
readonly amazon_linux: "amazon_linux";
|
|
1708
|
+
readonly openwrt: "openwrt";
|
|
1709
|
+
readonly raspbian: "raspbian";
|
|
1710
|
+
readonly ubuntu: "ubuntu";
|
|
1711
|
+
};
|
|
1712
|
+
/**
|
|
1713
|
+
* @public
|
|
1714
|
+
*/
|
|
1715
|
+
export type UpdateTargetsOperatingSystem = (typeof UpdateTargetsOperatingSystem)[keyof typeof UpdateTargetsOperatingSystem];
|
|
1651
1716
|
/**
|
|
1652
1717
|
* @public
|
|
1653
1718
|
*/
|
|
@@ -2887,11 +2952,16 @@ export interface GetThingRuntimeConfigurationRequest {
|
|
|
2887
2952
|
}
|
|
2888
2953
|
/**
|
|
2889
2954
|
* @public
|
|
2955
|
+
* @enum
|
|
2890
2956
|
*/
|
|
2891
|
-
export declare
|
|
2892
|
-
Off
|
|
2893
|
-
On
|
|
2894
|
-
}
|
|
2957
|
+
export declare const Telemetry: {
|
|
2958
|
+
readonly Off: "Off";
|
|
2959
|
+
readonly On: "On";
|
|
2960
|
+
};
|
|
2961
|
+
/**
|
|
2962
|
+
* @public
|
|
2963
|
+
*/
|
|
2964
|
+
export type Telemetry = (typeof Telemetry)[keyof typeof Telemetry];
|
|
2895
2965
|
/**
|
|
2896
2966
|
* @public
|
|
2897
2967
|
* Configuration settings for running telemetry.
|
|
@@ -33,14 +33,17 @@ export interface Device {
|
|
|
33
33
|
SyncShadow?: boolean;
|
|
34
34
|
ThingArn: string | undefined;
|
|
35
35
|
}
|
|
36
|
-
export declare
|
|
37
|
-
binary
|
|
38
|
-
json
|
|
39
|
-
}
|
|
40
|
-
export
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
36
|
+
export declare const EncodingType: {
|
|
37
|
+
readonly binary: "binary";
|
|
38
|
+
readonly json: "json";
|
|
39
|
+
};
|
|
40
|
+
export type EncodingType = (typeof EncodingType)[keyof typeof EncodingType];
|
|
41
|
+
export declare const FunctionIsolationMode: {
|
|
42
|
+
readonly GreengrassContainer: "GreengrassContainer";
|
|
43
|
+
readonly NoContainer: "NoContainer";
|
|
44
|
+
};
|
|
45
|
+
export type FunctionIsolationMode =
|
|
46
|
+
(typeof FunctionIsolationMode)[keyof typeof FunctionIsolationMode];
|
|
44
47
|
export interface FunctionRunAsConfig {
|
|
45
48
|
Gid?: number;
|
|
46
49
|
Uid?: number;
|
|
@@ -49,10 +52,11 @@ export interface FunctionExecutionConfig {
|
|
|
49
52
|
IsolationMode?: FunctionIsolationMode | string;
|
|
50
53
|
RunAs?: FunctionRunAsConfig;
|
|
51
54
|
}
|
|
52
|
-
export declare
|
|
53
|
-
ro
|
|
54
|
-
rw
|
|
55
|
-
}
|
|
55
|
+
export declare const Permission: {
|
|
56
|
+
readonly ro: "ro";
|
|
57
|
+
readonly rw: "rw";
|
|
58
|
+
};
|
|
59
|
+
export type Permission = (typeof Permission)[keyof typeof Permission];
|
|
56
60
|
export interface ResourceAccessPolicy {
|
|
57
61
|
Permission?: Permission | string;
|
|
58
62
|
ResourceId: string | undefined;
|
|
@@ -91,21 +95,25 @@ export interface GroupInformation {
|
|
|
91
95
|
LatestVersionArn?: string;
|
|
92
96
|
Name?: string;
|
|
93
97
|
}
|
|
94
|
-
export declare
|
|
95
|
-
GreengrassSystem
|
|
96
|
-
Lambda
|
|
97
|
-
}
|
|
98
|
-
export
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
98
|
+
export declare const LoggerComponent: {
|
|
99
|
+
readonly GreengrassSystem: "GreengrassSystem";
|
|
100
|
+
readonly Lambda: "Lambda";
|
|
101
|
+
};
|
|
102
|
+
export type LoggerComponent =
|
|
103
|
+
(typeof LoggerComponent)[keyof typeof LoggerComponent];
|
|
104
|
+
export declare const LoggerLevel: {
|
|
105
|
+
readonly DEBUG: "DEBUG";
|
|
106
|
+
readonly ERROR: "ERROR";
|
|
107
|
+
readonly FATAL: "FATAL";
|
|
108
|
+
readonly INFO: "INFO";
|
|
109
|
+
readonly WARN: "WARN";
|
|
110
|
+
};
|
|
111
|
+
export type LoggerLevel = (typeof LoggerLevel)[keyof typeof LoggerLevel];
|
|
112
|
+
export declare const LoggerType: {
|
|
113
|
+
readonly AWSCloudWatch: "AWSCloudWatch";
|
|
114
|
+
readonly FileSystem: "FileSystem";
|
|
115
|
+
};
|
|
116
|
+
export type LoggerType = (typeof LoggerType)[keyof typeof LoggerType];
|
|
109
117
|
export interface Logger {
|
|
110
118
|
Component: LoggerComponent | string | undefined;
|
|
111
119
|
Id: string | undefined;
|
|
@@ -213,12 +221,14 @@ export interface BulkDeploymentMetrics {
|
|
|
213
221
|
RecordsProcessed?: number;
|
|
214
222
|
RetryAttempts?: number;
|
|
215
223
|
}
|
|
216
|
-
export declare
|
|
217
|
-
ForceResetDeployment
|
|
218
|
-
NewDeployment
|
|
219
|
-
Redeployment
|
|
220
|
-
ResetDeployment
|
|
221
|
-
}
|
|
224
|
+
export declare const DeploymentType: {
|
|
225
|
+
readonly ForceResetDeployment: "ForceResetDeployment";
|
|
226
|
+
readonly NewDeployment: "NewDeployment";
|
|
227
|
+
readonly Redeployment: "Redeployment";
|
|
228
|
+
readonly ResetDeployment: "ResetDeployment";
|
|
229
|
+
};
|
|
230
|
+
export type DeploymentType =
|
|
231
|
+
(typeof DeploymentType)[keyof typeof DeploymentType];
|
|
222
232
|
export interface BulkDeploymentResult {
|
|
223
233
|
CreatedAt?: string;
|
|
224
234
|
DeploymentArn?: string;
|
|
@@ -229,18 +239,22 @@ export interface BulkDeploymentResult {
|
|
|
229
239
|
ErrorMessage?: string;
|
|
230
240
|
GroupArn?: string;
|
|
231
241
|
}
|
|
232
|
-
export declare
|
|
233
|
-
Completed
|
|
234
|
-
Failed
|
|
235
|
-
Initializing
|
|
236
|
-
Running
|
|
237
|
-
Stopped
|
|
238
|
-
Stopping
|
|
239
|
-
}
|
|
240
|
-
export
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
242
|
+
export declare const BulkDeploymentStatus: {
|
|
243
|
+
readonly Completed: "Completed";
|
|
244
|
+
readonly Failed: "Failed";
|
|
245
|
+
readonly Initializing: "Initializing";
|
|
246
|
+
readonly Running: "Running";
|
|
247
|
+
readonly Stopped: "Stopped";
|
|
248
|
+
readonly Stopping: "Stopping";
|
|
249
|
+
};
|
|
250
|
+
export type BulkDeploymentStatus =
|
|
251
|
+
(typeof BulkDeploymentStatus)[keyof typeof BulkDeploymentStatus];
|
|
252
|
+
export declare const ConfigurationSyncStatus: {
|
|
253
|
+
readonly InSync: "InSync";
|
|
254
|
+
readonly OutOfSync: "OutOfSync";
|
|
255
|
+
};
|
|
256
|
+
export type ConfigurationSyncStatus =
|
|
257
|
+
(typeof ConfigurationSyncStatus)[keyof typeof ConfigurationSyncStatus];
|
|
244
258
|
export interface ConnectorDefinitionVersion {
|
|
245
259
|
Connectors?: Connector[];
|
|
246
260
|
}
|
|
@@ -483,32 +497,40 @@ export interface CreateResourceDefinitionVersionResponse {
|
|
|
483
497
|
Id?: string;
|
|
484
498
|
Version?: string;
|
|
485
499
|
}
|
|
486
|
-
export declare
|
|
487
|
-
core
|
|
488
|
-
ota_agent
|
|
489
|
-
}
|
|
490
|
-
export
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
500
|
+
export declare const SoftwareToUpdate: {
|
|
501
|
+
readonly core: "core";
|
|
502
|
+
readonly ota_agent: "ota_agent";
|
|
503
|
+
};
|
|
504
|
+
export type SoftwareToUpdate =
|
|
505
|
+
(typeof SoftwareToUpdate)[keyof typeof SoftwareToUpdate];
|
|
506
|
+
export declare const UpdateAgentLogLevel: {
|
|
507
|
+
readonly DEBUG: "DEBUG";
|
|
508
|
+
readonly ERROR: "ERROR";
|
|
509
|
+
readonly FATAL: "FATAL";
|
|
510
|
+
readonly INFO: "INFO";
|
|
511
|
+
readonly NONE: "NONE";
|
|
512
|
+
readonly TRACE: "TRACE";
|
|
513
|
+
readonly VERBOSE: "VERBOSE";
|
|
514
|
+
readonly WARN: "WARN";
|
|
515
|
+
};
|
|
516
|
+
export type UpdateAgentLogLevel =
|
|
517
|
+
(typeof UpdateAgentLogLevel)[keyof typeof UpdateAgentLogLevel];
|
|
518
|
+
export declare const UpdateTargetsArchitecture: {
|
|
519
|
+
readonly aarch64: "aarch64";
|
|
520
|
+
readonly armv6l: "armv6l";
|
|
521
|
+
readonly armv7l: "armv7l";
|
|
522
|
+
readonly x86_64: "x86_64";
|
|
523
|
+
};
|
|
524
|
+
export type UpdateTargetsArchitecture =
|
|
525
|
+
(typeof UpdateTargetsArchitecture)[keyof typeof UpdateTargetsArchitecture];
|
|
526
|
+
export declare const UpdateTargetsOperatingSystem: {
|
|
527
|
+
readonly amazon_linux: "amazon_linux";
|
|
528
|
+
readonly openwrt: "openwrt";
|
|
529
|
+
readonly raspbian: "raspbian";
|
|
530
|
+
readonly ubuntu: "ubuntu";
|
|
531
|
+
};
|
|
532
|
+
export type UpdateTargetsOperatingSystem =
|
|
533
|
+
(typeof UpdateTargetsOperatingSystem)[keyof typeof UpdateTargetsOperatingSystem];
|
|
512
534
|
export interface CreateSoftwareUpdateJobRequest {
|
|
513
535
|
AmznClientToken?: string;
|
|
514
536
|
S3UrlSignerRole: string | undefined;
|
|
@@ -867,10 +889,11 @@ export interface GetSubscriptionDefinitionVersionResponse {
|
|
|
867
889
|
export interface GetThingRuntimeConfigurationRequest {
|
|
868
890
|
ThingName: string | undefined;
|
|
869
891
|
}
|
|
870
|
-
export declare
|
|
871
|
-
Off
|
|
872
|
-
On
|
|
873
|
-
}
|
|
892
|
+
export declare const Telemetry: {
|
|
893
|
+
readonly Off: "Off";
|
|
894
|
+
readonly On: "On";
|
|
895
|
+
};
|
|
896
|
+
export type Telemetry = (typeof Telemetry)[keyof typeof Telemetry];
|
|
874
897
|
export interface TelemetryConfiguration {
|
|
875
898
|
ConfigurationSyncStatus?: ConfigurationSyncStatus | string;
|
|
876
899
|
Telemetry: Telemetry | string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-greengrass",
|
|
3
3
|
"description": "AWS SDK for JavaScript Greengrass Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.303.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",
|
|
@@ -21,42 +21,42 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/protocol-http": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
46
|
-
"@aws-sdk/util-base64": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
48
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
55
|
-
"@aws-sdk/util-utf8": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.303.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.303.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.303.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.303.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.303.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.303.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.303.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.303.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.303.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.303.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.303.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.303.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.303.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.303.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.303.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.303.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.303.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.303.0",
|
|
42
|
+
"@aws-sdk/protocol-http": "3.303.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.303.0",
|
|
44
|
+
"@aws-sdk/types": "3.303.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.303.0",
|
|
46
|
+
"@aws-sdk/util-base64": "3.303.0",
|
|
47
|
+
"@aws-sdk/util-body-length-browser": "3.303.0",
|
|
48
|
+
"@aws-sdk/util-body-length-node": "3.303.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.303.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.303.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.303.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.303.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.303.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.303.0",
|
|
55
|
+
"@aws-sdk/util-utf8": "3.303.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
59
|
+
"@aws-sdk/service-client-documentation-generator": "3.303.0",
|
|
60
60
|
"@tsconfig/node14": "1.0.3",
|
|
61
61
|
"@types/node": "^14.14.31",
|
|
62
62
|
"concurrently": "7.0.0",
|