@aws-sdk/client-connecthealth 3.1067.0 → 3.1069.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/auth/httpAuthSchemeProvider.js +9 -15
- package/dist-cjs/endpoint/bdd.js +2 -5
- package/dist-cjs/endpoint/endpointResolver.js +7 -11
- package/dist-cjs/index.js +95 -115
- package/dist-cjs/models/ConnectHealthServiceException.js +4 -8
- package/dist-cjs/models/errors.js +15 -25
- package/dist-cjs/runtimeConfig.browser.js +25 -29
- package/dist-cjs/runtimeConfig.js +34 -38
- package/dist-cjs/runtimeConfig.native.js +6 -9
- package/dist-cjs/runtimeConfig.shared.js +20 -24
- package/dist-cjs/schemas/schemas_0.js +213 -140
- package/package.json +10 -10
|
@@ -1,17 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.
|
|
4
|
-
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
5
|
-
const client_1 = require("@smithy/core/client");
|
|
6
|
-
const defaultConnectHealthHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
1
|
+
const { resolveAwsSdkSigV4Config } = require("@aws-sdk/core/httpAuthSchemes");
|
|
2
|
+
const { getSmithyContext, normalizeProvider } = require("@smithy/core/client");
|
|
3
|
+
exports.defaultConnectHealthHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
7
4
|
return {
|
|
8
|
-
operation:
|
|
9
|
-
region: await
|
|
5
|
+
operation: getSmithyContext(context).operation,
|
|
6
|
+
region: await normalizeProvider(config.region)() || (() => {
|
|
10
7
|
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
11
8
|
})(),
|
|
12
9
|
};
|
|
13
10
|
};
|
|
14
|
-
exports.defaultConnectHealthHttpAuthSchemeParametersProvider = defaultConnectHealthHttpAuthSchemeParametersProvider;
|
|
15
11
|
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
16
12
|
return {
|
|
17
13
|
schemeId: "aws.auth#sigv4",
|
|
@@ -27,7 +23,7 @@ function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
|
27
23
|
}),
|
|
28
24
|
};
|
|
29
25
|
}
|
|
30
|
-
|
|
26
|
+
exports.defaultConnectHealthHttpAuthSchemeProvider = (authParameters) => {
|
|
31
27
|
const options = [];
|
|
32
28
|
switch (authParameters.operation) {
|
|
33
29
|
default: {
|
|
@@ -36,11 +32,9 @@ const defaultConnectHealthHttpAuthSchemeProvider = (authParameters) => {
|
|
|
36
32
|
}
|
|
37
33
|
return options;
|
|
38
34
|
};
|
|
39
|
-
exports.
|
|
40
|
-
const
|
|
41
|
-
const config_0 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4Config)(config);
|
|
35
|
+
exports.resolveHttpAuthSchemeConfig = (config) => {
|
|
36
|
+
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
42
37
|
return Object.assign(config_0, {
|
|
43
|
-
authSchemePreference:
|
|
38
|
+
authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
|
|
44
39
|
});
|
|
45
40
|
};
|
|
46
|
-
exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
|
package/dist-cjs/endpoint/bdd.js
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.bdd = void 0;
|
|
4
|
-
const endpoints_1 = require("@smithy/core/endpoints");
|
|
1
|
+
const { BinaryDecisionDiagram } = require("@smithy/core/endpoints");
|
|
5
2
|
const a = "isSet", b = { "ref": "Endpoint" }, c = [{ "ref": "Region" }];
|
|
6
3
|
const _data = {
|
|
7
4
|
conditions: [
|
|
@@ -29,4 +26,4 @@ const nodes = new Int32Array([
|
|
|
29
26
|
3, r + 3, r + 4,
|
|
30
27
|
3, r + 1, r + 2,
|
|
31
28
|
]);
|
|
32
|
-
exports.bdd =
|
|
29
|
+
exports.bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
@@ -1,18 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
const endpoints_1 = require("@smithy/core/endpoints");
|
|
6
|
-
const bdd_1 = require("./bdd");
|
|
7
|
-
const cache = new endpoints_1.EndpointCache({
|
|
1
|
+
const { awsEndpointFunctions } = require("@aws-sdk/core/client");
|
|
2
|
+
const { customEndpointFunctions, decideEndpoint, EndpointCache } = require("@smithy/core/endpoints");
|
|
3
|
+
const { bdd } = require("./bdd");
|
|
4
|
+
const cache = new EndpointCache({
|
|
8
5
|
size: 50,
|
|
9
6
|
params: ["Endpoint", "Region", "UseFIPS"],
|
|
10
7
|
});
|
|
11
|
-
|
|
12
|
-
return cache.get(endpointParams, () =>
|
|
8
|
+
exports.defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
9
|
+
return cache.get(endpointParams, () => decideEndpoint(bdd, {
|
|
13
10
|
endpointParams: endpointParams,
|
|
14
11
|
logger: context.logger,
|
|
15
12
|
}));
|
|
16
13
|
};
|
|
17
|
-
|
|
18
|
-
endpoints_1.customEndpointFunctions.aws = client_1.awsEndpointFunctions;
|
|
14
|
+
customEndpointFunctions.aws = awsEndpointFunctions;
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,20 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
var __exportStar = (m, e) => { Object.assign(e, m); };
|
|
2
|
+
const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
3
|
+
const { resolveEventStreamConfig, getEventStreamPlugin } = require("@aws-sdk/middleware-eventstream");
|
|
4
|
+
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
5
|
+
const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
|
|
6
|
+
exports.$Command = Command;
|
|
7
|
+
exports.__Client = Client;
|
|
8
|
+
const { resolveRegionConfig } = require("@smithy/core/config");
|
|
9
|
+
const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
10
|
+
const { resolveEventStreamSerdeConfig } = require("@smithy/core/event-streams");
|
|
11
|
+
const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
12
|
+
const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
13
|
+
const { getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
14
|
+
const { resolveHttpAuthSchemeConfig, defaultConnectHealthHttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
|
|
15
|
+
const { getRuntimeConfig } = require("./runtimeConfig");
|
|
16
|
+
const { ActivateSubscription$, CreateDomain$, CreateSubscription$, DeactivateSubscription$, DeleteDomain$, GetDomain$, GetMedicalScribeListeningSession$, GetPatientInsightsJob$, GetSubscription$, ListDomains$, ListSubscriptions$, ListTagsForResource$, StartMedicalScribeListeningSession$, StartPatientInsightsJob$, TagResource$, UntagResource$ } = require("./schemas/schemas_0");
|
|
17
|
+
__exportStar(require("./schemas/schemas_0"), exports);
|
|
18
|
+
__exportStar(require("./models/errors"), exports);
|
|
19
|
+
const { ConnectHealthServiceException } = require("./models/ConnectHealthServiceException");
|
|
20
|
+
exports.ConnectHealthServiceException = ConnectHealthServiceException;
|
|
18
21
|
|
|
19
22
|
const resolveClientEndpointParameters = (options) => {
|
|
20
23
|
return Object.assign(options, {
|
|
@@ -68,199 +71,199 @@ const resolveHttpAuthRuntimeConfig = (config) => {
|
|
|
68
71
|
};
|
|
69
72
|
|
|
70
73
|
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
71
|
-
const extensionConfiguration = Object.assign(
|
|
74
|
+
const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
72
75
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
73
|
-
return Object.assign(runtimeConfig,
|
|
76
|
+
return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
74
77
|
};
|
|
75
78
|
|
|
76
|
-
class ConnectHealthClient extends
|
|
79
|
+
class ConnectHealthClient extends Client {
|
|
77
80
|
config;
|
|
78
81
|
constructor(...[configuration]) {
|
|
79
|
-
const _config_0 =
|
|
82
|
+
const _config_0 = getRuntimeConfig(configuration || {});
|
|
80
83
|
super(_config_0);
|
|
81
84
|
this.initConfig = _config_0;
|
|
82
85
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
83
|
-
const _config_2 =
|
|
84
|
-
const _config_3 =
|
|
85
|
-
const _config_4 =
|
|
86
|
-
const _config_5 =
|
|
87
|
-
const _config_6 =
|
|
88
|
-
const _config_7 =
|
|
89
|
-
const _config_8 =
|
|
90
|
-
const _config_9 =
|
|
86
|
+
const _config_2 = resolveUserAgentConfig(_config_1);
|
|
87
|
+
const _config_3 = resolveRetryConfig(_config_2);
|
|
88
|
+
const _config_4 = resolveRegionConfig(_config_3);
|
|
89
|
+
const _config_5 = resolveHostHeaderConfig(_config_4);
|
|
90
|
+
const _config_6 = resolveEndpointConfig(_config_5);
|
|
91
|
+
const _config_7 = resolveEventStreamSerdeConfig(_config_6);
|
|
92
|
+
const _config_8 = resolveHttpAuthSchemeConfig(_config_7);
|
|
93
|
+
const _config_9 = resolveEventStreamConfig(_config_8);
|
|
91
94
|
const _config_10 = resolveRuntimeExtensions(_config_9, configuration?.extensions || []);
|
|
92
95
|
this.config = _config_10;
|
|
93
|
-
this.middlewareStack.use(
|
|
94
|
-
this.middlewareStack.use(
|
|
95
|
-
this.middlewareStack.use(
|
|
96
|
-
this.middlewareStack.use(
|
|
97
|
-
this.middlewareStack.use(
|
|
98
|
-
this.middlewareStack.use(
|
|
99
|
-
this.middlewareStack.use(
|
|
100
|
-
this.middlewareStack.use(
|
|
101
|
-
httpAuthSchemeParametersProvider:
|
|
102
|
-
identityProviderConfigProvider: async (config) => new
|
|
96
|
+
this.middlewareStack.use(getSchemaSerdePlugin(this.config));
|
|
97
|
+
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
98
|
+
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
99
|
+
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
100
|
+
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
101
|
+
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
102
|
+
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
103
|
+
this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
104
|
+
httpAuthSchemeParametersProvider: defaultConnectHealthHttpAuthSchemeParametersProvider,
|
|
105
|
+
identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
|
|
103
106
|
"aws.auth#sigv4": config.credentials,
|
|
104
107
|
}),
|
|
105
108
|
}));
|
|
106
|
-
this.middlewareStack.use(
|
|
109
|
+
this.middlewareStack.use(getHttpSigningPlugin(this.config));
|
|
107
110
|
}
|
|
108
111
|
destroy() {
|
|
109
112
|
super.destroy();
|
|
110
113
|
}
|
|
111
114
|
}
|
|
112
115
|
|
|
113
|
-
class ActivateSubscriptionCommand extends
|
|
116
|
+
class ActivateSubscriptionCommand extends Command
|
|
114
117
|
.classBuilder()
|
|
115
118
|
.ep(commonParams)
|
|
116
119
|
.m(function (Command, cs, config, o) {
|
|
117
|
-
return [
|
|
120
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
118
121
|
})
|
|
119
122
|
.s("ConnectHealth", "ActivateSubscription", {})
|
|
120
123
|
.n("ConnectHealthClient", "ActivateSubscriptionCommand")
|
|
121
|
-
.sc(
|
|
124
|
+
.sc(ActivateSubscription$)
|
|
122
125
|
.build() {
|
|
123
126
|
}
|
|
124
127
|
|
|
125
|
-
class CreateDomainCommand extends
|
|
128
|
+
class CreateDomainCommand extends Command
|
|
126
129
|
.classBuilder()
|
|
127
130
|
.ep(commonParams)
|
|
128
131
|
.m(function (Command, cs, config, o) {
|
|
129
|
-
return [
|
|
132
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
130
133
|
})
|
|
131
134
|
.s("ConnectHealth", "CreateDomain", {})
|
|
132
135
|
.n("ConnectHealthClient", "CreateDomainCommand")
|
|
133
|
-
.sc(
|
|
136
|
+
.sc(CreateDomain$)
|
|
134
137
|
.build() {
|
|
135
138
|
}
|
|
136
139
|
|
|
137
|
-
class CreateSubscriptionCommand extends
|
|
140
|
+
class CreateSubscriptionCommand extends Command
|
|
138
141
|
.classBuilder()
|
|
139
142
|
.ep(commonParams)
|
|
140
143
|
.m(function (Command, cs, config, o) {
|
|
141
|
-
return [
|
|
144
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
142
145
|
})
|
|
143
146
|
.s("ConnectHealth", "CreateSubscription", {})
|
|
144
147
|
.n("ConnectHealthClient", "CreateSubscriptionCommand")
|
|
145
|
-
.sc(
|
|
148
|
+
.sc(CreateSubscription$)
|
|
146
149
|
.build() {
|
|
147
150
|
}
|
|
148
151
|
|
|
149
|
-
class DeactivateSubscriptionCommand extends
|
|
152
|
+
class DeactivateSubscriptionCommand extends Command
|
|
150
153
|
.classBuilder()
|
|
151
154
|
.ep(commonParams)
|
|
152
155
|
.m(function (Command, cs, config, o) {
|
|
153
|
-
return [
|
|
156
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
154
157
|
})
|
|
155
158
|
.s("ConnectHealth", "DeactivateSubscription", {})
|
|
156
159
|
.n("ConnectHealthClient", "DeactivateSubscriptionCommand")
|
|
157
|
-
.sc(
|
|
160
|
+
.sc(DeactivateSubscription$)
|
|
158
161
|
.build() {
|
|
159
162
|
}
|
|
160
163
|
|
|
161
|
-
class DeleteDomainCommand extends
|
|
164
|
+
class DeleteDomainCommand extends Command
|
|
162
165
|
.classBuilder()
|
|
163
166
|
.ep(commonParams)
|
|
164
167
|
.m(function (Command, cs, config, o) {
|
|
165
|
-
return [
|
|
168
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
166
169
|
})
|
|
167
170
|
.s("ConnectHealth", "DeleteDomain", {})
|
|
168
171
|
.n("ConnectHealthClient", "DeleteDomainCommand")
|
|
169
|
-
.sc(
|
|
172
|
+
.sc(DeleteDomain$)
|
|
170
173
|
.build() {
|
|
171
174
|
}
|
|
172
175
|
|
|
173
|
-
class GetDomainCommand extends
|
|
176
|
+
class GetDomainCommand extends Command
|
|
174
177
|
.classBuilder()
|
|
175
178
|
.ep(commonParams)
|
|
176
179
|
.m(function (Command, cs, config, o) {
|
|
177
|
-
return [
|
|
180
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
178
181
|
})
|
|
179
182
|
.s("ConnectHealth", "GetDomain", {})
|
|
180
183
|
.n("ConnectHealthClient", "GetDomainCommand")
|
|
181
|
-
.sc(
|
|
184
|
+
.sc(GetDomain$)
|
|
182
185
|
.build() {
|
|
183
186
|
}
|
|
184
187
|
|
|
185
|
-
class GetMedicalScribeListeningSessionCommand extends
|
|
188
|
+
class GetMedicalScribeListeningSessionCommand extends Command
|
|
186
189
|
.classBuilder()
|
|
187
190
|
.ep(commonParams)
|
|
188
191
|
.m(function (Command, cs, config, o) {
|
|
189
|
-
return [
|
|
192
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
190
193
|
})
|
|
191
194
|
.s("ConnectHealth", "GetMedicalScribeListeningSession", {})
|
|
192
195
|
.n("ConnectHealthClient", "GetMedicalScribeListeningSessionCommand")
|
|
193
|
-
.sc(
|
|
196
|
+
.sc(GetMedicalScribeListeningSession$)
|
|
194
197
|
.build() {
|
|
195
198
|
}
|
|
196
199
|
|
|
197
|
-
class GetPatientInsightsJobCommand extends
|
|
200
|
+
class GetPatientInsightsJobCommand extends Command
|
|
198
201
|
.classBuilder()
|
|
199
202
|
.ep(commonParams)
|
|
200
203
|
.m(function (Command, cs, config, o) {
|
|
201
|
-
return [
|
|
204
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
202
205
|
})
|
|
203
206
|
.s("ConnectHealth", "GetPatientInsightsJob", {})
|
|
204
207
|
.n("ConnectHealthClient", "GetPatientInsightsJobCommand")
|
|
205
|
-
.sc(
|
|
208
|
+
.sc(GetPatientInsightsJob$)
|
|
206
209
|
.build() {
|
|
207
210
|
}
|
|
208
211
|
|
|
209
|
-
class GetSubscriptionCommand extends
|
|
212
|
+
class GetSubscriptionCommand extends Command
|
|
210
213
|
.classBuilder()
|
|
211
214
|
.ep(commonParams)
|
|
212
215
|
.m(function (Command, cs, config, o) {
|
|
213
|
-
return [
|
|
216
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
214
217
|
})
|
|
215
218
|
.s("ConnectHealth", "GetSubscription", {})
|
|
216
219
|
.n("ConnectHealthClient", "GetSubscriptionCommand")
|
|
217
|
-
.sc(
|
|
220
|
+
.sc(GetSubscription$)
|
|
218
221
|
.build() {
|
|
219
222
|
}
|
|
220
223
|
|
|
221
|
-
class ListDomainsCommand extends
|
|
224
|
+
class ListDomainsCommand extends Command
|
|
222
225
|
.classBuilder()
|
|
223
226
|
.ep(commonParams)
|
|
224
227
|
.m(function (Command, cs, config, o) {
|
|
225
|
-
return [
|
|
228
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
226
229
|
})
|
|
227
230
|
.s("ConnectHealth", "ListDomains", {})
|
|
228
231
|
.n("ConnectHealthClient", "ListDomainsCommand")
|
|
229
|
-
.sc(
|
|
232
|
+
.sc(ListDomains$)
|
|
230
233
|
.build() {
|
|
231
234
|
}
|
|
232
235
|
|
|
233
|
-
class ListSubscriptionsCommand extends
|
|
236
|
+
class ListSubscriptionsCommand extends Command
|
|
234
237
|
.classBuilder()
|
|
235
238
|
.ep(commonParams)
|
|
236
239
|
.m(function (Command, cs, config, o) {
|
|
237
|
-
return [
|
|
240
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
238
241
|
})
|
|
239
242
|
.s("ConnectHealth", "ListSubscriptions", {})
|
|
240
243
|
.n("ConnectHealthClient", "ListSubscriptionsCommand")
|
|
241
|
-
.sc(
|
|
244
|
+
.sc(ListSubscriptions$)
|
|
242
245
|
.build() {
|
|
243
246
|
}
|
|
244
247
|
|
|
245
|
-
class ListTagsForResourceCommand extends
|
|
248
|
+
class ListTagsForResourceCommand extends Command
|
|
246
249
|
.classBuilder()
|
|
247
250
|
.ep(commonParams)
|
|
248
251
|
.m(function (Command, cs, config, o) {
|
|
249
|
-
return [
|
|
252
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
250
253
|
})
|
|
251
254
|
.s("ConnectHealth", "ListTagsForResource", {})
|
|
252
255
|
.n("ConnectHealthClient", "ListTagsForResourceCommand")
|
|
253
|
-
.sc(
|
|
256
|
+
.sc(ListTagsForResource$)
|
|
254
257
|
.build() {
|
|
255
258
|
}
|
|
256
259
|
|
|
257
|
-
class StartMedicalScribeListeningSessionCommand extends
|
|
260
|
+
class StartMedicalScribeListeningSessionCommand extends Command
|
|
258
261
|
.classBuilder()
|
|
259
262
|
.ep(commonParams)
|
|
260
263
|
.m(function (Command, cs, config, o) {
|
|
261
264
|
return [
|
|
262
|
-
|
|
263
|
-
|
|
265
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
266
|
+
getEventStreamPlugin(config),
|
|
264
267
|
];
|
|
265
268
|
})
|
|
266
269
|
.s("ConnectHealth", "StartMedicalScribeListeningSession", {
|
|
@@ -270,49 +273,49 @@ class StartMedicalScribeListeningSessionCommand extends client.Command
|
|
|
270
273
|
},
|
|
271
274
|
})
|
|
272
275
|
.n("ConnectHealthClient", "StartMedicalScribeListeningSessionCommand")
|
|
273
|
-
.sc(
|
|
276
|
+
.sc(StartMedicalScribeListeningSession$)
|
|
274
277
|
.build() {
|
|
275
278
|
}
|
|
276
279
|
|
|
277
|
-
class StartPatientInsightsJobCommand extends
|
|
280
|
+
class StartPatientInsightsJobCommand extends Command
|
|
278
281
|
.classBuilder()
|
|
279
282
|
.ep(commonParams)
|
|
280
283
|
.m(function (Command, cs, config, o) {
|
|
281
|
-
return [
|
|
284
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
282
285
|
})
|
|
283
286
|
.s("ConnectHealth", "StartPatientInsightsJob", {})
|
|
284
287
|
.n("ConnectHealthClient", "StartPatientInsightsJobCommand")
|
|
285
|
-
.sc(
|
|
288
|
+
.sc(StartPatientInsightsJob$)
|
|
286
289
|
.build() {
|
|
287
290
|
}
|
|
288
291
|
|
|
289
|
-
class TagResourceCommand extends
|
|
292
|
+
class TagResourceCommand extends Command
|
|
290
293
|
.classBuilder()
|
|
291
294
|
.ep(commonParams)
|
|
292
295
|
.m(function (Command, cs, config, o) {
|
|
293
|
-
return [
|
|
296
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
294
297
|
})
|
|
295
298
|
.s("ConnectHealth", "TagResource", {})
|
|
296
299
|
.n("ConnectHealthClient", "TagResourceCommand")
|
|
297
|
-
.sc(
|
|
300
|
+
.sc(TagResource$)
|
|
298
301
|
.build() {
|
|
299
302
|
}
|
|
300
303
|
|
|
301
|
-
class UntagResourceCommand extends
|
|
304
|
+
class UntagResourceCommand extends Command
|
|
302
305
|
.classBuilder()
|
|
303
306
|
.ep(commonParams)
|
|
304
307
|
.m(function (Command, cs, config, o) {
|
|
305
|
-
return [
|
|
308
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
306
309
|
})
|
|
307
310
|
.s("ConnectHealth", "UntagResource", {})
|
|
308
311
|
.n("ConnectHealthClient", "UntagResourceCommand")
|
|
309
|
-
.sc(
|
|
312
|
+
.sc(UntagResource$)
|
|
310
313
|
.build() {
|
|
311
314
|
}
|
|
312
315
|
|
|
313
|
-
const paginateListDomains =
|
|
316
|
+
const paginateListDomains = createPaginator(ConnectHealthClient, ListDomainsCommand, "nextToken", "nextToken", "maxResults");
|
|
314
317
|
|
|
315
|
-
const paginateListSubscriptions =
|
|
318
|
+
const paginateListSubscriptions = createPaginator(ConnectHealthClient, ListSubscriptionsCommand, "nextToken", "nextToken", "maxResults");
|
|
316
319
|
|
|
317
320
|
const commands = {
|
|
318
321
|
ActivateSubscriptionCommand,
|
|
@@ -338,7 +341,7 @@ const paginators = {
|
|
|
338
341
|
};
|
|
339
342
|
class ConnectHealth extends ConnectHealthClient {
|
|
340
343
|
}
|
|
341
|
-
|
|
344
|
+
createAggregatedClient(commands, ConnectHealth, { paginators });
|
|
342
345
|
|
|
343
346
|
const SubscriptionStatus = {
|
|
344
347
|
ACTIVE: "ACTIVE",
|
|
@@ -417,9 +420,6 @@ const MedicalScribeSessionControlEventType = {
|
|
|
417
420
|
END_OF_SESSION: "END_OF_SESSION",
|
|
418
421
|
};
|
|
419
422
|
|
|
420
|
-
exports.$Command = client.Command;
|
|
421
|
-
exports.__Client = client.Client;
|
|
422
|
-
exports.ConnectHealthServiceException = ConnectHealthServiceException.ConnectHealthServiceException;
|
|
423
423
|
exports.ActivateSubscriptionCommand = ActivateSubscriptionCommand;
|
|
424
424
|
exports.ConnectHealth = ConnectHealth;
|
|
425
425
|
exports.ConnectHealthClient = ConnectHealthClient;
|
|
@@ -456,23 +456,3 @@ exports.TagResourceCommand = TagResourceCommand;
|
|
|
456
456
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
457
457
|
exports.paginateListDomains = paginateListDomains;
|
|
458
458
|
exports.paginateListSubscriptions = paginateListSubscriptions;
|
|
459
|
-
Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') &&
|
|
460
|
-
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
461
|
-
Object.defineProperty(exports, '__proto__', {
|
|
462
|
-
enumerable: true,
|
|
463
|
-
value: schemas_0['__proto__']
|
|
464
|
-
});
|
|
465
|
-
|
|
466
|
-
Object.keys(schemas_0).forEach(function (k) {
|
|
467
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k];
|
|
468
|
-
});
|
|
469
|
-
Object.prototype.hasOwnProperty.call(errors, '__proto__') &&
|
|
470
|
-
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
471
|
-
Object.defineProperty(exports, '__proto__', {
|
|
472
|
-
enumerable: true,
|
|
473
|
-
value: errors['__proto__']
|
|
474
|
-
});
|
|
475
|
-
|
|
476
|
-
Object.keys(errors).forEach(function (k) {
|
|
477
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k];
|
|
478
|
-
});
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.ConnectHealthServiceException =
|
|
4
|
-
const client_1 = require("@smithy/core/client");
|
|
5
|
-
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return client_1.ServiceException; } });
|
|
6
|
-
class ConnectHealthServiceException extends client_1.ServiceException {
|
|
1
|
+
const { ServiceException: __ServiceException } = require("@smithy/core/client");
|
|
2
|
+
exports.__ServiceException = __ServiceException;
|
|
3
|
+
exports.ConnectHealthServiceException = class ConnectHealthServiceException extends __ServiceException {
|
|
7
4
|
constructor(options) {
|
|
8
5
|
super(options);
|
|
9
6
|
Object.setPrototypeOf(this, ConnectHealthServiceException.prototype);
|
|
10
7
|
}
|
|
11
|
-
}
|
|
12
|
-
exports.ConnectHealthServiceException = ConnectHealthServiceException;
|
|
8
|
+
};
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ConflictException = exports.ValidationException = exports.ResourceNotFoundException = exports.InternalServerException = exports.AccessDeniedException = void 0;
|
|
4
|
-
const ConnectHealthServiceException_1 = require("./ConnectHealthServiceException");
|
|
5
|
-
class AccessDeniedException extends ConnectHealthServiceException_1.ConnectHealthServiceException {
|
|
1
|
+
const { ConnectHealthServiceException: __BaseException } = require("./ConnectHealthServiceException");
|
|
2
|
+
exports.AccessDeniedException = class AccessDeniedException extends __BaseException {
|
|
6
3
|
name = "AccessDeniedException";
|
|
7
4
|
$fault = "client";
|
|
8
5
|
constructor(opts) {
|
|
@@ -13,9 +10,8 @@ class AccessDeniedException extends ConnectHealthServiceException_1.ConnectHealt
|
|
|
13
10
|
});
|
|
14
11
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
15
12
|
}
|
|
16
|
-
}
|
|
17
|
-
exports.
|
|
18
|
-
class InternalServerException extends ConnectHealthServiceException_1.ConnectHealthServiceException {
|
|
13
|
+
};
|
|
14
|
+
exports.InternalServerException = class InternalServerException extends __BaseException {
|
|
19
15
|
name = "InternalServerException";
|
|
20
16
|
$fault = "server";
|
|
21
17
|
$retryable = {};
|
|
@@ -27,9 +23,8 @@ class InternalServerException extends ConnectHealthServiceException_1.ConnectHea
|
|
|
27
23
|
});
|
|
28
24
|
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
29
25
|
}
|
|
30
|
-
}
|
|
31
|
-
exports.
|
|
32
|
-
class ResourceNotFoundException extends ConnectHealthServiceException_1.ConnectHealthServiceException {
|
|
26
|
+
};
|
|
27
|
+
exports.ResourceNotFoundException = class ResourceNotFoundException extends __BaseException {
|
|
33
28
|
name = "ResourceNotFoundException";
|
|
34
29
|
$fault = "client";
|
|
35
30
|
constructor(opts) {
|
|
@@ -40,9 +35,8 @@ class ResourceNotFoundException extends ConnectHealthServiceException_1.ConnectH
|
|
|
40
35
|
});
|
|
41
36
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
42
37
|
}
|
|
43
|
-
}
|
|
44
|
-
exports.
|
|
45
|
-
class ValidationException extends ConnectHealthServiceException_1.ConnectHealthServiceException {
|
|
38
|
+
};
|
|
39
|
+
exports.ValidationException = class ValidationException extends __BaseException {
|
|
46
40
|
name = "ValidationException";
|
|
47
41
|
$fault = "client";
|
|
48
42
|
constructor(opts) {
|
|
@@ -53,9 +47,8 @@ class ValidationException extends ConnectHealthServiceException_1.ConnectHealthS
|
|
|
53
47
|
});
|
|
54
48
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
55
49
|
}
|
|
56
|
-
}
|
|
57
|
-
exports.
|
|
58
|
-
class ConflictException extends ConnectHealthServiceException_1.ConnectHealthServiceException {
|
|
50
|
+
};
|
|
51
|
+
exports.ConflictException = class ConflictException extends __BaseException {
|
|
59
52
|
name = "ConflictException";
|
|
60
53
|
$fault = "client";
|
|
61
54
|
constructor(opts) {
|
|
@@ -66,9 +59,8 @@ class ConflictException extends ConnectHealthServiceException_1.ConnectHealthSer
|
|
|
66
59
|
});
|
|
67
60
|
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
68
61
|
}
|
|
69
|
-
}
|
|
70
|
-
exports.
|
|
71
|
-
class ServiceQuotaExceededException extends ConnectHealthServiceException_1.ConnectHealthServiceException {
|
|
62
|
+
};
|
|
63
|
+
exports.ServiceQuotaExceededException = class ServiceQuotaExceededException extends __BaseException {
|
|
72
64
|
name = "ServiceQuotaExceededException";
|
|
73
65
|
$fault = "client";
|
|
74
66
|
constructor(opts) {
|
|
@@ -79,9 +71,8 @@ class ServiceQuotaExceededException extends ConnectHealthServiceException_1.Conn
|
|
|
79
71
|
});
|
|
80
72
|
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
81
73
|
}
|
|
82
|
-
}
|
|
83
|
-
exports.
|
|
84
|
-
class ThrottlingException extends ConnectHealthServiceException_1.ConnectHealthServiceException {
|
|
74
|
+
};
|
|
75
|
+
exports.ThrottlingException = class ThrottlingException extends __BaseException {
|
|
85
76
|
name = "ThrottlingException";
|
|
86
77
|
$fault = "client";
|
|
87
78
|
$retryable = {
|
|
@@ -95,5 +86,4 @@ class ThrottlingException extends ConnectHealthServiceException_1.ConnectHealthS
|
|
|
95
86
|
});
|
|
96
87
|
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
97
88
|
}
|
|
98
|
-
}
|
|
99
|
-
exports.ThrottlingException = ThrottlingException;
|
|
89
|
+
};
|