@aws-sdk/client-connectparticipant 3.928.0 → 3.930.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 +664 -594
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/ConnectParticipantClient.js +2 -0
- package/dist-es/commands/CancelParticipantAuthenticationCommand.js +3 -9
- package/dist-es/commands/CompleteAttachmentUploadCommand.js +3 -9
- package/dist-es/commands/CreateParticipantConnectionCommand.js +3 -10
- package/dist-es/commands/DescribeViewCommand.js +3 -10
- package/dist-es/commands/DisconnectParticipantCommand.js +3 -9
- package/dist-es/commands/GetAttachmentCommand.js +3 -9
- package/dist-es/commands/GetAuthenticationUrlCommand.js +3 -9
- package/dist-es/commands/GetTranscriptCommand.js +3 -9
- package/dist-es/commands/SendEventCommand.js +3 -9
- package/dist-es/commands/SendMessageCommand.js +3 -9
- package/dist-es/commands/StartAttachmentUploadCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -28
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +624 -0
- package/dist-types/ConnectParticipantClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -24
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +71 -0
- package/dist-types/ts3.4/ConnectParticipantClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -12
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +77 -0
- package/package.json +33 -34
- package/dist-es/protocols/Aws_restJson1.js +0 -465
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -101
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -137
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const core_1 = require("@aws-sdk/core");
|
|
5
|
+
const protocols_1 = require("@aws-sdk/core/protocols");
|
|
5
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
7
|
const url_parser_1 = require("@smithy/url-parser");
|
|
7
8
|
const util_base64_1 = require("@smithy/util-base64");
|
|
@@ -25,6 +26,7 @@ const getRuntimeConfig = (config) => {
|
|
|
25
26
|
},
|
|
26
27
|
],
|
|
27
28
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
29
|
+
protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.connectparticipant" }),
|
|
28
30
|
serviceId: config?.serviceId ?? "ConnectParticipant",
|
|
29
31
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
30
32
|
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
|
|
|
4
4
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
5
5
|
import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
6
6
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
7
|
+
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
7
8
|
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
8
9
|
import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
|
|
9
10
|
import { getOmitRetryHeadersPlugin, getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry";
|
|
@@ -28,6 +29,7 @@ export class ConnectParticipantClient extends __Client {
|
|
|
28
29
|
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
29
30
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
30
31
|
this.config = _config_8;
|
|
32
|
+
this.middlewareStack.use(getSchemaSerdePlugin(this.config));
|
|
31
33
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
32
34
|
this.middlewareStack.use(getOmitRetryHeadersPlugin(this.config));
|
|
33
35
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { CancelParticipantAuthentication } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CancelParticipantAuthenticationCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonConnectParticipantServiceLambda", "CancelParticipantAuthentication", {})
|
|
17
13
|
.n("ConnectParticipantClient", "CancelParticipantAuthenticationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CancelParticipantAuthenticationCommand)
|
|
20
|
-
.de(de_CancelParticipantAuthenticationCommand)
|
|
14
|
+
.sc(CancelParticipantAuthentication)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { CompleteAttachmentUpload } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CompleteAttachmentUploadCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonConnectParticipantServiceLambda", "CompleteAttachmentUpload", {})
|
|
17
13
|
.n("ConnectParticipantClient", "CompleteAttachmentUploadCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CompleteAttachmentUploadCommand)
|
|
20
|
-
.de(de_CompleteAttachmentUploadCommand)
|
|
14
|
+
.sc(CompleteAttachmentUpload)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_CreateParticipantConnectionCommand, se_CreateParticipantConnectionCommand, } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { CreateParticipantConnection } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class CreateParticipantConnectionCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AmazonConnectParticipantServiceLambda", "CreateParticipantConnection", {})
|
|
18
13
|
.n("ConnectParticipantClient", "CreateParticipantConnectionCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_CreateParticipantConnectionCommand)
|
|
21
|
-
.de(de_CreateParticipantConnectionCommand)
|
|
14
|
+
.sc(CreateParticipantConnection)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_DescribeViewCommand, se_DescribeViewCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { DescribeView } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class DescribeViewCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AmazonConnectParticipantServiceLambda", "DescribeView", {})
|
|
18
13
|
.n("ConnectParticipantClient", "DescribeViewCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_DescribeViewCommand)
|
|
21
|
-
.de(de_DescribeViewCommand)
|
|
14
|
+
.sc(DescribeView)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DisconnectParticipant } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DisconnectParticipantCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonConnectParticipantServiceLambda", "DisconnectParticipant", {})
|
|
17
13
|
.n("ConnectParticipantClient", "DisconnectParticipantCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DisconnectParticipantCommand)
|
|
20
|
-
.de(de_DisconnectParticipantCommand)
|
|
14
|
+
.sc(DisconnectParticipant)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetAttachment } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetAttachmentCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonConnectParticipantServiceLambda", "GetAttachment", {})
|
|
17
13
|
.n("ConnectParticipantClient", "GetAttachmentCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetAttachmentCommand)
|
|
20
|
-
.de(de_GetAttachmentCommand)
|
|
14
|
+
.sc(GetAttachment)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetAuthenticationUrl } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetAuthenticationUrlCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonConnectParticipantServiceLambda", "GetAuthenticationUrl", {})
|
|
17
13
|
.n("ConnectParticipantClient", "GetAuthenticationUrlCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetAuthenticationUrlCommand)
|
|
20
|
-
.de(de_GetAuthenticationUrlCommand)
|
|
14
|
+
.sc(GetAuthenticationUrl)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetTranscript } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetTranscriptCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonConnectParticipantServiceLambda", "GetTranscript", {})
|
|
17
13
|
.n("ConnectParticipantClient", "GetTranscriptCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetTranscriptCommand)
|
|
20
|
-
.de(de_GetTranscriptCommand)
|
|
14
|
+
.sc(GetTranscript)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { SendEvent } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class SendEventCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonConnectParticipantServiceLambda", "SendEvent", {})
|
|
17
13
|
.n("ConnectParticipantClient", "SendEventCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_SendEventCommand)
|
|
20
|
-
.de(de_SendEventCommand)
|
|
14
|
+
.sc(SendEvent)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { SendMessage } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class SendMessageCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonConnectParticipantServiceLambda", "SendMessage", {})
|
|
17
13
|
.n("ConnectParticipantClient", "SendMessageCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_SendMessageCommand)
|
|
20
|
-
.de(de_SendMessageCommand)
|
|
14
|
+
.sc(SendMessage)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { StartAttachmentUpload } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class StartAttachmentUploadCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonConnectParticipantServiceLambda", "StartAttachmentUpload", {})
|
|
17
13
|
.n("ConnectParticipantClient", "StartAttachmentUploadCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_StartAttachmentUploadCommand)
|
|
20
|
-
.de(de_StartAttachmentUploadCommand)
|
|
14
|
+
.sc(StartAttachmentUpload)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { ConnectParticipantServiceException as __BaseException } from "./ConnectParticipantServiceException";
|
|
3
2
|
export class AccessDeniedException extends __BaseException {
|
|
4
3
|
name = "AccessDeniedException";
|
|
@@ -155,30 +154,3 @@ export const ChatItemType = {
|
|
|
155
154
|
TRANSFER_SUCCEEDED: "TRANSFER_SUCCEEDED",
|
|
156
155
|
TYPING: "TYPING",
|
|
157
156
|
};
|
|
158
|
-
export const AttendeeFilterSensitiveLog = (obj) => ({
|
|
159
|
-
...obj,
|
|
160
|
-
...(obj.JoinToken && { JoinToken: SENSITIVE_STRING }),
|
|
161
|
-
});
|
|
162
|
-
export const WebRTCConnectionFilterSensitiveLog = (obj) => ({
|
|
163
|
-
...obj,
|
|
164
|
-
...(obj.Attendee && { Attendee: AttendeeFilterSensitiveLog(obj.Attendee) }),
|
|
165
|
-
});
|
|
166
|
-
export const CreateParticipantConnectionResponseFilterSensitiveLog = (obj) => ({
|
|
167
|
-
...obj,
|
|
168
|
-
...(obj.WebRTCConnection && { WebRTCConnection: WebRTCConnectionFilterSensitiveLog(obj.WebRTCConnection) }),
|
|
169
|
-
});
|
|
170
|
-
export const ViewContentFilterSensitiveLog = (obj) => ({
|
|
171
|
-
...obj,
|
|
172
|
-
...(obj.InputSchema && { InputSchema: SENSITIVE_STRING }),
|
|
173
|
-
...(obj.Template && { Template: SENSITIVE_STRING }),
|
|
174
|
-
...(obj.Actions && { Actions: SENSITIVE_STRING }),
|
|
175
|
-
});
|
|
176
|
-
export const ViewFilterSensitiveLog = (obj) => ({
|
|
177
|
-
...obj,
|
|
178
|
-
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
179
|
-
...(obj.Content && { Content: ViewContentFilterSensitiveLog(obj.Content) }),
|
|
180
|
-
});
|
|
181
|
-
export const DescribeViewResponseFilterSensitiveLog = (obj) => ({
|
|
182
|
-
...obj,
|
|
183
|
-
...(obj.View && { View: ViewFilterSensitiveLog(obj.View) }),
|
|
184
|
-
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.connectparticipant" }),
|
|
25
27
|
serviceId: config?.serviceId ?? "ConnectParticipant",
|
|
26
28
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
29
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|