@aws-sdk/client-account 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
@@ -157,7 +157,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
157
157
  }, "resolveRuntimeExtensions");
158
158
 
159
159
  // src/AccountClient.ts
160
- var _AccountClient = class _AccountClient extends import_smithy_client.Client {
160
+ var AccountClient = class extends import_smithy_client.Client {
161
+ static {
162
+ __name(this, "AccountClient");
163
+ }
164
+ /**
165
+ * The resolved configuration of AccountClient class. This is resolved and normalized from the {@link AccountClientConfig | constructor configuration interface}.
166
+ */
167
+ config;
161
168
  constructor(...[configuration]) {
162
169
  const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
163
170
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -167,7 +174,7 @@ var _AccountClient = class _AccountClient extends import_smithy_client.Client {
167
174
  const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
168
175
  const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
169
176
  const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
170
- const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
177
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
171
178
  super(_config_8);
172
179
  this.config = _config_8;
173
180
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
@@ -195,8 +202,6 @@ var _AccountClient = class _AccountClient extends import_smithy_client.Client {
195
202
  super.destroy();
196
203
  }
197
204
  };
198
- __name(_AccountClient, "AccountClient");
199
- var AccountClient = _AccountClient;
200
205
 
201
206
  // src/Account.ts
202
207
 
@@ -211,7 +216,10 @@ var import_middleware_serde = require("@smithy/middleware-serde");
211
216
 
212
217
  // src/models/AccountServiceException.ts
213
218
 
214
- var _AccountServiceException = class _AccountServiceException extends import_smithy_client.ServiceException {
219
+ var AccountServiceException = class _AccountServiceException extends import_smithy_client.ServiceException {
220
+ static {
221
+ __name(this, "AccountServiceException");
222
+ }
215
223
  /**
216
224
  * @internal
217
225
  */
@@ -220,15 +228,18 @@ var _AccountServiceException = class _AccountServiceException extends import_smi
220
228
  Object.setPrototypeOf(this, _AccountServiceException.prototype);
221
229
  }
222
230
  };
223
- __name(_AccountServiceException, "AccountServiceException");
224
- var AccountServiceException = _AccountServiceException;
225
231
 
226
232
  // src/models/models_0.ts
227
233
  var PrimaryEmailUpdateStatus = {
228
234
  ACCEPTED: "ACCEPTED",
229
235
  PENDING: "PENDING"
230
236
  };
231
- var _AccessDeniedException = class _AccessDeniedException extends AccountServiceException {
237
+ var AccessDeniedException = class _AccessDeniedException extends AccountServiceException {
238
+ static {
239
+ __name(this, "AccessDeniedException");
240
+ }
241
+ name = "AccessDeniedException";
242
+ $fault = "client";
232
243
  /**
233
244
  * @internal
234
245
  */
@@ -238,14 +249,15 @@ var _AccessDeniedException = class _AccessDeniedException extends AccountService
238
249
  $fault: "client",
239
250
  ...opts
240
251
  });
241
- this.name = "AccessDeniedException";
242
- this.$fault = "client";
243
252
  Object.setPrototypeOf(this, _AccessDeniedException.prototype);
244
253
  }
245
254
  };
246
- __name(_AccessDeniedException, "AccessDeniedException");
247
- var AccessDeniedException = _AccessDeniedException;
248
- var _ConflictException = class _ConflictException extends AccountServiceException {
255
+ var ConflictException = class _ConflictException extends AccountServiceException {
256
+ static {
257
+ __name(this, "ConflictException");
258
+ }
259
+ name = "ConflictException";
260
+ $fault = "client";
249
261
  /**
250
262
  * @internal
251
263
  */
@@ -255,14 +267,16 @@ var _ConflictException = class _ConflictException extends AccountServiceExceptio
255
267
  $fault: "client",
256
268
  ...opts
257
269
  });
258
- this.name = "ConflictException";
259
- this.$fault = "client";
260
270
  Object.setPrototypeOf(this, _ConflictException.prototype);
261
271
  }
262
272
  };
263
- __name(_ConflictException, "ConflictException");
264
- var ConflictException = _ConflictException;
265
- var _InternalServerException = class _InternalServerException extends AccountServiceException {
273
+ var InternalServerException = class _InternalServerException extends AccountServiceException {
274
+ static {
275
+ __name(this, "InternalServerException");
276
+ }
277
+ name = "InternalServerException";
278
+ $fault = "server";
279
+ $retryable = {};
266
280
  /**
267
281
  * @internal
268
282
  */
@@ -272,15 +286,15 @@ var _InternalServerException = class _InternalServerException extends AccountSer
272
286
  $fault: "server",
273
287
  ...opts
274
288
  });
275
- this.name = "InternalServerException";
276
- this.$fault = "server";
277
- this.$retryable = {};
278
289
  Object.setPrototypeOf(this, _InternalServerException.prototype);
279
290
  }
280
291
  };
281
- __name(_InternalServerException, "InternalServerException");
282
- var InternalServerException = _InternalServerException;
283
- var _ResourceNotFoundException = class _ResourceNotFoundException extends AccountServiceException {
292
+ var ResourceNotFoundException = class _ResourceNotFoundException extends AccountServiceException {
293
+ static {
294
+ __name(this, "ResourceNotFoundException");
295
+ }
296
+ name = "ResourceNotFoundException";
297
+ $fault = "client";
284
298
  /**
285
299
  * @internal
286
300
  */
@@ -290,14 +304,18 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends Accoun
290
304
  $fault: "client",
291
305
  ...opts
292
306
  });
293
- this.name = "ResourceNotFoundException";
294
- this.$fault = "client";
295
307
  Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
296
308
  }
297
309
  };
298
- __name(_ResourceNotFoundException, "ResourceNotFoundException");
299
- var ResourceNotFoundException = _ResourceNotFoundException;
300
- var _TooManyRequestsException = class _TooManyRequestsException extends AccountServiceException {
310
+ var TooManyRequestsException = class _TooManyRequestsException extends AccountServiceException {
311
+ static {
312
+ __name(this, "TooManyRequestsException");
313
+ }
314
+ name = "TooManyRequestsException";
315
+ $fault = "client";
316
+ $retryable = {
317
+ throttling: true
318
+ };
301
319
  /**
302
320
  * @internal
303
321
  */
@@ -307,21 +325,29 @@ var _TooManyRequestsException = class _TooManyRequestsException extends AccountS
307
325
  $fault: "client",
308
326
  ...opts
309
327
  });
310
- this.name = "TooManyRequestsException";
311
- this.$fault = "client";
312
- this.$retryable = {
313
- throttling: true
314
- };
315
328
  Object.setPrototypeOf(this, _TooManyRequestsException.prototype);
316
329
  }
317
330
  };
318
- __name(_TooManyRequestsException, "TooManyRequestsException");
319
- var TooManyRequestsException = _TooManyRequestsException;
320
331
  var ValidationExceptionReason = {
321
332
  FIELD_VALIDATION_FAILED: "fieldValidationFailed",
322
333
  INVALID_REGION_OPT_TARGET: "invalidRegionOptTarget"
323
334
  };
324
- var _ValidationException = class _ValidationException extends AccountServiceException {
335
+ var ValidationException = class _ValidationException extends AccountServiceException {
336
+ static {
337
+ __name(this, "ValidationException");
338
+ }
339
+ name = "ValidationException";
340
+ $fault = "client";
341
+ /**
342
+ * <p>The reason that validation failed.</p>
343
+ * @public
344
+ */
345
+ reason;
346
+ /**
347
+ * <p>The field where the invalid entry was detected.</p>
348
+ * @public
349
+ */
350
+ fieldList;
325
351
  /**
326
352
  * @internal
327
353
  */
@@ -331,15 +357,11 @@ var _ValidationException = class _ValidationException extends AccountServiceExce
331
357
  $fault: "client",
332
358
  ...opts
333
359
  });
334
- this.name = "ValidationException";
335
- this.$fault = "client";
336
360
  Object.setPrototypeOf(this, _ValidationException.prototype);
337
361
  this.reason = opts.reason;
338
362
  this.fieldList = opts.fieldList;
339
363
  }
340
364
  };
341
- __name(_ValidationException, "ValidationException");
342
- var ValidationException = _ValidationException;
343
365
  var AlternateContactType = {
344
366
  BILLING: "BILLING",
345
367
  OPERATIONS: "OPERATIONS",
@@ -885,169 +907,181 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
885
907
  }), "deserializeMetadata");
886
908
 
887
909
  // src/commands/AcceptPrimaryEmailUpdateCommand.ts
888
- var _AcceptPrimaryEmailUpdateCommand = class _AcceptPrimaryEmailUpdateCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
910
+ var AcceptPrimaryEmailUpdateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
889
911
  return [
890
912
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
891
913
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
892
914
  ];
893
915
  }).s("Account", "AcceptPrimaryEmailUpdate", {}).n("AccountClient", "AcceptPrimaryEmailUpdateCommand").f(AcceptPrimaryEmailUpdateRequestFilterSensitiveLog, void 0).ser(se_AcceptPrimaryEmailUpdateCommand).de(de_AcceptPrimaryEmailUpdateCommand).build() {
916
+ static {
917
+ __name(this, "AcceptPrimaryEmailUpdateCommand");
918
+ }
894
919
  };
895
- __name(_AcceptPrimaryEmailUpdateCommand, "AcceptPrimaryEmailUpdateCommand");
896
- var AcceptPrimaryEmailUpdateCommand = _AcceptPrimaryEmailUpdateCommand;
897
920
 
898
921
  // src/commands/DeleteAlternateContactCommand.ts
899
922
 
900
923
 
901
924
 
902
- var _DeleteAlternateContactCommand = class _DeleteAlternateContactCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
925
+ var DeleteAlternateContactCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
903
926
  return [
904
927
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
905
928
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
906
929
  ];
907
930
  }).s("Account", "DeleteAlternateContact", {}).n("AccountClient", "DeleteAlternateContactCommand").f(void 0, void 0).ser(se_DeleteAlternateContactCommand).de(de_DeleteAlternateContactCommand).build() {
931
+ static {
932
+ __name(this, "DeleteAlternateContactCommand");
933
+ }
908
934
  };
909
- __name(_DeleteAlternateContactCommand, "DeleteAlternateContactCommand");
910
- var DeleteAlternateContactCommand = _DeleteAlternateContactCommand;
911
935
 
912
936
  // src/commands/DisableRegionCommand.ts
913
937
 
914
938
 
915
939
 
916
- var _DisableRegionCommand = class _DisableRegionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
940
+ var DisableRegionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
917
941
  return [
918
942
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
919
943
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
920
944
  ];
921
945
  }).s("Account", "DisableRegion", {}).n("AccountClient", "DisableRegionCommand").f(void 0, void 0).ser(se_DisableRegionCommand).de(de_DisableRegionCommand).build() {
946
+ static {
947
+ __name(this, "DisableRegionCommand");
948
+ }
922
949
  };
923
- __name(_DisableRegionCommand, "DisableRegionCommand");
924
- var DisableRegionCommand = _DisableRegionCommand;
925
950
 
926
951
  // src/commands/EnableRegionCommand.ts
927
952
 
928
953
 
929
954
 
930
- var _EnableRegionCommand = class _EnableRegionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
955
+ var EnableRegionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
931
956
  return [
932
957
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
933
958
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
934
959
  ];
935
960
  }).s("Account", "EnableRegion", {}).n("AccountClient", "EnableRegionCommand").f(void 0, void 0).ser(se_EnableRegionCommand).de(de_EnableRegionCommand).build() {
961
+ static {
962
+ __name(this, "EnableRegionCommand");
963
+ }
936
964
  };
937
- __name(_EnableRegionCommand, "EnableRegionCommand");
938
- var EnableRegionCommand = _EnableRegionCommand;
939
965
 
940
966
  // src/commands/GetAlternateContactCommand.ts
941
967
 
942
968
 
943
969
 
944
- var _GetAlternateContactCommand = class _GetAlternateContactCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
970
+ var GetAlternateContactCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
945
971
  return [
946
972
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
947
973
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
948
974
  ];
949
975
  }).s("Account", "GetAlternateContact", {}).n("AccountClient", "GetAlternateContactCommand").f(void 0, GetAlternateContactResponseFilterSensitiveLog).ser(se_GetAlternateContactCommand).de(de_GetAlternateContactCommand).build() {
976
+ static {
977
+ __name(this, "GetAlternateContactCommand");
978
+ }
950
979
  };
951
- __name(_GetAlternateContactCommand, "GetAlternateContactCommand");
952
- var GetAlternateContactCommand = _GetAlternateContactCommand;
953
980
 
954
981
  // src/commands/GetContactInformationCommand.ts
955
982
 
956
983
 
957
984
 
958
- var _GetContactInformationCommand = class _GetContactInformationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
985
+ var GetContactInformationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
959
986
  return [
960
987
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
961
988
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
962
989
  ];
963
990
  }).s("Account", "GetContactInformation", {}).n("AccountClient", "GetContactInformationCommand").f(void 0, GetContactInformationResponseFilterSensitiveLog).ser(se_GetContactInformationCommand).de(de_GetContactInformationCommand).build() {
991
+ static {
992
+ __name(this, "GetContactInformationCommand");
993
+ }
964
994
  };
965
- __name(_GetContactInformationCommand, "GetContactInformationCommand");
966
- var GetContactInformationCommand = _GetContactInformationCommand;
967
995
 
968
996
  // src/commands/GetPrimaryEmailCommand.ts
969
997
 
970
998
 
971
999
 
972
- var _GetPrimaryEmailCommand = class _GetPrimaryEmailCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1000
+ var GetPrimaryEmailCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
973
1001
  return [
974
1002
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
975
1003
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
976
1004
  ];
977
1005
  }).s("Account", "GetPrimaryEmail", {}).n("AccountClient", "GetPrimaryEmailCommand").f(void 0, GetPrimaryEmailResponseFilterSensitiveLog).ser(se_GetPrimaryEmailCommand).de(de_GetPrimaryEmailCommand).build() {
1006
+ static {
1007
+ __name(this, "GetPrimaryEmailCommand");
1008
+ }
978
1009
  };
979
- __name(_GetPrimaryEmailCommand, "GetPrimaryEmailCommand");
980
- var GetPrimaryEmailCommand = _GetPrimaryEmailCommand;
981
1010
 
982
1011
  // src/commands/GetRegionOptStatusCommand.ts
983
1012
 
984
1013
 
985
1014
 
986
- var _GetRegionOptStatusCommand = class _GetRegionOptStatusCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1015
+ var GetRegionOptStatusCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
987
1016
  return [
988
1017
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
989
1018
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
990
1019
  ];
991
1020
  }).s("Account", "GetRegionOptStatus", {}).n("AccountClient", "GetRegionOptStatusCommand").f(void 0, void 0).ser(se_GetRegionOptStatusCommand).de(de_GetRegionOptStatusCommand).build() {
1021
+ static {
1022
+ __name(this, "GetRegionOptStatusCommand");
1023
+ }
992
1024
  };
993
- __name(_GetRegionOptStatusCommand, "GetRegionOptStatusCommand");
994
- var GetRegionOptStatusCommand = _GetRegionOptStatusCommand;
995
1025
 
996
1026
  // src/commands/ListRegionsCommand.ts
997
1027
 
998
1028
 
999
1029
 
1000
- var _ListRegionsCommand = class _ListRegionsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1030
+ var ListRegionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1001
1031
  return [
1002
1032
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1003
1033
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1004
1034
  ];
1005
1035
  }).s("Account", "ListRegions", {}).n("AccountClient", "ListRegionsCommand").f(void 0, void 0).ser(se_ListRegionsCommand).de(de_ListRegionsCommand).build() {
1036
+ static {
1037
+ __name(this, "ListRegionsCommand");
1038
+ }
1006
1039
  };
1007
- __name(_ListRegionsCommand, "ListRegionsCommand");
1008
- var ListRegionsCommand = _ListRegionsCommand;
1009
1040
 
1010
1041
  // src/commands/PutAlternateContactCommand.ts
1011
1042
 
1012
1043
 
1013
1044
 
1014
- var _PutAlternateContactCommand = class _PutAlternateContactCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1045
+ var PutAlternateContactCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1015
1046
  return [
1016
1047
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1017
1048
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1018
1049
  ];
1019
1050
  }).s("Account", "PutAlternateContact", {}).n("AccountClient", "PutAlternateContactCommand").f(PutAlternateContactRequestFilterSensitiveLog, void 0).ser(se_PutAlternateContactCommand).de(de_PutAlternateContactCommand).build() {
1051
+ static {
1052
+ __name(this, "PutAlternateContactCommand");
1053
+ }
1020
1054
  };
1021
- __name(_PutAlternateContactCommand, "PutAlternateContactCommand");
1022
- var PutAlternateContactCommand = _PutAlternateContactCommand;
1023
1055
 
1024
1056
  // src/commands/PutContactInformationCommand.ts
1025
1057
 
1026
1058
 
1027
1059
 
1028
- var _PutContactInformationCommand = class _PutContactInformationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1060
+ var PutContactInformationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1029
1061
  return [
1030
1062
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1031
1063
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1032
1064
  ];
1033
1065
  }).s("Account", "PutContactInformation", {}).n("AccountClient", "PutContactInformationCommand").f(PutContactInformationRequestFilterSensitiveLog, void 0).ser(se_PutContactInformationCommand).de(de_PutContactInformationCommand).build() {
1066
+ static {
1067
+ __name(this, "PutContactInformationCommand");
1068
+ }
1034
1069
  };
1035
- __name(_PutContactInformationCommand, "PutContactInformationCommand");
1036
- var PutContactInformationCommand = _PutContactInformationCommand;
1037
1070
 
1038
1071
  // src/commands/StartPrimaryEmailUpdateCommand.ts
1039
1072
 
1040
1073
 
1041
1074
 
1042
- var _StartPrimaryEmailUpdateCommand = class _StartPrimaryEmailUpdateCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1075
+ var StartPrimaryEmailUpdateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1043
1076
  return [
1044
1077
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1045
1078
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1046
1079
  ];
1047
1080
  }).s("Account", "StartPrimaryEmailUpdate", {}).n("AccountClient", "StartPrimaryEmailUpdateCommand").f(StartPrimaryEmailUpdateRequestFilterSensitiveLog, void 0).ser(se_StartPrimaryEmailUpdateCommand).de(de_StartPrimaryEmailUpdateCommand).build() {
1081
+ static {
1082
+ __name(this, "StartPrimaryEmailUpdateCommand");
1083
+ }
1048
1084
  };
1049
- __name(_StartPrimaryEmailUpdateCommand, "StartPrimaryEmailUpdateCommand");
1050
- var StartPrimaryEmailUpdateCommand = _StartPrimaryEmailUpdateCommand;
1051
1085
 
1052
1086
  // src/Account.ts
1053
1087
  var commands = {
@@ -1064,10 +1098,11 @@ var commands = {
1064
1098
  PutContactInformationCommand,
1065
1099
  StartPrimaryEmailUpdateCommand
1066
1100
  };
1067
- var _Account = class _Account extends AccountClient {
1101
+ var Account = class extends AccountClient {
1102
+ static {
1103
+ __name(this, "Account");
1104
+ }
1068
1105
  };
1069
- __name(_Account, "Account");
1070
- var Account = _Account;
1071
1106
  (0, import_smithy_client.createAggregatedClient)(commands, Account);
1072
1107
 
1073
1108
  // src/pagination/ListRegionsPaginator.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 AccountClient extends __Client {
17
+ config;
17
18
  constructor(...[configuration]) {
18
19
  const _config_0 = __getRuntimeConfig(configuration || {});
19
20
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -5,66 +5,66 @@ export const PrimaryEmailUpdateStatus = {
5
5
  PENDING: "PENDING",
6
6
  };
7
7
  export class AccessDeniedException extends __BaseException {
8
+ name = "AccessDeniedException";
9
+ $fault = "client";
8
10
  constructor(opts) {
9
11
  super({
10
12
  name: "AccessDeniedException",
11
13
  $fault: "client",
12
14
  ...opts,
13
15
  });
14
- this.name = "AccessDeniedException";
15
- this.$fault = "client";
16
16
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
17
17
  }
18
18
  }
19
19
  export class ConflictException extends __BaseException {
20
+ name = "ConflictException";
21
+ $fault = "client";
20
22
  constructor(opts) {
21
23
  super({
22
24
  name: "ConflictException",
23
25
  $fault: "client",
24
26
  ...opts,
25
27
  });
26
- this.name = "ConflictException";
27
- this.$fault = "client";
28
28
  Object.setPrototypeOf(this, ConflictException.prototype);
29
29
  }
30
30
  }
31
31
  export class InternalServerException extends __BaseException {
32
+ name = "InternalServerException";
33
+ $fault = "server";
34
+ $retryable = {};
32
35
  constructor(opts) {
33
36
  super({
34
37
  name: "InternalServerException",
35
38
  $fault: "server",
36
39
  ...opts,
37
40
  });
38
- this.name = "InternalServerException";
39
- this.$fault = "server";
40
- this.$retryable = {};
41
41
  Object.setPrototypeOf(this, InternalServerException.prototype);
42
42
  }
43
43
  }
44
44
  export class ResourceNotFoundException extends __BaseException {
45
+ name = "ResourceNotFoundException";
46
+ $fault = "client";
45
47
  constructor(opts) {
46
48
  super({
47
49
  name: "ResourceNotFoundException",
48
50
  $fault: "client",
49
51
  ...opts,
50
52
  });
51
- this.name = "ResourceNotFoundException";
52
- this.$fault = "client";
53
53
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
54
54
  }
55
55
  }
56
56
  export class TooManyRequestsException extends __BaseException {
57
+ name = "TooManyRequestsException";
58
+ $fault = "client";
59
+ $retryable = {
60
+ throttling: true,
61
+ };
57
62
  constructor(opts) {
58
63
  super({
59
64
  name: "TooManyRequestsException",
60
65
  $fault: "client",
61
66
  ...opts,
62
67
  });
63
- this.name = "TooManyRequestsException";
64
- this.$fault = "client";
65
- this.$retryable = {
66
- throttling: true,
67
- };
68
68
  Object.setPrototypeOf(this, TooManyRequestsException.prototype);
69
69
  }
70
70
  }
@@ -73,14 +73,16 @@ export const ValidationExceptionReason = {
73
73
  INVALID_REGION_OPT_TARGET: "invalidRegionOptTarget",
74
74
  };
75
75
  export class ValidationException extends __BaseException {
76
+ name = "ValidationException";
77
+ $fault = "client";
78
+ reason;
79
+ fieldList;
76
80
  constructor(opts) {
77
81
  super({
78
82
  name: "ValidationException",
79
83
  $fault: "client",
80
84
  ...opts,
81
85
  });
82
- this.name = "ValidationException";
83
- this.$fault = "client";
84
86
  Object.setPrototypeOf(this, ValidationException.prototype);
85
87
  this.reason = opts.reason;
86
88
  this.fieldList = opts.fieldList;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: AccountClientConfig) => {
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: AccountClientConfig) => {
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: AccountClientConfig) => {
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: AccountClientConfig) => {
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;
@@ -6,9 +6,11 @@ export declare const getRuntimeConfig: (config: AccountClientConfig) => {
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider: (
10
- input: any
11
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ _: unknown
13
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
12
14
  defaultUserAgentProvider: (
13
15
  config?:
14
16
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
@@ -6,13 +6,15 @@ export declare const getRuntimeConfig: (config: AccountClientConfig) => {
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider: (
10
- init?:
11
- | import("@aws-sdk/credential-provider-node").DefaultProviderInit
12
- | undefined
13
- ) => import("@smithy/types").MemoizedProvider<
14
- import("@smithy/types").AwsCredentialIdentity
15
- >;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ init?:
13
+ | import("@aws-sdk/credential-provider-node").DefaultProviderInit
14
+ | undefined
15
+ ) => import("@smithy/types").MemoizedProvider<
16
+ import("@smithy/types").AwsCredentialIdentity
17
+ >);
16
18
  defaultUserAgentProvider: (
17
19
  config?:
18
20
  | import("@aws-sdk/util-user-agent-node").PreviouslyResolved
@@ -28,9 +28,11 @@ export declare const getRuntimeConfig: (config: AccountClientConfig) => {
28
28
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
29
29
  | undefined
30
30
  ) => Promise<import("@smithy/types").UserAgent>;
31
- credentialDefaultProvider: (
32
- input: any
33
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
31
+ credentialDefaultProvider:
32
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
33
+ | ((
34
+ _: unknown
35
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
34
36
  maxAttempts: number | import("@smithy/types").Provider<number>;
35
37
  retryMode: string | import("@smithy/types").Provider<string>;
36
38
  logger: import("@smithy/types").Logger;
@@ -50,11 +52,21 @@ export declare const getRuntimeConfig: (config: AccountClientConfig) => {
50
52
  | import("@smithy/types").RetryStrategyV2
51
53
  | undefined;
52
54
  endpoint?:
53
- | string
54
- | import("@smithy/types").Endpoint
55
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
56
- | import("@smithy/types").EndpointV2
57
- | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
55
+ | ((
56
+ | string
57
+ | import("@smithy/types").Endpoint
58
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
59
+ | import("@smithy/types").EndpointV2
60
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
61
+ ) &
62
+ (
63
+ | string
64
+ | import("@smithy/types").Provider<string>
65
+ | import("@smithy/types").Endpoint
66
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
67
+ | import("@smithy/types").EndpointV2
68
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
69
+ ))
58
70
  | undefined;
59
71
  endpointProvider: (
60
72
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-account",
3
3
  "description": "AWS SDK for JavaScript Account 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-account",
@@ -20,56 +20,56 @@
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
  "tslib": "^2.6.2"
62
62
  },
63
63
  "devDependencies": {
64
- "@tsconfig/node16": "16.1.3",
65
- "@types/node": "^16.18.96",
64
+ "@tsconfig/node18": "18.2.4",
65
+ "@types/node": "^18.19.69",
66
66
  "concurrently": "7.0.0",
67
67
  "downlevel-dts": "0.10.1",
68
68
  "rimraf": "3.0.2",
69
- "typescript": "~4.9.5"
69
+ "typescript": "~5.2.2"
70
70
  },
71
71
  "engines": {
72
- "node": ">=16.0.0"
72
+ "node": ">=18.0.0"
73
73
  },
74
74
  "typesVersions": {
75
75
  "<4.0": {