@aws-sdk/client-snow-device-management 3.490.0 → 3.496.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 (31) hide show
  1. package/dist-cjs/SnowDeviceManagement.js +1 -37
  2. package/dist-cjs/SnowDeviceManagementClient.js +1 -43
  3. package/dist-cjs/commands/CancelTaskCommand.js +1 -28
  4. package/dist-cjs/commands/CreateTaskCommand.js +1 -28
  5. package/dist-cjs/commands/DescribeDeviceCommand.js +1 -28
  6. package/dist-cjs/commands/DescribeDeviceEc2InstancesCommand.js +1 -28
  7. package/dist-cjs/commands/DescribeExecutionCommand.js +1 -28
  8. package/dist-cjs/commands/DescribeTaskCommand.js +1 -28
  9. package/dist-cjs/commands/ListDeviceResourcesCommand.js +1 -28
  10. package/dist-cjs/commands/ListDevicesCommand.js +1 -28
  11. package/dist-cjs/commands/ListExecutionsCommand.js +1 -28
  12. package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
  13. package/dist-cjs/commands/ListTasksCommand.js +1 -28
  14. package/dist-cjs/commands/TagResourceCommand.js +1 -28
  15. package/dist-cjs/commands/UntagResourceCommand.js +1 -28
  16. package/dist-cjs/commands/index.js +1 -16
  17. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  18. package/dist-cjs/extensionConfiguration.js +1 -2
  19. package/dist-cjs/index.js +1566 -11
  20. package/dist-cjs/models/SnowDeviceManagementServiceException.js +1 -12
  21. package/dist-cjs/models/index.js +1 -4
  22. package/dist-cjs/models/models_0.js +1 -140
  23. package/dist-cjs/pagination/Interfaces.js +1 -2
  24. package/dist-cjs/pagination/ListDeviceResourcesPaginator.js +1 -7
  25. package/dist-cjs/pagination/ListDevicesPaginator.js +1 -7
  26. package/dist-cjs/pagination/ListExecutionsPaginator.js +1 -7
  27. package/dist-cjs/pagination/ListTasksPaginator.js +1 -7
  28. package/dist-cjs/pagination/index.js +1 -8
  29. package/dist-cjs/protocols/Aws_restJson1.js +1 -969
  30. package/dist-cjs/runtimeExtensions.js +1 -22
  31. package/package.json +40 -40
@@ -1,12 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SnowDeviceManagementServiceException = 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 SnowDeviceManagementServiceException extends smithy_client_1.ServiceException {
7
- constructor(options) {
8
- super(options);
9
- Object.setPrototypeOf(this, SnowDeviceManagementServiceException.prototype);
10
- }
11
- }
12
- exports.SnowDeviceManagementServiceException = SnowDeviceManagementServiceException;
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,140 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TaskState = exports.ExecutionState = exports.InstanceStateName = exports.PhysicalConnectorType = exports.IpAddressAssignment = exports.UnlockState = exports.ServiceQuotaExceededException = exports.Command = exports.ValidationException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.AttachmentStatus = exports.AccessDeniedException = void 0;
4
- const SnowDeviceManagementServiceException_1 = require("./SnowDeviceManagementServiceException");
5
- class AccessDeniedException extends SnowDeviceManagementServiceException_1.SnowDeviceManagementServiceException {
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
- exports.AttachmentStatus = {
19
- ATTACHED: "ATTACHED",
20
- ATTACHING: "ATTACHING",
21
- DETACHED: "DETACHED",
22
- DETACHING: "DETACHING",
23
- };
24
- class InternalServerException extends SnowDeviceManagementServiceException_1.SnowDeviceManagementServiceException {
25
- constructor(opts) {
26
- super({
27
- name: "InternalServerException",
28
- $fault: "server",
29
- ...opts,
30
- });
31
- this.name = "InternalServerException";
32
- this.$fault = "server";
33
- this.$retryable = {};
34
- Object.setPrototypeOf(this, InternalServerException.prototype);
35
- }
36
- }
37
- exports.InternalServerException = InternalServerException;
38
- class ResourceNotFoundException extends SnowDeviceManagementServiceException_1.SnowDeviceManagementServiceException {
39
- constructor(opts) {
40
- super({
41
- name: "ResourceNotFoundException",
42
- $fault: "client",
43
- ...opts,
44
- });
45
- this.name = "ResourceNotFoundException";
46
- this.$fault = "client";
47
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
48
- }
49
- }
50
- exports.ResourceNotFoundException = ResourceNotFoundException;
51
- class ThrottlingException extends SnowDeviceManagementServiceException_1.SnowDeviceManagementServiceException {
52
- constructor(opts) {
53
- super({
54
- name: "ThrottlingException",
55
- $fault: "client",
56
- ...opts,
57
- });
58
- this.name = "ThrottlingException";
59
- this.$fault = "client";
60
- this.$retryable = {
61
- throttling: true,
62
- };
63
- Object.setPrototypeOf(this, ThrottlingException.prototype);
64
- }
65
- }
66
- exports.ThrottlingException = ThrottlingException;
67
- class ValidationException extends SnowDeviceManagementServiceException_1.SnowDeviceManagementServiceException {
68
- constructor(opts) {
69
- super({
70
- name: "ValidationException",
71
- $fault: "client",
72
- ...opts,
73
- });
74
- this.name = "ValidationException";
75
- this.$fault = "client";
76
- Object.setPrototypeOf(this, ValidationException.prototype);
77
- }
78
- }
79
- exports.ValidationException = ValidationException;
80
- var Command;
81
- (function (Command) {
82
- Command.visit = (value, visitor) => {
83
- if (value.unlock !== undefined)
84
- return visitor.unlock(value.unlock);
85
- if (value.reboot !== undefined)
86
- return visitor.reboot(value.reboot);
87
- return visitor._(value.$unknown[0], value.$unknown[1]);
88
- };
89
- })(Command = exports.Command || (exports.Command = {}));
90
- class ServiceQuotaExceededException extends SnowDeviceManagementServiceException_1.SnowDeviceManagementServiceException {
91
- constructor(opts) {
92
- super({
93
- name: "ServiceQuotaExceededException",
94
- $fault: "client",
95
- ...opts,
96
- });
97
- this.name = "ServiceQuotaExceededException";
98
- this.$fault = "client";
99
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
100
- }
101
- }
102
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
103
- exports.UnlockState = {
104
- LOCKED: "LOCKED",
105
- UNLOCKED: "UNLOCKED",
106
- UNLOCKING: "UNLOCKING",
107
- };
108
- exports.IpAddressAssignment = {
109
- DHCP: "DHCP",
110
- STATIC: "STATIC",
111
- };
112
- exports.PhysicalConnectorType = {
113
- QSFP: "QSFP",
114
- RJ45: "RJ45",
115
- RJ45_2: "RJ45_2",
116
- SFP_PLUS: "SFP_PLUS",
117
- WIFI: "WIFI",
118
- };
119
- exports.InstanceStateName = {
120
- PENDING: "PENDING",
121
- RUNNING: "RUNNING",
122
- SHUTTING_DOWN: "SHUTTING_DOWN",
123
- STOPPED: "STOPPED",
124
- STOPPING: "STOPPING",
125
- TERMINATED: "TERMINATED",
126
- };
127
- exports.ExecutionState = {
128
- CANCELED: "CANCELED",
129
- FAILED: "FAILED",
130
- IN_PROGRESS: "IN_PROGRESS",
131
- QUEUED: "QUEUED",
132
- REJECTED: "REJECTED",
133
- SUCCEEDED: "SUCCEEDED",
134
- TIMED_OUT: "TIMED_OUT",
135
- };
136
- exports.TaskState = {
137
- CANCELED: "CANCELED",
138
- COMPLETED: "COMPLETED",
139
- IN_PROGRESS: "IN_PROGRESS",
140
- };
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.paginateListDeviceResources = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListDeviceResourcesCommand_1 = require("../commands/ListDeviceResourcesCommand");
6
- const SnowDeviceManagementClient_1 = require("../SnowDeviceManagementClient");
7
- exports.paginateListDeviceResources = (0, core_1.createPaginator)(SnowDeviceManagementClient_1.SnowDeviceManagementClient, ListDeviceResourcesCommand_1.ListDeviceResourcesCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListDevices = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListDevicesCommand_1 = require("../commands/ListDevicesCommand");
6
- const SnowDeviceManagementClient_1 = require("../SnowDeviceManagementClient");
7
- exports.paginateListDevices = (0, core_1.createPaginator)(SnowDeviceManagementClient_1.SnowDeviceManagementClient, ListDevicesCommand_1.ListDevicesCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListExecutions = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListExecutionsCommand_1 = require("../commands/ListExecutionsCommand");
6
- const SnowDeviceManagementClient_1 = require("../SnowDeviceManagementClient");
7
- exports.paginateListExecutions = (0, core_1.createPaginator)(SnowDeviceManagementClient_1.SnowDeviceManagementClient, ListExecutionsCommand_1.ListExecutionsCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListTasks = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListTasksCommand_1 = require("../commands/ListTasksCommand");
6
- const SnowDeviceManagementClient_1 = require("../SnowDeviceManagementClient");
7
- exports.paginateListTasks = (0, core_1.createPaginator)(SnowDeviceManagementClient_1.SnowDeviceManagementClient, ListTasksCommand_1.ListTasksCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,8 +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("./ListDeviceResourcesPaginator"), exports);
6
- tslib_1.__exportStar(require("./ListDevicesPaginator"), exports);
7
- tslib_1.__exportStar(require("./ListExecutionsPaginator"), exports);
8
- tslib_1.__exportStar(require("./ListTasksPaginator"), exports);
1
+ module.exports = require("../index.js");