@aws-sdk/client-greengrassv2 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 +101 -121
- package/dist-es/models/models_0.js +101 -121
- package/dist-types/commands/AssociateServiceRoleToAccountCommand.d.ts +1 -1
- package/dist-types/commands/BatchAssociateClientDeviceWithCoreDeviceCommand.d.ts +3 -3
- package/dist-types/commands/BatchDisassociateClientDeviceFromCoreDeviceCommand.d.ts +3 -3
- package/dist-types/commands/CancelDeploymentCommand.d.ts +1 -1
- package/dist-types/commands/CreateComponentVersionCommand.d.ts +19 -19
- package/dist-types/commands/CreateDeploymentCommand.d.ts +19 -19
- package/dist-types/commands/DeleteComponentCommand.d.ts +1 -1
- package/dist-types/commands/DeleteCoreDeviceCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDeploymentCommand.d.ts +1 -1
- package/dist-types/commands/DescribeComponentCommand.d.ts +1 -1
- package/dist-types/commands/GetComponentCommand.d.ts +1 -1
- package/dist-types/commands/GetComponentVersionArtifactCommand.d.ts +1 -1
- package/dist-types/commands/GetConnectivityInfoCommand.d.ts +1 -1
- package/dist-types/commands/GetCoreDeviceCommand.d.ts +1 -1
- package/dist-types/commands/GetDeploymentCommand.d.ts +1 -1
- package/dist-types/commands/ListClientDevicesAssociatedWithCoreDeviceCommand.d.ts +1 -1
- package/dist-types/commands/ListComponentVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListComponentsCommand.d.ts +1 -1
- package/dist-types/commands/ListCoreDevicesCommand.d.ts +1 -1
- package/dist-types/commands/ListDeploymentsCommand.d.ts +1 -1
- package/dist-types/commands/ListEffectiveDeploymentsCommand.d.ts +1 -1
- package/dist-types/commands/ListInstalledComponentsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ResolveComponentCandidatesCommand.d.ts +6 -6
- 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/models/models_0.d.ts +201 -101
- package/dist-types/ts3.4/models/models_0.d.ts +141 -101
- package/package.json +34 -34
|
@@ -29,13 +29,12 @@ class InternalServerException extends GreengrassV2ServiceException_1.GreengrassV
|
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
exports.InternalServerException = InternalServerException;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
})(ValidationExceptionReason = exports.ValidationExceptionReason || (exports.ValidationExceptionReason = {}));
|
|
32
|
+
exports.ValidationExceptionReason = {
|
|
33
|
+
CANNOT_PARSE: "CANNOT_PARSE",
|
|
34
|
+
FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
|
|
35
|
+
OTHER: "OTHER",
|
|
36
|
+
UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
|
|
37
|
+
};
|
|
39
38
|
class ValidationException extends GreengrassV2ServiceException_1.GreengrassV2ServiceException {
|
|
40
39
|
constructor(opts) {
|
|
41
40
|
super({
|
|
@@ -97,55 +96,46 @@ class ConflictException extends GreengrassV2ServiceException_1.GreengrassV2Servi
|
|
|
97
96
|
}
|
|
98
97
|
}
|
|
99
98
|
exports.ConflictException = ConflictException;
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
(function (LambdaFilesystemPermission) {
|
|
141
|
-
LambdaFilesystemPermission["RO"] = "ro";
|
|
142
|
-
LambdaFilesystemPermission["RW"] = "rw";
|
|
143
|
-
})(LambdaFilesystemPermission = exports.LambdaFilesystemPermission || (exports.LambdaFilesystemPermission = {}));
|
|
144
|
-
var LambdaIsolationMode;
|
|
145
|
-
(function (LambdaIsolationMode) {
|
|
146
|
-
LambdaIsolationMode["GREENGRASS_CONTAINER"] = "GreengrassContainer";
|
|
147
|
-
LambdaIsolationMode["NO_CONTAINER"] = "NoContainer";
|
|
148
|
-
})(LambdaIsolationMode = exports.LambdaIsolationMode || (exports.LambdaIsolationMode = {}));
|
|
99
|
+
exports.CloudComponentState = {
|
|
100
|
+
DEPLOYABLE: "DEPLOYABLE",
|
|
101
|
+
DEPRECATED: "DEPRECATED",
|
|
102
|
+
FAILED: "FAILED",
|
|
103
|
+
INITIATED: "INITIATED",
|
|
104
|
+
REQUESTED: "REQUESTED",
|
|
105
|
+
};
|
|
106
|
+
exports.VendorGuidance = {
|
|
107
|
+
ACTIVE: "ACTIVE",
|
|
108
|
+
DELETED: "DELETED",
|
|
109
|
+
DISCONTINUED: "DISCONTINUED",
|
|
110
|
+
};
|
|
111
|
+
exports.ComponentDependencyType = {
|
|
112
|
+
HARD: "HARD",
|
|
113
|
+
SOFT: "SOFT",
|
|
114
|
+
};
|
|
115
|
+
exports.ComponentVisibilityScope = {
|
|
116
|
+
PRIVATE: "PRIVATE",
|
|
117
|
+
PUBLIC: "PUBLIC",
|
|
118
|
+
};
|
|
119
|
+
exports.CoreDeviceStatus = {
|
|
120
|
+
HEALTHY: "HEALTHY",
|
|
121
|
+
UNHEALTHY: "UNHEALTHY",
|
|
122
|
+
};
|
|
123
|
+
exports.LambdaEventSourceType = {
|
|
124
|
+
IOT_CORE: "IOT_CORE",
|
|
125
|
+
PUB_SUB: "PUB_SUB",
|
|
126
|
+
};
|
|
127
|
+
exports.LambdaInputPayloadEncodingType = {
|
|
128
|
+
BINARY: "binary",
|
|
129
|
+
JSON: "json",
|
|
130
|
+
};
|
|
131
|
+
exports.LambdaFilesystemPermission = {
|
|
132
|
+
RO: "ro",
|
|
133
|
+
RW: "rw",
|
|
134
|
+
};
|
|
135
|
+
exports.LambdaIsolationMode = {
|
|
136
|
+
GREENGRASS_CONTAINER: "GreengrassContainer",
|
|
137
|
+
NO_CONTAINER: "NoContainer",
|
|
138
|
+
};
|
|
149
139
|
class RequestAlreadyInProgressException extends GreengrassV2ServiceException_1.GreengrassV2ServiceException {
|
|
150
140
|
constructor(opts) {
|
|
151
141
|
super({
|
|
@@ -176,68 +166,58 @@ class ServiceQuotaExceededException extends GreengrassV2ServiceException_1.Green
|
|
|
176
166
|
}
|
|
177
167
|
}
|
|
178
168
|
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
(function (InstalledComponentLifecycleState) {
|
|
235
|
-
InstalledComponentLifecycleState["BROKEN"] = "BROKEN";
|
|
236
|
-
InstalledComponentLifecycleState["ERRORED"] = "ERRORED";
|
|
237
|
-
InstalledComponentLifecycleState["FINISHED"] = "FINISHED";
|
|
238
|
-
InstalledComponentLifecycleState["INSTALLED"] = "INSTALLED";
|
|
239
|
-
InstalledComponentLifecycleState["NEW"] = "NEW";
|
|
240
|
-
InstalledComponentLifecycleState["RUNNING"] = "RUNNING";
|
|
241
|
-
InstalledComponentLifecycleState["STARTING"] = "STARTING";
|
|
242
|
-
InstalledComponentLifecycleState["STOPPING"] = "STOPPING";
|
|
243
|
-
})(InstalledComponentLifecycleState = exports.InstalledComponentLifecycleState || (exports.InstalledComponentLifecycleState = {}));
|
|
169
|
+
exports.DeploymentComponentUpdatePolicyAction = {
|
|
170
|
+
NOTIFY_COMPONENTS: "NOTIFY_COMPONENTS",
|
|
171
|
+
SKIP_NOTIFY_COMPONENTS: "SKIP_NOTIFY_COMPONENTS",
|
|
172
|
+
};
|
|
173
|
+
exports.DeploymentFailureHandlingPolicy = {
|
|
174
|
+
DO_NOTHING: "DO_NOTHING",
|
|
175
|
+
ROLLBACK: "ROLLBACK",
|
|
176
|
+
};
|
|
177
|
+
exports.IoTJobAbortAction = {
|
|
178
|
+
CANCEL: "CANCEL",
|
|
179
|
+
};
|
|
180
|
+
exports.IoTJobExecutionFailureType = {
|
|
181
|
+
ALL: "ALL",
|
|
182
|
+
FAILED: "FAILED",
|
|
183
|
+
REJECTED: "REJECTED",
|
|
184
|
+
TIMED_OUT: "TIMED_OUT",
|
|
185
|
+
};
|
|
186
|
+
exports.DeploymentStatus = {
|
|
187
|
+
ACTIVE: "ACTIVE",
|
|
188
|
+
CANCELED: "CANCELED",
|
|
189
|
+
COMPLETED: "COMPLETED",
|
|
190
|
+
FAILED: "FAILED",
|
|
191
|
+
INACTIVE: "INACTIVE",
|
|
192
|
+
};
|
|
193
|
+
exports.DeploymentHistoryFilter = {
|
|
194
|
+
ALL: "ALL",
|
|
195
|
+
LATEST_ONLY: "LATEST_ONLY",
|
|
196
|
+
};
|
|
197
|
+
exports.EffectiveDeploymentExecutionStatus = {
|
|
198
|
+
CANCELED: "CANCELED",
|
|
199
|
+
COMPLETED: "COMPLETED",
|
|
200
|
+
FAILED: "FAILED",
|
|
201
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
202
|
+
QUEUED: "QUEUED",
|
|
203
|
+
REJECTED: "REJECTED",
|
|
204
|
+
TIMED_OUT: "TIMED_OUT",
|
|
205
|
+
};
|
|
206
|
+
exports.RecipeOutputFormat = {
|
|
207
|
+
JSON: "JSON",
|
|
208
|
+
YAML: "YAML",
|
|
209
|
+
};
|
|
210
|
+
exports.InstalledComponentTopologyFilter = {
|
|
211
|
+
ALL: "ALL",
|
|
212
|
+
ROOT: "ROOT",
|
|
213
|
+
};
|
|
214
|
+
exports.InstalledComponentLifecycleState = {
|
|
215
|
+
BROKEN: "BROKEN",
|
|
216
|
+
ERRORED: "ERRORED",
|
|
217
|
+
FINISHED: "FINISHED",
|
|
218
|
+
INSTALLED: "INSTALLED",
|
|
219
|
+
NEW: "NEW",
|
|
220
|
+
RUNNING: "RUNNING",
|
|
221
|
+
STARTING: "STARTING",
|
|
222
|
+
STOPPING: "STOPPING",
|
|
223
|
+
};
|
|
@@ -24,13 +24,12 @@ export class InternalServerException extends __BaseException {
|
|
|
24
24
|
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
export
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
})(ValidationExceptionReason || (ValidationExceptionReason = {}));
|
|
27
|
+
export const ValidationExceptionReason = {
|
|
28
|
+
CANNOT_PARSE: "CANNOT_PARSE",
|
|
29
|
+
FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
|
|
30
|
+
OTHER: "OTHER",
|
|
31
|
+
UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
|
|
32
|
+
};
|
|
34
33
|
export class ValidationException extends __BaseException {
|
|
35
34
|
constructor(opts) {
|
|
36
35
|
super({
|
|
@@ -88,55 +87,46 @@ export class ConflictException extends __BaseException {
|
|
|
88
87
|
this.resourceType = opts.resourceType;
|
|
89
88
|
}
|
|
90
89
|
}
|
|
91
|
-
export
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
}
|
|
115
|
-
export
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
(function (LambdaFilesystemPermission) {
|
|
132
|
-
LambdaFilesystemPermission["RO"] = "ro";
|
|
133
|
-
LambdaFilesystemPermission["RW"] = "rw";
|
|
134
|
-
})(LambdaFilesystemPermission || (LambdaFilesystemPermission = {}));
|
|
135
|
-
export var LambdaIsolationMode;
|
|
136
|
-
(function (LambdaIsolationMode) {
|
|
137
|
-
LambdaIsolationMode["GREENGRASS_CONTAINER"] = "GreengrassContainer";
|
|
138
|
-
LambdaIsolationMode["NO_CONTAINER"] = "NoContainer";
|
|
139
|
-
})(LambdaIsolationMode || (LambdaIsolationMode = {}));
|
|
90
|
+
export const CloudComponentState = {
|
|
91
|
+
DEPLOYABLE: "DEPLOYABLE",
|
|
92
|
+
DEPRECATED: "DEPRECATED",
|
|
93
|
+
FAILED: "FAILED",
|
|
94
|
+
INITIATED: "INITIATED",
|
|
95
|
+
REQUESTED: "REQUESTED",
|
|
96
|
+
};
|
|
97
|
+
export const VendorGuidance = {
|
|
98
|
+
ACTIVE: "ACTIVE",
|
|
99
|
+
DELETED: "DELETED",
|
|
100
|
+
DISCONTINUED: "DISCONTINUED",
|
|
101
|
+
};
|
|
102
|
+
export const ComponentDependencyType = {
|
|
103
|
+
HARD: "HARD",
|
|
104
|
+
SOFT: "SOFT",
|
|
105
|
+
};
|
|
106
|
+
export const ComponentVisibilityScope = {
|
|
107
|
+
PRIVATE: "PRIVATE",
|
|
108
|
+
PUBLIC: "PUBLIC",
|
|
109
|
+
};
|
|
110
|
+
export const CoreDeviceStatus = {
|
|
111
|
+
HEALTHY: "HEALTHY",
|
|
112
|
+
UNHEALTHY: "UNHEALTHY",
|
|
113
|
+
};
|
|
114
|
+
export const LambdaEventSourceType = {
|
|
115
|
+
IOT_CORE: "IOT_CORE",
|
|
116
|
+
PUB_SUB: "PUB_SUB",
|
|
117
|
+
};
|
|
118
|
+
export const LambdaInputPayloadEncodingType = {
|
|
119
|
+
BINARY: "binary",
|
|
120
|
+
JSON: "json",
|
|
121
|
+
};
|
|
122
|
+
export const LambdaFilesystemPermission = {
|
|
123
|
+
RO: "ro",
|
|
124
|
+
RW: "rw",
|
|
125
|
+
};
|
|
126
|
+
export const LambdaIsolationMode = {
|
|
127
|
+
GREENGRASS_CONTAINER: "GreengrassContainer",
|
|
128
|
+
NO_CONTAINER: "NoContainer",
|
|
129
|
+
};
|
|
140
130
|
export class RequestAlreadyInProgressException extends __BaseException {
|
|
141
131
|
constructor(opts) {
|
|
142
132
|
super({
|
|
@@ -165,68 +155,58 @@ export class ServiceQuotaExceededException extends __BaseException {
|
|
|
165
155
|
this.serviceCode = opts.serviceCode;
|
|
166
156
|
}
|
|
167
157
|
}
|
|
168
|
-
export
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
(function (InstalledComponentLifecycleState) {
|
|
224
|
-
InstalledComponentLifecycleState["BROKEN"] = "BROKEN";
|
|
225
|
-
InstalledComponentLifecycleState["ERRORED"] = "ERRORED";
|
|
226
|
-
InstalledComponentLifecycleState["FINISHED"] = "FINISHED";
|
|
227
|
-
InstalledComponentLifecycleState["INSTALLED"] = "INSTALLED";
|
|
228
|
-
InstalledComponentLifecycleState["NEW"] = "NEW";
|
|
229
|
-
InstalledComponentLifecycleState["RUNNING"] = "RUNNING";
|
|
230
|
-
InstalledComponentLifecycleState["STARTING"] = "STARTING";
|
|
231
|
-
InstalledComponentLifecycleState["STOPPING"] = "STOPPING";
|
|
232
|
-
})(InstalledComponentLifecycleState || (InstalledComponentLifecycleState = {}));
|
|
158
|
+
export const DeploymentComponentUpdatePolicyAction = {
|
|
159
|
+
NOTIFY_COMPONENTS: "NOTIFY_COMPONENTS",
|
|
160
|
+
SKIP_NOTIFY_COMPONENTS: "SKIP_NOTIFY_COMPONENTS",
|
|
161
|
+
};
|
|
162
|
+
export const DeploymentFailureHandlingPolicy = {
|
|
163
|
+
DO_NOTHING: "DO_NOTHING",
|
|
164
|
+
ROLLBACK: "ROLLBACK",
|
|
165
|
+
};
|
|
166
|
+
export const IoTJobAbortAction = {
|
|
167
|
+
CANCEL: "CANCEL",
|
|
168
|
+
};
|
|
169
|
+
export const IoTJobExecutionFailureType = {
|
|
170
|
+
ALL: "ALL",
|
|
171
|
+
FAILED: "FAILED",
|
|
172
|
+
REJECTED: "REJECTED",
|
|
173
|
+
TIMED_OUT: "TIMED_OUT",
|
|
174
|
+
};
|
|
175
|
+
export const DeploymentStatus = {
|
|
176
|
+
ACTIVE: "ACTIVE",
|
|
177
|
+
CANCELED: "CANCELED",
|
|
178
|
+
COMPLETED: "COMPLETED",
|
|
179
|
+
FAILED: "FAILED",
|
|
180
|
+
INACTIVE: "INACTIVE",
|
|
181
|
+
};
|
|
182
|
+
export const DeploymentHistoryFilter = {
|
|
183
|
+
ALL: "ALL",
|
|
184
|
+
LATEST_ONLY: "LATEST_ONLY",
|
|
185
|
+
};
|
|
186
|
+
export const EffectiveDeploymentExecutionStatus = {
|
|
187
|
+
CANCELED: "CANCELED",
|
|
188
|
+
COMPLETED: "COMPLETED",
|
|
189
|
+
FAILED: "FAILED",
|
|
190
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
191
|
+
QUEUED: "QUEUED",
|
|
192
|
+
REJECTED: "REJECTED",
|
|
193
|
+
TIMED_OUT: "TIMED_OUT",
|
|
194
|
+
};
|
|
195
|
+
export const RecipeOutputFormat = {
|
|
196
|
+
JSON: "JSON",
|
|
197
|
+
YAML: "YAML",
|
|
198
|
+
};
|
|
199
|
+
export const InstalledComponentTopologyFilter = {
|
|
200
|
+
ALL: "ALL",
|
|
201
|
+
ROOT: "ROOT",
|
|
202
|
+
};
|
|
203
|
+
export const InstalledComponentLifecycleState = {
|
|
204
|
+
BROKEN: "BROKEN",
|
|
205
|
+
ERRORED: "ERRORED",
|
|
206
|
+
FINISHED: "FINISHED",
|
|
207
|
+
INSTALLED: "INSTALLED",
|
|
208
|
+
NEW: "NEW",
|
|
209
|
+
RUNNING: "RUNNING",
|
|
210
|
+
STARTING: "STARTING",
|
|
211
|
+
STOPPING: "STOPPING",
|
|
212
|
+
};
|
|
@@ -30,7 +30,7 @@ export interface AssociateServiceRoleToAccountCommandOutput extends AssociateSer
|
|
|
30
30
|
* import { GreengrassV2Client, AssociateServiceRoleToAccountCommand } from "@aws-sdk/client-greengrassv2"; // ES Modules import
|
|
31
31
|
* // const { GreengrassV2Client, AssociateServiceRoleToAccountCommand } = require("@aws-sdk/client-greengrassv2"); // CommonJS import
|
|
32
32
|
* const client = new GreengrassV2Client(config);
|
|
33
|
-
* const input = {
|
|
33
|
+
* const input = { // AssociateServiceRoleToAccountRequest
|
|
34
34
|
* roleArn: "STRING_VALUE", // required
|
|
35
35
|
* };
|
|
36
36
|
* const command = new AssociateServiceRoleToAccountCommand(input);
|
|
@@ -37,9 +37,9 @@ export interface BatchAssociateClientDeviceWithCoreDeviceCommandOutput extends B
|
|
|
37
37
|
* import { GreengrassV2Client, BatchAssociateClientDeviceWithCoreDeviceCommand } from "@aws-sdk/client-greengrassv2"; // ES Modules import
|
|
38
38
|
* // const { GreengrassV2Client, BatchAssociateClientDeviceWithCoreDeviceCommand } = require("@aws-sdk/client-greengrassv2"); // CommonJS import
|
|
39
39
|
* const client = new GreengrassV2Client(config);
|
|
40
|
-
* const input = {
|
|
41
|
-
* entries: [
|
|
42
|
-
* {
|
|
40
|
+
* const input = { // BatchAssociateClientDeviceWithCoreDeviceRequest
|
|
41
|
+
* entries: [ // AssociateClientDeviceWithCoreDeviceEntryList
|
|
42
|
+
* { // AssociateClientDeviceWithCoreDeviceEntry
|
|
43
43
|
* thingName: "STRING_VALUE", // required
|
|
44
44
|
* },
|
|
45
45
|
* ],
|
|
@@ -28,9 +28,9 @@ export interface BatchDisassociateClientDeviceFromCoreDeviceCommandOutput extend
|
|
|
28
28
|
* import { GreengrassV2Client, BatchDisassociateClientDeviceFromCoreDeviceCommand } from "@aws-sdk/client-greengrassv2"; // ES Modules import
|
|
29
29
|
* // const { GreengrassV2Client, BatchDisassociateClientDeviceFromCoreDeviceCommand } = require("@aws-sdk/client-greengrassv2"); // CommonJS import
|
|
30
30
|
* const client = new GreengrassV2Client(config);
|
|
31
|
-
* const input = {
|
|
32
|
-
* entries: [
|
|
33
|
-
* {
|
|
31
|
+
* const input = { // BatchDisassociateClientDeviceFromCoreDeviceRequest
|
|
32
|
+
* entries: [ // DisassociateClientDeviceFromCoreDeviceEntryList
|
|
33
|
+
* { // DisassociateClientDeviceFromCoreDeviceEntry
|
|
34
34
|
* thingName: "STRING_VALUE", // required
|
|
35
35
|
* },
|
|
36
36
|
* ],
|
|
@@ -28,7 +28,7 @@ export interface CancelDeploymentCommandOutput extends CancelDeploymentResponse,
|
|
|
28
28
|
* import { GreengrassV2Client, CancelDeploymentCommand } from "@aws-sdk/client-greengrassv2"; // ES Modules import
|
|
29
29
|
* // const { GreengrassV2Client, CancelDeploymentCommand } = require("@aws-sdk/client-greengrassv2"); // CommonJS import
|
|
30
30
|
* const client = new GreengrassV2Client(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // CancelDeploymentRequest
|
|
32
32
|
* deploymentId: "STRING_VALUE", // required
|
|
33
33
|
* };
|
|
34
34
|
* const command = new CancelDeploymentCommand(input);
|
|
@@ -94,29 +94,29 @@ export interface CreateComponentVersionCommandOutput extends CreateComponentVers
|
|
|
94
94
|
* import { GreengrassV2Client, CreateComponentVersionCommand } from "@aws-sdk/client-greengrassv2"; // ES Modules import
|
|
95
95
|
* // const { GreengrassV2Client, CreateComponentVersionCommand } = require("@aws-sdk/client-greengrassv2"); // CommonJS import
|
|
96
96
|
* const client = new GreengrassV2Client(config);
|
|
97
|
-
* const input = {
|
|
97
|
+
* const input = { // CreateComponentVersionRequest
|
|
98
98
|
* inlineRecipe: "BLOB_VALUE",
|
|
99
|
-
* lambdaFunction: {
|
|
99
|
+
* lambdaFunction: { // LambdaFunctionRecipeSource
|
|
100
100
|
* lambdaArn: "STRING_VALUE", // required
|
|
101
101
|
* componentName: "STRING_VALUE",
|
|
102
102
|
* componentVersion: "STRING_VALUE",
|
|
103
|
-
* componentPlatforms: [
|
|
104
|
-
* {
|
|
103
|
+
* componentPlatforms: [ // ComponentPlatformList
|
|
104
|
+
* { // ComponentPlatform
|
|
105
105
|
* name: "STRING_VALUE",
|
|
106
|
-
* attributes: {
|
|
106
|
+
* attributes: { // PlatformAttributesMap
|
|
107
107
|
* "<keys>": "STRING_VALUE",
|
|
108
108
|
* },
|
|
109
109
|
* },
|
|
110
110
|
* ],
|
|
111
|
-
* componentDependencies: {
|
|
112
|
-
* "<keys>": {
|
|
111
|
+
* componentDependencies: { // ComponentDependencyMap
|
|
112
|
+
* "<keys>": { // ComponentDependencyRequirement
|
|
113
113
|
* versionRequirement: "STRING_VALUE",
|
|
114
114
|
* dependencyType: "HARD" || "SOFT",
|
|
115
115
|
* },
|
|
116
116
|
* },
|
|
117
|
-
* componentLambdaParameters: {
|
|
118
|
-
* eventSources: [
|
|
119
|
-
* {
|
|
117
|
+
* componentLambdaParameters: { // LambdaExecutionParameters
|
|
118
|
+
* eventSources: [ // LambdaEventSourceList
|
|
119
|
+
* { // LambdaEventSource
|
|
120
120
|
* topic: "STRING_VALUE", // required
|
|
121
121
|
* type: "PUB_SUB" || "IOT_CORE", // required
|
|
122
122
|
* },
|
|
@@ -128,27 +128,27 @@ export interface CreateComponentVersionCommandOutput extends CreateComponentVers
|
|
|
128
128
|
* statusTimeoutInSeconds: Number("int"),
|
|
129
129
|
* pinned: true || false,
|
|
130
130
|
* inputPayloadEncodingType: "json" || "binary",
|
|
131
|
-
* execArgs: [
|
|
131
|
+
* execArgs: [ // LambdaExecArgsList
|
|
132
132
|
* "STRING_VALUE",
|
|
133
133
|
* ],
|
|
134
|
-
* environmentVariables: {
|
|
134
|
+
* environmentVariables: { // LambdaEnvironmentVariables
|
|
135
135
|
* "<keys>": "STRING_VALUE",
|
|
136
136
|
* },
|
|
137
|
-
* linuxProcessParams: {
|
|
137
|
+
* linuxProcessParams: { // LambdaLinuxProcessParams
|
|
138
138
|
* isolationMode: "GreengrassContainer" || "NoContainer",
|
|
139
|
-
* containerParams: {
|
|
139
|
+
* containerParams: { // LambdaContainerParams
|
|
140
140
|
* memorySizeInKB: Number("int"),
|
|
141
141
|
* mountROSysfs: true || false,
|
|
142
|
-
* volumes: [
|
|
143
|
-
* {
|
|
142
|
+
* volumes: [ // LambdaVolumeList
|
|
143
|
+
* { // LambdaVolumeMount
|
|
144
144
|
* sourcePath: "STRING_VALUE", // required
|
|
145
145
|
* destinationPath: "STRING_VALUE", // required
|
|
146
146
|
* permission: "ro" || "rw",
|
|
147
147
|
* addGroupOwner: true || false,
|
|
148
148
|
* },
|
|
149
149
|
* ],
|
|
150
|
-
* devices: [
|
|
151
|
-
* {
|
|
150
|
+
* devices: [ // LambdaDeviceList
|
|
151
|
+
* { // LambdaDeviceMount
|
|
152
152
|
* path: "STRING_VALUE", // required
|
|
153
153
|
* permission: "ro" || "rw",
|
|
154
154
|
* addGroupOwner: true || false,
|
|
@@ -158,7 +158,7 @@ export interface CreateComponentVersionCommandOutput extends CreateComponentVers
|
|
|
158
158
|
* },
|
|
159
159
|
* },
|
|
160
160
|
* },
|
|
161
|
-
* tags: {
|
|
161
|
+
* tags: { // TagMap
|
|
162
162
|
* "<keys>": "STRING_VALUE",
|
|
163
163
|
* },
|
|
164
164
|
* clientToken: "STRING_VALUE",
|