@aws-sdk/client-connecthealth 3.1045.0 → 3.1046.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 +4 -4
- package/dist-cjs/endpoint/bdd.js +2 -2
- package/dist-cjs/endpoint/endpointResolver.js +4 -4
- package/dist-cjs/index.js +50 -51
- package/dist-cjs/models/ConnectHealthServiceException.js +3 -3
- package/dist-cjs/runtimeConfig.browser.js +15 -17
- package/dist-cjs/runtimeConfig.js +20 -24
- package/dist-cjs/runtimeConfig.native.js +2 -2
- package/dist-cjs/runtimeConfig.shared.js +9 -10
- package/dist-es/ConnectHealth.js +1 -1
- package/dist-es/ConnectHealthClient.js +6 -6
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
- package/dist-es/commands/ActivateSubscriptionCommand.js +2 -2
- package/dist-es/commands/CreateDomainCommand.js +2 -2
- package/dist-es/commands/CreateSubscriptionCommand.js +2 -2
- package/dist-es/commands/DeactivateSubscriptionCommand.js +2 -2
- package/dist-es/commands/DeleteDomainCommand.js +2 -2
- package/dist-es/commands/GetDomainCommand.js +2 -2
- package/dist-es/commands/GetMedicalScribeListeningSessionCommand.js +2 -2
- package/dist-es/commands/GetPatientInsightsJobCommand.js +2 -2
- package/dist-es/commands/GetSubscriptionCommand.js +2 -2
- package/dist-es/commands/ListDomainsCommand.js +2 -2
- package/dist-es/commands/ListSubscriptionsCommand.js +2 -2
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-es/commands/StartMedicalScribeListeningSessionCommand.js +2 -2
- package/dist-es/commands/StartPatientInsightsJobCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +2 -2
- package/dist-es/commands/UntagResourceCommand.js +2 -2
- package/dist-es/endpoint/bdd.js +1 -1
- package/dist-es/endpoint/endpointResolver.js +1 -1
- package/dist-es/models/ConnectHealthServiceException.js +1 -1
- package/dist-es/runtimeConfig.browser.js +5 -7
- package/dist-es/runtimeConfig.js +5 -9
- package/dist-es/runtimeConfig.native.js +1 -1
- package/dist-es/runtimeConfig.shared.js +3 -4
- package/dist-es/runtimeExtensions.js +2 -2
- package/dist-types/ConnectHealthClient.d.ts +6 -6
- package/dist-types/commands/ActivateSubscriptionCommand.d.ts +6 -4
- package/dist-types/commands/CreateDomainCommand.d.ts +6 -4
- package/dist-types/commands/CreateSubscriptionCommand.d.ts +6 -4
- package/dist-types/commands/DeactivateSubscriptionCommand.d.ts +6 -4
- package/dist-types/commands/DeleteDomainCommand.d.ts +6 -4
- package/dist-types/commands/GetDomainCommand.d.ts +6 -4
- package/dist-types/commands/GetMedicalScribeListeningSessionCommand.d.ts +6 -4
- package/dist-types/commands/GetPatientInsightsJobCommand.d.ts +6 -4
- package/dist-types/commands/GetSubscriptionCommand.d.ts +6 -4
- package/dist-types/commands/ListDomainsCommand.d.ts +6 -4
- package/dist-types/commands/ListSubscriptionsCommand.d.ts +6 -4
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -4
- package/dist-types/commands/StartMedicalScribeListeningSessionCommand.d.ts +6 -4
- package/dist-types/commands/StartPatientInsightsJobCommand.d.ts +6 -4
- package/dist-types/commands/TagResourceCommand.d.ts +6 -4
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -4
- package/dist-types/endpoint/bdd.d.ts +1 -1
- package/dist-types/extensionConfiguration.d.ts +1 -1
- package/dist-types/models/ConnectHealthServiceException.d.ts +1 -1
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/ConnectHealthClient.d.ts +12 -18
- package/dist-types/ts3.4/commands/ActivateSubscriptionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateDomainCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateSubscriptionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeactivateSubscriptionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteDomainCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetDomainCommand.d.ts +6 -8
- package/dist-types/ts3.4/commands/GetMedicalScribeListeningSessionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetPatientInsightsJobCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetSubscriptionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListDomainsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListSubscriptionsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StartMedicalScribeListeningSessionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StartPatientInsightsJobCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/ConnectHealthServiceException.d.ts +1 -1
- package/dist-types/ts3.4/models/errors.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +16 -40
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.resolveHttpAuthSchemeConfig = exports.defaultConnectHealthHttpAuthSchemeProvider = exports.defaultConnectHealthHttpAuthSchemeParametersProvider = void 0;
|
|
4
4
|
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
5
|
-
const
|
|
5
|
+
const client_1 = require("@smithy/core/client");
|
|
6
6
|
const defaultConnectHealthHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
7
7
|
return {
|
|
8
|
-
operation: (0,
|
|
9
|
-
region: await (0,
|
|
8
|
+
operation: (0, client_1.getSmithyContext)(context).operation,
|
|
9
|
+
region: await (0, client_1.normalizeProvider)(config.region)() || (() => {
|
|
10
10
|
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
11
11
|
})(),
|
|
12
12
|
};
|
|
@@ -40,7 +40,7 @@ exports.defaultConnectHealthHttpAuthSchemeProvider = defaultConnectHealthHttpAut
|
|
|
40
40
|
const resolveHttpAuthSchemeConfig = (config) => {
|
|
41
41
|
const config_0 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4Config)(config);
|
|
42
42
|
return Object.assign(config_0, {
|
|
43
|
-
authSchemePreference: (0,
|
|
43
|
+
authSchemePreference: (0, client_1.normalizeProvider)(config.authSchemePreference ?? []),
|
|
44
44
|
});
|
|
45
45
|
};
|
|
46
46
|
exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
|
package/dist-cjs/endpoint/bdd.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.bdd = void 0;
|
|
4
|
-
const
|
|
4
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
5
5
|
const a = "isSet", b = { "ref": "Endpoint" }, c = [{ "ref": "Region" }];
|
|
6
6
|
const _data = {
|
|
7
7
|
conditions: [
|
|
@@ -29,4 +29,4 @@ const nodes = new Int32Array([
|
|
|
29
29
|
3, r + 3, r + 4,
|
|
30
30
|
3, r + 1, r + 2,
|
|
31
31
|
]);
|
|
32
|
-
exports.bdd =
|
|
32
|
+
exports.bdd = endpoints_1.BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.defaultEndpointResolver = void 0;
|
|
4
4
|
const util_endpoints_1 = require("@aws-sdk/util-endpoints");
|
|
5
|
-
const
|
|
5
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
6
6
|
const bdd_1 = require("./bdd");
|
|
7
|
-
const cache = new
|
|
7
|
+
const cache = new endpoints_1.EndpointCache({
|
|
8
8
|
size: 50,
|
|
9
9
|
params: ["Endpoint", "Region", "UseFIPS"],
|
|
10
10
|
});
|
|
11
11
|
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
12
|
-
return cache.get(endpointParams, () => (0,
|
|
12
|
+
return cache.get(endpointParams, () => (0, endpoints_1.decideEndpoint)(bdd_1.bdd, {
|
|
13
13
|
endpointParams: endpointParams,
|
|
14
14
|
logger: context.logger,
|
|
15
15
|
}));
|
|
16
16
|
};
|
|
17
17
|
exports.defaultEndpointResolver = defaultEndpointResolver;
|
|
18
|
-
|
|
18
|
+
endpoints_1.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
|
package/dist-cjs/index.js
CHANGED
|
@@ -5,18 +5,17 @@ var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
|
|
|
5
5
|
var middlewareLogger = require('@aws-sdk/middleware-logger');
|
|
6
6
|
var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
|
|
7
7
|
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
8
|
-
var configResolver = require('@smithy/config-resolver');
|
|
9
8
|
var core = require('@smithy/core');
|
|
9
|
+
var client = require('@smithy/core/client');
|
|
10
|
+
var config = require('@smithy/core/config');
|
|
11
|
+
var endpoints = require('@smithy/core/endpoints');
|
|
12
|
+
var eventStreams = require('@smithy/core/event-streams');
|
|
13
|
+
var protocols = require('@smithy/core/protocols');
|
|
14
|
+
var retry = require('@smithy/core/retry');
|
|
10
15
|
var schema = require('@smithy/core/schema');
|
|
11
|
-
var eventstreamSerdeConfigResolver = require('@smithy/eventstream-serde-config-resolver');
|
|
12
|
-
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
13
|
-
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
14
|
-
var middlewareRetry = require('@smithy/middleware-retry');
|
|
15
|
-
var smithyClient = require('@smithy/smithy-client');
|
|
16
16
|
var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
17
17
|
var runtimeConfig = require('./runtimeConfig');
|
|
18
18
|
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
19
|
-
var protocolHttp = require('@smithy/protocol-http');
|
|
20
19
|
var schemas_0 = require('./schemas/schemas_0');
|
|
21
20
|
var errors = require('./models/errors');
|
|
22
21
|
var ConnectHealthServiceException = require('./models/ConnectHealthServiceException');
|
|
@@ -73,12 +72,12 @@ const resolveHttpAuthRuntimeConfig = (config) => {
|
|
|
73
72
|
};
|
|
74
73
|
|
|
75
74
|
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
76
|
-
const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig),
|
|
75
|
+
const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
77
76
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
78
|
-
return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration),
|
|
77
|
+
return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
79
78
|
};
|
|
80
79
|
|
|
81
|
-
class ConnectHealthClient extends
|
|
80
|
+
class ConnectHealthClient extends client.Client {
|
|
82
81
|
config;
|
|
83
82
|
constructor(...[configuration]) {
|
|
84
83
|
const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
|
|
@@ -86,19 +85,19 @@ class ConnectHealthClient extends smithyClient.Client {
|
|
|
86
85
|
this.initConfig = _config_0;
|
|
87
86
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
88
87
|
const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
|
|
89
|
-
const _config_3 =
|
|
90
|
-
const _config_4 =
|
|
88
|
+
const _config_3 = retry.resolveRetryConfig(_config_2);
|
|
89
|
+
const _config_4 = config.resolveRegionConfig(_config_3);
|
|
91
90
|
const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
|
|
92
|
-
const _config_6 =
|
|
93
|
-
const _config_7 =
|
|
91
|
+
const _config_6 = endpoints.resolveEndpointConfig(_config_5);
|
|
92
|
+
const _config_7 = eventStreams.resolveEventStreamSerdeConfig(_config_6);
|
|
94
93
|
const _config_8 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_7);
|
|
95
94
|
const _config_9 = middlewareEventstream.resolveEventStreamConfig(_config_8);
|
|
96
95
|
const _config_10 = resolveRuntimeExtensions(_config_9, configuration?.extensions || []);
|
|
97
96
|
this.config = _config_10;
|
|
98
97
|
this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
|
|
99
98
|
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
100
|
-
this.middlewareStack.use(
|
|
101
|
-
this.middlewareStack.use(
|
|
99
|
+
this.middlewareStack.use(retry.getRetryPlugin(this.config));
|
|
100
|
+
this.middlewareStack.use(protocols.getContentLengthPlugin(this.config));
|
|
102
101
|
this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
|
|
103
102
|
this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
|
|
104
103
|
this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
|
|
@@ -115,11 +114,11 @@ class ConnectHealthClient extends smithyClient.Client {
|
|
|
115
114
|
}
|
|
116
115
|
}
|
|
117
116
|
|
|
118
|
-
class ActivateSubscriptionCommand extends
|
|
117
|
+
class ActivateSubscriptionCommand extends client.Command
|
|
119
118
|
.classBuilder()
|
|
120
119
|
.ep(commonParams)
|
|
121
120
|
.m(function (Command, cs, config, o) {
|
|
122
|
-
return [
|
|
121
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
123
122
|
})
|
|
124
123
|
.s("ConnectHealth", "ActivateSubscription", {})
|
|
125
124
|
.n("ConnectHealthClient", "ActivateSubscriptionCommand")
|
|
@@ -127,11 +126,11 @@ class ActivateSubscriptionCommand extends smithyClient.Command
|
|
|
127
126
|
.build() {
|
|
128
127
|
}
|
|
129
128
|
|
|
130
|
-
class CreateDomainCommand extends
|
|
129
|
+
class CreateDomainCommand extends client.Command
|
|
131
130
|
.classBuilder()
|
|
132
131
|
.ep(commonParams)
|
|
133
132
|
.m(function (Command, cs, config, o) {
|
|
134
|
-
return [
|
|
133
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
135
134
|
})
|
|
136
135
|
.s("ConnectHealth", "CreateDomain", {})
|
|
137
136
|
.n("ConnectHealthClient", "CreateDomainCommand")
|
|
@@ -139,11 +138,11 @@ class CreateDomainCommand extends smithyClient.Command
|
|
|
139
138
|
.build() {
|
|
140
139
|
}
|
|
141
140
|
|
|
142
|
-
class CreateSubscriptionCommand extends
|
|
141
|
+
class CreateSubscriptionCommand extends client.Command
|
|
143
142
|
.classBuilder()
|
|
144
143
|
.ep(commonParams)
|
|
145
144
|
.m(function (Command, cs, config, o) {
|
|
146
|
-
return [
|
|
145
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
147
146
|
})
|
|
148
147
|
.s("ConnectHealth", "CreateSubscription", {})
|
|
149
148
|
.n("ConnectHealthClient", "CreateSubscriptionCommand")
|
|
@@ -151,11 +150,11 @@ class CreateSubscriptionCommand extends smithyClient.Command
|
|
|
151
150
|
.build() {
|
|
152
151
|
}
|
|
153
152
|
|
|
154
|
-
class DeactivateSubscriptionCommand extends
|
|
153
|
+
class DeactivateSubscriptionCommand extends client.Command
|
|
155
154
|
.classBuilder()
|
|
156
155
|
.ep(commonParams)
|
|
157
156
|
.m(function (Command, cs, config, o) {
|
|
158
|
-
return [
|
|
157
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
159
158
|
})
|
|
160
159
|
.s("ConnectHealth", "DeactivateSubscription", {})
|
|
161
160
|
.n("ConnectHealthClient", "DeactivateSubscriptionCommand")
|
|
@@ -163,11 +162,11 @@ class DeactivateSubscriptionCommand extends smithyClient.Command
|
|
|
163
162
|
.build() {
|
|
164
163
|
}
|
|
165
164
|
|
|
166
|
-
class DeleteDomainCommand extends
|
|
165
|
+
class DeleteDomainCommand extends client.Command
|
|
167
166
|
.classBuilder()
|
|
168
167
|
.ep(commonParams)
|
|
169
168
|
.m(function (Command, cs, config, o) {
|
|
170
|
-
return [
|
|
169
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
171
170
|
})
|
|
172
171
|
.s("ConnectHealth", "DeleteDomain", {})
|
|
173
172
|
.n("ConnectHealthClient", "DeleteDomainCommand")
|
|
@@ -175,11 +174,11 @@ class DeleteDomainCommand extends smithyClient.Command
|
|
|
175
174
|
.build() {
|
|
176
175
|
}
|
|
177
176
|
|
|
178
|
-
class GetDomainCommand extends
|
|
177
|
+
class GetDomainCommand extends client.Command
|
|
179
178
|
.classBuilder()
|
|
180
179
|
.ep(commonParams)
|
|
181
180
|
.m(function (Command, cs, config, o) {
|
|
182
|
-
return [
|
|
181
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
183
182
|
})
|
|
184
183
|
.s("ConnectHealth", "GetDomain", {})
|
|
185
184
|
.n("ConnectHealthClient", "GetDomainCommand")
|
|
@@ -187,11 +186,11 @@ class GetDomainCommand extends smithyClient.Command
|
|
|
187
186
|
.build() {
|
|
188
187
|
}
|
|
189
188
|
|
|
190
|
-
class GetMedicalScribeListeningSessionCommand extends
|
|
189
|
+
class GetMedicalScribeListeningSessionCommand extends client.Command
|
|
191
190
|
.classBuilder()
|
|
192
191
|
.ep(commonParams)
|
|
193
192
|
.m(function (Command, cs, config, o) {
|
|
194
|
-
return [
|
|
193
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
195
194
|
})
|
|
196
195
|
.s("ConnectHealth", "GetMedicalScribeListeningSession", {})
|
|
197
196
|
.n("ConnectHealthClient", "GetMedicalScribeListeningSessionCommand")
|
|
@@ -199,11 +198,11 @@ class GetMedicalScribeListeningSessionCommand extends smithyClient.Command
|
|
|
199
198
|
.build() {
|
|
200
199
|
}
|
|
201
200
|
|
|
202
|
-
class GetPatientInsightsJobCommand extends
|
|
201
|
+
class GetPatientInsightsJobCommand extends client.Command
|
|
203
202
|
.classBuilder()
|
|
204
203
|
.ep(commonParams)
|
|
205
204
|
.m(function (Command, cs, config, o) {
|
|
206
|
-
return [
|
|
205
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
207
206
|
})
|
|
208
207
|
.s("ConnectHealth", "GetPatientInsightsJob", {})
|
|
209
208
|
.n("ConnectHealthClient", "GetPatientInsightsJobCommand")
|
|
@@ -211,11 +210,11 @@ class GetPatientInsightsJobCommand extends smithyClient.Command
|
|
|
211
210
|
.build() {
|
|
212
211
|
}
|
|
213
212
|
|
|
214
|
-
class GetSubscriptionCommand extends
|
|
213
|
+
class GetSubscriptionCommand extends client.Command
|
|
215
214
|
.classBuilder()
|
|
216
215
|
.ep(commonParams)
|
|
217
216
|
.m(function (Command, cs, config, o) {
|
|
218
|
-
return [
|
|
217
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
219
218
|
})
|
|
220
219
|
.s("ConnectHealth", "GetSubscription", {})
|
|
221
220
|
.n("ConnectHealthClient", "GetSubscriptionCommand")
|
|
@@ -223,11 +222,11 @@ class GetSubscriptionCommand extends smithyClient.Command
|
|
|
223
222
|
.build() {
|
|
224
223
|
}
|
|
225
224
|
|
|
226
|
-
class ListDomainsCommand extends
|
|
225
|
+
class ListDomainsCommand extends client.Command
|
|
227
226
|
.classBuilder()
|
|
228
227
|
.ep(commonParams)
|
|
229
228
|
.m(function (Command, cs, config, o) {
|
|
230
|
-
return [
|
|
229
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
231
230
|
})
|
|
232
231
|
.s("ConnectHealth", "ListDomains", {})
|
|
233
232
|
.n("ConnectHealthClient", "ListDomainsCommand")
|
|
@@ -235,11 +234,11 @@ class ListDomainsCommand extends smithyClient.Command
|
|
|
235
234
|
.build() {
|
|
236
235
|
}
|
|
237
236
|
|
|
238
|
-
class ListSubscriptionsCommand extends
|
|
237
|
+
class ListSubscriptionsCommand extends client.Command
|
|
239
238
|
.classBuilder()
|
|
240
239
|
.ep(commonParams)
|
|
241
240
|
.m(function (Command, cs, config, o) {
|
|
242
|
-
return [
|
|
241
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
243
242
|
})
|
|
244
243
|
.s("ConnectHealth", "ListSubscriptions", {})
|
|
245
244
|
.n("ConnectHealthClient", "ListSubscriptionsCommand")
|
|
@@ -247,11 +246,11 @@ class ListSubscriptionsCommand extends smithyClient.Command
|
|
|
247
246
|
.build() {
|
|
248
247
|
}
|
|
249
248
|
|
|
250
|
-
class ListTagsForResourceCommand extends
|
|
249
|
+
class ListTagsForResourceCommand extends client.Command
|
|
251
250
|
.classBuilder()
|
|
252
251
|
.ep(commonParams)
|
|
253
252
|
.m(function (Command, cs, config, o) {
|
|
254
|
-
return [
|
|
253
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
255
254
|
})
|
|
256
255
|
.s("ConnectHealth", "ListTagsForResource", {})
|
|
257
256
|
.n("ConnectHealthClient", "ListTagsForResourceCommand")
|
|
@@ -259,12 +258,12 @@ class ListTagsForResourceCommand extends smithyClient.Command
|
|
|
259
258
|
.build() {
|
|
260
259
|
}
|
|
261
260
|
|
|
262
|
-
class StartMedicalScribeListeningSessionCommand extends
|
|
261
|
+
class StartMedicalScribeListeningSessionCommand extends client.Command
|
|
263
262
|
.classBuilder()
|
|
264
263
|
.ep(commonParams)
|
|
265
264
|
.m(function (Command, cs, config, o) {
|
|
266
265
|
return [
|
|
267
|
-
|
|
266
|
+
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
268
267
|
middlewareEventstream.getEventStreamPlugin(config),
|
|
269
268
|
];
|
|
270
269
|
})
|
|
@@ -279,11 +278,11 @@ class StartMedicalScribeListeningSessionCommand extends smithyClient.Command
|
|
|
279
278
|
.build() {
|
|
280
279
|
}
|
|
281
280
|
|
|
282
|
-
class StartPatientInsightsJobCommand extends
|
|
281
|
+
class StartPatientInsightsJobCommand extends client.Command
|
|
283
282
|
.classBuilder()
|
|
284
283
|
.ep(commonParams)
|
|
285
284
|
.m(function (Command, cs, config, o) {
|
|
286
|
-
return [
|
|
285
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
287
286
|
})
|
|
288
287
|
.s("ConnectHealth", "StartPatientInsightsJob", {})
|
|
289
288
|
.n("ConnectHealthClient", "StartPatientInsightsJobCommand")
|
|
@@ -291,11 +290,11 @@ class StartPatientInsightsJobCommand extends smithyClient.Command
|
|
|
291
290
|
.build() {
|
|
292
291
|
}
|
|
293
292
|
|
|
294
|
-
class TagResourceCommand extends
|
|
293
|
+
class TagResourceCommand extends client.Command
|
|
295
294
|
.classBuilder()
|
|
296
295
|
.ep(commonParams)
|
|
297
296
|
.m(function (Command, cs, config, o) {
|
|
298
|
-
return [
|
|
297
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
299
298
|
})
|
|
300
299
|
.s("ConnectHealth", "TagResource", {})
|
|
301
300
|
.n("ConnectHealthClient", "TagResourceCommand")
|
|
@@ -303,11 +302,11 @@ class TagResourceCommand extends smithyClient.Command
|
|
|
303
302
|
.build() {
|
|
304
303
|
}
|
|
305
304
|
|
|
306
|
-
class UntagResourceCommand extends
|
|
305
|
+
class UntagResourceCommand extends client.Command
|
|
307
306
|
.classBuilder()
|
|
308
307
|
.ep(commonParams)
|
|
309
308
|
.m(function (Command, cs, config, o) {
|
|
310
|
-
return [
|
|
309
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
311
310
|
})
|
|
312
311
|
.s("ConnectHealth", "UntagResource", {})
|
|
313
312
|
.n("ConnectHealthClient", "UntagResourceCommand")
|
|
@@ -343,7 +342,7 @@ const paginators = {
|
|
|
343
342
|
};
|
|
344
343
|
class ConnectHealth extends ConnectHealthClient {
|
|
345
344
|
}
|
|
346
|
-
|
|
345
|
+
client.createAggregatedClient(commands, ConnectHealth, { paginators });
|
|
347
346
|
|
|
348
347
|
const SubscriptionStatus = {
|
|
349
348
|
ACTIVE: "ACTIVE",
|
|
@@ -422,8 +421,8 @@ const MedicalScribeSessionControlEventType = {
|
|
|
422
421
|
END_OF_SESSION: "END_OF_SESSION",
|
|
423
422
|
};
|
|
424
423
|
|
|
425
|
-
exports.$Command =
|
|
426
|
-
exports.__Client =
|
|
424
|
+
exports.$Command = client.Command;
|
|
425
|
+
exports.__Client = client.Client;
|
|
427
426
|
exports.ConnectHealthServiceException = ConnectHealthServiceException.ConnectHealthServiceException;
|
|
428
427
|
exports.ActivateSubscriptionCommand = ActivateSubscriptionCommand;
|
|
429
428
|
exports.ConnectHealth = ConnectHealth;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ConnectHealthServiceException = exports.__ServiceException = void 0;
|
|
4
|
-
const
|
|
5
|
-
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return
|
|
6
|
-
class ConnectHealthServiceException extends
|
|
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 {
|
|
7
7
|
constructor(options) {
|
|
8
8
|
super(options);
|
|
9
9
|
Object.setPrototypeOf(this, ConnectHealthServiceException.prototype);
|
|
@@ -5,39 +5,37 @@ const tslib_1 = require("tslib");
|
|
|
5
5
|
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
6
|
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
7
7
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
8
|
-
const
|
|
9
|
-
const
|
|
8
|
+
const client_1 = require("@smithy/core/client");
|
|
9
|
+
const config_1 = require("@smithy/core/config");
|
|
10
|
+
const event_streams_1 = require("@smithy/core/event-streams");
|
|
11
|
+
const retry_1 = require("@smithy/core/retry");
|
|
12
|
+
const serde_1 = require("@smithy/core/serde");
|
|
10
13
|
const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
|
|
11
|
-
const invalid_dependency_1 = require("@smithy/invalid-dependency");
|
|
12
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
13
|
-
const util_body_length_browser_1 = require("@smithy/util-body-length-browser");
|
|
14
|
-
const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
|
|
15
|
-
const util_retry_1 = require("@smithy/util-retry");
|
|
16
14
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
17
15
|
const getRuntimeConfig = (config) => {
|
|
18
|
-
const defaultsMode = (0,
|
|
19
|
-
const defaultConfigProvider = () => defaultsMode().then(
|
|
16
|
+
const defaultsMode = (0, config_1.resolveDefaultsModeConfig)(config);
|
|
17
|
+
const defaultConfigProvider = () => defaultsMode().then(client_1.loadConfigsForDefaultMode);
|
|
20
18
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
21
19
|
return {
|
|
22
20
|
...clientSharedValues,
|
|
23
21
|
...config,
|
|
24
22
|
runtime: "browser",
|
|
25
23
|
defaultsMode,
|
|
26
|
-
bodyLengthChecker: config?.bodyLengthChecker ??
|
|
24
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? serde_1.calculateBodyLength,
|
|
27
25
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
28
26
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
29
27
|
eventStreamPayloadHandlerProvider: config?.eventStreamPayloadHandlerProvider ?? (() => ({
|
|
30
|
-
handle: (0,
|
|
28
|
+
handle: (0, client_1.invalidFunction)("event stream request is not supported in browser."),
|
|
31
29
|
})),
|
|
32
|
-
eventStreamSerdeProvider: config?.eventStreamSerdeProvider ??
|
|
33
|
-
maxAttempts: config?.maxAttempts ??
|
|
34
|
-
region: config?.region ?? (0,
|
|
30
|
+
eventStreamSerdeProvider: config?.eventStreamSerdeProvider ?? event_streams_1.eventStreamSerdeProvider,
|
|
31
|
+
maxAttempts: config?.maxAttempts ?? retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
32
|
+
region: config?.region ?? (0, client_1.invalidProvider)("Region is missing"),
|
|
35
33
|
requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
36
|
-
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode ||
|
|
34
|
+
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || retry_1.DEFAULT_RETRY_MODE),
|
|
37
35
|
sha256: config?.sha256 ?? sha256_browser_1.Sha256,
|
|
38
36
|
streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector,
|
|
39
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(
|
|
40
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(
|
|
37
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
38
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(config_1.DEFAULT_USE_FIPS_ENDPOINT)),
|
|
41
39
|
};
|
|
42
40
|
};
|
|
43
41
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -8,21 +8,17 @@ const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
|
8
8
|
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
|
|
9
9
|
const eventstream_handler_node_1 = require("@aws-sdk/eventstream-handler-node");
|
|
10
10
|
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
11
|
-
const
|
|
12
|
-
const
|
|
13
|
-
const
|
|
14
|
-
const
|
|
15
|
-
const
|
|
11
|
+
const client_2 = require("@smithy/core/client");
|
|
12
|
+
const config_1 = require("@smithy/core/config");
|
|
13
|
+
const event_streams_1 = require("@smithy/core/event-streams");
|
|
14
|
+
const retry_1 = require("@smithy/core/retry");
|
|
15
|
+
const serde_1 = require("@smithy/core/serde");
|
|
16
16
|
const node_http_handler_1 = require("@smithy/node-http-handler");
|
|
17
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
18
|
-
const util_body_length_node_1 = require("@smithy/util-body-length-node");
|
|
19
|
-
const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
|
|
20
|
-
const util_retry_1 = require("@smithy/util-retry");
|
|
21
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
22
18
|
const getRuntimeConfig = (config) => {
|
|
23
|
-
(0,
|
|
24
|
-
const defaultsMode = (0,
|
|
25
|
-
const defaultConfigProvider = () => defaultsMode().then(
|
|
19
|
+
(0, client_2.emitWarningIfUnsupportedVersion)(process.version);
|
|
20
|
+
const defaultsMode = (0, config_1.resolveDefaultsModeConfig)(config);
|
|
21
|
+
const defaultConfigProvider = () => defaultsMode().then(client_2.loadConfigsForDefaultMode);
|
|
26
22
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
27
23
|
(0, client_1.emitWarningIfUnsupportedVersion)(process.version);
|
|
28
24
|
const loaderConfig = {
|
|
@@ -34,28 +30,28 @@ const getRuntimeConfig = (config) => {
|
|
|
34
30
|
...config,
|
|
35
31
|
runtime: "node",
|
|
36
32
|
defaultsMode,
|
|
37
|
-
authSchemePreference: config?.authSchemePreference ?? (0,
|
|
38
|
-
bodyLengthChecker: config?.bodyLengthChecker ??
|
|
33
|
+
authSchemePreference: config?.authSchemePreference ?? (0, config_1.loadConfig)(httpAuthSchemes_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
34
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? serde_1.calculateBodyLength,
|
|
39
35
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
|
|
40
36
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
41
37
|
eventStreamPayloadHandlerProvider: config?.eventStreamPayloadHandlerProvider ?? eventstream_handler_node_1.eventStreamPayloadHandlerProvider,
|
|
42
|
-
eventStreamSerdeProvider: config?.eventStreamSerdeProvider ??
|
|
43
|
-
maxAttempts: config?.maxAttempts ?? (0,
|
|
44
|
-
region: config?.region ?? (0,
|
|
38
|
+
eventStreamSerdeProvider: config?.eventStreamSerdeProvider ?? event_streams_1.eventStreamSerdeProvider,
|
|
39
|
+
maxAttempts: config?.maxAttempts ?? (0, config_1.loadConfig)(retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
40
|
+
region: config?.region ?? (0, config_1.loadConfig)(config_1.NODE_REGION_CONFIG_OPTIONS, { ...config_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
45
41
|
requestHandler: node_http_handler_1.NodeHttp2Handler.create(config?.requestHandler ?? (async () => ({
|
|
46
42
|
...await defaultConfigProvider(),
|
|
47
43
|
disableConcurrentStreams: true
|
|
48
44
|
}))),
|
|
49
45
|
retryMode: config?.retryMode ??
|
|
50
|
-
(0,
|
|
51
|
-
...
|
|
52
|
-
default: async () => (await defaultConfigProvider()).retryMode ||
|
|
46
|
+
(0, config_1.loadConfig)({
|
|
47
|
+
...retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
48
|
+
default: async () => (await defaultConfigProvider()).retryMode || retry_1.DEFAULT_RETRY_MODE,
|
|
53
49
|
}, config),
|
|
54
|
-
sha256: config?.sha256 ??
|
|
50
|
+
sha256: config?.sha256 ?? serde_1.Hash.bind(null, "sha256"),
|
|
55
51
|
streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
|
|
56
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0,
|
|
57
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? (0,
|
|
58
|
-
userAgentAppId: config?.userAgentAppId ?? (0,
|
|
52
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, config_1.loadConfig)(config_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
53
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (0, config_1.loadConfig)(config_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
54
|
+
userAgentAppId: config?.userAgentAppId ?? (0, config_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
59
55
|
};
|
|
60
56
|
};
|
|
61
57
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const sha256_js_1 = require("@aws-crypto/sha256-js");
|
|
5
|
-
const
|
|
5
|
+
const client_1 = require("@smithy/core/client");
|
|
6
6
|
const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
|
|
7
7
|
const getRuntimeConfig = (config) => {
|
|
8
8
|
const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
|
|
@@ -11,7 +11,7 @@ const getRuntimeConfig = (config) => {
|
|
|
11
11
|
...config,
|
|
12
12
|
runtime: "react-native",
|
|
13
13
|
eventStreamPayloadHandlerProvider: config?.eventStreamPayloadHandlerProvider ?? (() => ({
|
|
14
|
-
handle: (0,
|
|
14
|
+
handle: (0, client_1.invalidFunction)("event stream request is not supported in ReactNative."),
|
|
15
15
|
})),
|
|
16
16
|
sha256: config?.sha256 ?? sha256_js_1.Sha256,
|
|
17
17
|
};
|
|
@@ -3,18 +3,17 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
5
5
|
const protocols_1 = require("@aws-sdk/core/protocols");
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
const util_utf8_1 = require("@smithy/util-utf8");
|
|
6
|
+
const client_1 = require("@smithy/core/client");
|
|
7
|
+
const protocols_2 = require("@smithy/core/protocols");
|
|
8
|
+
const serde_1 = require("@smithy/core/serde");
|
|
10
9
|
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
11
10
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
12
11
|
const schemas_0_1 = require("./schemas/schemas_0");
|
|
13
12
|
const getRuntimeConfig = (config) => {
|
|
14
13
|
return {
|
|
15
14
|
apiVersion: "2025-01-29",
|
|
16
|
-
base64Decoder: config?.base64Decoder ??
|
|
17
|
-
base64Encoder: config?.base64Encoder ??
|
|
15
|
+
base64Decoder: config?.base64Decoder ?? serde_1.fromBase64,
|
|
16
|
+
base64Encoder: config?.base64Encoder ?? serde_1.toBase64,
|
|
18
17
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
19
18
|
endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
|
|
20
19
|
extensions: config?.extensions ?? [],
|
|
@@ -26,7 +25,7 @@ const getRuntimeConfig = (config) => {
|
|
|
26
25
|
signer: new httpAuthSchemes_1.AwsSdkSigV4Signer(),
|
|
27
26
|
},
|
|
28
27
|
],
|
|
29
|
-
logger: config?.logger ?? new
|
|
28
|
+
logger: config?.logger ?? new client_1.NoOpLogger(),
|
|
30
29
|
protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
|
|
31
30
|
protocolSettings: config?.protocolSettings ?? {
|
|
32
31
|
defaultNamespace: "com.amazonaws.connecthealth",
|
|
@@ -35,9 +34,9 @@ const getRuntimeConfig = (config) => {
|
|
|
35
34
|
serviceTarget: "ConnectHealth",
|
|
36
35
|
},
|
|
37
36
|
serviceId: config?.serviceId ?? "ConnectHealth",
|
|
38
|
-
urlParser: config?.urlParser ??
|
|
39
|
-
utf8Decoder: config?.utf8Decoder ??
|
|
40
|
-
utf8Encoder: config?.utf8Encoder ??
|
|
37
|
+
urlParser: config?.urlParser ?? protocols_2.parseUrl,
|
|
38
|
+
utf8Decoder: config?.utf8Decoder ?? serde_1.fromUtf8,
|
|
39
|
+
utf8Encoder: config?.utf8Encoder ?? serde_1.toUtf8,
|
|
41
40
|
};
|
|
42
41
|
};
|
|
43
42
|
exports.getRuntimeConfig = getRuntimeConfig;
|
package/dist-es/ConnectHealth.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createAggregatedClient } from "@smithy/
|
|
1
|
+
import { createAggregatedClient } from "@smithy/core/client";
|
|
2
2
|
import { ActivateSubscriptionCommand, } from "./commands/ActivateSubscriptionCommand";
|
|
3
3
|
import { CreateDomainCommand, } from "./commands/CreateDomainCommand";
|
|
4
4
|
import { CreateSubscriptionCommand, } from "./commands/CreateSubscriptionCommand";
|
|
@@ -3,14 +3,14 @@ import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middlewa
|
|
|
3
3
|
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
4
4
|
import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
|
|
5
5
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
6
|
-
import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
7
6
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
7
|
+
import { Client as __Client, } from "@smithy/core/client";
|
|
8
|
+
import { resolveRegionConfig } from "@smithy/core/config";
|
|
9
|
+
import { resolveEndpointConfig } from "@smithy/core/endpoints";
|
|
10
|
+
import { resolveEventStreamSerdeConfig, } from "@smithy/core/event-streams";
|
|
11
|
+
import { getContentLengthPlugin } from "@smithy/core/protocols";
|
|
12
|
+
import { getRetryPlugin, resolveRetryConfig, } from "@smithy/core/retry";
|
|
8
13
|
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
9
|
-
import { resolveEventStreamSerdeConfig, } from "@smithy/eventstream-serde-config-resolver";
|
|
10
|
-
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
11
|
-
import { resolveEndpointConfig, } from "@smithy/middleware-endpoint";
|
|
12
|
-
import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry";
|
|
13
|
-
import { Client as __Client, } from "@smithy/smithy-client";
|
|
14
14
|
import { defaultConnectHealthHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
|
|
15
15
|
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|
|
16
16
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { resolveAwsSdkSigV4Config, } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
|
-
import { getSmithyContext, normalizeProvider } from "@smithy/
|
|
2
|
+
import { getSmithyContext, normalizeProvider } from "@smithy/core/client";
|
|
3
3
|
export const defaultConnectHealthHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
4
4
|
return {
|
|
5
5
|
operation: getSmithyContext(context).operation,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { ActivateSubscription$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { CreateDomain$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|