@aws-sdk/client-chime-sdk-meetings 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 (68) hide show
  1. package/dist-cjs/index.js +27 -165
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/BatchCreateAttendeeCommand.js +2 -14
  4. package/dist-es/commands/BatchUpdateAttendeeCapabilitiesExceptCommand.js +2 -14
  5. package/dist-es/commands/CreateAttendeeCommand.js +2 -14
  6. package/dist-es/commands/CreateMeetingCommand.js +2 -14
  7. package/dist-es/commands/CreateMeetingWithAttendeesCommand.js +2 -14
  8. package/dist-es/commands/DeleteAttendeeCommand.js +2 -14
  9. package/dist-es/commands/DeleteMeetingCommand.js +2 -14
  10. package/dist-es/commands/GetAttendeeCommand.js +2 -14
  11. package/dist-es/commands/GetMeetingCommand.js +2 -14
  12. package/dist-es/commands/ListAttendeesCommand.js +2 -14
  13. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  14. package/dist-es/commands/StartMeetingTranscriptionCommand.js +2 -14
  15. package/dist-es/commands/StopMeetingTranscriptionCommand.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/UpdateAttendeeCapabilitiesCommand.js +2 -14
  19. package/dist-es/index.js +1 -0
  20. package/dist-es/runtimeConfig.browser.js +0 -2
  21. package/dist-es/runtimeConfig.js +1 -2
  22. package/dist-es/runtimeConfig.native.js +0 -2
  23. package/dist-es/runtimeConfig.shared.js +2 -0
  24. package/dist-types/commandBuilder.d.ts +18 -0
  25. package/dist-types/commands/BatchCreateAttendeeCommand.d.ts +3 -8
  26. package/dist-types/commands/BatchUpdateAttendeeCapabilitiesExceptCommand.d.ts +3 -8
  27. package/dist-types/commands/CreateAttendeeCommand.d.ts +3 -8
  28. package/dist-types/commands/CreateMeetingCommand.d.ts +3 -8
  29. package/dist-types/commands/CreateMeetingWithAttendeesCommand.d.ts +3 -8
  30. package/dist-types/commands/DeleteAttendeeCommand.d.ts +3 -8
  31. package/dist-types/commands/DeleteMeetingCommand.d.ts +3 -8
  32. package/dist-types/commands/GetAttendeeCommand.d.ts +3 -8
  33. package/dist-types/commands/GetMeetingCommand.d.ts +3 -8
  34. package/dist-types/commands/ListAttendeesCommand.d.ts +3 -8
  35. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  36. package/dist-types/commands/StartMeetingTranscriptionCommand.d.ts +3 -8
  37. package/dist-types/commands/StopMeetingTranscriptionCommand.d.ts +3 -8
  38. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  39. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  40. package/dist-types/commands/UpdateAttendeeCapabilitiesCommand.d.ts +3 -8
  41. package/dist-types/index.d.ts +1 -0
  42. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  43. package/dist-types/runtimeConfig.d.ts +1 -1
  44. package/dist-types/runtimeConfig.native.d.ts +1 -1
  45. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  46. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  47. package/dist-types/ts3.4/commands/BatchCreateAttendeeCommand.d.ts +7 -16
  48. package/dist-types/ts3.4/commands/BatchUpdateAttendeeCapabilitiesExceptCommand.d.ts +7 -16
  49. package/dist-types/ts3.4/commands/CreateAttendeeCommand.d.ts +7 -16
  50. package/dist-types/ts3.4/commands/CreateMeetingCommand.d.ts +7 -16
  51. package/dist-types/ts3.4/commands/CreateMeetingWithAttendeesCommand.d.ts +7 -16
  52. package/dist-types/ts3.4/commands/DeleteAttendeeCommand.d.ts +7 -16
  53. package/dist-types/ts3.4/commands/DeleteMeetingCommand.d.ts +7 -16
  54. package/dist-types/ts3.4/commands/GetAttendeeCommand.d.ts +7 -16
  55. package/dist-types/ts3.4/commands/GetMeetingCommand.d.ts +7 -16
  56. package/dist-types/ts3.4/commands/ListAttendeesCommand.d.ts +7 -16
  57. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  58. package/dist-types/ts3.4/commands/StartMeetingTranscriptionCommand.d.ts +7 -16
  59. package/dist-types/ts3.4/commands/StopMeetingTranscriptionCommand.d.ts +7 -16
  60. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  61. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  62. package/dist-types/ts3.4/commands/UpdateAttendeeCapabilitiesCommand.d.ts +7 -16
  63. package/dist-types/ts3.4/index.d.ts +1 -0
  64. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  65. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  66. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  67. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  68. 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, 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");
@@ -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 defaultChimeSDKMeetingsHttpAuthSchemeParametersProvider = 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
 
@@ -920,6 +922,7 @@ const getRuntimeConfig$1 = (config) => {
920
922
  serviceTarget: "ChimeMeetingsSDKService",
921
923
  },
922
924
  serviceId: config?.serviceId ?? "Chime SDK Meetings",
925
+ sha256: config?.sha256 ?? Sha256,
923
926
  urlParser: config?.urlParser ?? parseUrl,
924
927
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
925
928
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -953,7 +956,6 @@ const getRuntimeConfig = (config) => {
953
956
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
954
957
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
955
958
  }, config),
956
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
957
959
  streamCollector: config?.streamCollector ?? streamCollector,
958
960
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
959
961
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1041,196 +1043,56 @@ class ChimeSDKMeetingsClient extends Client {
1041
1043
  }
1042
1044
  }
1043
1045
 
1044
- class BatchCreateAttendeeCommand extends Command
1045
- .classBuilder()
1046
- .ep(commonParams)
1047
- .m(function (Command, cs, config, o) {
1048
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1049
- })
1050
- .s("ChimeMeetingsSDKService", "BatchCreateAttendee", {})
1051
- .n("ChimeSDKMeetingsClient", "BatchCreateAttendeeCommand")
1052
- .sc(BatchCreateAttendee$)
1053
- .build() {
1046
+ const command = makeBuilder(commonParams, "ChimeMeetingsSDKService", "ChimeSDKMeetingsClient", getEndpointPlugin);
1047
+ const _ep0 = {};
1048
+ const _mw0 = (Command, cs, config, o) => [];
1049
+
1050
+ class BatchCreateAttendeeCommand extends command(_ep0, _mw0, "BatchCreateAttendee", BatchCreateAttendee$) {
1054
1051
  }
1055
1052
 
1056
- class BatchUpdateAttendeeCapabilitiesExceptCommand extends Command
1057
- .classBuilder()
1058
- .ep(commonParams)
1059
- .m(function (Command, cs, config, o) {
1060
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1061
- })
1062
- .s("ChimeMeetingsSDKService", "BatchUpdateAttendeeCapabilitiesExcept", {})
1063
- .n("ChimeSDKMeetingsClient", "BatchUpdateAttendeeCapabilitiesExceptCommand")
1064
- .sc(BatchUpdateAttendeeCapabilitiesExcept$)
1065
- .build() {
1053
+ class BatchUpdateAttendeeCapabilitiesExceptCommand extends command(_ep0, _mw0, "BatchUpdateAttendeeCapabilitiesExcept", BatchUpdateAttendeeCapabilitiesExcept$) {
1066
1054
  }
1067
1055
 
1068
- class CreateAttendeeCommand extends Command
1069
- .classBuilder()
1070
- .ep(commonParams)
1071
- .m(function (Command, cs, config, o) {
1072
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1073
- })
1074
- .s("ChimeMeetingsSDKService", "CreateAttendee", {})
1075
- .n("ChimeSDKMeetingsClient", "CreateAttendeeCommand")
1076
- .sc(CreateAttendee$)
1077
- .build() {
1056
+ class CreateAttendeeCommand extends command(_ep0, _mw0, "CreateAttendee", CreateAttendee$) {
1078
1057
  }
1079
1058
 
1080
- class CreateMeetingCommand extends Command
1081
- .classBuilder()
1082
- .ep(commonParams)
1083
- .m(function (Command, cs, config, o) {
1084
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1085
- })
1086
- .s("ChimeMeetingsSDKService", "CreateMeeting", {})
1087
- .n("ChimeSDKMeetingsClient", "CreateMeetingCommand")
1088
- .sc(CreateMeeting$)
1089
- .build() {
1059
+ class CreateMeetingCommand extends command(_ep0, _mw0, "CreateMeeting", CreateMeeting$) {
1090
1060
  }
1091
1061
 
1092
- class CreateMeetingWithAttendeesCommand extends Command
1093
- .classBuilder()
1094
- .ep(commonParams)
1095
- .m(function (Command, cs, config, o) {
1096
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1097
- })
1098
- .s("ChimeMeetingsSDKService", "CreateMeetingWithAttendees", {})
1099
- .n("ChimeSDKMeetingsClient", "CreateMeetingWithAttendeesCommand")
1100
- .sc(CreateMeetingWithAttendees$)
1101
- .build() {
1062
+ class CreateMeetingWithAttendeesCommand extends command(_ep0, _mw0, "CreateMeetingWithAttendees", CreateMeetingWithAttendees$) {
1102
1063
  }
1103
1064
 
1104
- class DeleteAttendeeCommand extends Command
1105
- .classBuilder()
1106
- .ep(commonParams)
1107
- .m(function (Command, cs, config, o) {
1108
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1109
- })
1110
- .s("ChimeMeetingsSDKService", "DeleteAttendee", {})
1111
- .n("ChimeSDKMeetingsClient", "DeleteAttendeeCommand")
1112
- .sc(DeleteAttendee$)
1113
- .build() {
1065
+ class DeleteAttendeeCommand extends command(_ep0, _mw0, "DeleteAttendee", DeleteAttendee$) {
1114
1066
  }
1115
1067
 
1116
- class DeleteMeetingCommand extends Command
1117
- .classBuilder()
1118
- .ep(commonParams)
1119
- .m(function (Command, cs, config, o) {
1120
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1121
- })
1122
- .s("ChimeMeetingsSDKService", "DeleteMeeting", {})
1123
- .n("ChimeSDKMeetingsClient", "DeleteMeetingCommand")
1124
- .sc(DeleteMeeting$)
1125
- .build() {
1068
+ class DeleteMeetingCommand extends command(_ep0, _mw0, "DeleteMeeting", DeleteMeeting$) {
1126
1069
  }
1127
1070
 
1128
- class GetAttendeeCommand extends Command
1129
- .classBuilder()
1130
- .ep(commonParams)
1131
- .m(function (Command, cs, config, o) {
1132
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1133
- })
1134
- .s("ChimeMeetingsSDKService", "GetAttendee", {})
1135
- .n("ChimeSDKMeetingsClient", "GetAttendeeCommand")
1136
- .sc(GetAttendee$)
1137
- .build() {
1071
+ class GetAttendeeCommand extends command(_ep0, _mw0, "GetAttendee", GetAttendee$) {
1138
1072
  }
1139
1073
 
1140
- class GetMeetingCommand extends Command
1141
- .classBuilder()
1142
- .ep(commonParams)
1143
- .m(function (Command, cs, config, o) {
1144
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1145
- })
1146
- .s("ChimeMeetingsSDKService", "GetMeeting", {})
1147
- .n("ChimeSDKMeetingsClient", "GetMeetingCommand")
1148
- .sc(GetMeeting$)
1149
- .build() {
1074
+ class GetMeetingCommand extends command(_ep0, _mw0, "GetMeeting", GetMeeting$) {
1150
1075
  }
1151
1076
 
1152
- class ListAttendeesCommand extends Command
1153
- .classBuilder()
1154
- .ep(commonParams)
1155
- .m(function (Command, cs, config, o) {
1156
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1157
- })
1158
- .s("ChimeMeetingsSDKService", "ListAttendees", {})
1159
- .n("ChimeSDKMeetingsClient", "ListAttendeesCommand")
1160
- .sc(ListAttendees$)
1161
- .build() {
1077
+ class ListAttendeesCommand extends command(_ep0, _mw0, "ListAttendees", ListAttendees$) {
1162
1078
  }
1163
1079
 
1164
- class ListTagsForResourceCommand extends Command
1165
- .classBuilder()
1166
- .ep(commonParams)
1167
- .m(function (Command, cs, config, o) {
1168
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1169
- })
1170
- .s("ChimeMeetingsSDKService", "ListTagsForResource", {})
1171
- .n("ChimeSDKMeetingsClient", "ListTagsForResourceCommand")
1172
- .sc(ListTagsForResource$)
1173
- .build() {
1080
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1174
1081
  }
1175
1082
 
1176
- class StartMeetingTranscriptionCommand extends Command
1177
- .classBuilder()
1178
- .ep(commonParams)
1179
- .m(function (Command, cs, config, o) {
1180
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1181
- })
1182
- .s("ChimeMeetingsSDKService", "StartMeetingTranscription", {})
1183
- .n("ChimeSDKMeetingsClient", "StartMeetingTranscriptionCommand")
1184
- .sc(StartMeetingTranscription$)
1185
- .build() {
1083
+ class StartMeetingTranscriptionCommand extends command(_ep0, _mw0, "StartMeetingTranscription", StartMeetingTranscription$) {
1186
1084
  }
1187
1085
 
1188
- class StopMeetingTranscriptionCommand extends Command
1189
- .classBuilder()
1190
- .ep(commonParams)
1191
- .m(function (Command, cs, config, o) {
1192
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1193
- })
1194
- .s("ChimeMeetingsSDKService", "StopMeetingTranscription", {})
1195
- .n("ChimeSDKMeetingsClient", "StopMeetingTranscriptionCommand")
1196
- .sc(StopMeetingTranscription$)
1197
- .build() {
1086
+ class StopMeetingTranscriptionCommand extends command(_ep0, _mw0, "StopMeetingTranscription", StopMeetingTranscription$) {
1198
1087
  }
1199
1088
 
1200
- class TagResourceCommand extends Command
1201
- .classBuilder()
1202
- .ep(commonParams)
1203
- .m(function (Command, cs, config, o) {
1204
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1205
- })
1206
- .s("ChimeMeetingsSDKService", "TagResource", {})
1207
- .n("ChimeSDKMeetingsClient", "TagResourceCommand")
1208
- .sc(TagResource$)
1209
- .build() {
1089
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1210
1090
  }
1211
1091
 
1212
- class UntagResourceCommand extends Command
1213
- .classBuilder()
1214
- .ep(commonParams)
1215
- .m(function (Command, cs, config, o) {
1216
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1217
- })
1218
- .s("ChimeMeetingsSDKService", "UntagResource", {})
1219
- .n("ChimeSDKMeetingsClient", "UntagResourceCommand")
1220
- .sc(UntagResource$)
1221
- .build() {
1092
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1222
1093
  }
1223
1094
 
1224
- class UpdateAttendeeCapabilitiesCommand extends Command
1225
- .classBuilder()
1226
- .ep(commonParams)
1227
- .m(function (Command, cs, config, o) {
1228
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1229
- })
1230
- .s("ChimeMeetingsSDKService", "UpdateAttendeeCapabilities", {})
1231
- .n("ChimeSDKMeetingsClient", "UpdateAttendeeCapabilitiesCommand")
1232
- .sc(UpdateAttendeeCapabilities$)
1233
- .build() {
1095
+ class UpdateAttendeeCapabilitiesCommand extends command(_ep0, _mw0, "UpdateAttendeeCapabilities", UpdateAttendeeCapabilities$) {
1234
1096
  }
1235
1097
 
1236
1098
  const paginateListAttendees = createPaginator(ChimeSDKMeetingsClient, ListAttendeesCommand, "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, "ChimeMeetingsSDKService", "ChimeSDKMeetingsClient", 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 { BatchCreateAttendee$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class BatchCreateAttendeeCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ChimeMeetingsSDKService", "BatchCreateAttendee", {})
13
- .n("ChimeSDKMeetingsClient", "BatchCreateAttendeeCommand")
14
- .sc(BatchCreateAttendee$)
15
- .build() {
3
+ export class BatchCreateAttendeeCommand extends command(_ep0, _mw0, "BatchCreateAttendee", BatchCreateAttendee$) {
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 { BatchUpdateAttendeeCapabilitiesExcept$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class BatchUpdateAttendeeCapabilitiesExceptCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ChimeMeetingsSDKService", "BatchUpdateAttendeeCapabilitiesExcept", {})
13
- .n("ChimeSDKMeetingsClient", "BatchUpdateAttendeeCapabilitiesExceptCommand")
14
- .sc(BatchUpdateAttendeeCapabilitiesExcept$)
15
- .build() {
3
+ export class BatchUpdateAttendeeCapabilitiesExceptCommand extends command(_ep0, _mw0, "BatchUpdateAttendeeCapabilitiesExcept", BatchUpdateAttendeeCapabilitiesExcept$) {
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 { CreateAttendee$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateAttendeeCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ChimeMeetingsSDKService", "CreateAttendee", {})
13
- .n("ChimeSDKMeetingsClient", "CreateAttendeeCommand")
14
- .sc(CreateAttendee$)
15
- .build() {
3
+ export class CreateAttendeeCommand extends command(_ep0, _mw0, "CreateAttendee", CreateAttendee$) {
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 { CreateMeeting$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateMeetingCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ChimeMeetingsSDKService", "CreateMeeting", {})
13
- .n("ChimeSDKMeetingsClient", "CreateMeetingCommand")
14
- .sc(CreateMeeting$)
15
- .build() {
3
+ export class CreateMeetingCommand extends command(_ep0, _mw0, "CreateMeeting", CreateMeeting$) {
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 { CreateMeetingWithAttendees$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateMeetingWithAttendeesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ChimeMeetingsSDKService", "CreateMeetingWithAttendees", {})
13
- .n("ChimeSDKMeetingsClient", "CreateMeetingWithAttendeesCommand")
14
- .sc(CreateMeetingWithAttendees$)
15
- .build() {
3
+ export class CreateMeetingWithAttendeesCommand extends command(_ep0, _mw0, "CreateMeetingWithAttendees", CreateMeetingWithAttendees$) {
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 { DeleteAttendee$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteAttendeeCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ChimeMeetingsSDKService", "DeleteAttendee", {})
13
- .n("ChimeSDKMeetingsClient", "DeleteAttendeeCommand")
14
- .sc(DeleteAttendee$)
15
- .build() {
3
+ export class DeleteAttendeeCommand extends command(_ep0, _mw0, "DeleteAttendee", DeleteAttendee$) {
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 { DeleteMeeting$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteMeetingCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ChimeMeetingsSDKService", "DeleteMeeting", {})
13
- .n("ChimeSDKMeetingsClient", "DeleteMeetingCommand")
14
- .sc(DeleteMeeting$)
15
- .build() {
3
+ export class DeleteMeetingCommand extends command(_ep0, _mw0, "DeleteMeeting", DeleteMeeting$) {
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 { GetAttendee$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetAttendeeCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ChimeMeetingsSDKService", "GetAttendee", {})
13
- .n("ChimeSDKMeetingsClient", "GetAttendeeCommand")
14
- .sc(GetAttendee$)
15
- .build() {
3
+ export class GetAttendeeCommand extends command(_ep0, _mw0, "GetAttendee", GetAttendee$) {
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 { GetMeeting$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetMeetingCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ChimeMeetingsSDKService", "GetMeeting", {})
13
- .n("ChimeSDKMeetingsClient", "GetMeetingCommand")
14
- .sc(GetMeeting$)
15
- .build() {
3
+ export class GetMeetingCommand extends command(_ep0, _mw0, "GetMeeting", GetMeeting$) {
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 { ListAttendees$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListAttendeesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ChimeMeetingsSDKService", "ListAttendees", {})
13
- .n("ChimeSDKMeetingsClient", "ListAttendeesCommand")
14
- .sc(ListAttendees$)
15
- .build() {
3
+ export class ListAttendeesCommand extends command(_ep0, _mw0, "ListAttendees", ListAttendees$) {
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("ChimeMeetingsSDKService", "ListTagsForResource", {})
13
- .n("ChimeSDKMeetingsClient", "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 { StartMeetingTranscription$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StartMeetingTranscriptionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ChimeMeetingsSDKService", "StartMeetingTranscription", {})
13
- .n("ChimeSDKMeetingsClient", "StartMeetingTranscriptionCommand")
14
- .sc(StartMeetingTranscription$)
15
- .build() {
3
+ export class StartMeetingTranscriptionCommand extends command(_ep0, _mw0, "StartMeetingTranscription", StartMeetingTranscription$) {
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 { StopMeetingTranscription$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StopMeetingTranscriptionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ChimeMeetingsSDKService", "StopMeetingTranscription", {})
13
- .n("ChimeSDKMeetingsClient", "StopMeetingTranscriptionCommand")
14
- .sc(StopMeetingTranscription$)
15
- .build() {
3
+ export class StopMeetingTranscriptionCommand extends command(_ep0, _mw0, "StopMeetingTranscription", StopMeetingTranscription$) {
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("ChimeMeetingsSDKService", "TagResource", {})
13
- .n("ChimeSDKMeetingsClient", "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("ChimeMeetingsSDKService", "UntagResource", {})
13
- .n("ChimeSDKMeetingsClient", "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 { UpdateAttendeeCapabilities$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateAttendeeCapabilitiesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ChimeMeetingsSDKService", "UpdateAttendeeCapabilities", {})
13
- .n("ChimeSDKMeetingsClient", "UpdateAttendeeCapabilitiesCommand")
14
- .sc(UpdateAttendeeCapabilities$)
15
- .build() {
3
+ export class UpdateAttendeeCapabilitiesCommand extends command(_ep0, _mw0, "UpdateAttendeeCapabilities", UpdateAttendeeCapabilities$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./ChimeSDKMeetingsClient";
2
2
  export * from "./ChimeSDKMeetings";
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";
@@ -1,5 +1,4 @@
1
1
  import packageInfo from "../package.json";
2
- import { Sha256 } from "@aws-crypto/sha256-browser";
3
2
  import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
4
3
  import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
5
4
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
@@ -23,7 +22,6 @@ export const getRuntimeConfig = (config) => {
23
22
  region: config?.region ?? invalidProvider("Region is missing"),
24
23
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
25
24
  retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
26
- sha256: config?.sha256 ?? Sha256,
27
25
  streamCollector: config?.streamCollector ?? streamCollector,
28
26
  useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
29
27
  useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
@@ -5,7 +5,7 @@ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credentia
5
5
  import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
6
6
  import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
7
7
  import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
8
- import { calculateBodyLength, Hash } from "@smithy/core/serde";
8
+ import { calculateBodyLength } from "@smithy/core/serde";
9
9
  import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
10
10
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
11
11
  export const getRuntimeConfig = (config) => {
@@ -35,7 +35,6 @@ export const getRuntimeConfig = (config) => {
35
35
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
36
36
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
37
37
  }, config),
38
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
39
38
  streamCollector: config?.streamCollector ?? streamCollector,
40
39
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
41
40
  useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1,4 +1,3 @@
1
- import { Sha256 } from "@aws-crypto/sha256-js";
2
1
  import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
3
2
  export const getRuntimeConfig = (config) => {
4
3
  const browserDefaults = getBrowserRuntimeConfig(config);
@@ -6,6 +5,5 @@ export const getRuntimeConfig = (config) => {
6
5
  ...browserDefaults,
7
6
  ...config,
8
7
  runtime: "react-native",
9
- sha256: config?.sha256 ?? Sha256,
10
8
  };
11
9
  };