@aws-sdk/client-ivschat 3.1074.0 → 3.1076.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 +829 -15
- 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/ts3.4/runtimeConfig.browser.d.ts +7 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +7 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +7 -1
- package/package.json +8 -8
- package/dist-cjs/auth/httpAuthSchemeProvider.js +0 -40
- package/dist-cjs/endpoint/bdd.js +0 -46
- package/dist-cjs/endpoint/endpointResolver.js +0 -14
- package/dist-cjs/models/IvschatServiceException.js +0 -8
- package/dist-cjs/models/errors.js +0 -121
- package/dist-cjs/runtimeConfig.browser.js +0 -32
- package/dist-cjs/runtimeConfig.js +0 -45
- package/dist-cjs/runtimeConfig.native.js +0 -12
- package/dist-cjs/runtimeConfig.shared.js +0 -38
- package/dist-cjs/schemas/schemas_0.js +0 -502
package/dist-cjs/index.js
CHANGED
|
@@ -1,21 +1,57 @@
|
|
|
1
|
-
|
|
2
|
-
const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
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");
|
|
3
2
|
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
4
|
-
const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
|
|
3
|
+
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
|
|
5
4
|
exports.$Command = Command;
|
|
6
5
|
exports.__Client = Client;
|
|
7
|
-
const { resolveRegionConfig } = require("@smithy/core/config");
|
|
8
|
-
const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
9
|
-
const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
10
|
-
const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
11
|
-
const { getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
12
|
-
const {
|
|
13
|
-
const {
|
|
14
|
-
const {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
6
|
+
const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
|
|
7
|
+
const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
8
|
+
const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
9
|
+
const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
10
|
+
const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
11
|
+
const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
12
|
+
const { defaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
13
|
+
const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
|
|
14
|
+
const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
|
|
15
|
+
const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
|
|
16
|
+
|
|
17
|
+
const defaultIvschatHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
18
|
+
return {
|
|
19
|
+
operation: getSmithyContext(context).operation,
|
|
20
|
+
region: await normalizeProvider(config.region)() || (() => {
|
|
21
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
22
|
+
})(),
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
26
|
+
return {
|
|
27
|
+
schemeId: "aws.auth#sigv4",
|
|
28
|
+
signingProperties: {
|
|
29
|
+
name: "ivschat",
|
|
30
|
+
region: authParameters.region,
|
|
31
|
+
},
|
|
32
|
+
propertiesExtractor: (config, context) => ({
|
|
33
|
+
signingProperties: {
|
|
34
|
+
config,
|
|
35
|
+
context,
|
|
36
|
+
},
|
|
37
|
+
}),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
const defaultIvschatHttpAuthSchemeProvider = (authParameters) => {
|
|
41
|
+
const options = [];
|
|
42
|
+
switch (authParameters.operation) {
|
|
43
|
+
default: {
|
|
44
|
+
options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
return options;
|
|
48
|
+
};
|
|
49
|
+
const resolveHttpAuthSchemeConfig = (config) => {
|
|
50
|
+
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
51
|
+
return Object.assign(config_0, {
|
|
52
|
+
authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
|
|
53
|
+
});
|
|
54
|
+
};
|
|
19
55
|
|
|
20
56
|
const resolveClientEndpointParameters = (options) => {
|
|
21
57
|
return Object.assign(options, {
|
|
@@ -31,6 +67,708 @@ const commonParams = {
|
|
|
31
67
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
32
68
|
};
|
|
33
69
|
|
|
70
|
+
var version = "3.1075.0";
|
|
71
|
+
var packageInfo = {
|
|
72
|
+
version: version};
|
|
73
|
+
|
|
74
|
+
const k = "ref";
|
|
75
|
+
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
|
|
76
|
+
const _data = {
|
|
77
|
+
conditions: [
|
|
78
|
+
[c, [g]],
|
|
79
|
+
[c, j],
|
|
80
|
+
["aws.partition", j, d],
|
|
81
|
+
[e, [{ [k]: "UseFIPS" }, b]],
|
|
82
|
+
[e, [{ [k]: "UseDualStack" }, b]],
|
|
83
|
+
[e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
|
|
84
|
+
[e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]]
|
|
85
|
+
],
|
|
86
|
+
results: [
|
|
87
|
+
[a],
|
|
88
|
+
[a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
|
|
89
|
+
[a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
|
|
90
|
+
[g, i],
|
|
91
|
+
["https://ivschat-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
92
|
+
[a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
|
|
93
|
+
["https://ivschat-fips.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
94
|
+
[a, "FIPS is enabled but this partition does not support FIPS"],
|
|
95
|
+
["https://ivschat.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
96
|
+
[a, "DualStack is enabled but this partition does not support DualStack"],
|
|
97
|
+
["https://ivschat.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
98
|
+
[a, "Invalid Configuration: Missing Region"]
|
|
99
|
+
]
|
|
100
|
+
};
|
|
101
|
+
const root = 2;
|
|
102
|
+
const r = 100_000_000;
|
|
103
|
+
const nodes = new Int32Array([
|
|
104
|
+
-1, 1, -1,
|
|
105
|
+
0, 12, 3,
|
|
106
|
+
1, 4, r + 11,
|
|
107
|
+
2, 5, r + 11,
|
|
108
|
+
3, 8, 6,
|
|
109
|
+
4, 7, r + 10,
|
|
110
|
+
5, r + 8, r + 9,
|
|
111
|
+
4, 10, 9,
|
|
112
|
+
6, r + 6, r + 7,
|
|
113
|
+
5, 11, r + 5,
|
|
114
|
+
6, r + 4, r + 5,
|
|
115
|
+
3, r + 1, 13,
|
|
116
|
+
4, r + 2, r + 3,
|
|
117
|
+
]);
|
|
118
|
+
const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
119
|
+
|
|
120
|
+
const cache = new EndpointCache({
|
|
121
|
+
size: 50,
|
|
122
|
+
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
123
|
+
});
|
|
124
|
+
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
125
|
+
return cache.get(endpointParams, () => decideEndpoint(bdd, {
|
|
126
|
+
endpointParams: endpointParams,
|
|
127
|
+
logger: context.logger,
|
|
128
|
+
}));
|
|
129
|
+
};
|
|
130
|
+
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
131
|
+
|
|
132
|
+
class IvschatServiceException extends ServiceException {
|
|
133
|
+
constructor(options) {
|
|
134
|
+
super(options);
|
|
135
|
+
Object.setPrototypeOf(this, IvschatServiceException.prototype);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
class AccessDeniedException extends IvschatServiceException {
|
|
140
|
+
name = "AccessDeniedException";
|
|
141
|
+
$fault = "client";
|
|
142
|
+
constructor(opts) {
|
|
143
|
+
super({
|
|
144
|
+
name: "AccessDeniedException",
|
|
145
|
+
$fault: "client",
|
|
146
|
+
...opts,
|
|
147
|
+
});
|
|
148
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
class PendingVerification extends IvschatServiceException {
|
|
152
|
+
name = "PendingVerification";
|
|
153
|
+
$fault = "client";
|
|
154
|
+
constructor(opts) {
|
|
155
|
+
super({
|
|
156
|
+
name: "PendingVerification",
|
|
157
|
+
$fault: "client",
|
|
158
|
+
...opts,
|
|
159
|
+
});
|
|
160
|
+
Object.setPrototypeOf(this, PendingVerification.prototype);
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
class ResourceNotFoundException extends IvschatServiceException {
|
|
164
|
+
name = "ResourceNotFoundException";
|
|
165
|
+
$fault = "client";
|
|
166
|
+
resourceId;
|
|
167
|
+
resourceType;
|
|
168
|
+
constructor(opts) {
|
|
169
|
+
super({
|
|
170
|
+
name: "ResourceNotFoundException",
|
|
171
|
+
$fault: "client",
|
|
172
|
+
...opts,
|
|
173
|
+
});
|
|
174
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
175
|
+
this.resourceId = opts.resourceId;
|
|
176
|
+
this.resourceType = opts.resourceType;
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
class ValidationException extends IvschatServiceException {
|
|
180
|
+
name = "ValidationException";
|
|
181
|
+
$fault = "client";
|
|
182
|
+
reason;
|
|
183
|
+
fieldList;
|
|
184
|
+
constructor(opts) {
|
|
185
|
+
super({
|
|
186
|
+
name: "ValidationException",
|
|
187
|
+
$fault: "client",
|
|
188
|
+
...opts,
|
|
189
|
+
});
|
|
190
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
191
|
+
this.reason = opts.reason;
|
|
192
|
+
this.fieldList = opts.fieldList;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
class ConflictException extends IvschatServiceException {
|
|
196
|
+
name = "ConflictException";
|
|
197
|
+
$fault = "client";
|
|
198
|
+
resourceId;
|
|
199
|
+
resourceType;
|
|
200
|
+
constructor(opts) {
|
|
201
|
+
super({
|
|
202
|
+
name: "ConflictException",
|
|
203
|
+
$fault: "client",
|
|
204
|
+
...opts,
|
|
205
|
+
});
|
|
206
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
207
|
+
this.resourceId = opts.resourceId;
|
|
208
|
+
this.resourceType = opts.resourceType;
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
class ServiceQuotaExceededException extends IvschatServiceException {
|
|
212
|
+
name = "ServiceQuotaExceededException";
|
|
213
|
+
$fault = "client";
|
|
214
|
+
resourceId;
|
|
215
|
+
resourceType;
|
|
216
|
+
limit;
|
|
217
|
+
constructor(opts) {
|
|
218
|
+
super({
|
|
219
|
+
name: "ServiceQuotaExceededException",
|
|
220
|
+
$fault: "client",
|
|
221
|
+
...opts,
|
|
222
|
+
});
|
|
223
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
224
|
+
this.resourceId = opts.resourceId;
|
|
225
|
+
this.resourceType = opts.resourceType;
|
|
226
|
+
this.limit = opts.limit;
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
class ThrottlingException extends IvschatServiceException {
|
|
230
|
+
name = "ThrottlingException";
|
|
231
|
+
$fault = "client";
|
|
232
|
+
resourceId;
|
|
233
|
+
resourceType;
|
|
234
|
+
limit;
|
|
235
|
+
constructor(opts) {
|
|
236
|
+
super({
|
|
237
|
+
name: "ThrottlingException",
|
|
238
|
+
$fault: "client",
|
|
239
|
+
...opts,
|
|
240
|
+
});
|
|
241
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
242
|
+
this.resourceId = opts.resourceId;
|
|
243
|
+
this.resourceType = opts.resourceType;
|
|
244
|
+
this.limit = opts.limit;
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
class InternalServerException extends IvschatServiceException {
|
|
248
|
+
name = "InternalServerException";
|
|
249
|
+
$fault = "server";
|
|
250
|
+
constructor(opts) {
|
|
251
|
+
super({
|
|
252
|
+
name: "InternalServerException",
|
|
253
|
+
$fault: "server",
|
|
254
|
+
...opts,
|
|
255
|
+
});
|
|
256
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
const _ADE = "AccessDeniedException";
|
|
261
|
+
const _CCT = "CreateChatToken";
|
|
262
|
+
const _CCTR = "CreateChatTokenRequest";
|
|
263
|
+
const _CCTRr = "CreateChatTokenResponse";
|
|
264
|
+
const _CE = "ConflictException";
|
|
265
|
+
const _CLC = "CreateLoggingConfiguration";
|
|
266
|
+
const _CLCR = "CreateLoggingConfigurationRequest";
|
|
267
|
+
const _CLCRr = "CreateLoggingConfigurationResponse";
|
|
268
|
+
const _CR = "CreateRoom";
|
|
269
|
+
const _CRR = "CreateRoomRequest";
|
|
270
|
+
const _CRRr = "CreateRoomResponse";
|
|
271
|
+
const _CT = "ChatToken";
|
|
272
|
+
const _CTA = "ChatTokenAttributes";
|
|
273
|
+
const _CWLDC = "CloudWatchLogsDestinationConfiguration";
|
|
274
|
+
const _DC = "DestinationConfiguration";
|
|
275
|
+
const _DLC = "DeleteLoggingConfiguration";
|
|
276
|
+
const _DLCR = "DeleteLoggingConfigurationRequest";
|
|
277
|
+
const _DM = "DeleteMessage";
|
|
278
|
+
const _DMR = "DeleteMessageRequest";
|
|
279
|
+
const _DMRe = "DeleteMessageResponse";
|
|
280
|
+
const _DR = "DeleteRoom";
|
|
281
|
+
const _DRR = "DeleteRoomRequest";
|
|
282
|
+
const _DU = "DisconnectUser";
|
|
283
|
+
const _DUR = "DisconnectUserRequest";
|
|
284
|
+
const _DURi = "DisconnectUserResponse";
|
|
285
|
+
const _FDC = "FirehoseDestinationConfiguration";
|
|
286
|
+
const _GLC = "GetLoggingConfiguration";
|
|
287
|
+
const _GLCR = "GetLoggingConfigurationRequest";
|
|
288
|
+
const _GLCRe = "GetLoggingConfigurationResponse";
|
|
289
|
+
const _GR = "GetRoom";
|
|
290
|
+
const _GRR = "GetRoomRequest";
|
|
291
|
+
const _GRRe = "GetRoomResponse";
|
|
292
|
+
const _ISE = "InternalServerException";
|
|
293
|
+
const _LCL = "LoggingConfigurationList";
|
|
294
|
+
const _LCS = "LoggingConfigurationSummary";
|
|
295
|
+
const _LLC = "ListLoggingConfigurations";
|
|
296
|
+
const _LLCR = "ListLoggingConfigurationsRequest";
|
|
297
|
+
const _LLCRi = "ListLoggingConfigurationsResponse";
|
|
298
|
+
const _LR = "ListRooms";
|
|
299
|
+
const _LRR = "ListRoomsRequest";
|
|
300
|
+
const _LRRi = "ListRoomsResponse";
|
|
301
|
+
const _LTFR = "ListTagsForResource";
|
|
302
|
+
const _LTFRR = "ListTagsForResourceRequest";
|
|
303
|
+
const _LTFRRi = "ListTagsForResourceResponse";
|
|
304
|
+
const _MRH = "MessageReviewHandler";
|
|
305
|
+
const _PV = "PendingVerification";
|
|
306
|
+
const _RL = "RoomList";
|
|
307
|
+
const _RNFE = "ResourceNotFoundException";
|
|
308
|
+
const _RS = "RoomSummary";
|
|
309
|
+
const _SDC = "S3DestinationConfiguration";
|
|
310
|
+
const _SE = "SendEvent";
|
|
311
|
+
const _SER = "SendEventRequest";
|
|
312
|
+
const _SERe = "SendEventResponse";
|
|
313
|
+
const _SQEE = "ServiceQuotaExceededException";
|
|
314
|
+
const _TE = "ThrottlingException";
|
|
315
|
+
const _TR = "TagResource";
|
|
316
|
+
const _TRR = "TagResourceRequest";
|
|
317
|
+
const _TRRa = "TagResourceResponse";
|
|
318
|
+
const _UID = "UserID";
|
|
319
|
+
const _ULC = "UpdateLoggingConfiguration";
|
|
320
|
+
const _ULCR = "UpdateLoggingConfigurationRequest";
|
|
321
|
+
const _ULCRp = "UpdateLoggingConfigurationResponse";
|
|
322
|
+
const _UR = "UntagResource";
|
|
323
|
+
const _URR = "UntagResourceRequest";
|
|
324
|
+
const _URRn = "UntagResourceResponse";
|
|
325
|
+
const _URRp = "UpdateRoomRequest";
|
|
326
|
+
const _URRpd = "UpdateRoomResponse";
|
|
327
|
+
const _URp = "UpdateRoom";
|
|
328
|
+
const _VE = "ValidationException";
|
|
329
|
+
const _VEF = "ValidationExceptionField";
|
|
330
|
+
const _VEFL = "ValidationExceptionFieldList";
|
|
331
|
+
const _a = "attributes";
|
|
332
|
+
const _ar = "arn";
|
|
333
|
+
const _bN = "bucketName";
|
|
334
|
+
const _c = "client";
|
|
335
|
+
const _cT = "createTime";
|
|
336
|
+
const _cWL = "cloudWatchLogs";
|
|
337
|
+
const _ca = "capabilities";
|
|
338
|
+
const _dC = "destinationConfiguration";
|
|
339
|
+
const _dSN = "deliveryStreamName";
|
|
340
|
+
const _e = "error";
|
|
341
|
+
const _eN = "eventName";
|
|
342
|
+
const _f = "firehose";
|
|
343
|
+
const _fL = "fieldList";
|
|
344
|
+
const _fR = "fallbackResult";
|
|
345
|
+
const _h = "http";
|
|
346
|
+
const _hE = "httpError";
|
|
347
|
+
const _hQ = "httpQuery";
|
|
348
|
+
const _i = "id";
|
|
349
|
+
const _id = "identifier";
|
|
350
|
+
const _l = "limit";
|
|
351
|
+
const _lC = "loggingConfigurations";
|
|
352
|
+
const _lCI = "loggingConfigurationIdentifiers";
|
|
353
|
+
const _lCIo = "loggingConfigurationIdentifier";
|
|
354
|
+
const _lGN = "logGroupName";
|
|
355
|
+
const _m = "message";
|
|
356
|
+
const _mML = "maximumMessageLength";
|
|
357
|
+
const _mMRPS = "maximumMessageRatePerSecond";
|
|
358
|
+
const _mR = "maxResults";
|
|
359
|
+
const _mRH = "messageReviewHandler";
|
|
360
|
+
const _mRHU = "messageReviewHandlerUri";
|
|
361
|
+
const _n = "name";
|
|
362
|
+
const _nT = "nextToken";
|
|
363
|
+
const _r = "reason";
|
|
364
|
+
const _rA = "resourceArn";
|
|
365
|
+
const _rI = "resourceId";
|
|
366
|
+
const _rIo = "roomIdentifier";
|
|
367
|
+
const _rT = "resourceType";
|
|
368
|
+
const _ro = "rooms";
|
|
369
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.ivschat";
|
|
370
|
+
const _sDIM = "sessionDurationInMinutes";
|
|
371
|
+
const _sET = "sessionExpirationTime";
|
|
372
|
+
const _s_ = "s3";
|
|
373
|
+
const _se = "server";
|
|
374
|
+
const _st = "state";
|
|
375
|
+
const _t = "token";
|
|
376
|
+
const _tET = "tokenExpirationTime";
|
|
377
|
+
const _tK = "tagKeys";
|
|
378
|
+
const _ta = "tags";
|
|
379
|
+
const _u = "uri";
|
|
380
|
+
const _uI = "userId";
|
|
381
|
+
const _uT = "updateTime";
|
|
382
|
+
const n0 = "com.amazonaws.ivschat";
|
|
383
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
384
|
+
var IvschatServiceException$ = [-3, _s, "IvschatServiceException", 0, [], []];
|
|
385
|
+
_s_registry.registerError(IvschatServiceException$, IvschatServiceException);
|
|
386
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
387
|
+
var AccessDeniedException$ = [-3, n0, _ADE,
|
|
388
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
389
|
+
[_m],
|
|
390
|
+
[0], 1
|
|
391
|
+
];
|
|
392
|
+
n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
|
|
393
|
+
var ConflictException$ = [-3, n0, _CE,
|
|
394
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
395
|
+
[_m, _rI, _rT],
|
|
396
|
+
[0, 0, 0], 3
|
|
397
|
+
];
|
|
398
|
+
n0_registry.registerError(ConflictException$, ConflictException);
|
|
399
|
+
var InternalServerException$ = [-3, n0, _ISE,
|
|
400
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
401
|
+
[_m],
|
|
402
|
+
[0], 1
|
|
403
|
+
];
|
|
404
|
+
n0_registry.registerError(InternalServerException$, InternalServerException);
|
|
405
|
+
var PendingVerification$ = [-3, n0, _PV,
|
|
406
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
407
|
+
[_m],
|
|
408
|
+
[0], 1
|
|
409
|
+
];
|
|
410
|
+
n0_registry.registerError(PendingVerification$, PendingVerification);
|
|
411
|
+
var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
412
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
413
|
+
[_m, _rI, _rT],
|
|
414
|
+
[0, 0, 0], 3
|
|
415
|
+
];
|
|
416
|
+
n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
417
|
+
var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
418
|
+
{ [_e]: _c, [_hE]: 402 },
|
|
419
|
+
[_m, _rI, _rT, _l],
|
|
420
|
+
[0, 0, 0, 1], 4
|
|
421
|
+
];
|
|
422
|
+
n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
423
|
+
var ThrottlingException$ = [-3, n0, _TE,
|
|
424
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
425
|
+
[_m, _rI, _rT, _l],
|
|
426
|
+
[0, 0, 0, 1], 4
|
|
427
|
+
];
|
|
428
|
+
n0_registry.registerError(ThrottlingException$, ThrottlingException);
|
|
429
|
+
var ValidationException$ = [-3, n0, _VE,
|
|
430
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
431
|
+
[_m, _r, _fL],
|
|
432
|
+
[0, 0, () => ValidationExceptionFieldList], 2
|
|
433
|
+
];
|
|
434
|
+
n0_registry.registerError(ValidationException$, ValidationException);
|
|
435
|
+
const errorTypeRegistries = [
|
|
436
|
+
_s_registry,
|
|
437
|
+
n0_registry,
|
|
438
|
+
];
|
|
439
|
+
var ChatToken = [0, n0, _CT, 8, 0];
|
|
440
|
+
var UserID = [0, n0, _UID, 8, 0];
|
|
441
|
+
var CloudWatchLogsDestinationConfiguration$ = [3, n0, _CWLDC,
|
|
442
|
+
0,
|
|
443
|
+
[_lGN],
|
|
444
|
+
[0], 1
|
|
445
|
+
];
|
|
446
|
+
var CreateChatTokenRequest$ = [3, n0, _CCTR,
|
|
447
|
+
0,
|
|
448
|
+
[_rIo, _uI, _ca, _sDIM, _a],
|
|
449
|
+
[0, [() => UserID, 0], 64 | 0, 1, [() => ChatTokenAttributes, 0]], 2
|
|
450
|
+
];
|
|
451
|
+
var CreateChatTokenResponse$ = [3, n0, _CCTRr,
|
|
452
|
+
0,
|
|
453
|
+
[_t, _tET, _sET],
|
|
454
|
+
[[() => ChatToken, 0], 5, 5]
|
|
455
|
+
];
|
|
456
|
+
var CreateLoggingConfigurationRequest$ = [3, n0, _CLCR,
|
|
457
|
+
0,
|
|
458
|
+
[_dC, _n, _ta],
|
|
459
|
+
[() => DestinationConfiguration$, 0, 128 | 0], 1
|
|
460
|
+
];
|
|
461
|
+
var CreateLoggingConfigurationResponse$ = [3, n0, _CLCRr,
|
|
462
|
+
0,
|
|
463
|
+
[_ar, _i, _cT, _uT, _n, _dC, _st, _ta],
|
|
464
|
+
[0, 0, 5, 5, 0, () => DestinationConfiguration$, 0, 128 | 0]
|
|
465
|
+
];
|
|
466
|
+
var CreateRoomRequest$ = [3, n0, _CRR,
|
|
467
|
+
0,
|
|
468
|
+
[_n, _mMRPS, _mML, _mRH, _ta, _lCI],
|
|
469
|
+
[0, 1, 1, () => MessageReviewHandler$, 128 | 0, 64 | 0]
|
|
470
|
+
];
|
|
471
|
+
var CreateRoomResponse$ = [3, n0, _CRRr,
|
|
472
|
+
0,
|
|
473
|
+
[_ar, _i, _n, _cT, _uT, _mMRPS, _mML, _mRH, _ta, _lCI],
|
|
474
|
+
[0, 0, 0, 5, 5, 1, 1, () => MessageReviewHandler$, 128 | 0, 64 | 0]
|
|
475
|
+
];
|
|
476
|
+
var DeleteLoggingConfigurationRequest$ = [3, n0, _DLCR,
|
|
477
|
+
0,
|
|
478
|
+
[_id],
|
|
479
|
+
[0], 1
|
|
480
|
+
];
|
|
481
|
+
var DeleteMessageRequest$ = [3, n0, _DMR,
|
|
482
|
+
0,
|
|
483
|
+
[_rIo, _i, _r],
|
|
484
|
+
[0, 0, 0], 2
|
|
485
|
+
];
|
|
486
|
+
var DeleteMessageResponse$ = [3, n0, _DMRe,
|
|
487
|
+
0,
|
|
488
|
+
[_i],
|
|
489
|
+
[0]
|
|
490
|
+
];
|
|
491
|
+
var DeleteRoomRequest$ = [3, n0, _DRR,
|
|
492
|
+
0,
|
|
493
|
+
[_id],
|
|
494
|
+
[0], 1
|
|
495
|
+
];
|
|
496
|
+
var DisconnectUserRequest$ = [3, n0, _DUR,
|
|
497
|
+
0,
|
|
498
|
+
[_rIo, _uI, _r],
|
|
499
|
+
[0, [() => UserID, 0], 0], 2
|
|
500
|
+
];
|
|
501
|
+
var DisconnectUserResponse$ = [3, n0, _DURi,
|
|
502
|
+
0,
|
|
503
|
+
[],
|
|
504
|
+
[]
|
|
505
|
+
];
|
|
506
|
+
var FirehoseDestinationConfiguration$ = [3, n0, _FDC,
|
|
507
|
+
0,
|
|
508
|
+
[_dSN],
|
|
509
|
+
[0], 1
|
|
510
|
+
];
|
|
511
|
+
var GetLoggingConfigurationRequest$ = [3, n0, _GLCR,
|
|
512
|
+
0,
|
|
513
|
+
[_id],
|
|
514
|
+
[0], 1
|
|
515
|
+
];
|
|
516
|
+
var GetLoggingConfigurationResponse$ = [3, n0, _GLCRe,
|
|
517
|
+
0,
|
|
518
|
+
[_ar, _i, _cT, _uT, _n, _dC, _st, _ta],
|
|
519
|
+
[0, 0, 5, 5, 0, () => DestinationConfiguration$, 0, 128 | 0]
|
|
520
|
+
];
|
|
521
|
+
var GetRoomRequest$ = [3, n0, _GRR,
|
|
522
|
+
0,
|
|
523
|
+
[_id],
|
|
524
|
+
[0], 1
|
|
525
|
+
];
|
|
526
|
+
var GetRoomResponse$ = [3, n0, _GRRe,
|
|
527
|
+
0,
|
|
528
|
+
[_ar, _i, _n, _cT, _uT, _mMRPS, _mML, _mRH, _ta, _lCI],
|
|
529
|
+
[0, 0, 0, 5, 5, 1, 1, () => MessageReviewHandler$, 128 | 0, 64 | 0]
|
|
530
|
+
];
|
|
531
|
+
var ListLoggingConfigurationsRequest$ = [3, n0, _LLCR,
|
|
532
|
+
0,
|
|
533
|
+
[_nT, _mR],
|
|
534
|
+
[0, 1]
|
|
535
|
+
];
|
|
536
|
+
var ListLoggingConfigurationsResponse$ = [3, n0, _LLCRi,
|
|
537
|
+
0,
|
|
538
|
+
[_lC, _nT],
|
|
539
|
+
[() => LoggingConfigurationList, 0], 1
|
|
540
|
+
];
|
|
541
|
+
var ListRoomsRequest$ = [3, n0, _LRR,
|
|
542
|
+
0,
|
|
543
|
+
[_n, _nT, _mR, _mRHU, _lCIo],
|
|
544
|
+
[0, 0, 1, 0, 0]
|
|
545
|
+
];
|
|
546
|
+
var ListRoomsResponse$ = [3, n0, _LRRi,
|
|
547
|
+
0,
|
|
548
|
+
[_ro, _nT],
|
|
549
|
+
[() => RoomList, 0], 1
|
|
550
|
+
];
|
|
551
|
+
var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
|
|
552
|
+
0,
|
|
553
|
+
[_rA],
|
|
554
|
+
[[0, 1]], 1
|
|
555
|
+
];
|
|
556
|
+
var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
|
|
557
|
+
0,
|
|
558
|
+
[_ta],
|
|
559
|
+
[128 | 0], 1
|
|
560
|
+
];
|
|
561
|
+
var LoggingConfigurationSummary$ = [3, n0, _LCS,
|
|
562
|
+
0,
|
|
563
|
+
[_ar, _i, _cT, _uT, _n, _dC, _st, _ta],
|
|
564
|
+
[0, 0, 5, 5, 0, () => DestinationConfiguration$, 0, 128 | 0]
|
|
565
|
+
];
|
|
566
|
+
var MessageReviewHandler$ = [3, n0, _MRH,
|
|
567
|
+
0,
|
|
568
|
+
[_u, _fR],
|
|
569
|
+
[0, 0]
|
|
570
|
+
];
|
|
571
|
+
var RoomSummary$ = [3, n0, _RS,
|
|
572
|
+
0,
|
|
573
|
+
[_ar, _i, _n, _mRH, _cT, _uT, _ta, _lCI],
|
|
574
|
+
[0, 0, 0, () => MessageReviewHandler$, 5, 5, 128 | 0, 64 | 0]
|
|
575
|
+
];
|
|
576
|
+
var S3DestinationConfiguration$ = [3, n0, _SDC,
|
|
577
|
+
0,
|
|
578
|
+
[_bN],
|
|
579
|
+
[0], 1
|
|
580
|
+
];
|
|
581
|
+
var SendEventRequest$ = [3, n0, _SER,
|
|
582
|
+
0,
|
|
583
|
+
[_rIo, _eN, _a],
|
|
584
|
+
[0, 0, 128 | 0], 2
|
|
585
|
+
];
|
|
586
|
+
var SendEventResponse$ = [3, n0, _SERe,
|
|
587
|
+
0,
|
|
588
|
+
[_i],
|
|
589
|
+
[0]
|
|
590
|
+
];
|
|
591
|
+
var TagResourceRequest$ = [3, n0, _TRR,
|
|
592
|
+
0,
|
|
593
|
+
[_rA, _ta],
|
|
594
|
+
[[0, 1], 128 | 0], 2
|
|
595
|
+
];
|
|
596
|
+
var TagResourceResponse$ = [3, n0, _TRRa,
|
|
597
|
+
0,
|
|
598
|
+
[],
|
|
599
|
+
[]
|
|
600
|
+
];
|
|
601
|
+
var UntagResourceRequest$ = [3, n0, _URR,
|
|
602
|
+
0,
|
|
603
|
+
[_rA, _tK],
|
|
604
|
+
[[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
|
|
605
|
+
];
|
|
606
|
+
var UntagResourceResponse$ = [3, n0, _URRn,
|
|
607
|
+
0,
|
|
608
|
+
[],
|
|
609
|
+
[]
|
|
610
|
+
];
|
|
611
|
+
var UpdateLoggingConfigurationRequest$ = [3, n0, _ULCR,
|
|
612
|
+
0,
|
|
613
|
+
[_id, _n, _dC],
|
|
614
|
+
[0, 0, () => DestinationConfiguration$], 1
|
|
615
|
+
];
|
|
616
|
+
var UpdateLoggingConfigurationResponse$ = [3, n0, _ULCRp,
|
|
617
|
+
0,
|
|
618
|
+
[_ar, _i, _cT, _uT, _n, _dC, _st, _ta],
|
|
619
|
+
[0, 0, 5, 5, 0, () => DestinationConfiguration$, 0, 128 | 0]
|
|
620
|
+
];
|
|
621
|
+
var UpdateRoomRequest$ = [3, n0, _URRp,
|
|
622
|
+
0,
|
|
623
|
+
[_id, _n, _mMRPS, _mML, _mRH, _lCI],
|
|
624
|
+
[0, 0, 1, 1, () => MessageReviewHandler$, 64 | 0], 1
|
|
625
|
+
];
|
|
626
|
+
var UpdateRoomResponse$ = [3, n0, _URRpd,
|
|
627
|
+
0,
|
|
628
|
+
[_ar, _i, _n, _cT, _uT, _mMRPS, _mML, _mRH, _ta, _lCI],
|
|
629
|
+
[0, 0, 0, 5, 5, 1, 1, () => MessageReviewHandler$, 128 | 0, 64 | 0]
|
|
630
|
+
];
|
|
631
|
+
var ValidationExceptionField$ = [3, n0, _VEF,
|
|
632
|
+
0,
|
|
633
|
+
[_n, _m],
|
|
634
|
+
[0, 0], 2
|
|
635
|
+
];
|
|
636
|
+
var __Unit = "unit";
|
|
637
|
+
var LoggingConfigurationList = [1, n0, _LCL,
|
|
638
|
+
0, () => LoggingConfigurationSummary$
|
|
639
|
+
];
|
|
640
|
+
var RoomList = [1, n0, _RL,
|
|
641
|
+
0, () => RoomSummary$
|
|
642
|
+
];
|
|
643
|
+
var ValidationExceptionFieldList = [1, n0, _VEFL,
|
|
644
|
+
0, () => ValidationExceptionField$
|
|
645
|
+
];
|
|
646
|
+
var ChatTokenAttributes = [2, n0, _CTA,
|
|
647
|
+
8, 0, 0
|
|
648
|
+
];
|
|
649
|
+
var DestinationConfiguration$ = [4, n0, _DC,
|
|
650
|
+
0,
|
|
651
|
+
[_s_, _cWL, _f],
|
|
652
|
+
[() => S3DestinationConfiguration$, () => CloudWatchLogsDestinationConfiguration$, () => FirehoseDestinationConfiguration$]
|
|
653
|
+
];
|
|
654
|
+
var CreateChatToken$ = [9, n0, _CCT,
|
|
655
|
+
{ [_h]: ["POST", "/CreateChatToken", 200] }, () => CreateChatTokenRequest$, () => CreateChatTokenResponse$
|
|
656
|
+
];
|
|
657
|
+
var CreateLoggingConfiguration$ = [9, n0, _CLC,
|
|
658
|
+
{ [_h]: ["POST", "/CreateLoggingConfiguration", 200] }, () => CreateLoggingConfigurationRequest$, () => CreateLoggingConfigurationResponse$
|
|
659
|
+
];
|
|
660
|
+
var CreateRoom$ = [9, n0, _CR,
|
|
661
|
+
{ [_h]: ["POST", "/CreateRoom", 200] }, () => CreateRoomRequest$, () => CreateRoomResponse$
|
|
662
|
+
];
|
|
663
|
+
var DeleteLoggingConfiguration$ = [9, n0, _DLC,
|
|
664
|
+
{ [_h]: ["POST", "/DeleteLoggingConfiguration", 204] }, () => DeleteLoggingConfigurationRequest$, () => __Unit
|
|
665
|
+
];
|
|
666
|
+
var DeleteMessage$ = [9, n0, _DM,
|
|
667
|
+
{ [_h]: ["POST", "/DeleteMessage", 200] }, () => DeleteMessageRequest$, () => DeleteMessageResponse$
|
|
668
|
+
];
|
|
669
|
+
var DeleteRoom$ = [9, n0, _DR,
|
|
670
|
+
{ [_h]: ["POST", "/DeleteRoom", 204] }, () => DeleteRoomRequest$, () => __Unit
|
|
671
|
+
];
|
|
672
|
+
var DisconnectUser$ = [9, n0, _DU,
|
|
673
|
+
{ [_h]: ["POST", "/DisconnectUser", 200] }, () => DisconnectUserRequest$, () => DisconnectUserResponse$
|
|
674
|
+
];
|
|
675
|
+
var GetLoggingConfiguration$ = [9, n0, _GLC,
|
|
676
|
+
{ [_h]: ["POST", "/GetLoggingConfiguration", 200] }, () => GetLoggingConfigurationRequest$, () => GetLoggingConfigurationResponse$
|
|
677
|
+
];
|
|
678
|
+
var GetRoom$ = [9, n0, _GR,
|
|
679
|
+
{ [_h]: ["POST", "/GetRoom", 200] }, () => GetRoomRequest$, () => GetRoomResponse$
|
|
680
|
+
];
|
|
681
|
+
var ListLoggingConfigurations$ = [9, n0, _LLC,
|
|
682
|
+
{ [_h]: ["POST", "/ListLoggingConfigurations", 200] }, () => ListLoggingConfigurationsRequest$, () => ListLoggingConfigurationsResponse$
|
|
683
|
+
];
|
|
684
|
+
var ListRooms$ = [9, n0, _LR,
|
|
685
|
+
{ [_h]: ["POST", "/ListRooms", 200] }, () => ListRoomsRequest$, () => ListRoomsResponse$
|
|
686
|
+
];
|
|
687
|
+
var ListTagsForResource$ = [9, n0, _LTFR,
|
|
688
|
+
{ [_h]: ["GET", "/tags/{resourceArn}", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
|
|
689
|
+
];
|
|
690
|
+
var SendEvent$ = [9, n0, _SE,
|
|
691
|
+
{ [_h]: ["POST", "/SendEvent", 200] }, () => SendEventRequest$, () => SendEventResponse$
|
|
692
|
+
];
|
|
693
|
+
var TagResource$ = [9, n0, _TR,
|
|
694
|
+
{ [_h]: ["POST", "/tags/{resourceArn}", 200] }, () => TagResourceRequest$, () => TagResourceResponse$
|
|
695
|
+
];
|
|
696
|
+
var UntagResource$ = [9, n0, _UR,
|
|
697
|
+
{ [_h]: ["DELETE", "/tags/{resourceArn}", 200] }, () => UntagResourceRequest$, () => UntagResourceResponse$
|
|
698
|
+
];
|
|
699
|
+
var UpdateLoggingConfiguration$ = [9, n0, _ULC,
|
|
700
|
+
{ [_h]: ["POST", "/UpdateLoggingConfiguration", 200] }, () => UpdateLoggingConfigurationRequest$, () => UpdateLoggingConfigurationResponse$
|
|
701
|
+
];
|
|
702
|
+
var UpdateRoom$ = [9, n0, _URp,
|
|
703
|
+
{ [_h]: ["POST", "/UpdateRoom", 200] }, () => UpdateRoomRequest$, () => UpdateRoomResponse$
|
|
704
|
+
];
|
|
705
|
+
|
|
706
|
+
const getRuntimeConfig$1 = (config) => {
|
|
707
|
+
return {
|
|
708
|
+
apiVersion: "2020-07-14",
|
|
709
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
710
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
711
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
712
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
713
|
+
extensions: config?.extensions ?? [],
|
|
714
|
+
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultIvschatHttpAuthSchemeProvider,
|
|
715
|
+
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
716
|
+
{
|
|
717
|
+
schemeId: "aws.auth#sigv4",
|
|
718
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
719
|
+
signer: new AwsSdkSigV4Signer(),
|
|
720
|
+
},
|
|
721
|
+
],
|
|
722
|
+
logger: config?.logger ?? new NoOpLogger(),
|
|
723
|
+
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
724
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
725
|
+
defaultNamespace: "com.amazonaws.ivschat",
|
|
726
|
+
errorTypeRegistries,
|
|
727
|
+
version: "2020-07-14",
|
|
728
|
+
serviceTarget: "AmazonInteractiveVideoServiceChat",
|
|
729
|
+
},
|
|
730
|
+
serviceId: config?.serviceId ?? "ivschat",
|
|
731
|
+
urlParser: config?.urlParser ?? parseUrl,
|
|
732
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
733
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
734
|
+
};
|
|
735
|
+
};
|
|
736
|
+
|
|
737
|
+
const getRuntimeConfig = (config) => {
|
|
738
|
+
emitWarningIfUnsupportedVersion(process.version);
|
|
739
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
740
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
741
|
+
const clientSharedValues = getRuntimeConfig$1(config);
|
|
742
|
+
emitWarningIfUnsupportedVersion$1(process.version);
|
|
743
|
+
const loaderConfig = {
|
|
744
|
+
profile: config?.profile,
|
|
745
|
+
logger: clientSharedValues.logger,
|
|
746
|
+
};
|
|
747
|
+
return {
|
|
748
|
+
...clientSharedValues,
|
|
749
|
+
...config,
|
|
750
|
+
runtime: "node",
|
|
751
|
+
defaultsMode,
|
|
752
|
+
authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
753
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
754
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
|
|
755
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
756
|
+
maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
757
|
+
region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
758
|
+
requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
759
|
+
retryMode: config?.retryMode ??
|
|
760
|
+
loadConfig({
|
|
761
|
+
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
762
|
+
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
763
|
+
}, config),
|
|
764
|
+
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
765
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
766
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
767
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
768
|
+
userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
769
|
+
};
|
|
770
|
+
};
|
|
771
|
+
|
|
34
772
|
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
35
773
|
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
36
774
|
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
@@ -379,31 +1117,107 @@ const UpdateLoggingConfigurationState = {
|
|
|
379
1117
|
ACTIVE: "ACTIVE",
|
|
380
1118
|
};
|
|
381
1119
|
|
|
1120
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
1121
|
+
exports.AccessDeniedException$ = AccessDeniedException$;
|
|
382
1122
|
exports.ChatTokenCapability = ChatTokenCapability;
|
|
1123
|
+
exports.CloudWatchLogsDestinationConfiguration$ = CloudWatchLogsDestinationConfiguration$;
|
|
1124
|
+
exports.ConflictException = ConflictException;
|
|
1125
|
+
exports.ConflictException$ = ConflictException$;
|
|
1126
|
+
exports.CreateChatToken$ = CreateChatToken$;
|
|
383
1127
|
exports.CreateChatTokenCommand = CreateChatTokenCommand;
|
|
1128
|
+
exports.CreateChatTokenRequest$ = CreateChatTokenRequest$;
|
|
1129
|
+
exports.CreateChatTokenResponse$ = CreateChatTokenResponse$;
|
|
1130
|
+
exports.CreateLoggingConfiguration$ = CreateLoggingConfiguration$;
|
|
384
1131
|
exports.CreateLoggingConfigurationCommand = CreateLoggingConfigurationCommand;
|
|
1132
|
+
exports.CreateLoggingConfigurationRequest$ = CreateLoggingConfigurationRequest$;
|
|
1133
|
+
exports.CreateLoggingConfigurationResponse$ = CreateLoggingConfigurationResponse$;
|
|
385
1134
|
exports.CreateLoggingConfigurationState = CreateLoggingConfigurationState;
|
|
1135
|
+
exports.CreateRoom$ = CreateRoom$;
|
|
386
1136
|
exports.CreateRoomCommand = CreateRoomCommand;
|
|
1137
|
+
exports.CreateRoomRequest$ = CreateRoomRequest$;
|
|
1138
|
+
exports.CreateRoomResponse$ = CreateRoomResponse$;
|
|
1139
|
+
exports.DeleteLoggingConfiguration$ = DeleteLoggingConfiguration$;
|
|
387
1140
|
exports.DeleteLoggingConfigurationCommand = DeleteLoggingConfigurationCommand;
|
|
1141
|
+
exports.DeleteLoggingConfigurationRequest$ = DeleteLoggingConfigurationRequest$;
|
|
1142
|
+
exports.DeleteMessage$ = DeleteMessage$;
|
|
388
1143
|
exports.DeleteMessageCommand = DeleteMessageCommand;
|
|
1144
|
+
exports.DeleteMessageRequest$ = DeleteMessageRequest$;
|
|
1145
|
+
exports.DeleteMessageResponse$ = DeleteMessageResponse$;
|
|
1146
|
+
exports.DeleteRoom$ = DeleteRoom$;
|
|
389
1147
|
exports.DeleteRoomCommand = DeleteRoomCommand;
|
|
1148
|
+
exports.DeleteRoomRequest$ = DeleteRoomRequest$;
|
|
1149
|
+
exports.DestinationConfiguration$ = DestinationConfiguration$;
|
|
1150
|
+
exports.DisconnectUser$ = DisconnectUser$;
|
|
390
1151
|
exports.DisconnectUserCommand = DisconnectUserCommand;
|
|
1152
|
+
exports.DisconnectUserRequest$ = DisconnectUserRequest$;
|
|
1153
|
+
exports.DisconnectUserResponse$ = DisconnectUserResponse$;
|
|
391
1154
|
exports.FallbackResult = FallbackResult;
|
|
1155
|
+
exports.FirehoseDestinationConfiguration$ = FirehoseDestinationConfiguration$;
|
|
1156
|
+
exports.GetLoggingConfiguration$ = GetLoggingConfiguration$;
|
|
392
1157
|
exports.GetLoggingConfigurationCommand = GetLoggingConfigurationCommand;
|
|
1158
|
+
exports.GetLoggingConfigurationRequest$ = GetLoggingConfigurationRequest$;
|
|
1159
|
+
exports.GetLoggingConfigurationResponse$ = GetLoggingConfigurationResponse$;
|
|
1160
|
+
exports.GetRoom$ = GetRoom$;
|
|
393
1161
|
exports.GetRoomCommand = GetRoomCommand;
|
|
1162
|
+
exports.GetRoomRequest$ = GetRoomRequest$;
|
|
1163
|
+
exports.GetRoomResponse$ = GetRoomResponse$;
|
|
1164
|
+
exports.InternalServerException = InternalServerException;
|
|
1165
|
+
exports.InternalServerException$ = InternalServerException$;
|
|
394
1166
|
exports.Ivschat = Ivschat;
|
|
395
1167
|
exports.IvschatClient = IvschatClient;
|
|
1168
|
+
exports.IvschatServiceException = IvschatServiceException;
|
|
1169
|
+
exports.IvschatServiceException$ = IvschatServiceException$;
|
|
1170
|
+
exports.ListLoggingConfigurations$ = ListLoggingConfigurations$;
|
|
396
1171
|
exports.ListLoggingConfigurationsCommand = ListLoggingConfigurationsCommand;
|
|
1172
|
+
exports.ListLoggingConfigurationsRequest$ = ListLoggingConfigurationsRequest$;
|
|
1173
|
+
exports.ListLoggingConfigurationsResponse$ = ListLoggingConfigurationsResponse$;
|
|
1174
|
+
exports.ListRooms$ = ListRooms$;
|
|
397
1175
|
exports.ListRoomsCommand = ListRoomsCommand;
|
|
1176
|
+
exports.ListRoomsRequest$ = ListRoomsRequest$;
|
|
1177
|
+
exports.ListRoomsResponse$ = ListRoomsResponse$;
|
|
1178
|
+
exports.ListTagsForResource$ = ListTagsForResource$;
|
|
398
1179
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
1180
|
+
exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
|
|
1181
|
+
exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
|
|
399
1182
|
exports.LoggingConfigurationState = LoggingConfigurationState;
|
|
1183
|
+
exports.LoggingConfigurationSummary$ = LoggingConfigurationSummary$;
|
|
1184
|
+
exports.MessageReviewHandler$ = MessageReviewHandler$;
|
|
1185
|
+
exports.PendingVerification = PendingVerification;
|
|
1186
|
+
exports.PendingVerification$ = PendingVerification$;
|
|
1187
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
1188
|
+
exports.ResourceNotFoundException$ = ResourceNotFoundException$;
|
|
400
1189
|
exports.ResourceType = ResourceType;
|
|
1190
|
+
exports.RoomSummary$ = RoomSummary$;
|
|
1191
|
+
exports.S3DestinationConfiguration$ = S3DestinationConfiguration$;
|
|
1192
|
+
exports.SendEvent$ = SendEvent$;
|
|
401
1193
|
exports.SendEventCommand = SendEventCommand;
|
|
1194
|
+
exports.SendEventRequest$ = SendEventRequest$;
|
|
1195
|
+
exports.SendEventResponse$ = SendEventResponse$;
|
|
1196
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
1197
|
+
exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
|
|
1198
|
+
exports.TagResource$ = TagResource$;
|
|
402
1199
|
exports.TagResourceCommand = TagResourceCommand;
|
|
1200
|
+
exports.TagResourceRequest$ = TagResourceRequest$;
|
|
1201
|
+
exports.TagResourceResponse$ = TagResourceResponse$;
|
|
1202
|
+
exports.ThrottlingException = ThrottlingException;
|
|
1203
|
+
exports.ThrottlingException$ = ThrottlingException$;
|
|
1204
|
+
exports.UntagResource$ = UntagResource$;
|
|
403
1205
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
1206
|
+
exports.UntagResourceRequest$ = UntagResourceRequest$;
|
|
1207
|
+
exports.UntagResourceResponse$ = UntagResourceResponse$;
|
|
1208
|
+
exports.UpdateLoggingConfiguration$ = UpdateLoggingConfiguration$;
|
|
404
1209
|
exports.UpdateLoggingConfigurationCommand = UpdateLoggingConfigurationCommand;
|
|
1210
|
+
exports.UpdateLoggingConfigurationRequest$ = UpdateLoggingConfigurationRequest$;
|
|
1211
|
+
exports.UpdateLoggingConfigurationResponse$ = UpdateLoggingConfigurationResponse$;
|
|
405
1212
|
exports.UpdateLoggingConfigurationState = UpdateLoggingConfigurationState;
|
|
1213
|
+
exports.UpdateRoom$ = UpdateRoom$;
|
|
406
1214
|
exports.UpdateRoomCommand = UpdateRoomCommand;
|
|
1215
|
+
exports.UpdateRoomRequest$ = UpdateRoomRequest$;
|
|
1216
|
+
exports.UpdateRoomResponse$ = UpdateRoomResponse$;
|
|
1217
|
+
exports.ValidationException = ValidationException;
|
|
1218
|
+
exports.ValidationException$ = ValidationException$;
|
|
1219
|
+
exports.ValidationExceptionField$ = ValidationExceptionField$;
|
|
407
1220
|
exports.ValidationExceptionReason = ValidationExceptionReason;
|
|
1221
|
+
exports.errorTypeRegistries = errorTypeRegistries;
|
|
408
1222
|
exports.paginateListLoggingConfigurations = paginateListLoggingConfigurations;
|
|
409
1223
|
exports.paginateListRooms = paginateListRooms;
|