@aws-sdk/client-greengrass 3.300.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/commands/AssociateRoleToGroupCommand.d.ts +1 -1
- package/dist-types/commands/AssociateServiceRoleToAccountCommand.d.ts +1 -1
- package/dist-types/commands/CreateConnectorDefinitionCommand.d.ts +6 -6
- package/dist-types/commands/CreateConnectorDefinitionVersionCommand.d.ts +4 -4
- package/dist-types/commands/CreateCoreDefinitionCommand.d.ts +5 -5
- package/dist-types/commands/CreateCoreDefinitionVersionCommand.d.ts +3 -3
- package/dist-types/commands/CreateDeploymentCommand.d.ts +1 -1
- package/dist-types/commands/CreateDeviceDefinitionCommand.d.ts +5 -5
- package/dist-types/commands/CreateDeviceDefinitionVersionCommand.d.ts +3 -3
- package/dist-types/commands/CreateFunctionDefinitionCommand.d.ts +14 -14
- package/dist-types/commands/CreateFunctionDefinitionVersionCommand.d.ts +12 -12
- package/dist-types/commands/CreateGroupCertificateAuthorityCommand.d.ts +1 -1
- package/dist-types/commands/CreateGroupCommand.d.ts +3 -3
- package/dist-types/commands/CreateGroupVersionCommand.d.ts +1 -1
- package/dist-types/commands/CreateLoggerDefinitionCommand.d.ts +5 -5
- package/dist-types/commands/CreateLoggerDefinitionVersionCommand.d.ts +3 -3
- package/dist-types/commands/CreateResourceDefinitionCommand.d.ts +14 -14
- package/dist-types/commands/CreateResourceDefinitionVersionCommand.d.ts +12 -12
- package/dist-types/commands/CreateSoftwareUpdateJobCommand.d.ts +2 -2
- package/dist-types/commands/CreateSubscriptionDefinitionCommand.d.ts +5 -5
- package/dist-types/commands/CreateSubscriptionDefinitionVersionCommand.d.ts +3 -3
- package/dist-types/commands/DeleteConnectorDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteCoreDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDeviceDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteFunctionDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteGroupCommand.d.ts +1 -1
- package/dist-types/commands/DeleteLoggerDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteResourceDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSubscriptionDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateRoleFromGroupCommand.d.ts +1 -1
- package/dist-types/commands/GetAssociatedRoleCommand.d.ts +1 -1
- package/dist-types/commands/GetBulkDeploymentStatusCommand.d.ts +1 -1
- package/dist-types/commands/GetConnectivityInfoCommand.d.ts +1 -1
- package/dist-types/commands/GetConnectorDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/GetConnectorDefinitionVersionCommand.d.ts +1 -1
- package/dist-types/commands/GetCoreDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/GetCoreDefinitionVersionCommand.d.ts +1 -1
- package/dist-types/commands/GetDeploymentStatusCommand.d.ts +1 -1
- package/dist-types/commands/GetDeviceDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/GetDeviceDefinitionVersionCommand.d.ts +1 -1
- package/dist-types/commands/GetFunctionDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/GetFunctionDefinitionVersionCommand.d.ts +1 -1
- package/dist-types/commands/GetGroupCertificateAuthorityCommand.d.ts +1 -1
- package/dist-types/commands/GetGroupCertificateConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/GetGroupCommand.d.ts +1 -1
- package/dist-types/commands/GetGroupVersionCommand.d.ts +1 -1
- package/dist-types/commands/GetLoggerDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/GetLoggerDefinitionVersionCommand.d.ts +1 -1
- package/dist-types/commands/GetResourceDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/GetResourceDefinitionVersionCommand.d.ts +1 -1
- package/dist-types/commands/GetSubscriptionDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/GetSubscriptionDefinitionVersionCommand.d.ts +1 -1
- package/dist-types/commands/GetThingRuntimeConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/ListBulkDeploymentDetailedReportsCommand.d.ts +1 -1
- package/dist-types/commands/ListBulkDeploymentsCommand.d.ts +1 -1
- package/dist-types/commands/ListConnectorDefinitionVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListConnectorDefinitionsCommand.d.ts +1 -1
- package/dist-types/commands/ListCoreDefinitionVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListCoreDefinitionsCommand.d.ts +1 -1
- package/dist-types/commands/ListDeploymentsCommand.d.ts +1 -1
- package/dist-types/commands/ListDeviceDefinitionVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListDeviceDefinitionsCommand.d.ts +1 -1
- package/dist-types/commands/ListFunctionDefinitionVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListFunctionDefinitionsCommand.d.ts +1 -1
- package/dist-types/commands/ListGroupCertificateAuthoritiesCommand.d.ts +1 -1
- package/dist-types/commands/ListGroupVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListGroupsCommand.d.ts +1 -1
- package/dist-types/commands/ListLoggerDefinitionVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListLoggerDefinitionsCommand.d.ts +1 -1
- package/dist-types/commands/ListResourceDefinitionVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListResourceDefinitionsCommand.d.ts +1 -1
- package/dist-types/commands/ListSubscriptionDefinitionVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListSubscriptionDefinitionsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ResetDeploymentsCommand.d.ts +1 -1
- package/dist-types/commands/StartBulkDeploymentCommand.d.ts +2 -2
- package/dist-types/commands/StopBulkDeploymentCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateConnectivityInfoCommand.d.ts +3 -3
- package/dist-types/commands/UpdateConnectorDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateCoreDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDeviceDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFunctionDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateGroupCertificateConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateGroupCommand.d.ts +1 -1
- package/dist-types/commands/UpdateLoggerDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateResourceDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSubscriptionDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateThingRuntimeConfigurationCommand.d.ts +2 -2
- 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
|
+
};
|
|
@@ -26,7 +26,7 @@ export interface AssociateRoleToGroupCommandOutput extends AssociateRoleToGroupR
|
|
|
26
26
|
* import { GreengrassClient, AssociateRoleToGroupCommand } from "@aws-sdk/client-greengrass"; // ES Modules import
|
|
27
27
|
* // const { GreengrassClient, AssociateRoleToGroupCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import
|
|
28
28
|
* const client = new GreengrassClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // AssociateRoleToGroupRequest
|
|
30
30
|
* GroupId: "STRING_VALUE", // required
|
|
31
31
|
* RoleArn: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
@@ -26,7 +26,7 @@ export interface AssociateServiceRoleToAccountCommandOutput extends AssociateSer
|
|
|
26
26
|
* import { GreengrassClient, AssociateServiceRoleToAccountCommand } from "@aws-sdk/client-greengrass"; // ES Modules import
|
|
27
27
|
* // const { GreengrassClient, AssociateServiceRoleToAccountCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import
|
|
28
28
|
* const client = new GreengrassClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // AssociateServiceRoleToAccountRequest
|
|
30
30
|
* RoleArn: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new AssociateServiceRoleToAccountCommand(input);
|
|
@@ -26,21 +26,21 @@ export interface CreateConnectorDefinitionCommandOutput extends CreateConnectorD
|
|
|
26
26
|
* import { GreengrassClient, CreateConnectorDefinitionCommand } from "@aws-sdk/client-greengrass"; // ES Modules import
|
|
27
27
|
* // const { GreengrassClient, CreateConnectorDefinitionCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import
|
|
28
28
|
* const client = new GreengrassClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // CreateConnectorDefinitionRequest
|
|
30
30
|
* AmznClientToken: "STRING_VALUE",
|
|
31
|
-
* InitialVersion: {
|
|
32
|
-
* Connectors: [
|
|
33
|
-
* {
|
|
31
|
+
* InitialVersion: { // ConnectorDefinitionVersion
|
|
32
|
+
* Connectors: [ // __listOfConnector
|
|
33
|
+
* { // Connector
|
|
34
34
|
* ConnectorArn: "STRING_VALUE", // required
|
|
35
35
|
* Id: "STRING_VALUE", // required
|
|
36
|
-
* Parameters: {
|
|
36
|
+
* Parameters: { // __mapOf__string
|
|
37
37
|
* "<keys>": "STRING_VALUE",
|
|
38
38
|
* },
|
|
39
39
|
* },
|
|
40
40
|
* ],
|
|
41
41
|
* },
|
|
42
42
|
* Name: "STRING_VALUE",
|
|
43
|
-
* tags: {
|
|
43
|
+
* tags: { // Tags
|
|
44
44
|
* "<keys>": "STRING_VALUE",
|
|
45
45
|
* },
|
|
46
46
|
* };
|
|
@@ -26,14 +26,14 @@ export interface CreateConnectorDefinitionVersionCommandOutput extends CreateCon
|
|
|
26
26
|
* import { GreengrassClient, CreateConnectorDefinitionVersionCommand } from "@aws-sdk/client-greengrass"; // ES Modules import
|
|
27
27
|
* // const { GreengrassClient, CreateConnectorDefinitionVersionCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import
|
|
28
28
|
* const client = new GreengrassClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // CreateConnectorDefinitionVersionRequest
|
|
30
30
|
* AmznClientToken: "STRING_VALUE",
|
|
31
31
|
* ConnectorDefinitionId: "STRING_VALUE", // required
|
|
32
|
-
* Connectors: [
|
|
33
|
-
* {
|
|
32
|
+
* Connectors: [ // __listOfConnector
|
|
33
|
+
* { // Connector
|
|
34
34
|
* ConnectorArn: "STRING_VALUE", // required
|
|
35
35
|
* Id: "STRING_VALUE", // required
|
|
36
|
-
* Parameters: {
|
|
36
|
+
* Parameters: { // __mapOf__string
|
|
37
37
|
* "<keys>": "STRING_VALUE",
|
|
38
38
|
* },
|
|
39
39
|
* },
|
|
@@ -26,11 +26,11 @@ export interface CreateCoreDefinitionCommandOutput extends CreateCoreDefinitionR
|
|
|
26
26
|
* import { GreengrassClient, CreateCoreDefinitionCommand } from "@aws-sdk/client-greengrass"; // ES Modules import
|
|
27
27
|
* // const { GreengrassClient, CreateCoreDefinitionCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import
|
|
28
28
|
* const client = new GreengrassClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // CreateCoreDefinitionRequest
|
|
30
30
|
* AmznClientToken: "STRING_VALUE",
|
|
31
|
-
* InitialVersion: {
|
|
32
|
-
* Cores: [
|
|
33
|
-
* {
|
|
31
|
+
* InitialVersion: { // CoreDefinitionVersion
|
|
32
|
+
* Cores: [ // __listOfCore
|
|
33
|
+
* { // Core
|
|
34
34
|
* CertificateArn: "STRING_VALUE", // required
|
|
35
35
|
* Id: "STRING_VALUE", // required
|
|
36
36
|
* SyncShadow: true || false,
|
|
@@ -39,7 +39,7 @@ export interface CreateCoreDefinitionCommandOutput extends CreateCoreDefinitionR
|
|
|
39
39
|
* ],
|
|
40
40
|
* },
|
|
41
41
|
* Name: "STRING_VALUE",
|
|
42
|
-
* tags: {
|
|
42
|
+
* tags: { // Tags
|
|
43
43
|
* "<keys>": "STRING_VALUE",
|
|
44
44
|
* },
|
|
45
45
|
* };
|
|
@@ -26,11 +26,11 @@ export interface CreateCoreDefinitionVersionCommandOutput extends CreateCoreDefi
|
|
|
26
26
|
* import { GreengrassClient, CreateCoreDefinitionVersionCommand } from "@aws-sdk/client-greengrass"; // ES Modules import
|
|
27
27
|
* // const { GreengrassClient, CreateCoreDefinitionVersionCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import
|
|
28
28
|
* const client = new GreengrassClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // CreateCoreDefinitionVersionRequest
|
|
30
30
|
* AmznClientToken: "STRING_VALUE",
|
|
31
31
|
* CoreDefinitionId: "STRING_VALUE", // required
|
|
32
|
-
* Cores: [
|
|
33
|
-
* {
|
|
32
|
+
* Cores: [ // __listOfCore
|
|
33
|
+
* { // Core
|
|
34
34
|
* CertificateArn: "STRING_VALUE", // required
|
|
35
35
|
* Id: "STRING_VALUE", // required
|
|
36
36
|
* SyncShadow: true || false,
|
|
@@ -26,7 +26,7 @@ export interface CreateDeploymentCommandOutput extends CreateDeploymentResponse,
|
|
|
26
26
|
* import { GreengrassClient, CreateDeploymentCommand } from "@aws-sdk/client-greengrass"; // ES Modules import
|
|
27
27
|
* // const { GreengrassClient, CreateDeploymentCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import
|
|
28
28
|
* const client = new GreengrassClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // CreateDeploymentRequest
|
|
30
30
|
* AmznClientToken: "STRING_VALUE",
|
|
31
31
|
* DeploymentId: "STRING_VALUE",
|
|
32
32
|
* DeploymentType: "NewDeployment" || "Redeployment" || "ResetDeployment" || "ForceResetDeployment", // required
|
|
@@ -26,11 +26,11 @@ export interface CreateDeviceDefinitionCommandOutput extends CreateDeviceDefinit
|
|
|
26
26
|
* import { GreengrassClient, CreateDeviceDefinitionCommand } from "@aws-sdk/client-greengrass"; // ES Modules import
|
|
27
27
|
* // const { GreengrassClient, CreateDeviceDefinitionCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import
|
|
28
28
|
* const client = new GreengrassClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // CreateDeviceDefinitionRequest
|
|
30
30
|
* AmznClientToken: "STRING_VALUE",
|
|
31
|
-
* InitialVersion: {
|
|
32
|
-
* Devices: [
|
|
33
|
-
* {
|
|
31
|
+
* InitialVersion: { // DeviceDefinitionVersion
|
|
32
|
+
* Devices: [ // __listOfDevice
|
|
33
|
+
* { // Device
|
|
34
34
|
* CertificateArn: "STRING_VALUE", // required
|
|
35
35
|
* Id: "STRING_VALUE", // required
|
|
36
36
|
* SyncShadow: true || false,
|
|
@@ -39,7 +39,7 @@ export interface CreateDeviceDefinitionCommandOutput extends CreateDeviceDefinit
|
|
|
39
39
|
* ],
|
|
40
40
|
* },
|
|
41
41
|
* Name: "STRING_VALUE",
|
|
42
|
-
* tags: {
|
|
42
|
+
* tags: { // Tags
|
|
43
43
|
* "<keys>": "STRING_VALUE",
|
|
44
44
|
* },
|
|
45
45
|
* };
|
|
@@ -26,11 +26,11 @@ export interface CreateDeviceDefinitionVersionCommandOutput extends CreateDevice
|
|
|
26
26
|
* import { GreengrassClient, CreateDeviceDefinitionVersionCommand } from "@aws-sdk/client-greengrass"; // ES Modules import
|
|
27
27
|
* // const { GreengrassClient, CreateDeviceDefinitionVersionCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import
|
|
28
28
|
* const client = new GreengrassClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // CreateDeviceDefinitionVersionRequest
|
|
30
30
|
* AmznClientToken: "STRING_VALUE",
|
|
31
31
|
* DeviceDefinitionId: "STRING_VALUE", // required
|
|
32
|
-
* Devices: [
|
|
33
|
-
* {
|
|
32
|
+
* Devices: [ // __listOfDevice
|
|
33
|
+
* { // Device
|
|
34
34
|
* CertificateArn: "STRING_VALUE", // required
|
|
35
35
|
* Id: "STRING_VALUE", // required
|
|
36
36
|
* SyncShadow: true || false,
|
|
@@ -26,39 +26,39 @@ export interface CreateFunctionDefinitionCommandOutput extends CreateFunctionDef
|
|
|
26
26
|
* import { GreengrassClient, CreateFunctionDefinitionCommand } from "@aws-sdk/client-greengrass"; // ES Modules import
|
|
27
27
|
* // const { GreengrassClient, CreateFunctionDefinitionCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import
|
|
28
28
|
* const client = new GreengrassClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // CreateFunctionDefinitionRequest
|
|
30
30
|
* AmznClientToken: "STRING_VALUE",
|
|
31
|
-
* InitialVersion: {
|
|
32
|
-
* DefaultConfig: {
|
|
33
|
-
* Execution: {
|
|
31
|
+
* InitialVersion: { // FunctionDefinitionVersion
|
|
32
|
+
* DefaultConfig: { // FunctionDefaultConfig
|
|
33
|
+
* Execution: { // FunctionDefaultExecutionConfig
|
|
34
34
|
* IsolationMode: "GreengrassContainer" || "NoContainer",
|
|
35
|
-
* RunAs: {
|
|
35
|
+
* RunAs: { // FunctionRunAsConfig
|
|
36
36
|
* Gid: Number("int"),
|
|
37
37
|
* Uid: Number("int"),
|
|
38
38
|
* },
|
|
39
39
|
* },
|
|
40
40
|
* },
|
|
41
|
-
* Functions: [
|
|
42
|
-
* {
|
|
41
|
+
* Functions: [ // __listOfFunction
|
|
42
|
+
* { // Function
|
|
43
43
|
* FunctionArn: "STRING_VALUE",
|
|
44
|
-
* FunctionConfiguration: {
|
|
44
|
+
* FunctionConfiguration: { // FunctionConfiguration
|
|
45
45
|
* EncodingType: "binary" || "json",
|
|
46
|
-
* Environment: {
|
|
46
|
+
* Environment: { // FunctionConfigurationEnvironment
|
|
47
47
|
* AccessSysfs: true || false,
|
|
48
|
-
* Execution: {
|
|
48
|
+
* Execution: { // FunctionExecutionConfig
|
|
49
49
|
* IsolationMode: "GreengrassContainer" || "NoContainer",
|
|
50
50
|
* RunAs: {
|
|
51
51
|
* Gid: Number("int"),
|
|
52
52
|
* Uid: Number("int"),
|
|
53
53
|
* },
|
|
54
54
|
* },
|
|
55
|
-
* ResourceAccessPolicies: [
|
|
56
|
-
* {
|
|
55
|
+
* ResourceAccessPolicies: [ // __listOfResourceAccessPolicy
|
|
56
|
+
* { // ResourceAccessPolicy
|
|
57
57
|
* Permission: "ro" || "rw",
|
|
58
58
|
* ResourceId: "STRING_VALUE", // required
|
|
59
59
|
* },
|
|
60
60
|
* ],
|
|
61
|
-
* Variables: {
|
|
61
|
+
* Variables: { // __mapOf__string
|
|
62
62
|
* "<keys>": "STRING_VALUE",
|
|
63
63
|
* },
|
|
64
64
|
* },
|
|
@@ -74,7 +74,7 @@ export interface CreateFunctionDefinitionCommandOutput extends CreateFunctionDef
|
|
|
74
74
|
* ],
|
|
75
75
|
* },
|
|
76
76
|
* Name: "STRING_VALUE",
|
|
77
|
-
* tags: {
|
|
77
|
+
* tags: { // Tags
|
|
78
78
|
* "<keys>": "STRING_VALUE",
|
|
79
79
|
* },
|
|
80
80
|
* };
|
|
@@ -26,39 +26,39 @@ export interface CreateFunctionDefinitionVersionCommandOutput extends CreateFunc
|
|
|
26
26
|
* import { GreengrassClient, CreateFunctionDefinitionVersionCommand } from "@aws-sdk/client-greengrass"; // ES Modules import
|
|
27
27
|
* // const { GreengrassClient, CreateFunctionDefinitionVersionCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import
|
|
28
28
|
* const client = new GreengrassClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // CreateFunctionDefinitionVersionRequest
|
|
30
30
|
* AmznClientToken: "STRING_VALUE",
|
|
31
|
-
* DefaultConfig: {
|
|
32
|
-
* Execution: {
|
|
31
|
+
* DefaultConfig: { // FunctionDefaultConfig
|
|
32
|
+
* Execution: { // FunctionDefaultExecutionConfig
|
|
33
33
|
* IsolationMode: "GreengrassContainer" || "NoContainer",
|
|
34
|
-
* RunAs: {
|
|
34
|
+
* RunAs: { // FunctionRunAsConfig
|
|
35
35
|
* Gid: Number("int"),
|
|
36
36
|
* Uid: Number("int"),
|
|
37
37
|
* },
|
|
38
38
|
* },
|
|
39
39
|
* },
|
|
40
40
|
* FunctionDefinitionId: "STRING_VALUE", // required
|
|
41
|
-
* Functions: [
|
|
42
|
-
* {
|
|
41
|
+
* Functions: [ // __listOfFunction
|
|
42
|
+
* { // Function
|
|
43
43
|
* FunctionArn: "STRING_VALUE",
|
|
44
|
-
* FunctionConfiguration: {
|
|
44
|
+
* FunctionConfiguration: { // FunctionConfiguration
|
|
45
45
|
* EncodingType: "binary" || "json",
|
|
46
|
-
* Environment: {
|
|
46
|
+
* Environment: { // FunctionConfigurationEnvironment
|
|
47
47
|
* AccessSysfs: true || false,
|
|
48
|
-
* Execution: {
|
|
48
|
+
* Execution: { // FunctionExecutionConfig
|
|
49
49
|
* IsolationMode: "GreengrassContainer" || "NoContainer",
|
|
50
50
|
* RunAs: {
|
|
51
51
|
* Gid: Number("int"),
|
|
52
52
|
* Uid: Number("int"),
|
|
53
53
|
* },
|
|
54
54
|
* },
|
|
55
|
-
* ResourceAccessPolicies: [
|
|
56
|
-
* {
|
|
55
|
+
* ResourceAccessPolicies: [ // __listOfResourceAccessPolicy
|
|
56
|
+
* { // ResourceAccessPolicy
|
|
57
57
|
* Permission: "ro" || "rw",
|
|
58
58
|
* ResourceId: "STRING_VALUE", // required
|
|
59
59
|
* },
|
|
60
60
|
* ],
|
|
61
|
-
* Variables: {
|
|
61
|
+
* Variables: { // __mapOf__string
|
|
62
62
|
* "<keys>": "STRING_VALUE",
|
|
63
63
|
* },
|
|
64
64
|
* },
|