@aws-sdk/client-chime 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.
|
@@ -1754,7 +1754,7 @@ const serializeAws_restJson1DescribeChannelMembershipForAppInstanceUserCommand =
|
|
|
1754
1754
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);
|
|
1755
1755
|
const query = map({
|
|
1756
1756
|
scope: [, "app-instance-user-membership"],
|
|
1757
|
-
"app-instance-user-arn": [, input.AppInstanceUserArn],
|
|
1757
|
+
"app-instance-user-arn": [, (0, smithy_client_1.expectNonNull)(input.AppInstanceUserArn, `AppInstanceUserArn`)],
|
|
1758
1758
|
});
|
|
1759
1759
|
let body;
|
|
1760
1760
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -1785,7 +1785,7 @@ const serializeAws_restJson1DescribeChannelModeratedByAppInstanceUserCommand = a
|
|
|
1785
1785
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);
|
|
1786
1786
|
const query = map({
|
|
1787
1787
|
scope: [, "app-instance-user-moderated-channel"],
|
|
1788
|
-
"app-instance-user-arn": [, input.AppInstanceUserArn],
|
|
1788
|
+
"app-instance-user-arn": [, (0, smithy_client_1.expectNonNull)(input.AppInstanceUserArn, `AppInstanceUserArn`)],
|
|
1789
1789
|
});
|
|
1790
1790
|
let body;
|
|
1791
1791
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -2655,7 +2655,7 @@ const serializeAws_restJson1ListAppInstanceUsersCommand = async (input, context)
|
|
|
2655
2655
|
const headers = {};
|
|
2656
2656
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/app-instance-users";
|
|
2657
2657
|
const query = map({
|
|
2658
|
-
"app-instance-arn": [, input.AppInstanceArn],
|
|
2658
|
+
"app-instance-arn": [, (0, smithy_client_1.expectNonNull)(input.AppInstanceArn, `AppInstanceArn`)],
|
|
2659
2659
|
"max-results": [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
|
|
2660
2660
|
"next-token": [, input.NextToken],
|
|
2661
2661
|
});
|
|
@@ -2915,7 +2915,7 @@ const serializeAws_restJson1ListChannelsCommand = async (input, context) => {
|
|
|
2915
2915
|
});
|
|
2916
2916
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/channels";
|
|
2917
2917
|
const query = map({
|
|
2918
|
-
"app-instance-arn": [, input.AppInstanceArn],
|
|
2918
|
+
"app-instance-arn": [, (0, smithy_client_1.expectNonNull)(input.AppInstanceArn, `AppInstanceArn`)],
|
|
2919
2919
|
privacy: [, input.Privacy],
|
|
2920
2920
|
"max-results": [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
|
|
2921
2921
|
"next-token": [, input.NextToken],
|
|
@@ -3196,7 +3196,7 @@ const serializeAws_restJson1ListSupportedPhoneNumberCountriesCommand = async (in
|
|
|
3196
3196
|
const headers = {};
|
|
3197
3197
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/phone-number-countries";
|
|
3198
3198
|
const query = map({
|
|
3199
|
-
"product-type": [, input.ProductType],
|
|
3199
|
+
"product-type": [, (0, smithy_client_1.expectNonNull)(input.ProductType, `ProductType`)],
|
|
3200
3200
|
});
|
|
3201
3201
|
let body;
|
|
3202
3202
|
return new protocol_http_1.HttpRequest({
|
|
@@ -3216,7 +3216,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
|
|
|
3216
3216
|
const headers = {};
|
|
3217
3217
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags";
|
|
3218
3218
|
const query = map({
|
|
3219
|
-
arn: [, input.ResourceARN],
|
|
3219
|
+
arn: [, (0, smithy_client_1.expectNonNull)(input.ResourceARN, `ResourceARN`)],
|
|
3220
3220
|
});
|
|
3221
3221
|
let body;
|
|
3222
3222
|
return new protocol_http_1.HttpRequest({
|
|
@@ -1674,7 +1674,7 @@ export const serializeAws_restJson1DescribeChannelMembershipForAppInstanceUserCo
|
|
|
1674
1674
|
resolvedPath = __resolvedPath(resolvedPath, input, "ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);
|
|
1675
1675
|
const query = map({
|
|
1676
1676
|
scope: [, "app-instance-user-membership"],
|
|
1677
|
-
"app-instance-user-arn": [, input.AppInstanceUserArn],
|
|
1677
|
+
"app-instance-user-arn": [, __expectNonNull(input.AppInstanceUserArn, `AppInstanceUserArn`)],
|
|
1678
1678
|
});
|
|
1679
1679
|
let body;
|
|
1680
1680
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -1704,7 +1704,7 @@ export const serializeAws_restJson1DescribeChannelModeratedByAppInstanceUserComm
|
|
|
1704
1704
|
resolvedPath = __resolvedPath(resolvedPath, input, "ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);
|
|
1705
1705
|
const query = map({
|
|
1706
1706
|
scope: [, "app-instance-user-moderated-channel"],
|
|
1707
|
-
"app-instance-user-arn": [, input.AppInstanceUserArn],
|
|
1707
|
+
"app-instance-user-arn": [, __expectNonNull(input.AppInstanceUserArn, `AppInstanceUserArn`)],
|
|
1708
1708
|
});
|
|
1709
1709
|
let body;
|
|
1710
1710
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -2532,7 +2532,7 @@ export const serializeAws_restJson1ListAppInstanceUsersCommand = async (input, c
|
|
|
2532
2532
|
const headers = {};
|
|
2533
2533
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/app-instance-users";
|
|
2534
2534
|
const query = map({
|
|
2535
|
-
"app-instance-arn": [, input.AppInstanceArn],
|
|
2535
|
+
"app-instance-arn": [, __expectNonNull(input.AppInstanceArn, `AppInstanceArn`)],
|
|
2536
2536
|
"max-results": [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
|
|
2537
2537
|
"next-token": [, input.NextToken],
|
|
2538
2538
|
});
|
|
@@ -2783,7 +2783,7 @@ export const serializeAws_restJson1ListChannelsCommand = async (input, context)
|
|
|
2783
2783
|
});
|
|
2784
2784
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/channels";
|
|
2785
2785
|
const query = map({
|
|
2786
|
-
"app-instance-arn": [, input.AppInstanceArn],
|
|
2786
|
+
"app-instance-arn": [, __expectNonNull(input.AppInstanceArn, `AppInstanceArn`)],
|
|
2787
2787
|
privacy: [, input.Privacy],
|
|
2788
2788
|
"max-results": [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
|
|
2789
2789
|
"next-token": [, input.NextToken],
|
|
@@ -3052,7 +3052,7 @@ export const serializeAws_restJson1ListSupportedPhoneNumberCountriesCommand = as
|
|
|
3052
3052
|
const headers = {};
|
|
3053
3053
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/phone-number-countries";
|
|
3054
3054
|
const query = map({
|
|
3055
|
-
"product-type": [, input.ProductType],
|
|
3055
|
+
"product-type": [, __expectNonNull(input.ProductType, `ProductType`)],
|
|
3056
3056
|
});
|
|
3057
3057
|
let body;
|
|
3058
3058
|
return new __HttpRequest({
|
|
@@ -3071,7 +3071,7 @@ export const serializeAws_restJson1ListTagsForResourceCommand = async (input, co
|
|
|
3071
3071
|
const headers = {};
|
|
3072
3072
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags";
|
|
3073
3073
|
const query = map({
|
|
3074
|
-
arn: [, input.ResourceARN],
|
|
3074
|
+
arn: [, __expectNonNull(input.ResourceARN, `ResourceARN`)],
|
|
3075
3075
|
});
|
|
3076
3076
|
let body;
|
|
3077
3077
|
return new __HttpRequest({
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-chime",
|
|
3
3
|
"description": "AWS SDK for JavaScript Chime 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",
|