@aws-sdk/client-connectparticipant 3.53.0 → 3.55.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/CHANGELOG.md +24 -0
- package/dist-cjs/ConnectParticipantClient.js +14 -14
- package/dist-cjs/commands/CompleteAttachmentUploadCommand.js +3 -3
- package/dist-cjs/commands/CreateParticipantConnectionCommand.js +3 -3
- package/dist-cjs/commands/DisconnectParticipantCommand.js +3 -3
- package/dist-cjs/commands/GetAttachmentCommand.js +3 -3
- package/dist-cjs/commands/GetTranscriptCommand.js +3 -3
- package/dist-cjs/commands/SendEventCommand.js +3 -3
- package/dist-cjs/commands/SendMessageCommand.js +3 -3
- package/dist-cjs/commands/StartAttachmentUploadCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +59 -59
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/ConnectParticipant.js +8 -8
- package/dist-es/pagination/GetTranscriptPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +8 -8
- package/dist-types/ConnectParticipantClient.d.ts +2 -2
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/ConnectParticipantClient.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +34 -34
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,30 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.55.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.1...v3.55.0) (2022-03-21)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-connectparticipant
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [3.54.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.0...v3.54.1) (2022-03-15)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-connectparticipant
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @aws-sdk/client-connectparticipant
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
6
30
|
# [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
|
|
7
31
|
|
|
8
32
|
|
|
@@ -12,22 +12,22 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
12
12
|
const runtimeConfig_1 = require("./runtimeConfig");
|
|
13
13
|
class ConnectParticipantClient extends smithy_client_1.Client {
|
|
14
14
|
constructor(configuration) {
|
|
15
|
-
const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
|
|
16
|
-
const _config_1 = config_resolver_1.resolveRegionConfig(_config_0);
|
|
17
|
-
const _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1);
|
|
18
|
-
const _config_3 = middleware_retry_1.resolveRetryConfig(_config_2);
|
|
19
|
-
const _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3);
|
|
20
|
-
const _config_5 = middleware_signing_1.resolveAwsAuthConfig(_config_4);
|
|
21
|
-
const _config_6 = middleware_user_agent_1.resolveUserAgentConfig(_config_5);
|
|
15
|
+
const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration);
|
|
16
|
+
const _config_1 = (0, config_resolver_1.resolveRegionConfig)(_config_0);
|
|
17
|
+
const _config_2 = (0, config_resolver_1.resolveEndpointsConfig)(_config_1);
|
|
18
|
+
const _config_3 = (0, middleware_retry_1.resolveRetryConfig)(_config_2);
|
|
19
|
+
const _config_4 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_3);
|
|
20
|
+
const _config_5 = (0, middleware_signing_1.resolveAwsAuthConfig)(_config_4);
|
|
21
|
+
const _config_6 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_5);
|
|
22
22
|
super(_config_6);
|
|
23
23
|
this.config = _config_6;
|
|
24
|
-
this.middlewareStack.use(middleware_retry_1.getRetryPlugin(this.config));
|
|
25
|
-
this.middlewareStack.use(middleware_content_length_1.getContentLengthPlugin(this.config));
|
|
26
|
-
this.middlewareStack.use(middleware_host_header_1.getHostHeaderPlugin(this.config));
|
|
27
|
-
this.middlewareStack.use(middleware_logger_1.getLoggerPlugin(this.config));
|
|
28
|
-
this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
|
|
29
|
-
this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
|
|
30
|
-
this.middlewareStack.use(middleware_retry_1.getOmitRetryHeadersPlugin(this.config));
|
|
24
|
+
this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
|
|
25
|
+
this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
|
|
26
|
+
this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
|
|
27
|
+
this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
|
|
28
|
+
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
|
|
29
|
+
this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
|
|
30
|
+
this.middlewareStack.use((0, middleware_retry_1.getOmitRetryHeadersPlugin)(this.config));
|
|
31
31
|
}
|
|
32
32
|
destroy() {
|
|
33
33
|
super.destroy();
|
|
@@ -11,7 +11,7 @@ class CompleteAttachmentUploadCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "ConnectParticipantClient";
|
|
@@ -27,10 +27,10 @@ class CompleteAttachmentUploadCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1CompleteAttachmentUploadCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1CompleteAttachmentUploadCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1CompleteAttachmentUploadCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1CompleteAttachmentUploadCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.CompleteAttachmentUploadCommand = CompleteAttachmentUploadCommand;
|
|
@@ -11,7 +11,7 @@ class CreateParticipantConnectionCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "ConnectParticipantClient";
|
|
@@ -27,10 +27,10 @@ class CreateParticipantConnectionCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1CreateParticipantConnectionCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1CreateParticipantConnectionCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1CreateParticipantConnectionCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1CreateParticipantConnectionCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.CreateParticipantConnectionCommand = CreateParticipantConnectionCommand;
|
|
@@ -11,7 +11,7 @@ class DisconnectParticipantCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "ConnectParticipantClient";
|
|
@@ -27,10 +27,10 @@ class DisconnectParticipantCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1DisconnectParticipantCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1DisconnectParticipantCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1DisconnectParticipantCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1DisconnectParticipantCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.DisconnectParticipantCommand = DisconnectParticipantCommand;
|
|
@@ -11,7 +11,7 @@ class GetAttachmentCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "ConnectParticipantClient";
|
|
@@ -27,10 +27,10 @@ class GetAttachmentCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1GetAttachmentCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1GetAttachmentCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1GetAttachmentCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1GetAttachmentCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.GetAttachmentCommand = GetAttachmentCommand;
|
|
@@ -11,7 +11,7 @@ class GetTranscriptCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "ConnectParticipantClient";
|
|
@@ -27,10 +27,10 @@ class GetTranscriptCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1GetTranscriptCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1GetTranscriptCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1GetTranscriptCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1GetTranscriptCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.GetTranscriptCommand = GetTranscriptCommand;
|
|
@@ -11,7 +11,7 @@ class SendEventCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "ConnectParticipantClient";
|
|
@@ -27,10 +27,10 @@ class SendEventCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1SendEventCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1SendEventCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1SendEventCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1SendEventCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.SendEventCommand = SendEventCommand;
|
|
@@ -11,7 +11,7 @@ class SendMessageCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "ConnectParticipantClient";
|
|
@@ -27,10 +27,10 @@ class SendMessageCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1SendMessageCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1SendMessageCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1SendMessageCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1SendMessageCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.SendMessageCommand = SendMessageCommand;
|
|
@@ -11,7 +11,7 @@ class StartAttachmentUploadCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "ConnectParticipantClient";
|
|
@@ -27,10 +27,10 @@ class StartAttachmentUploadCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1StartAttachmentUploadCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1StartAttachmentUploadCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1StartAttachmentUploadCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1StartAttachmentUploadCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.StartAttachmentUploadCommand = StartAttachmentUploadCommand;
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -122,7 +122,7 @@ const partitionHash = {
|
|
|
122
122
|
],
|
|
123
123
|
},
|
|
124
124
|
};
|
|
125
|
-
const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
|
|
125
|
+
const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
|
|
126
126
|
...options,
|
|
127
127
|
signingService: "execute-api",
|
|
128
128
|
regionHash,
|
|
@@ -20,7 +20,7 @@ const serializeAws_restJson1CompleteAttachmentUploadCommand = async (input, cont
|
|
|
20
20
|
input.AttachmentIds !== null && {
|
|
21
21
|
AttachmentIds: serializeAws_restJson1AttachmentIdList(input.AttachmentIds, context),
|
|
22
22
|
}),
|
|
23
|
-
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
23
|
+
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
24
24
|
});
|
|
25
25
|
return new protocol_http_1.HttpRequest({
|
|
26
26
|
protocol,
|
|
@@ -68,7 +68,7 @@ const serializeAws_restJson1DisconnectParticipantCommand = async (input, context
|
|
|
68
68
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/participant/disconnect";
|
|
69
69
|
let body;
|
|
70
70
|
body = JSON.stringify({
|
|
71
|
-
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
71
|
+
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
72
72
|
});
|
|
73
73
|
return new protocol_http_1.HttpRequest({
|
|
74
74
|
protocol,
|
|
@@ -143,7 +143,7 @@ const serializeAws_restJson1SendEventCommand = async (input, context) => {
|
|
|
143
143
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/participant/event";
|
|
144
144
|
let body;
|
|
145
145
|
body = JSON.stringify({
|
|
146
|
-
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
146
|
+
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
147
147
|
...(input.Content !== undefined && input.Content !== null && { Content: input.Content }),
|
|
148
148
|
...(input.ContentType !== undefined && input.ContentType !== null && { ContentType: input.ContentType }),
|
|
149
149
|
});
|
|
@@ -168,7 +168,7 @@ const serializeAws_restJson1SendMessageCommand = async (input, context) => {
|
|
|
168
168
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/participant/message";
|
|
169
169
|
let body;
|
|
170
170
|
body = JSON.stringify({
|
|
171
|
-
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
171
|
+
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
172
172
|
...(input.Content !== undefined && input.Content !== null && { Content: input.Content }),
|
|
173
173
|
...(input.ContentType !== undefined && input.ContentType !== null && { ContentType: input.ContentType }),
|
|
174
174
|
});
|
|
@@ -197,7 +197,7 @@ const serializeAws_restJson1StartAttachmentUploadCommand = async (input, context
|
|
|
197
197
|
input.AttachmentName !== null && { AttachmentName: input.AttachmentName }),
|
|
198
198
|
...(input.AttachmentSizeInBytes !== undefined &&
|
|
199
199
|
input.AttachmentSizeInBytes !== null && { AttachmentSizeInBytes: input.AttachmentSizeInBytes }),
|
|
200
|
-
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
200
|
+
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
201
201
|
...(input.ContentType !== undefined && input.ContentType !== null && { ContentType: input.ContentType }),
|
|
202
202
|
});
|
|
203
203
|
return new protocol_http_1.HttpRequest({
|
|
@@ -256,7 +256,7 @@ const deserializeAws_restJson1CompleteAttachmentUploadCommandError = async (outp
|
|
|
256
256
|
$fault: "client",
|
|
257
257
|
$metadata: deserializeMetadata(output),
|
|
258
258
|
});
|
|
259
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
259
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
260
260
|
}
|
|
261
261
|
};
|
|
262
262
|
const deserializeAws_restJson1CreateParticipantConnectionCommand = async (output, context) => {
|
|
@@ -268,7 +268,7 @@ const deserializeAws_restJson1CreateParticipantConnectionCommand = async (output
|
|
|
268
268
|
ConnectionCredentials: undefined,
|
|
269
269
|
Websocket: undefined,
|
|
270
270
|
};
|
|
271
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
271
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
272
272
|
if (data.ConnectionCredentials !== undefined && data.ConnectionCredentials !== null) {
|
|
273
273
|
contents.ConnectionCredentials = deserializeAws_restJson1ConnectionCredentials(data.ConnectionCredentials, context);
|
|
274
274
|
}
|
|
@@ -306,7 +306,7 @@ const deserializeAws_restJson1CreateParticipantConnectionCommandError = async (o
|
|
|
306
306
|
$fault: "client",
|
|
307
307
|
$metadata: deserializeMetadata(output),
|
|
308
308
|
});
|
|
309
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
309
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
310
310
|
}
|
|
311
311
|
};
|
|
312
312
|
const deserializeAws_restJson1DisconnectParticipantCommand = async (output, context) => {
|
|
@@ -348,7 +348,7 @@ const deserializeAws_restJson1DisconnectParticipantCommandError = async (output,
|
|
|
348
348
|
$fault: "client",
|
|
349
349
|
$metadata: deserializeMetadata(output),
|
|
350
350
|
});
|
|
351
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
351
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
352
352
|
}
|
|
353
353
|
};
|
|
354
354
|
const deserializeAws_restJson1GetAttachmentCommand = async (output, context) => {
|
|
@@ -360,12 +360,12 @@ const deserializeAws_restJson1GetAttachmentCommand = async (output, context) =>
|
|
|
360
360
|
Url: undefined,
|
|
361
361
|
UrlExpiry: undefined,
|
|
362
362
|
};
|
|
363
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
363
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
364
364
|
if (data.Url !== undefined && data.Url !== null) {
|
|
365
|
-
contents.Url = smithy_client_1.expectString(data.Url);
|
|
365
|
+
contents.Url = (0, smithy_client_1.expectString)(data.Url);
|
|
366
366
|
}
|
|
367
367
|
if (data.UrlExpiry !== undefined && data.UrlExpiry !== null) {
|
|
368
|
-
contents.UrlExpiry = smithy_client_1.expectString(data.UrlExpiry);
|
|
368
|
+
contents.UrlExpiry = (0, smithy_client_1.expectString)(data.UrlExpiry);
|
|
369
369
|
}
|
|
370
370
|
return Promise.resolve(contents);
|
|
371
371
|
};
|
|
@@ -398,7 +398,7 @@ const deserializeAws_restJson1GetAttachmentCommandError = async (output, context
|
|
|
398
398
|
$fault: "client",
|
|
399
399
|
$metadata: deserializeMetadata(output),
|
|
400
400
|
});
|
|
401
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
401
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
402
402
|
}
|
|
403
403
|
};
|
|
404
404
|
const deserializeAws_restJson1GetTranscriptCommand = async (output, context) => {
|
|
@@ -411,12 +411,12 @@ const deserializeAws_restJson1GetTranscriptCommand = async (output, context) =>
|
|
|
411
411
|
NextToken: undefined,
|
|
412
412
|
Transcript: undefined,
|
|
413
413
|
};
|
|
414
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
414
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
415
415
|
if (data.InitialContactId !== undefined && data.InitialContactId !== null) {
|
|
416
|
-
contents.InitialContactId = smithy_client_1.expectString(data.InitialContactId);
|
|
416
|
+
contents.InitialContactId = (0, smithy_client_1.expectString)(data.InitialContactId);
|
|
417
417
|
}
|
|
418
418
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
419
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
419
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
420
420
|
}
|
|
421
421
|
if (data.Transcript !== undefined && data.Transcript !== null) {
|
|
422
422
|
contents.Transcript = deserializeAws_restJson1Transcript(data.Transcript, context);
|
|
@@ -452,7 +452,7 @@ const deserializeAws_restJson1GetTranscriptCommandError = async (output, context
|
|
|
452
452
|
$fault: "client",
|
|
453
453
|
$metadata: deserializeMetadata(output),
|
|
454
454
|
});
|
|
455
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
455
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
456
456
|
}
|
|
457
457
|
};
|
|
458
458
|
const deserializeAws_restJson1SendEventCommand = async (output, context) => {
|
|
@@ -464,12 +464,12 @@ const deserializeAws_restJson1SendEventCommand = async (output, context) => {
|
|
|
464
464
|
AbsoluteTime: undefined,
|
|
465
465
|
Id: undefined,
|
|
466
466
|
};
|
|
467
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
467
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
468
468
|
if (data.AbsoluteTime !== undefined && data.AbsoluteTime !== null) {
|
|
469
|
-
contents.AbsoluteTime = smithy_client_1.expectString(data.AbsoluteTime);
|
|
469
|
+
contents.AbsoluteTime = (0, smithy_client_1.expectString)(data.AbsoluteTime);
|
|
470
470
|
}
|
|
471
471
|
if (data.Id !== undefined && data.Id !== null) {
|
|
472
|
-
contents.Id = smithy_client_1.expectString(data.Id);
|
|
472
|
+
contents.Id = (0, smithy_client_1.expectString)(data.Id);
|
|
473
473
|
}
|
|
474
474
|
return Promise.resolve(contents);
|
|
475
475
|
};
|
|
@@ -502,7 +502,7 @@ const deserializeAws_restJson1SendEventCommandError = async (output, context) =>
|
|
|
502
502
|
$fault: "client",
|
|
503
503
|
$metadata: deserializeMetadata(output),
|
|
504
504
|
});
|
|
505
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
505
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
506
506
|
}
|
|
507
507
|
};
|
|
508
508
|
const deserializeAws_restJson1SendMessageCommand = async (output, context) => {
|
|
@@ -514,12 +514,12 @@ const deserializeAws_restJson1SendMessageCommand = async (output, context) => {
|
|
|
514
514
|
AbsoluteTime: undefined,
|
|
515
515
|
Id: undefined,
|
|
516
516
|
};
|
|
517
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
517
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
518
518
|
if (data.AbsoluteTime !== undefined && data.AbsoluteTime !== null) {
|
|
519
|
-
contents.AbsoluteTime = smithy_client_1.expectString(data.AbsoluteTime);
|
|
519
|
+
contents.AbsoluteTime = (0, smithy_client_1.expectString)(data.AbsoluteTime);
|
|
520
520
|
}
|
|
521
521
|
if (data.Id !== undefined && data.Id !== null) {
|
|
522
|
-
contents.Id = smithy_client_1.expectString(data.Id);
|
|
522
|
+
contents.Id = (0, smithy_client_1.expectString)(data.Id);
|
|
523
523
|
}
|
|
524
524
|
return Promise.resolve(contents);
|
|
525
525
|
};
|
|
@@ -552,7 +552,7 @@ const deserializeAws_restJson1SendMessageCommandError = async (output, context)
|
|
|
552
552
|
$fault: "client",
|
|
553
553
|
$metadata: deserializeMetadata(output),
|
|
554
554
|
});
|
|
555
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
555
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
556
556
|
}
|
|
557
557
|
};
|
|
558
558
|
const deserializeAws_restJson1StartAttachmentUploadCommand = async (output, context) => {
|
|
@@ -564,9 +564,9 @@ const deserializeAws_restJson1StartAttachmentUploadCommand = async (output, cont
|
|
|
564
564
|
AttachmentId: undefined,
|
|
565
565
|
UploadMetadata: undefined,
|
|
566
566
|
};
|
|
567
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
567
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
568
568
|
if (data.AttachmentId !== undefined && data.AttachmentId !== null) {
|
|
569
|
-
contents.AttachmentId = smithy_client_1.expectString(data.AttachmentId);
|
|
569
|
+
contents.AttachmentId = (0, smithy_client_1.expectString)(data.AttachmentId);
|
|
570
570
|
}
|
|
571
571
|
if (data.UploadMetadata !== undefined && data.UploadMetadata !== null) {
|
|
572
572
|
contents.UploadMetadata = deserializeAws_restJson1UploadMetadata(data.UploadMetadata, context);
|
|
@@ -605,80 +605,80 @@ const deserializeAws_restJson1StartAttachmentUploadCommandError = async (output,
|
|
|
605
605
|
$fault: "client",
|
|
606
606
|
$metadata: deserializeMetadata(output),
|
|
607
607
|
});
|
|
608
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
608
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
609
609
|
}
|
|
610
610
|
};
|
|
611
611
|
const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
|
|
612
612
|
const contents = {};
|
|
613
613
|
const data = parsedOutput.body;
|
|
614
614
|
if (data.Message !== undefined && data.Message !== null) {
|
|
615
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
615
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
616
616
|
}
|
|
617
617
|
const exception = new models_0_1.AccessDeniedException({
|
|
618
618
|
$metadata: deserializeMetadata(parsedOutput),
|
|
619
619
|
...contents,
|
|
620
620
|
});
|
|
621
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
621
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
622
622
|
};
|
|
623
623
|
const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
|
|
624
624
|
const contents = {};
|
|
625
625
|
const data = parsedOutput.body;
|
|
626
626
|
if (data.Message !== undefined && data.Message !== null) {
|
|
627
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
627
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
628
628
|
}
|
|
629
629
|
const exception = new models_0_1.ConflictException({
|
|
630
630
|
$metadata: deserializeMetadata(parsedOutput),
|
|
631
631
|
...contents,
|
|
632
632
|
});
|
|
633
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
633
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
634
634
|
};
|
|
635
635
|
const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
|
|
636
636
|
const contents = {};
|
|
637
637
|
const data = parsedOutput.body;
|
|
638
638
|
if (data.Message !== undefined && data.Message !== null) {
|
|
639
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
639
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
640
640
|
}
|
|
641
641
|
const exception = new models_0_1.InternalServerException({
|
|
642
642
|
$metadata: deserializeMetadata(parsedOutput),
|
|
643
643
|
...contents,
|
|
644
644
|
});
|
|
645
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
645
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
646
646
|
};
|
|
647
647
|
const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
|
|
648
648
|
const contents = {};
|
|
649
649
|
const data = parsedOutput.body;
|
|
650
650
|
if (data.Message !== undefined && data.Message !== null) {
|
|
651
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
651
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
652
652
|
}
|
|
653
653
|
const exception = new models_0_1.ServiceQuotaExceededException({
|
|
654
654
|
$metadata: deserializeMetadata(parsedOutput),
|
|
655
655
|
...contents,
|
|
656
656
|
});
|
|
657
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
657
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
658
658
|
};
|
|
659
659
|
const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
|
|
660
660
|
const contents = {};
|
|
661
661
|
const data = parsedOutput.body;
|
|
662
662
|
if (data.Message !== undefined && data.Message !== null) {
|
|
663
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
663
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
664
664
|
}
|
|
665
665
|
const exception = new models_0_1.ThrottlingException({
|
|
666
666
|
$metadata: deserializeMetadata(parsedOutput),
|
|
667
667
|
...contents,
|
|
668
668
|
});
|
|
669
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
669
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
670
670
|
};
|
|
671
671
|
const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
|
|
672
672
|
const contents = {};
|
|
673
673
|
const data = parsedOutput.body;
|
|
674
674
|
if (data.Message !== undefined && data.Message !== null) {
|
|
675
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
675
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
676
676
|
}
|
|
677
677
|
const exception = new models_0_1.ValidationException({
|
|
678
678
|
$metadata: deserializeMetadata(parsedOutput),
|
|
679
679
|
...contents,
|
|
680
680
|
});
|
|
681
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
681
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
682
682
|
};
|
|
683
683
|
const serializeAws_restJson1AttachmentIdList = (input, context) => {
|
|
684
684
|
return input
|
|
@@ -709,10 +709,10 @@ const serializeAws_restJson1StartPosition = (input, context) => {
|
|
|
709
709
|
};
|
|
710
710
|
const deserializeAws_restJson1AttachmentItem = (output, context) => {
|
|
711
711
|
return {
|
|
712
|
-
AttachmentId: smithy_client_1.expectString(output.AttachmentId),
|
|
713
|
-
AttachmentName: smithy_client_1.expectString(output.AttachmentName),
|
|
714
|
-
ContentType: smithy_client_1.expectString(output.ContentType),
|
|
715
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
712
|
+
AttachmentId: (0, smithy_client_1.expectString)(output.AttachmentId),
|
|
713
|
+
AttachmentName: (0, smithy_client_1.expectString)(output.AttachmentName),
|
|
714
|
+
ContentType: (0, smithy_client_1.expectString)(output.ContentType),
|
|
715
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
716
716
|
};
|
|
717
717
|
};
|
|
718
718
|
const deserializeAws_restJson1Attachments = (output, context) => {
|
|
@@ -728,23 +728,23 @@ const deserializeAws_restJson1Attachments = (output, context) => {
|
|
|
728
728
|
};
|
|
729
729
|
const deserializeAws_restJson1ConnectionCredentials = (output, context) => {
|
|
730
730
|
return {
|
|
731
|
-
ConnectionToken: smithy_client_1.expectString(output.ConnectionToken),
|
|
732
|
-
Expiry: smithy_client_1.expectString(output.Expiry),
|
|
731
|
+
ConnectionToken: (0, smithy_client_1.expectString)(output.ConnectionToken),
|
|
732
|
+
Expiry: (0, smithy_client_1.expectString)(output.Expiry),
|
|
733
733
|
};
|
|
734
734
|
};
|
|
735
735
|
const deserializeAws_restJson1Item = (output, context) => {
|
|
736
736
|
return {
|
|
737
|
-
AbsoluteTime: smithy_client_1.expectString(output.AbsoluteTime),
|
|
737
|
+
AbsoluteTime: (0, smithy_client_1.expectString)(output.AbsoluteTime),
|
|
738
738
|
Attachments: output.Attachments !== undefined && output.Attachments !== null
|
|
739
739
|
? deserializeAws_restJson1Attachments(output.Attachments, context)
|
|
740
740
|
: undefined,
|
|
741
|
-
Content: smithy_client_1.expectString(output.Content),
|
|
742
|
-
ContentType: smithy_client_1.expectString(output.ContentType),
|
|
743
|
-
DisplayName: smithy_client_1.expectString(output.DisplayName),
|
|
744
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
745
|
-
ParticipantId: smithy_client_1.expectString(output.ParticipantId),
|
|
746
|
-
ParticipantRole: smithy_client_1.expectString(output.ParticipantRole),
|
|
747
|
-
Type: smithy_client_1.expectString(output.Type),
|
|
741
|
+
Content: (0, smithy_client_1.expectString)(output.Content),
|
|
742
|
+
ContentType: (0, smithy_client_1.expectString)(output.ContentType),
|
|
743
|
+
DisplayName: (0, smithy_client_1.expectString)(output.DisplayName),
|
|
744
|
+
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
745
|
+
ParticipantId: (0, smithy_client_1.expectString)(output.ParticipantId),
|
|
746
|
+
ParticipantRole: (0, smithy_client_1.expectString)(output.ParticipantRole),
|
|
747
|
+
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
748
748
|
};
|
|
749
749
|
};
|
|
750
750
|
const deserializeAws_restJson1Transcript = (output, context) => {
|
|
@@ -763,8 +763,8 @@ const deserializeAws_restJson1UploadMetadata = (output, context) => {
|
|
|
763
763
|
HeadersToInclude: output.HeadersToInclude !== undefined && output.HeadersToInclude !== null
|
|
764
764
|
? deserializeAws_restJson1UploadMetadataSignedHeaders(output.HeadersToInclude, context)
|
|
765
765
|
: undefined,
|
|
766
|
-
Url: smithy_client_1.expectString(output.Url),
|
|
767
|
-
UrlExpiry: smithy_client_1.expectString(output.UrlExpiry),
|
|
766
|
+
Url: (0, smithy_client_1.expectString)(output.Url),
|
|
767
|
+
UrlExpiry: (0, smithy_client_1.expectString)(output.UrlExpiry),
|
|
768
768
|
};
|
|
769
769
|
};
|
|
770
770
|
const deserializeAws_restJson1UploadMetadataSignedHeaders = (output, context) => {
|
|
@@ -774,14 +774,14 @@ const deserializeAws_restJson1UploadMetadataSignedHeaders = (output, context) =>
|
|
|
774
774
|
}
|
|
775
775
|
return {
|
|
776
776
|
...acc,
|
|
777
|
-
[key]: smithy_client_1.expectString(value),
|
|
777
|
+
[key]: (0, smithy_client_1.expectString)(value),
|
|
778
778
|
};
|
|
779
779
|
}, {});
|
|
780
780
|
};
|
|
781
781
|
const deserializeAws_restJson1Websocket = (output, context) => {
|
|
782
782
|
return {
|
|
783
|
-
ConnectionExpiry: smithy_client_1.expectString(output.ConnectionExpiry),
|
|
784
|
-
Url: smithy_client_1.expectString(output.Url),
|
|
783
|
+
ConnectionExpiry: (0, smithy_client_1.expectString)(output.ConnectionExpiry),
|
|
784
|
+
Url: (0, smithy_client_1.expectString)(output.Url),
|
|
785
785
|
};
|
|
786
786
|
};
|
|
787
787
|
const deserializeMetadata = (output) => {
|
|
@@ -17,9 +17,9 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
17
17
|
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
18
18
|
const getRuntimeConfig = (config) => {
|
|
19
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
20
|
-
const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
|
|
20
|
+
const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
|
|
21
21
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
22
|
-
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
22
|
+
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
23
23
|
return {
|
|
24
24
|
...clientSharedValues,
|
|
25
25
|
...config,
|
|
@@ -29,9 +29,9 @@ const getRuntimeConfig = (config) => {
|
|
|
29
29
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
|
|
30
30
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
|
|
31
31
|
credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
32
|
-
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
32
|
+
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
33
33
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
34
|
-
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
|
|
34
|
+
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : (0, invalid_dependency_1.invalidProvider)("Region is missing"),
|
|
35
35
|
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
|
|
36
36
|
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
|
|
37
37
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
|
|
@@ -19,9 +19,9 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
19
19
|
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
20
20
|
const getRuntimeConfig = (config) => {
|
|
21
21
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
22
|
-
const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
|
|
22
|
+
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
23
23
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
24
|
-
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
24
|
+
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
25
25
|
return {
|
|
26
26
|
...clientSharedValues,
|
|
27
27
|
...config,
|
|
@@ -30,19 +30,19 @@ const getRuntimeConfig = (config) => {
|
|
|
30
30
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
|
|
31
31
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
|
|
32
32
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
|
|
33
|
-
credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : client_sts_1.decorateDefaultCredentialProvider(credential_provider_node_1.defaultProvider),
|
|
34
|
-
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
35
|
-
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
36
|
-
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
33
|
+
credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (0, client_sts_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider),
|
|
34
|
+
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
35
|
+
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
36
|
+
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
37
37
|
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
|
|
38
|
-
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
|
|
38
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (0, node_config_provider_1.loadConfig)({
|
|
39
39
|
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
40
40
|
default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
|
|
41
41
|
}),
|
|
42
42
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
|
|
43
43
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
|
|
44
|
-
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
45
|
-
useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
44
|
+
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
45
|
+
useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
46
46
|
utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_node_1.fromUtf8,
|
|
47
47
|
utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_node_1.toUtf8,
|
|
48
48
|
};
|
|
@@ -5,7 +5,7 @@ const sha256_js_1 = require("@aws-crypto/sha256-js");
|
|
|
5
5
|
const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
|
|
6
6
|
const getRuntimeConfig = (config) => {
|
|
7
7
|
var _a;
|
|
8
|
-
const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
|
|
8
|
+
const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
|
|
9
9
|
return {
|
|
10
10
|
...browserDefaults,
|
|
11
11
|
...config,
|
|
@@ -20,7 +20,7 @@ var ConnectParticipant = (function (_super) {
|
|
|
20
20
|
}
|
|
21
21
|
else if (typeof cb === "function") {
|
|
22
22
|
if (typeof optionsOrCb !== "object")
|
|
23
|
-
throw new Error("Expect http options but get "
|
|
23
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
24
24
|
this.send(command, optionsOrCb || {}, cb);
|
|
25
25
|
}
|
|
26
26
|
else {
|
|
@@ -34,7 +34,7 @@ var ConnectParticipant = (function (_super) {
|
|
|
34
34
|
}
|
|
35
35
|
else if (typeof cb === "function") {
|
|
36
36
|
if (typeof optionsOrCb !== "object")
|
|
37
|
-
throw new Error("Expect http options but get "
|
|
37
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
38
38
|
this.send(command, optionsOrCb || {}, cb);
|
|
39
39
|
}
|
|
40
40
|
else {
|
|
@@ -48,7 +48,7 @@ var ConnectParticipant = (function (_super) {
|
|
|
48
48
|
}
|
|
49
49
|
else if (typeof cb === "function") {
|
|
50
50
|
if (typeof optionsOrCb !== "object")
|
|
51
|
-
throw new Error("Expect http options but get "
|
|
51
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
52
52
|
this.send(command, optionsOrCb || {}, cb);
|
|
53
53
|
}
|
|
54
54
|
else {
|
|
@@ -62,7 +62,7 @@ var ConnectParticipant = (function (_super) {
|
|
|
62
62
|
}
|
|
63
63
|
else if (typeof cb === "function") {
|
|
64
64
|
if (typeof optionsOrCb !== "object")
|
|
65
|
-
throw new Error("Expect http options but get "
|
|
65
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
66
66
|
this.send(command, optionsOrCb || {}, cb);
|
|
67
67
|
}
|
|
68
68
|
else {
|
|
@@ -76,7 +76,7 @@ var ConnectParticipant = (function (_super) {
|
|
|
76
76
|
}
|
|
77
77
|
else if (typeof cb === "function") {
|
|
78
78
|
if (typeof optionsOrCb !== "object")
|
|
79
|
-
throw new Error("Expect http options but get "
|
|
79
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
80
80
|
this.send(command, optionsOrCb || {}, cb);
|
|
81
81
|
}
|
|
82
82
|
else {
|
|
@@ -90,7 +90,7 @@ var ConnectParticipant = (function (_super) {
|
|
|
90
90
|
}
|
|
91
91
|
else if (typeof cb === "function") {
|
|
92
92
|
if (typeof optionsOrCb !== "object")
|
|
93
|
-
throw new Error("Expect http options but get "
|
|
93
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
94
94
|
this.send(command, optionsOrCb || {}, cb);
|
|
95
95
|
}
|
|
96
96
|
else {
|
|
@@ -104,7 +104,7 @@ var ConnectParticipant = (function (_super) {
|
|
|
104
104
|
}
|
|
105
105
|
else if (typeof cb === "function") {
|
|
106
106
|
if (typeof optionsOrCb !== "object")
|
|
107
|
-
throw new Error("Expect http options but get "
|
|
107
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
108
108
|
this.send(command, optionsOrCb || {}, cb);
|
|
109
109
|
}
|
|
110
110
|
else {
|
|
@@ -118,7 +118,7 @@ var ConnectParticipant = (function (_super) {
|
|
|
118
118
|
}
|
|
119
119
|
else if (typeof cb === "function") {
|
|
120
120
|
if (typeof optionsOrCb !== "object")
|
|
121
|
-
throw new Error("Expect http options but get "
|
|
121
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
122
122
|
this.send(command, optionsOrCb || {}, cb);
|
|
123
123
|
}
|
|
124
124
|
else {
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new GetTranscriptCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new GetTranscriptCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.getTranscript.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.getTranscript.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateGetTranscript(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof ConnectParticipant)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof ConnectParticipantClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -13,7 +13,7 @@ export var serializeAws_restJson1CompleteAttachmentUploadCommand = function (inp
|
|
|
13
13
|
case 1:
|
|
14
14
|
_a = _d.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
15
15
|
headers = __assign({ "content-type": "application/json" }, (isSerializableHeaderValue(input.ConnectionToken) && { "x-amz-bearer": input.ConnectionToken }));
|
|
16
|
-
resolvedPath = ""
|
|
16
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/participant/complete-attachment-upload";
|
|
17
17
|
body = JSON.stringify(__assign(__assign({}, (input.AttachmentIds !== undefined &&
|
|
18
18
|
input.AttachmentIds !== null && {
|
|
19
19
|
AttachmentIds: serializeAws_restJson1AttachmentIdList(input.AttachmentIds, context),
|
|
@@ -38,7 +38,7 @@ export var serializeAws_restJson1CreateParticipantConnectionCommand = function (
|
|
|
38
38
|
case 1:
|
|
39
39
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
40
40
|
headers = __assign({ "content-type": "application/json" }, (isSerializableHeaderValue(input.ParticipantToken) && { "x-amz-bearer": input.ParticipantToken }));
|
|
41
|
-
resolvedPath = ""
|
|
41
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/participant/connection";
|
|
42
42
|
body = JSON.stringify(__assign(__assign({}, (input.ConnectParticipant !== undefined &&
|
|
43
43
|
input.ConnectParticipant !== null && { ConnectParticipant: input.ConnectParticipant })), (input.Type !== undefined &&
|
|
44
44
|
input.Type !== null && { Type: serializeAws_restJson1ConnectionTypeList(input.Type, context) })));
|
|
@@ -63,7 +63,7 @@ export var serializeAws_restJson1DisconnectParticipantCommand = function (input,
|
|
|
63
63
|
case 1:
|
|
64
64
|
_a = _d.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
65
65
|
headers = __assign({ "content-type": "application/json" }, (isSerializableHeaderValue(input.ConnectionToken) && { "x-amz-bearer": input.ConnectionToken }));
|
|
66
|
-
resolvedPath = ""
|
|
66
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/participant/disconnect";
|
|
67
67
|
body = JSON.stringify({
|
|
68
68
|
ClientToken: (_c = input.ClientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken(),
|
|
69
69
|
});
|
|
@@ -87,7 +87,7 @@ export var serializeAws_restJson1GetAttachmentCommand = function (input, context
|
|
|
87
87
|
case 1:
|
|
88
88
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
89
89
|
headers = __assign({ "content-type": "application/json" }, (isSerializableHeaderValue(input.ConnectionToken) && { "x-amz-bearer": input.ConnectionToken }));
|
|
90
|
-
resolvedPath = ""
|
|
90
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/participant/attachment";
|
|
91
91
|
body = JSON.stringify(__assign({}, (input.AttachmentId !== undefined && input.AttachmentId !== null && { AttachmentId: input.AttachmentId })));
|
|
92
92
|
return [2, new __HttpRequest({
|
|
93
93
|
protocol: protocol,
|
|
@@ -109,7 +109,7 @@ export var serializeAws_restJson1GetTranscriptCommand = function (input, context
|
|
|
109
109
|
case 1:
|
|
110
110
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
111
111
|
headers = __assign({ "content-type": "application/json" }, (isSerializableHeaderValue(input.ConnectionToken) && { "x-amz-bearer": input.ConnectionToken }));
|
|
112
|
-
resolvedPath = ""
|
|
112
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/participant/transcript";
|
|
113
113
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ContactId !== undefined && input.ContactId !== null && { ContactId: input.ContactId })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.ScanDirection !== undefined && input.ScanDirection !== null && { ScanDirection: input.ScanDirection })), (input.SortOrder !== undefined && input.SortOrder !== null && { SortOrder: input.SortOrder })), (input.StartPosition !== undefined &&
|
|
114
114
|
input.StartPosition !== null && {
|
|
115
115
|
StartPosition: serializeAws_restJson1StartPosition(input.StartPosition, context),
|
|
@@ -135,7 +135,7 @@ export var serializeAws_restJson1SendEventCommand = function (input, context) {
|
|
|
135
135
|
case 1:
|
|
136
136
|
_a = _d.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
137
137
|
headers = __assign({ "content-type": "application/json" }, (isSerializableHeaderValue(input.ConnectionToken) && { "x-amz-bearer": input.ConnectionToken }));
|
|
138
|
-
resolvedPath = ""
|
|
138
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/participant/event";
|
|
139
139
|
body = JSON.stringify(__assign(__assign({ ClientToken: (_c = input.ClientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.Content !== undefined && input.Content !== null && { Content: input.Content })), (input.ContentType !== undefined && input.ContentType !== null && { ContentType: input.ContentType })));
|
|
140
140
|
return [2, new __HttpRequest({
|
|
141
141
|
protocol: protocol,
|
|
@@ -158,7 +158,7 @@ export var serializeAws_restJson1SendMessageCommand = function (input, context)
|
|
|
158
158
|
case 1:
|
|
159
159
|
_a = _d.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
160
160
|
headers = __assign({ "content-type": "application/json" }, (isSerializableHeaderValue(input.ConnectionToken) && { "x-amz-bearer": input.ConnectionToken }));
|
|
161
|
-
resolvedPath = ""
|
|
161
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/participant/message";
|
|
162
162
|
body = JSON.stringify(__assign(__assign({ ClientToken: (_c = input.ClientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.Content !== undefined && input.Content !== null && { Content: input.Content })), (input.ContentType !== undefined && input.ContentType !== null && { ContentType: input.ContentType })));
|
|
163
163
|
return [2, new __HttpRequest({
|
|
164
164
|
protocol: protocol,
|
|
@@ -181,7 +181,7 @@ export var serializeAws_restJson1StartAttachmentUploadCommand = function (input,
|
|
|
181
181
|
case 1:
|
|
182
182
|
_a = _d.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
183
183
|
headers = __assign({ "content-type": "application/json" }, (isSerializableHeaderValue(input.ConnectionToken) && { "x-amz-bearer": input.ConnectionToken }));
|
|
184
|
-
resolvedPath = ""
|
|
184
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/participant/start-attachment-upload";
|
|
185
185
|
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.AttachmentName !== undefined &&
|
|
186
186
|
input.AttachmentName !== null && { AttachmentName: input.AttachmentName })), (input.AttachmentSizeInBytes !== undefined &&
|
|
187
187
|
input.AttachmentSizeInBytes !== null && { AttachmentSizeInBytes: input.AttachmentSizeInBytes })), { ClientToken: (_c = input.ClientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }), (input.ContentType !== undefined && input.ContentType !== null && { ContentType: input.ContentType })));
|
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { CompleteAttachmentUploadCommandInput, CompleteAttachmentUploadCommandOutput } from "./commands/CompleteAttachmentUploadCommand";
|
|
10
10
|
import { CreateParticipantConnectionCommandInput, CreateParticipantConnectionCommandOutput } from "./commands/CreateParticipantConnectionCommand";
|
|
11
11
|
import { DisconnectParticipantCommandInput, DisconnectParticipantCommandOutput } from "./commands/DisconnectParticipantCommand";
|
|
@@ -36,7 +36,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
36
36
|
* A function that can calculate the length of a request body.
|
|
37
37
|
* @internal
|
|
38
38
|
*/
|
|
39
|
-
bodyLengthChecker?:
|
|
39
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
40
40
|
/**
|
|
41
41
|
* A function that converts a stream into an array of bytes.
|
|
42
42
|
* @internal
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: ConnectParticipantClientConfig)
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: ConnectParticipantClientConfig)
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: ConnectParticipantClientConfig)
|
|
|
8
8
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
9
9
|
apiVersion: string;
|
|
10
10
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
13
13
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
14
14
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
@@ -21,11 +21,11 @@ export declare const getRuntimeConfig: (config: ConnectParticipantClientConfig)
|
|
|
21
21
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
22
22
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
23
23
|
serviceId: string;
|
|
24
|
-
region: string | import("@aws-sdk/types").Provider<
|
|
24
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode
|
|
28
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
29
29
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
30
30
|
tls?: boolean | undefined;
|
|
31
31
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { CompleteAttachmentUploadCommandInput, CompleteAttachmentUploadCommandOutput } from "./commands/CompleteAttachmentUploadCommand";
|
|
10
10
|
import { CreateParticipantConnectionCommandInput, CreateParticipantConnectionCommandOutput } from "./commands/CreateParticipantConnectionCommand";
|
|
11
11
|
import { DisconnectParticipantCommandInput, DisconnectParticipantCommandOutput } from "./commands/DisconnectParticipantCommand";
|
|
@@ -24,7 +24,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
24
24
|
|
|
25
25
|
urlParser?: __UrlParser;
|
|
26
26
|
|
|
27
|
-
bodyLengthChecker?:
|
|
27
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
28
28
|
|
|
29
29
|
streamCollector?: __StreamCollector;
|
|
30
30
|
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: ConnectParticipantClientConfig)
|
|
|
6
6
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: ConnectParticipantClientConfig)
|
|
|
6
6
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: ConnectParticipantClientConfig)
|
|
|
6
6
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
7
7
|
apiVersion: string;
|
|
8
8
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
11
11
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
12
12
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
@@ -19,11 +19,11 @@ export declare const getRuntimeConfig: (config: ConnectParticipantClientConfig)
|
|
|
19
19
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
20
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
21
21
|
serviceId: string;
|
|
22
|
-
region: string | import("@aws-sdk/types").Provider<
|
|
22
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
23
23
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
24
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
25
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
26
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode
|
|
26
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
27
27
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
28
28
|
tls?: boolean | undefined;
|
|
29
29
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-connectparticipant",
|
|
3
3
|
"description": "AWS SDK for JavaScript Connectparticipant Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.55.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,41 +18,41 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
41
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
42
|
-
"@aws-sdk/util-base64-node": "3.
|
|
43
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
44
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
49
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
50
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
51
|
-
"tslib": "^2.3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.55.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.55.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.55.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.55.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.55.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.55.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.55.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.55.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.55.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.55.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.55.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.55.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.55.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.55.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.55.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.55.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.55.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.55.0",
|
|
39
|
+
"@aws-sdk/types": "3.55.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.55.0",
|
|
41
|
+
"@aws-sdk/util-base64-browser": "3.55.0",
|
|
42
|
+
"@aws-sdk/util-base64-node": "3.55.0",
|
|
43
|
+
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
44
|
+
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.55.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.55.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.55.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.55.0",
|
|
49
|
+
"@aws-sdk/util-utf8-browser": "3.55.0",
|
|
50
|
+
"@aws-sdk/util-utf8-node": "3.55.0",
|
|
51
|
+
"tslib": "^2.3.1",
|
|
52
52
|
"uuid": "^8.3.2"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
55
|
+
"@aws-sdk/service-client-documentation-generator": "3.55.0",
|
|
56
56
|
"@tsconfig/recommended": "1.0.1",
|
|
57
57
|
"@types/node": "^12.7.5",
|
|
58
58
|
"@types/uuid": "^8.3.0",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"downlevel-dts": "0.7.0",
|
|
61
61
|
"rimraf": "3.0.2",
|
|
62
62
|
"typedoc": "0.19.2",
|
|
63
|
-
"typescript": "~4.
|
|
63
|
+
"typescript": "~4.6.2"
|
|
64
64
|
},
|
|
65
65
|
"engines": {
|
|
66
66
|
"node": ">=12.0.0"
|