@aws-sdk/client-support-app 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
@@ -144,7 +144,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
144
144
  }, "resolveRuntimeExtensions");
145
145
 
146
146
  // src/SupportAppClient.ts
147
- var _SupportAppClient = class _SupportAppClient extends import_smithy_client.Client {
147
+ var SupportAppClient = class extends import_smithy_client.Client {
148
+ static {
149
+ __name(this, "SupportAppClient");
150
+ }
151
+ /**
152
+ * The resolved configuration of SupportAppClient class. This is resolved and normalized from the {@link SupportAppClientConfig | constructor configuration interface}.
153
+ */
154
+ config;
148
155
  constructor(...[configuration]) {
149
156
  const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
150
157
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -154,7 +161,7 @@ var _SupportAppClient = class _SupportAppClient extends import_smithy_client.Cli
154
161
  const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
155
162
  const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
156
163
  const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
157
- const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
164
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
158
165
  super(_config_8);
159
166
  this.config = _config_8;
160
167
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
@@ -182,8 +189,6 @@ var _SupportAppClient = class _SupportAppClient extends import_smithy_client.Cli
182
189
  super.destroy();
183
190
  }
184
191
  };
185
- __name(_SupportAppClient, "SupportAppClient");
186
- var SupportAppClient = _SupportAppClient;
187
192
 
188
193
  // src/SupportApp.ts
189
194
 
@@ -200,7 +205,10 @@ var import_core2 = require("@aws-sdk/core");
200
205
 
201
206
  // src/models/SupportAppServiceException.ts
202
207
 
203
- var _SupportAppServiceException = class _SupportAppServiceException extends import_smithy_client.ServiceException {
208
+ var SupportAppServiceException = class _SupportAppServiceException extends import_smithy_client.ServiceException {
209
+ static {
210
+ __name(this, "SupportAppServiceException");
211
+ }
204
212
  /**
205
213
  * @internal
206
214
  */
@@ -209,11 +217,14 @@ var _SupportAppServiceException = class _SupportAppServiceException extends impo
209
217
  Object.setPrototypeOf(this, _SupportAppServiceException.prototype);
210
218
  }
211
219
  };
212
- __name(_SupportAppServiceException, "SupportAppServiceException");
213
- var SupportAppServiceException = _SupportAppServiceException;
214
220
 
215
221
  // src/models/models_0.ts
216
- var _AccessDeniedException = class _AccessDeniedException extends SupportAppServiceException {
222
+ var AccessDeniedException = class _AccessDeniedException extends SupportAppServiceException {
223
+ static {
224
+ __name(this, "AccessDeniedException");
225
+ }
226
+ name = "AccessDeniedException";
227
+ $fault = "client";
217
228
  /**
218
229
  * @internal
219
230
  */
@@ -223,18 +234,19 @@ var _AccessDeniedException = class _AccessDeniedException extends SupportAppServ
223
234
  $fault: "client",
224
235
  ...opts
225
236
  });
226
- this.name = "AccessDeniedException";
227
- this.$fault = "client";
228
237
  Object.setPrototypeOf(this, _AccessDeniedException.prototype);
229
238
  }
230
239
  };
231
- __name(_AccessDeniedException, "AccessDeniedException");
232
- var AccessDeniedException = _AccessDeniedException;
233
240
  var AccountType = {
234
241
  MANAGEMENT: "management",
235
242
  MEMBER: "member"
236
243
  };
237
- var _ConflictException = class _ConflictException extends SupportAppServiceException {
244
+ var ConflictException = class _ConflictException extends SupportAppServiceException {
245
+ static {
246
+ __name(this, "ConflictException");
247
+ }
248
+ name = "ConflictException";
249
+ $fault = "client";
238
250
  /**
239
251
  * @internal
240
252
  */
@@ -244,19 +256,20 @@ var _ConflictException = class _ConflictException extends SupportAppServiceExcep
244
256
  $fault: "client",
245
257
  ...opts
246
258
  });
247
- this.name = "ConflictException";
248
- this.$fault = "client";
249
259
  Object.setPrototypeOf(this, _ConflictException.prototype);
250
260
  }
251
261
  };
252
- __name(_ConflictException, "ConflictException");
253
- var ConflictException = _ConflictException;
254
262
  var NotificationSeverityLevel = {
255
263
  ALL: "all",
256
264
  HIGH: "high",
257
265
  NONE: "none"
258
266
  };
259
- var _InternalServerException = class _InternalServerException extends SupportAppServiceException {
267
+ var InternalServerException = class _InternalServerException extends SupportAppServiceException {
268
+ static {
269
+ __name(this, "InternalServerException");
270
+ }
271
+ name = "InternalServerException";
272
+ $fault = "server";
260
273
  /**
261
274
  * @internal
262
275
  */
@@ -266,14 +279,15 @@ var _InternalServerException = class _InternalServerException extends SupportApp
266
279
  $fault: "server",
267
280
  ...opts
268
281
  });
269
- this.name = "InternalServerException";
270
- this.$fault = "server";
271
282
  Object.setPrototypeOf(this, _InternalServerException.prototype);
272
283
  }
273
284
  };
274
- __name(_InternalServerException, "InternalServerException");
275
- var InternalServerException = _InternalServerException;
276
- var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends SupportAppServiceException {
285
+ var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends SupportAppServiceException {
286
+ static {
287
+ __name(this, "ServiceQuotaExceededException");
288
+ }
289
+ name = "ServiceQuotaExceededException";
290
+ $fault = "client";
277
291
  /**
278
292
  * @internal
279
293
  */
@@ -283,14 +297,15 @@ var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extend
283
297
  $fault: "client",
284
298
  ...opts
285
299
  });
286
- this.name = "ServiceQuotaExceededException";
287
- this.$fault = "client";
288
300
  Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
289
301
  }
290
302
  };
291
- __name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
292
- var ServiceQuotaExceededException = _ServiceQuotaExceededException;
293
- var _ValidationException = class _ValidationException extends SupportAppServiceException {
303
+ var ValidationException = class _ValidationException extends SupportAppServiceException {
304
+ static {
305
+ __name(this, "ValidationException");
306
+ }
307
+ name = "ValidationException";
308
+ $fault = "client";
294
309
  /**
295
310
  * @internal
296
311
  */
@@ -300,14 +315,15 @@ var _ValidationException = class _ValidationException extends SupportAppServiceE
300
315
  $fault: "client",
301
316
  ...opts
302
317
  });
303
- this.name = "ValidationException";
304
- this.$fault = "client";
305
318
  Object.setPrototypeOf(this, _ValidationException.prototype);
306
319
  }
307
320
  };
308
- __name(_ValidationException, "ValidationException");
309
- var ValidationException = _ValidationException;
310
- var _ResourceNotFoundException = class _ResourceNotFoundException extends SupportAppServiceException {
321
+ var ResourceNotFoundException = class _ResourceNotFoundException extends SupportAppServiceException {
322
+ static {
323
+ __name(this, "ResourceNotFoundException");
324
+ }
325
+ name = "ResourceNotFoundException";
326
+ $fault = "client";
311
327
  /**
312
328
  * @internal
313
329
  */
@@ -317,13 +333,9 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends Suppor
317
333
  $fault: "client",
318
334
  ...opts
319
335
  });
320
- this.name = "ResourceNotFoundException";
321
- this.$fault = "client";
322
336
  Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
323
337
  }
324
338
  };
325
- __name(_ResourceNotFoundException, "ResourceNotFoundException");
326
- var ResourceNotFoundException = _ResourceNotFoundException;
327
339
 
328
340
  // src/protocols/Aws_restJson1.ts
329
341
  var se_CreateSlackChannelConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
@@ -729,141 +741,151 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
729
741
  }), "deserializeMetadata");
730
742
 
731
743
  // src/commands/CreateSlackChannelConfigurationCommand.ts
732
- var _CreateSlackChannelConfigurationCommand = class _CreateSlackChannelConfigurationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
744
+ var CreateSlackChannelConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
733
745
  return [
734
746
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
735
747
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
736
748
  ];
737
749
  }).s("SupportApp", "CreateSlackChannelConfiguration", {}).n("SupportAppClient", "CreateSlackChannelConfigurationCommand").f(void 0, void 0).ser(se_CreateSlackChannelConfigurationCommand).de(de_CreateSlackChannelConfigurationCommand).build() {
750
+ static {
751
+ __name(this, "CreateSlackChannelConfigurationCommand");
752
+ }
738
753
  };
739
- __name(_CreateSlackChannelConfigurationCommand, "CreateSlackChannelConfigurationCommand");
740
- var CreateSlackChannelConfigurationCommand = _CreateSlackChannelConfigurationCommand;
741
754
 
742
755
  // src/commands/DeleteAccountAliasCommand.ts
743
756
 
744
757
 
745
758
 
746
- var _DeleteAccountAliasCommand = class _DeleteAccountAliasCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
759
+ var DeleteAccountAliasCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
747
760
  return [
748
761
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
749
762
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
750
763
  ];
751
764
  }).s("SupportApp", "DeleteAccountAlias", {}).n("SupportAppClient", "DeleteAccountAliasCommand").f(void 0, void 0).ser(se_DeleteAccountAliasCommand).de(de_DeleteAccountAliasCommand).build() {
765
+ static {
766
+ __name(this, "DeleteAccountAliasCommand");
767
+ }
752
768
  };
753
- __name(_DeleteAccountAliasCommand, "DeleteAccountAliasCommand");
754
- var DeleteAccountAliasCommand = _DeleteAccountAliasCommand;
755
769
 
756
770
  // src/commands/DeleteSlackChannelConfigurationCommand.ts
757
771
 
758
772
 
759
773
 
760
- var _DeleteSlackChannelConfigurationCommand = class _DeleteSlackChannelConfigurationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
774
+ var DeleteSlackChannelConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
761
775
  return [
762
776
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
763
777
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
764
778
  ];
765
779
  }).s("SupportApp", "DeleteSlackChannelConfiguration", {}).n("SupportAppClient", "DeleteSlackChannelConfigurationCommand").f(void 0, void 0).ser(se_DeleteSlackChannelConfigurationCommand).de(de_DeleteSlackChannelConfigurationCommand).build() {
780
+ static {
781
+ __name(this, "DeleteSlackChannelConfigurationCommand");
782
+ }
766
783
  };
767
- __name(_DeleteSlackChannelConfigurationCommand, "DeleteSlackChannelConfigurationCommand");
768
- var DeleteSlackChannelConfigurationCommand = _DeleteSlackChannelConfigurationCommand;
769
784
 
770
785
  // src/commands/DeleteSlackWorkspaceConfigurationCommand.ts
771
786
 
772
787
 
773
788
 
774
- var _DeleteSlackWorkspaceConfigurationCommand = class _DeleteSlackWorkspaceConfigurationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
789
+ var DeleteSlackWorkspaceConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
775
790
  return [
776
791
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
777
792
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
778
793
  ];
779
794
  }).s("SupportApp", "DeleteSlackWorkspaceConfiguration", {}).n("SupportAppClient", "DeleteSlackWorkspaceConfigurationCommand").f(void 0, void 0).ser(se_DeleteSlackWorkspaceConfigurationCommand).de(de_DeleteSlackWorkspaceConfigurationCommand).build() {
795
+ static {
796
+ __name(this, "DeleteSlackWorkspaceConfigurationCommand");
797
+ }
780
798
  };
781
- __name(_DeleteSlackWorkspaceConfigurationCommand, "DeleteSlackWorkspaceConfigurationCommand");
782
- var DeleteSlackWorkspaceConfigurationCommand = _DeleteSlackWorkspaceConfigurationCommand;
783
799
 
784
800
  // src/commands/GetAccountAliasCommand.ts
785
801
 
786
802
 
787
803
 
788
- var _GetAccountAliasCommand = class _GetAccountAliasCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
804
+ var GetAccountAliasCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
789
805
  return [
790
806
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
791
807
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
792
808
  ];
793
809
  }).s("SupportApp", "GetAccountAlias", {}).n("SupportAppClient", "GetAccountAliasCommand").f(void 0, void 0).ser(se_GetAccountAliasCommand).de(de_GetAccountAliasCommand).build() {
810
+ static {
811
+ __name(this, "GetAccountAliasCommand");
812
+ }
794
813
  };
795
- __name(_GetAccountAliasCommand, "GetAccountAliasCommand");
796
- var GetAccountAliasCommand = _GetAccountAliasCommand;
797
814
 
798
815
  // src/commands/ListSlackChannelConfigurationsCommand.ts
799
816
 
800
817
 
801
818
 
802
- var _ListSlackChannelConfigurationsCommand = class _ListSlackChannelConfigurationsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
819
+ var ListSlackChannelConfigurationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
803
820
  return [
804
821
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
805
822
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
806
823
  ];
807
824
  }).s("SupportApp", "ListSlackChannelConfigurations", {}).n("SupportAppClient", "ListSlackChannelConfigurationsCommand").f(void 0, void 0).ser(se_ListSlackChannelConfigurationsCommand).de(de_ListSlackChannelConfigurationsCommand).build() {
825
+ static {
826
+ __name(this, "ListSlackChannelConfigurationsCommand");
827
+ }
808
828
  };
809
- __name(_ListSlackChannelConfigurationsCommand, "ListSlackChannelConfigurationsCommand");
810
- var ListSlackChannelConfigurationsCommand = _ListSlackChannelConfigurationsCommand;
811
829
 
812
830
  // src/commands/ListSlackWorkspaceConfigurationsCommand.ts
813
831
 
814
832
 
815
833
 
816
- var _ListSlackWorkspaceConfigurationsCommand = class _ListSlackWorkspaceConfigurationsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
834
+ var ListSlackWorkspaceConfigurationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
817
835
  return [
818
836
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
819
837
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
820
838
  ];
821
839
  }).s("SupportApp", "ListSlackWorkspaceConfigurations", {}).n("SupportAppClient", "ListSlackWorkspaceConfigurationsCommand").f(void 0, void 0).ser(se_ListSlackWorkspaceConfigurationsCommand).de(de_ListSlackWorkspaceConfigurationsCommand).build() {
840
+ static {
841
+ __name(this, "ListSlackWorkspaceConfigurationsCommand");
842
+ }
822
843
  };
823
- __name(_ListSlackWorkspaceConfigurationsCommand, "ListSlackWorkspaceConfigurationsCommand");
824
- var ListSlackWorkspaceConfigurationsCommand = _ListSlackWorkspaceConfigurationsCommand;
825
844
 
826
845
  // src/commands/PutAccountAliasCommand.ts
827
846
 
828
847
 
829
848
 
830
- var _PutAccountAliasCommand = class _PutAccountAliasCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
849
+ var PutAccountAliasCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
831
850
  return [
832
851
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
833
852
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
834
853
  ];
835
854
  }).s("SupportApp", "PutAccountAlias", {}).n("SupportAppClient", "PutAccountAliasCommand").f(void 0, void 0).ser(se_PutAccountAliasCommand).de(de_PutAccountAliasCommand).build() {
855
+ static {
856
+ __name(this, "PutAccountAliasCommand");
857
+ }
836
858
  };
837
- __name(_PutAccountAliasCommand, "PutAccountAliasCommand");
838
- var PutAccountAliasCommand = _PutAccountAliasCommand;
839
859
 
840
860
  // src/commands/RegisterSlackWorkspaceForOrganizationCommand.ts
841
861
 
842
862
 
843
863
 
844
- var _RegisterSlackWorkspaceForOrganizationCommand = class _RegisterSlackWorkspaceForOrganizationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
864
+ var RegisterSlackWorkspaceForOrganizationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
845
865
  return [
846
866
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
847
867
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
848
868
  ];
849
869
  }).s("SupportApp", "RegisterSlackWorkspaceForOrganization", {}).n("SupportAppClient", "RegisterSlackWorkspaceForOrganizationCommand").f(void 0, void 0).ser(se_RegisterSlackWorkspaceForOrganizationCommand).de(de_RegisterSlackWorkspaceForOrganizationCommand).build() {
870
+ static {
871
+ __name(this, "RegisterSlackWorkspaceForOrganizationCommand");
872
+ }
850
873
  };
851
- __name(_RegisterSlackWorkspaceForOrganizationCommand, "RegisterSlackWorkspaceForOrganizationCommand");
852
- var RegisterSlackWorkspaceForOrganizationCommand = _RegisterSlackWorkspaceForOrganizationCommand;
853
874
 
854
875
  // src/commands/UpdateSlackChannelConfigurationCommand.ts
855
876
 
856
877
 
857
878
 
858
- var _UpdateSlackChannelConfigurationCommand = class _UpdateSlackChannelConfigurationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
879
+ var UpdateSlackChannelConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
859
880
  return [
860
881
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
861
882
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
862
883
  ];
863
884
  }).s("SupportApp", "UpdateSlackChannelConfiguration", {}).n("SupportAppClient", "UpdateSlackChannelConfigurationCommand").f(void 0, void 0).ser(se_UpdateSlackChannelConfigurationCommand).de(de_UpdateSlackChannelConfigurationCommand).build() {
885
+ static {
886
+ __name(this, "UpdateSlackChannelConfigurationCommand");
887
+ }
864
888
  };
865
- __name(_UpdateSlackChannelConfigurationCommand, "UpdateSlackChannelConfigurationCommand");
866
- var UpdateSlackChannelConfigurationCommand = _UpdateSlackChannelConfigurationCommand;
867
889
 
868
890
  // src/SupportApp.ts
869
891
  var commands = {
@@ -878,10 +900,11 @@ var commands = {
878
900
  RegisterSlackWorkspaceForOrganizationCommand,
879
901
  UpdateSlackChannelConfigurationCommand
880
902
  };
881
- var _SupportApp = class _SupportApp extends SupportAppClient {
903
+ var SupportApp = class extends SupportAppClient {
904
+ static {
905
+ __name(this, "SupportApp");
906
+ }
882
907
  };
883
- __name(_SupportApp, "SupportApp");
884
- var SupportApp = _SupportApp;
885
908
  (0, import_smithy_client.createAggregatedClient)(commands, SupportApp);
886
909
 
887
910
  // src/pagination/ListSlackChannelConfigurationsPaginator.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 SupportAppClient 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 { SupportAppServiceException as __BaseException } from "./SupportAppServiceException";
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
  }
@@ -16,14 +16,14 @@ export const AccountType = {
16
16
  MEMBER: "member",
17
17
  };
18
18
  export class ConflictException extends __BaseException {
19
+ name = "ConflictException";
20
+ $fault = "client";
19
21
  constructor(opts) {
20
22
  super({
21
23
  name: "ConflictException",
22
24
  $fault: "client",
23
25
  ...opts,
24
26
  });
25
- this.name = "ConflictException";
26
- this.$fault = "client";
27
27
  Object.setPrototypeOf(this, ConflictException.prototype);
28
28
  }
29
29
  }
@@ -33,50 +33,50 @@ export const NotificationSeverityLevel = {
33
33
  NONE: "none",
34
34
  };
35
35
  export class InternalServerException extends __BaseException {
36
+ name = "InternalServerException";
37
+ $fault = "server";
36
38
  constructor(opts) {
37
39
  super({
38
40
  name: "InternalServerException",
39
41
  $fault: "server",
40
42
  ...opts,
41
43
  });
42
- this.name = "InternalServerException";
43
- this.$fault = "server";
44
44
  Object.setPrototypeOf(this, InternalServerException.prototype);
45
45
  }
46
46
  }
47
47
  export class ServiceQuotaExceededException extends __BaseException {
48
+ name = "ServiceQuotaExceededException";
49
+ $fault = "client";
48
50
  constructor(opts) {
49
51
  super({
50
52
  name: "ServiceQuotaExceededException",
51
53
  $fault: "client",
52
54
  ...opts,
53
55
  });
54
- this.name = "ServiceQuotaExceededException";
55
- this.$fault = "client";
56
56
  Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
57
57
  }
58
58
  }
59
59
  export class ValidationException extends __BaseException {
60
+ name = "ValidationException";
61
+ $fault = "client";
60
62
  constructor(opts) {
61
63
  super({
62
64
  name: "ValidationException",
63
65
  $fault: "client",
64
66
  ...opts,
65
67
  });
66
- this.name = "ValidationException";
67
- this.$fault = "client";
68
68
  Object.setPrototypeOf(this, ValidationException.prototype);
69
69
  }
70
70
  }
71
71
  export class ResourceNotFoundException extends __BaseException {
72
+ name = "ResourceNotFoundException";
73
+ $fault = "client";
72
74
  constructor(opts) {
73
75
  super({
74
76
  name: "ResourceNotFoundException",
75
77
  $fault: "client",
76
78
  ...opts,
77
79
  });
78
- this.name = "ResourceNotFoundException";
79
- this.$fault = "client";
80
80
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
81
81
  }
82
82
  }
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: SupportAppClientConfig) => {
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: SupportAppClientConfig) => {
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: SupportAppClientConfig) => {
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: SupportAppClientConfig) => {
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: SupportAppClientConfig) => {
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: SupportAppClientConfig) => {
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: SupportAppClientConfig) => {
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: SupportAppClientConfig) => {
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-support-app",
3
3
  "description": "AWS SDK for JavaScript Support App 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-support-app",
@@ -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": {