@aws-sdk/client-connectparticipant 3.901.0 → 3.907.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 +983 -1148
- package/package.json +6 -6
package/dist-cjs/index.js
CHANGED
|
@@ -1,1178 +1,1013 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
|
|
4
|
+
var middlewareLogger = require('@aws-sdk/middleware-logger');
|
|
5
|
+
var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
|
|
6
|
+
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
7
|
+
var configResolver = require('@smithy/config-resolver');
|
|
8
|
+
var core = require('@smithy/core');
|
|
9
|
+
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
10
|
+
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
11
|
+
var middlewareRetry = require('@smithy/middleware-retry');
|
|
12
|
+
var smithyClient = require('@smithy/smithy-client');
|
|
13
|
+
var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
14
|
+
var runtimeConfig = require('./runtimeConfig');
|
|
15
|
+
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
16
|
+
var protocolHttp = require('@smithy/protocol-http');
|
|
17
|
+
var middlewareSerde = require('@smithy/middleware-serde');
|
|
18
|
+
var core$1 = require('@aws-sdk/core');
|
|
19
|
+
var uuid = require('@smithy/uuid');
|
|
20
|
+
|
|
21
|
+
const resolveClientEndpointParameters = (options) => {
|
|
22
|
+
return Object.assign(options, {
|
|
23
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
24
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
25
|
+
defaultSigningName: "execute-api",
|
|
26
|
+
});
|
|
18
27
|
};
|
|
19
|
-
|
|
28
|
+
const commonParams = {
|
|
29
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
30
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
31
|
+
Region: { type: "builtInParams", name: "region" },
|
|
32
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
36
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
37
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
38
|
+
let _credentials = runtimeConfig.credentials;
|
|
39
|
+
return {
|
|
40
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
41
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
42
|
+
if (index === -1) {
|
|
43
|
+
_httpAuthSchemes.push(httpAuthScheme);
|
|
44
|
+
}
|
|
45
|
+
else {
|
|
46
|
+
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
httpAuthSchemes() {
|
|
50
|
+
return _httpAuthSchemes;
|
|
51
|
+
},
|
|
52
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
53
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
54
|
+
},
|
|
55
|
+
httpAuthSchemeProvider() {
|
|
56
|
+
return _httpAuthSchemeProvider;
|
|
57
|
+
},
|
|
58
|
+
setCredentials(credentials) {
|
|
59
|
+
_credentials = credentials;
|
|
60
|
+
},
|
|
61
|
+
credentials() {
|
|
62
|
+
return _credentials;
|
|
63
|
+
},
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
const resolveHttpAuthRuntimeConfig = (config) => {
|
|
67
|
+
return {
|
|
68
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
69
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
70
|
+
credentials: config.credentials(),
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
75
|
+
const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
76
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
77
|
+
return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
class ConnectParticipantClient extends smithyClient.Client {
|
|
81
|
+
config;
|
|
82
|
+
constructor(...[configuration]) {
|
|
83
|
+
const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
|
|
84
|
+
super(_config_0);
|
|
85
|
+
this.initConfig = _config_0;
|
|
86
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
87
|
+
const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
|
|
88
|
+
const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);
|
|
89
|
+
const _config_4 = configResolver.resolveRegionConfig(_config_3);
|
|
90
|
+
const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
|
|
91
|
+
const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);
|
|
92
|
+
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
93
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
94
|
+
this.config = _config_8;
|
|
95
|
+
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
96
|
+
this.middlewareStack.use(middlewareRetry.getOmitRetryHeadersPlugin(this.config));
|
|
97
|
+
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
98
|
+
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
99
|
+
this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
|
|
100
|
+
this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
|
|
101
|
+
this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
|
|
102
|
+
this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
103
|
+
httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultConnectParticipantHttpAuthSchemeParametersProvider,
|
|
104
|
+
identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
|
|
105
|
+
"aws.auth#sigv4": config.credentials,
|
|
106
|
+
}),
|
|
107
|
+
}));
|
|
108
|
+
this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
|
|
109
|
+
}
|
|
110
|
+
destroy() {
|
|
111
|
+
super.destroy();
|
|
112
|
+
}
|
|
113
|
+
}
|
|
20
114
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
115
|
+
class ConnectParticipantServiceException extends smithyClient.ServiceException {
|
|
116
|
+
constructor(options) {
|
|
117
|
+
super(options);
|
|
118
|
+
Object.setPrototypeOf(this, ConnectParticipantServiceException.prototype);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
class AccessDeniedException extends ConnectParticipantServiceException {
|
|
123
|
+
name = "AccessDeniedException";
|
|
124
|
+
$fault = "client";
|
|
125
|
+
Message;
|
|
126
|
+
constructor(opts) {
|
|
127
|
+
super({
|
|
128
|
+
name: "AccessDeniedException",
|
|
129
|
+
$fault: "client",
|
|
130
|
+
...opts,
|
|
131
|
+
});
|
|
132
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
133
|
+
this.Message = opts.Message;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
class InternalServerException extends ConnectParticipantServiceException {
|
|
137
|
+
name = "InternalServerException";
|
|
138
|
+
$fault = "server";
|
|
139
|
+
Message;
|
|
140
|
+
constructor(opts) {
|
|
141
|
+
super({
|
|
142
|
+
name: "InternalServerException",
|
|
143
|
+
$fault: "server",
|
|
144
|
+
...opts,
|
|
145
|
+
});
|
|
146
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
147
|
+
this.Message = opts.Message;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
class ThrottlingException extends ConnectParticipantServiceException {
|
|
151
|
+
name = "ThrottlingException";
|
|
152
|
+
$fault = "client";
|
|
153
|
+
Message;
|
|
154
|
+
constructor(opts) {
|
|
155
|
+
super({
|
|
156
|
+
name: "ThrottlingException",
|
|
157
|
+
$fault: "client",
|
|
158
|
+
...opts,
|
|
159
|
+
});
|
|
160
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
161
|
+
this.Message = opts.Message;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
class ValidationException extends ConnectParticipantServiceException {
|
|
165
|
+
name = "ValidationException";
|
|
166
|
+
$fault = "client";
|
|
167
|
+
Message;
|
|
168
|
+
constructor(opts) {
|
|
169
|
+
super({
|
|
170
|
+
name: "ValidationException",
|
|
171
|
+
$fault: "client",
|
|
172
|
+
...opts,
|
|
173
|
+
});
|
|
174
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
175
|
+
this.Message = opts.Message;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
class ConflictException extends ConnectParticipantServiceException {
|
|
179
|
+
name = "ConflictException";
|
|
180
|
+
$fault = "client";
|
|
181
|
+
Message;
|
|
182
|
+
constructor(opts) {
|
|
183
|
+
super({
|
|
184
|
+
name: "ConflictException",
|
|
185
|
+
$fault: "client",
|
|
186
|
+
...opts,
|
|
187
|
+
});
|
|
188
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
189
|
+
this.Message = opts.Message;
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
class ServiceQuotaExceededException extends ConnectParticipantServiceException {
|
|
193
|
+
name = "ServiceQuotaExceededException";
|
|
194
|
+
$fault = "client";
|
|
195
|
+
Message;
|
|
196
|
+
constructor(opts) {
|
|
197
|
+
super({
|
|
198
|
+
name: "ServiceQuotaExceededException",
|
|
199
|
+
$fault: "client",
|
|
200
|
+
...opts,
|
|
201
|
+
});
|
|
202
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
203
|
+
this.Message = opts.Message;
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
const ConnectionType = {
|
|
207
|
+
CONNECTION_CREDENTIALS: "CONNECTION_CREDENTIALS",
|
|
208
|
+
WEBRTC_CONNECTION: "WEBRTC_CONNECTION",
|
|
209
|
+
WEBSOCKET: "WEBSOCKET",
|
|
210
|
+
};
|
|
211
|
+
const MeetingFeatureStatus = {
|
|
212
|
+
AVAILABLE: "AVAILABLE",
|
|
213
|
+
UNAVAILABLE: "UNAVAILABLE",
|
|
214
|
+
};
|
|
215
|
+
const ResourceType = {
|
|
216
|
+
CONTACT: "CONTACT",
|
|
217
|
+
CONTACT_FLOW: "CONTACT_FLOW",
|
|
218
|
+
HIERARCHY_GROUP: "HIERARCHY_GROUP",
|
|
219
|
+
HIERARCHY_LEVEL: "HIERARCHY_LEVEL",
|
|
220
|
+
INSTANCE: "INSTANCE",
|
|
221
|
+
PARTICIPANT: "PARTICIPANT",
|
|
222
|
+
PHONE_NUMBER: "PHONE_NUMBER",
|
|
223
|
+
USER: "USER",
|
|
224
|
+
};
|
|
225
|
+
class ResourceNotFoundException extends ConnectParticipantServiceException {
|
|
226
|
+
name = "ResourceNotFoundException";
|
|
227
|
+
$fault = "client";
|
|
228
|
+
Message;
|
|
229
|
+
ResourceId;
|
|
230
|
+
ResourceType;
|
|
231
|
+
constructor(opts) {
|
|
232
|
+
super({
|
|
233
|
+
name: "ResourceNotFoundException",
|
|
234
|
+
$fault: "client",
|
|
235
|
+
...opts,
|
|
236
|
+
});
|
|
237
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
238
|
+
this.Message = opts.Message;
|
|
239
|
+
this.ResourceId = opts.ResourceId;
|
|
240
|
+
this.ResourceType = opts.ResourceType;
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
const ScanDirection = {
|
|
244
|
+
BACKWARD: "BACKWARD",
|
|
245
|
+
FORWARD: "FORWARD",
|
|
246
|
+
};
|
|
247
|
+
const SortKey = {
|
|
248
|
+
ASCENDING: "ASCENDING",
|
|
249
|
+
DESCENDING: "DESCENDING",
|
|
250
|
+
};
|
|
251
|
+
const ArtifactStatus = {
|
|
252
|
+
APPROVED: "APPROVED",
|
|
253
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
254
|
+
REJECTED: "REJECTED",
|
|
255
|
+
};
|
|
256
|
+
const ParticipantRole = {
|
|
257
|
+
AGENT: "AGENT",
|
|
258
|
+
CUSTOMER: "CUSTOMER",
|
|
259
|
+
CUSTOM_BOT: "CUSTOM_BOT",
|
|
260
|
+
SUPERVISOR: "SUPERVISOR",
|
|
261
|
+
SYSTEM: "SYSTEM",
|
|
262
|
+
};
|
|
263
|
+
const ChatItemType = {
|
|
264
|
+
ATTACHMENT: "ATTACHMENT",
|
|
265
|
+
CHAT_ENDED: "CHAT_ENDED",
|
|
266
|
+
CONNECTION_ACK: "CONNECTION_ACK",
|
|
267
|
+
EVENT: "EVENT",
|
|
268
|
+
MESSAGE: "MESSAGE",
|
|
269
|
+
MESSAGE_DELIVERED: "MESSAGE_DELIVERED",
|
|
270
|
+
MESSAGE_READ: "MESSAGE_READ",
|
|
271
|
+
PARTICIPANT_JOINED: "PARTICIPANT_JOINED",
|
|
272
|
+
PARTICIPANT_LEFT: "PARTICIPANT_LEFT",
|
|
273
|
+
TRANSFER_FAILED: "TRANSFER_FAILED",
|
|
274
|
+
TRANSFER_SUCCEEDED: "TRANSFER_SUCCEEDED",
|
|
275
|
+
TYPING: "TYPING",
|
|
276
|
+
};
|
|
277
|
+
const AttendeeFilterSensitiveLog = (obj) => ({
|
|
278
|
+
...obj,
|
|
279
|
+
...(obj.JoinToken && { JoinToken: smithyClient.SENSITIVE_STRING }),
|
|
280
|
+
});
|
|
281
|
+
const WebRTCConnectionFilterSensitiveLog = (obj) => ({
|
|
282
|
+
...obj,
|
|
283
|
+
...(obj.Attendee && { Attendee: AttendeeFilterSensitiveLog(obj.Attendee) }),
|
|
284
|
+
});
|
|
285
|
+
const CreateParticipantConnectionResponseFilterSensitiveLog = (obj) => ({
|
|
286
|
+
...obj,
|
|
287
|
+
...(obj.WebRTCConnection && { WebRTCConnection: WebRTCConnectionFilterSensitiveLog(obj.WebRTCConnection) }),
|
|
288
|
+
});
|
|
289
|
+
const ViewContentFilterSensitiveLog = (obj) => ({
|
|
290
|
+
...obj,
|
|
291
|
+
...(obj.InputSchema && { InputSchema: smithyClient.SENSITIVE_STRING }),
|
|
292
|
+
...(obj.Template && { Template: smithyClient.SENSITIVE_STRING }),
|
|
293
|
+
...(obj.Actions && { Actions: smithyClient.SENSITIVE_STRING }),
|
|
294
|
+
});
|
|
295
|
+
const ViewFilterSensitiveLog = (obj) => ({
|
|
296
|
+
...obj,
|
|
297
|
+
...(obj.Name && { Name: smithyClient.SENSITIVE_STRING }),
|
|
298
|
+
...(obj.Content && { Content: ViewContentFilterSensitiveLog(obj.Content) }),
|
|
299
|
+
});
|
|
300
|
+
const DescribeViewResponseFilterSensitiveLog = (obj) => ({
|
|
301
|
+
...obj,
|
|
302
|
+
...(obj.View && { View: ViewFilterSensitiveLog(obj.View) }),
|
|
61
303
|
});
|
|
62
|
-
module.exports = __toCommonJS(index_exports);
|
|
63
|
-
|
|
64
|
-
// src/ConnectParticipantClient.ts
|
|
65
|
-
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
66
|
-
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
67
|
-
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
68
|
-
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
69
|
-
var import_config_resolver = require("@smithy/config-resolver");
|
|
70
|
-
var import_core = require("@smithy/core");
|
|
71
|
-
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
72
|
-
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
73
|
-
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
74
|
-
|
|
75
|
-
var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
|
|
76
|
-
|
|
77
|
-
// src/endpoint/EndpointParameters.ts
|
|
78
|
-
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
79
|
-
return Object.assign(options, {
|
|
80
|
-
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
81
|
-
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
82
|
-
defaultSigningName: "execute-api"
|
|
83
|
-
});
|
|
84
|
-
}, "resolveClientEndpointParameters");
|
|
85
|
-
var commonParams = {
|
|
86
|
-
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
87
|
-
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
88
|
-
Region: { type: "builtInParams", name: "region" },
|
|
89
|
-
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
90
|
-
};
|
|
91
|
-
|
|
92
|
-
// src/ConnectParticipantClient.ts
|
|
93
|
-
var import_runtimeConfig = require("././runtimeConfig");
|
|
94
|
-
|
|
95
|
-
// src/runtimeExtensions.ts
|
|
96
|
-
var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
|
|
97
|
-
var import_protocol_http = require("@smithy/protocol-http");
|
|
98
|
-
var import_smithy_client = require("@smithy/smithy-client");
|
|
99
304
|
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
},
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
|
|
305
|
+
const se_CancelParticipantAuthenticationCommand = async (input, context) => {
|
|
306
|
+
const b = core.requestBuilder(input, context);
|
|
307
|
+
const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
|
|
308
|
+
"content-type": "application/json",
|
|
309
|
+
[_xab]: input[_CT],
|
|
310
|
+
});
|
|
311
|
+
b.bp("/participant/cancel-authentication");
|
|
312
|
+
let body;
|
|
313
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
314
|
+
SessionId: [],
|
|
315
|
+
}));
|
|
316
|
+
b.m("POST").h(headers).b(body);
|
|
317
|
+
return b.build();
|
|
318
|
+
};
|
|
319
|
+
const se_CompleteAttachmentUploadCommand = async (input, context) => {
|
|
320
|
+
const b = core.requestBuilder(input, context);
|
|
321
|
+
const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
|
|
322
|
+
"content-type": "application/json",
|
|
323
|
+
[_xab]: input[_CT],
|
|
324
|
+
});
|
|
325
|
+
b.bp("/participant/complete-attachment-upload");
|
|
326
|
+
let body;
|
|
327
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
328
|
+
AttachmentIds: (_) => smithyClient._json(_),
|
|
329
|
+
ClientToken: [true, (_) => _ ?? uuid.v4()],
|
|
330
|
+
}));
|
|
331
|
+
b.m("POST").h(headers).b(body);
|
|
332
|
+
return b.build();
|
|
333
|
+
};
|
|
334
|
+
const se_CreateParticipantConnectionCommand = async (input, context) => {
|
|
335
|
+
const b = core.requestBuilder(input, context);
|
|
336
|
+
const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
|
|
337
|
+
"content-type": "application/json",
|
|
338
|
+
[_xab]: input[_PT],
|
|
339
|
+
});
|
|
340
|
+
b.bp("/participant/connection");
|
|
341
|
+
let body;
|
|
342
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
343
|
+
ConnectParticipant: [],
|
|
344
|
+
Type: (_) => smithyClient._json(_),
|
|
345
|
+
}));
|
|
346
|
+
b.m("POST").h(headers).b(body);
|
|
347
|
+
return b.build();
|
|
348
|
+
};
|
|
349
|
+
const se_DescribeViewCommand = async (input, context) => {
|
|
350
|
+
const b = core.requestBuilder(input, context);
|
|
351
|
+
const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
|
|
352
|
+
[_xab]: input[_CT],
|
|
353
|
+
});
|
|
354
|
+
b.bp("/participant/views/{ViewToken}");
|
|
355
|
+
b.p("ViewToken", () => input.ViewToken, "{ViewToken}", false);
|
|
356
|
+
let body;
|
|
357
|
+
b.m("GET").h(headers).b(body);
|
|
358
|
+
return b.build();
|
|
359
|
+
};
|
|
360
|
+
const se_DisconnectParticipantCommand = async (input, context) => {
|
|
361
|
+
const b = core.requestBuilder(input, context);
|
|
362
|
+
const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
|
|
363
|
+
"content-type": "application/json",
|
|
364
|
+
[_xab]: input[_CT],
|
|
365
|
+
});
|
|
366
|
+
b.bp("/participant/disconnect");
|
|
367
|
+
let body;
|
|
368
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
369
|
+
ClientToken: [true, (_) => _ ?? uuid.v4()],
|
|
370
|
+
}));
|
|
371
|
+
b.m("POST").h(headers).b(body);
|
|
372
|
+
return b.build();
|
|
373
|
+
};
|
|
374
|
+
const se_GetAttachmentCommand = async (input, context) => {
|
|
375
|
+
const b = core.requestBuilder(input, context);
|
|
376
|
+
const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
|
|
377
|
+
"content-type": "application/json",
|
|
378
|
+
[_xab]: input[_CT],
|
|
379
|
+
});
|
|
380
|
+
b.bp("/participant/attachment");
|
|
381
|
+
let body;
|
|
382
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
383
|
+
AttachmentId: [],
|
|
384
|
+
UrlExpiryInSeconds: [],
|
|
385
|
+
}));
|
|
386
|
+
b.m("POST").h(headers).b(body);
|
|
387
|
+
return b.build();
|
|
388
|
+
};
|
|
389
|
+
const se_GetAuthenticationUrlCommand = async (input, context) => {
|
|
390
|
+
const b = core.requestBuilder(input, context);
|
|
391
|
+
const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
|
|
392
|
+
"content-type": "application/json",
|
|
393
|
+
[_xab]: input[_CT],
|
|
394
|
+
});
|
|
395
|
+
b.bp("/participant/authentication-url");
|
|
396
|
+
let body;
|
|
397
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
398
|
+
RedirectUri: [],
|
|
399
|
+
SessionId: [],
|
|
400
|
+
}));
|
|
401
|
+
b.m("POST").h(headers).b(body);
|
|
402
|
+
return b.build();
|
|
403
|
+
};
|
|
404
|
+
const se_GetTranscriptCommand = async (input, context) => {
|
|
405
|
+
const b = core.requestBuilder(input, context);
|
|
406
|
+
const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
|
|
407
|
+
"content-type": "application/json",
|
|
408
|
+
[_xab]: input[_CT],
|
|
409
|
+
});
|
|
410
|
+
b.bp("/participant/transcript");
|
|
411
|
+
let body;
|
|
412
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
413
|
+
ContactId: [],
|
|
414
|
+
MaxResults: [],
|
|
415
|
+
NextToken: [],
|
|
416
|
+
ScanDirection: [],
|
|
417
|
+
SortOrder: [],
|
|
418
|
+
StartPosition: (_) => smithyClient._json(_),
|
|
419
|
+
}));
|
|
420
|
+
b.m("POST").h(headers).b(body);
|
|
421
|
+
return b.build();
|
|
422
|
+
};
|
|
423
|
+
const se_SendEventCommand = async (input, context) => {
|
|
424
|
+
const b = core.requestBuilder(input, context);
|
|
425
|
+
const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
|
|
426
|
+
"content-type": "application/json",
|
|
427
|
+
[_xab]: input[_CT],
|
|
428
|
+
});
|
|
429
|
+
b.bp("/participant/event");
|
|
430
|
+
let body;
|
|
431
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
432
|
+
ClientToken: [true, (_) => _ ?? uuid.v4()],
|
|
433
|
+
Content: [],
|
|
434
|
+
ContentType: [],
|
|
435
|
+
}));
|
|
436
|
+
b.m("POST").h(headers).b(body);
|
|
437
|
+
return b.build();
|
|
438
|
+
};
|
|
439
|
+
const se_SendMessageCommand = async (input, context) => {
|
|
440
|
+
const b = core.requestBuilder(input, context);
|
|
441
|
+
const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
|
|
442
|
+
"content-type": "application/json",
|
|
443
|
+
[_xab]: input[_CT],
|
|
444
|
+
});
|
|
445
|
+
b.bp("/participant/message");
|
|
446
|
+
let body;
|
|
447
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
448
|
+
ClientToken: [true, (_) => _ ?? uuid.v4()],
|
|
449
|
+
Content: [],
|
|
450
|
+
ContentType: [],
|
|
451
|
+
}));
|
|
452
|
+
b.m("POST").h(headers).b(body);
|
|
453
|
+
return b.build();
|
|
454
|
+
};
|
|
455
|
+
const se_StartAttachmentUploadCommand = async (input, context) => {
|
|
456
|
+
const b = core.requestBuilder(input, context);
|
|
457
|
+
const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
|
|
458
|
+
"content-type": "application/json",
|
|
459
|
+
[_xab]: input[_CT],
|
|
460
|
+
});
|
|
461
|
+
b.bp("/participant/start-attachment-upload");
|
|
462
|
+
let body;
|
|
463
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
464
|
+
AttachmentName: [],
|
|
465
|
+
AttachmentSizeInBytes: [],
|
|
466
|
+
ClientToken: [true, (_) => _ ?? uuid.v4()],
|
|
467
|
+
ContentType: [],
|
|
468
|
+
}));
|
|
469
|
+
b.m("POST").h(headers).b(body);
|
|
470
|
+
return b.build();
|
|
471
|
+
};
|
|
472
|
+
const de_CancelParticipantAuthenticationCommand = async (output, context) => {
|
|
473
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
474
|
+
return de_CommandError(output, context);
|
|
128
475
|
}
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
|
|
132
|
-
return {
|
|
133
|
-
httpAuthSchemes: config.httpAuthSchemes(),
|
|
134
|
-
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
135
|
-
credentials: config.credentials()
|
|
136
|
-
};
|
|
137
|
-
}, "resolveHttpAuthRuntimeConfig");
|
|
138
|
-
|
|
139
|
-
// src/runtimeExtensions.ts
|
|
140
|
-
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
141
|
-
const extensionConfiguration = Object.assign(
|
|
142
|
-
(0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
|
|
143
|
-
(0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
|
|
144
|
-
(0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
|
|
145
|
-
getHttpAuthExtensionConfiguration(runtimeConfig)
|
|
146
|
-
);
|
|
147
|
-
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
148
|
-
return Object.assign(
|
|
149
|
-
runtimeConfig,
|
|
150
|
-
(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
151
|
-
(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
152
|
-
(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
153
|
-
resolveHttpAuthRuntimeConfig(extensionConfiguration)
|
|
154
|
-
);
|
|
155
|
-
}, "resolveRuntimeExtensions");
|
|
156
|
-
|
|
157
|
-
// src/ConnectParticipantClient.ts
|
|
158
|
-
var ConnectParticipantClient = class extends import_smithy_client.Client {
|
|
159
|
-
static {
|
|
160
|
-
__name(this, "ConnectParticipantClient");
|
|
161
|
-
}
|
|
162
|
-
/**
|
|
163
|
-
* The resolved configuration of ConnectParticipantClient class. This is resolved and normalized from the {@link ConnectParticipantClientConfig | constructor configuration interface}.
|
|
164
|
-
*/
|
|
165
|
-
config;
|
|
166
|
-
constructor(...[configuration]) {
|
|
167
|
-
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
168
|
-
super(_config_0);
|
|
169
|
-
this.initConfig = _config_0;
|
|
170
|
-
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
171
|
-
const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
|
|
172
|
-
const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
|
|
173
|
-
const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
|
|
174
|
-
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
175
|
-
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
176
|
-
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
177
|
-
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
178
|
-
this.config = _config_8;
|
|
179
|
-
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
180
|
-
this.middlewareStack.use((0, import_middleware_retry.getOmitRetryHeadersPlugin)(this.config));
|
|
181
|
-
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
182
|
-
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
183
|
-
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
184
|
-
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
185
|
-
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
186
|
-
this.middlewareStack.use(
|
|
187
|
-
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
188
|
-
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultConnectParticipantHttpAuthSchemeParametersProvider,
|
|
189
|
-
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
190
|
-
"aws.auth#sigv4": config.credentials
|
|
191
|
-
}), "identityProviderConfigProvider")
|
|
192
|
-
})
|
|
193
|
-
);
|
|
194
|
-
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
195
|
-
}
|
|
196
|
-
/**
|
|
197
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
198
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
199
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
200
|
-
*/
|
|
201
|
-
destroy() {
|
|
202
|
-
super.destroy();
|
|
203
|
-
}
|
|
204
|
-
};
|
|
205
|
-
|
|
206
|
-
// src/ConnectParticipant.ts
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
// src/commands/CancelParticipantAuthenticationCommand.ts
|
|
210
|
-
|
|
211
|
-
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
// src/protocols/Aws_restJson1.ts
|
|
215
|
-
var import_core2 = require("@aws-sdk/core");
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
var import_uuid = require("@smithy/uuid");
|
|
219
|
-
|
|
220
|
-
// src/models/ConnectParticipantServiceException.ts
|
|
221
|
-
|
|
222
|
-
var ConnectParticipantServiceException = class _ConnectParticipantServiceException extends import_smithy_client.ServiceException {
|
|
223
|
-
static {
|
|
224
|
-
__name(this, "ConnectParticipantServiceException");
|
|
225
|
-
}
|
|
226
|
-
/**
|
|
227
|
-
* @internal
|
|
228
|
-
*/
|
|
229
|
-
constructor(options) {
|
|
230
|
-
super(options);
|
|
231
|
-
Object.setPrototypeOf(this, _ConnectParticipantServiceException.prototype);
|
|
232
|
-
}
|
|
233
|
-
};
|
|
234
|
-
|
|
235
|
-
// src/models/models_0.ts
|
|
236
|
-
|
|
237
|
-
var AccessDeniedException = class _AccessDeniedException extends ConnectParticipantServiceException {
|
|
238
|
-
static {
|
|
239
|
-
__name(this, "AccessDeniedException");
|
|
240
|
-
}
|
|
241
|
-
name = "AccessDeniedException";
|
|
242
|
-
$fault = "client";
|
|
243
|
-
Message;
|
|
244
|
-
/**
|
|
245
|
-
* @internal
|
|
246
|
-
*/
|
|
247
|
-
constructor(opts) {
|
|
248
|
-
super({
|
|
249
|
-
name: "AccessDeniedException",
|
|
250
|
-
$fault: "client",
|
|
251
|
-
...opts
|
|
476
|
+
const contents = smithyClient.map({
|
|
477
|
+
$metadata: deserializeMetadata(output),
|
|
252
478
|
});
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
}
|
|
479
|
+
await smithyClient.collectBody(output.body, context);
|
|
480
|
+
return contents;
|
|
256
481
|
};
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
Message;
|
|
264
|
-
/**
|
|
265
|
-
* @internal
|
|
266
|
-
*/
|
|
267
|
-
constructor(opts) {
|
|
268
|
-
super({
|
|
269
|
-
name: "InternalServerException",
|
|
270
|
-
$fault: "server",
|
|
271
|
-
...opts
|
|
482
|
+
const de_CompleteAttachmentUploadCommand = async (output, context) => {
|
|
483
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
484
|
+
return de_CommandError(output, context);
|
|
485
|
+
}
|
|
486
|
+
const contents = smithyClient.map({
|
|
487
|
+
$metadata: deserializeMetadata(output),
|
|
272
488
|
});
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
}
|
|
489
|
+
await smithyClient.collectBody(output.body, context);
|
|
490
|
+
return contents;
|
|
276
491
|
};
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
Message;
|
|
284
|
-
/**
|
|
285
|
-
* @internal
|
|
286
|
-
*/
|
|
287
|
-
constructor(opts) {
|
|
288
|
-
super({
|
|
289
|
-
name: "ThrottlingException",
|
|
290
|
-
$fault: "client",
|
|
291
|
-
...opts
|
|
492
|
+
const de_CreateParticipantConnectionCommand = async (output, context) => {
|
|
493
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
494
|
+
return de_CommandError(output, context);
|
|
495
|
+
}
|
|
496
|
+
const contents = smithyClient.map({
|
|
497
|
+
$metadata: deserializeMetadata(output),
|
|
292
498
|
});
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
static {
|
|
299
|
-
__name(this, "ValidationException");
|
|
300
|
-
}
|
|
301
|
-
name = "ValidationException";
|
|
302
|
-
$fault = "client";
|
|
303
|
-
Message;
|
|
304
|
-
/**
|
|
305
|
-
* @internal
|
|
306
|
-
*/
|
|
307
|
-
constructor(opts) {
|
|
308
|
-
super({
|
|
309
|
-
name: "ValidationException",
|
|
310
|
-
$fault: "client",
|
|
311
|
-
...opts
|
|
499
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
500
|
+
const doc = smithyClient.take(data, {
|
|
501
|
+
ConnectionCredentials: smithyClient._json,
|
|
502
|
+
WebRTCConnection: smithyClient._json,
|
|
503
|
+
Websocket: smithyClient._json,
|
|
312
504
|
});
|
|
313
|
-
Object.
|
|
314
|
-
|
|
315
|
-
}
|
|
505
|
+
Object.assign(contents, doc);
|
|
506
|
+
return contents;
|
|
316
507
|
};
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
Message;
|
|
324
|
-
/**
|
|
325
|
-
* @internal
|
|
326
|
-
*/
|
|
327
|
-
constructor(opts) {
|
|
328
|
-
super({
|
|
329
|
-
name: "ConflictException",
|
|
330
|
-
$fault: "client",
|
|
331
|
-
...opts
|
|
508
|
+
const de_DescribeViewCommand = async (output, context) => {
|
|
509
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
510
|
+
return de_CommandError(output, context);
|
|
511
|
+
}
|
|
512
|
+
const contents = smithyClient.map({
|
|
513
|
+
$metadata: deserializeMetadata(output),
|
|
332
514
|
});
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
};
|
|
337
|
-
var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends ConnectParticipantServiceException {
|
|
338
|
-
static {
|
|
339
|
-
__name(this, "ServiceQuotaExceededException");
|
|
340
|
-
}
|
|
341
|
-
name = "ServiceQuotaExceededException";
|
|
342
|
-
$fault = "client";
|
|
343
|
-
Message;
|
|
344
|
-
/**
|
|
345
|
-
* @internal
|
|
346
|
-
*/
|
|
347
|
-
constructor(opts) {
|
|
348
|
-
super({
|
|
349
|
-
name: "ServiceQuotaExceededException",
|
|
350
|
-
$fault: "client",
|
|
351
|
-
...opts
|
|
515
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
516
|
+
const doc = smithyClient.take(data, {
|
|
517
|
+
View: smithyClient._json,
|
|
352
518
|
});
|
|
353
|
-
Object.
|
|
354
|
-
|
|
355
|
-
}
|
|
356
|
-
};
|
|
357
|
-
var ConnectionType = {
|
|
358
|
-
CONNECTION_CREDENTIALS: "CONNECTION_CREDENTIALS",
|
|
359
|
-
WEBRTC_CONNECTION: "WEBRTC_CONNECTION",
|
|
360
|
-
WEBSOCKET: "WEBSOCKET"
|
|
519
|
+
Object.assign(contents, doc);
|
|
520
|
+
return contents;
|
|
361
521
|
};
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
CONTACT_FLOW: "CONTACT_FLOW",
|
|
369
|
-
HIERARCHY_GROUP: "HIERARCHY_GROUP",
|
|
370
|
-
HIERARCHY_LEVEL: "HIERARCHY_LEVEL",
|
|
371
|
-
INSTANCE: "INSTANCE",
|
|
372
|
-
PARTICIPANT: "PARTICIPANT",
|
|
373
|
-
PHONE_NUMBER: "PHONE_NUMBER",
|
|
374
|
-
USER: "USER"
|
|
375
|
-
};
|
|
376
|
-
var ResourceNotFoundException = class _ResourceNotFoundException extends ConnectParticipantServiceException {
|
|
377
|
-
static {
|
|
378
|
-
__name(this, "ResourceNotFoundException");
|
|
379
|
-
}
|
|
380
|
-
name = "ResourceNotFoundException";
|
|
381
|
-
$fault = "client";
|
|
382
|
-
Message;
|
|
383
|
-
/**
|
|
384
|
-
* <p>The identifier of the resource.</p>
|
|
385
|
-
* @public
|
|
386
|
-
*/
|
|
387
|
-
ResourceId;
|
|
388
|
-
/**
|
|
389
|
-
* <p>The type of Amazon Connect resource.</p>
|
|
390
|
-
* @public
|
|
391
|
-
*/
|
|
392
|
-
ResourceType;
|
|
393
|
-
/**
|
|
394
|
-
* @internal
|
|
395
|
-
*/
|
|
396
|
-
constructor(opts) {
|
|
397
|
-
super({
|
|
398
|
-
name: "ResourceNotFoundException",
|
|
399
|
-
$fault: "client",
|
|
400
|
-
...opts
|
|
522
|
+
const de_DisconnectParticipantCommand = async (output, context) => {
|
|
523
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
524
|
+
return de_CommandError(output, context);
|
|
525
|
+
}
|
|
526
|
+
const contents = smithyClient.map({
|
|
527
|
+
$metadata: deserializeMetadata(output),
|
|
401
528
|
});
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
this.ResourceId = opts.ResourceId;
|
|
405
|
-
this.ResourceType = opts.ResourceType;
|
|
406
|
-
}
|
|
407
|
-
};
|
|
408
|
-
var ScanDirection = {
|
|
409
|
-
BACKWARD: "BACKWARD",
|
|
410
|
-
FORWARD: "FORWARD"
|
|
411
|
-
};
|
|
412
|
-
var SortKey = {
|
|
413
|
-
ASCENDING: "ASCENDING",
|
|
414
|
-
DESCENDING: "DESCENDING"
|
|
415
|
-
};
|
|
416
|
-
var ArtifactStatus = {
|
|
417
|
-
APPROVED: "APPROVED",
|
|
418
|
-
IN_PROGRESS: "IN_PROGRESS",
|
|
419
|
-
REJECTED: "REJECTED"
|
|
420
|
-
};
|
|
421
|
-
var ParticipantRole = {
|
|
422
|
-
AGENT: "AGENT",
|
|
423
|
-
CUSTOMER: "CUSTOMER",
|
|
424
|
-
CUSTOM_BOT: "CUSTOM_BOT",
|
|
425
|
-
SUPERVISOR: "SUPERVISOR",
|
|
426
|
-
SYSTEM: "SYSTEM"
|
|
427
|
-
};
|
|
428
|
-
var ChatItemType = {
|
|
429
|
-
ATTACHMENT: "ATTACHMENT",
|
|
430
|
-
CHAT_ENDED: "CHAT_ENDED",
|
|
431
|
-
CONNECTION_ACK: "CONNECTION_ACK",
|
|
432
|
-
EVENT: "EVENT",
|
|
433
|
-
MESSAGE: "MESSAGE",
|
|
434
|
-
MESSAGE_DELIVERED: "MESSAGE_DELIVERED",
|
|
435
|
-
MESSAGE_READ: "MESSAGE_READ",
|
|
436
|
-
PARTICIPANT_JOINED: "PARTICIPANT_JOINED",
|
|
437
|
-
PARTICIPANT_LEFT: "PARTICIPANT_LEFT",
|
|
438
|
-
TRANSFER_FAILED: "TRANSFER_FAILED",
|
|
439
|
-
TRANSFER_SUCCEEDED: "TRANSFER_SUCCEEDED",
|
|
440
|
-
TYPING: "TYPING"
|
|
441
|
-
};
|
|
442
|
-
var AttendeeFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
443
|
-
...obj,
|
|
444
|
-
...obj.JoinToken && { JoinToken: import_smithy_client.SENSITIVE_STRING }
|
|
445
|
-
}), "AttendeeFilterSensitiveLog");
|
|
446
|
-
var WebRTCConnectionFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
447
|
-
...obj,
|
|
448
|
-
...obj.Attendee && { Attendee: AttendeeFilterSensitiveLog(obj.Attendee) }
|
|
449
|
-
}), "WebRTCConnectionFilterSensitiveLog");
|
|
450
|
-
var CreateParticipantConnectionResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
451
|
-
...obj,
|
|
452
|
-
...obj.WebRTCConnection && { WebRTCConnection: WebRTCConnectionFilterSensitiveLog(obj.WebRTCConnection) }
|
|
453
|
-
}), "CreateParticipantConnectionResponseFilterSensitiveLog");
|
|
454
|
-
var ViewContentFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
455
|
-
...obj,
|
|
456
|
-
...obj.InputSchema && { InputSchema: import_smithy_client.SENSITIVE_STRING },
|
|
457
|
-
...obj.Template && { Template: import_smithy_client.SENSITIVE_STRING },
|
|
458
|
-
...obj.Actions && { Actions: import_smithy_client.SENSITIVE_STRING }
|
|
459
|
-
}), "ViewContentFilterSensitiveLog");
|
|
460
|
-
var ViewFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
461
|
-
...obj,
|
|
462
|
-
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },
|
|
463
|
-
...obj.Content && { Content: ViewContentFilterSensitiveLog(obj.Content) }
|
|
464
|
-
}), "ViewFilterSensitiveLog");
|
|
465
|
-
var DescribeViewResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
466
|
-
...obj,
|
|
467
|
-
...obj.View && { View: ViewFilterSensitiveLog(obj.View) }
|
|
468
|
-
}), "DescribeViewResponseFilterSensitiveLog");
|
|
469
|
-
|
|
470
|
-
// src/protocols/Aws_restJson1.ts
|
|
471
|
-
var se_CancelParticipantAuthenticationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
472
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
473
|
-
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
474
|
-
"content-type": "application/json",
|
|
475
|
-
[_xab]: input[_CT]
|
|
476
|
-
});
|
|
477
|
-
b.bp("/participant/cancel-authentication");
|
|
478
|
-
let body;
|
|
479
|
-
body = JSON.stringify(
|
|
480
|
-
(0, import_smithy_client.take)(input, {
|
|
481
|
-
SessionId: []
|
|
482
|
-
})
|
|
483
|
-
);
|
|
484
|
-
b.m("POST").h(headers).b(body);
|
|
485
|
-
return b.build();
|
|
486
|
-
}, "se_CancelParticipantAuthenticationCommand");
|
|
487
|
-
var se_CompleteAttachmentUploadCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
488
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
489
|
-
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
490
|
-
"content-type": "application/json",
|
|
491
|
-
[_xab]: input[_CT]
|
|
492
|
-
});
|
|
493
|
-
b.bp("/participant/complete-attachment-upload");
|
|
494
|
-
let body;
|
|
495
|
-
body = JSON.stringify(
|
|
496
|
-
(0, import_smithy_client.take)(input, {
|
|
497
|
-
AttachmentIds: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "AttachmentIds"),
|
|
498
|
-
ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()]
|
|
499
|
-
})
|
|
500
|
-
);
|
|
501
|
-
b.m("POST").h(headers).b(body);
|
|
502
|
-
return b.build();
|
|
503
|
-
}, "se_CompleteAttachmentUploadCommand");
|
|
504
|
-
var se_CreateParticipantConnectionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
505
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
506
|
-
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
507
|
-
"content-type": "application/json",
|
|
508
|
-
[_xab]: input[_PT]
|
|
509
|
-
});
|
|
510
|
-
b.bp("/participant/connection");
|
|
511
|
-
let body;
|
|
512
|
-
body = JSON.stringify(
|
|
513
|
-
(0, import_smithy_client.take)(input, {
|
|
514
|
-
ConnectParticipant: [],
|
|
515
|
-
Type: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Type")
|
|
516
|
-
})
|
|
517
|
-
);
|
|
518
|
-
b.m("POST").h(headers).b(body);
|
|
519
|
-
return b.build();
|
|
520
|
-
}, "se_CreateParticipantConnectionCommand");
|
|
521
|
-
var se_DescribeViewCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
522
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
523
|
-
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
524
|
-
[_xab]: input[_CT]
|
|
525
|
-
});
|
|
526
|
-
b.bp("/participant/views/{ViewToken}");
|
|
527
|
-
b.p("ViewToken", () => input.ViewToken, "{ViewToken}", false);
|
|
528
|
-
let body;
|
|
529
|
-
b.m("GET").h(headers).b(body);
|
|
530
|
-
return b.build();
|
|
531
|
-
}, "se_DescribeViewCommand");
|
|
532
|
-
var se_DisconnectParticipantCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
533
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
534
|
-
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
535
|
-
"content-type": "application/json",
|
|
536
|
-
[_xab]: input[_CT]
|
|
537
|
-
});
|
|
538
|
-
b.bp("/participant/disconnect");
|
|
539
|
-
let body;
|
|
540
|
-
body = JSON.stringify(
|
|
541
|
-
(0, import_smithy_client.take)(input, {
|
|
542
|
-
ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()]
|
|
543
|
-
})
|
|
544
|
-
);
|
|
545
|
-
b.m("POST").h(headers).b(body);
|
|
546
|
-
return b.build();
|
|
547
|
-
}, "se_DisconnectParticipantCommand");
|
|
548
|
-
var se_GetAttachmentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
549
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
550
|
-
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
551
|
-
"content-type": "application/json",
|
|
552
|
-
[_xab]: input[_CT]
|
|
553
|
-
});
|
|
554
|
-
b.bp("/participant/attachment");
|
|
555
|
-
let body;
|
|
556
|
-
body = JSON.stringify(
|
|
557
|
-
(0, import_smithy_client.take)(input, {
|
|
558
|
-
AttachmentId: [],
|
|
559
|
-
UrlExpiryInSeconds: []
|
|
560
|
-
})
|
|
561
|
-
);
|
|
562
|
-
b.m("POST").h(headers).b(body);
|
|
563
|
-
return b.build();
|
|
564
|
-
}, "se_GetAttachmentCommand");
|
|
565
|
-
var se_GetAuthenticationUrlCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
566
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
567
|
-
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
568
|
-
"content-type": "application/json",
|
|
569
|
-
[_xab]: input[_CT]
|
|
570
|
-
});
|
|
571
|
-
b.bp("/participant/authentication-url");
|
|
572
|
-
let body;
|
|
573
|
-
body = JSON.stringify(
|
|
574
|
-
(0, import_smithy_client.take)(input, {
|
|
575
|
-
RedirectUri: [],
|
|
576
|
-
SessionId: []
|
|
577
|
-
})
|
|
578
|
-
);
|
|
579
|
-
b.m("POST").h(headers).b(body);
|
|
580
|
-
return b.build();
|
|
581
|
-
}, "se_GetAuthenticationUrlCommand");
|
|
582
|
-
var se_GetTranscriptCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
583
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
584
|
-
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
585
|
-
"content-type": "application/json",
|
|
586
|
-
[_xab]: input[_CT]
|
|
587
|
-
});
|
|
588
|
-
b.bp("/participant/transcript");
|
|
589
|
-
let body;
|
|
590
|
-
body = JSON.stringify(
|
|
591
|
-
(0, import_smithy_client.take)(input, {
|
|
592
|
-
ContactId: [],
|
|
593
|
-
MaxResults: [],
|
|
594
|
-
NextToken: [],
|
|
595
|
-
ScanDirection: [],
|
|
596
|
-
SortOrder: [],
|
|
597
|
-
StartPosition: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "StartPosition")
|
|
598
|
-
})
|
|
599
|
-
);
|
|
600
|
-
b.m("POST").h(headers).b(body);
|
|
601
|
-
return b.build();
|
|
602
|
-
}, "se_GetTranscriptCommand");
|
|
603
|
-
var se_SendEventCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
604
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
605
|
-
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
606
|
-
"content-type": "application/json",
|
|
607
|
-
[_xab]: input[_CT]
|
|
608
|
-
});
|
|
609
|
-
b.bp("/participant/event");
|
|
610
|
-
let body;
|
|
611
|
-
body = JSON.stringify(
|
|
612
|
-
(0, import_smithy_client.take)(input, {
|
|
613
|
-
ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
614
|
-
Content: [],
|
|
615
|
-
ContentType: []
|
|
616
|
-
})
|
|
617
|
-
);
|
|
618
|
-
b.m("POST").h(headers).b(body);
|
|
619
|
-
return b.build();
|
|
620
|
-
}, "se_SendEventCommand");
|
|
621
|
-
var se_SendMessageCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
622
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
623
|
-
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
624
|
-
"content-type": "application/json",
|
|
625
|
-
[_xab]: input[_CT]
|
|
626
|
-
});
|
|
627
|
-
b.bp("/participant/message");
|
|
628
|
-
let body;
|
|
629
|
-
body = JSON.stringify(
|
|
630
|
-
(0, import_smithy_client.take)(input, {
|
|
631
|
-
ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
632
|
-
Content: [],
|
|
633
|
-
ContentType: []
|
|
634
|
-
})
|
|
635
|
-
);
|
|
636
|
-
b.m("POST").h(headers).b(body);
|
|
637
|
-
return b.build();
|
|
638
|
-
}, "se_SendMessageCommand");
|
|
639
|
-
var se_StartAttachmentUploadCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
640
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
641
|
-
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
642
|
-
"content-type": "application/json",
|
|
643
|
-
[_xab]: input[_CT]
|
|
644
|
-
});
|
|
645
|
-
b.bp("/participant/start-attachment-upload");
|
|
646
|
-
let body;
|
|
647
|
-
body = JSON.stringify(
|
|
648
|
-
(0, import_smithy_client.take)(input, {
|
|
649
|
-
AttachmentName: [],
|
|
650
|
-
AttachmentSizeInBytes: [],
|
|
651
|
-
ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
652
|
-
ContentType: []
|
|
653
|
-
})
|
|
654
|
-
);
|
|
655
|
-
b.m("POST").h(headers).b(body);
|
|
656
|
-
return b.build();
|
|
657
|
-
}, "se_StartAttachmentUploadCommand");
|
|
658
|
-
var de_CancelParticipantAuthenticationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
659
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
660
|
-
return de_CommandError(output, context);
|
|
661
|
-
}
|
|
662
|
-
const contents = (0, import_smithy_client.map)({
|
|
663
|
-
$metadata: deserializeMetadata(output)
|
|
664
|
-
});
|
|
665
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
666
|
-
return contents;
|
|
667
|
-
}, "de_CancelParticipantAuthenticationCommand");
|
|
668
|
-
var de_CompleteAttachmentUploadCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
669
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
670
|
-
return de_CommandError(output, context);
|
|
671
|
-
}
|
|
672
|
-
const contents = (0, import_smithy_client.map)({
|
|
673
|
-
$metadata: deserializeMetadata(output)
|
|
674
|
-
});
|
|
675
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
676
|
-
return contents;
|
|
677
|
-
}, "de_CompleteAttachmentUploadCommand");
|
|
678
|
-
var de_CreateParticipantConnectionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
679
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
680
|
-
return de_CommandError(output, context);
|
|
681
|
-
}
|
|
682
|
-
const contents = (0, import_smithy_client.map)({
|
|
683
|
-
$metadata: deserializeMetadata(output)
|
|
684
|
-
});
|
|
685
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
686
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
687
|
-
ConnectionCredentials: import_smithy_client._json,
|
|
688
|
-
WebRTCConnection: import_smithy_client._json,
|
|
689
|
-
Websocket: import_smithy_client._json
|
|
690
|
-
});
|
|
691
|
-
Object.assign(contents, doc);
|
|
692
|
-
return contents;
|
|
693
|
-
}, "de_CreateParticipantConnectionCommand");
|
|
694
|
-
var de_DescribeViewCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
695
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
696
|
-
return de_CommandError(output, context);
|
|
697
|
-
}
|
|
698
|
-
const contents = (0, import_smithy_client.map)({
|
|
699
|
-
$metadata: deserializeMetadata(output)
|
|
700
|
-
});
|
|
701
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
702
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
703
|
-
View: import_smithy_client._json
|
|
704
|
-
});
|
|
705
|
-
Object.assign(contents, doc);
|
|
706
|
-
return contents;
|
|
707
|
-
}, "de_DescribeViewCommand");
|
|
708
|
-
var de_DisconnectParticipantCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
709
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
710
|
-
return de_CommandError(output, context);
|
|
711
|
-
}
|
|
712
|
-
const contents = (0, import_smithy_client.map)({
|
|
713
|
-
$metadata: deserializeMetadata(output)
|
|
714
|
-
});
|
|
715
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
716
|
-
return contents;
|
|
717
|
-
}, "de_DisconnectParticipantCommand");
|
|
718
|
-
var de_GetAttachmentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
719
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
720
|
-
return de_CommandError(output, context);
|
|
721
|
-
}
|
|
722
|
-
const contents = (0, import_smithy_client.map)({
|
|
723
|
-
$metadata: deserializeMetadata(output)
|
|
724
|
-
});
|
|
725
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
726
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
727
|
-
AttachmentSizeInBytes: import_smithy_client.expectLong,
|
|
728
|
-
Url: import_smithy_client.expectString,
|
|
729
|
-
UrlExpiry: import_smithy_client.expectString
|
|
730
|
-
});
|
|
731
|
-
Object.assign(contents, doc);
|
|
732
|
-
return contents;
|
|
733
|
-
}, "de_GetAttachmentCommand");
|
|
734
|
-
var de_GetAuthenticationUrlCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
735
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
736
|
-
return de_CommandError(output, context);
|
|
737
|
-
}
|
|
738
|
-
const contents = (0, import_smithy_client.map)({
|
|
739
|
-
$metadata: deserializeMetadata(output)
|
|
740
|
-
});
|
|
741
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
742
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
743
|
-
AuthenticationUrl: import_smithy_client.expectString
|
|
744
|
-
});
|
|
745
|
-
Object.assign(contents, doc);
|
|
746
|
-
return contents;
|
|
747
|
-
}, "de_GetAuthenticationUrlCommand");
|
|
748
|
-
var de_GetTranscriptCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
749
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
750
|
-
return de_CommandError(output, context);
|
|
751
|
-
}
|
|
752
|
-
const contents = (0, import_smithy_client.map)({
|
|
753
|
-
$metadata: deserializeMetadata(output)
|
|
754
|
-
});
|
|
755
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
756
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
757
|
-
InitialContactId: import_smithy_client.expectString,
|
|
758
|
-
NextToken: import_smithy_client.expectString,
|
|
759
|
-
Transcript: import_smithy_client._json
|
|
760
|
-
});
|
|
761
|
-
Object.assign(contents, doc);
|
|
762
|
-
return contents;
|
|
763
|
-
}, "de_GetTranscriptCommand");
|
|
764
|
-
var de_SendEventCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
765
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
766
|
-
return de_CommandError(output, context);
|
|
767
|
-
}
|
|
768
|
-
const contents = (0, import_smithy_client.map)({
|
|
769
|
-
$metadata: deserializeMetadata(output)
|
|
770
|
-
});
|
|
771
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
772
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
773
|
-
AbsoluteTime: import_smithy_client.expectString,
|
|
774
|
-
Id: import_smithy_client.expectString
|
|
775
|
-
});
|
|
776
|
-
Object.assign(contents, doc);
|
|
777
|
-
return contents;
|
|
778
|
-
}, "de_SendEventCommand");
|
|
779
|
-
var de_SendMessageCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
780
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
781
|
-
return de_CommandError(output, context);
|
|
782
|
-
}
|
|
783
|
-
const contents = (0, import_smithy_client.map)({
|
|
784
|
-
$metadata: deserializeMetadata(output)
|
|
785
|
-
});
|
|
786
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
787
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
788
|
-
AbsoluteTime: import_smithy_client.expectString,
|
|
789
|
-
Id: import_smithy_client.expectString
|
|
790
|
-
});
|
|
791
|
-
Object.assign(contents, doc);
|
|
792
|
-
return contents;
|
|
793
|
-
}, "de_SendMessageCommand");
|
|
794
|
-
var de_StartAttachmentUploadCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
795
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
796
|
-
return de_CommandError(output, context);
|
|
797
|
-
}
|
|
798
|
-
const contents = (0, import_smithy_client.map)({
|
|
799
|
-
$metadata: deserializeMetadata(output)
|
|
800
|
-
});
|
|
801
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
802
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
803
|
-
AttachmentId: import_smithy_client.expectString,
|
|
804
|
-
UploadMetadata: import_smithy_client._json
|
|
805
|
-
});
|
|
806
|
-
Object.assign(contents, doc);
|
|
807
|
-
return contents;
|
|
808
|
-
}, "de_StartAttachmentUploadCommand");
|
|
809
|
-
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
810
|
-
const parsedOutput = {
|
|
811
|
-
...output,
|
|
812
|
-
body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
|
|
813
|
-
};
|
|
814
|
-
const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
815
|
-
switch (errorCode) {
|
|
816
|
-
case "AccessDeniedException":
|
|
817
|
-
case "com.amazonaws.connectparticipant#AccessDeniedException":
|
|
818
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
819
|
-
case "InternalServerException":
|
|
820
|
-
case "com.amazonaws.connectparticipant#InternalServerException":
|
|
821
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
822
|
-
case "ThrottlingException":
|
|
823
|
-
case "com.amazonaws.connectparticipant#ThrottlingException":
|
|
824
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
825
|
-
case "ValidationException":
|
|
826
|
-
case "com.amazonaws.connectparticipant#ValidationException":
|
|
827
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
828
|
-
case "ConflictException":
|
|
829
|
-
case "com.amazonaws.connectparticipant#ConflictException":
|
|
830
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
831
|
-
case "ServiceQuotaExceededException":
|
|
832
|
-
case "com.amazonaws.connectparticipant#ServiceQuotaExceededException":
|
|
833
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
834
|
-
case "ResourceNotFoundException":
|
|
835
|
-
case "com.amazonaws.connectparticipant#ResourceNotFoundException":
|
|
836
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
837
|
-
default:
|
|
838
|
-
const parsedBody = parsedOutput.body;
|
|
839
|
-
return throwDefaultError({
|
|
840
|
-
output,
|
|
841
|
-
parsedBody,
|
|
842
|
-
errorCode
|
|
843
|
-
});
|
|
844
|
-
}
|
|
845
|
-
}, "de_CommandError");
|
|
846
|
-
var throwDefaultError = (0, import_smithy_client.withBaseException)(ConnectParticipantServiceException);
|
|
847
|
-
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
848
|
-
const contents = (0, import_smithy_client.map)({});
|
|
849
|
-
const data = parsedOutput.body;
|
|
850
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
851
|
-
Message: import_smithy_client.expectString
|
|
852
|
-
});
|
|
853
|
-
Object.assign(contents, doc);
|
|
854
|
-
const exception = new AccessDeniedException({
|
|
855
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
856
|
-
...contents
|
|
857
|
-
});
|
|
858
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
859
|
-
}, "de_AccessDeniedExceptionRes");
|
|
860
|
-
var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
861
|
-
const contents = (0, import_smithy_client.map)({});
|
|
862
|
-
const data = parsedOutput.body;
|
|
863
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
864
|
-
Message: import_smithy_client.expectString
|
|
865
|
-
});
|
|
866
|
-
Object.assign(contents, doc);
|
|
867
|
-
const exception = new ConflictException({
|
|
868
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
869
|
-
...contents
|
|
870
|
-
});
|
|
871
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
872
|
-
}, "de_ConflictExceptionRes");
|
|
873
|
-
var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
874
|
-
const contents = (0, import_smithy_client.map)({});
|
|
875
|
-
const data = parsedOutput.body;
|
|
876
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
877
|
-
Message: import_smithy_client.expectString
|
|
878
|
-
});
|
|
879
|
-
Object.assign(contents, doc);
|
|
880
|
-
const exception = new InternalServerException({
|
|
881
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
882
|
-
...contents
|
|
883
|
-
});
|
|
884
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
885
|
-
}, "de_InternalServerExceptionRes");
|
|
886
|
-
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
887
|
-
const contents = (0, import_smithy_client.map)({});
|
|
888
|
-
const data = parsedOutput.body;
|
|
889
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
890
|
-
Message: import_smithy_client.expectString,
|
|
891
|
-
ResourceId: import_smithy_client.expectString,
|
|
892
|
-
ResourceType: import_smithy_client.expectString
|
|
893
|
-
});
|
|
894
|
-
Object.assign(contents, doc);
|
|
895
|
-
const exception = new ResourceNotFoundException({
|
|
896
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
897
|
-
...contents
|
|
898
|
-
});
|
|
899
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
900
|
-
}, "de_ResourceNotFoundExceptionRes");
|
|
901
|
-
var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
902
|
-
const contents = (0, import_smithy_client.map)({});
|
|
903
|
-
const data = parsedOutput.body;
|
|
904
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
905
|
-
Message: import_smithy_client.expectString
|
|
906
|
-
});
|
|
907
|
-
Object.assign(contents, doc);
|
|
908
|
-
const exception = new ServiceQuotaExceededException({
|
|
909
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
910
|
-
...contents
|
|
911
|
-
});
|
|
912
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
913
|
-
}, "de_ServiceQuotaExceededExceptionRes");
|
|
914
|
-
var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
915
|
-
const contents = (0, import_smithy_client.map)({});
|
|
916
|
-
const data = parsedOutput.body;
|
|
917
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
918
|
-
Message: import_smithy_client.expectString
|
|
919
|
-
});
|
|
920
|
-
Object.assign(contents, doc);
|
|
921
|
-
const exception = new ThrottlingException({
|
|
922
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
923
|
-
...contents
|
|
924
|
-
});
|
|
925
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
926
|
-
}, "de_ThrottlingExceptionRes");
|
|
927
|
-
var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
928
|
-
const contents = (0, import_smithy_client.map)({});
|
|
929
|
-
const data = parsedOutput.body;
|
|
930
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
931
|
-
Message: import_smithy_client.expectString
|
|
932
|
-
});
|
|
933
|
-
Object.assign(contents, doc);
|
|
934
|
-
const exception = new ValidationException({
|
|
935
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
936
|
-
...contents
|
|
937
|
-
});
|
|
938
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
939
|
-
}, "de_ValidationExceptionRes");
|
|
940
|
-
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
941
|
-
httpStatusCode: output.statusCode,
|
|
942
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
943
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
944
|
-
cfId: output.headers["x-amz-cf-id"]
|
|
945
|
-
}), "deserializeMetadata");
|
|
946
|
-
var _CT = "ConnectionToken";
|
|
947
|
-
var _PT = "ParticipantToken";
|
|
948
|
-
var _xab = "x-amz-bearer";
|
|
949
|
-
|
|
950
|
-
// src/commands/CancelParticipantAuthenticationCommand.ts
|
|
951
|
-
var CancelParticipantAuthenticationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
952
|
-
return [
|
|
953
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
954
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
955
|
-
];
|
|
956
|
-
}).s("AmazonConnectParticipantServiceLambda", "CancelParticipantAuthentication", {}).n("ConnectParticipantClient", "CancelParticipantAuthenticationCommand").f(void 0, void 0).ser(se_CancelParticipantAuthenticationCommand).de(de_CancelParticipantAuthenticationCommand).build() {
|
|
957
|
-
static {
|
|
958
|
-
__name(this, "CancelParticipantAuthenticationCommand");
|
|
959
|
-
}
|
|
529
|
+
await smithyClient.collectBody(output.body, context);
|
|
530
|
+
return contents;
|
|
960
531
|
};
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
(
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
532
|
+
const de_GetAttachmentCommand = async (output, context) => {
|
|
533
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
534
|
+
return de_CommandError(output, context);
|
|
535
|
+
}
|
|
536
|
+
const contents = smithyClient.map({
|
|
537
|
+
$metadata: deserializeMetadata(output),
|
|
538
|
+
});
|
|
539
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
540
|
+
const doc = smithyClient.take(data, {
|
|
541
|
+
AttachmentSizeInBytes: smithyClient.expectLong,
|
|
542
|
+
Url: smithyClient.expectString,
|
|
543
|
+
UrlExpiry: smithyClient.expectString,
|
|
544
|
+
});
|
|
545
|
+
Object.assign(contents, doc);
|
|
546
|
+
return contents;
|
|
975
547
|
};
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
(
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
})
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
}
|
|
548
|
+
const de_GetAuthenticationUrlCommand = async (output, context) => {
|
|
549
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
550
|
+
return de_CommandError(output, context);
|
|
551
|
+
}
|
|
552
|
+
const contents = smithyClient.map({
|
|
553
|
+
$metadata: deserializeMetadata(output),
|
|
554
|
+
});
|
|
555
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
556
|
+
const doc = smithyClient.take(data, {
|
|
557
|
+
AuthenticationUrl: smithyClient.expectString,
|
|
558
|
+
});
|
|
559
|
+
Object.assign(contents, doc);
|
|
560
|
+
return contents;
|
|
990
561
|
};
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
(
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
562
|
+
const de_GetTranscriptCommand = async (output, context) => {
|
|
563
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
564
|
+
return de_CommandError(output, context);
|
|
565
|
+
}
|
|
566
|
+
const contents = smithyClient.map({
|
|
567
|
+
$metadata: deserializeMetadata(output),
|
|
568
|
+
});
|
|
569
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
570
|
+
const doc = smithyClient.take(data, {
|
|
571
|
+
InitialContactId: smithyClient.expectString,
|
|
572
|
+
NextToken: smithyClient.expectString,
|
|
573
|
+
Transcript: smithyClient._json,
|
|
574
|
+
});
|
|
575
|
+
Object.assign(contents, doc);
|
|
576
|
+
return contents;
|
|
1005
577
|
};
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
(
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
578
|
+
const de_SendEventCommand = async (output, context) => {
|
|
579
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
580
|
+
return de_CommandError(output, context);
|
|
581
|
+
}
|
|
582
|
+
const contents = smithyClient.map({
|
|
583
|
+
$metadata: deserializeMetadata(output),
|
|
584
|
+
});
|
|
585
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
586
|
+
const doc = smithyClient.take(data, {
|
|
587
|
+
AbsoluteTime: smithyClient.expectString,
|
|
588
|
+
Id: smithyClient.expectString,
|
|
589
|
+
});
|
|
590
|
+
Object.assign(contents, doc);
|
|
591
|
+
return contents;
|
|
1020
592
|
};
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
(
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
593
|
+
const de_SendMessageCommand = async (output, context) => {
|
|
594
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
595
|
+
return de_CommandError(output, context);
|
|
596
|
+
}
|
|
597
|
+
const contents = smithyClient.map({
|
|
598
|
+
$metadata: deserializeMetadata(output),
|
|
599
|
+
});
|
|
600
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
601
|
+
const doc = smithyClient.take(data, {
|
|
602
|
+
AbsoluteTime: smithyClient.expectString,
|
|
603
|
+
Id: smithyClient.expectString,
|
|
604
|
+
});
|
|
605
|
+
Object.assign(contents, doc);
|
|
606
|
+
return contents;
|
|
1035
607
|
};
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
(
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
608
|
+
const de_StartAttachmentUploadCommand = async (output, context) => {
|
|
609
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
610
|
+
return de_CommandError(output, context);
|
|
611
|
+
}
|
|
612
|
+
const contents = smithyClient.map({
|
|
613
|
+
$metadata: deserializeMetadata(output),
|
|
614
|
+
});
|
|
615
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
616
|
+
const doc = smithyClient.take(data, {
|
|
617
|
+
AttachmentId: smithyClient.expectString,
|
|
618
|
+
UploadMetadata: smithyClient._json,
|
|
619
|
+
});
|
|
620
|
+
Object.assign(contents, doc);
|
|
621
|
+
return contents;
|
|
622
|
+
};
|
|
623
|
+
const de_CommandError = async (output, context) => {
|
|
624
|
+
const parsedOutput = {
|
|
625
|
+
...output,
|
|
626
|
+
body: await core$1.parseJsonErrorBody(output.body, context),
|
|
627
|
+
};
|
|
628
|
+
const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
629
|
+
switch (errorCode) {
|
|
630
|
+
case "AccessDeniedException":
|
|
631
|
+
case "com.amazonaws.connectparticipant#AccessDeniedException":
|
|
632
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput);
|
|
633
|
+
case "InternalServerException":
|
|
634
|
+
case "com.amazonaws.connectparticipant#InternalServerException":
|
|
635
|
+
throw await de_InternalServerExceptionRes(parsedOutput);
|
|
636
|
+
case "ThrottlingException":
|
|
637
|
+
case "com.amazonaws.connectparticipant#ThrottlingException":
|
|
638
|
+
throw await de_ThrottlingExceptionRes(parsedOutput);
|
|
639
|
+
case "ValidationException":
|
|
640
|
+
case "com.amazonaws.connectparticipant#ValidationException":
|
|
641
|
+
throw await de_ValidationExceptionRes(parsedOutput);
|
|
642
|
+
case "ConflictException":
|
|
643
|
+
case "com.amazonaws.connectparticipant#ConflictException":
|
|
644
|
+
throw await de_ConflictExceptionRes(parsedOutput);
|
|
645
|
+
case "ServiceQuotaExceededException":
|
|
646
|
+
case "com.amazonaws.connectparticipant#ServiceQuotaExceededException":
|
|
647
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
|
|
648
|
+
case "ResourceNotFoundException":
|
|
649
|
+
case "com.amazonaws.connectparticipant#ResourceNotFoundException":
|
|
650
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput);
|
|
651
|
+
default:
|
|
652
|
+
const parsedBody = parsedOutput.body;
|
|
653
|
+
return throwDefaultError({
|
|
654
|
+
output,
|
|
655
|
+
parsedBody,
|
|
656
|
+
errorCode,
|
|
657
|
+
});
|
|
658
|
+
}
|
|
1050
659
|
};
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
}
|
|
660
|
+
const throwDefaultError = smithyClient.withBaseException(ConnectParticipantServiceException);
|
|
661
|
+
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
662
|
+
const contents = smithyClient.map({});
|
|
663
|
+
const data = parsedOutput.body;
|
|
664
|
+
const doc = smithyClient.take(data, {
|
|
665
|
+
Message: smithyClient.expectString,
|
|
666
|
+
});
|
|
667
|
+
Object.assign(contents, doc);
|
|
668
|
+
const exception = new AccessDeniedException({
|
|
669
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
670
|
+
...contents,
|
|
671
|
+
});
|
|
672
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1065
673
|
};
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
})
|
|
1077
|
-
|
|
1078
|
-
__name(this, "SendEventCommand");
|
|
1079
|
-
}
|
|
674
|
+
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
675
|
+
const contents = smithyClient.map({});
|
|
676
|
+
const data = parsedOutput.body;
|
|
677
|
+
const doc = smithyClient.take(data, {
|
|
678
|
+
Message: smithyClient.expectString,
|
|
679
|
+
});
|
|
680
|
+
Object.assign(contents, doc);
|
|
681
|
+
const exception = new ConflictException({
|
|
682
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
683
|
+
...contents,
|
|
684
|
+
});
|
|
685
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1080
686
|
};
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
})
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
687
|
+
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
688
|
+
const contents = smithyClient.map({});
|
|
689
|
+
const data = parsedOutput.body;
|
|
690
|
+
const doc = smithyClient.take(data, {
|
|
691
|
+
Message: smithyClient.expectString,
|
|
692
|
+
});
|
|
693
|
+
Object.assign(contents, doc);
|
|
694
|
+
const exception = new InternalServerException({
|
|
695
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
696
|
+
...contents,
|
|
697
|
+
});
|
|
698
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
699
|
+
};
|
|
700
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
701
|
+
const contents = smithyClient.map({});
|
|
702
|
+
const data = parsedOutput.body;
|
|
703
|
+
const doc = smithyClient.take(data, {
|
|
704
|
+
Message: smithyClient.expectString,
|
|
705
|
+
ResourceId: smithyClient.expectString,
|
|
706
|
+
ResourceType: smithyClient.expectString,
|
|
707
|
+
});
|
|
708
|
+
Object.assign(contents, doc);
|
|
709
|
+
const exception = new ResourceNotFoundException({
|
|
710
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
711
|
+
...contents,
|
|
712
|
+
});
|
|
713
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1095
714
|
};
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
})
|
|
1107
|
-
|
|
1108
|
-
__name(this, "StartAttachmentUploadCommand");
|
|
1109
|
-
}
|
|
715
|
+
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
716
|
+
const contents = smithyClient.map({});
|
|
717
|
+
const data = parsedOutput.body;
|
|
718
|
+
const doc = smithyClient.take(data, {
|
|
719
|
+
Message: smithyClient.expectString,
|
|
720
|
+
});
|
|
721
|
+
Object.assign(contents, doc);
|
|
722
|
+
const exception = new ServiceQuotaExceededException({
|
|
723
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
724
|
+
...contents,
|
|
725
|
+
});
|
|
726
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1110
727
|
};
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
SendMessageCommand,
|
|
1124
|
-
StartAttachmentUploadCommand
|
|
728
|
+
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
729
|
+
const contents = smithyClient.map({});
|
|
730
|
+
const data = parsedOutput.body;
|
|
731
|
+
const doc = smithyClient.take(data, {
|
|
732
|
+
Message: smithyClient.expectString,
|
|
733
|
+
});
|
|
734
|
+
Object.assign(contents, doc);
|
|
735
|
+
const exception = new ThrottlingException({
|
|
736
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
737
|
+
...contents,
|
|
738
|
+
});
|
|
739
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1125
740
|
};
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
741
|
+
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
742
|
+
const contents = smithyClient.map({});
|
|
743
|
+
const data = parsedOutput.body;
|
|
744
|
+
const doc = smithyClient.take(data, {
|
|
745
|
+
Message: smithyClient.expectString,
|
|
746
|
+
});
|
|
747
|
+
Object.assign(contents, doc);
|
|
748
|
+
const exception = new ValidationException({
|
|
749
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
750
|
+
...contents,
|
|
751
|
+
});
|
|
752
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1130
753
|
};
|
|
1131
|
-
(
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
1137
|
-
|
|
1138
|
-
0 && (module.exports = {
|
|
1139
|
-
ConnectParticipantServiceException,
|
|
1140
|
-
__Client,
|
|
1141
|
-
ConnectParticipantClient,
|
|
1142
|
-
ConnectParticipant,
|
|
1143
|
-
$Command,
|
|
1144
|
-
CancelParticipantAuthenticationCommand,
|
|
1145
|
-
CompleteAttachmentUploadCommand,
|
|
1146
|
-
CreateParticipantConnectionCommand,
|
|
1147
|
-
DescribeViewCommand,
|
|
1148
|
-
DisconnectParticipantCommand,
|
|
1149
|
-
GetAttachmentCommand,
|
|
1150
|
-
GetAuthenticationUrlCommand,
|
|
1151
|
-
GetTranscriptCommand,
|
|
1152
|
-
SendEventCommand,
|
|
1153
|
-
SendMessageCommand,
|
|
1154
|
-
StartAttachmentUploadCommand,
|
|
1155
|
-
paginateGetTranscript,
|
|
1156
|
-
AccessDeniedException,
|
|
1157
|
-
InternalServerException,
|
|
1158
|
-
ThrottlingException,
|
|
1159
|
-
ValidationException,
|
|
1160
|
-
ConflictException,
|
|
1161
|
-
ServiceQuotaExceededException,
|
|
1162
|
-
ConnectionType,
|
|
1163
|
-
MeetingFeatureStatus,
|
|
1164
|
-
ResourceType,
|
|
1165
|
-
ResourceNotFoundException,
|
|
1166
|
-
ScanDirection,
|
|
1167
|
-
SortKey,
|
|
1168
|
-
ArtifactStatus,
|
|
1169
|
-
ParticipantRole,
|
|
1170
|
-
ChatItemType,
|
|
1171
|
-
AttendeeFilterSensitiveLog,
|
|
1172
|
-
WebRTCConnectionFilterSensitiveLog,
|
|
1173
|
-
CreateParticipantConnectionResponseFilterSensitiveLog,
|
|
1174
|
-
ViewContentFilterSensitiveLog,
|
|
1175
|
-
ViewFilterSensitiveLog,
|
|
1176
|
-
DescribeViewResponseFilterSensitiveLog
|
|
754
|
+
const deserializeMetadata = (output) => ({
|
|
755
|
+
httpStatusCode: output.statusCode,
|
|
756
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
757
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
758
|
+
cfId: output.headers["x-amz-cf-id"],
|
|
1177
759
|
});
|
|
1178
|
-
|
|
760
|
+
const _CT = "ConnectionToken";
|
|
761
|
+
const _PT = "ParticipantToken";
|
|
762
|
+
const _xab = "x-amz-bearer";
|
|
763
|
+
|
|
764
|
+
class CancelParticipantAuthenticationCommand extends smithyClient.Command
|
|
765
|
+
.classBuilder()
|
|
766
|
+
.ep(commonParams)
|
|
767
|
+
.m(function (Command, cs, config, o) {
|
|
768
|
+
return [
|
|
769
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
770
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
771
|
+
];
|
|
772
|
+
})
|
|
773
|
+
.s("AmazonConnectParticipantServiceLambda", "CancelParticipantAuthentication", {})
|
|
774
|
+
.n("ConnectParticipantClient", "CancelParticipantAuthenticationCommand")
|
|
775
|
+
.f(void 0, void 0)
|
|
776
|
+
.ser(se_CancelParticipantAuthenticationCommand)
|
|
777
|
+
.de(de_CancelParticipantAuthenticationCommand)
|
|
778
|
+
.build() {
|
|
779
|
+
}
|
|
780
|
+
|
|
781
|
+
class CompleteAttachmentUploadCommand extends smithyClient.Command
|
|
782
|
+
.classBuilder()
|
|
783
|
+
.ep(commonParams)
|
|
784
|
+
.m(function (Command, cs, config, o) {
|
|
785
|
+
return [
|
|
786
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
787
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
788
|
+
];
|
|
789
|
+
})
|
|
790
|
+
.s("AmazonConnectParticipantServiceLambda", "CompleteAttachmentUpload", {})
|
|
791
|
+
.n("ConnectParticipantClient", "CompleteAttachmentUploadCommand")
|
|
792
|
+
.f(void 0, void 0)
|
|
793
|
+
.ser(se_CompleteAttachmentUploadCommand)
|
|
794
|
+
.de(de_CompleteAttachmentUploadCommand)
|
|
795
|
+
.build() {
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
class CreateParticipantConnectionCommand extends smithyClient.Command
|
|
799
|
+
.classBuilder()
|
|
800
|
+
.ep(commonParams)
|
|
801
|
+
.m(function (Command, cs, config, o) {
|
|
802
|
+
return [
|
|
803
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
804
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
805
|
+
];
|
|
806
|
+
})
|
|
807
|
+
.s("AmazonConnectParticipantServiceLambda", "CreateParticipantConnection", {})
|
|
808
|
+
.n("ConnectParticipantClient", "CreateParticipantConnectionCommand")
|
|
809
|
+
.f(void 0, CreateParticipantConnectionResponseFilterSensitiveLog)
|
|
810
|
+
.ser(se_CreateParticipantConnectionCommand)
|
|
811
|
+
.de(de_CreateParticipantConnectionCommand)
|
|
812
|
+
.build() {
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
class DescribeViewCommand extends smithyClient.Command
|
|
816
|
+
.classBuilder()
|
|
817
|
+
.ep(commonParams)
|
|
818
|
+
.m(function (Command, cs, config, o) {
|
|
819
|
+
return [
|
|
820
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
821
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
822
|
+
];
|
|
823
|
+
})
|
|
824
|
+
.s("AmazonConnectParticipantServiceLambda", "DescribeView", {})
|
|
825
|
+
.n("ConnectParticipantClient", "DescribeViewCommand")
|
|
826
|
+
.f(void 0, DescribeViewResponseFilterSensitiveLog)
|
|
827
|
+
.ser(se_DescribeViewCommand)
|
|
828
|
+
.de(de_DescribeViewCommand)
|
|
829
|
+
.build() {
|
|
830
|
+
}
|
|
831
|
+
|
|
832
|
+
class DisconnectParticipantCommand extends smithyClient.Command
|
|
833
|
+
.classBuilder()
|
|
834
|
+
.ep(commonParams)
|
|
835
|
+
.m(function (Command, cs, config, o) {
|
|
836
|
+
return [
|
|
837
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
838
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
839
|
+
];
|
|
840
|
+
})
|
|
841
|
+
.s("AmazonConnectParticipantServiceLambda", "DisconnectParticipant", {})
|
|
842
|
+
.n("ConnectParticipantClient", "DisconnectParticipantCommand")
|
|
843
|
+
.f(void 0, void 0)
|
|
844
|
+
.ser(se_DisconnectParticipantCommand)
|
|
845
|
+
.de(de_DisconnectParticipantCommand)
|
|
846
|
+
.build() {
|
|
847
|
+
}
|
|
848
|
+
|
|
849
|
+
class GetAttachmentCommand extends smithyClient.Command
|
|
850
|
+
.classBuilder()
|
|
851
|
+
.ep(commonParams)
|
|
852
|
+
.m(function (Command, cs, config, o) {
|
|
853
|
+
return [
|
|
854
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
855
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
856
|
+
];
|
|
857
|
+
})
|
|
858
|
+
.s("AmazonConnectParticipantServiceLambda", "GetAttachment", {})
|
|
859
|
+
.n("ConnectParticipantClient", "GetAttachmentCommand")
|
|
860
|
+
.f(void 0, void 0)
|
|
861
|
+
.ser(se_GetAttachmentCommand)
|
|
862
|
+
.de(de_GetAttachmentCommand)
|
|
863
|
+
.build() {
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
class GetAuthenticationUrlCommand extends smithyClient.Command
|
|
867
|
+
.classBuilder()
|
|
868
|
+
.ep(commonParams)
|
|
869
|
+
.m(function (Command, cs, config, o) {
|
|
870
|
+
return [
|
|
871
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
872
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
873
|
+
];
|
|
874
|
+
})
|
|
875
|
+
.s("AmazonConnectParticipantServiceLambda", "GetAuthenticationUrl", {})
|
|
876
|
+
.n("ConnectParticipantClient", "GetAuthenticationUrlCommand")
|
|
877
|
+
.f(void 0, void 0)
|
|
878
|
+
.ser(se_GetAuthenticationUrlCommand)
|
|
879
|
+
.de(de_GetAuthenticationUrlCommand)
|
|
880
|
+
.build() {
|
|
881
|
+
}
|
|
882
|
+
|
|
883
|
+
class GetTranscriptCommand extends smithyClient.Command
|
|
884
|
+
.classBuilder()
|
|
885
|
+
.ep(commonParams)
|
|
886
|
+
.m(function (Command, cs, config, o) {
|
|
887
|
+
return [
|
|
888
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
889
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
890
|
+
];
|
|
891
|
+
})
|
|
892
|
+
.s("AmazonConnectParticipantServiceLambda", "GetTranscript", {})
|
|
893
|
+
.n("ConnectParticipantClient", "GetTranscriptCommand")
|
|
894
|
+
.f(void 0, void 0)
|
|
895
|
+
.ser(se_GetTranscriptCommand)
|
|
896
|
+
.de(de_GetTranscriptCommand)
|
|
897
|
+
.build() {
|
|
898
|
+
}
|
|
899
|
+
|
|
900
|
+
class SendEventCommand extends smithyClient.Command
|
|
901
|
+
.classBuilder()
|
|
902
|
+
.ep(commonParams)
|
|
903
|
+
.m(function (Command, cs, config, o) {
|
|
904
|
+
return [
|
|
905
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
906
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
907
|
+
];
|
|
908
|
+
})
|
|
909
|
+
.s("AmazonConnectParticipantServiceLambda", "SendEvent", {})
|
|
910
|
+
.n("ConnectParticipantClient", "SendEventCommand")
|
|
911
|
+
.f(void 0, void 0)
|
|
912
|
+
.ser(se_SendEventCommand)
|
|
913
|
+
.de(de_SendEventCommand)
|
|
914
|
+
.build() {
|
|
915
|
+
}
|
|
916
|
+
|
|
917
|
+
class SendMessageCommand extends smithyClient.Command
|
|
918
|
+
.classBuilder()
|
|
919
|
+
.ep(commonParams)
|
|
920
|
+
.m(function (Command, cs, config, o) {
|
|
921
|
+
return [
|
|
922
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
923
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
924
|
+
];
|
|
925
|
+
})
|
|
926
|
+
.s("AmazonConnectParticipantServiceLambda", "SendMessage", {})
|
|
927
|
+
.n("ConnectParticipantClient", "SendMessageCommand")
|
|
928
|
+
.f(void 0, void 0)
|
|
929
|
+
.ser(se_SendMessageCommand)
|
|
930
|
+
.de(de_SendMessageCommand)
|
|
931
|
+
.build() {
|
|
932
|
+
}
|
|
933
|
+
|
|
934
|
+
class StartAttachmentUploadCommand extends smithyClient.Command
|
|
935
|
+
.classBuilder()
|
|
936
|
+
.ep(commonParams)
|
|
937
|
+
.m(function (Command, cs, config, o) {
|
|
938
|
+
return [
|
|
939
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
940
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
941
|
+
];
|
|
942
|
+
})
|
|
943
|
+
.s("AmazonConnectParticipantServiceLambda", "StartAttachmentUpload", {})
|
|
944
|
+
.n("ConnectParticipantClient", "StartAttachmentUploadCommand")
|
|
945
|
+
.f(void 0, void 0)
|
|
946
|
+
.ser(se_StartAttachmentUploadCommand)
|
|
947
|
+
.de(de_StartAttachmentUploadCommand)
|
|
948
|
+
.build() {
|
|
949
|
+
}
|
|
950
|
+
|
|
951
|
+
const commands = {
|
|
952
|
+
CancelParticipantAuthenticationCommand,
|
|
953
|
+
CompleteAttachmentUploadCommand,
|
|
954
|
+
CreateParticipantConnectionCommand,
|
|
955
|
+
DescribeViewCommand,
|
|
956
|
+
DisconnectParticipantCommand,
|
|
957
|
+
GetAttachmentCommand,
|
|
958
|
+
GetAuthenticationUrlCommand,
|
|
959
|
+
GetTranscriptCommand,
|
|
960
|
+
SendEventCommand,
|
|
961
|
+
SendMessageCommand,
|
|
962
|
+
StartAttachmentUploadCommand,
|
|
963
|
+
};
|
|
964
|
+
class ConnectParticipant extends ConnectParticipantClient {
|
|
965
|
+
}
|
|
966
|
+
smithyClient.createAggregatedClient(commands, ConnectParticipant);
|
|
967
|
+
|
|
968
|
+
const paginateGetTranscript = core.createPaginator(ConnectParticipantClient, GetTranscriptCommand, "NextToken", "NextToken", "MaxResults");
|
|
969
|
+
|
|
970
|
+
Object.defineProperty(exports, "$Command", {
|
|
971
|
+
enumerable: true,
|
|
972
|
+
get: function () { return smithyClient.Command; }
|
|
973
|
+
});
|
|
974
|
+
Object.defineProperty(exports, "__Client", {
|
|
975
|
+
enumerable: true,
|
|
976
|
+
get: function () { return smithyClient.Client; }
|
|
977
|
+
});
|
|
978
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
979
|
+
exports.ArtifactStatus = ArtifactStatus;
|
|
980
|
+
exports.AttendeeFilterSensitiveLog = AttendeeFilterSensitiveLog;
|
|
981
|
+
exports.CancelParticipantAuthenticationCommand = CancelParticipantAuthenticationCommand;
|
|
982
|
+
exports.ChatItemType = ChatItemType;
|
|
983
|
+
exports.CompleteAttachmentUploadCommand = CompleteAttachmentUploadCommand;
|
|
984
|
+
exports.ConflictException = ConflictException;
|
|
985
|
+
exports.ConnectParticipant = ConnectParticipant;
|
|
986
|
+
exports.ConnectParticipantClient = ConnectParticipantClient;
|
|
987
|
+
exports.ConnectParticipantServiceException = ConnectParticipantServiceException;
|
|
988
|
+
exports.ConnectionType = ConnectionType;
|
|
989
|
+
exports.CreateParticipantConnectionCommand = CreateParticipantConnectionCommand;
|
|
990
|
+
exports.CreateParticipantConnectionResponseFilterSensitiveLog = CreateParticipantConnectionResponseFilterSensitiveLog;
|
|
991
|
+
exports.DescribeViewCommand = DescribeViewCommand;
|
|
992
|
+
exports.DescribeViewResponseFilterSensitiveLog = DescribeViewResponseFilterSensitiveLog;
|
|
993
|
+
exports.DisconnectParticipantCommand = DisconnectParticipantCommand;
|
|
994
|
+
exports.GetAttachmentCommand = GetAttachmentCommand;
|
|
995
|
+
exports.GetAuthenticationUrlCommand = GetAuthenticationUrlCommand;
|
|
996
|
+
exports.GetTranscriptCommand = GetTranscriptCommand;
|
|
997
|
+
exports.InternalServerException = InternalServerException;
|
|
998
|
+
exports.MeetingFeatureStatus = MeetingFeatureStatus;
|
|
999
|
+
exports.ParticipantRole = ParticipantRole;
|
|
1000
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
1001
|
+
exports.ResourceType = ResourceType;
|
|
1002
|
+
exports.ScanDirection = ScanDirection;
|
|
1003
|
+
exports.SendEventCommand = SendEventCommand;
|
|
1004
|
+
exports.SendMessageCommand = SendMessageCommand;
|
|
1005
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
1006
|
+
exports.SortKey = SortKey;
|
|
1007
|
+
exports.StartAttachmentUploadCommand = StartAttachmentUploadCommand;
|
|
1008
|
+
exports.ThrottlingException = ThrottlingException;
|
|
1009
|
+
exports.ValidationException = ValidationException;
|
|
1010
|
+
exports.ViewContentFilterSensitiveLog = ViewContentFilterSensitiveLog;
|
|
1011
|
+
exports.ViewFilterSensitiveLog = ViewFilterSensitiveLog;
|
|
1012
|
+
exports.WebRTCConnectionFilterSensitiveLog = WebRTCConnectionFilterSensitiveLog;
|
|
1013
|
+
exports.paginateGetTranscript = paginateGetTranscript;
|