@aws-sdk/client-connectparticipant 3.658.0 → 3.662.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 +9 -10
- package/dist-es/protocols/Aws_restJson1.js +1 -6
- package/package.json +35 -35
package/dist-cjs/index.js
CHANGED
|
@@ -418,7 +418,7 @@ var DescribeViewResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
|
418
418
|
// src/protocols/Aws_restJson1.ts
|
|
419
419
|
var se_CompleteAttachmentUploadCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
420
420
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
421
|
-
const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
|
|
421
|
+
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
422
422
|
"content-type": "application/json",
|
|
423
423
|
[_xab]: input[_CT]
|
|
424
424
|
});
|
|
@@ -435,7 +435,7 @@ var se_CompleteAttachmentUploadCommand = /* @__PURE__ */ __name(async (input, co
|
|
|
435
435
|
}, "se_CompleteAttachmentUploadCommand");
|
|
436
436
|
var se_CreateParticipantConnectionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
437
437
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
438
|
-
const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
|
|
438
|
+
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
439
439
|
"content-type": "application/json",
|
|
440
440
|
[_xab]: input[_PT]
|
|
441
441
|
});
|
|
@@ -452,7 +452,7 @@ var se_CreateParticipantConnectionCommand = /* @__PURE__ */ __name(async (input,
|
|
|
452
452
|
}, "se_CreateParticipantConnectionCommand");
|
|
453
453
|
var se_DescribeViewCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
454
454
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
455
|
-
const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
|
|
455
|
+
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
456
456
|
[_xab]: input[_CT]
|
|
457
457
|
});
|
|
458
458
|
b.bp("/participant/views/{ViewToken}");
|
|
@@ -463,7 +463,7 @@ var se_DescribeViewCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
463
463
|
}, "se_DescribeViewCommand");
|
|
464
464
|
var se_DisconnectParticipantCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
465
465
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
466
|
-
const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
|
|
466
|
+
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
467
467
|
"content-type": "application/json",
|
|
468
468
|
[_xab]: input[_CT]
|
|
469
469
|
});
|
|
@@ -479,7 +479,7 @@ var se_DisconnectParticipantCommand = /* @__PURE__ */ __name(async (input, conte
|
|
|
479
479
|
}, "se_DisconnectParticipantCommand");
|
|
480
480
|
var se_GetAttachmentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
481
481
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
482
|
-
const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
|
|
482
|
+
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
483
483
|
"content-type": "application/json",
|
|
484
484
|
[_xab]: input[_CT]
|
|
485
485
|
});
|
|
@@ -495,7 +495,7 @@ var se_GetAttachmentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
495
495
|
}, "se_GetAttachmentCommand");
|
|
496
496
|
var se_GetTranscriptCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
497
497
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
498
|
-
const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
|
|
498
|
+
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
499
499
|
"content-type": "application/json",
|
|
500
500
|
[_xab]: input[_CT]
|
|
501
501
|
});
|
|
@@ -516,7 +516,7 @@ var se_GetTranscriptCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
516
516
|
}, "se_GetTranscriptCommand");
|
|
517
517
|
var se_SendEventCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
518
518
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
519
|
-
const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
|
|
519
|
+
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
520
520
|
"content-type": "application/json",
|
|
521
521
|
[_xab]: input[_CT]
|
|
522
522
|
});
|
|
@@ -534,7 +534,7 @@ var se_SendEventCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
534
534
|
}, "se_SendEventCommand");
|
|
535
535
|
var se_SendMessageCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
536
536
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
537
|
-
const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
|
|
537
|
+
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
538
538
|
"content-type": "application/json",
|
|
539
539
|
[_xab]: input[_CT]
|
|
540
540
|
});
|
|
@@ -552,7 +552,7 @@ var se_SendMessageCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
552
552
|
}, "se_SendMessageCommand");
|
|
553
553
|
var se_StartAttachmentUploadCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
554
554
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
555
|
-
const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
|
|
555
|
+
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
556
556
|
"content-type": "application/json",
|
|
557
557
|
[_xab]: input[_CT]
|
|
558
558
|
});
|
|
@@ -831,7 +831,6 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
|
831
831
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
832
832
|
cfId: output.headers["x-amz-cf-id"]
|
|
833
833
|
}), "deserializeMetadata");
|
|
834
|
-
var isSerializableHeaderValue = /* @__PURE__ */ __name((value) => value !== void 0 && value !== null && value !== "" && (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0), "isSerializableHeaderValue");
|
|
835
834
|
var _CT = "ConnectionToken";
|
|
836
835
|
var _PT = "ParticipantToken";
|
|
837
836
|
var _xab = "x-amz-bearer";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
|
|
2
2
|
import { requestBuilder as rb } from "@smithy/core";
|
|
3
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
|
+
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, isSerializableHeaderValue, map, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
4
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
5
5
|
import { ConnectParticipantServiceException as __BaseException } from "../models/ConnectParticipantServiceException";
|
|
6
6
|
import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
@@ -404,11 +404,6 @@ const deserializeMetadata = (output) => ({
|
|
|
404
404
|
cfId: output.headers["x-amz-cf-id"],
|
|
405
405
|
});
|
|
406
406
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
407
|
-
const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
408
|
-
value !== null &&
|
|
409
|
-
value !== "" &&
|
|
410
|
-
(!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
|
|
411
|
-
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
412
407
|
const _CT = "ConnectionToken";
|
|
413
408
|
const _PT = "ParticipantToken";
|
|
414
409
|
const _xab = "x-amz-bearer";
|
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.662.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-connectparticipant",
|
|
@@ -20,43 +20,43 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^3.0.
|
|
37
|
-
"@smithy/core": "^2.4.
|
|
38
|
-
"@smithy/fetch-http-handler": "^3.2.
|
|
39
|
-
"@smithy/hash-node": "^3.0.
|
|
40
|
-
"@smithy/invalid-dependency": "^3.0.
|
|
41
|
-
"@smithy/middleware-content-length": "^3.0.
|
|
42
|
-
"@smithy/middleware-endpoint": "^3.1.
|
|
43
|
-
"@smithy/middleware-retry": "^3.0.
|
|
44
|
-
"@smithy/middleware-serde": "^3.0.
|
|
45
|
-
"@smithy/middleware-stack": "^3.0.
|
|
46
|
-
"@smithy/node-config-provider": "^3.1.
|
|
47
|
-
"@smithy/node-http-handler": "^3.2.
|
|
48
|
-
"@smithy/protocol-http": "^4.1.
|
|
49
|
-
"@smithy/smithy-client": "^3.3.
|
|
50
|
-
"@smithy/types": "^3.
|
|
51
|
-
"@smithy/url-parser": "^3.0.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.662.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.662.0",
|
|
25
|
+
"@aws-sdk/core": "3.662.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.662.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.662.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.662.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.662.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.662.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.662.0",
|
|
32
|
+
"@aws-sdk/types": "3.662.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.662.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.662.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.662.0",
|
|
36
|
+
"@smithy/config-resolver": "^3.0.9",
|
|
37
|
+
"@smithy/core": "^2.4.7",
|
|
38
|
+
"@smithy/fetch-http-handler": "^3.2.9",
|
|
39
|
+
"@smithy/hash-node": "^3.0.7",
|
|
40
|
+
"@smithy/invalid-dependency": "^3.0.7",
|
|
41
|
+
"@smithy/middleware-content-length": "^3.0.9",
|
|
42
|
+
"@smithy/middleware-endpoint": "^3.1.4",
|
|
43
|
+
"@smithy/middleware-retry": "^3.0.22",
|
|
44
|
+
"@smithy/middleware-serde": "^3.0.7",
|
|
45
|
+
"@smithy/middleware-stack": "^3.0.7",
|
|
46
|
+
"@smithy/node-config-provider": "^3.1.8",
|
|
47
|
+
"@smithy/node-http-handler": "^3.2.4",
|
|
48
|
+
"@smithy/protocol-http": "^4.1.4",
|
|
49
|
+
"@smithy/smithy-client": "^3.3.6",
|
|
50
|
+
"@smithy/types": "^3.5.0",
|
|
51
|
+
"@smithy/url-parser": "^3.0.7",
|
|
52
52
|
"@smithy/util-base64": "^3.0.0",
|
|
53
53
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
54
54
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
57
|
-
"@smithy/util-endpoints": "^2.1.
|
|
58
|
-
"@smithy/util-middleware": "^3.0.
|
|
59
|
-
"@smithy/util-retry": "^3.0.
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^3.0.22",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^3.0.22",
|
|
57
|
+
"@smithy/util-endpoints": "^2.1.3",
|
|
58
|
+
"@smithy/util-middleware": "^3.0.7",
|
|
59
|
+
"@smithy/util-retry": "^3.0.7",
|
|
60
60
|
"@smithy/util-utf8": "^3.0.0",
|
|
61
61
|
"tslib": "^2.6.2",
|
|
62
62
|
"uuid": "^9.0.1"
|