@aws-sdk/client-chime-sdk-messaging 3.216.0 → 3.218.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.
|
@@ -442,7 +442,7 @@ const serializeAws_restJson1DescribeChannelMembershipForAppInstanceUserCommand =
|
|
|
442
442
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);
|
|
443
443
|
const query = map({
|
|
444
444
|
scope: [, "app-instance-user-membership"],
|
|
445
|
-
"app-instance-user-arn": [, input.AppInstanceUserArn],
|
|
445
|
+
"app-instance-user-arn": [, (0, smithy_client_1.expectNonNull)(input.AppInstanceUserArn, `AppInstanceUserArn`)],
|
|
446
446
|
});
|
|
447
447
|
let body;
|
|
448
448
|
return new protocol_http_1.HttpRequest({
|
|
@@ -466,7 +466,7 @@ const serializeAws_restJson1DescribeChannelModeratedByAppInstanceUserCommand = a
|
|
|
466
466
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);
|
|
467
467
|
const query = map({
|
|
468
468
|
scope: [, "app-instance-user-moderated-channel"],
|
|
469
|
-
"app-instance-user-arn": [, input.AppInstanceUserArn],
|
|
469
|
+
"app-instance-user-arn": [, (0, smithy_client_1.expectNonNull)(input.AppInstanceUserArn, `AppInstanceUserArn`)],
|
|
470
470
|
});
|
|
471
471
|
let body;
|
|
472
472
|
return new protocol_http_1.HttpRequest({
|
|
@@ -643,7 +643,7 @@ const serializeAws_restJson1ListChannelFlowsCommand = async (input, context) =>
|
|
|
643
643
|
const headers = {};
|
|
644
644
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/channel-flows";
|
|
645
645
|
const query = map({
|
|
646
|
-
"app-instance-arn": [, input.AppInstanceArn],
|
|
646
|
+
"app-instance-arn": [, (0, smithy_client_1.expectNonNull)(input.AppInstanceArn, `AppInstanceArn`)],
|
|
647
647
|
"max-results": [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
|
|
648
648
|
"next-token": [, input.NextToken],
|
|
649
649
|
});
|
|
@@ -776,7 +776,7 @@ const serializeAws_restJson1ListChannelsCommand = async (input, context) => {
|
|
|
776
776
|
});
|
|
777
777
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/channels";
|
|
778
778
|
const query = map({
|
|
779
|
-
"app-instance-arn": [, input.AppInstanceArn],
|
|
779
|
+
"app-instance-arn": [, (0, smithy_client_1.expectNonNull)(input.AppInstanceArn, `AppInstanceArn`)],
|
|
780
780
|
privacy: [, input.Privacy],
|
|
781
781
|
"max-results": [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
|
|
782
782
|
"next-token": [, input.NextToken],
|
|
@@ -800,7 +800,7 @@ const serializeAws_restJson1ListChannelsAssociatedWithChannelFlowCommand = async
|
|
|
800
800
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/channels";
|
|
801
801
|
const query = map({
|
|
802
802
|
scope: [, "channel-flow-associations"],
|
|
803
|
-
"channel-flow-arn": [, input.ChannelFlowArn],
|
|
803
|
+
"channel-flow-arn": [, (0, smithy_client_1.expectNonNull)(input.ChannelFlowArn, `ChannelFlowArn`)],
|
|
804
804
|
"max-results": [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
|
|
805
805
|
"next-token": [, input.NextToken],
|
|
806
806
|
});
|
|
@@ -871,7 +871,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
|
|
|
871
871
|
const headers = {};
|
|
872
872
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags";
|
|
873
873
|
const query = map({
|
|
874
|
-
arn: [, input.ResourceARN],
|
|
874
|
+
arn: [, (0, smithy_client_1.expectNonNull)(input.ResourceARN, `ResourceARN`)],
|
|
875
875
|
});
|
|
876
876
|
let body;
|
|
877
877
|
return new protocol_http_1.HttpRequest({
|
|
@@ -420,7 +420,7 @@ export const serializeAws_restJson1DescribeChannelMembershipForAppInstanceUserCo
|
|
|
420
420
|
resolvedPath = __resolvedPath(resolvedPath, input, "ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);
|
|
421
421
|
const query = map({
|
|
422
422
|
scope: [, "app-instance-user-membership"],
|
|
423
|
-
"app-instance-user-arn": [, input.AppInstanceUserArn],
|
|
423
|
+
"app-instance-user-arn": [, __expectNonNull(input.AppInstanceUserArn, `AppInstanceUserArn`)],
|
|
424
424
|
});
|
|
425
425
|
let body;
|
|
426
426
|
return new __HttpRequest({
|
|
@@ -443,7 +443,7 @@ export const serializeAws_restJson1DescribeChannelModeratedByAppInstanceUserComm
|
|
|
443
443
|
resolvedPath = __resolvedPath(resolvedPath, input, "ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);
|
|
444
444
|
const query = map({
|
|
445
445
|
scope: [, "app-instance-user-moderated-channel"],
|
|
446
|
-
"app-instance-user-arn": [, input.AppInstanceUserArn],
|
|
446
|
+
"app-instance-user-arn": [, __expectNonNull(input.AppInstanceUserArn, `AppInstanceUserArn`)],
|
|
447
447
|
});
|
|
448
448
|
let body;
|
|
449
449
|
return new __HttpRequest({
|
|
@@ -612,7 +612,7 @@ export const serializeAws_restJson1ListChannelFlowsCommand = async (input, conte
|
|
|
612
612
|
const headers = {};
|
|
613
613
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/channel-flows";
|
|
614
614
|
const query = map({
|
|
615
|
-
"app-instance-arn": [, input.AppInstanceArn],
|
|
615
|
+
"app-instance-arn": [, __expectNonNull(input.AppInstanceArn, `AppInstanceArn`)],
|
|
616
616
|
"max-results": [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
|
|
617
617
|
"next-token": [, input.NextToken],
|
|
618
618
|
});
|
|
@@ -740,7 +740,7 @@ export const serializeAws_restJson1ListChannelsCommand = async (input, context)
|
|
|
740
740
|
});
|
|
741
741
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/channels";
|
|
742
742
|
const query = map({
|
|
743
|
-
"app-instance-arn": [, input.AppInstanceArn],
|
|
743
|
+
"app-instance-arn": [, __expectNonNull(input.AppInstanceArn, `AppInstanceArn`)],
|
|
744
744
|
privacy: [, input.Privacy],
|
|
745
745
|
"max-results": [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
|
|
746
746
|
"next-token": [, input.NextToken],
|
|
@@ -763,7 +763,7 @@ export const serializeAws_restJson1ListChannelsAssociatedWithChannelFlowCommand
|
|
|
763
763
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/channels";
|
|
764
764
|
const query = map({
|
|
765
765
|
scope: [, "channel-flow-associations"],
|
|
766
|
-
"channel-flow-arn": [, input.ChannelFlowArn],
|
|
766
|
+
"channel-flow-arn": [, __expectNonNull(input.ChannelFlowArn, `ChannelFlowArn`)],
|
|
767
767
|
"max-results": [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
|
|
768
768
|
"next-token": [, input.NextToken],
|
|
769
769
|
});
|
|
@@ -831,7 +831,7 @@ export const serializeAws_restJson1ListTagsForResourceCommand = async (input, co
|
|
|
831
831
|
const headers = {};
|
|
832
832
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags";
|
|
833
833
|
const query = map({
|
|
834
|
-
arn: [, input.ResourceARN],
|
|
834
|
+
arn: [, __expectNonNull(input.ResourceARN, `ResourceARN`)],
|
|
835
835
|
});
|
|
836
836
|
let body;
|
|
837
837
|
return new __HttpRequest({
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-chime-sdk-messaging",
|
|
3
3
|
"description": "AWS SDK for JavaScript Chime Sdk Messaging Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.218.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",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.218.0",
|
|
23
23
|
"@aws-sdk/config-resolver": "3.215.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.218.0",
|
|
25
25
|
"@aws-sdk/fetch-http-handler": "3.215.0",
|
|
26
26
|
"@aws-sdk/hash-node": "3.215.0",
|
|
27
27
|
"@aws-sdk/invalid-dependency": "3.215.0",
|