@aws-sdk/client-connectparticipant 3.395.0 → 3.404.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/README.md +8 -0
- package/dist-cjs/ConnectParticipant.js +2 -0
- package/dist-cjs/commands/DescribeViewCommand.js +47 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/endpoint/ruleset.js +1 -1
- package/dist-cjs/models/models_0.js +46 -1
- package/dist-cjs/protocols/Aws_restJson1.js +81 -1
- package/dist-cjs/runtimeExtensions.js +5 -5
- package/dist-es/ConnectParticipant.js +2 -0
- package/dist-es/commands/DescribeViewCommand.js +43 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/models/models_0.js +41 -0
- package/dist-es/protocols/Aws_restJson1.js +80 -2
- package/dist-es/runtimeExtensions.js +5 -5
- package/dist-types/ConnectParticipant.d.ts +7 -0
- package/dist-types/ConnectParticipantClient.d.ts +3 -2
- package/dist-types/commands/DescribeViewCommand.d.ts +101 -0
- package/dist-types/commands/GetTranscriptCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/extensionConfiguration.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +134 -2
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/runtimeExtensions.d.ts +2 -2
- package/dist-types/ts3.4/ConnectParticipant.d.ts +17 -0
- package/dist-types/ts3.4/ConnectParticipantClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/DescribeViewCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +45 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +3 -3
- package/package.json +29 -29
- package/dist-types/clientConfiguration.d.ts +0 -6
- package/dist-types/ts3.4/clientConfiguration.d.ts +0 -3
- /package/dist-cjs/{clientConfiguration.js → extensionConfiguration.js} +0 -0
- /package/dist-es/{clientConfiguration.js → extensionConfiguration.js} +0 -0
package/README.md
CHANGED
|
@@ -226,6 +226,14 @@ CreateParticipantConnection
|
|
|
226
226
|
|
|
227
227
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connectparticipant/classes/createparticipantconnectioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connectparticipant/interfaces/createparticipantconnectioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connectparticipant/interfaces/createparticipantconnectioncommandoutput.html)
|
|
228
228
|
|
|
229
|
+
</details>
|
|
230
|
+
<details>
|
|
231
|
+
<summary>
|
|
232
|
+
DescribeView
|
|
233
|
+
</summary>
|
|
234
|
+
|
|
235
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connectparticipant/classes/describeviewcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connectparticipant/interfaces/describeviewcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connectparticipant/interfaces/describeviewcommandoutput.html)
|
|
236
|
+
|
|
229
237
|
</details>
|
|
230
238
|
<details>
|
|
231
239
|
<summary>
|
|
@@ -4,6 +4,7 @@ exports.ConnectParticipant = void 0;
|
|
|
4
4
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
5
|
const CompleteAttachmentUploadCommand_1 = require("./commands/CompleteAttachmentUploadCommand");
|
|
6
6
|
const CreateParticipantConnectionCommand_1 = require("./commands/CreateParticipantConnectionCommand");
|
|
7
|
+
const DescribeViewCommand_1 = require("./commands/DescribeViewCommand");
|
|
7
8
|
const DisconnectParticipantCommand_1 = require("./commands/DisconnectParticipantCommand");
|
|
8
9
|
const GetAttachmentCommand_1 = require("./commands/GetAttachmentCommand");
|
|
9
10
|
const GetTranscriptCommand_1 = require("./commands/GetTranscriptCommand");
|
|
@@ -14,6 +15,7 @@ const ConnectParticipantClient_1 = require("./ConnectParticipantClient");
|
|
|
14
15
|
const commands = {
|
|
15
16
|
CompleteAttachmentUploadCommand: CompleteAttachmentUploadCommand_1.CompleteAttachmentUploadCommand,
|
|
16
17
|
CreateParticipantConnectionCommand: CreateParticipantConnectionCommand_1.CreateParticipantConnectionCommand,
|
|
18
|
+
DescribeViewCommand: DescribeViewCommand_1.DescribeViewCommand,
|
|
17
19
|
DisconnectParticipantCommand: DisconnectParticipantCommand_1.DisconnectParticipantCommand,
|
|
18
20
|
GetAttachmentCommand: GetAttachmentCommand_1.GetAttachmentCommand,
|
|
19
21
|
GetTranscriptCommand: GetTranscriptCommand_1.GetTranscriptCommand,
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DescribeViewCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const models_0_1 = require("../models/models_0");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class DescribeViewCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeViewCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "ConnectParticipantClient";
|
|
29
|
+
const commandName = "DescribeViewCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: models_0_1.DescribeViewResponseFilterSensitiveLog,
|
|
36
|
+
};
|
|
37
|
+
const { requestHandler } = configuration;
|
|
38
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
39
|
+
}
|
|
40
|
+
serialize(input, context) {
|
|
41
|
+
return (0, Aws_restJson1_1.se_DescribeViewCommand)(input, context);
|
|
42
|
+
}
|
|
43
|
+
deserialize(output, context) {
|
|
44
|
+
return (0, Aws_restJson1_1.de_DescribeViewCommand)(output, context);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
exports.DescribeViewCommand = DescribeViewCommand;
|
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
tslib_1.__exportStar(require("./CompleteAttachmentUploadCommand"), exports);
|
|
5
5
|
tslib_1.__exportStar(require("./CreateParticipantConnectionCommand"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./DescribeViewCommand"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./DisconnectParticipantCommand"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./GetAttachmentCommand"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./GetTranscriptCommand"), exports);
|
|
@@ -3,5 +3,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
4
|
const s = "required", t = "fn", u = "argv", v = "ref";
|
|
5
5
|
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "getAttr", g = { [s]: false, "type": "String" }, h = { [s]: true, "default": false, "type": "Boolean" }, i = { [v]: "Endpoint" }, j = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, k = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, l = {}, m = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [{ [v]: e }, "supportsFIPS"] }] }, n = { [v]: e }, o = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [n, "supportsDualStack"] }] }, p = [j], q = [k], r = [{ [v]: "Region" }];
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, {
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }, { conditions: [{ [t]: a, [u]: r }], type: b, rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [m, o], type: b, rules: [{ endpoint: { url: "https://participant.connect-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [m], type: b, rules: [{ conditions: [{ [t]: "stringEquals", [u]: ["aws-us-gov", { [t]: f, [u]: [n, "name"] }] }], endpoint: { url: "https://participant.connect.{Region}.amazonaws.com", properties: l, headers: l }, type: d }, { endpoint: { url: "https://participant.connect-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [o], type: b, rules: [{ endpoint: { url: "https://participant.connect.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://participant.connect.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ChatItemType = exports.ParticipantRole = exports.ArtifactStatus = exports.SortKey = exports.ScanDirection = exports.ConnectionType = exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.InternalServerException = exports.ConflictException = exports.AccessDeniedException = void 0;
|
|
3
|
+
exports.DescribeViewResponseFilterSensitiveLog = exports.ViewFilterSensitiveLog = exports.ViewContentFilterSensitiveLog = exports.ChatItemType = exports.ParticipantRole = exports.ArtifactStatus = exports.SortKey = exports.ScanDirection = exports.ResourceNotFoundException = exports.ResourceType = exports.ConnectionType = exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.InternalServerException = exports.ConflictException = exports.AccessDeniedException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
4
5
|
const ConnectParticipantServiceException_1 = require("./ConnectParticipantServiceException");
|
|
5
6
|
class AccessDeniedException extends ConnectParticipantServiceException_1.ConnectParticipantServiceException {
|
|
6
7
|
constructor(opts) {
|
|
@@ -90,6 +91,31 @@ exports.ConnectionType = {
|
|
|
90
91
|
CONNECTION_CREDENTIALS: "CONNECTION_CREDENTIALS",
|
|
91
92
|
WEBSOCKET: "WEBSOCKET",
|
|
92
93
|
};
|
|
94
|
+
exports.ResourceType = {
|
|
95
|
+
CONTACT: "CONTACT",
|
|
96
|
+
CONTACT_FLOW: "CONTACT_FLOW",
|
|
97
|
+
HIERARCHY_GROUP: "HIERARCHY_GROUP",
|
|
98
|
+
HIERARCHY_LEVEL: "HIERARCHY_LEVEL",
|
|
99
|
+
INSTANCE: "INSTANCE",
|
|
100
|
+
PARTICIPANT: "PARTICIPANT",
|
|
101
|
+
USER: "USER",
|
|
102
|
+
};
|
|
103
|
+
class ResourceNotFoundException extends ConnectParticipantServiceException_1.ConnectParticipantServiceException {
|
|
104
|
+
constructor(opts) {
|
|
105
|
+
super({
|
|
106
|
+
name: "ResourceNotFoundException",
|
|
107
|
+
$fault: "client",
|
|
108
|
+
...opts,
|
|
109
|
+
});
|
|
110
|
+
this.name = "ResourceNotFoundException";
|
|
111
|
+
this.$fault = "client";
|
|
112
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
113
|
+
this.Message = opts.Message;
|
|
114
|
+
this.ResourceId = opts.ResourceId;
|
|
115
|
+
this.ResourceType = opts.ResourceType;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
93
119
|
exports.ScanDirection = {
|
|
94
120
|
BACKWARD: "BACKWARD",
|
|
95
121
|
FORWARD: "FORWARD",
|
|
@@ -106,6 +132,7 @@ exports.ArtifactStatus = {
|
|
|
106
132
|
exports.ParticipantRole = {
|
|
107
133
|
AGENT: "AGENT",
|
|
108
134
|
CUSTOMER: "CUSTOMER",
|
|
135
|
+
CUSTOM_BOT: "CUSTOM_BOT",
|
|
109
136
|
SYSTEM: "SYSTEM",
|
|
110
137
|
};
|
|
111
138
|
exports.ChatItemType = {
|
|
@@ -122,3 +149,21 @@ exports.ChatItemType = {
|
|
|
122
149
|
TRANSFER_SUCCEEDED: "TRANSFER_SUCCEEDED",
|
|
123
150
|
TYPING: "TYPING",
|
|
124
151
|
};
|
|
152
|
+
const ViewContentFilterSensitiveLog = (obj) => ({
|
|
153
|
+
...obj,
|
|
154
|
+
...(obj.InputSchema && { InputSchema: smithy_client_1.SENSITIVE_STRING }),
|
|
155
|
+
...(obj.Template && { Template: smithy_client_1.SENSITIVE_STRING }),
|
|
156
|
+
...(obj.Actions && { Actions: smithy_client_1.SENSITIVE_STRING }),
|
|
157
|
+
});
|
|
158
|
+
exports.ViewContentFilterSensitiveLog = ViewContentFilterSensitiveLog;
|
|
159
|
+
const ViewFilterSensitiveLog = (obj) => ({
|
|
160
|
+
...obj,
|
|
161
|
+
...(obj.Name && { Name: smithy_client_1.SENSITIVE_STRING }),
|
|
162
|
+
...(obj.Content && { Content: (0, exports.ViewContentFilterSensitiveLog)(obj.Content) }),
|
|
163
|
+
});
|
|
164
|
+
exports.ViewFilterSensitiveLog = ViewFilterSensitiveLog;
|
|
165
|
+
const DescribeViewResponseFilterSensitiveLog = (obj) => ({
|
|
166
|
+
...obj,
|
|
167
|
+
...(obj.View && { View: (0, exports.ViewFilterSensitiveLog)(obj.View) }),
|
|
168
|
+
});
|
|
169
|
+
exports.DescribeViewResponseFilterSensitiveLog = DescribeViewResponseFilterSensitiveLog;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.de_StartAttachmentUploadCommand = exports.de_SendMessageCommand = exports.de_SendEventCommand = exports.de_GetTranscriptCommand = exports.de_GetAttachmentCommand = exports.de_DisconnectParticipantCommand = exports.de_CreateParticipantConnectionCommand = exports.de_CompleteAttachmentUploadCommand = exports.se_StartAttachmentUploadCommand = exports.se_SendMessageCommand = exports.se_SendEventCommand = exports.se_GetTranscriptCommand = exports.se_GetAttachmentCommand = exports.se_DisconnectParticipantCommand = exports.se_CreateParticipantConnectionCommand = exports.se_CompleteAttachmentUploadCommand = void 0;
|
|
3
|
+
exports.de_StartAttachmentUploadCommand = exports.de_SendMessageCommand = exports.de_SendEventCommand = exports.de_GetTranscriptCommand = exports.de_GetAttachmentCommand = exports.de_DisconnectParticipantCommand = exports.de_DescribeViewCommand = exports.de_CreateParticipantConnectionCommand = exports.de_CompleteAttachmentUploadCommand = exports.se_StartAttachmentUploadCommand = exports.se_SendMessageCommand = exports.se_SendEventCommand = exports.se_GetTranscriptCommand = exports.se_GetAttachmentCommand = exports.se_DisconnectParticipantCommand = exports.se_DescribeViewCommand = exports.se_CreateParticipantConnectionCommand = exports.se_CompleteAttachmentUploadCommand = void 0;
|
|
4
4
|
const protocol_http_1 = require("@smithy/protocol-http");
|
|
5
5
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
6
|
const uuid_1 = require("uuid");
|
|
@@ -52,6 +52,25 @@ const se_CreateParticipantConnectionCommand = async (input, context) => {
|
|
|
52
52
|
});
|
|
53
53
|
};
|
|
54
54
|
exports.se_CreateParticipantConnectionCommand = se_CreateParticipantConnectionCommand;
|
|
55
|
+
const se_DescribeViewCommand = async (input, context) => {
|
|
56
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
57
|
+
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
58
|
+
"x-amz-bearer": input.ConnectionToken,
|
|
59
|
+
});
|
|
60
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/participant/views/{ViewToken}";
|
|
61
|
+
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ViewToken", () => input.ViewToken, "{ViewToken}", false);
|
|
62
|
+
let body;
|
|
63
|
+
return new protocol_http_1.HttpRequest({
|
|
64
|
+
protocol,
|
|
65
|
+
hostname,
|
|
66
|
+
port,
|
|
67
|
+
method: "GET",
|
|
68
|
+
headers,
|
|
69
|
+
path: resolvedPath,
|
|
70
|
+
body,
|
|
71
|
+
});
|
|
72
|
+
};
|
|
73
|
+
exports.se_DescribeViewCommand = se_DescribeViewCommand;
|
|
55
74
|
const se_DisconnectParticipantCommand = async (input, context) => {
|
|
56
75
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
57
76
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
@@ -285,6 +304,52 @@ const de_CreateParticipantConnectionCommandError = async (output, context) => {
|
|
|
285
304
|
});
|
|
286
305
|
}
|
|
287
306
|
};
|
|
307
|
+
const de_DescribeViewCommand = async (output, context) => {
|
|
308
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
309
|
+
return de_DescribeViewCommandError(output, context);
|
|
310
|
+
}
|
|
311
|
+
const contents = (0, smithy_client_1.map)({
|
|
312
|
+
$metadata: deserializeMetadata(output),
|
|
313
|
+
});
|
|
314
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
315
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
316
|
+
View: smithy_client_1._json,
|
|
317
|
+
});
|
|
318
|
+
Object.assign(contents, doc);
|
|
319
|
+
return contents;
|
|
320
|
+
};
|
|
321
|
+
exports.de_DescribeViewCommand = de_DescribeViewCommand;
|
|
322
|
+
const de_DescribeViewCommandError = async (output, context) => {
|
|
323
|
+
const parsedOutput = {
|
|
324
|
+
...output,
|
|
325
|
+
body: await parseErrorBody(output.body, context),
|
|
326
|
+
};
|
|
327
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
328
|
+
switch (errorCode) {
|
|
329
|
+
case "AccessDeniedException":
|
|
330
|
+
case "com.amazonaws.connectparticipant#AccessDeniedException":
|
|
331
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
332
|
+
case "InternalServerException":
|
|
333
|
+
case "com.amazonaws.connectparticipant#InternalServerException":
|
|
334
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
335
|
+
case "ResourceNotFoundException":
|
|
336
|
+
case "com.amazonaws.connectparticipant#ResourceNotFoundException":
|
|
337
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
338
|
+
case "ThrottlingException":
|
|
339
|
+
case "com.amazonaws.connectparticipant#ThrottlingException":
|
|
340
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
341
|
+
case "ValidationException":
|
|
342
|
+
case "com.amazonaws.connectparticipant#ValidationException":
|
|
343
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
344
|
+
default:
|
|
345
|
+
const parsedBody = parsedOutput.body;
|
|
346
|
+
return throwDefaultError({
|
|
347
|
+
output,
|
|
348
|
+
parsedBody,
|
|
349
|
+
errorCode,
|
|
350
|
+
});
|
|
351
|
+
}
|
|
352
|
+
};
|
|
288
353
|
const de_DisconnectParticipantCommand = async (output, context) => {
|
|
289
354
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
290
355
|
return de_DisconnectParticipantCommandError(output, context);
|
|
@@ -588,6 +653,21 @@ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
|
588
653
|
});
|
|
589
654
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
590
655
|
};
|
|
656
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
657
|
+
const contents = (0, smithy_client_1.map)({});
|
|
658
|
+
const data = parsedOutput.body;
|
|
659
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
660
|
+
Message: smithy_client_1.expectString,
|
|
661
|
+
ResourceId: smithy_client_1.expectString,
|
|
662
|
+
ResourceType: smithy_client_1.expectString,
|
|
663
|
+
});
|
|
664
|
+
Object.assign(contents, doc);
|
|
665
|
+
const exception = new models_0_1.ResourceNotFoundException({
|
|
666
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
667
|
+
...contents,
|
|
668
|
+
});
|
|
669
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
670
|
+
};
|
|
591
671
|
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
592
672
|
const contents = (0, smithy_client_1.map)({});
|
|
593
673
|
const data = parsedOutput.body;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.resolveRuntimeExtensions = void 0;
|
|
4
|
-
const
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
5
|
const asPartial = (t) => t;
|
|
6
6
|
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
7
|
-
const
|
|
8
|
-
...asPartial((0,
|
|
7
|
+
const extensionConfiguration = {
|
|
8
|
+
...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
9
9
|
};
|
|
10
|
-
extensions.forEach((extension) => extension.
|
|
10
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
11
11
|
return {
|
|
12
12
|
...runtimeConfig,
|
|
13
|
-
...(0,
|
|
13
|
+
...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
16
|
exports.resolveRuntimeExtensions = resolveRuntimeExtensions;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { createAggregatedClient } from "@smithy/smithy-client";
|
|
2
2
|
import { CompleteAttachmentUploadCommand, } from "./commands/CompleteAttachmentUploadCommand";
|
|
3
3
|
import { CreateParticipantConnectionCommand, } from "./commands/CreateParticipantConnectionCommand";
|
|
4
|
+
import { DescribeViewCommand, } from "./commands/DescribeViewCommand";
|
|
4
5
|
import { DisconnectParticipantCommand, } from "./commands/DisconnectParticipantCommand";
|
|
5
6
|
import { GetAttachmentCommand, } from "./commands/GetAttachmentCommand";
|
|
6
7
|
import { GetTranscriptCommand, } from "./commands/GetTranscriptCommand";
|
|
@@ -11,6 +12,7 @@ import { ConnectParticipantClient } from "./ConnectParticipantClient";
|
|
|
11
12
|
const commands = {
|
|
12
13
|
CompleteAttachmentUploadCommand,
|
|
13
14
|
CreateParticipantConnectionCommand,
|
|
15
|
+
DescribeViewCommand,
|
|
14
16
|
DisconnectParticipantCommand,
|
|
15
17
|
GetAttachmentCommand,
|
|
16
18
|
GetTranscriptCommand,
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { DescribeViewResponseFilterSensitiveLog } from "../models/models_0";
|
|
5
|
+
import { de_DescribeViewCommand, se_DescribeViewCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DescribeViewCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DescribeViewCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "ConnectParticipantClient";
|
|
26
|
+
const commandName = "DescribeViewCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: DescribeViewResponseFilterSensitiveLog,
|
|
33
|
+
};
|
|
34
|
+
const { requestHandler } = configuration;
|
|
35
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
36
|
+
}
|
|
37
|
+
serialize(input, context) {
|
|
38
|
+
return se_DescribeViewCommand(input, context);
|
|
39
|
+
}
|
|
40
|
+
deserialize(output, context) {
|
|
41
|
+
return de_DescribeViewCommand(output, context);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from "./CompleteAttachmentUploadCommand";
|
|
2
2
|
export * from "./CreateParticipantConnectionCommand";
|
|
3
|
+
export * from "./DescribeViewCommand";
|
|
3
4
|
export * from "./DisconnectParticipantCommand";
|
|
4
5
|
export * from "./GetAttachmentCommand";
|
|
5
6
|
export * from "./GetTranscriptCommand";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
const s = "required", t = "fn", u = "argv", v = "ref";
|
|
2
2
|
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "getAttr", g = { [s]: false, "type": "String" }, h = { [s]: true, "default": false, "type": "Boolean" }, i = { [v]: "Endpoint" }, j = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, k = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, l = {}, m = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [{ [v]: e }, "supportsFIPS"] }] }, n = { [v]: e }, o = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [n, "supportsDualStack"] }] }, p = [j], q = [k], r = [{ [v]: "Region" }];
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, {
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }, { conditions: [{ [t]: a, [u]: r }], type: b, rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [m, o], type: b, rules: [{ endpoint: { url: "https://participant.connect-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [m], type: b, rules: [{ conditions: [{ [t]: "stringEquals", [u]: ["aws-us-gov", { [t]: f, [u]: [n, "name"] }] }], endpoint: { url: "https://participant.connect.{Region}.amazonaws.com", properties: l, headers: l }, type: d }, { endpoint: { url: "https://participant.connect-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [o], type: b, rules: [{ endpoint: { url: "https://participant.connect.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://participant.connect.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
1
2
|
import { ConnectParticipantServiceException as __BaseException } from "./ConnectParticipantServiceException";
|
|
2
3
|
export class AccessDeniedException extends __BaseException {
|
|
3
4
|
constructor(opts) {
|
|
@@ -81,6 +82,30 @@ export const ConnectionType = {
|
|
|
81
82
|
CONNECTION_CREDENTIALS: "CONNECTION_CREDENTIALS",
|
|
82
83
|
WEBSOCKET: "WEBSOCKET",
|
|
83
84
|
};
|
|
85
|
+
export const ResourceType = {
|
|
86
|
+
CONTACT: "CONTACT",
|
|
87
|
+
CONTACT_FLOW: "CONTACT_FLOW",
|
|
88
|
+
HIERARCHY_GROUP: "HIERARCHY_GROUP",
|
|
89
|
+
HIERARCHY_LEVEL: "HIERARCHY_LEVEL",
|
|
90
|
+
INSTANCE: "INSTANCE",
|
|
91
|
+
PARTICIPANT: "PARTICIPANT",
|
|
92
|
+
USER: "USER",
|
|
93
|
+
};
|
|
94
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
95
|
+
constructor(opts) {
|
|
96
|
+
super({
|
|
97
|
+
name: "ResourceNotFoundException",
|
|
98
|
+
$fault: "client",
|
|
99
|
+
...opts,
|
|
100
|
+
});
|
|
101
|
+
this.name = "ResourceNotFoundException";
|
|
102
|
+
this.$fault = "client";
|
|
103
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
104
|
+
this.Message = opts.Message;
|
|
105
|
+
this.ResourceId = opts.ResourceId;
|
|
106
|
+
this.ResourceType = opts.ResourceType;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
84
109
|
export const ScanDirection = {
|
|
85
110
|
BACKWARD: "BACKWARD",
|
|
86
111
|
FORWARD: "FORWARD",
|
|
@@ -97,6 +122,7 @@ export const ArtifactStatus = {
|
|
|
97
122
|
export const ParticipantRole = {
|
|
98
123
|
AGENT: "AGENT",
|
|
99
124
|
CUSTOMER: "CUSTOMER",
|
|
125
|
+
CUSTOM_BOT: "CUSTOM_BOT",
|
|
100
126
|
SYSTEM: "SYSTEM",
|
|
101
127
|
};
|
|
102
128
|
export const ChatItemType = {
|
|
@@ -113,3 +139,18 @@ export const ChatItemType = {
|
|
|
113
139
|
TRANSFER_SUCCEEDED: "TRANSFER_SUCCEEDED",
|
|
114
140
|
TYPING: "TYPING",
|
|
115
141
|
};
|
|
142
|
+
export const ViewContentFilterSensitiveLog = (obj) => ({
|
|
143
|
+
...obj,
|
|
144
|
+
...(obj.InputSchema && { InputSchema: SENSITIVE_STRING }),
|
|
145
|
+
...(obj.Template && { Template: SENSITIVE_STRING }),
|
|
146
|
+
...(obj.Actions && { Actions: SENSITIVE_STRING }),
|
|
147
|
+
});
|
|
148
|
+
export const ViewFilterSensitiveLog = (obj) => ({
|
|
149
|
+
...obj,
|
|
150
|
+
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
151
|
+
...(obj.Content && { Content: ViewContentFilterSensitiveLog(obj.Content) }),
|
|
152
|
+
});
|
|
153
|
+
export const DescribeViewResponseFilterSensitiveLog = (obj) => ({
|
|
154
|
+
...obj,
|
|
155
|
+
...(obj.View && { View: ViewFilterSensitiveLog(obj.View) }),
|
|
156
|
+
});
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
2
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map, take, withBaseException, } from "@smithy/smithy-client";
|
|
2
|
+
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map, resolvedPath as __resolvedPath, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
3
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
4
4
|
import { ConnectParticipantServiceException as __BaseException } from "../models/ConnectParticipantServiceException";
|
|
5
|
-
import { AccessDeniedException, ConflictException, InternalServerException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
5
|
+
import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
6
6
|
export const se_CompleteAttachmentUploadCommand = async (input, context) => {
|
|
7
7
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
8
8
|
const headers = map({}, isSerializableHeaderValue, {
|
|
@@ -47,6 +47,24 @@ export const se_CreateParticipantConnectionCommand = async (input, context) => {
|
|
|
47
47
|
body,
|
|
48
48
|
});
|
|
49
49
|
};
|
|
50
|
+
export const se_DescribeViewCommand = async (input, context) => {
|
|
51
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
52
|
+
const headers = map({}, isSerializableHeaderValue, {
|
|
53
|
+
"x-amz-bearer": input.ConnectionToken,
|
|
54
|
+
});
|
|
55
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/participant/views/{ViewToken}";
|
|
56
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "ViewToken", () => input.ViewToken, "{ViewToken}", false);
|
|
57
|
+
let body;
|
|
58
|
+
return new __HttpRequest({
|
|
59
|
+
protocol,
|
|
60
|
+
hostname,
|
|
61
|
+
port,
|
|
62
|
+
method: "GET",
|
|
63
|
+
headers,
|
|
64
|
+
path: resolvedPath,
|
|
65
|
+
body,
|
|
66
|
+
});
|
|
67
|
+
};
|
|
50
68
|
export const se_DisconnectParticipantCommand = async (input, context) => {
|
|
51
69
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
52
70
|
const headers = map({}, isSerializableHeaderValue, {
|
|
@@ -272,6 +290,51 @@ const de_CreateParticipantConnectionCommandError = async (output, context) => {
|
|
|
272
290
|
});
|
|
273
291
|
}
|
|
274
292
|
};
|
|
293
|
+
export const de_DescribeViewCommand = async (output, context) => {
|
|
294
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
295
|
+
return de_DescribeViewCommandError(output, context);
|
|
296
|
+
}
|
|
297
|
+
const contents = map({
|
|
298
|
+
$metadata: deserializeMetadata(output),
|
|
299
|
+
});
|
|
300
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
301
|
+
const doc = take(data, {
|
|
302
|
+
View: _json,
|
|
303
|
+
});
|
|
304
|
+
Object.assign(contents, doc);
|
|
305
|
+
return contents;
|
|
306
|
+
};
|
|
307
|
+
const de_DescribeViewCommandError = async (output, context) => {
|
|
308
|
+
const parsedOutput = {
|
|
309
|
+
...output,
|
|
310
|
+
body: await parseErrorBody(output.body, context),
|
|
311
|
+
};
|
|
312
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
313
|
+
switch (errorCode) {
|
|
314
|
+
case "AccessDeniedException":
|
|
315
|
+
case "com.amazonaws.connectparticipant#AccessDeniedException":
|
|
316
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
317
|
+
case "InternalServerException":
|
|
318
|
+
case "com.amazonaws.connectparticipant#InternalServerException":
|
|
319
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
320
|
+
case "ResourceNotFoundException":
|
|
321
|
+
case "com.amazonaws.connectparticipant#ResourceNotFoundException":
|
|
322
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
323
|
+
case "ThrottlingException":
|
|
324
|
+
case "com.amazonaws.connectparticipant#ThrottlingException":
|
|
325
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
326
|
+
case "ValidationException":
|
|
327
|
+
case "com.amazonaws.connectparticipant#ValidationException":
|
|
328
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
329
|
+
default:
|
|
330
|
+
const parsedBody = parsedOutput.body;
|
|
331
|
+
return throwDefaultError({
|
|
332
|
+
output,
|
|
333
|
+
parsedBody,
|
|
334
|
+
errorCode,
|
|
335
|
+
});
|
|
336
|
+
}
|
|
337
|
+
};
|
|
275
338
|
export const de_DisconnectParticipantCommand = async (output, context) => {
|
|
276
339
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
277
340
|
return de_DisconnectParticipantCommandError(output, context);
|
|
@@ -569,6 +632,21 @@ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
|
569
632
|
});
|
|
570
633
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
571
634
|
};
|
|
635
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
636
|
+
const contents = map({});
|
|
637
|
+
const data = parsedOutput.body;
|
|
638
|
+
const doc = take(data, {
|
|
639
|
+
Message: __expectString,
|
|
640
|
+
ResourceId: __expectString,
|
|
641
|
+
ResourceType: __expectString,
|
|
642
|
+
});
|
|
643
|
+
Object.assign(contents, doc);
|
|
644
|
+
const exception = new ResourceNotFoundException({
|
|
645
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
646
|
+
...contents,
|
|
647
|
+
});
|
|
648
|
+
return __decorateServiceException(exception, parsedOutput.body);
|
|
649
|
+
};
|
|
572
650
|
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
573
651
|
const contents = map({});
|
|
574
652
|
const data = parsedOutput.body;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
|
|
2
2
|
const asPartial = (t) => t;
|
|
3
3
|
export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
4
|
-
const
|
|
5
|
-
...asPartial(
|
|
4
|
+
const extensionConfiguration = {
|
|
5
|
+
...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
|
|
6
6
|
};
|
|
7
|
-
extensions.forEach((extension) => extension.
|
|
7
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
8
8
|
return {
|
|
9
9
|
...runtimeConfig,
|
|
10
|
-
...resolveDefaultRuntimeConfig(
|
|
10
|
+
...resolveDefaultRuntimeConfig(extensionConfiguration),
|
|
11
11
|
};
|
|
12
12
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
2
|
import { CompleteAttachmentUploadCommandInput, CompleteAttachmentUploadCommandOutput } from "./commands/CompleteAttachmentUploadCommand";
|
|
3
3
|
import { CreateParticipantConnectionCommandInput, CreateParticipantConnectionCommandOutput } from "./commands/CreateParticipantConnectionCommand";
|
|
4
|
+
import { DescribeViewCommandInput, DescribeViewCommandOutput } from "./commands/DescribeViewCommand";
|
|
4
5
|
import { DisconnectParticipantCommandInput, DisconnectParticipantCommandOutput } from "./commands/DisconnectParticipantCommand";
|
|
5
6
|
import { GetAttachmentCommandInput, GetAttachmentCommandOutput } from "./commands/GetAttachmentCommand";
|
|
6
7
|
import { GetTranscriptCommandInput, GetTranscriptCommandOutput } from "./commands/GetTranscriptCommand";
|
|
@@ -21,6 +22,12 @@ export interface ConnectParticipant {
|
|
|
21
22
|
createParticipantConnection(args: CreateParticipantConnectionCommandInput, options?: __HttpHandlerOptions): Promise<CreateParticipantConnectionCommandOutput>;
|
|
22
23
|
createParticipantConnection(args: CreateParticipantConnectionCommandInput, cb: (err: any, data?: CreateParticipantConnectionCommandOutput) => void): void;
|
|
23
24
|
createParticipantConnection(args: CreateParticipantConnectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateParticipantConnectionCommandOutput) => void): void;
|
|
25
|
+
/**
|
|
26
|
+
* @see {@link DescribeViewCommand}
|
|
27
|
+
*/
|
|
28
|
+
describeView(args: DescribeViewCommandInput, options?: __HttpHandlerOptions): Promise<DescribeViewCommandOutput>;
|
|
29
|
+
describeView(args: DescribeViewCommandInput, cb: (err: any, data?: DescribeViewCommandOutput) => void): void;
|
|
30
|
+
describeView(args: DescribeViewCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeViewCommandOutput) => void): void;
|
|
24
31
|
/**
|
|
25
32
|
* @see {@link DisconnectParticipantCommand}
|
|
26
33
|
*/
|
|
@@ -10,6 +10,7 @@ import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration
|
|
|
10
10
|
import { BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
11
11
|
import { CompleteAttachmentUploadCommandInput, CompleteAttachmentUploadCommandOutput } from "./commands/CompleteAttachmentUploadCommand";
|
|
12
12
|
import { CreateParticipantConnectionCommandInput, CreateParticipantConnectionCommandOutput } from "./commands/CreateParticipantConnectionCommand";
|
|
13
|
+
import { DescribeViewCommandInput, DescribeViewCommandOutput } from "./commands/DescribeViewCommand";
|
|
13
14
|
import { DisconnectParticipantCommandInput, DisconnectParticipantCommandOutput } from "./commands/DisconnectParticipantCommand";
|
|
14
15
|
import { GetAttachmentCommandInput, GetAttachmentCommandOutput } from "./commands/GetAttachmentCommand";
|
|
15
16
|
import { GetTranscriptCommandInput, GetTranscriptCommandOutput } from "./commands/GetTranscriptCommand";
|
|
@@ -22,11 +23,11 @@ export { __Client };
|
|
|
22
23
|
/**
|
|
23
24
|
* @public
|
|
24
25
|
*/
|
|
25
|
-
export type ServiceInputTypes = CompleteAttachmentUploadCommandInput | CreateParticipantConnectionCommandInput | DisconnectParticipantCommandInput | GetAttachmentCommandInput | GetTranscriptCommandInput | SendEventCommandInput | SendMessageCommandInput | StartAttachmentUploadCommandInput;
|
|
26
|
+
export type ServiceInputTypes = CompleteAttachmentUploadCommandInput | CreateParticipantConnectionCommandInput | DescribeViewCommandInput | DisconnectParticipantCommandInput | GetAttachmentCommandInput | GetTranscriptCommandInput | SendEventCommandInput | SendMessageCommandInput | StartAttachmentUploadCommandInput;
|
|
26
27
|
/**
|
|
27
28
|
* @public
|
|
28
29
|
*/
|
|
29
|
-
export type ServiceOutputTypes = CompleteAttachmentUploadCommandOutput | CreateParticipantConnectionCommandOutput | DisconnectParticipantCommandOutput | GetAttachmentCommandOutput | GetTranscriptCommandOutput | SendEventCommandOutput | SendMessageCommandOutput | StartAttachmentUploadCommandOutput;
|
|
30
|
+
export type ServiceOutputTypes = CompleteAttachmentUploadCommandOutput | CreateParticipantConnectionCommandOutput | DescribeViewCommandOutput | DisconnectParticipantCommandOutput | GetAttachmentCommandOutput | GetTranscriptCommandOutput | SendEventCommandOutput | SendMessageCommandOutput | StartAttachmentUploadCommandOutput;
|
|
30
31
|
/**
|
|
31
32
|
* @public
|
|
32
33
|
*/
|