@aws-sdk/client-ivschat 3.1077.0 → 3.1078.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/dist-cjs/index.js +25 -173
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/CreateChatTokenCommand.js +2 -14
  4. package/dist-es/commands/CreateLoggingConfigurationCommand.js +2 -14
  5. package/dist-es/commands/CreateRoomCommand.js +2 -14
  6. package/dist-es/commands/DeleteLoggingConfigurationCommand.js +2 -14
  7. package/dist-es/commands/DeleteMessageCommand.js +2 -14
  8. package/dist-es/commands/DeleteRoomCommand.js +2 -14
  9. package/dist-es/commands/DisconnectUserCommand.js +2 -14
  10. package/dist-es/commands/GetLoggingConfigurationCommand.js +2 -14
  11. package/dist-es/commands/GetRoomCommand.js +2 -14
  12. package/dist-es/commands/ListLoggingConfigurationsCommand.js +2 -14
  13. package/dist-es/commands/ListRoomsCommand.js +2 -14
  14. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  15. package/dist-es/commands/SendEventCommand.js +2 -14
  16. package/dist-es/commands/TagResourceCommand.js +2 -14
  17. package/dist-es/commands/UntagResourceCommand.js +2 -14
  18. package/dist-es/commands/UpdateLoggingConfigurationCommand.js +2 -14
  19. package/dist-es/commands/UpdateRoomCommand.js +2 -14
  20. package/dist-es/index.js +1 -0
  21. package/dist-types/commandBuilder.d.ts +18 -0
  22. package/dist-types/commands/CreateChatTokenCommand.d.ts +3 -8
  23. package/dist-types/commands/CreateLoggingConfigurationCommand.d.ts +3 -8
  24. package/dist-types/commands/CreateRoomCommand.d.ts +3 -8
  25. package/dist-types/commands/DeleteLoggingConfigurationCommand.d.ts +3 -8
  26. package/dist-types/commands/DeleteMessageCommand.d.ts +3 -8
  27. package/dist-types/commands/DeleteRoomCommand.d.ts +3 -8
  28. package/dist-types/commands/DisconnectUserCommand.d.ts +3 -8
  29. package/dist-types/commands/GetLoggingConfigurationCommand.d.ts +3 -8
  30. package/dist-types/commands/GetRoomCommand.d.ts +3 -8
  31. package/dist-types/commands/ListLoggingConfigurationsCommand.d.ts +3 -8
  32. package/dist-types/commands/ListRoomsCommand.d.ts +3 -8
  33. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  34. package/dist-types/commands/SendEventCommand.d.ts +3 -8
  35. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  36. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  37. package/dist-types/commands/UpdateLoggingConfigurationCommand.d.ts +3 -8
  38. package/dist-types/commands/UpdateRoomCommand.d.ts +3 -8
  39. package/dist-types/index.d.ts +1 -0
  40. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  41. package/dist-types/ts3.4/commands/CreateChatTokenCommand.d.ts +7 -16
  42. package/dist-types/ts3.4/commands/CreateLoggingConfigurationCommand.d.ts +7 -16
  43. package/dist-types/ts3.4/commands/CreateRoomCommand.d.ts +7 -16
  44. package/dist-types/ts3.4/commands/DeleteLoggingConfigurationCommand.d.ts +7 -16
  45. package/dist-types/ts3.4/commands/DeleteMessageCommand.d.ts +7 -16
  46. package/dist-types/ts3.4/commands/DeleteRoomCommand.d.ts +7 -16
  47. package/dist-types/ts3.4/commands/DisconnectUserCommand.d.ts +7 -16
  48. package/dist-types/ts3.4/commands/GetLoggingConfigurationCommand.d.ts +7 -16
  49. package/dist-types/ts3.4/commands/GetRoomCommand.d.ts +7 -16
  50. package/dist-types/ts3.4/commands/ListLoggingConfigurationsCommand.d.ts +7 -16
  51. package/dist-types/ts3.4/commands/ListRoomsCommand.d.ts +7 -16
  52. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  53. package/dist-types/ts3.4/commands/SendEventCommand.d.ts +7 -16
  54. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  55. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  56. package/dist-types/ts3.4/commands/UpdateLoggingConfigurationCommand.d.ts +7 -16
  57. package/dist-types/ts3.4/commands/UpdateRoomCommand.d.ts +7 -16
  58. package/dist-types/ts3.4/index.d.ts +1 -0
  59. package/package.json +8 -8
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -68,7 +69,7 @@ const commonParams = {
68
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
69
70
  };
70
71
 
71
- var version = "3.1076.0";
72
+ var version = "3.1077.0";
72
73
  var packageInfo = {
73
74
  version: version};
74
75
 
@@ -850,208 +851,59 @@ class IvschatClient extends Client {
850
851
  }
851
852
  }
852
853
 
853
- class CreateChatTokenCommand extends Command
854
- .classBuilder()
855
- .ep(commonParams)
856
- .m(function (Command, cs, config, o) {
857
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
858
- })
859
- .s("AmazonInteractiveVideoServiceChat", "CreateChatToken", {})
860
- .n("IvschatClient", "CreateChatTokenCommand")
861
- .sc(CreateChatToken$)
862
- .build() {
854
+ const command = makeBuilder(commonParams, "AmazonInteractiveVideoServiceChat", "IvschatClient", getEndpointPlugin);
855
+ const _ep0 = {};
856
+ const _mw0 = (Command, cs, config, o) => [];
857
+
858
+ class CreateChatTokenCommand extends command(_ep0, _mw0, "CreateChatToken", CreateChatToken$) {
863
859
  }
864
860
 
865
- class CreateLoggingConfigurationCommand extends Command
866
- .classBuilder()
867
- .ep(commonParams)
868
- .m(function (Command, cs, config, o) {
869
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
870
- })
871
- .s("AmazonInteractiveVideoServiceChat", "CreateLoggingConfiguration", {})
872
- .n("IvschatClient", "CreateLoggingConfigurationCommand")
873
- .sc(CreateLoggingConfiguration$)
874
- .build() {
861
+ class CreateLoggingConfigurationCommand extends command(_ep0, _mw0, "CreateLoggingConfiguration", CreateLoggingConfiguration$) {
875
862
  }
876
863
 
877
- class CreateRoomCommand extends Command
878
- .classBuilder()
879
- .ep(commonParams)
880
- .m(function (Command, cs, config, o) {
881
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
882
- })
883
- .s("AmazonInteractiveVideoServiceChat", "CreateRoom", {})
884
- .n("IvschatClient", "CreateRoomCommand")
885
- .sc(CreateRoom$)
886
- .build() {
864
+ class CreateRoomCommand extends command(_ep0, _mw0, "CreateRoom", CreateRoom$) {
887
865
  }
888
866
 
889
- class DeleteLoggingConfigurationCommand extends Command
890
- .classBuilder()
891
- .ep(commonParams)
892
- .m(function (Command, cs, config, o) {
893
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
894
- })
895
- .s("AmazonInteractiveVideoServiceChat", "DeleteLoggingConfiguration", {})
896
- .n("IvschatClient", "DeleteLoggingConfigurationCommand")
897
- .sc(DeleteLoggingConfiguration$)
898
- .build() {
867
+ class DeleteLoggingConfigurationCommand extends command(_ep0, _mw0, "DeleteLoggingConfiguration", DeleteLoggingConfiguration$) {
899
868
  }
900
869
 
901
- class DeleteMessageCommand extends Command
902
- .classBuilder()
903
- .ep(commonParams)
904
- .m(function (Command, cs, config, o) {
905
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
906
- })
907
- .s("AmazonInteractiveVideoServiceChat", "DeleteMessage", {})
908
- .n("IvschatClient", "DeleteMessageCommand")
909
- .sc(DeleteMessage$)
910
- .build() {
870
+ class DeleteMessageCommand extends command(_ep0, _mw0, "DeleteMessage", DeleteMessage$) {
911
871
  }
912
872
 
913
- class DeleteRoomCommand extends Command
914
- .classBuilder()
915
- .ep(commonParams)
916
- .m(function (Command, cs, config, o) {
917
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
918
- })
919
- .s("AmazonInteractiveVideoServiceChat", "DeleteRoom", {})
920
- .n("IvschatClient", "DeleteRoomCommand")
921
- .sc(DeleteRoom$)
922
- .build() {
873
+ class DeleteRoomCommand extends command(_ep0, _mw0, "DeleteRoom", DeleteRoom$) {
923
874
  }
924
875
 
925
- class DisconnectUserCommand extends Command
926
- .classBuilder()
927
- .ep(commonParams)
928
- .m(function (Command, cs, config, o) {
929
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
930
- })
931
- .s("AmazonInteractiveVideoServiceChat", "DisconnectUser", {})
932
- .n("IvschatClient", "DisconnectUserCommand")
933
- .sc(DisconnectUser$)
934
- .build() {
876
+ class DisconnectUserCommand extends command(_ep0, _mw0, "DisconnectUser", DisconnectUser$) {
935
877
  }
936
878
 
937
- class GetLoggingConfigurationCommand extends Command
938
- .classBuilder()
939
- .ep(commonParams)
940
- .m(function (Command, cs, config, o) {
941
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
942
- })
943
- .s("AmazonInteractiveVideoServiceChat", "GetLoggingConfiguration", {})
944
- .n("IvschatClient", "GetLoggingConfigurationCommand")
945
- .sc(GetLoggingConfiguration$)
946
- .build() {
879
+ class GetLoggingConfigurationCommand extends command(_ep0, _mw0, "GetLoggingConfiguration", GetLoggingConfiguration$) {
947
880
  }
948
881
 
949
- class GetRoomCommand extends Command
950
- .classBuilder()
951
- .ep(commonParams)
952
- .m(function (Command, cs, config, o) {
953
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
954
- })
955
- .s("AmazonInteractiveVideoServiceChat", "GetRoom", {})
956
- .n("IvschatClient", "GetRoomCommand")
957
- .sc(GetRoom$)
958
- .build() {
882
+ class GetRoomCommand extends command(_ep0, _mw0, "GetRoom", GetRoom$) {
959
883
  }
960
884
 
961
- class ListLoggingConfigurationsCommand extends Command
962
- .classBuilder()
963
- .ep(commonParams)
964
- .m(function (Command, cs, config, o) {
965
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
966
- })
967
- .s("AmazonInteractiveVideoServiceChat", "ListLoggingConfigurations", {})
968
- .n("IvschatClient", "ListLoggingConfigurationsCommand")
969
- .sc(ListLoggingConfigurations$)
970
- .build() {
885
+ class ListLoggingConfigurationsCommand extends command(_ep0, _mw0, "ListLoggingConfigurations", ListLoggingConfigurations$) {
971
886
  }
972
887
 
973
- class ListRoomsCommand extends Command
974
- .classBuilder()
975
- .ep(commonParams)
976
- .m(function (Command, cs, config, o) {
977
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
978
- })
979
- .s("AmazonInteractiveVideoServiceChat", "ListRooms", {})
980
- .n("IvschatClient", "ListRoomsCommand")
981
- .sc(ListRooms$)
982
- .build() {
888
+ class ListRoomsCommand extends command(_ep0, _mw0, "ListRooms", ListRooms$) {
983
889
  }
984
890
 
985
- class ListTagsForResourceCommand extends Command
986
- .classBuilder()
987
- .ep(commonParams)
988
- .m(function (Command, cs, config, o) {
989
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
990
- })
991
- .s("AmazonInteractiveVideoServiceChat", "ListTagsForResource", {})
992
- .n("IvschatClient", "ListTagsForResourceCommand")
993
- .sc(ListTagsForResource$)
994
- .build() {
891
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
995
892
  }
996
893
 
997
- class SendEventCommand extends Command
998
- .classBuilder()
999
- .ep(commonParams)
1000
- .m(function (Command, cs, config, o) {
1001
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1002
- })
1003
- .s("AmazonInteractiveVideoServiceChat", "SendEvent", {})
1004
- .n("IvschatClient", "SendEventCommand")
1005
- .sc(SendEvent$)
1006
- .build() {
894
+ class SendEventCommand extends command(_ep0, _mw0, "SendEvent", SendEvent$) {
1007
895
  }
1008
896
 
1009
- class TagResourceCommand extends Command
1010
- .classBuilder()
1011
- .ep(commonParams)
1012
- .m(function (Command, cs, config, o) {
1013
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1014
- })
1015
- .s("AmazonInteractiveVideoServiceChat", "TagResource", {})
1016
- .n("IvschatClient", "TagResourceCommand")
1017
- .sc(TagResource$)
1018
- .build() {
897
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1019
898
  }
1020
899
 
1021
- class UntagResourceCommand extends Command
1022
- .classBuilder()
1023
- .ep(commonParams)
1024
- .m(function (Command, cs, config, o) {
1025
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1026
- })
1027
- .s("AmazonInteractiveVideoServiceChat", "UntagResource", {})
1028
- .n("IvschatClient", "UntagResourceCommand")
1029
- .sc(UntagResource$)
1030
- .build() {
900
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1031
901
  }
1032
902
 
1033
- class UpdateLoggingConfigurationCommand extends Command
1034
- .classBuilder()
1035
- .ep(commonParams)
1036
- .m(function (Command, cs, config, o) {
1037
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1038
- })
1039
- .s("AmazonInteractiveVideoServiceChat", "UpdateLoggingConfiguration", {})
1040
- .n("IvschatClient", "UpdateLoggingConfigurationCommand")
1041
- .sc(UpdateLoggingConfiguration$)
1042
- .build() {
903
+ class UpdateLoggingConfigurationCommand extends command(_ep0, _mw0, "UpdateLoggingConfiguration", UpdateLoggingConfiguration$) {
1043
904
  }
1044
905
 
1045
- class UpdateRoomCommand extends Command
1046
- .classBuilder()
1047
- .ep(commonParams)
1048
- .m(function (Command, cs, config, o) {
1049
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1050
- })
1051
- .s("AmazonInteractiveVideoServiceChat", "UpdateRoom", {})
1052
- .n("IvschatClient", "UpdateRoomCommand")
1053
- .sc(UpdateRoom$)
1054
- .build() {
906
+ class UpdateRoomCommand extends command(_ep0, _mw0, "UpdateRoom", UpdateRoom$) {
1055
907
  }
1056
908
 
1057
909
  const paginateListLoggingConfigurations = createPaginator(IvschatClient, ListLoggingConfigurationsCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,6 @@
1
+ import { makeBuilder } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "./endpoint/EndpointParameters";
4
+ export const command = makeBuilder(commonParams, "AmazonInteractiveVideoServiceChat", "IvschatClient", getEndpointPlugin);
5
+ export const _ep0 = {};
6
+ export const _mw0 = (Command, cs, config, o) => [];
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateChatToken$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateChatTokenCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonInteractiveVideoServiceChat", "CreateChatToken", {})
13
- .n("IvschatClient", "CreateChatTokenCommand")
14
- .sc(CreateChatToken$)
15
- .build() {
3
+ export class CreateChatTokenCommand extends command(_ep0, _mw0, "CreateChatToken", CreateChatToken$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateLoggingConfiguration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateLoggingConfigurationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonInteractiveVideoServiceChat", "CreateLoggingConfiguration", {})
13
- .n("IvschatClient", "CreateLoggingConfigurationCommand")
14
- .sc(CreateLoggingConfiguration$)
15
- .build() {
3
+ export class CreateLoggingConfigurationCommand extends command(_ep0, _mw0, "CreateLoggingConfiguration", CreateLoggingConfiguration$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateRoom$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateRoomCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonInteractiveVideoServiceChat", "CreateRoom", {})
13
- .n("IvschatClient", "CreateRoomCommand")
14
- .sc(CreateRoom$)
15
- .build() {
3
+ export class CreateRoomCommand extends command(_ep0, _mw0, "CreateRoom", CreateRoom$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteLoggingConfiguration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteLoggingConfigurationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonInteractiveVideoServiceChat", "DeleteLoggingConfiguration", {})
13
- .n("IvschatClient", "DeleteLoggingConfigurationCommand")
14
- .sc(DeleteLoggingConfiguration$)
15
- .build() {
3
+ export class DeleteLoggingConfigurationCommand extends command(_ep0, _mw0, "DeleteLoggingConfiguration", DeleteLoggingConfiguration$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteMessage$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteMessageCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonInteractiveVideoServiceChat", "DeleteMessage", {})
13
- .n("IvschatClient", "DeleteMessageCommand")
14
- .sc(DeleteMessage$)
15
- .build() {
3
+ export class DeleteMessageCommand extends command(_ep0, _mw0, "DeleteMessage", DeleteMessage$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteRoom$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteRoomCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonInteractiveVideoServiceChat", "DeleteRoom", {})
13
- .n("IvschatClient", "DeleteRoomCommand")
14
- .sc(DeleteRoom$)
15
- .build() {
3
+ export class DeleteRoomCommand extends command(_ep0, _mw0, "DeleteRoom", DeleteRoom$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DisconnectUser$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DisconnectUserCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonInteractiveVideoServiceChat", "DisconnectUser", {})
13
- .n("IvschatClient", "DisconnectUserCommand")
14
- .sc(DisconnectUser$)
15
- .build() {
3
+ export class DisconnectUserCommand extends command(_ep0, _mw0, "DisconnectUser", DisconnectUser$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetLoggingConfiguration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetLoggingConfigurationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonInteractiveVideoServiceChat", "GetLoggingConfiguration", {})
13
- .n("IvschatClient", "GetLoggingConfigurationCommand")
14
- .sc(GetLoggingConfiguration$)
15
- .build() {
3
+ export class GetLoggingConfigurationCommand extends command(_ep0, _mw0, "GetLoggingConfiguration", GetLoggingConfiguration$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetRoom$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetRoomCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonInteractiveVideoServiceChat", "GetRoom", {})
13
- .n("IvschatClient", "GetRoomCommand")
14
- .sc(GetRoom$)
15
- .build() {
3
+ export class GetRoomCommand extends command(_ep0, _mw0, "GetRoom", GetRoom$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListLoggingConfigurations$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListLoggingConfigurationsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonInteractiveVideoServiceChat", "ListLoggingConfigurations", {})
13
- .n("IvschatClient", "ListLoggingConfigurationsCommand")
14
- .sc(ListLoggingConfigurations$)
15
- .build() {
3
+ export class ListLoggingConfigurationsCommand extends command(_ep0, _mw0, "ListLoggingConfigurations", ListLoggingConfigurations$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListRooms$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListRoomsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonInteractiveVideoServiceChat", "ListRooms", {})
13
- .n("IvschatClient", "ListRoomsCommand")
14
- .sc(ListRooms$)
15
- .build() {
3
+ export class ListRoomsCommand extends command(_ep0, _mw0, "ListRooms", ListRooms$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListTagsForResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTagsForResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonInteractiveVideoServiceChat", "ListTagsForResource", {})
13
- .n("IvschatClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource$)
15
- .build() {
3
+ export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { SendEvent$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class SendEventCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonInteractiveVideoServiceChat", "SendEvent", {})
13
- .n("IvschatClient", "SendEventCommand")
14
- .sc(SendEvent$)
15
- .build() {
3
+ export class SendEventCommand extends command(_ep0, _mw0, "SendEvent", SendEvent$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { TagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class TagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonInteractiveVideoServiceChat", "TagResource", {})
13
- .n("IvschatClient", "TagResourceCommand")
14
- .sc(TagResource$)
15
- .build() {
3
+ export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UntagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UntagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonInteractiveVideoServiceChat", "UntagResource", {})
13
- .n("IvschatClient", "UntagResourceCommand")
14
- .sc(UntagResource$)
15
- .build() {
3
+ export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateLoggingConfiguration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateLoggingConfigurationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonInteractiveVideoServiceChat", "UpdateLoggingConfiguration", {})
13
- .n("IvschatClient", "UpdateLoggingConfigurationCommand")
14
- .sc(UpdateLoggingConfiguration$)
15
- .build() {
3
+ export class UpdateLoggingConfigurationCommand extends command(_ep0, _mw0, "UpdateLoggingConfiguration", UpdateLoggingConfiguration$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateRoom$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateRoomCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonInteractiveVideoServiceChat", "UpdateRoom", {})
13
- .n("IvschatClient", "UpdateRoomCommand")
14
- .sc(UpdateRoom$)
15
- .build() {
3
+ export class UpdateRoomCommand extends command(_ep0, _mw0, "UpdateRoom", UpdateRoom$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./IvschatClient";
2
2
  export * from "./Ivschat";
3
3
  export * from "./commands";
4
+ export { Command as $Command } from "@smithy/core/client";
4
5
  export * from "./schemas/schemas_0";
5
6
  export * from "./pagination";
6
7
  export * from "./models/enums";
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { IvschatClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./IvschatClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
7
+ new (input: I): import("@smithy/core/client").CommandImpl<I, O, IvschatClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, IvschatClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
9
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
10
+ };
11
+ /**
12
+ * @internal
13
+ */
14
+ export declare const _ep0: EndpointParameterInstructions;
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];