@aws-sdk/client-connecthealth 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.
- package/dist-cjs/index.js +30 -173
- package/dist-es/commandBuilder.js +10 -0
- package/dist-es/commands/ActivateSubscriptionCommand.js +2 -14
- package/dist-es/commands/CreateDomainCommand.js +2 -14
- package/dist-es/commands/CreateSubscriptionCommand.js +2 -14
- package/dist-es/commands/DeactivateSubscriptionCommand.js +2 -14
- package/dist-es/commands/DeleteDomainCommand.js +2 -14
- package/dist-es/commands/GetDomainCommand.js +2 -14
- package/dist-es/commands/GetMedicalScribeListeningSessionCommand.js +2 -14
- package/dist-es/commands/GetPatientInsightsJobCommand.js +2 -14
- package/dist-es/commands/GetSubscriptionCommand.js +2 -14
- package/dist-es/commands/ListDomainsCommand.js +2 -14
- package/dist-es/commands/ListSubscriptionsCommand.js +2 -14
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
- package/dist-es/commands/StartMedicalScribeListeningSessionCommand.js +2 -23
- package/dist-es/commands/StartPatientInsightsJobCommand.js +2 -14
- package/dist-es/commands/TagResourceCommand.js +2 -14
- package/dist-es/commands/UntagResourceCommand.js +2 -14
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-types/commandBuilder.d.ts +22 -0
- package/dist-types/commands/ActivateSubscriptionCommand.d.ts +3 -8
- package/dist-types/commands/CreateDomainCommand.d.ts +3 -8
- package/dist-types/commands/CreateSubscriptionCommand.d.ts +3 -8
- package/dist-types/commands/DeactivateSubscriptionCommand.d.ts +3 -8
- package/dist-types/commands/DeleteDomainCommand.d.ts +3 -8
- package/dist-types/commands/GetDomainCommand.d.ts +3 -8
- package/dist-types/commands/GetMedicalScribeListeningSessionCommand.d.ts +3 -8
- package/dist-types/commands/GetPatientInsightsJobCommand.d.ts +3 -8
- package/dist-types/commands/GetSubscriptionCommand.d.ts +3 -8
- package/dist-types/commands/ListDomainsCommand.d.ts +3 -8
- package/dist-types/commands/ListSubscriptionsCommand.d.ts +3 -8
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
- package/dist-types/commands/StartMedicalScribeListeningSessionCommand.d.ts +3 -8
- package/dist-types/commands/StartPatientInsightsJobCommand.d.ts +3 -8
- package/dist-types/commands/TagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +52 -0
- package/dist-types/ts3.4/commands/ActivateSubscriptionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateDomainCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateSubscriptionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeactivateSubscriptionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteDomainCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetDomainCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetMedicalScribeListeningSessionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetPatientInsightsJobCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetSubscriptionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListDomainsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListSubscriptionsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/StartMedicalScribeListeningSessionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/StartPatientInsightsJobCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/package.json +11 -13
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,
|
|
5
|
-
|
|
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");
|
|
@@ -13,9 +14,10 @@ const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
|
13
14
|
const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
14
15
|
const { defaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
15
16
|
const { eventStreamPayloadHandlerProvider } = require("@aws-sdk/eventstream-handler-node");
|
|
16
|
-
const { toUtf8, fromUtf8, toBase64, fromBase64,
|
|
17
|
+
const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
|
|
17
18
|
const { streamCollector, NodeHttp2Handler } = require("@smithy/node-http-handler");
|
|
18
19
|
const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
|
|
20
|
+
const { Sha256 } = require("@smithy/core/checksum");
|
|
19
21
|
|
|
20
22
|
const defaultConnectHealthHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
21
23
|
return {
|
|
@@ -68,7 +70,7 @@ const commonParams = {
|
|
|
68
70
|
Region: { type: "builtInParams", name: "region" },
|
|
69
71
|
};
|
|
70
72
|
|
|
71
|
-
var version = "3.
|
|
73
|
+
var version = "3.1077.0";
|
|
72
74
|
var packageInfo = {
|
|
73
75
|
version: version};
|
|
74
76
|
|
|
@@ -925,6 +927,7 @@ const getRuntimeConfig$1 = (config) => {
|
|
|
925
927
|
serviceTarget: "ConnectHealth",
|
|
926
928
|
},
|
|
927
929
|
serviceId: config?.serviceId ?? "ConnectHealth",
|
|
930
|
+
sha256: config?.sha256 ?? Sha256,
|
|
928
931
|
urlParser: config?.urlParser ?? parseUrl,
|
|
929
932
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
930
933
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -963,7 +966,6 @@ const getRuntimeConfig = (config) => {
|
|
|
963
966
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
964
967
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
965
968
|
}, config),
|
|
966
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
967
969
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
968
970
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
969
971
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -1053,204 +1055,59 @@ class ConnectHealthClient extends Client {
|
|
|
1053
1055
|
}
|
|
1054
1056
|
}
|
|
1055
1057
|
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
.sc(ActivateSubscription$)
|
|
1065
|
-
.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$) {
|
|
1066
1066
|
}
|
|
1067
1067
|
|
|
1068
|
-
class CreateDomainCommand extends
|
|
1069
|
-
.classBuilder()
|
|
1070
|
-
.ep(commonParams)
|
|
1071
|
-
.m(function (Command, cs, config, o) {
|
|
1072
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1073
|
-
})
|
|
1074
|
-
.s("ConnectHealth", "CreateDomain", {})
|
|
1075
|
-
.n("ConnectHealthClient", "CreateDomainCommand")
|
|
1076
|
-
.sc(CreateDomain$)
|
|
1077
|
-
.build() {
|
|
1068
|
+
class CreateDomainCommand extends command(_ep0, _mw0, "CreateDomain", CreateDomain$) {
|
|
1078
1069
|
}
|
|
1079
1070
|
|
|
1080
|
-
class CreateSubscriptionCommand extends
|
|
1081
|
-
.classBuilder()
|
|
1082
|
-
.ep(commonParams)
|
|
1083
|
-
.m(function (Command, cs, config, o) {
|
|
1084
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1085
|
-
})
|
|
1086
|
-
.s("ConnectHealth", "CreateSubscription", {})
|
|
1087
|
-
.n("ConnectHealthClient", "CreateSubscriptionCommand")
|
|
1088
|
-
.sc(CreateSubscription$)
|
|
1089
|
-
.build() {
|
|
1071
|
+
class CreateSubscriptionCommand extends command(_ep0, _mw0, "CreateSubscription", CreateSubscription$) {
|
|
1090
1072
|
}
|
|
1091
1073
|
|
|
1092
|
-
class DeactivateSubscriptionCommand extends
|
|
1093
|
-
.classBuilder()
|
|
1094
|
-
.ep(commonParams)
|
|
1095
|
-
.m(function (Command, cs, config, o) {
|
|
1096
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1097
|
-
})
|
|
1098
|
-
.s("ConnectHealth", "DeactivateSubscription", {})
|
|
1099
|
-
.n("ConnectHealthClient", "DeactivateSubscriptionCommand")
|
|
1100
|
-
.sc(DeactivateSubscription$)
|
|
1101
|
-
.build() {
|
|
1074
|
+
class DeactivateSubscriptionCommand extends command(_ep0, _mw0, "DeactivateSubscription", DeactivateSubscription$) {
|
|
1102
1075
|
}
|
|
1103
1076
|
|
|
1104
|
-
class DeleteDomainCommand extends
|
|
1105
|
-
.classBuilder()
|
|
1106
|
-
.ep(commonParams)
|
|
1107
|
-
.m(function (Command, cs, config, o) {
|
|
1108
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1109
|
-
})
|
|
1110
|
-
.s("ConnectHealth", "DeleteDomain", {})
|
|
1111
|
-
.n("ConnectHealthClient", "DeleteDomainCommand")
|
|
1112
|
-
.sc(DeleteDomain$)
|
|
1113
|
-
.build() {
|
|
1077
|
+
class DeleteDomainCommand extends command(_ep0, _mw0, "DeleteDomain", DeleteDomain$) {
|
|
1114
1078
|
}
|
|
1115
1079
|
|
|
1116
|
-
class GetDomainCommand extends
|
|
1117
|
-
.classBuilder()
|
|
1118
|
-
.ep(commonParams)
|
|
1119
|
-
.m(function (Command, cs, config, o) {
|
|
1120
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1121
|
-
})
|
|
1122
|
-
.s("ConnectHealth", "GetDomain", {})
|
|
1123
|
-
.n("ConnectHealthClient", "GetDomainCommand")
|
|
1124
|
-
.sc(GetDomain$)
|
|
1125
|
-
.build() {
|
|
1080
|
+
class GetDomainCommand extends command(_ep0, _mw0, "GetDomain", GetDomain$) {
|
|
1126
1081
|
}
|
|
1127
1082
|
|
|
1128
|
-
class GetMedicalScribeListeningSessionCommand extends
|
|
1129
|
-
.classBuilder()
|
|
1130
|
-
.ep(commonParams)
|
|
1131
|
-
.m(function (Command, cs, config, o) {
|
|
1132
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1133
|
-
})
|
|
1134
|
-
.s("ConnectHealth", "GetMedicalScribeListeningSession", {})
|
|
1135
|
-
.n("ConnectHealthClient", "GetMedicalScribeListeningSessionCommand")
|
|
1136
|
-
.sc(GetMedicalScribeListeningSession$)
|
|
1137
|
-
.build() {
|
|
1083
|
+
class GetMedicalScribeListeningSessionCommand extends command(_ep0, _mw0, "GetMedicalScribeListeningSession", GetMedicalScribeListeningSession$) {
|
|
1138
1084
|
}
|
|
1139
1085
|
|
|
1140
|
-
class GetPatientInsightsJobCommand extends
|
|
1141
|
-
.classBuilder()
|
|
1142
|
-
.ep(commonParams)
|
|
1143
|
-
.m(function (Command, cs, config, o) {
|
|
1144
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1145
|
-
})
|
|
1146
|
-
.s("ConnectHealth", "GetPatientInsightsJob", {})
|
|
1147
|
-
.n("ConnectHealthClient", "GetPatientInsightsJobCommand")
|
|
1148
|
-
.sc(GetPatientInsightsJob$)
|
|
1149
|
-
.build() {
|
|
1086
|
+
class GetPatientInsightsJobCommand extends command(_ep0, _mw0, "GetPatientInsightsJob", GetPatientInsightsJob$) {
|
|
1150
1087
|
}
|
|
1151
1088
|
|
|
1152
|
-
class GetSubscriptionCommand extends
|
|
1153
|
-
.classBuilder()
|
|
1154
|
-
.ep(commonParams)
|
|
1155
|
-
.m(function (Command, cs, config, o) {
|
|
1156
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1157
|
-
})
|
|
1158
|
-
.s("ConnectHealth", "GetSubscription", {})
|
|
1159
|
-
.n("ConnectHealthClient", "GetSubscriptionCommand")
|
|
1160
|
-
.sc(GetSubscription$)
|
|
1161
|
-
.build() {
|
|
1089
|
+
class GetSubscriptionCommand extends command(_ep0, _mw0, "GetSubscription", GetSubscription$) {
|
|
1162
1090
|
}
|
|
1163
1091
|
|
|
1164
|
-
class ListDomainsCommand extends
|
|
1165
|
-
.classBuilder()
|
|
1166
|
-
.ep(commonParams)
|
|
1167
|
-
.m(function (Command, cs, config, o) {
|
|
1168
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1169
|
-
})
|
|
1170
|
-
.s("ConnectHealth", "ListDomains", {})
|
|
1171
|
-
.n("ConnectHealthClient", "ListDomainsCommand")
|
|
1172
|
-
.sc(ListDomains$)
|
|
1173
|
-
.build() {
|
|
1092
|
+
class ListDomainsCommand extends command(_ep0, _mw0, "ListDomains", ListDomains$) {
|
|
1174
1093
|
}
|
|
1175
1094
|
|
|
1176
|
-
class ListSubscriptionsCommand extends
|
|
1177
|
-
.classBuilder()
|
|
1178
|
-
.ep(commonParams)
|
|
1179
|
-
.m(function (Command, cs, config, o) {
|
|
1180
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1181
|
-
})
|
|
1182
|
-
.s("ConnectHealth", "ListSubscriptions", {})
|
|
1183
|
-
.n("ConnectHealthClient", "ListSubscriptionsCommand")
|
|
1184
|
-
.sc(ListSubscriptions$)
|
|
1185
|
-
.build() {
|
|
1095
|
+
class ListSubscriptionsCommand extends command(_ep0, _mw0, "ListSubscriptions", ListSubscriptions$) {
|
|
1186
1096
|
}
|
|
1187
1097
|
|
|
1188
|
-
class ListTagsForResourceCommand extends
|
|
1189
|
-
.classBuilder()
|
|
1190
|
-
.ep(commonParams)
|
|
1191
|
-
.m(function (Command, cs, config, o) {
|
|
1192
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1193
|
-
})
|
|
1194
|
-
.s("ConnectHealth", "ListTagsForResource", {})
|
|
1195
|
-
.n("ConnectHealthClient", "ListTagsForResourceCommand")
|
|
1196
|
-
.sc(ListTagsForResource$)
|
|
1197
|
-
.build() {
|
|
1098
|
+
class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
|
|
1198
1099
|
}
|
|
1199
1100
|
|
|
1200
|
-
class StartMedicalScribeListeningSessionCommand extends
|
|
1201
|
-
.classBuilder()
|
|
1202
|
-
.ep(commonParams)
|
|
1203
|
-
.m(function (Command, cs, config, o) {
|
|
1204
|
-
return [
|
|
1205
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1206
|
-
getEventStreamPlugin(config),
|
|
1207
|
-
];
|
|
1208
|
-
})
|
|
1209
|
-
.s("ConnectHealth", "StartMedicalScribeListeningSession", {
|
|
1210
|
-
eventStream: {
|
|
1211
|
-
input: true,
|
|
1212
|
-
output: true,
|
|
1213
|
-
},
|
|
1214
|
-
})
|
|
1215
|
-
.n("ConnectHealthClient", "StartMedicalScribeListeningSessionCommand")
|
|
1216
|
-
.sc(StartMedicalScribeListeningSession$)
|
|
1217
|
-
.build() {
|
|
1101
|
+
class StartMedicalScribeListeningSessionCommand extends command(_ep0, _mw1, "StartMedicalScribeListeningSession", StartMedicalScribeListeningSession$) {
|
|
1218
1102
|
}
|
|
1219
1103
|
|
|
1220
|
-
class StartPatientInsightsJobCommand extends
|
|
1221
|
-
.classBuilder()
|
|
1222
|
-
.ep(commonParams)
|
|
1223
|
-
.m(function (Command, cs, config, o) {
|
|
1224
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1225
|
-
})
|
|
1226
|
-
.s("ConnectHealth", "StartPatientInsightsJob", {})
|
|
1227
|
-
.n("ConnectHealthClient", "StartPatientInsightsJobCommand")
|
|
1228
|
-
.sc(StartPatientInsightsJob$)
|
|
1229
|
-
.build() {
|
|
1104
|
+
class StartPatientInsightsJobCommand extends command(_ep0, _mw0, "StartPatientInsightsJob", StartPatientInsightsJob$) {
|
|
1230
1105
|
}
|
|
1231
1106
|
|
|
1232
|
-
class TagResourceCommand extends
|
|
1233
|
-
.classBuilder()
|
|
1234
|
-
.ep(commonParams)
|
|
1235
|
-
.m(function (Command, cs, config, o) {
|
|
1236
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1237
|
-
})
|
|
1238
|
-
.s("ConnectHealth", "TagResource", {})
|
|
1239
|
-
.n("ConnectHealthClient", "TagResourceCommand")
|
|
1240
|
-
.sc(TagResource$)
|
|
1241
|
-
.build() {
|
|
1107
|
+
class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
|
|
1242
1108
|
}
|
|
1243
1109
|
|
|
1244
|
-
class UntagResourceCommand extends
|
|
1245
|
-
.classBuilder()
|
|
1246
|
-
.ep(commonParams)
|
|
1247
|
-
.m(function (Command, cs, config, o) {
|
|
1248
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1249
|
-
})
|
|
1250
|
-
.s("ConnectHealth", "UntagResource", {})
|
|
1251
|
-
.n("ConnectHealthClient", "UntagResourceCommand")
|
|
1252
|
-
.sc(UntagResource$)
|
|
1253
|
-
.build() {
|
|
1110
|
+
class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
|
|
1254
1111
|
}
|
|
1255
1112
|
|
|
1256
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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";
|
|
@@ -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 { invalidFunction, invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
5
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
@@ -28,7 +27,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
28
27
|
region: config?.region ?? invalidProvider("Region is missing"),
|
|
29
28
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
30
29
|
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
31
|
-
sha256: config?.sha256 ?? Sha256,
|
|
32
30
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
33
31
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
34
32
|
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|