@aws-sdk/client-greengrass 3.428.0 → 3.430.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-types/models/models_0.d.ts +20 -20
- package/dist-types/ts3.4/models/models_0.d.ts +20 -23
- package/package.json +11 -11
|
@@ -194,7 +194,7 @@ export interface FunctionExecutionConfig {
|
|
|
194
194
|
* @public
|
|
195
195
|
* Specifies whether the Lambda function runs in a Greengrass container (default) or without containerization. Unless your scenario requires that you run without containerization, we recommend that you run in a Greengrass container. Omit this value to run the Lambda function with the default containerization for the group.
|
|
196
196
|
*/
|
|
197
|
-
IsolationMode?: FunctionIsolationMode
|
|
197
|
+
IsolationMode?: FunctionIsolationMode;
|
|
198
198
|
/**
|
|
199
199
|
* @public
|
|
200
200
|
* 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''.
|
|
@@ -222,7 +222,7 @@ export interface ResourceAccessPolicy {
|
|
|
222
222
|
* @public
|
|
223
223
|
* The permissions that the Lambda function has to the resource. Can be one of ''rw'' (read/write) or ''ro'' (read-only).
|
|
224
224
|
*/
|
|
225
|
-
Permission?: Permission
|
|
225
|
+
Permission?: Permission;
|
|
226
226
|
/**
|
|
227
227
|
* @public
|
|
228
228
|
* The ID of the resource. (This ID is assigned to the resource when you create the resource definiton.)
|
|
@@ -264,7 +264,7 @@ export interface FunctionConfiguration {
|
|
|
264
264
|
* @public
|
|
265
265
|
* The expected encoding type of the input payload for the function. The default is ''json''.
|
|
266
266
|
*/
|
|
267
|
-
EncodingType?: EncodingType
|
|
267
|
+
EncodingType?: EncodingType;
|
|
268
268
|
/**
|
|
269
269
|
* @public
|
|
270
270
|
* The environment configuration of the function.
|
|
@@ -427,7 +427,7 @@ export interface Logger {
|
|
|
427
427
|
* @public
|
|
428
428
|
* The component that will be subject to logging.
|
|
429
429
|
*/
|
|
430
|
-
Component: LoggerComponent |
|
|
430
|
+
Component: LoggerComponent | undefined;
|
|
431
431
|
/**
|
|
432
432
|
* @public
|
|
433
433
|
* A descriptive or arbitrary ID for the logger. This value must be unique within the logger definition version. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''.
|
|
@@ -437,7 +437,7 @@ export interface Logger {
|
|
|
437
437
|
* @public
|
|
438
438
|
* The level of the logs.
|
|
439
439
|
*/
|
|
440
|
-
Level: LoggerLevel |
|
|
440
|
+
Level: LoggerLevel | undefined;
|
|
441
441
|
/**
|
|
442
442
|
* @public
|
|
443
443
|
* The amount of file space, in KB, to use if the local file system is used for logging purposes.
|
|
@@ -447,7 +447,7 @@ export interface Logger {
|
|
|
447
447
|
* @public
|
|
448
448
|
* The type of log output which will be used.
|
|
449
449
|
*/
|
|
450
|
-
Type: LoggerType |
|
|
450
|
+
Type: LoggerType | undefined;
|
|
451
451
|
}
|
|
452
452
|
/**
|
|
453
453
|
* @public
|
|
@@ -516,7 +516,7 @@ export interface ResourceDownloadOwnerSetting {
|
|
|
516
516
|
* @public
|
|
517
517
|
* The permissions that the group owner has to the resource. Valid values are ''rw'' (read/write) or ''ro'' (read-only).
|
|
518
518
|
*/
|
|
519
|
-
GroupPermission: Permission |
|
|
519
|
+
GroupPermission: Permission | undefined;
|
|
520
520
|
}
|
|
521
521
|
/**
|
|
522
522
|
* @public
|
|
@@ -870,7 +870,7 @@ export interface BulkDeploymentResult {
|
|
|
870
870
|
* @public
|
|
871
871
|
* The type of the deployment.
|
|
872
872
|
*/
|
|
873
|
-
DeploymentType?: DeploymentType
|
|
873
|
+
DeploymentType?: DeploymentType;
|
|
874
874
|
/**
|
|
875
875
|
* @public
|
|
876
876
|
* Details about the error.
|
|
@@ -1176,7 +1176,7 @@ export interface CreateDeploymentRequest {
|
|
|
1176
1176
|
* @public
|
|
1177
1177
|
* The type of deployment. When used for ''CreateDeployment'', only ''NewDeployment'' and ''Redeployment'' are valid.
|
|
1178
1178
|
*/
|
|
1179
|
-
DeploymentType: DeploymentType |
|
|
1179
|
+
DeploymentType: DeploymentType | undefined;
|
|
1180
1180
|
/**
|
|
1181
1181
|
* @public
|
|
1182
1182
|
* The ID of the Greengrass group.
|
|
@@ -1333,7 +1333,7 @@ export interface FunctionDefaultExecutionConfig {
|
|
|
1333
1333
|
* @public
|
|
1334
1334
|
* Specifies whether the Lambda function runs in a Greengrass container (default) or without containerization. Unless your scenario requires that you run without containerization, we recommend that you run in a Greengrass container. Omit this value to run the Lambda function with the default containerization for the group.
|
|
1335
1335
|
*/
|
|
1336
|
-
IsolationMode?: FunctionIsolationMode
|
|
1336
|
+
IsolationMode?: FunctionIsolationMode;
|
|
1337
1337
|
/**
|
|
1338
1338
|
* @public
|
|
1339
1339
|
* 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''.
|
|
@@ -2007,12 +2007,12 @@ export interface CreateSoftwareUpdateJobRequest {
|
|
|
2007
2007
|
* @public
|
|
2008
2008
|
* The piece of software on the Greengrass core that will be updated.
|
|
2009
2009
|
*/
|
|
2010
|
-
SoftwareToUpdate: SoftwareToUpdate |
|
|
2010
|
+
SoftwareToUpdate: SoftwareToUpdate | undefined;
|
|
2011
2011
|
/**
|
|
2012
2012
|
* @public
|
|
2013
2013
|
* The minimum level of log statements that should be logged by the OTA Agent during an update.
|
|
2014
2014
|
*/
|
|
2015
|
-
UpdateAgentLogLevel?: UpdateAgentLogLevel
|
|
2015
|
+
UpdateAgentLogLevel?: UpdateAgentLogLevel;
|
|
2016
2016
|
/**
|
|
2017
2017
|
* @public
|
|
2018
2018
|
* The ARNs of the targets (IoT things or IoT thing groups) that this update will be applied to.
|
|
@@ -2022,12 +2022,12 @@ export interface CreateSoftwareUpdateJobRequest {
|
|
|
2022
2022
|
* @public
|
|
2023
2023
|
* The architecture of the cores which are the targets of an update.
|
|
2024
2024
|
*/
|
|
2025
|
-
UpdateTargetsArchitecture: UpdateTargetsArchitecture |
|
|
2025
|
+
UpdateTargetsArchitecture: UpdateTargetsArchitecture | undefined;
|
|
2026
2026
|
/**
|
|
2027
2027
|
* @public
|
|
2028
2028
|
* The operating system of the cores which are the targets of an update.
|
|
2029
2029
|
*/
|
|
2030
|
-
UpdateTargetsOperatingSystem: UpdateTargetsOperatingSystem |
|
|
2030
|
+
UpdateTargetsOperatingSystem: UpdateTargetsOperatingSystem | undefined;
|
|
2031
2031
|
}
|
|
2032
2032
|
/**
|
|
2033
2033
|
* @public
|
|
@@ -2314,7 +2314,7 @@ export interface Deployment {
|
|
|
2314
2314
|
* @public
|
|
2315
2315
|
* The type of the deployment.
|
|
2316
2316
|
*/
|
|
2317
|
-
DeploymentType?: DeploymentType
|
|
2317
|
+
DeploymentType?: DeploymentType;
|
|
2318
2318
|
/**
|
|
2319
2319
|
* @public
|
|
2320
2320
|
* The ARN of the group for this deployment.
|
|
@@ -2404,7 +2404,7 @@ export interface GetBulkDeploymentStatusResponse {
|
|
|
2404
2404
|
* @public
|
|
2405
2405
|
* The status of the bulk deployment.
|
|
2406
2406
|
*/
|
|
2407
|
-
BulkDeploymentStatus?: BulkDeploymentStatus
|
|
2407
|
+
BulkDeploymentStatus?: BulkDeploymentStatus;
|
|
2408
2408
|
/**
|
|
2409
2409
|
* @public
|
|
2410
2410
|
* The time, in ISO format, when the deployment was created.
|
|
@@ -2694,7 +2694,7 @@ export interface GetDeploymentStatusResponse {
|
|
|
2694
2694
|
* @public
|
|
2695
2695
|
* The type of the deployment.
|
|
2696
2696
|
*/
|
|
2697
|
-
DeploymentType?: DeploymentType
|
|
2697
|
+
DeploymentType?: DeploymentType;
|
|
2698
2698
|
/**
|
|
2699
2699
|
* @public
|
|
2700
2700
|
* Error details
|
|
@@ -3462,12 +3462,12 @@ export interface TelemetryConfiguration {
|
|
|
3462
3462
|
* @public
|
|
3463
3463
|
* Synchronization status of the device reported configuration with the desired configuration.
|
|
3464
3464
|
*/
|
|
3465
|
-
ConfigurationSyncStatus?: ConfigurationSyncStatus
|
|
3465
|
+
ConfigurationSyncStatus?: ConfigurationSyncStatus;
|
|
3466
3466
|
/**
|
|
3467
3467
|
* @public
|
|
3468
3468
|
* Configure telemetry to be on or off.
|
|
3469
3469
|
*/
|
|
3470
|
-
Telemetry: Telemetry |
|
|
3470
|
+
Telemetry: Telemetry | undefined;
|
|
3471
3471
|
}
|
|
3472
3472
|
/**
|
|
3473
3473
|
* @public
|
|
@@ -4507,7 +4507,7 @@ export interface TelemetryConfigurationUpdate {
|
|
|
4507
4507
|
* @public
|
|
4508
4508
|
* Configure telemetry to be on or off.
|
|
4509
4509
|
*/
|
|
4510
|
-
Telemetry: Telemetry |
|
|
4510
|
+
Telemetry: Telemetry | undefined;
|
|
4511
4511
|
}
|
|
4512
4512
|
/**
|
|
4513
4513
|
* @public
|
|
@@ -49,7 +49,7 @@ export interface FunctionRunAsConfig {
|
|
|
49
49
|
Uid?: number;
|
|
50
50
|
}
|
|
51
51
|
export interface FunctionExecutionConfig {
|
|
52
|
-
IsolationMode?: FunctionIsolationMode
|
|
52
|
+
IsolationMode?: FunctionIsolationMode;
|
|
53
53
|
RunAs?: FunctionRunAsConfig;
|
|
54
54
|
}
|
|
55
55
|
export declare const Permission: {
|
|
@@ -58,7 +58,7 @@ export declare const Permission: {
|
|
|
58
58
|
};
|
|
59
59
|
export type Permission = (typeof Permission)[keyof typeof Permission];
|
|
60
60
|
export interface ResourceAccessPolicy {
|
|
61
|
-
Permission?: Permission
|
|
61
|
+
Permission?: Permission;
|
|
62
62
|
ResourceId: string | undefined;
|
|
63
63
|
}
|
|
64
64
|
export interface FunctionConfigurationEnvironment {
|
|
@@ -68,7 +68,7 @@ export interface FunctionConfigurationEnvironment {
|
|
|
68
68
|
Variables?: Record<string, string>;
|
|
69
69
|
}
|
|
70
70
|
export interface FunctionConfiguration {
|
|
71
|
-
EncodingType?: EncodingType
|
|
71
|
+
EncodingType?: EncodingType;
|
|
72
72
|
Environment?: FunctionConfigurationEnvironment;
|
|
73
73
|
ExecArgs?: string;
|
|
74
74
|
Executable?: string;
|
|
@@ -115,11 +115,11 @@ export declare const LoggerType: {
|
|
|
115
115
|
};
|
|
116
116
|
export type LoggerType = (typeof LoggerType)[keyof typeof LoggerType];
|
|
117
117
|
export interface Logger {
|
|
118
|
-
Component: LoggerComponent |
|
|
118
|
+
Component: LoggerComponent | undefined;
|
|
119
119
|
Id: string | undefined;
|
|
120
|
-
Level: LoggerLevel |
|
|
120
|
+
Level: LoggerLevel | undefined;
|
|
121
121
|
Space?: number;
|
|
122
|
-
Type: LoggerType |
|
|
122
|
+
Type: LoggerType | undefined;
|
|
123
123
|
}
|
|
124
124
|
export interface GroupOwnerSetting {
|
|
125
125
|
AutoAddGroupOwner?: boolean;
|
|
@@ -136,7 +136,7 @@ export interface LocalVolumeResourceData {
|
|
|
136
136
|
}
|
|
137
137
|
export interface ResourceDownloadOwnerSetting {
|
|
138
138
|
GroupOwner: string | undefined;
|
|
139
|
-
GroupPermission: Permission |
|
|
139
|
+
GroupPermission: Permission | undefined;
|
|
140
140
|
}
|
|
141
141
|
export interface S3MachineLearningModelResourceData {
|
|
142
142
|
DestinationPath?: string;
|
|
@@ -234,7 +234,7 @@ export interface BulkDeploymentResult {
|
|
|
234
234
|
DeploymentArn?: string;
|
|
235
235
|
DeploymentId?: string;
|
|
236
236
|
DeploymentStatus?: string;
|
|
237
|
-
DeploymentType?: DeploymentType
|
|
237
|
+
DeploymentType?: DeploymentType;
|
|
238
238
|
ErrorDetails?: ErrorDetail[];
|
|
239
239
|
ErrorMessage?: string;
|
|
240
240
|
GroupArn?: string;
|
|
@@ -316,7 +316,7 @@ export interface CreateCoreDefinitionVersionResponse {
|
|
|
316
316
|
export interface CreateDeploymentRequest {
|
|
317
317
|
AmznClientToken?: string;
|
|
318
318
|
DeploymentId?: string;
|
|
319
|
-
DeploymentType: DeploymentType |
|
|
319
|
+
DeploymentType: DeploymentType | undefined;
|
|
320
320
|
GroupId: string | undefined;
|
|
321
321
|
GroupVersionId?: string;
|
|
322
322
|
}
|
|
@@ -354,7 +354,7 @@ export interface CreateDeviceDefinitionVersionResponse {
|
|
|
354
354
|
Version?: string;
|
|
355
355
|
}
|
|
356
356
|
export interface FunctionDefaultExecutionConfig {
|
|
357
|
-
IsolationMode?: FunctionIsolationMode
|
|
357
|
+
IsolationMode?: FunctionIsolationMode;
|
|
358
358
|
RunAs?: FunctionRunAsConfig;
|
|
359
359
|
}
|
|
360
360
|
export interface FunctionDefaultConfig {
|
|
@@ -534,14 +534,11 @@ export type UpdateTargetsOperatingSystem =
|
|
|
534
534
|
export interface CreateSoftwareUpdateJobRequest {
|
|
535
535
|
AmznClientToken?: string;
|
|
536
536
|
S3UrlSignerRole: string | undefined;
|
|
537
|
-
SoftwareToUpdate: SoftwareToUpdate |
|
|
538
|
-
UpdateAgentLogLevel?: UpdateAgentLogLevel
|
|
537
|
+
SoftwareToUpdate: SoftwareToUpdate | undefined;
|
|
538
|
+
UpdateAgentLogLevel?: UpdateAgentLogLevel;
|
|
539
539
|
UpdateTargets: string[] | undefined;
|
|
540
|
-
UpdateTargetsArchitecture: UpdateTargetsArchitecture |
|
|
541
|
-
UpdateTargetsOperatingSystem:
|
|
542
|
-
| UpdateTargetsOperatingSystem
|
|
543
|
-
| string
|
|
544
|
-
| undefined;
|
|
540
|
+
UpdateTargetsArchitecture: UpdateTargetsArchitecture | undefined;
|
|
541
|
+
UpdateTargetsOperatingSystem: UpdateTargetsOperatingSystem | undefined;
|
|
545
542
|
}
|
|
546
543
|
export interface CreateSoftwareUpdateJobResponse {
|
|
547
544
|
IotJobArn?: string;
|
|
@@ -613,7 +610,7 @@ export interface Deployment {
|
|
|
613
610
|
CreatedAt?: string;
|
|
614
611
|
DeploymentArn?: string;
|
|
615
612
|
DeploymentId?: string;
|
|
616
|
-
DeploymentType?: DeploymentType
|
|
613
|
+
DeploymentType?: DeploymentType;
|
|
617
614
|
GroupArn?: string;
|
|
618
615
|
}
|
|
619
616
|
export interface DisassociateRoleFromGroupRequest {
|
|
@@ -638,7 +635,7 @@ export interface GetBulkDeploymentStatusRequest {
|
|
|
638
635
|
}
|
|
639
636
|
export interface GetBulkDeploymentStatusResponse {
|
|
640
637
|
BulkDeploymentMetrics?: BulkDeploymentMetrics;
|
|
641
|
-
BulkDeploymentStatus?: BulkDeploymentStatus
|
|
638
|
+
BulkDeploymentStatus?: BulkDeploymentStatus;
|
|
642
639
|
CreatedAt?: string;
|
|
643
640
|
ErrorDetails?: ErrorDetail[];
|
|
644
641
|
ErrorMessage?: string;
|
|
@@ -708,7 +705,7 @@ export interface GetDeploymentStatusRequest {
|
|
|
708
705
|
}
|
|
709
706
|
export interface GetDeploymentStatusResponse {
|
|
710
707
|
DeploymentStatus?: string;
|
|
711
|
-
DeploymentType?: DeploymentType
|
|
708
|
+
DeploymentType?: DeploymentType;
|
|
712
709
|
ErrorDetails?: ErrorDetail[];
|
|
713
710
|
ErrorMessage?: string;
|
|
714
711
|
UpdatedAt?: string;
|
|
@@ -895,8 +892,8 @@ export declare const Telemetry: {
|
|
|
895
892
|
};
|
|
896
893
|
export type Telemetry = (typeof Telemetry)[keyof typeof Telemetry];
|
|
897
894
|
export interface TelemetryConfiguration {
|
|
898
|
-
ConfigurationSyncStatus?: ConfigurationSyncStatus
|
|
899
|
-
Telemetry: Telemetry |
|
|
895
|
+
ConfigurationSyncStatus?: ConfigurationSyncStatus;
|
|
896
|
+
Telemetry: Telemetry | undefined;
|
|
900
897
|
}
|
|
901
898
|
export interface RuntimeConfiguration {
|
|
902
899
|
TelemetryConfiguration?: TelemetryConfiguration;
|
|
@@ -1167,7 +1164,7 @@ export interface UpdateSubscriptionDefinitionRequest {
|
|
|
1167
1164
|
}
|
|
1168
1165
|
export interface UpdateSubscriptionDefinitionResponse {}
|
|
1169
1166
|
export interface TelemetryConfigurationUpdate {
|
|
1170
|
-
Telemetry: Telemetry |
|
|
1167
|
+
Telemetry: Telemetry | undefined;
|
|
1171
1168
|
}
|
|
1172
1169
|
export interface UpdateThingRuntimeConfigurationRequest {
|
|
1173
1170
|
TelemetryConfiguration?: TelemetryConfigurationUpdate;
|
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.430.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,28 +21,28 @@
|
|
|
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/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.430.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.430.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.429.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.428.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.428.0",
|
|
29
29
|
"@aws-sdk/middleware-signing": "3.428.0",
|
|
30
30
|
"@aws-sdk/middleware-user-agent": "3.428.0",
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.430.0",
|
|
32
32
|
"@aws-sdk/types": "3.428.0",
|
|
33
33
|
"@aws-sdk/util-endpoints": "3.428.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.428.0",
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^2.0.
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.430.0",
|
|
36
|
+
"@smithy/config-resolver": "^2.0.15",
|
|
37
37
|
"@smithy/fetch-http-handler": "^2.2.3",
|
|
38
38
|
"@smithy/hash-node": "^2.0.11",
|
|
39
39
|
"@smithy/invalid-dependency": "^2.0.11",
|
|
40
40
|
"@smithy/middleware-content-length": "^2.0.13",
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.1.
|
|
42
|
-
"@smithy/middleware-retry": "^2.0.
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.1.2",
|
|
42
|
+
"@smithy/middleware-retry": "^2.0.17",
|
|
43
43
|
"@smithy/middleware-serde": "^2.0.11",
|
|
44
44
|
"@smithy/middleware-stack": "^2.0.5",
|
|
45
|
-
"@smithy/node-config-provider": "^2.1.
|
|
45
|
+
"@smithy/node-config-provider": "^2.1.2",
|
|
46
46
|
"@smithy/node-http-handler": "^2.1.7",
|
|
47
47
|
"@smithy/protocol-http": "^3.0.7",
|
|
48
48
|
"@smithy/smithy-client": "^2.1.11",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"@smithy/util-body-length-browser": "^2.0.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^2.1.0",
|
|
54
54
|
"@smithy/util-defaults-mode-browser": "^2.0.15",
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.0.20",
|
|
56
56
|
"@smithy/util-retry": "^2.0.4",
|
|
57
57
|
"@smithy/util-utf8": "^2.0.0",
|
|
58
58
|
"tslib": "^2.5.0"
|