@aws-sdk/client-connecthealth 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 (56) hide show
  1. package/dist-cjs/index.js +27 -171
  2. package/dist-es/commandBuilder.js +10 -0
  3. package/dist-es/commands/ActivateSubscriptionCommand.js +2 -14
  4. package/dist-es/commands/CreateDomainCommand.js +2 -14
  5. package/dist-es/commands/CreateSubscriptionCommand.js +2 -14
  6. package/dist-es/commands/DeactivateSubscriptionCommand.js +2 -14
  7. package/dist-es/commands/DeleteDomainCommand.js +2 -14
  8. package/dist-es/commands/GetDomainCommand.js +2 -14
  9. package/dist-es/commands/GetMedicalScribeListeningSessionCommand.js +2 -14
  10. package/dist-es/commands/GetPatientInsightsJobCommand.js +2 -14
  11. package/dist-es/commands/GetSubscriptionCommand.js +2 -14
  12. package/dist-es/commands/ListDomainsCommand.js +2 -14
  13. package/dist-es/commands/ListSubscriptionsCommand.js +2 -14
  14. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  15. package/dist-es/commands/StartMedicalScribeListeningSessionCommand.js +2 -23
  16. package/dist-es/commands/StartPatientInsightsJobCommand.js +2 -14
  17. package/dist-es/commands/TagResourceCommand.js +2 -14
  18. package/dist-es/commands/UntagResourceCommand.js +2 -14
  19. package/dist-es/index.js +1 -0
  20. package/dist-types/commandBuilder.d.ts +22 -0
  21. package/dist-types/commands/ActivateSubscriptionCommand.d.ts +3 -8
  22. package/dist-types/commands/CreateDomainCommand.d.ts +3 -8
  23. package/dist-types/commands/CreateSubscriptionCommand.d.ts +3 -8
  24. package/dist-types/commands/DeactivateSubscriptionCommand.d.ts +3 -8
  25. package/dist-types/commands/DeleteDomainCommand.d.ts +3 -8
  26. package/dist-types/commands/GetDomainCommand.d.ts +3 -8
  27. package/dist-types/commands/GetMedicalScribeListeningSessionCommand.d.ts +3 -8
  28. package/dist-types/commands/GetPatientInsightsJobCommand.d.ts +3 -8
  29. package/dist-types/commands/GetSubscriptionCommand.d.ts +3 -8
  30. package/dist-types/commands/ListDomainsCommand.d.ts +3 -8
  31. package/dist-types/commands/ListSubscriptionsCommand.d.ts +3 -8
  32. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  33. package/dist-types/commands/StartMedicalScribeListeningSessionCommand.d.ts +3 -8
  34. package/dist-types/commands/StartPatientInsightsJobCommand.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/index.d.ts +1 -0
  38. package/dist-types/ts3.4/commandBuilder.d.ts +52 -0
  39. package/dist-types/ts3.4/commands/ActivateSubscriptionCommand.d.ts +7 -16
  40. package/dist-types/ts3.4/commands/CreateDomainCommand.d.ts +7 -16
  41. package/dist-types/ts3.4/commands/CreateSubscriptionCommand.d.ts +7 -16
  42. package/dist-types/ts3.4/commands/DeactivateSubscriptionCommand.d.ts +7 -16
  43. package/dist-types/ts3.4/commands/DeleteDomainCommand.d.ts +7 -16
  44. package/dist-types/ts3.4/commands/GetDomainCommand.d.ts +7 -16
  45. package/dist-types/ts3.4/commands/GetMedicalScribeListeningSessionCommand.d.ts +7 -16
  46. package/dist-types/ts3.4/commands/GetPatientInsightsJobCommand.d.ts +7 -16
  47. package/dist-types/ts3.4/commands/GetSubscriptionCommand.d.ts +7 -16
  48. package/dist-types/ts3.4/commands/ListDomainsCommand.d.ts +7 -16
  49. package/dist-types/ts3.4/commands/ListSubscriptionsCommand.d.ts +7 -16
  50. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  51. package/dist-types/ts3.4/commands/StartMedicalScribeListeningSessionCommand.d.ts +7 -16
  52. package/dist-types/ts3.4/commands/StartPatientInsightsJobCommand.d.ts +7 -16
  53. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  54. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  55. package/dist-types/ts3.4/index.d.ts +1 -0
  56. package/package.json +11 -11
package/dist-cjs/index.js CHANGED
@@ -1,8 +1,9 @@
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 { resolveEventStreamConfig, getEventStreamPlugin } = require("@aws-sdk/middleware-eventstream");
3
3
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
4
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
5
- exports.$Command = Command;
4
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
5
+ const { Command: $Command } = require("@smithy/core/client");
6
+ exports.$Command = $Command;
6
7
  exports.__Client = Client;
7
8
  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");
8
9
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -69,7 +70,7 @@ const commonParams = {
69
70
  Region: { type: "builtInParams", name: "region" },
70
71
  };
71
72
 
72
- var version = "3.1076.0";
73
+ var version = "3.1077.0";
73
74
  var packageInfo = {
74
75
  version: version};
75
76
 
@@ -1054,204 +1055,59 @@ class ConnectHealthClient extends Client {
1054
1055
  }
1055
1056
  }
1056
1057
 
1057
- class ActivateSubscriptionCommand extends Command
1058
- .classBuilder()
1059
- .ep(commonParams)
1060
- .m(function (Command, cs, config, o) {
1061
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1062
- })
1063
- .s("ConnectHealth", "ActivateSubscription", {})
1064
- .n("ConnectHealthClient", "ActivateSubscriptionCommand")
1065
- .sc(ActivateSubscription$)
1066
- .build() {
1058
+ const command = makeBuilder(commonParams, "ConnectHealth", "ConnectHealthClient", getEndpointPlugin);
1059
+ const _ep0 = {};
1060
+ const _mw0 = (Command, cs, config, o) => [];
1061
+ const _mw1 = (Command, cs, config, o) => [
1062
+ getEventStreamPlugin(config),
1063
+ ];
1064
+
1065
+ class ActivateSubscriptionCommand extends command(_ep0, _mw0, "ActivateSubscription", ActivateSubscription$) {
1067
1066
  }
1068
1067
 
1069
- class CreateDomainCommand extends Command
1070
- .classBuilder()
1071
- .ep(commonParams)
1072
- .m(function (Command, cs, config, o) {
1073
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1074
- })
1075
- .s("ConnectHealth", "CreateDomain", {})
1076
- .n("ConnectHealthClient", "CreateDomainCommand")
1077
- .sc(CreateDomain$)
1078
- .build() {
1068
+ class CreateDomainCommand extends command(_ep0, _mw0, "CreateDomain", CreateDomain$) {
1079
1069
  }
1080
1070
 
1081
- class CreateSubscriptionCommand extends Command
1082
- .classBuilder()
1083
- .ep(commonParams)
1084
- .m(function (Command, cs, config, o) {
1085
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1086
- })
1087
- .s("ConnectHealth", "CreateSubscription", {})
1088
- .n("ConnectHealthClient", "CreateSubscriptionCommand")
1089
- .sc(CreateSubscription$)
1090
- .build() {
1071
+ class CreateSubscriptionCommand extends command(_ep0, _mw0, "CreateSubscription", CreateSubscription$) {
1091
1072
  }
1092
1073
 
1093
- class DeactivateSubscriptionCommand extends Command
1094
- .classBuilder()
1095
- .ep(commonParams)
1096
- .m(function (Command, cs, config, o) {
1097
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1098
- })
1099
- .s("ConnectHealth", "DeactivateSubscription", {})
1100
- .n("ConnectHealthClient", "DeactivateSubscriptionCommand")
1101
- .sc(DeactivateSubscription$)
1102
- .build() {
1074
+ class DeactivateSubscriptionCommand extends command(_ep0, _mw0, "DeactivateSubscription", DeactivateSubscription$) {
1103
1075
  }
1104
1076
 
1105
- class DeleteDomainCommand extends Command
1106
- .classBuilder()
1107
- .ep(commonParams)
1108
- .m(function (Command, cs, config, o) {
1109
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1110
- })
1111
- .s("ConnectHealth", "DeleteDomain", {})
1112
- .n("ConnectHealthClient", "DeleteDomainCommand")
1113
- .sc(DeleteDomain$)
1114
- .build() {
1077
+ class DeleteDomainCommand extends command(_ep0, _mw0, "DeleteDomain", DeleteDomain$) {
1115
1078
  }
1116
1079
 
1117
- class GetDomainCommand extends Command
1118
- .classBuilder()
1119
- .ep(commonParams)
1120
- .m(function (Command, cs, config, o) {
1121
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1122
- })
1123
- .s("ConnectHealth", "GetDomain", {})
1124
- .n("ConnectHealthClient", "GetDomainCommand")
1125
- .sc(GetDomain$)
1126
- .build() {
1080
+ class GetDomainCommand extends command(_ep0, _mw0, "GetDomain", GetDomain$) {
1127
1081
  }
1128
1082
 
1129
- class GetMedicalScribeListeningSessionCommand extends Command
1130
- .classBuilder()
1131
- .ep(commonParams)
1132
- .m(function (Command, cs, config, o) {
1133
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1134
- })
1135
- .s("ConnectHealth", "GetMedicalScribeListeningSession", {})
1136
- .n("ConnectHealthClient", "GetMedicalScribeListeningSessionCommand")
1137
- .sc(GetMedicalScribeListeningSession$)
1138
- .build() {
1083
+ class GetMedicalScribeListeningSessionCommand extends command(_ep0, _mw0, "GetMedicalScribeListeningSession", GetMedicalScribeListeningSession$) {
1139
1084
  }
1140
1085
 
1141
- class GetPatientInsightsJobCommand extends Command
1142
- .classBuilder()
1143
- .ep(commonParams)
1144
- .m(function (Command, cs, config, o) {
1145
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1146
- })
1147
- .s("ConnectHealth", "GetPatientInsightsJob", {})
1148
- .n("ConnectHealthClient", "GetPatientInsightsJobCommand")
1149
- .sc(GetPatientInsightsJob$)
1150
- .build() {
1086
+ class GetPatientInsightsJobCommand extends command(_ep0, _mw0, "GetPatientInsightsJob", GetPatientInsightsJob$) {
1151
1087
  }
1152
1088
 
1153
- class GetSubscriptionCommand extends Command
1154
- .classBuilder()
1155
- .ep(commonParams)
1156
- .m(function (Command, cs, config, o) {
1157
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1158
- })
1159
- .s("ConnectHealth", "GetSubscription", {})
1160
- .n("ConnectHealthClient", "GetSubscriptionCommand")
1161
- .sc(GetSubscription$)
1162
- .build() {
1089
+ class GetSubscriptionCommand extends command(_ep0, _mw0, "GetSubscription", GetSubscription$) {
1163
1090
  }
1164
1091
 
1165
- class ListDomainsCommand extends Command
1166
- .classBuilder()
1167
- .ep(commonParams)
1168
- .m(function (Command, cs, config, o) {
1169
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1170
- })
1171
- .s("ConnectHealth", "ListDomains", {})
1172
- .n("ConnectHealthClient", "ListDomainsCommand")
1173
- .sc(ListDomains$)
1174
- .build() {
1092
+ class ListDomainsCommand extends command(_ep0, _mw0, "ListDomains", ListDomains$) {
1175
1093
  }
1176
1094
 
1177
- class ListSubscriptionsCommand extends Command
1178
- .classBuilder()
1179
- .ep(commonParams)
1180
- .m(function (Command, cs, config, o) {
1181
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1182
- })
1183
- .s("ConnectHealth", "ListSubscriptions", {})
1184
- .n("ConnectHealthClient", "ListSubscriptionsCommand")
1185
- .sc(ListSubscriptions$)
1186
- .build() {
1095
+ class ListSubscriptionsCommand extends command(_ep0, _mw0, "ListSubscriptions", ListSubscriptions$) {
1187
1096
  }
1188
1097
 
1189
- class ListTagsForResourceCommand extends Command
1190
- .classBuilder()
1191
- .ep(commonParams)
1192
- .m(function (Command, cs, config, o) {
1193
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1194
- })
1195
- .s("ConnectHealth", "ListTagsForResource", {})
1196
- .n("ConnectHealthClient", "ListTagsForResourceCommand")
1197
- .sc(ListTagsForResource$)
1198
- .build() {
1098
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1199
1099
  }
1200
1100
 
1201
- class StartMedicalScribeListeningSessionCommand extends Command
1202
- .classBuilder()
1203
- .ep(commonParams)
1204
- .m(function (Command, cs, config, o) {
1205
- return [
1206
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1207
- getEventStreamPlugin(config),
1208
- ];
1209
- })
1210
- .s("ConnectHealth", "StartMedicalScribeListeningSession", {
1211
- eventStream: {
1212
- input: true,
1213
- output: true,
1214
- },
1215
- })
1216
- .n("ConnectHealthClient", "StartMedicalScribeListeningSessionCommand")
1217
- .sc(StartMedicalScribeListeningSession$)
1218
- .build() {
1101
+ class StartMedicalScribeListeningSessionCommand extends command(_ep0, _mw1, "StartMedicalScribeListeningSession", StartMedicalScribeListeningSession$) {
1219
1102
  }
1220
1103
 
1221
- class StartPatientInsightsJobCommand extends Command
1222
- .classBuilder()
1223
- .ep(commonParams)
1224
- .m(function (Command, cs, config, o) {
1225
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1226
- })
1227
- .s("ConnectHealth", "StartPatientInsightsJob", {})
1228
- .n("ConnectHealthClient", "StartPatientInsightsJobCommand")
1229
- .sc(StartPatientInsightsJob$)
1230
- .build() {
1104
+ class StartPatientInsightsJobCommand extends command(_ep0, _mw0, "StartPatientInsightsJob", StartPatientInsightsJob$) {
1231
1105
  }
1232
1106
 
1233
- class TagResourceCommand extends Command
1234
- .classBuilder()
1235
- .ep(commonParams)
1236
- .m(function (Command, cs, config, o) {
1237
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1238
- })
1239
- .s("ConnectHealth", "TagResource", {})
1240
- .n("ConnectHealthClient", "TagResourceCommand")
1241
- .sc(TagResource$)
1242
- .build() {
1107
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1243
1108
  }
1244
1109
 
1245
- class UntagResourceCommand extends Command
1246
- .classBuilder()
1247
- .ep(commonParams)
1248
- .m(function (Command, cs, config, o) {
1249
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1250
- })
1251
- .s("ConnectHealth", "UntagResource", {})
1252
- .n("ConnectHealthClient", "UntagResourceCommand")
1253
- .sc(UntagResource$)
1254
- .build() {
1110
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1255
1111
  }
1256
1112
 
1257
1113
  const paginateListDomains = createPaginator(ConnectHealthClient, ListDomainsCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,10 @@
1
+ import { getEventStreamPlugin } from "@aws-sdk/middleware-eventstream";
2
+ import { makeBuilder } from "@smithy/core/client";
3
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
4
+ import { commonParams } from "./endpoint/EndpointParameters";
5
+ export const command = makeBuilder(commonParams, "ConnectHealth", "ConnectHealthClient", getEndpointPlugin);
6
+ export const _ep0 = {};
7
+ export const _mw0 = (Command, cs, config, o) => [];
8
+ export const _mw1 = (Command, cs, config, o) => [
9
+ getEventStreamPlugin(config),
10
+ ];
@@ -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 { ActivateSubscription$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ActivateSubscriptionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ConnectHealth", "ActivateSubscription", {})
13
- .n("ConnectHealthClient", "ActivateSubscriptionCommand")
14
- .sc(ActivateSubscription$)
15
- .build() {
3
+ export class ActivateSubscriptionCommand extends command(_ep0, _mw0, "ActivateSubscription", ActivateSubscription$) {
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 { CreateDomain$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateDomainCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ConnectHealth", "CreateDomain", {})
13
- .n("ConnectHealthClient", "CreateDomainCommand")
14
- .sc(CreateDomain$)
15
- .build() {
3
+ export class CreateDomainCommand extends command(_ep0, _mw0, "CreateDomain", CreateDomain$) {
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 { CreateSubscription$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateSubscriptionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ConnectHealth", "CreateSubscription", {})
13
- .n("ConnectHealthClient", "CreateSubscriptionCommand")
14
- .sc(CreateSubscription$)
15
- .build() {
3
+ export class CreateSubscriptionCommand extends command(_ep0, _mw0, "CreateSubscription", CreateSubscription$) {
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 { DeactivateSubscription$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeactivateSubscriptionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ConnectHealth", "DeactivateSubscription", {})
13
- .n("ConnectHealthClient", "DeactivateSubscriptionCommand")
14
- .sc(DeactivateSubscription$)
15
- .build() {
3
+ export class DeactivateSubscriptionCommand extends command(_ep0, _mw0, "DeactivateSubscription", DeactivateSubscription$) {
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 { DeleteDomain$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteDomainCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ConnectHealth", "DeleteDomain", {})
13
- .n("ConnectHealthClient", "DeleteDomainCommand")
14
- .sc(DeleteDomain$)
15
- .build() {
3
+ export class DeleteDomainCommand extends command(_ep0, _mw0, "DeleteDomain", DeleteDomain$) {
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 { GetDomain$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetDomainCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ConnectHealth", "GetDomain", {})
13
- .n("ConnectHealthClient", "GetDomainCommand")
14
- .sc(GetDomain$)
15
- .build() {
3
+ export class GetDomainCommand extends command(_ep0, _mw0, "GetDomain", GetDomain$) {
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 { GetMedicalScribeListeningSession$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetMedicalScribeListeningSessionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ConnectHealth", "GetMedicalScribeListeningSession", {})
13
- .n("ConnectHealthClient", "GetMedicalScribeListeningSessionCommand")
14
- .sc(GetMedicalScribeListeningSession$)
15
- .build() {
3
+ export class GetMedicalScribeListeningSessionCommand extends command(_ep0, _mw0, "GetMedicalScribeListeningSession", GetMedicalScribeListeningSession$) {
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 { GetPatientInsightsJob$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetPatientInsightsJobCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ConnectHealth", "GetPatientInsightsJob", {})
13
- .n("ConnectHealthClient", "GetPatientInsightsJobCommand")
14
- .sc(GetPatientInsightsJob$)
15
- .build() {
3
+ export class GetPatientInsightsJobCommand extends command(_ep0, _mw0, "GetPatientInsightsJob", GetPatientInsightsJob$) {
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 { GetSubscription$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetSubscriptionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ConnectHealth", "GetSubscription", {})
13
- .n("ConnectHealthClient", "GetSubscriptionCommand")
14
- .sc(GetSubscription$)
15
- .build() {
3
+ export class GetSubscriptionCommand extends command(_ep0, _mw0, "GetSubscription", GetSubscription$) {
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 { ListDomains$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListDomainsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ConnectHealth", "ListDomains", {})
13
- .n("ConnectHealthClient", "ListDomainsCommand")
14
- .sc(ListDomains$)
15
- .build() {
3
+ export class ListDomainsCommand extends command(_ep0, _mw0, "ListDomains", ListDomains$) {
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 { ListSubscriptions$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListSubscriptionsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ConnectHealth", "ListSubscriptions", {})
13
- .n("ConnectHealthClient", "ListSubscriptionsCommand")
14
- .sc(ListSubscriptions$)
15
- .build() {
3
+ export class ListSubscriptionsCommand extends command(_ep0, _mw0, "ListSubscriptions", ListSubscriptions$) {
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("ConnectHealth", "ListTagsForResource", {})
13
- .n("ConnectHealthClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource$)
15
- .build() {
3
+ export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
16
4
  }
@@ -1,25 +1,4 @@
1
- import { getEventStreamPlugin } from "@aws-sdk/middleware-eventstream";
2
- import { Command as $Command } from "@smithy/core/client";
3
- import { getEndpointPlugin } from "@smithy/core/endpoints";
4
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw1, command } from "../commandBuilder";
5
2
  import { StartMedicalScribeListeningSession$ } from "../schemas/schemas_0";
6
- export { $Command };
7
- export class StartMedicalScribeListeningSessionCommand extends $Command
8
- .classBuilder()
9
- .ep(commonParams)
10
- .m(function (Command, cs, config, o) {
11
- return [
12
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
13
- getEventStreamPlugin(config),
14
- ];
15
- })
16
- .s("ConnectHealth", "StartMedicalScribeListeningSession", {
17
- eventStream: {
18
- input: true,
19
- output: true,
20
- },
21
- })
22
- .n("ConnectHealthClient", "StartMedicalScribeListeningSessionCommand")
23
- .sc(StartMedicalScribeListeningSession$)
24
- .build() {
3
+ export class StartMedicalScribeListeningSessionCommand extends command(_ep0, _mw1, "StartMedicalScribeListeningSession", StartMedicalScribeListeningSession$) {
25
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 { StartPatientInsightsJob$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StartPatientInsightsJobCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ConnectHealth", "StartPatientInsightsJob", {})
13
- .n("ConnectHealthClient", "StartPatientInsightsJobCommand")
14
- .sc(StartPatientInsightsJob$)
15
- .build() {
3
+ export class StartPatientInsightsJobCommand extends command(_ep0, _mw0, "StartPatientInsightsJob", StartPatientInsightsJob$) {
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("ConnectHealth", "TagResource", {})
13
- .n("ConnectHealthClient", "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("ConnectHealth", "UntagResource", {})
13
- .n("ConnectHealthClient", "UntagResourceCommand")
14
- .sc(UntagResource$)
15
- .build() {
3
+ export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./ConnectHealthClient";
2
2
  export * from "./ConnectHealth";
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,22 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { ConnectHealthClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./ConnectHealthClient";
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, ConnectHealthClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, ConnectHealthClientResolvedConfig, 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[];
19
+ /**
20
+ * @internal
21
+ */
22
+ export declare const _mw1: (Command: any, cs: any, config: any, o: any) => import("@smithy/types").Pluggable<any, any>[];