@aws-sdk/client-snow-device-management 3.721.0 → 3.723.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/index.js CHANGED
@@ -155,7 +155,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
155
155
  }, "resolveRuntimeExtensions");
156
156
 
157
157
  // src/SnowDeviceManagementClient.ts
158
- var _SnowDeviceManagementClient = class _SnowDeviceManagementClient extends import_smithy_client.Client {
158
+ var SnowDeviceManagementClient = class extends import_smithy_client.Client {
159
+ static {
160
+ __name(this, "SnowDeviceManagementClient");
161
+ }
162
+ /**
163
+ * The resolved configuration of SnowDeviceManagementClient class. This is resolved and normalized from the {@link SnowDeviceManagementClientConfig | constructor configuration interface}.
164
+ */
165
+ config;
159
166
  constructor(...[configuration]) {
160
167
  const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
161
168
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -165,7 +172,7 @@ var _SnowDeviceManagementClient = class _SnowDeviceManagementClient extends impo
165
172
  const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
166
173
  const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
167
174
  const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
168
- const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
175
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
169
176
  super(_config_8);
170
177
  this.config = _config_8;
171
178
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
@@ -193,8 +200,6 @@ var _SnowDeviceManagementClient = class _SnowDeviceManagementClient extends impo
193
200
  super.destroy();
194
201
  }
195
202
  };
196
- __name(_SnowDeviceManagementClient, "SnowDeviceManagementClient");
197
- var SnowDeviceManagementClient = _SnowDeviceManagementClient;
198
203
 
199
204
  // src/SnowDeviceManagement.ts
200
205
 
@@ -212,7 +217,10 @@ var import_uuid = require("uuid");
212
217
 
213
218
  // src/models/SnowDeviceManagementServiceException.ts
214
219
 
215
- var _SnowDeviceManagementServiceException = class _SnowDeviceManagementServiceException extends import_smithy_client.ServiceException {
220
+ var SnowDeviceManagementServiceException = class _SnowDeviceManagementServiceException extends import_smithy_client.ServiceException {
221
+ static {
222
+ __name(this, "SnowDeviceManagementServiceException");
223
+ }
216
224
  /**
217
225
  * @internal
218
226
  */
@@ -221,11 +229,14 @@ var _SnowDeviceManagementServiceException = class _SnowDeviceManagementServiceEx
221
229
  Object.setPrototypeOf(this, _SnowDeviceManagementServiceException.prototype);
222
230
  }
223
231
  };
224
- __name(_SnowDeviceManagementServiceException, "SnowDeviceManagementServiceException");
225
- var SnowDeviceManagementServiceException = _SnowDeviceManagementServiceException;
226
232
 
227
233
  // src/models/models_0.ts
228
- var _AccessDeniedException = class _AccessDeniedException extends SnowDeviceManagementServiceException {
234
+ var AccessDeniedException = class _AccessDeniedException extends SnowDeviceManagementServiceException {
235
+ static {
236
+ __name(this, "AccessDeniedException");
237
+ }
238
+ name = "AccessDeniedException";
239
+ $fault = "client";
229
240
  /**
230
241
  * @internal
231
242
  */
@@ -235,20 +246,22 @@ var _AccessDeniedException = class _AccessDeniedException extends SnowDeviceMana
235
246
  $fault: "client",
236
247
  ...opts
237
248
  });
238
- this.name = "AccessDeniedException";
239
- this.$fault = "client";
240
249
  Object.setPrototypeOf(this, _AccessDeniedException.prototype);
241
250
  }
242
251
  };
243
- __name(_AccessDeniedException, "AccessDeniedException");
244
- var AccessDeniedException = _AccessDeniedException;
245
252
  var AttachmentStatus = {
246
253
  ATTACHED: "ATTACHED",
247
254
  ATTACHING: "ATTACHING",
248
255
  DETACHED: "DETACHED",
249
256
  DETACHING: "DETACHING"
250
257
  };
251
- var _InternalServerException = class _InternalServerException extends SnowDeviceManagementServiceException {
258
+ var InternalServerException = class _InternalServerException extends SnowDeviceManagementServiceException {
259
+ static {
260
+ __name(this, "InternalServerException");
261
+ }
262
+ name = "InternalServerException";
263
+ $fault = "server";
264
+ $retryable = {};
252
265
  /**
253
266
  * @internal
254
267
  */
@@ -258,15 +271,15 @@ var _InternalServerException = class _InternalServerException extends SnowDevice
258
271
  $fault: "server",
259
272
  ...opts
260
273
  });
261
- this.name = "InternalServerException";
262
- this.$fault = "server";
263
- this.$retryable = {};
264
274
  Object.setPrototypeOf(this, _InternalServerException.prototype);
265
275
  }
266
276
  };
267
- __name(_InternalServerException, "InternalServerException");
268
- var InternalServerException = _InternalServerException;
269
- var _ResourceNotFoundException = class _ResourceNotFoundException extends SnowDeviceManagementServiceException {
277
+ var ResourceNotFoundException = class _ResourceNotFoundException extends SnowDeviceManagementServiceException {
278
+ static {
279
+ __name(this, "ResourceNotFoundException");
280
+ }
281
+ name = "ResourceNotFoundException";
282
+ $fault = "client";
270
283
  /**
271
284
  * @internal
272
285
  */
@@ -276,14 +289,18 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends SnowDe
276
289
  $fault: "client",
277
290
  ...opts
278
291
  });
279
- this.name = "ResourceNotFoundException";
280
- this.$fault = "client";
281
292
  Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
282
293
  }
283
294
  };
284
- __name(_ResourceNotFoundException, "ResourceNotFoundException");
285
- var ResourceNotFoundException = _ResourceNotFoundException;
286
- var _ThrottlingException = class _ThrottlingException extends SnowDeviceManagementServiceException {
295
+ var ThrottlingException = class _ThrottlingException extends SnowDeviceManagementServiceException {
296
+ static {
297
+ __name(this, "ThrottlingException");
298
+ }
299
+ name = "ThrottlingException";
300
+ $fault = "client";
301
+ $retryable = {
302
+ throttling: true
303
+ };
287
304
  /**
288
305
  * @internal
289
306
  */
@@ -293,17 +310,15 @@ var _ThrottlingException = class _ThrottlingException extends SnowDeviceManageme
293
310
  $fault: "client",
294
311
  ...opts
295
312
  });
296
- this.name = "ThrottlingException";
297
- this.$fault = "client";
298
- this.$retryable = {
299
- throttling: true
300
- };
301
313
  Object.setPrototypeOf(this, _ThrottlingException.prototype);
302
314
  }
303
315
  };
304
- __name(_ThrottlingException, "ThrottlingException");
305
- var ThrottlingException = _ThrottlingException;
306
- var _ValidationException = class _ValidationException extends SnowDeviceManagementServiceException {
316
+ var ValidationException = class _ValidationException extends SnowDeviceManagementServiceException {
317
+ static {
318
+ __name(this, "ValidationException");
319
+ }
320
+ name = "ValidationException";
321
+ $fault = "client";
307
322
  /**
308
323
  * @internal
309
324
  */
@@ -313,13 +328,9 @@ var _ValidationException = class _ValidationException extends SnowDeviceManageme
313
328
  $fault: "client",
314
329
  ...opts
315
330
  });
316
- this.name = "ValidationException";
317
- this.$fault = "client";
318
331
  Object.setPrototypeOf(this, _ValidationException.prototype);
319
332
  }
320
333
  };
321
- __name(_ValidationException, "ValidationException");
322
- var ValidationException = _ValidationException;
323
334
  var Command;
324
335
  ((Command3) => {
325
336
  Command3.visit = /* @__PURE__ */ __name((value, visitor) => {
@@ -330,7 +341,12 @@ var Command;
330
341
  return visitor._(value.$unknown[0], value.$unknown[1]);
331
342
  }, "visit");
332
343
  })(Command || (Command = {}));
333
- var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends SnowDeviceManagementServiceException {
344
+ var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends SnowDeviceManagementServiceException {
345
+ static {
346
+ __name(this, "ServiceQuotaExceededException");
347
+ }
348
+ name = "ServiceQuotaExceededException";
349
+ $fault = "client";
334
350
  /**
335
351
  * @internal
336
352
  */
@@ -340,13 +356,9 @@ var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extend
340
356
  $fault: "client",
341
357
  ...opts
342
358
  });
343
- this.name = "ServiceQuotaExceededException";
344
- this.$fault = "client";
345
359
  Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
346
360
  }
347
361
  };
348
- __name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
349
- var ServiceQuotaExceededException = _ServiceQuotaExceededException;
350
362
  var UnlockState = {
351
363
  LOCKED: "LOCKED",
352
364
  UNLOCKED: "UNLOCKED",
@@ -929,183 +941,196 @@ var _tI = "taskId";
929
941
  var _tK = "tagKeys";
930
942
 
931
943
  // src/commands/CancelTaskCommand.ts
932
- var _CancelTaskCommand = class _CancelTaskCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {
944
+ var CancelTaskCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {
933
945
  return [
934
946
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
935
947
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())
936
948
  ];
937
949
  }).s("SnowDeviceManagement", "CancelTask", {}).n("SnowDeviceManagementClient", "CancelTaskCommand").f(void 0, void 0).ser(se_CancelTaskCommand).de(de_CancelTaskCommand).build() {
950
+ static {
951
+ __name(this, "CancelTaskCommand");
952
+ }
938
953
  };
939
- __name(_CancelTaskCommand, "CancelTaskCommand");
940
- var CancelTaskCommand = _CancelTaskCommand;
941
954
 
942
955
  // src/commands/CreateTaskCommand.ts
943
956
 
944
957
 
945
958
 
946
- var _CreateTaskCommand = class _CreateTaskCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {
959
+ var CreateTaskCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {
947
960
  return [
948
961
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
949
962
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())
950
963
  ];
951
964
  }).s("SnowDeviceManagement", "CreateTask", {}).n("SnowDeviceManagementClient", "CreateTaskCommand").f(void 0, void 0).ser(se_CreateTaskCommand).de(de_CreateTaskCommand).build() {
965
+ static {
966
+ __name(this, "CreateTaskCommand");
967
+ }
952
968
  };
953
- __name(_CreateTaskCommand, "CreateTaskCommand");
954
- var CreateTaskCommand = _CreateTaskCommand;
955
969
 
956
970
  // src/commands/DescribeDeviceCommand.ts
957
971
 
958
972
 
959
973
 
960
- var _DescribeDeviceCommand = class _DescribeDeviceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {
974
+ var DescribeDeviceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {
961
975
  return [
962
976
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
963
977
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())
964
978
  ];
965
979
  }).s("SnowDeviceManagement", "DescribeDevice", {}).n("SnowDeviceManagementClient", "DescribeDeviceCommand").f(void 0, void 0).ser(se_DescribeDeviceCommand).de(de_DescribeDeviceCommand).build() {
980
+ static {
981
+ __name(this, "DescribeDeviceCommand");
982
+ }
966
983
  };
967
- __name(_DescribeDeviceCommand, "DescribeDeviceCommand");
968
- var DescribeDeviceCommand = _DescribeDeviceCommand;
969
984
 
970
985
  // src/commands/DescribeDeviceEc2InstancesCommand.ts
971
986
 
972
987
 
973
988
 
974
- var _DescribeDeviceEc2InstancesCommand = class _DescribeDeviceEc2InstancesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {
989
+ var DescribeDeviceEc2InstancesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {
975
990
  return [
976
991
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
977
992
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())
978
993
  ];
979
994
  }).s("SnowDeviceManagement", "DescribeDeviceEc2Instances", {}).n("SnowDeviceManagementClient", "DescribeDeviceEc2InstancesCommand").f(void 0, void 0).ser(se_DescribeDeviceEc2InstancesCommand).de(de_DescribeDeviceEc2InstancesCommand).build() {
995
+ static {
996
+ __name(this, "DescribeDeviceEc2InstancesCommand");
997
+ }
980
998
  };
981
- __name(_DescribeDeviceEc2InstancesCommand, "DescribeDeviceEc2InstancesCommand");
982
- var DescribeDeviceEc2InstancesCommand = _DescribeDeviceEc2InstancesCommand;
983
999
 
984
1000
  // src/commands/DescribeExecutionCommand.ts
985
1001
 
986
1002
 
987
1003
 
988
- var _DescribeExecutionCommand = class _DescribeExecutionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {
1004
+ var DescribeExecutionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {
989
1005
  return [
990
1006
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
991
1007
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())
992
1008
  ];
993
1009
  }).s("SnowDeviceManagement", "DescribeExecution", {}).n("SnowDeviceManagementClient", "DescribeExecutionCommand").f(void 0, void 0).ser(se_DescribeExecutionCommand).de(de_DescribeExecutionCommand).build() {
1010
+ static {
1011
+ __name(this, "DescribeExecutionCommand");
1012
+ }
994
1013
  };
995
- __name(_DescribeExecutionCommand, "DescribeExecutionCommand");
996
- var DescribeExecutionCommand = _DescribeExecutionCommand;
997
1014
 
998
1015
  // src/commands/DescribeTaskCommand.ts
999
1016
 
1000
1017
 
1001
1018
 
1002
- var _DescribeTaskCommand = class _DescribeTaskCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {
1019
+ var DescribeTaskCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {
1003
1020
  return [
1004
1021
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1005
1022
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())
1006
1023
  ];
1007
1024
  }).s("SnowDeviceManagement", "DescribeTask", {}).n("SnowDeviceManagementClient", "DescribeTaskCommand").f(void 0, void 0).ser(se_DescribeTaskCommand).de(de_DescribeTaskCommand).build() {
1025
+ static {
1026
+ __name(this, "DescribeTaskCommand");
1027
+ }
1008
1028
  };
1009
- __name(_DescribeTaskCommand, "DescribeTaskCommand");
1010
- var DescribeTaskCommand = _DescribeTaskCommand;
1011
1029
 
1012
1030
  // src/commands/ListDeviceResourcesCommand.ts
1013
1031
 
1014
1032
 
1015
1033
 
1016
- var _ListDeviceResourcesCommand = class _ListDeviceResourcesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {
1034
+ var ListDeviceResourcesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {
1017
1035
  return [
1018
1036
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1019
1037
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())
1020
1038
  ];
1021
1039
  }).s("SnowDeviceManagement", "ListDeviceResources", {}).n("SnowDeviceManagementClient", "ListDeviceResourcesCommand").f(void 0, void 0).ser(se_ListDeviceResourcesCommand).de(de_ListDeviceResourcesCommand).build() {
1040
+ static {
1041
+ __name(this, "ListDeviceResourcesCommand");
1042
+ }
1022
1043
  };
1023
- __name(_ListDeviceResourcesCommand, "ListDeviceResourcesCommand");
1024
- var ListDeviceResourcesCommand = _ListDeviceResourcesCommand;
1025
1044
 
1026
1045
  // src/commands/ListDevicesCommand.ts
1027
1046
 
1028
1047
 
1029
1048
 
1030
- var _ListDevicesCommand = class _ListDevicesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {
1049
+ var ListDevicesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {
1031
1050
  return [
1032
1051
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1033
1052
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())
1034
1053
  ];
1035
1054
  }).s("SnowDeviceManagement", "ListDevices", {}).n("SnowDeviceManagementClient", "ListDevicesCommand").f(void 0, void 0).ser(se_ListDevicesCommand).de(de_ListDevicesCommand).build() {
1055
+ static {
1056
+ __name(this, "ListDevicesCommand");
1057
+ }
1036
1058
  };
1037
- __name(_ListDevicesCommand, "ListDevicesCommand");
1038
- var ListDevicesCommand = _ListDevicesCommand;
1039
1059
 
1040
1060
  // src/commands/ListExecutionsCommand.ts
1041
1061
 
1042
1062
 
1043
1063
 
1044
- var _ListExecutionsCommand = class _ListExecutionsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {
1064
+ var ListExecutionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {
1045
1065
  return [
1046
1066
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1047
1067
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())
1048
1068
  ];
1049
1069
  }).s("SnowDeviceManagement", "ListExecutions", {}).n("SnowDeviceManagementClient", "ListExecutionsCommand").f(void 0, void 0).ser(se_ListExecutionsCommand).de(de_ListExecutionsCommand).build() {
1070
+ static {
1071
+ __name(this, "ListExecutionsCommand");
1072
+ }
1050
1073
  };
1051
- __name(_ListExecutionsCommand, "ListExecutionsCommand");
1052
- var ListExecutionsCommand = _ListExecutionsCommand;
1053
1074
 
1054
1075
  // src/commands/ListTagsForResourceCommand.ts
1055
1076
 
1056
1077
 
1057
1078
 
1058
- var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {
1079
+ var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {
1059
1080
  return [
1060
1081
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1061
1082
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())
1062
1083
  ];
1063
1084
  }).s("SnowDeviceManagement", "ListTagsForResource", {}).n("SnowDeviceManagementClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
1085
+ static {
1086
+ __name(this, "ListTagsForResourceCommand");
1087
+ }
1064
1088
  };
1065
- __name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
1066
- var ListTagsForResourceCommand = _ListTagsForResourceCommand;
1067
1089
 
1068
1090
  // src/commands/ListTasksCommand.ts
1069
1091
 
1070
1092
 
1071
1093
 
1072
- var _ListTasksCommand = class _ListTasksCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {
1094
+ var ListTasksCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {
1073
1095
  return [
1074
1096
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1075
1097
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())
1076
1098
  ];
1077
1099
  }).s("SnowDeviceManagement", "ListTasks", {}).n("SnowDeviceManagementClient", "ListTasksCommand").f(void 0, void 0).ser(se_ListTasksCommand).de(de_ListTasksCommand).build() {
1100
+ static {
1101
+ __name(this, "ListTasksCommand");
1102
+ }
1078
1103
  };
1079
- __name(_ListTasksCommand, "ListTasksCommand");
1080
- var ListTasksCommand = _ListTasksCommand;
1081
1104
 
1082
1105
  // src/commands/TagResourceCommand.ts
1083
1106
 
1084
1107
 
1085
1108
 
1086
- var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {
1109
+ var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {
1087
1110
  return [
1088
1111
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1089
1112
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())
1090
1113
  ];
1091
1114
  }).s("SnowDeviceManagement", "TagResource", {}).n("SnowDeviceManagementClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
1115
+ static {
1116
+ __name(this, "TagResourceCommand");
1117
+ }
1092
1118
  };
1093
- __name(_TagResourceCommand, "TagResourceCommand");
1094
- var TagResourceCommand = _TagResourceCommand;
1095
1119
 
1096
1120
  // src/commands/UntagResourceCommand.ts
1097
1121
 
1098
1122
 
1099
1123
 
1100
- var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {
1124
+ var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command3, cs, config, o) {
1101
1125
  return [
1102
1126
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1103
1127
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command3.getEndpointParameterInstructions())
1104
1128
  ];
1105
1129
  }).s("SnowDeviceManagement", "UntagResource", {}).n("SnowDeviceManagementClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
1130
+ static {
1131
+ __name(this, "UntagResourceCommand");
1132
+ }
1106
1133
  };
1107
- __name(_UntagResourceCommand, "UntagResourceCommand");
1108
- var UntagResourceCommand = _UntagResourceCommand;
1109
1134
 
1110
1135
  // src/SnowDeviceManagement.ts
1111
1136
  var commands = {
@@ -1123,10 +1148,11 @@ var commands = {
1123
1148
  TagResourceCommand,
1124
1149
  UntagResourceCommand
1125
1150
  };
1126
- var _SnowDeviceManagement = class _SnowDeviceManagement extends SnowDeviceManagementClient {
1151
+ var SnowDeviceManagement = class extends SnowDeviceManagementClient {
1152
+ static {
1153
+ __name(this, "SnowDeviceManagement");
1154
+ }
1127
1155
  };
1128
- __name(_SnowDeviceManagement, "SnowDeviceManagement");
1129
- var SnowDeviceManagement = _SnowDeviceManagement;
1130
1156
  (0, import_smithy_client.createAggregatedClient)(commands, SnowDeviceManagement);
1131
1157
 
1132
1158
  // src/pagination/ListDeviceResourcesPaginator.ts
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
14
14
  import { resolveRuntimeExtensions } from "./runtimeExtensions";
15
15
  export { __Client };
16
16
  export class SnowDeviceManagementClient extends __Client {
17
+ config;
17
18
  constructor(...[configuration]) {
18
19
  const _config_0 = __getRuntimeConfig(configuration || {});
19
20
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -1,13 +1,13 @@
1
1
  import { SnowDeviceManagementServiceException as __BaseException } from "./SnowDeviceManagementServiceException";
2
2
  export class AccessDeniedException extends __BaseException {
3
+ name = "AccessDeniedException";
4
+ $fault = "client";
3
5
  constructor(opts) {
4
6
  super({
5
7
  name: "AccessDeniedException",
6
8
  $fault: "client",
7
9
  ...opts,
8
10
  });
9
- this.name = "AccessDeniedException";
10
- this.$fault = "client";
11
11
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
12
12
  }
13
13
  }
@@ -18,54 +18,54 @@ export const AttachmentStatus = {
18
18
  DETACHING: "DETACHING",
19
19
  };
20
20
  export class InternalServerException extends __BaseException {
21
+ name = "InternalServerException";
22
+ $fault = "server";
23
+ $retryable = {};
21
24
  constructor(opts) {
22
25
  super({
23
26
  name: "InternalServerException",
24
27
  $fault: "server",
25
28
  ...opts,
26
29
  });
27
- this.name = "InternalServerException";
28
- this.$fault = "server";
29
- this.$retryable = {};
30
30
  Object.setPrototypeOf(this, InternalServerException.prototype);
31
31
  }
32
32
  }
33
33
  export class ResourceNotFoundException extends __BaseException {
34
+ name = "ResourceNotFoundException";
35
+ $fault = "client";
34
36
  constructor(opts) {
35
37
  super({
36
38
  name: "ResourceNotFoundException",
37
39
  $fault: "client",
38
40
  ...opts,
39
41
  });
40
- this.name = "ResourceNotFoundException";
41
- this.$fault = "client";
42
42
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
43
43
  }
44
44
  }
45
45
  export class ThrottlingException extends __BaseException {
46
+ name = "ThrottlingException";
47
+ $fault = "client";
48
+ $retryable = {
49
+ throttling: true,
50
+ };
46
51
  constructor(opts) {
47
52
  super({
48
53
  name: "ThrottlingException",
49
54
  $fault: "client",
50
55
  ...opts,
51
56
  });
52
- this.name = "ThrottlingException";
53
- this.$fault = "client";
54
- this.$retryable = {
55
- throttling: true,
56
- };
57
57
  Object.setPrototypeOf(this, ThrottlingException.prototype);
58
58
  }
59
59
  }
60
60
  export class ValidationException extends __BaseException {
61
+ name = "ValidationException";
62
+ $fault = "client";
61
63
  constructor(opts) {
62
64
  super({
63
65
  name: "ValidationException",
64
66
  $fault: "client",
65
67
  ...opts,
66
68
  });
67
- this.name = "ValidationException";
68
- this.$fault = "client";
69
69
  Object.setPrototypeOf(this, ValidationException.prototype);
70
70
  }
71
71
  }
@@ -80,14 +80,14 @@ export var Command;
80
80
  };
81
81
  })(Command || (Command = {}));
82
82
  export class ServiceQuotaExceededException extends __BaseException {
83
+ name = "ServiceQuotaExceededException";
84
+ $fault = "client";
83
85
  constructor(opts) {
84
86
  super({
85
87
  name: "ServiceQuotaExceededException",
86
88
  $fault: "client",
87
89
  ...opts,
88
90
  });
89
- this.name = "ServiceQuotaExceededException";
90
- this.$fault = "client";
91
91
  Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
92
92
  }
93
93
  }
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: SnowDeviceManagementClientConfig
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<any>;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: SnowDeviceManagementClientConfig
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<string>;
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: SnowDeviceManagementClientConfig
22
22
  region: string | import("@smithy/types").Provider<any>;
23
23
  profile?: string | undefined;
24
24
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
25
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
25
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
26
26
  maxAttempts: number | import("@smithy/types").Provider<number>;
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
28
  logger: import("@smithy/types").Logger;
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: SnowDeviceManagementClientConfig
31
31
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
32
32
  userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
33
33
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
34
- endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
34
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
35
35
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
36
36
  logger?: import("@smithy/types").Logger | undefined;
37
37
  }) => import("@smithy/types").EndpointV2;
@@ -8,9 +8,11 @@ export declare const getRuntimeConfig: (
8
8
  import("@smithy/smithy-client").ResolvedDefaultsMode
9
9
  >;
10
10
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
- credentialDefaultProvider: (
12
- input: any
13
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
11
+ credentialDefaultProvider:
12
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
13
+ | ((
14
+ _: unknown
15
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
14
16
  defaultUserAgentProvider: (
15
17
  config?:
16
18
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
@@ -8,13 +8,15 @@ export declare const getRuntimeConfig: (
8
8
  import("@smithy/smithy-client").ResolvedDefaultsMode
9
9
  >;
10
10
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
- credentialDefaultProvider: (
12
- init?:
13
- | import("@aws-sdk/credential-provider-node").DefaultProviderInit
14
- | undefined
15
- ) => import("@smithy/types").MemoizedProvider<
16
- import("@smithy/types").AwsCredentialIdentity
17
- >;
11
+ credentialDefaultProvider:
12
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
13
+ | ((
14
+ init?:
15
+ | import("@aws-sdk/credential-provider-node").DefaultProviderInit
16
+ | undefined
17
+ ) => import("@smithy/types").MemoizedProvider<
18
+ import("@smithy/types").AwsCredentialIdentity
19
+ >);
18
20
  defaultUserAgentProvider: (
19
21
  config?:
20
22
  | import("@aws-sdk/util-user-agent-node").PreviouslyResolved
@@ -30,9 +30,11 @@ export declare const getRuntimeConfig: (
30
30
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
31
31
  | undefined
32
32
  ) => Promise<import("@smithy/types").UserAgent>;
33
- credentialDefaultProvider: (
34
- input: any
35
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
33
+ credentialDefaultProvider:
34
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
35
+ | ((
36
+ _: unknown
37
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
36
38
  maxAttempts: number | import("@smithy/types").Provider<number>;
37
39
  retryMode: string | import("@smithy/types").Provider<string>;
38
40
  logger: import("@smithy/types").Logger;
@@ -52,11 +54,21 @@ export declare const getRuntimeConfig: (
52
54
  | import("@smithy/types").RetryStrategyV2
53
55
  | undefined;
54
56
  endpoint?:
55
- | string
56
- | import("@smithy/types").Endpoint
57
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
58
- | import("@smithy/types").EndpointV2
59
- | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
57
+ | ((
58
+ | string
59
+ | import("@smithy/types").Endpoint
60
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
61
+ | import("@smithy/types").EndpointV2
62
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
63
+ ) &
64
+ (
65
+ | string
66
+ | import("@smithy/types").Provider<string>
67
+ | import("@smithy/types").Endpoint
68
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
69
+ | import("@smithy/types").EndpointV2
70
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
71
+ ))
60
72
  | undefined;
61
73
  endpointProvider: (
62
74
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-snow-device-management",
3
3
  "description": "AWS SDK for JavaScript Snow Device Management Client for Node.js, Browser and React Native",
4
- "version": "3.721.0",
4
+ "version": "3.723.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-snow-device-management",
@@ -20,58 +20,58 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.721.0",
24
- "@aws-sdk/client-sts": "3.721.0",
25
- "@aws-sdk/core": "3.716.0",
26
- "@aws-sdk/credential-provider-node": "3.721.0",
27
- "@aws-sdk/middleware-host-header": "3.714.0",
28
- "@aws-sdk/middleware-logger": "3.714.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.714.0",
30
- "@aws-sdk/middleware-user-agent": "3.721.0",
31
- "@aws-sdk/region-config-resolver": "3.714.0",
32
- "@aws-sdk/types": "3.714.0",
33
- "@aws-sdk/util-endpoints": "3.714.0",
34
- "@aws-sdk/util-user-agent-browser": "3.714.0",
35
- "@aws-sdk/util-user-agent-node": "3.721.0",
36
- "@smithy/config-resolver": "^3.0.13",
37
- "@smithy/core": "^2.5.5",
38
- "@smithy/fetch-http-handler": "^4.1.2",
39
- "@smithy/hash-node": "^3.0.11",
40
- "@smithy/invalid-dependency": "^3.0.11",
41
- "@smithy/middleware-content-length": "^3.0.13",
42
- "@smithy/middleware-endpoint": "^3.2.6",
43
- "@smithy/middleware-retry": "^3.0.31",
44
- "@smithy/middleware-serde": "^3.0.11",
45
- "@smithy/middleware-stack": "^3.0.11",
46
- "@smithy/node-config-provider": "^3.1.12",
47
- "@smithy/node-http-handler": "^3.3.2",
48
- "@smithy/protocol-http": "^4.1.8",
49
- "@smithy/smithy-client": "^3.5.1",
50
- "@smithy/types": "^3.7.2",
51
- "@smithy/url-parser": "^3.0.11",
52
- "@smithy/util-base64": "^3.0.0",
53
- "@smithy/util-body-length-browser": "^3.0.0",
54
- "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.31",
56
- "@smithy/util-defaults-mode-node": "^3.0.31",
57
- "@smithy/util-endpoints": "^2.1.7",
58
- "@smithy/util-middleware": "^3.0.11",
59
- "@smithy/util-retry": "^3.0.11",
60
- "@smithy/util-utf8": "^3.0.0",
23
+ "@aws-sdk/client-sso-oidc": "3.723.0",
24
+ "@aws-sdk/client-sts": "3.723.0",
25
+ "@aws-sdk/core": "3.723.0",
26
+ "@aws-sdk/credential-provider-node": "3.723.0",
27
+ "@aws-sdk/middleware-host-header": "3.723.0",
28
+ "@aws-sdk/middleware-logger": "3.723.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.723.0",
30
+ "@aws-sdk/middleware-user-agent": "3.723.0",
31
+ "@aws-sdk/region-config-resolver": "3.723.0",
32
+ "@aws-sdk/types": "3.723.0",
33
+ "@aws-sdk/util-endpoints": "3.723.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.723.0",
35
+ "@aws-sdk/util-user-agent-node": "3.723.0",
36
+ "@smithy/config-resolver": "^4.0.0",
37
+ "@smithy/core": "^3.0.0",
38
+ "@smithy/fetch-http-handler": "^5.0.0",
39
+ "@smithy/hash-node": "^4.0.0",
40
+ "@smithy/invalid-dependency": "^4.0.0",
41
+ "@smithy/middleware-content-length": "^4.0.0",
42
+ "@smithy/middleware-endpoint": "^4.0.0",
43
+ "@smithy/middleware-retry": "^4.0.0",
44
+ "@smithy/middleware-serde": "^4.0.0",
45
+ "@smithy/middleware-stack": "^4.0.0",
46
+ "@smithy/node-config-provider": "^4.0.0",
47
+ "@smithy/node-http-handler": "^4.0.0",
48
+ "@smithy/protocol-http": "^5.0.0",
49
+ "@smithy/smithy-client": "^4.0.0",
50
+ "@smithy/types": "^4.0.0",
51
+ "@smithy/url-parser": "^4.0.0",
52
+ "@smithy/util-base64": "^4.0.0",
53
+ "@smithy/util-body-length-browser": "^4.0.0",
54
+ "@smithy/util-body-length-node": "^4.0.0",
55
+ "@smithy/util-defaults-mode-browser": "^4.0.0",
56
+ "@smithy/util-defaults-mode-node": "^4.0.0",
57
+ "@smithy/util-endpoints": "^3.0.0",
58
+ "@smithy/util-middleware": "^4.0.0",
59
+ "@smithy/util-retry": "^4.0.0",
60
+ "@smithy/util-utf8": "^4.0.0",
61
61
  "@types/uuid": "^9.0.1",
62
62
  "tslib": "^2.6.2",
63
63
  "uuid": "^9.0.1"
64
64
  },
65
65
  "devDependencies": {
66
- "@tsconfig/node16": "16.1.3",
67
- "@types/node": "^16.18.96",
66
+ "@tsconfig/node18": "18.2.4",
67
+ "@types/node": "^18.19.69",
68
68
  "concurrently": "7.0.0",
69
69
  "downlevel-dts": "0.10.1",
70
70
  "rimraf": "3.0.2",
71
- "typescript": "~4.9.5"
71
+ "typescript": "~5.2.2"
72
72
  },
73
73
  "engines": {
74
- "node": ">=16.0.0"
74
+ "node": ">=18.0.0"
75
75
  },
76
76
  "typesVersions": {
77
77
  "<4.0": {