@aws-sdk/client-repostspace 3.1076.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 (77) hide show
  1. package/dist-cjs/index.js +30 -195
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/BatchAddChannelRoleToAccessorsCommand.js +2 -14
  4. package/dist-es/commands/BatchAddRoleCommand.js +2 -14
  5. package/dist-es/commands/BatchRemoveChannelRoleFromAccessorsCommand.js +2 -14
  6. package/dist-es/commands/BatchRemoveRoleCommand.js +2 -14
  7. package/dist-es/commands/CreateChannelCommand.js +2 -14
  8. package/dist-es/commands/CreateSpaceCommand.js +2 -14
  9. package/dist-es/commands/DeleteSpaceCommand.js +2 -14
  10. package/dist-es/commands/DeregisterAdminCommand.js +2 -14
  11. package/dist-es/commands/GetChannelCommand.js +2 -14
  12. package/dist-es/commands/GetSpaceCommand.js +2 -14
  13. package/dist-es/commands/ListChannelsCommand.js +2 -14
  14. package/dist-es/commands/ListSpacesCommand.js +2 -14
  15. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  16. package/dist-es/commands/RegisterAdminCommand.js +2 -14
  17. package/dist-es/commands/SendInvitesCommand.js +2 -14
  18. package/dist-es/commands/TagResourceCommand.js +2 -14
  19. package/dist-es/commands/UntagResourceCommand.js +2 -14
  20. package/dist-es/commands/UpdateChannelCommand.js +2 -14
  21. package/dist-es/commands/UpdateSpaceCommand.js +2 -14
  22. package/dist-es/index.js +1 -0
  23. package/dist-es/runtimeConfig.browser.js +0 -2
  24. package/dist-es/runtimeConfig.js +1 -2
  25. package/dist-es/runtimeConfig.native.js +0 -2
  26. package/dist-es/runtimeConfig.shared.js +2 -0
  27. package/dist-types/commandBuilder.d.ts +18 -0
  28. package/dist-types/commands/BatchAddChannelRoleToAccessorsCommand.d.ts +3 -8
  29. package/dist-types/commands/BatchAddRoleCommand.d.ts +3 -8
  30. package/dist-types/commands/BatchRemoveChannelRoleFromAccessorsCommand.d.ts +3 -8
  31. package/dist-types/commands/BatchRemoveRoleCommand.d.ts +3 -8
  32. package/dist-types/commands/CreateChannelCommand.d.ts +3 -8
  33. package/dist-types/commands/CreateSpaceCommand.d.ts +3 -8
  34. package/dist-types/commands/DeleteSpaceCommand.d.ts +3 -8
  35. package/dist-types/commands/DeregisterAdminCommand.d.ts +3 -8
  36. package/dist-types/commands/GetChannelCommand.d.ts +3 -8
  37. package/dist-types/commands/GetSpaceCommand.d.ts +3 -8
  38. package/dist-types/commands/ListChannelsCommand.d.ts +3 -8
  39. package/dist-types/commands/ListSpacesCommand.d.ts +3 -8
  40. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  41. package/dist-types/commands/RegisterAdminCommand.d.ts +3 -8
  42. package/dist-types/commands/SendInvitesCommand.d.ts +3 -8
  43. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  44. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  45. package/dist-types/commands/UpdateChannelCommand.d.ts +3 -8
  46. package/dist-types/commands/UpdateSpaceCommand.d.ts +3 -8
  47. package/dist-types/index.d.ts +1 -0
  48. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  49. package/dist-types/runtimeConfig.d.ts +1 -1
  50. package/dist-types/runtimeConfig.native.d.ts +1 -1
  51. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  52. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  53. package/dist-types/ts3.4/commands/BatchAddChannelRoleToAccessorsCommand.d.ts +7 -16
  54. package/dist-types/ts3.4/commands/BatchAddRoleCommand.d.ts +7 -16
  55. package/dist-types/ts3.4/commands/BatchRemoveChannelRoleFromAccessorsCommand.d.ts +7 -16
  56. package/dist-types/ts3.4/commands/BatchRemoveRoleCommand.d.ts +7 -16
  57. package/dist-types/ts3.4/commands/CreateChannelCommand.d.ts +7 -16
  58. package/dist-types/ts3.4/commands/CreateSpaceCommand.d.ts +7 -16
  59. package/dist-types/ts3.4/commands/DeleteSpaceCommand.d.ts +7 -16
  60. package/dist-types/ts3.4/commands/DeregisterAdminCommand.d.ts +7 -16
  61. package/dist-types/ts3.4/commands/GetChannelCommand.d.ts +7 -16
  62. package/dist-types/ts3.4/commands/GetSpaceCommand.d.ts +7 -16
  63. package/dist-types/ts3.4/commands/ListChannelsCommand.d.ts +7 -16
  64. package/dist-types/ts3.4/commands/ListSpacesCommand.d.ts +7 -16
  65. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  66. package/dist-types/ts3.4/commands/RegisterAdminCommand.d.ts +7 -16
  67. package/dist-types/ts3.4/commands/SendInvitesCommand.d.ts +7 -16
  68. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  69. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  70. package/dist-types/ts3.4/commands/UpdateChannelCommand.d.ts +7 -16
  71. package/dist-types/ts3.4/commands/UpdateSpaceCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/index.d.ts +1 -0
  73. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  74. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  75. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  76. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  77. package/package.json +8 -10
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, createWaiter, checkExceptions, WaiterState, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createWaiter, checkExceptions, WaiterState, 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");
@@ -10,9 +11,10 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
10
11
  const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
12
  const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
13
  const { defaultProvider } = require("@aws-sdk/credential-provider-node");
13
- const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
14
15
  const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
16
  const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
17
+ const { Sha256 } = require("@smithy/core/checksum");
16
18
 
17
19
  const defaultRepostspaceHttpAuthSchemeParametersProvider = async (config, context, input) => {
18
20
  return {
@@ -67,7 +69,7 @@ const commonParams = {
67
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
68
70
  };
69
71
 
70
- var version = "3.1075.0";
72
+ var version = "3.1077.0";
71
73
  var packageInfo = {
72
74
  version: version};
73
75
 
@@ -759,6 +761,7 @@ const getRuntimeConfig$1 = (config) => {
759
761
  serviceTarget: "RepostSpace",
760
762
  },
761
763
  serviceId: config?.serviceId ?? "repostspace",
764
+ sha256: config?.sha256 ?? Sha256,
762
765
  urlParser: config?.urlParser ?? parseUrl,
763
766
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
764
767
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -792,7 +795,6 @@ const getRuntimeConfig = (config) => {
792
795
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
793
796
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
794
797
  }, config),
795
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
796
798
  streamCollector: config?.streamCollector ?? streamCollector,
797
799
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
798
800
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -880,232 +882,65 @@ class RepostspaceClient extends Client {
880
882
  }
881
883
  }
882
884
 
883
- class BatchAddChannelRoleToAccessorsCommand extends Command
884
- .classBuilder()
885
- .ep(commonParams)
886
- .m(function (Command, cs, config, o) {
887
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
888
- })
889
- .s("RepostSpace", "BatchAddChannelRoleToAccessors", {})
890
- .n("RepostspaceClient", "BatchAddChannelRoleToAccessorsCommand")
891
- .sc(BatchAddChannelRoleToAccessors$)
892
- .build() {
885
+ const command = makeBuilder(commonParams, "RepostSpace", "RepostspaceClient", getEndpointPlugin);
886
+ const _ep0 = {};
887
+ const _mw0 = (Command, cs, config, o) => [];
888
+
889
+ class BatchAddChannelRoleToAccessorsCommand extends command(_ep0, _mw0, "BatchAddChannelRoleToAccessors", BatchAddChannelRoleToAccessors$) {
893
890
  }
894
891
 
895
- class BatchAddRoleCommand extends Command
896
- .classBuilder()
897
- .ep(commonParams)
898
- .m(function (Command, cs, config, o) {
899
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
900
- })
901
- .s("RepostSpace", "BatchAddRole", {})
902
- .n("RepostspaceClient", "BatchAddRoleCommand")
903
- .sc(BatchAddRole$)
904
- .build() {
892
+ class BatchAddRoleCommand extends command(_ep0, _mw0, "BatchAddRole", BatchAddRole$) {
905
893
  }
906
894
 
907
- class BatchRemoveChannelRoleFromAccessorsCommand extends Command
908
- .classBuilder()
909
- .ep(commonParams)
910
- .m(function (Command, cs, config, o) {
911
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
912
- })
913
- .s("RepostSpace", "BatchRemoveChannelRoleFromAccessors", {})
914
- .n("RepostspaceClient", "BatchRemoveChannelRoleFromAccessorsCommand")
915
- .sc(BatchRemoveChannelRoleFromAccessors$)
916
- .build() {
895
+ class BatchRemoveChannelRoleFromAccessorsCommand extends command(_ep0, _mw0, "BatchRemoveChannelRoleFromAccessors", BatchRemoveChannelRoleFromAccessors$) {
917
896
  }
918
897
 
919
- class BatchRemoveRoleCommand extends Command
920
- .classBuilder()
921
- .ep(commonParams)
922
- .m(function (Command, cs, config, o) {
923
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
924
- })
925
- .s("RepostSpace", "BatchRemoveRole", {})
926
- .n("RepostspaceClient", "BatchRemoveRoleCommand")
927
- .sc(BatchRemoveRole$)
928
- .build() {
898
+ class BatchRemoveRoleCommand extends command(_ep0, _mw0, "BatchRemoveRole", BatchRemoveRole$) {
929
899
  }
930
900
 
931
- class CreateChannelCommand extends Command
932
- .classBuilder()
933
- .ep(commonParams)
934
- .m(function (Command, cs, config, o) {
935
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
936
- })
937
- .s("RepostSpace", "CreateChannel", {})
938
- .n("RepostspaceClient", "CreateChannelCommand")
939
- .sc(CreateChannel$)
940
- .build() {
901
+ class CreateChannelCommand extends command(_ep0, _mw0, "CreateChannel", CreateChannel$) {
941
902
  }
942
903
 
943
- class CreateSpaceCommand extends Command
944
- .classBuilder()
945
- .ep(commonParams)
946
- .m(function (Command, cs, config, o) {
947
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
948
- })
949
- .s("RepostSpace", "CreateSpace", {})
950
- .n("RepostspaceClient", "CreateSpaceCommand")
951
- .sc(CreateSpace$)
952
- .build() {
904
+ class CreateSpaceCommand extends command(_ep0, _mw0, "CreateSpace", CreateSpace$) {
953
905
  }
954
906
 
955
- class DeleteSpaceCommand extends Command
956
- .classBuilder()
957
- .ep(commonParams)
958
- .m(function (Command, cs, config, o) {
959
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
960
- })
961
- .s("RepostSpace", "DeleteSpace", {})
962
- .n("RepostspaceClient", "DeleteSpaceCommand")
963
- .sc(DeleteSpace$)
964
- .build() {
907
+ class DeleteSpaceCommand extends command(_ep0, _mw0, "DeleteSpace", DeleteSpace$) {
965
908
  }
966
909
 
967
- class DeregisterAdminCommand extends Command
968
- .classBuilder()
969
- .ep(commonParams)
970
- .m(function (Command, cs, config, o) {
971
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
972
- })
973
- .s("RepostSpace", "DeregisterAdmin", {})
974
- .n("RepostspaceClient", "DeregisterAdminCommand")
975
- .sc(DeregisterAdmin$)
976
- .build() {
910
+ class DeregisterAdminCommand extends command(_ep0, _mw0, "DeregisterAdmin", DeregisterAdmin$) {
977
911
  }
978
912
 
979
- class GetChannelCommand extends Command
980
- .classBuilder()
981
- .ep(commonParams)
982
- .m(function (Command, cs, config, o) {
983
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
984
- })
985
- .s("RepostSpace", "GetChannel", {})
986
- .n("RepostspaceClient", "GetChannelCommand")
987
- .sc(GetChannel$)
988
- .build() {
913
+ class GetChannelCommand extends command(_ep0, _mw0, "GetChannel", GetChannel$) {
989
914
  }
990
915
 
991
- class GetSpaceCommand extends Command
992
- .classBuilder()
993
- .ep(commonParams)
994
- .m(function (Command, cs, config, o) {
995
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
996
- })
997
- .s("RepostSpace", "GetSpace", {})
998
- .n("RepostspaceClient", "GetSpaceCommand")
999
- .sc(GetSpace$)
1000
- .build() {
916
+ class GetSpaceCommand extends command(_ep0, _mw0, "GetSpace", GetSpace$) {
1001
917
  }
1002
918
 
1003
- class ListChannelsCommand extends Command
1004
- .classBuilder()
1005
- .ep(commonParams)
1006
- .m(function (Command, cs, config, o) {
1007
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1008
- })
1009
- .s("RepostSpace", "ListChannels", {})
1010
- .n("RepostspaceClient", "ListChannelsCommand")
1011
- .sc(ListChannels$)
1012
- .build() {
919
+ class ListChannelsCommand extends command(_ep0, _mw0, "ListChannels", ListChannels$) {
1013
920
  }
1014
921
 
1015
- class ListSpacesCommand extends Command
1016
- .classBuilder()
1017
- .ep(commonParams)
1018
- .m(function (Command, cs, config, o) {
1019
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1020
- })
1021
- .s("RepostSpace", "ListSpaces", {})
1022
- .n("RepostspaceClient", "ListSpacesCommand")
1023
- .sc(ListSpaces$)
1024
- .build() {
922
+ class ListSpacesCommand extends command(_ep0, _mw0, "ListSpaces", ListSpaces$) {
1025
923
  }
1026
924
 
1027
- class ListTagsForResourceCommand extends Command
1028
- .classBuilder()
1029
- .ep(commonParams)
1030
- .m(function (Command, cs, config, o) {
1031
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1032
- })
1033
- .s("RepostSpace", "ListTagsForResource", {})
1034
- .n("RepostspaceClient", "ListTagsForResourceCommand")
1035
- .sc(ListTagsForResource$)
1036
- .build() {
925
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1037
926
  }
1038
927
 
1039
- class RegisterAdminCommand extends Command
1040
- .classBuilder()
1041
- .ep(commonParams)
1042
- .m(function (Command, cs, config, o) {
1043
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1044
- })
1045
- .s("RepostSpace", "RegisterAdmin", {})
1046
- .n("RepostspaceClient", "RegisterAdminCommand")
1047
- .sc(RegisterAdmin$)
1048
- .build() {
928
+ class RegisterAdminCommand extends command(_ep0, _mw0, "RegisterAdmin", RegisterAdmin$) {
1049
929
  }
1050
930
 
1051
- class SendInvitesCommand extends Command
1052
- .classBuilder()
1053
- .ep(commonParams)
1054
- .m(function (Command, cs, config, o) {
1055
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1056
- })
1057
- .s("RepostSpace", "SendInvites", {})
1058
- .n("RepostspaceClient", "SendInvitesCommand")
1059
- .sc(SendInvites$)
1060
- .build() {
931
+ class SendInvitesCommand extends command(_ep0, _mw0, "SendInvites", SendInvites$) {
1061
932
  }
1062
933
 
1063
- class TagResourceCommand extends Command
1064
- .classBuilder()
1065
- .ep(commonParams)
1066
- .m(function (Command, cs, config, o) {
1067
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1068
- })
1069
- .s("RepostSpace", "TagResource", {})
1070
- .n("RepostspaceClient", "TagResourceCommand")
1071
- .sc(TagResource$)
1072
- .build() {
934
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1073
935
  }
1074
936
 
1075
- class UntagResourceCommand extends Command
1076
- .classBuilder()
1077
- .ep(commonParams)
1078
- .m(function (Command, cs, config, o) {
1079
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1080
- })
1081
- .s("RepostSpace", "UntagResource", {})
1082
- .n("RepostspaceClient", "UntagResourceCommand")
1083
- .sc(UntagResource$)
1084
- .build() {
937
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1085
938
  }
1086
939
 
1087
- class UpdateChannelCommand extends Command
1088
- .classBuilder()
1089
- .ep(commonParams)
1090
- .m(function (Command, cs, config, o) {
1091
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1092
- })
1093
- .s("RepostSpace", "UpdateChannel", {})
1094
- .n("RepostspaceClient", "UpdateChannelCommand")
1095
- .sc(UpdateChannel$)
1096
- .build() {
940
+ class UpdateChannelCommand extends command(_ep0, _mw0, "UpdateChannel", UpdateChannel$) {
1097
941
  }
1098
942
 
1099
- class UpdateSpaceCommand extends Command
1100
- .classBuilder()
1101
- .ep(commonParams)
1102
- .m(function (Command, cs, config, o) {
1103
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1104
- })
1105
- .s("RepostSpace", "UpdateSpace", {})
1106
- .n("RepostspaceClient", "UpdateSpaceCommand")
1107
- .sc(UpdateSpace$)
1108
- .build() {
943
+ class UpdateSpaceCommand extends command(_ep0, _mw0, "UpdateSpace", UpdateSpace$) {
1109
944
  }
1110
945
 
1111
946
  const paginateListChannels = createPaginator(RepostspaceClient, ListChannelsCommand, "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, "RepostSpace", "RepostspaceClient", 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 { BatchAddChannelRoleToAccessors$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class BatchAddChannelRoleToAccessorsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RepostSpace", "BatchAddChannelRoleToAccessors", {})
13
- .n("RepostspaceClient", "BatchAddChannelRoleToAccessorsCommand")
14
- .sc(BatchAddChannelRoleToAccessors$)
15
- .build() {
3
+ export class BatchAddChannelRoleToAccessorsCommand extends command(_ep0, _mw0, "BatchAddChannelRoleToAccessors", BatchAddChannelRoleToAccessors$) {
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 { BatchAddRole$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class BatchAddRoleCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RepostSpace", "BatchAddRole", {})
13
- .n("RepostspaceClient", "BatchAddRoleCommand")
14
- .sc(BatchAddRole$)
15
- .build() {
3
+ export class BatchAddRoleCommand extends command(_ep0, _mw0, "BatchAddRole", BatchAddRole$) {
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 { BatchRemoveChannelRoleFromAccessors$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class BatchRemoveChannelRoleFromAccessorsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RepostSpace", "BatchRemoveChannelRoleFromAccessors", {})
13
- .n("RepostspaceClient", "BatchRemoveChannelRoleFromAccessorsCommand")
14
- .sc(BatchRemoveChannelRoleFromAccessors$)
15
- .build() {
3
+ export class BatchRemoveChannelRoleFromAccessorsCommand extends command(_ep0, _mw0, "BatchRemoveChannelRoleFromAccessors", BatchRemoveChannelRoleFromAccessors$) {
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 { BatchRemoveRole$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class BatchRemoveRoleCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RepostSpace", "BatchRemoveRole", {})
13
- .n("RepostspaceClient", "BatchRemoveRoleCommand")
14
- .sc(BatchRemoveRole$)
15
- .build() {
3
+ export class BatchRemoveRoleCommand extends command(_ep0, _mw0, "BatchRemoveRole", BatchRemoveRole$) {
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 { CreateChannel$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateChannelCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RepostSpace", "CreateChannel", {})
13
- .n("RepostspaceClient", "CreateChannelCommand")
14
- .sc(CreateChannel$)
15
- .build() {
3
+ export class CreateChannelCommand extends command(_ep0, _mw0, "CreateChannel", CreateChannel$) {
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 { CreateSpace$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateSpaceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RepostSpace", "CreateSpace", {})
13
- .n("RepostspaceClient", "CreateSpaceCommand")
14
- .sc(CreateSpace$)
15
- .build() {
3
+ export class CreateSpaceCommand extends command(_ep0, _mw0, "CreateSpace", CreateSpace$) {
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 { DeleteSpace$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteSpaceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RepostSpace", "DeleteSpace", {})
13
- .n("RepostspaceClient", "DeleteSpaceCommand")
14
- .sc(DeleteSpace$)
15
- .build() {
3
+ export class DeleteSpaceCommand extends command(_ep0, _mw0, "DeleteSpace", DeleteSpace$) {
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 { DeregisterAdmin$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeregisterAdminCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RepostSpace", "DeregisterAdmin", {})
13
- .n("RepostspaceClient", "DeregisterAdminCommand")
14
- .sc(DeregisterAdmin$)
15
- .build() {
3
+ export class DeregisterAdminCommand extends command(_ep0, _mw0, "DeregisterAdmin", DeregisterAdmin$) {
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 { GetChannel$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetChannelCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RepostSpace", "GetChannel", {})
13
- .n("RepostspaceClient", "GetChannelCommand")
14
- .sc(GetChannel$)
15
- .build() {
3
+ export class GetChannelCommand extends command(_ep0, _mw0, "GetChannel", GetChannel$) {
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 { GetSpace$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetSpaceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RepostSpace", "GetSpace", {})
13
- .n("RepostspaceClient", "GetSpaceCommand")
14
- .sc(GetSpace$)
15
- .build() {
3
+ export class GetSpaceCommand extends command(_ep0, _mw0, "GetSpace", GetSpace$) {
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 { ListChannels$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListChannelsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RepostSpace", "ListChannels", {})
13
- .n("RepostspaceClient", "ListChannelsCommand")
14
- .sc(ListChannels$)
15
- .build() {
3
+ export class ListChannelsCommand extends command(_ep0, _mw0, "ListChannels", ListChannels$) {
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 { ListSpaces$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListSpacesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RepostSpace", "ListSpaces", {})
13
- .n("RepostspaceClient", "ListSpacesCommand")
14
- .sc(ListSpaces$)
15
- .build() {
3
+ export class ListSpacesCommand extends command(_ep0, _mw0, "ListSpaces", ListSpaces$) {
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("RepostSpace", "ListTagsForResource", {})
13
- .n("RepostspaceClient", "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 { RegisterAdmin$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class RegisterAdminCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RepostSpace", "RegisterAdmin", {})
13
- .n("RepostspaceClient", "RegisterAdminCommand")
14
- .sc(RegisterAdmin$)
15
- .build() {
3
+ export class RegisterAdminCommand extends command(_ep0, _mw0, "RegisterAdmin", RegisterAdmin$) {
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 { SendInvites$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class SendInvitesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("RepostSpace", "SendInvites", {})
13
- .n("RepostspaceClient", "SendInvitesCommand")
14
- .sc(SendInvites$)
15
- .build() {
3
+ export class SendInvitesCommand extends command(_ep0, _mw0, "SendInvites", SendInvites$) {
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("RepostSpace", "TagResource", {})
13
- .n("RepostspaceClient", "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("RepostSpace", "UntagResource", {})
13
- .n("RepostspaceClient", "UntagResourceCommand")
14
- .sc(UntagResource$)
15
- .build() {
3
+ export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
16
4
  }