@aws-sdk/client-iotdeviceadvisor 3.716.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
@@ -150,7 +150,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
150
150
  }, "resolveRuntimeExtensions");
151
151
 
152
152
  // src/IotDeviceAdvisorClient.ts
153
- var _IotDeviceAdvisorClient = class _IotDeviceAdvisorClient extends import_smithy_client.Client {
153
+ var IotDeviceAdvisorClient = class extends import_smithy_client.Client {
154
+ static {
155
+ __name(this, "IotDeviceAdvisorClient");
156
+ }
157
+ /**
158
+ * The resolved configuration of IotDeviceAdvisorClient class. This is resolved and normalized from the {@link IotDeviceAdvisorClientConfig | constructor configuration interface}.
159
+ */
160
+ config;
154
161
  constructor(...[configuration]) {
155
162
  const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
156
163
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -160,7 +167,7 @@ var _IotDeviceAdvisorClient = class _IotDeviceAdvisorClient extends import_smith
160
167
  const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
161
168
  const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
162
169
  const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
163
- const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
170
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
164
171
  super(_config_8);
165
172
  this.config = _config_8;
166
173
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
@@ -188,8 +195,6 @@ var _IotDeviceAdvisorClient = class _IotDeviceAdvisorClient extends import_smith
188
195
  super.destroy();
189
196
  }
190
197
  };
191
- __name(_IotDeviceAdvisorClient, "IotDeviceAdvisorClient");
192
- var IotDeviceAdvisorClient = _IotDeviceAdvisorClient;
193
198
 
194
199
  // src/IotDeviceAdvisor.ts
195
200
 
@@ -207,7 +212,10 @@ var import_uuid = require("uuid");
207
212
 
208
213
  // src/models/IotDeviceAdvisorServiceException.ts
209
214
 
210
- var _IotDeviceAdvisorServiceException = class _IotDeviceAdvisorServiceException extends import_smithy_client.ServiceException {
215
+ var IotDeviceAdvisorServiceException = class _IotDeviceAdvisorServiceException extends import_smithy_client.ServiceException {
216
+ static {
217
+ __name(this, "IotDeviceAdvisorServiceException");
218
+ }
211
219
  /**
212
220
  * @internal
213
221
  */
@@ -216,15 +224,18 @@ var _IotDeviceAdvisorServiceException = class _IotDeviceAdvisorServiceException
216
224
  Object.setPrototypeOf(this, _IotDeviceAdvisorServiceException.prototype);
217
225
  }
218
226
  };
219
- __name(_IotDeviceAdvisorServiceException, "IotDeviceAdvisorServiceException");
220
- var IotDeviceAdvisorServiceException = _IotDeviceAdvisorServiceException;
221
227
 
222
228
  // src/models/models_0.ts
223
229
  var AuthenticationMethod = {
224
230
  SignatureVersion4: "SignatureVersion4",
225
231
  X509ClientCertificate: "X509ClientCertificate"
226
232
  };
227
- var _ConflictException = class _ConflictException extends IotDeviceAdvisorServiceException {
233
+ var ConflictException = class _ConflictException extends IotDeviceAdvisorServiceException {
234
+ static {
235
+ __name(this, "ConflictException");
236
+ }
237
+ name = "ConflictException";
238
+ $fault = "client";
228
239
  /**
229
240
  * @internal
230
241
  */
@@ -234,20 +245,21 @@ var _ConflictException = class _ConflictException extends IotDeviceAdvisorServic
234
245
  $fault: "client",
235
246
  ...opts
236
247
  });
237
- this.name = "ConflictException";
238
- this.$fault = "client";
239
248
  Object.setPrototypeOf(this, _ConflictException.prototype);
240
249
  }
241
250
  };
242
- __name(_ConflictException, "ConflictException");
243
- var ConflictException = _ConflictException;
244
251
  var Protocol = {
245
252
  MqttV3_1_1: "MqttV3_1_1",
246
253
  MqttV3_1_1_OverWebSocket: "MqttV3_1_1_OverWebSocket",
247
254
  MqttV5: "MqttV5",
248
255
  MqttV5_OverWebSocket: "MqttV5_OverWebSocket"
249
256
  };
250
- var _InternalServerException = class _InternalServerException extends IotDeviceAdvisorServiceException {
257
+ var InternalServerException = class _InternalServerException extends IotDeviceAdvisorServiceException {
258
+ static {
259
+ __name(this, "InternalServerException");
260
+ }
261
+ name = "InternalServerException";
262
+ $fault = "server";
251
263
  /**
252
264
  * @internal
253
265
  */
@@ -257,14 +269,15 @@ var _InternalServerException = class _InternalServerException extends IotDeviceA
257
269
  $fault: "server",
258
270
  ...opts
259
271
  });
260
- this.name = "InternalServerException";
261
- this.$fault = "server";
262
272
  Object.setPrototypeOf(this, _InternalServerException.prototype);
263
273
  }
264
274
  };
265
- __name(_InternalServerException, "InternalServerException");
266
- var InternalServerException = _InternalServerException;
267
- var _ValidationException = class _ValidationException extends IotDeviceAdvisorServiceException {
275
+ var ValidationException = class _ValidationException extends IotDeviceAdvisorServiceException {
276
+ static {
277
+ __name(this, "ValidationException");
278
+ }
279
+ name = "ValidationException";
280
+ $fault = "client";
268
281
  /**
269
282
  * @internal
270
283
  */
@@ -274,14 +287,15 @@ var _ValidationException = class _ValidationException extends IotDeviceAdvisorSe
274
287
  $fault: "client",
275
288
  ...opts
276
289
  });
277
- this.name = "ValidationException";
278
- this.$fault = "client";
279
290
  Object.setPrototypeOf(this, _ValidationException.prototype);
280
291
  }
281
292
  };
282
- __name(_ValidationException, "ValidationException");
283
- var ValidationException = _ValidationException;
284
- var _ResourceNotFoundException = class _ResourceNotFoundException extends IotDeviceAdvisorServiceException {
293
+ var ResourceNotFoundException = class _ResourceNotFoundException extends IotDeviceAdvisorServiceException {
294
+ static {
295
+ __name(this, "ResourceNotFoundException");
296
+ }
297
+ name = "ResourceNotFoundException";
298
+ $fault = "client";
285
299
  /**
286
300
  * @internal
287
301
  */
@@ -291,13 +305,9 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends IotDev
291
305
  $fault: "client",
292
306
  ...opts
293
307
  });
294
- this.name = "ResourceNotFoundException";
295
- this.$fault = "client";
296
308
  Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
297
309
  }
298
310
  };
299
- __name(_ResourceNotFoundException, "ResourceNotFoundException");
300
- var ResourceNotFoundException = _ResourceNotFoundException;
301
311
  var SuiteRunStatus = {
302
312
  CANCELED: "CANCELED",
303
313
  ERROR: "ERROR",
@@ -899,197 +909,211 @@ var _tA = "thingArn";
899
909
  var _tK = "tagKeys";
900
910
 
901
911
  // src/commands/CreateSuiteDefinitionCommand.ts
902
- var _CreateSuiteDefinitionCommand = class _CreateSuiteDefinitionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
912
+ var CreateSuiteDefinitionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
903
913
  return [
904
914
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
905
915
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
906
916
  ];
907
917
  }).s("IotSenateService", "CreateSuiteDefinition", {}).n("IotDeviceAdvisorClient", "CreateSuiteDefinitionCommand").f(void 0, void 0).ser(se_CreateSuiteDefinitionCommand).de(de_CreateSuiteDefinitionCommand).build() {
918
+ static {
919
+ __name(this, "CreateSuiteDefinitionCommand");
920
+ }
908
921
  };
909
- __name(_CreateSuiteDefinitionCommand, "CreateSuiteDefinitionCommand");
910
- var CreateSuiteDefinitionCommand = _CreateSuiteDefinitionCommand;
911
922
 
912
923
  // src/commands/DeleteSuiteDefinitionCommand.ts
913
924
 
914
925
 
915
926
 
916
- var _DeleteSuiteDefinitionCommand = class _DeleteSuiteDefinitionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
927
+ var DeleteSuiteDefinitionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
917
928
  return [
918
929
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
919
930
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
920
931
  ];
921
932
  }).s("IotSenateService", "DeleteSuiteDefinition", {}).n("IotDeviceAdvisorClient", "DeleteSuiteDefinitionCommand").f(void 0, void 0).ser(se_DeleteSuiteDefinitionCommand).de(de_DeleteSuiteDefinitionCommand).build() {
933
+ static {
934
+ __name(this, "DeleteSuiteDefinitionCommand");
935
+ }
922
936
  };
923
- __name(_DeleteSuiteDefinitionCommand, "DeleteSuiteDefinitionCommand");
924
- var DeleteSuiteDefinitionCommand = _DeleteSuiteDefinitionCommand;
925
937
 
926
938
  // src/commands/GetEndpointCommand.ts
927
939
 
928
940
 
929
941
 
930
- var _GetEndpointCommand = class _GetEndpointCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
942
+ var GetEndpointCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
931
943
  return [
932
944
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
933
945
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
934
946
  ];
935
947
  }).s("IotSenateService", "GetEndpoint", {}).n("IotDeviceAdvisorClient", "GetEndpointCommand").f(void 0, void 0).ser(se_GetEndpointCommand).de(de_GetEndpointCommand).build() {
948
+ static {
949
+ __name(this, "GetEndpointCommand");
950
+ }
936
951
  };
937
- __name(_GetEndpointCommand, "GetEndpointCommand");
938
- var GetEndpointCommand = _GetEndpointCommand;
939
952
 
940
953
  // src/commands/GetSuiteDefinitionCommand.ts
941
954
 
942
955
 
943
956
 
944
- var _GetSuiteDefinitionCommand = class _GetSuiteDefinitionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
957
+ var GetSuiteDefinitionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
945
958
  return [
946
959
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
947
960
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
948
961
  ];
949
962
  }).s("IotSenateService", "GetSuiteDefinition", {}).n("IotDeviceAdvisorClient", "GetSuiteDefinitionCommand").f(void 0, void 0).ser(se_GetSuiteDefinitionCommand).de(de_GetSuiteDefinitionCommand).build() {
963
+ static {
964
+ __name(this, "GetSuiteDefinitionCommand");
965
+ }
950
966
  };
951
- __name(_GetSuiteDefinitionCommand, "GetSuiteDefinitionCommand");
952
- var GetSuiteDefinitionCommand = _GetSuiteDefinitionCommand;
953
967
 
954
968
  // src/commands/GetSuiteRunCommand.ts
955
969
 
956
970
 
957
971
 
958
- var _GetSuiteRunCommand = class _GetSuiteRunCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
972
+ var GetSuiteRunCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
959
973
  return [
960
974
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
961
975
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
962
976
  ];
963
977
  }).s("IotSenateService", "GetSuiteRun", {}).n("IotDeviceAdvisorClient", "GetSuiteRunCommand").f(void 0, void 0).ser(se_GetSuiteRunCommand).de(de_GetSuiteRunCommand).build() {
978
+ static {
979
+ __name(this, "GetSuiteRunCommand");
980
+ }
964
981
  };
965
- __name(_GetSuiteRunCommand, "GetSuiteRunCommand");
966
- var GetSuiteRunCommand = _GetSuiteRunCommand;
967
982
 
968
983
  // src/commands/GetSuiteRunReportCommand.ts
969
984
 
970
985
 
971
986
 
972
- var _GetSuiteRunReportCommand = class _GetSuiteRunReportCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
987
+ var GetSuiteRunReportCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
973
988
  return [
974
989
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
975
990
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
976
991
  ];
977
992
  }).s("IotSenateService", "GetSuiteRunReport", {}).n("IotDeviceAdvisorClient", "GetSuiteRunReportCommand").f(void 0, void 0).ser(se_GetSuiteRunReportCommand).de(de_GetSuiteRunReportCommand).build() {
993
+ static {
994
+ __name(this, "GetSuiteRunReportCommand");
995
+ }
978
996
  };
979
- __name(_GetSuiteRunReportCommand, "GetSuiteRunReportCommand");
980
- var GetSuiteRunReportCommand = _GetSuiteRunReportCommand;
981
997
 
982
998
  // src/commands/ListSuiteDefinitionsCommand.ts
983
999
 
984
1000
 
985
1001
 
986
- var _ListSuiteDefinitionsCommand = class _ListSuiteDefinitionsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1002
+ var ListSuiteDefinitionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
987
1003
  return [
988
1004
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
989
1005
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
990
1006
  ];
991
1007
  }).s("IotSenateService", "ListSuiteDefinitions", {}).n("IotDeviceAdvisorClient", "ListSuiteDefinitionsCommand").f(void 0, void 0).ser(se_ListSuiteDefinitionsCommand).de(de_ListSuiteDefinitionsCommand).build() {
1008
+ static {
1009
+ __name(this, "ListSuiteDefinitionsCommand");
1010
+ }
992
1011
  };
993
- __name(_ListSuiteDefinitionsCommand, "ListSuiteDefinitionsCommand");
994
- var ListSuiteDefinitionsCommand = _ListSuiteDefinitionsCommand;
995
1012
 
996
1013
  // src/commands/ListSuiteRunsCommand.ts
997
1014
 
998
1015
 
999
1016
 
1000
- var _ListSuiteRunsCommand = class _ListSuiteRunsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1017
+ var ListSuiteRunsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1001
1018
  return [
1002
1019
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1003
1020
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1004
1021
  ];
1005
1022
  }).s("IotSenateService", "ListSuiteRuns", {}).n("IotDeviceAdvisorClient", "ListSuiteRunsCommand").f(void 0, void 0).ser(se_ListSuiteRunsCommand).de(de_ListSuiteRunsCommand).build() {
1023
+ static {
1024
+ __name(this, "ListSuiteRunsCommand");
1025
+ }
1006
1026
  };
1007
- __name(_ListSuiteRunsCommand, "ListSuiteRunsCommand");
1008
- var ListSuiteRunsCommand = _ListSuiteRunsCommand;
1009
1027
 
1010
1028
  // src/commands/ListTagsForResourceCommand.ts
1011
1029
 
1012
1030
 
1013
1031
 
1014
- var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1032
+ var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1015
1033
  return [
1016
1034
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1017
1035
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1018
1036
  ];
1019
1037
  }).s("IotSenateService", "ListTagsForResource", {}).n("IotDeviceAdvisorClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
1038
+ static {
1039
+ __name(this, "ListTagsForResourceCommand");
1040
+ }
1020
1041
  };
1021
- __name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
1022
- var ListTagsForResourceCommand = _ListTagsForResourceCommand;
1023
1042
 
1024
1043
  // src/commands/StartSuiteRunCommand.ts
1025
1044
 
1026
1045
 
1027
1046
 
1028
- var _StartSuiteRunCommand = class _StartSuiteRunCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1047
+ var StartSuiteRunCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1029
1048
  return [
1030
1049
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1031
1050
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1032
1051
  ];
1033
1052
  }).s("IotSenateService", "StartSuiteRun", {}).n("IotDeviceAdvisorClient", "StartSuiteRunCommand").f(void 0, void 0).ser(se_StartSuiteRunCommand).de(de_StartSuiteRunCommand).build() {
1053
+ static {
1054
+ __name(this, "StartSuiteRunCommand");
1055
+ }
1034
1056
  };
1035
- __name(_StartSuiteRunCommand, "StartSuiteRunCommand");
1036
- var StartSuiteRunCommand = _StartSuiteRunCommand;
1037
1057
 
1038
1058
  // src/commands/StopSuiteRunCommand.ts
1039
1059
 
1040
1060
 
1041
1061
 
1042
- var _StopSuiteRunCommand = class _StopSuiteRunCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1062
+ var StopSuiteRunCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1043
1063
  return [
1044
1064
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1045
1065
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1046
1066
  ];
1047
1067
  }).s("IotSenateService", "StopSuiteRun", {}).n("IotDeviceAdvisorClient", "StopSuiteRunCommand").f(void 0, void 0).ser(se_StopSuiteRunCommand).de(de_StopSuiteRunCommand).build() {
1068
+ static {
1069
+ __name(this, "StopSuiteRunCommand");
1070
+ }
1048
1071
  };
1049
- __name(_StopSuiteRunCommand, "StopSuiteRunCommand");
1050
- var StopSuiteRunCommand = _StopSuiteRunCommand;
1051
1072
 
1052
1073
  // src/commands/TagResourceCommand.ts
1053
1074
 
1054
1075
 
1055
1076
 
1056
- var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1077
+ var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1057
1078
  return [
1058
1079
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1059
1080
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1060
1081
  ];
1061
1082
  }).s("IotSenateService", "TagResource", {}).n("IotDeviceAdvisorClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
1083
+ static {
1084
+ __name(this, "TagResourceCommand");
1085
+ }
1062
1086
  };
1063
- __name(_TagResourceCommand, "TagResourceCommand");
1064
- var TagResourceCommand = _TagResourceCommand;
1065
1087
 
1066
1088
  // src/commands/UntagResourceCommand.ts
1067
1089
 
1068
1090
 
1069
1091
 
1070
- var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1092
+ var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1071
1093
  return [
1072
1094
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1073
1095
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1074
1096
  ];
1075
1097
  }).s("IotSenateService", "UntagResource", {}).n("IotDeviceAdvisorClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
1098
+ static {
1099
+ __name(this, "UntagResourceCommand");
1100
+ }
1076
1101
  };
1077
- __name(_UntagResourceCommand, "UntagResourceCommand");
1078
- var UntagResourceCommand = _UntagResourceCommand;
1079
1102
 
1080
1103
  // src/commands/UpdateSuiteDefinitionCommand.ts
1081
1104
 
1082
1105
 
1083
1106
 
1084
- var _UpdateSuiteDefinitionCommand = class _UpdateSuiteDefinitionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1107
+ var UpdateSuiteDefinitionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1085
1108
  return [
1086
1109
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1087
1110
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1088
1111
  ];
1089
1112
  }).s("IotSenateService", "UpdateSuiteDefinition", {}).n("IotDeviceAdvisorClient", "UpdateSuiteDefinitionCommand").f(void 0, void 0).ser(se_UpdateSuiteDefinitionCommand).de(de_UpdateSuiteDefinitionCommand).build() {
1113
+ static {
1114
+ __name(this, "UpdateSuiteDefinitionCommand");
1115
+ }
1090
1116
  };
1091
- __name(_UpdateSuiteDefinitionCommand, "UpdateSuiteDefinitionCommand");
1092
- var UpdateSuiteDefinitionCommand = _UpdateSuiteDefinitionCommand;
1093
1117
 
1094
1118
  // src/IotDeviceAdvisor.ts
1095
1119
  var commands = {
@@ -1108,10 +1132,11 @@ var commands = {
1108
1132
  UntagResourceCommand,
1109
1133
  UpdateSuiteDefinitionCommand
1110
1134
  };
1111
- var _IotDeviceAdvisor = class _IotDeviceAdvisor extends IotDeviceAdvisorClient {
1135
+ var IotDeviceAdvisor = class extends IotDeviceAdvisorClient {
1136
+ static {
1137
+ __name(this, "IotDeviceAdvisor");
1138
+ }
1112
1139
  };
1113
- __name(_IotDeviceAdvisor, "IotDeviceAdvisor");
1114
- var IotDeviceAdvisor = _IotDeviceAdvisor;
1115
1140
  (0, import_smithy_client.createAggregatedClient)(commands, IotDeviceAdvisor);
1116
1141
 
1117
1142
  // src/pagination/ListSuiteDefinitionsPaginator.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 IotDeviceAdvisorClient extends __Client {
17
+ config;
17
18
  constructor(...[configuration]) {
18
19
  const _config_0 = __getRuntimeConfig(configuration || {});
19
20
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -4,14 +4,14 @@ export const AuthenticationMethod = {
4
4
  X509ClientCertificate: "X509ClientCertificate",
5
5
  };
6
6
  export class ConflictException extends __BaseException {
7
+ name = "ConflictException";
8
+ $fault = "client";
7
9
  constructor(opts) {
8
10
  super({
9
11
  name: "ConflictException",
10
12
  $fault: "client",
11
13
  ...opts,
12
14
  });
13
- this.name = "ConflictException";
14
- this.$fault = "client";
15
15
  Object.setPrototypeOf(this, ConflictException.prototype);
16
16
  }
17
17
  }
@@ -22,38 +22,38 @@ export const Protocol = {
22
22
  MqttV5_OverWebSocket: "MqttV5_OverWebSocket",
23
23
  };
24
24
  export class InternalServerException extends __BaseException {
25
+ name = "InternalServerException";
26
+ $fault = "server";
25
27
  constructor(opts) {
26
28
  super({
27
29
  name: "InternalServerException",
28
30
  $fault: "server",
29
31
  ...opts,
30
32
  });
31
- this.name = "InternalServerException";
32
- this.$fault = "server";
33
33
  Object.setPrototypeOf(this, InternalServerException.prototype);
34
34
  }
35
35
  }
36
36
  export class ValidationException extends __BaseException {
37
+ name = "ValidationException";
38
+ $fault = "client";
37
39
  constructor(opts) {
38
40
  super({
39
41
  name: "ValidationException",
40
42
  $fault: "client",
41
43
  ...opts,
42
44
  });
43
- this.name = "ValidationException";
44
- this.$fault = "client";
45
45
  Object.setPrototypeOf(this, ValidationException.prototype);
46
46
  }
47
47
  }
48
48
  export class ResourceNotFoundException extends __BaseException {
49
+ name = "ResourceNotFoundException";
50
+ $fault = "client";
49
51
  constructor(opts) {
50
52
  super({
51
53
  name: "ResourceNotFoundException",
52
54
  $fault: "client",
53
55
  ...opts,
54
56
  });
55
- this.name = "ResourceNotFoundException";
56
- this.$fault = "client";
57
57
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
58
58
  }
59
59
  }
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: IotDeviceAdvisorClientConfig) =>
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: IotDeviceAdvisorClientConfig) =>
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: IotDeviceAdvisorClientConfig) =>
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: IotDeviceAdvisorClientConfig) =>
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-iotdeviceadvisor",
3
3
  "description": "AWS SDK for JavaScript Iotdeviceadvisor Client for Node.js, Browser and React Native",
4
- "version": "3.716.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-iotdeviceadvisor",
@@ -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.716.0",
24
- "@aws-sdk/client-sts": "3.716.0",
25
- "@aws-sdk/core": "3.716.0",
26
- "@aws-sdk/credential-provider-node": "3.716.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.716.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.716.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": {