@aws-sdk/client-chime-sdk-messaging 3.523.0 → 3.529.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 +43 -83
- package/dist-es/protocols/Aws_restJson1.js +1 -40
- package/package.json +17 -17
- package/dist-cjs/ChimeSDKMessaging.js +0 -1
- package/dist-cjs/ChimeSDKMessagingClient.js +0 -1
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +0 -1
- package/dist-cjs/commands/AssociateChannelFlowCommand.js +0 -1
- package/dist-cjs/commands/BatchCreateChannelMembershipCommand.js +0 -1
- package/dist-cjs/commands/ChannelFlowCallbackCommand.js +0 -1
- package/dist-cjs/commands/CreateChannelBanCommand.js +0 -1
- package/dist-cjs/commands/CreateChannelCommand.js +0 -1
- package/dist-cjs/commands/CreateChannelFlowCommand.js +0 -1
- package/dist-cjs/commands/CreateChannelMembershipCommand.js +0 -1
- package/dist-cjs/commands/CreateChannelModeratorCommand.js +0 -1
- package/dist-cjs/commands/DeleteChannelBanCommand.js +0 -1
- package/dist-cjs/commands/DeleteChannelCommand.js +0 -1
- package/dist-cjs/commands/DeleteChannelFlowCommand.js +0 -1
- package/dist-cjs/commands/DeleteChannelMembershipCommand.js +0 -1
- package/dist-cjs/commands/DeleteChannelMessageCommand.js +0 -1
- package/dist-cjs/commands/DeleteChannelModeratorCommand.js +0 -1
- package/dist-cjs/commands/DeleteMessagingStreamingConfigurationsCommand.js +0 -1
- package/dist-cjs/commands/DescribeChannelBanCommand.js +0 -1
- package/dist-cjs/commands/DescribeChannelCommand.js +0 -1
- package/dist-cjs/commands/DescribeChannelFlowCommand.js +0 -1
- package/dist-cjs/commands/DescribeChannelMembershipCommand.js +0 -1
- package/dist-cjs/commands/DescribeChannelMembershipForAppInstanceUserCommand.js +0 -1
- package/dist-cjs/commands/DescribeChannelModeratedByAppInstanceUserCommand.js +0 -1
- package/dist-cjs/commands/DescribeChannelModeratorCommand.js +0 -1
- package/dist-cjs/commands/DisassociateChannelFlowCommand.js +0 -1
- package/dist-cjs/commands/GetChannelMembershipPreferencesCommand.js +0 -1
- package/dist-cjs/commands/GetChannelMessageCommand.js +0 -1
- package/dist-cjs/commands/GetChannelMessageStatusCommand.js +0 -1
- package/dist-cjs/commands/GetMessagingSessionEndpointCommand.js +0 -1
- package/dist-cjs/commands/GetMessagingStreamingConfigurationsCommand.js +0 -1
- package/dist-cjs/commands/ListChannelBansCommand.js +0 -1
- package/dist-cjs/commands/ListChannelFlowsCommand.js +0 -1
- package/dist-cjs/commands/ListChannelMembershipsCommand.js +0 -1
- package/dist-cjs/commands/ListChannelMembershipsForAppInstanceUserCommand.js +0 -1
- package/dist-cjs/commands/ListChannelMessagesCommand.js +0 -1
- package/dist-cjs/commands/ListChannelModeratorsCommand.js +0 -1
- package/dist-cjs/commands/ListChannelsAssociatedWithChannelFlowCommand.js +0 -1
- package/dist-cjs/commands/ListChannelsCommand.js +0 -1
- package/dist-cjs/commands/ListChannelsModeratedByAppInstanceUserCommand.js +0 -1
- package/dist-cjs/commands/ListSubChannelsCommand.js +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-cjs/commands/PutChannelExpirationSettingsCommand.js +0 -1
- package/dist-cjs/commands/PutChannelMembershipPreferencesCommand.js +0 -1
- package/dist-cjs/commands/PutMessagingStreamingConfigurationsCommand.js +0 -1
- package/dist-cjs/commands/RedactChannelMessageCommand.js +0 -1
- package/dist-cjs/commands/SearchChannelsCommand.js +0 -1
- package/dist-cjs/commands/SendChannelMessageCommand.js +0 -1
- package/dist-cjs/commands/TagResourceCommand.js +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js +0 -1
- package/dist-cjs/commands/UpdateChannelCommand.js +0 -1
- package/dist-cjs/commands/UpdateChannelFlowCommand.js +0 -1
- package/dist-cjs/commands/UpdateChannelMessageCommand.js +0 -1
- package/dist-cjs/commands/UpdateChannelReadMarkerCommand.js +0 -1
- package/dist-cjs/commands/index.js +0 -1
- package/dist-cjs/endpoint/EndpointParameters.js +0 -1
- package/dist-cjs/extensionConfiguration.js +0 -1
- package/dist-cjs/models/ChimeSDKMessagingServiceException.js +0 -1
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -1
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListChannelBansPaginator.js +0 -1
- package/dist-cjs/pagination/ListChannelFlowsPaginator.js +0 -1
- package/dist-cjs/pagination/ListChannelMembershipsForAppInstanceUserPaginator.js +0 -1
- package/dist-cjs/pagination/ListChannelMembershipsPaginator.js +0 -1
- package/dist-cjs/pagination/ListChannelMessagesPaginator.js +0 -1
- package/dist-cjs/pagination/ListChannelModeratorsPaginator.js +0 -1
- package/dist-cjs/pagination/ListChannelsAssociatedWithChannelFlowPaginator.js +0 -1
- package/dist-cjs/pagination/ListChannelsModeratedByAppInstanceUserPaginator.js +0 -1
- package/dist-cjs/pagination/ListChannelsPaginator.js +0 -1
- package/dist-cjs/pagination/ListSubChannelsPaginator.js +0 -1
- package/dist-cjs/pagination/SearchChannelsPaginator.js +0 -1
- package/dist-cjs/pagination/index.js +0 -1
- package/dist-cjs/protocols/Aws_restJson1.js +0 -1
- package/dist-cjs/runtimeExtensions.js +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -339,6 +339,7 @@ var import_middleware_serde = require("@smithy/middleware-serde");
|
|
|
339
339
|
var import_types = require("@smithy/types");
|
|
340
340
|
|
|
341
341
|
// src/protocols/Aws_restJson1.ts
|
|
342
|
+
var import_core2 = require("@aws-sdk/core");
|
|
342
343
|
|
|
343
344
|
|
|
344
345
|
var import_uuid = require("uuid");
|
|
@@ -1805,7 +1806,7 @@ var de_BatchCreateChannelMembershipCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
1805
1806
|
const contents = (0, import_smithy_client.map)({
|
|
1806
1807
|
$metadata: deserializeMetadata(output)
|
|
1807
1808
|
});
|
|
1808
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1809
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1809
1810
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1810
1811
|
BatchChannelMemberships: import_smithy_client._json,
|
|
1811
1812
|
Errors: import_smithy_client._json
|
|
@@ -1820,7 +1821,7 @@ var de_ChannelFlowCallbackCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1820
1821
|
const contents = (0, import_smithy_client.map)({
|
|
1821
1822
|
$metadata: deserializeMetadata(output)
|
|
1822
1823
|
});
|
|
1823
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1824
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1824
1825
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1825
1826
|
CallbackId: import_smithy_client.expectString,
|
|
1826
1827
|
ChannelArn: import_smithy_client.expectString
|
|
@@ -1835,7 +1836,7 @@ var de_CreateChannelCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1835
1836
|
const contents = (0, import_smithy_client.map)({
|
|
1836
1837
|
$metadata: deserializeMetadata(output)
|
|
1837
1838
|
});
|
|
1838
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1839
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1839
1840
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1840
1841
|
ChannelArn: import_smithy_client.expectString
|
|
1841
1842
|
});
|
|
@@ -1849,7 +1850,7 @@ var de_CreateChannelBanCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1849
1850
|
const contents = (0, import_smithy_client.map)({
|
|
1850
1851
|
$metadata: deserializeMetadata(output)
|
|
1851
1852
|
});
|
|
1852
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1853
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1853
1854
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1854
1855
|
ChannelArn: import_smithy_client.expectString,
|
|
1855
1856
|
Member: import_smithy_client._json
|
|
@@ -1864,7 +1865,7 @@ var de_CreateChannelFlowCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1864
1865
|
const contents = (0, import_smithy_client.map)({
|
|
1865
1866
|
$metadata: deserializeMetadata(output)
|
|
1866
1867
|
});
|
|
1867
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1868
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1868
1869
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1869
1870
|
ChannelFlowArn: import_smithy_client.expectString
|
|
1870
1871
|
});
|
|
@@ -1878,7 +1879,7 @@ var de_CreateChannelMembershipCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
1878
1879
|
const contents = (0, import_smithy_client.map)({
|
|
1879
1880
|
$metadata: deserializeMetadata(output)
|
|
1880
1881
|
});
|
|
1881
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1882
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1882
1883
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1883
1884
|
ChannelArn: import_smithy_client.expectString,
|
|
1884
1885
|
Member: import_smithy_client._json,
|
|
@@ -1894,7 +1895,7 @@ var de_CreateChannelModeratorCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
1894
1895
|
const contents = (0, import_smithy_client.map)({
|
|
1895
1896
|
$metadata: deserializeMetadata(output)
|
|
1896
1897
|
});
|
|
1897
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1898
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1898
1899
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1899
1900
|
ChannelArn: import_smithy_client.expectString,
|
|
1900
1901
|
ChannelModerator: import_smithy_client._json
|
|
@@ -1979,7 +1980,7 @@ var de_DescribeChannelCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
1979
1980
|
const contents = (0, import_smithy_client.map)({
|
|
1980
1981
|
$metadata: deserializeMetadata(output)
|
|
1981
1982
|
});
|
|
1982
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1983
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1983
1984
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1984
1985
|
Channel: (_) => de_Channel(_, context)
|
|
1985
1986
|
});
|
|
@@ -1993,7 +1994,7 @@ var de_DescribeChannelBanCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
1993
1994
|
const contents = (0, import_smithy_client.map)({
|
|
1994
1995
|
$metadata: deserializeMetadata(output)
|
|
1995
1996
|
});
|
|
1996
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1997
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1997
1998
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1998
1999
|
ChannelBan: (_) => de_ChannelBan(_, context)
|
|
1999
2000
|
});
|
|
@@ -2007,7 +2008,7 @@ var de_DescribeChannelFlowCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
2007
2008
|
const contents = (0, import_smithy_client.map)({
|
|
2008
2009
|
$metadata: deserializeMetadata(output)
|
|
2009
2010
|
});
|
|
2010
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2011
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2011
2012
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2012
2013
|
ChannelFlow: (_) => de_ChannelFlow(_, context)
|
|
2013
2014
|
});
|
|
@@ -2021,7 +2022,7 @@ var de_DescribeChannelMembershipCommand = /* @__PURE__ */ __name(async (output,
|
|
|
2021
2022
|
const contents = (0, import_smithy_client.map)({
|
|
2022
2023
|
$metadata: deserializeMetadata(output)
|
|
2023
2024
|
});
|
|
2024
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2025
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2025
2026
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2026
2027
|
ChannelMembership: (_) => de_ChannelMembership(_, context)
|
|
2027
2028
|
});
|
|
@@ -2035,7 +2036,7 @@ var de_DescribeChannelMembershipForAppInstanceUserCommand = /* @__PURE__ */ __na
|
|
|
2035
2036
|
const contents = (0, import_smithy_client.map)({
|
|
2036
2037
|
$metadata: deserializeMetadata(output)
|
|
2037
2038
|
});
|
|
2038
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2039
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2039
2040
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2040
2041
|
ChannelMembership: (_) => de_ChannelMembershipForAppInstanceUserSummary(_, context)
|
|
2041
2042
|
});
|
|
@@ -2049,7 +2050,7 @@ var de_DescribeChannelModeratedByAppInstanceUserCommand = /* @__PURE__ */ __name
|
|
|
2049
2050
|
const contents = (0, import_smithy_client.map)({
|
|
2050
2051
|
$metadata: deserializeMetadata(output)
|
|
2051
2052
|
});
|
|
2052
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2053
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2053
2054
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2054
2055
|
Channel: (_) => de_ChannelModeratedByAppInstanceUserSummary(_, context)
|
|
2055
2056
|
});
|
|
@@ -2063,7 +2064,7 @@ var de_DescribeChannelModeratorCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
2063
2064
|
const contents = (0, import_smithy_client.map)({
|
|
2064
2065
|
$metadata: deserializeMetadata(output)
|
|
2065
2066
|
});
|
|
2066
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2067
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2067
2068
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2068
2069
|
ChannelModerator: (_) => de_ChannelModerator(_, context)
|
|
2069
2070
|
});
|
|
@@ -2087,7 +2088,7 @@ var de_GetChannelMembershipPreferencesCommand = /* @__PURE__ */ __name(async (ou
|
|
|
2087
2088
|
const contents = (0, import_smithy_client.map)({
|
|
2088
2089
|
$metadata: deserializeMetadata(output)
|
|
2089
2090
|
});
|
|
2090
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2091
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2091
2092
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2092
2093
|
ChannelArn: import_smithy_client.expectString,
|
|
2093
2094
|
Member: import_smithy_client._json,
|
|
@@ -2103,7 +2104,7 @@ var de_GetChannelMessageCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2103
2104
|
const contents = (0, import_smithy_client.map)({
|
|
2104
2105
|
$metadata: deserializeMetadata(output)
|
|
2105
2106
|
});
|
|
2106
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2107
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2107
2108
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2108
2109
|
ChannelMessage: (_) => de_ChannelMessage(_, context)
|
|
2109
2110
|
});
|
|
@@ -2117,7 +2118,7 @@ var de_GetChannelMessageStatusCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
2117
2118
|
const contents = (0, import_smithy_client.map)({
|
|
2118
2119
|
$metadata: deserializeMetadata(output)
|
|
2119
2120
|
});
|
|
2120
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2121
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2121
2122
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2122
2123
|
Status: import_smithy_client._json
|
|
2123
2124
|
});
|
|
@@ -2131,7 +2132,7 @@ var de_GetMessagingSessionEndpointCommand = /* @__PURE__ */ __name(async (output
|
|
|
2131
2132
|
const contents = (0, import_smithy_client.map)({
|
|
2132
2133
|
$metadata: deserializeMetadata(output)
|
|
2133
2134
|
});
|
|
2134
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2135
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2135
2136
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2136
2137
|
Endpoint: import_smithy_client._json
|
|
2137
2138
|
});
|
|
@@ -2145,7 +2146,7 @@ var de_GetMessagingStreamingConfigurationsCommand = /* @__PURE__ */ __name(async
|
|
|
2145
2146
|
const contents = (0, import_smithy_client.map)({
|
|
2146
2147
|
$metadata: deserializeMetadata(output)
|
|
2147
2148
|
});
|
|
2148
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2149
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2149
2150
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2150
2151
|
StreamingConfigurations: import_smithy_client._json
|
|
2151
2152
|
});
|
|
@@ -2159,7 +2160,7 @@ var de_ListChannelBansCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
2159
2160
|
const contents = (0, import_smithy_client.map)({
|
|
2160
2161
|
$metadata: deserializeMetadata(output)
|
|
2161
2162
|
});
|
|
2162
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2163
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2163
2164
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2164
2165
|
ChannelArn: import_smithy_client.expectString,
|
|
2165
2166
|
ChannelBans: import_smithy_client._json,
|
|
@@ -2175,7 +2176,7 @@ var de_ListChannelFlowsCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2175
2176
|
const contents = (0, import_smithy_client.map)({
|
|
2176
2177
|
$metadata: deserializeMetadata(output)
|
|
2177
2178
|
});
|
|
2178
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2179
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2179
2180
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2180
2181
|
ChannelFlows: import_smithy_client._json,
|
|
2181
2182
|
NextToken: import_smithy_client.expectString
|
|
@@ -2190,7 +2191,7 @@ var de_ListChannelMembershipsCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
2190
2191
|
const contents = (0, import_smithy_client.map)({
|
|
2191
2192
|
$metadata: deserializeMetadata(output)
|
|
2192
2193
|
});
|
|
2193
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2194
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2194
2195
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2195
2196
|
ChannelArn: import_smithy_client.expectString,
|
|
2196
2197
|
ChannelMemberships: import_smithy_client._json,
|
|
@@ -2206,7 +2207,7 @@ var de_ListChannelMembershipsForAppInstanceUserCommand = /* @__PURE__ */ __name(
|
|
|
2206
2207
|
const contents = (0, import_smithy_client.map)({
|
|
2207
2208
|
$metadata: deserializeMetadata(output)
|
|
2208
2209
|
});
|
|
2209
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2210
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2210
2211
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2211
2212
|
ChannelMemberships: (_) => de_ChannelMembershipForAppInstanceUserSummaryList(_, context),
|
|
2212
2213
|
NextToken: import_smithy_client.expectString
|
|
@@ -2221,7 +2222,7 @@ var de_ListChannelMessagesCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
2221
2222
|
const contents = (0, import_smithy_client.map)({
|
|
2222
2223
|
$metadata: deserializeMetadata(output)
|
|
2223
2224
|
});
|
|
2224
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2225
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2225
2226
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2226
2227
|
ChannelArn: import_smithy_client.expectString,
|
|
2227
2228
|
ChannelMessages: (_) => de_ChannelMessageSummaryList(_, context),
|
|
@@ -2238,7 +2239,7 @@ var de_ListChannelModeratorsCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
2238
2239
|
const contents = (0, import_smithy_client.map)({
|
|
2239
2240
|
$metadata: deserializeMetadata(output)
|
|
2240
2241
|
});
|
|
2241
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2242
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2242
2243
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2243
2244
|
ChannelArn: import_smithy_client.expectString,
|
|
2244
2245
|
ChannelModerators: import_smithy_client._json,
|
|
@@ -2254,7 +2255,7 @@ var de_ListChannelsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2254
2255
|
const contents = (0, import_smithy_client.map)({
|
|
2255
2256
|
$metadata: deserializeMetadata(output)
|
|
2256
2257
|
});
|
|
2257
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2258
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2258
2259
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2259
2260
|
Channels: (_) => de_ChannelSummaryList(_, context),
|
|
2260
2261
|
NextToken: import_smithy_client.expectString
|
|
@@ -2269,7 +2270,7 @@ var de_ListChannelsAssociatedWithChannelFlowCommand = /* @__PURE__ */ __name(asy
|
|
|
2269
2270
|
const contents = (0, import_smithy_client.map)({
|
|
2270
2271
|
$metadata: deserializeMetadata(output)
|
|
2271
2272
|
});
|
|
2272
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2273
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2273
2274
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2274
2275
|
Channels: import_smithy_client._json,
|
|
2275
2276
|
NextToken: import_smithy_client.expectString
|
|
@@ -2284,7 +2285,7 @@ var de_ListChannelsModeratedByAppInstanceUserCommand = /* @__PURE__ */ __name(as
|
|
|
2284
2285
|
const contents = (0, import_smithy_client.map)({
|
|
2285
2286
|
$metadata: deserializeMetadata(output)
|
|
2286
2287
|
});
|
|
2287
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2288
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2288
2289
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2289
2290
|
Channels: (_) => de_ChannelModeratedByAppInstanceUserSummaryList(_, context),
|
|
2290
2291
|
NextToken: import_smithy_client.expectString
|
|
@@ -2299,7 +2300,7 @@ var de_ListSubChannelsCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
2299
2300
|
const contents = (0, import_smithy_client.map)({
|
|
2300
2301
|
$metadata: deserializeMetadata(output)
|
|
2301
2302
|
});
|
|
2302
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2303
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2303
2304
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2304
2305
|
ChannelArn: import_smithy_client.expectString,
|
|
2305
2306
|
NextToken: import_smithy_client.expectString,
|
|
@@ -2315,7 +2316,7 @@ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
2315
2316
|
const contents = (0, import_smithy_client.map)({
|
|
2316
2317
|
$metadata: deserializeMetadata(output)
|
|
2317
2318
|
});
|
|
2318
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2319
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2319
2320
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2320
2321
|
Tags: import_smithy_client._json
|
|
2321
2322
|
});
|
|
@@ -2329,7 +2330,7 @@ var de_PutChannelExpirationSettingsCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
2329
2330
|
const contents = (0, import_smithy_client.map)({
|
|
2330
2331
|
$metadata: deserializeMetadata(output)
|
|
2331
2332
|
});
|
|
2332
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2333
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2333
2334
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2334
2335
|
ChannelArn: import_smithy_client.expectString,
|
|
2335
2336
|
ExpirationSettings: import_smithy_client._json
|
|
@@ -2344,7 +2345,7 @@ var de_PutChannelMembershipPreferencesCommand = /* @__PURE__ */ __name(async (ou
|
|
|
2344
2345
|
const contents = (0, import_smithy_client.map)({
|
|
2345
2346
|
$metadata: deserializeMetadata(output)
|
|
2346
2347
|
});
|
|
2347
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2348
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2348
2349
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2349
2350
|
ChannelArn: import_smithy_client.expectString,
|
|
2350
2351
|
Member: import_smithy_client._json,
|
|
@@ -2360,7 +2361,7 @@ var de_PutMessagingStreamingConfigurationsCommand = /* @__PURE__ */ __name(async
|
|
|
2360
2361
|
const contents = (0, import_smithy_client.map)({
|
|
2361
2362
|
$metadata: deserializeMetadata(output)
|
|
2362
2363
|
});
|
|
2363
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2364
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2364
2365
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2365
2366
|
StreamingConfigurations: import_smithy_client._json
|
|
2366
2367
|
});
|
|
@@ -2374,7 +2375,7 @@ var de_RedactChannelMessageCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
2374
2375
|
const contents = (0, import_smithy_client.map)({
|
|
2375
2376
|
$metadata: deserializeMetadata(output)
|
|
2376
2377
|
});
|
|
2377
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2378
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2378
2379
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2379
2380
|
ChannelArn: import_smithy_client.expectString,
|
|
2380
2381
|
MessageId: import_smithy_client.expectString,
|
|
@@ -2390,7 +2391,7 @@ var de_SearchChannelsCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2390
2391
|
const contents = (0, import_smithy_client.map)({
|
|
2391
2392
|
$metadata: deserializeMetadata(output)
|
|
2392
2393
|
});
|
|
2393
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2394
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2394
2395
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2395
2396
|
Channels: (_) => de_ChannelSummaryList(_, context),
|
|
2396
2397
|
NextToken: import_smithy_client.expectString
|
|
@@ -2405,7 +2406,7 @@ var de_SendChannelMessageCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
2405
2406
|
const contents = (0, import_smithy_client.map)({
|
|
2406
2407
|
$metadata: deserializeMetadata(output)
|
|
2407
2408
|
});
|
|
2408
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2409
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2409
2410
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2410
2411
|
ChannelArn: import_smithy_client.expectString,
|
|
2411
2412
|
MessageId: import_smithy_client.expectString,
|
|
@@ -2442,7 +2443,7 @@ var de_UpdateChannelCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2442
2443
|
const contents = (0, import_smithy_client.map)({
|
|
2443
2444
|
$metadata: deserializeMetadata(output)
|
|
2444
2445
|
});
|
|
2445
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2446
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2446
2447
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2447
2448
|
ChannelArn: import_smithy_client.expectString
|
|
2448
2449
|
});
|
|
@@ -2456,7 +2457,7 @@ var de_UpdateChannelFlowCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2456
2457
|
const contents = (0, import_smithy_client.map)({
|
|
2457
2458
|
$metadata: deserializeMetadata(output)
|
|
2458
2459
|
});
|
|
2459
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2460
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2460
2461
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2461
2462
|
ChannelFlowArn: import_smithy_client.expectString
|
|
2462
2463
|
});
|
|
@@ -2470,7 +2471,7 @@ var de_UpdateChannelMessageCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
2470
2471
|
const contents = (0, import_smithy_client.map)({
|
|
2471
2472
|
$metadata: deserializeMetadata(output)
|
|
2472
2473
|
});
|
|
2473
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2474
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2474
2475
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2475
2476
|
ChannelArn: import_smithy_client.expectString,
|
|
2476
2477
|
MessageId: import_smithy_client.expectString,
|
|
@@ -2487,7 +2488,7 @@ var de_UpdateChannelReadMarkerCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
2487
2488
|
const contents = (0, import_smithy_client.map)({
|
|
2488
2489
|
$metadata: deserializeMetadata(output)
|
|
2489
2490
|
});
|
|
2490
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2491
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2491
2492
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2492
2493
|
ChannelArn: import_smithy_client.expectString
|
|
2493
2494
|
});
|
|
@@ -2497,9 +2498,9 @@ var de_UpdateChannelReadMarkerCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
2497
2498
|
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2498
2499
|
const parsedOutput = {
|
|
2499
2500
|
...output,
|
|
2500
|
-
body: await
|
|
2501
|
+
body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
|
|
2501
2502
|
};
|
|
2502
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2503
|
+
const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
2503
2504
|
switch (errorCode) {
|
|
2504
2505
|
case "BadRequestException":
|
|
2505
2506
|
case "com.amazonaws.chimesdkmessaging#BadRequestException":
|
|
@@ -2811,7 +2812,6 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
|
2811
2812
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
2812
2813
|
cfId: output.headers["x-amz-cf-id"]
|
|
2813
2814
|
}), "deserializeMetadata");
|
|
2814
|
-
var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
|
|
2815
2815
|
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");
|
|
2816
2816
|
var _AIA = "AppInstanceArn";
|
|
2817
2817
|
var _AIUA = "AppInstanceUserArn";
|
|
@@ -2841,46 +2841,6 @@ var _sci = "sub-channel-id";
|
|
|
2841
2841
|
var _so = "sort-order";
|
|
2842
2842
|
var _t = "type";
|
|
2843
2843
|
var _xacb = "x-amz-chime-bearer";
|
|
2844
|
-
var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
2845
|
-
if (encoded.length) {
|
|
2846
|
-
return JSON.parse(encoded);
|
|
2847
|
-
}
|
|
2848
|
-
return {};
|
|
2849
|
-
}), "parseBody");
|
|
2850
|
-
var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
|
|
2851
|
-
const value = await parseBody(errorBody, context);
|
|
2852
|
-
value.message = value.message ?? value.Message;
|
|
2853
|
-
return value;
|
|
2854
|
-
}, "parseErrorBody");
|
|
2855
|
-
var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
|
|
2856
|
-
const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
|
|
2857
|
-
const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
|
|
2858
|
-
let cleanValue = rawValue;
|
|
2859
|
-
if (typeof cleanValue === "number") {
|
|
2860
|
-
cleanValue = cleanValue.toString();
|
|
2861
|
-
}
|
|
2862
|
-
if (cleanValue.indexOf(",") >= 0) {
|
|
2863
|
-
cleanValue = cleanValue.split(",")[0];
|
|
2864
|
-
}
|
|
2865
|
-
if (cleanValue.indexOf(":") >= 0) {
|
|
2866
|
-
cleanValue = cleanValue.split(":")[0];
|
|
2867
|
-
}
|
|
2868
|
-
if (cleanValue.indexOf("#") >= 0) {
|
|
2869
|
-
cleanValue = cleanValue.split("#")[1];
|
|
2870
|
-
}
|
|
2871
|
-
return cleanValue;
|
|
2872
|
-
}, "sanitizeErrorCode");
|
|
2873
|
-
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
2874
|
-
if (headerKey !== void 0) {
|
|
2875
|
-
return sanitizeErrorCode(output.headers[headerKey]);
|
|
2876
|
-
}
|
|
2877
|
-
if (data.code !== void 0) {
|
|
2878
|
-
return sanitizeErrorCode(data.code);
|
|
2879
|
-
}
|
|
2880
|
-
if (data["__type"] !== void 0) {
|
|
2881
|
-
return sanitizeErrorCode(data["__type"]);
|
|
2882
|
-
}
|
|
2883
|
-
}, "loadRestJsonErrorCode");
|
|
2884
2844
|
|
|
2885
2845
|
// src/commands/AssociateChannelFlowCommand.ts
|
|
2886
2846
|
var _AssociateChannelFlowCommand = class _AssociateChannelFlowCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
|
|
1
2
|
import { requestBuilder as rb } from "@smithy/core";
|
|
2
3
|
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
4
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
@@ -1828,43 +1829,3 @@ const _sci = "sub-channel-id";
|
|
|
1828
1829
|
const _so = "sort-order";
|
|
1829
1830
|
const _t = "type";
|
|
1830
1831
|
const _xacb = "x-amz-chime-bearer";
|
|
1831
|
-
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
1832
|
-
if (encoded.length) {
|
|
1833
|
-
return JSON.parse(encoded);
|
|
1834
|
-
}
|
|
1835
|
-
return {};
|
|
1836
|
-
});
|
|
1837
|
-
const parseErrorBody = async (errorBody, context) => {
|
|
1838
|
-
const value = await parseBody(errorBody, context);
|
|
1839
|
-
value.message = value.message ?? value.Message;
|
|
1840
|
-
return value;
|
|
1841
|
-
};
|
|
1842
|
-
const loadRestJsonErrorCode = (output, data) => {
|
|
1843
|
-
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
1844
|
-
const sanitizeErrorCode = (rawValue) => {
|
|
1845
|
-
let cleanValue = rawValue;
|
|
1846
|
-
if (typeof cleanValue === "number") {
|
|
1847
|
-
cleanValue = cleanValue.toString();
|
|
1848
|
-
}
|
|
1849
|
-
if (cleanValue.indexOf(",") >= 0) {
|
|
1850
|
-
cleanValue = cleanValue.split(",")[0];
|
|
1851
|
-
}
|
|
1852
|
-
if (cleanValue.indexOf(":") >= 0) {
|
|
1853
|
-
cleanValue = cleanValue.split(":")[0];
|
|
1854
|
-
}
|
|
1855
|
-
if (cleanValue.indexOf("#") >= 0) {
|
|
1856
|
-
cleanValue = cleanValue.split("#")[1];
|
|
1857
|
-
}
|
|
1858
|
-
return cleanValue;
|
|
1859
|
-
};
|
|
1860
|
-
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
1861
|
-
if (headerKey !== undefined) {
|
|
1862
|
-
return sanitizeErrorCode(output.headers[headerKey]);
|
|
1863
|
-
}
|
|
1864
|
-
if (data.code !== undefined) {
|
|
1865
|
-
return sanitizeErrorCode(data.code);
|
|
1866
|
-
}
|
|
1867
|
-
if (data["__type"] !== undefined) {
|
|
1868
|
-
return sanitizeErrorCode(data["__type"]);
|
|
1869
|
-
}
|
|
1870
|
-
};
|
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.529.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-chime-sdk-messaging",
|
|
@@ -20,40 +20,40 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.529.0",
|
|
24
|
+
"@aws-sdk/core": "3.529.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.529.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.523.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.523.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.523.0",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.525.0",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "3.525.0",
|
|
31
31
|
"@aws-sdk/types": "3.523.0",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.525.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "3.523.0",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
-
"@smithy/config-resolver": "^2.1.
|
|
36
|
-
"@smithy/core": "^1.3.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.525.0",
|
|
35
|
+
"@smithy/config-resolver": "^2.1.4",
|
|
36
|
+
"@smithy/core": "^1.3.5",
|
|
37
37
|
"@smithy/fetch-http-handler": "^2.4.3",
|
|
38
38
|
"@smithy/hash-node": "^2.1.3",
|
|
39
39
|
"@smithy/invalid-dependency": "^2.1.3",
|
|
40
40
|
"@smithy/middleware-content-length": "^2.1.3",
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.4.
|
|
42
|
-
"@smithy/middleware-retry": "^2.1.
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.4.4",
|
|
42
|
+
"@smithy/middleware-retry": "^2.1.4",
|
|
43
43
|
"@smithy/middleware-serde": "^2.1.3",
|
|
44
44
|
"@smithy/middleware-stack": "^2.1.3",
|
|
45
|
-
"@smithy/node-config-provider": "^2.2.
|
|
45
|
+
"@smithy/node-config-provider": "^2.2.4",
|
|
46
46
|
"@smithy/node-http-handler": "^2.4.1",
|
|
47
47
|
"@smithy/protocol-http": "^3.2.1",
|
|
48
|
-
"@smithy/smithy-client": "^2.4.
|
|
48
|
+
"@smithy/smithy-client": "^2.4.2",
|
|
49
49
|
"@smithy/types": "^2.10.1",
|
|
50
50
|
"@smithy/url-parser": "^2.1.3",
|
|
51
51
|
"@smithy/util-base64": "^2.1.1",
|
|
52
52
|
"@smithy/util-body-length-browser": "^2.1.1",
|
|
53
53
|
"@smithy/util-body-length-node": "^2.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^2.1.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^2.2.
|
|
56
|
-
"@smithy/util-endpoints": "^1.1.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^2.1.4",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.2.3",
|
|
56
|
+
"@smithy/util-endpoints": "^1.1.4",
|
|
57
57
|
"@smithy/util-middleware": "^2.1.3",
|
|
58
58
|
"@smithy/util-retry": "^2.1.3",
|
|
59
59
|
"@smithy/util-utf8": "^2.1.1",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("./index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("./index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("./index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
package/dist-cjs/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("./index.js");
|