@aws-sdk/client-greengrassv2 3.490.0 → 3.495.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.
Files changed (50) hide show
  1. package/dist-cjs/GreengrassV2.js +1 -69
  2. package/dist-cjs/GreengrassV2Client.js +1 -43
  3. package/dist-cjs/commands/AssociateServiceRoleToAccountCommand.js +1 -28
  4. package/dist-cjs/commands/BatchAssociateClientDeviceWithCoreDeviceCommand.js +1 -28
  5. package/dist-cjs/commands/BatchDisassociateClientDeviceFromCoreDeviceCommand.js +1 -28
  6. package/dist-cjs/commands/CancelDeploymentCommand.js +1 -28
  7. package/dist-cjs/commands/CreateComponentVersionCommand.js +1 -28
  8. package/dist-cjs/commands/CreateDeploymentCommand.js +1 -28
  9. package/dist-cjs/commands/DeleteComponentCommand.js +1 -28
  10. package/dist-cjs/commands/DeleteCoreDeviceCommand.js +1 -28
  11. package/dist-cjs/commands/DeleteDeploymentCommand.js +1 -28
  12. package/dist-cjs/commands/DescribeComponentCommand.js +1 -28
  13. package/dist-cjs/commands/DisassociateServiceRoleFromAccountCommand.js +1 -28
  14. package/dist-cjs/commands/GetComponentCommand.js +1 -28
  15. package/dist-cjs/commands/GetComponentVersionArtifactCommand.js +1 -28
  16. package/dist-cjs/commands/GetConnectivityInfoCommand.js +1 -28
  17. package/dist-cjs/commands/GetCoreDeviceCommand.js +1 -28
  18. package/dist-cjs/commands/GetDeploymentCommand.js +1 -28
  19. package/dist-cjs/commands/GetServiceRoleForAccountCommand.js +1 -28
  20. package/dist-cjs/commands/ListClientDevicesAssociatedWithCoreDeviceCommand.js +1 -28
  21. package/dist-cjs/commands/ListComponentVersionsCommand.js +1 -28
  22. package/dist-cjs/commands/ListComponentsCommand.js +1 -28
  23. package/dist-cjs/commands/ListCoreDevicesCommand.js +1 -28
  24. package/dist-cjs/commands/ListDeploymentsCommand.js +1 -28
  25. package/dist-cjs/commands/ListEffectiveDeploymentsCommand.js +1 -28
  26. package/dist-cjs/commands/ListInstalledComponentsCommand.js +1 -28
  27. package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
  28. package/dist-cjs/commands/ResolveComponentCandidatesCommand.js +1 -28
  29. package/dist-cjs/commands/TagResourceCommand.js +1 -28
  30. package/dist-cjs/commands/UntagResourceCommand.js +1 -28
  31. package/dist-cjs/commands/UpdateConnectivityInfoCommand.js +1 -28
  32. package/dist-cjs/commands/index.js +1 -32
  33. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  34. package/dist-cjs/extensionConfiguration.js +1 -2
  35. package/dist-cjs/index.js +3210 -11
  36. package/dist-cjs/models/GreengrassV2ServiceException.js +1 -12
  37. package/dist-cjs/models/index.js +1 -4
  38. package/dist-cjs/models/models_0.js +1 -224
  39. package/dist-cjs/pagination/Interfaces.js +1 -2
  40. package/dist-cjs/pagination/ListClientDevicesAssociatedWithCoreDevicePaginator.js +1 -7
  41. package/dist-cjs/pagination/ListComponentVersionsPaginator.js +1 -7
  42. package/dist-cjs/pagination/ListComponentsPaginator.js +1 -7
  43. package/dist-cjs/pagination/ListCoreDevicesPaginator.js +1 -7
  44. package/dist-cjs/pagination/ListDeploymentsPaginator.js +1 -7
  45. package/dist-cjs/pagination/ListEffectiveDeploymentsPaginator.js +1 -7
  46. package/dist-cjs/pagination/ListInstalledComponentsPaginator.js +1 -7
  47. package/dist-cjs/pagination/index.js +1 -11
  48. package/dist-cjs/protocols/Aws_restJson1.js +1 -2195
  49. package/dist-cjs/runtimeExtensions.js +1 -22
  50. package/package.json +40 -40
@@ -1,12 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GreengrassV2ServiceException = exports.__ServiceException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
- class GreengrassV2ServiceException extends smithy_client_1.ServiceException {
7
- constructor(options) {
8
- super(options);
9
- Object.setPrototypeOf(this, GreengrassV2ServiceException.prototype);
10
- }
11
- }
12
- exports.GreengrassV2ServiceException = GreengrassV2ServiceException;
1
+ module.exports = require("../index.js");
@@ -1,4 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./models_0"), exports);
1
+ module.exports = require("../index.js");
@@ -1,224 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.InstalledComponentLifecycleState = exports.InstalledComponentTopologyFilter = exports.RecipeOutputFormat = exports.EffectiveDeploymentExecutionStatus = exports.DeploymentHistoryFilter = exports.DeploymentStatus = exports.IoTJobExecutionFailureType = exports.IoTJobAbortAction = exports.DeploymentFailureHandlingPolicy = exports.DeploymentComponentUpdatePolicyAction = exports.ServiceQuotaExceededException = exports.RequestAlreadyInProgressException = exports.LambdaIsolationMode = exports.LambdaFilesystemPermission = exports.LambdaInputPayloadEncodingType = exports.LambdaEventSourceType = exports.CoreDeviceStatus = exports.ComponentVisibilityScope = exports.ComponentDependencyType = exports.VendorGuidance = exports.CloudComponentState = exports.ConflictException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.ValidationException = exports.ValidationExceptionReason = exports.InternalServerException = exports.AccessDeniedException = void 0;
4
- const GreengrassV2ServiceException_1 = require("./GreengrassV2ServiceException");
5
- class AccessDeniedException extends GreengrassV2ServiceException_1.GreengrassV2ServiceException {
6
- constructor(opts) {
7
- super({
8
- name: "AccessDeniedException",
9
- $fault: "client",
10
- ...opts,
11
- });
12
- this.name = "AccessDeniedException";
13
- this.$fault = "client";
14
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
15
- }
16
- }
17
- exports.AccessDeniedException = AccessDeniedException;
18
- class InternalServerException extends GreengrassV2ServiceException_1.GreengrassV2ServiceException {
19
- constructor(opts) {
20
- super({
21
- name: "InternalServerException",
22
- $fault: "server",
23
- ...opts,
24
- });
25
- this.name = "InternalServerException";
26
- this.$fault = "server";
27
- Object.setPrototypeOf(this, InternalServerException.prototype);
28
- this.retryAfterSeconds = opts.retryAfterSeconds;
29
- }
30
- }
31
- exports.InternalServerException = InternalServerException;
32
- exports.ValidationExceptionReason = {
33
- CANNOT_PARSE: "CANNOT_PARSE",
34
- FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
35
- OTHER: "OTHER",
36
- UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
37
- };
38
- class ValidationException extends GreengrassV2ServiceException_1.GreengrassV2ServiceException {
39
- constructor(opts) {
40
- super({
41
- name: "ValidationException",
42
- $fault: "client",
43
- ...opts,
44
- });
45
- this.name = "ValidationException";
46
- this.$fault = "client";
47
- Object.setPrototypeOf(this, ValidationException.prototype);
48
- this.reason = opts.reason;
49
- this.fields = opts.fields;
50
- }
51
- }
52
- exports.ValidationException = ValidationException;
53
- class ResourceNotFoundException extends GreengrassV2ServiceException_1.GreengrassV2ServiceException {
54
- constructor(opts) {
55
- super({
56
- name: "ResourceNotFoundException",
57
- $fault: "client",
58
- ...opts,
59
- });
60
- this.name = "ResourceNotFoundException";
61
- this.$fault = "client";
62
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
63
- this.resourceId = opts.resourceId;
64
- this.resourceType = opts.resourceType;
65
- }
66
- }
67
- exports.ResourceNotFoundException = ResourceNotFoundException;
68
- class ThrottlingException extends GreengrassV2ServiceException_1.GreengrassV2ServiceException {
69
- constructor(opts) {
70
- super({
71
- name: "ThrottlingException",
72
- $fault: "client",
73
- ...opts,
74
- });
75
- this.name = "ThrottlingException";
76
- this.$fault = "client";
77
- Object.setPrototypeOf(this, ThrottlingException.prototype);
78
- this.quotaCode = opts.quotaCode;
79
- this.serviceCode = opts.serviceCode;
80
- this.retryAfterSeconds = opts.retryAfterSeconds;
81
- }
82
- }
83
- exports.ThrottlingException = ThrottlingException;
84
- class ConflictException extends GreengrassV2ServiceException_1.GreengrassV2ServiceException {
85
- constructor(opts) {
86
- super({
87
- name: "ConflictException",
88
- $fault: "client",
89
- ...opts,
90
- });
91
- this.name = "ConflictException";
92
- this.$fault = "client";
93
- Object.setPrototypeOf(this, ConflictException.prototype);
94
- this.resourceId = opts.resourceId;
95
- this.resourceType = opts.resourceType;
96
- }
97
- }
98
- exports.ConflictException = ConflictException;
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
- };
139
- class RequestAlreadyInProgressException extends GreengrassV2ServiceException_1.GreengrassV2ServiceException {
140
- constructor(opts) {
141
- super({
142
- name: "RequestAlreadyInProgressException",
143
- $fault: "client",
144
- ...opts,
145
- });
146
- this.name = "RequestAlreadyInProgressException";
147
- this.$fault = "client";
148
- Object.setPrototypeOf(this, RequestAlreadyInProgressException.prototype);
149
- }
150
- }
151
- exports.RequestAlreadyInProgressException = RequestAlreadyInProgressException;
152
- class ServiceQuotaExceededException extends GreengrassV2ServiceException_1.GreengrassV2ServiceException {
153
- constructor(opts) {
154
- super({
155
- name: "ServiceQuotaExceededException",
156
- $fault: "client",
157
- ...opts,
158
- });
159
- this.name = "ServiceQuotaExceededException";
160
- this.$fault = "client";
161
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
162
- this.resourceId = opts.resourceId;
163
- this.resourceType = opts.resourceType;
164
- this.quotaCode = opts.quotaCode;
165
- this.serviceCode = opts.serviceCode;
166
- }
167
- }
168
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
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
- SUCCEEDED: "SUCCEEDED",
205
- TIMED_OUT: "TIMED_OUT",
206
- };
207
- exports.RecipeOutputFormat = {
208
- JSON: "JSON",
209
- YAML: "YAML",
210
- };
211
- exports.InstalledComponentTopologyFilter = {
212
- ALL: "ALL",
213
- ROOT: "ROOT",
214
- };
215
- exports.InstalledComponentLifecycleState = {
216
- BROKEN: "BROKEN",
217
- ERRORED: "ERRORED",
218
- FINISHED: "FINISHED",
219
- INSTALLED: "INSTALLED",
220
- NEW: "NEW",
221
- RUNNING: "RUNNING",
222
- STARTING: "STARTING",
223
- STOPPING: "STOPPING",
224
- };
1
+ module.exports = require("../index.js");
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListClientDevicesAssociatedWithCoreDevice = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListClientDevicesAssociatedWithCoreDeviceCommand_1 = require("../commands/ListClientDevicesAssociatedWithCoreDeviceCommand");
6
- const GreengrassV2Client_1 = require("../GreengrassV2Client");
7
- exports.paginateListClientDevicesAssociatedWithCoreDevice = (0, core_1.createPaginator)(GreengrassV2Client_1.GreengrassV2Client, ListClientDevicesAssociatedWithCoreDeviceCommand_1.ListClientDevicesAssociatedWithCoreDeviceCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListComponentVersions = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListComponentVersionsCommand_1 = require("../commands/ListComponentVersionsCommand");
6
- const GreengrassV2Client_1 = require("../GreengrassV2Client");
7
- exports.paginateListComponentVersions = (0, core_1.createPaginator)(GreengrassV2Client_1.GreengrassV2Client, ListComponentVersionsCommand_1.ListComponentVersionsCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListComponents = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListComponentsCommand_1 = require("../commands/ListComponentsCommand");
6
- const GreengrassV2Client_1 = require("../GreengrassV2Client");
7
- exports.paginateListComponents = (0, core_1.createPaginator)(GreengrassV2Client_1.GreengrassV2Client, ListComponentsCommand_1.ListComponentsCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListCoreDevices = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListCoreDevicesCommand_1 = require("../commands/ListCoreDevicesCommand");
6
- const GreengrassV2Client_1 = require("../GreengrassV2Client");
7
- exports.paginateListCoreDevices = (0, core_1.createPaginator)(GreengrassV2Client_1.GreengrassV2Client, ListCoreDevicesCommand_1.ListCoreDevicesCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListDeployments = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListDeploymentsCommand_1 = require("../commands/ListDeploymentsCommand");
6
- const GreengrassV2Client_1 = require("../GreengrassV2Client");
7
- exports.paginateListDeployments = (0, core_1.createPaginator)(GreengrassV2Client_1.GreengrassV2Client, ListDeploymentsCommand_1.ListDeploymentsCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListEffectiveDeployments = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListEffectiveDeploymentsCommand_1 = require("../commands/ListEffectiveDeploymentsCommand");
6
- const GreengrassV2Client_1 = require("../GreengrassV2Client");
7
- exports.paginateListEffectiveDeployments = (0, core_1.createPaginator)(GreengrassV2Client_1.GreengrassV2Client, ListEffectiveDeploymentsCommand_1.ListEffectiveDeploymentsCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListInstalledComponents = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListInstalledComponentsCommand_1 = require("../commands/ListInstalledComponentsCommand");
6
- const GreengrassV2Client_1 = require("../GreengrassV2Client");
7
- exports.paginateListInstalledComponents = (0, core_1.createPaginator)(GreengrassV2Client_1.GreengrassV2Client, ListInstalledComponentsCommand_1.ListInstalledComponentsCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,11 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./Interfaces"), exports);
5
- tslib_1.__exportStar(require("./ListClientDevicesAssociatedWithCoreDevicePaginator"), exports);
6
- tslib_1.__exportStar(require("./ListComponentVersionsPaginator"), exports);
7
- tslib_1.__exportStar(require("./ListComponentsPaginator"), exports);
8
- tslib_1.__exportStar(require("./ListCoreDevicesPaginator"), exports);
9
- tslib_1.__exportStar(require("./ListDeploymentsPaginator"), exports);
10
- tslib_1.__exportStar(require("./ListEffectiveDeploymentsPaginator"), exports);
11
- tslib_1.__exportStar(require("./ListInstalledComponentsPaginator"), exports);
1
+ module.exports = require("../index.js");