@aws-sdk/client-chime-sdk-messaging 3.295.0 → 3.296.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/README.md +24 -0
- package/dist-cjs/ChimeSDKMessaging.js +45 -0
- package/dist-cjs/commands/DeleteMessagingStreamingConfigurationsCommand.js +46 -0
- package/dist-cjs/commands/GetMessagingStreamingConfigurationsCommand.js +46 -0
- package/dist-cjs/commands/PutMessagingStreamingConfigurationsCommand.js +46 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +32 -3
- package/dist-cjs/protocols/Aws_restJson1.js +243 -2
- package/dist-es/ChimeSDKMessaging.js +45 -0
- package/dist-es/commands/DeleteMessagingStreamingConfigurationsCommand.js +42 -0
- package/dist-es/commands/GetMessagingStreamingConfigurationsCommand.js +42 -0
- package/dist-es/commands/PutMessagingStreamingConfigurationsCommand.js +42 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +23 -0
- package/dist-es/protocols/Aws_restJson1.js +235 -0
- package/dist-types/ChimeSDKMessaging.d.ts +25 -40
- package/dist-types/ChimeSDKMessagingClient.d.ts +5 -2
- package/dist-types/commands/AssociateChannelFlowCommand.d.ts +0 -1
- package/dist-types/commands/CreateChannelBanCommand.d.ts +0 -1
- package/dist-types/commands/CreateChannelCommand.d.ts +0 -2
- package/dist-types/commands/CreateChannelFlowCommand.d.ts +1 -3
- package/dist-types/commands/CreateChannelMembershipCommand.d.ts +0 -4
- package/dist-types/commands/CreateChannelModeratorCommand.d.ts +0 -2
- package/dist-types/commands/DeleteChannelBanCommand.d.ts +0 -1
- package/dist-types/commands/DeleteChannelCommand.d.ts +0 -1
- package/dist-types/commands/DeleteChannelMembershipCommand.d.ts +0 -1
- package/dist-types/commands/DeleteChannelMessageCommand.d.ts +0 -1
- package/dist-types/commands/DeleteChannelModeratorCommand.d.ts +0 -1
- package/dist-types/commands/DeleteMessagingStreamingConfigurationsCommand.d.ts +60 -0
- package/dist-types/commands/DescribeChannelBanCommand.d.ts +0 -2
- package/dist-types/commands/DescribeChannelCommand.d.ts +0 -2
- package/dist-types/commands/DescribeChannelMembershipForAppInstanceUserCommand.d.ts +0 -1
- package/dist-types/commands/DescribeChannelModeratedByAppInstanceUserCommand.d.ts +0 -1
- package/dist-types/commands/GetChannelMessageCommand.d.ts +0 -1
- package/dist-types/commands/GetChannelMessageStatusCommand.d.ts +0 -3
- package/dist-types/commands/GetMessagingStreamingConfigurationsCommand.d.ts +66 -0
- package/dist-types/commands/ListChannelBansCommand.d.ts +0 -1
- package/dist-types/commands/ListChannelMembershipsCommand.d.ts +0 -2
- package/dist-types/commands/ListChannelMembershipsForAppInstanceUserCommand.d.ts +0 -1
- package/dist-types/commands/ListChannelsCommand.d.ts +0 -2
- package/dist-types/commands/ListChannelsModeratedByAppInstanceUserCommand.d.ts +0 -1
- package/dist-types/commands/PutMessagingStreamingConfigurationsCommand.d.ts +70 -0
- package/dist-types/commands/RedactChannelMessageCommand.d.ts +0 -1
- package/dist-types/commands/SendChannelMessageCommand.d.ts +0 -2
- package/dist-types/commands/UpdateChannelMessageCommand.d.ts +0 -1
- package/dist-types/commands/UpdateChannelReadMarkerCommand.d.ts +0 -1
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +75 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/ChimeSDKMessaging.d.ts +69 -0
- package/dist-types/ts3.4/ChimeSDKMessagingClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/DeleteMessagingStreamingConfigurationsCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/GetMessagingStreamingConfigurationsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/PutMessagingStreamingConfigurationsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +42 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
- package/package.json +29 -29
|
@@ -334,6 +334,23 @@ export const serializeAws_restJson1DeleteChannelModeratorCommand = async (input,
|
|
|
334
334
|
body,
|
|
335
335
|
});
|
|
336
336
|
};
|
|
337
|
+
export const serializeAws_restJson1DeleteMessagingStreamingConfigurationsCommand = async (input, context) => {
|
|
338
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
339
|
+
const headers = {};
|
|
340
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
341
|
+
"/app-instances/{AppInstanceArn}/streaming-configurations";
|
|
342
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "AppInstanceArn", () => input.AppInstanceArn, "{AppInstanceArn}", false);
|
|
343
|
+
let body;
|
|
344
|
+
return new __HttpRequest({
|
|
345
|
+
protocol,
|
|
346
|
+
hostname,
|
|
347
|
+
port,
|
|
348
|
+
method: "DELETE",
|
|
349
|
+
headers,
|
|
350
|
+
path: resolvedPath,
|
|
351
|
+
body,
|
|
352
|
+
});
|
|
353
|
+
};
|
|
337
354
|
export const serializeAws_restJson1DescribeChannelCommand = async (input, context) => {
|
|
338
355
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
339
356
|
const headers = map({}, isSerializableHeaderValue, {
|
|
@@ -584,6 +601,23 @@ export const serializeAws_restJson1GetMessagingSessionEndpointCommand = async (i
|
|
|
584
601
|
body,
|
|
585
602
|
});
|
|
586
603
|
};
|
|
604
|
+
export const serializeAws_restJson1GetMessagingStreamingConfigurationsCommand = async (input, context) => {
|
|
605
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
606
|
+
const headers = {};
|
|
607
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
608
|
+
"/app-instances/{AppInstanceArn}/streaming-configurations";
|
|
609
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "AppInstanceArn", () => input.AppInstanceArn, "{AppInstanceArn}", false);
|
|
610
|
+
let body;
|
|
611
|
+
return new __HttpRequest({
|
|
612
|
+
protocol,
|
|
613
|
+
hostname,
|
|
614
|
+
port,
|
|
615
|
+
method: "GET",
|
|
616
|
+
headers,
|
|
617
|
+
path: resolvedPath,
|
|
618
|
+
body,
|
|
619
|
+
});
|
|
620
|
+
};
|
|
587
621
|
export const serializeAws_restJson1ListChannelBansCommand = async (input, context) => {
|
|
588
622
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
589
623
|
const headers = map({}, isSerializableHeaderValue, {
|
|
@@ -871,6 +905,30 @@ export const serializeAws_restJson1PutChannelMembershipPreferencesCommand = asyn
|
|
|
871
905
|
body,
|
|
872
906
|
});
|
|
873
907
|
};
|
|
908
|
+
export const serializeAws_restJson1PutMessagingStreamingConfigurationsCommand = async (input, context) => {
|
|
909
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
910
|
+
const headers = {
|
|
911
|
+
"content-type": "application/json",
|
|
912
|
+
};
|
|
913
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
914
|
+
"/app-instances/{AppInstanceArn}/streaming-configurations";
|
|
915
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "AppInstanceArn", () => input.AppInstanceArn, "{AppInstanceArn}", false);
|
|
916
|
+
let body;
|
|
917
|
+
body = JSON.stringify({
|
|
918
|
+
...(input.StreamingConfigurations != null && {
|
|
919
|
+
StreamingConfigurations: serializeAws_restJson1StreamingConfigurationList(input.StreamingConfigurations, context),
|
|
920
|
+
}),
|
|
921
|
+
});
|
|
922
|
+
return new __HttpRequest({
|
|
923
|
+
protocol,
|
|
924
|
+
hostname,
|
|
925
|
+
port,
|
|
926
|
+
method: "PUT",
|
|
927
|
+
headers,
|
|
928
|
+
path: resolvedPath,
|
|
929
|
+
body,
|
|
930
|
+
});
|
|
931
|
+
};
|
|
874
932
|
export const serializeAws_restJson1RedactChannelMessageCommand = async (input, context) => {
|
|
875
933
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
876
934
|
const headers = map({}, isSerializableHeaderValue, {
|
|
@@ -1826,6 +1884,48 @@ const deserializeAws_restJson1DeleteChannelModeratorCommandError = async (output
|
|
|
1826
1884
|
});
|
|
1827
1885
|
}
|
|
1828
1886
|
};
|
|
1887
|
+
export const deserializeAws_restJson1DeleteMessagingStreamingConfigurationsCommand = async (output, context) => {
|
|
1888
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1889
|
+
return deserializeAws_restJson1DeleteMessagingStreamingConfigurationsCommandError(output, context);
|
|
1890
|
+
}
|
|
1891
|
+
const contents = map({
|
|
1892
|
+
$metadata: deserializeMetadata(output),
|
|
1893
|
+
});
|
|
1894
|
+
await collectBody(output.body, context);
|
|
1895
|
+
return contents;
|
|
1896
|
+
};
|
|
1897
|
+
const deserializeAws_restJson1DeleteMessagingStreamingConfigurationsCommandError = async (output, context) => {
|
|
1898
|
+
const parsedOutput = {
|
|
1899
|
+
...output,
|
|
1900
|
+
body: await parseErrorBody(output.body, context),
|
|
1901
|
+
};
|
|
1902
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1903
|
+
switch (errorCode) {
|
|
1904
|
+
case "ForbiddenException":
|
|
1905
|
+
case "com.amazonaws.chimesdkmessaging#ForbiddenException":
|
|
1906
|
+
throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
|
|
1907
|
+
case "ServiceFailureException":
|
|
1908
|
+
case "com.amazonaws.chimesdkmessaging#ServiceFailureException":
|
|
1909
|
+
throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);
|
|
1910
|
+
case "ServiceUnavailableException":
|
|
1911
|
+
case "com.amazonaws.chimesdkmessaging#ServiceUnavailableException":
|
|
1912
|
+
throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
|
|
1913
|
+
case "ThrottledClientException":
|
|
1914
|
+
case "com.amazonaws.chimesdkmessaging#ThrottledClientException":
|
|
1915
|
+
throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);
|
|
1916
|
+
case "UnauthorizedClientException":
|
|
1917
|
+
case "com.amazonaws.chimesdkmessaging#UnauthorizedClientException":
|
|
1918
|
+
throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);
|
|
1919
|
+
default:
|
|
1920
|
+
const parsedBody = parsedOutput.body;
|
|
1921
|
+
throwDefaultError({
|
|
1922
|
+
output,
|
|
1923
|
+
parsedBody,
|
|
1924
|
+
exceptionCtor: __BaseException,
|
|
1925
|
+
errorCode,
|
|
1926
|
+
});
|
|
1927
|
+
}
|
|
1928
|
+
};
|
|
1829
1929
|
export const deserializeAws_restJson1DescribeChannelCommand = async (output, context) => {
|
|
1830
1930
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1831
1931
|
return deserializeAws_restJson1DescribeChannelCommandError(output, context);
|
|
@@ -2420,6 +2520,57 @@ const deserializeAws_restJson1GetMessagingSessionEndpointCommandError = async (o
|
|
|
2420
2520
|
});
|
|
2421
2521
|
}
|
|
2422
2522
|
};
|
|
2523
|
+
export const deserializeAws_restJson1GetMessagingStreamingConfigurationsCommand = async (output, context) => {
|
|
2524
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2525
|
+
return deserializeAws_restJson1GetMessagingStreamingConfigurationsCommandError(output, context);
|
|
2526
|
+
}
|
|
2527
|
+
const contents = map({
|
|
2528
|
+
$metadata: deserializeMetadata(output),
|
|
2529
|
+
});
|
|
2530
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2531
|
+
if (data.StreamingConfigurations != null) {
|
|
2532
|
+
contents.StreamingConfigurations = deserializeAws_restJson1StreamingConfigurationList(data.StreamingConfigurations, context);
|
|
2533
|
+
}
|
|
2534
|
+
return contents;
|
|
2535
|
+
};
|
|
2536
|
+
const deserializeAws_restJson1GetMessagingStreamingConfigurationsCommandError = async (output, context) => {
|
|
2537
|
+
const parsedOutput = {
|
|
2538
|
+
...output,
|
|
2539
|
+
body: await parseErrorBody(output.body, context),
|
|
2540
|
+
};
|
|
2541
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2542
|
+
switch (errorCode) {
|
|
2543
|
+
case "BadRequestException":
|
|
2544
|
+
case "com.amazonaws.chimesdkmessaging#BadRequestException":
|
|
2545
|
+
throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
|
|
2546
|
+
case "ForbiddenException":
|
|
2547
|
+
case "com.amazonaws.chimesdkmessaging#ForbiddenException":
|
|
2548
|
+
throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
|
|
2549
|
+
case "NotFoundException":
|
|
2550
|
+
case "com.amazonaws.chimesdkmessaging#NotFoundException":
|
|
2551
|
+
throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
|
|
2552
|
+
case "ServiceFailureException":
|
|
2553
|
+
case "com.amazonaws.chimesdkmessaging#ServiceFailureException":
|
|
2554
|
+
throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);
|
|
2555
|
+
case "ServiceUnavailableException":
|
|
2556
|
+
case "com.amazonaws.chimesdkmessaging#ServiceUnavailableException":
|
|
2557
|
+
throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
|
|
2558
|
+
case "ThrottledClientException":
|
|
2559
|
+
case "com.amazonaws.chimesdkmessaging#ThrottledClientException":
|
|
2560
|
+
throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);
|
|
2561
|
+
case "UnauthorizedClientException":
|
|
2562
|
+
case "com.amazonaws.chimesdkmessaging#UnauthorizedClientException":
|
|
2563
|
+
throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);
|
|
2564
|
+
default:
|
|
2565
|
+
const parsedBody = parsedOutput.body;
|
|
2566
|
+
throwDefaultError({
|
|
2567
|
+
output,
|
|
2568
|
+
parsedBody,
|
|
2569
|
+
exceptionCtor: __BaseException,
|
|
2570
|
+
errorCode,
|
|
2571
|
+
});
|
|
2572
|
+
}
|
|
2573
|
+
};
|
|
2423
2574
|
export const deserializeAws_restJson1ListChannelBansCommand = async (output, context) => {
|
|
2424
2575
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2425
2576
|
return deserializeAws_restJson1ListChannelBansCommandError(output, context);
|
|
@@ -3053,6 +3204,60 @@ const deserializeAws_restJson1PutChannelMembershipPreferencesCommandError = asyn
|
|
|
3053
3204
|
});
|
|
3054
3205
|
}
|
|
3055
3206
|
};
|
|
3207
|
+
export const deserializeAws_restJson1PutMessagingStreamingConfigurationsCommand = async (output, context) => {
|
|
3208
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3209
|
+
return deserializeAws_restJson1PutMessagingStreamingConfigurationsCommandError(output, context);
|
|
3210
|
+
}
|
|
3211
|
+
const contents = map({
|
|
3212
|
+
$metadata: deserializeMetadata(output),
|
|
3213
|
+
});
|
|
3214
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3215
|
+
if (data.StreamingConfigurations != null) {
|
|
3216
|
+
contents.StreamingConfigurations = deserializeAws_restJson1StreamingConfigurationList(data.StreamingConfigurations, context);
|
|
3217
|
+
}
|
|
3218
|
+
return contents;
|
|
3219
|
+
};
|
|
3220
|
+
const deserializeAws_restJson1PutMessagingStreamingConfigurationsCommandError = async (output, context) => {
|
|
3221
|
+
const parsedOutput = {
|
|
3222
|
+
...output,
|
|
3223
|
+
body: await parseErrorBody(output.body, context),
|
|
3224
|
+
};
|
|
3225
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3226
|
+
switch (errorCode) {
|
|
3227
|
+
case "BadRequestException":
|
|
3228
|
+
case "com.amazonaws.chimesdkmessaging#BadRequestException":
|
|
3229
|
+
throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
|
|
3230
|
+
case "ConflictException":
|
|
3231
|
+
case "com.amazonaws.chimesdkmessaging#ConflictException":
|
|
3232
|
+
throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
|
|
3233
|
+
case "ForbiddenException":
|
|
3234
|
+
case "com.amazonaws.chimesdkmessaging#ForbiddenException":
|
|
3235
|
+
throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
|
|
3236
|
+
case "NotFoundException":
|
|
3237
|
+
case "com.amazonaws.chimesdkmessaging#NotFoundException":
|
|
3238
|
+
throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
|
|
3239
|
+
case "ServiceFailureException":
|
|
3240
|
+
case "com.amazonaws.chimesdkmessaging#ServiceFailureException":
|
|
3241
|
+
throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);
|
|
3242
|
+
case "ServiceUnavailableException":
|
|
3243
|
+
case "com.amazonaws.chimesdkmessaging#ServiceUnavailableException":
|
|
3244
|
+
throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
|
|
3245
|
+
case "ThrottledClientException":
|
|
3246
|
+
case "com.amazonaws.chimesdkmessaging#ThrottledClientException":
|
|
3247
|
+
throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);
|
|
3248
|
+
case "UnauthorizedClientException":
|
|
3249
|
+
case "com.amazonaws.chimesdkmessaging#UnauthorizedClientException":
|
|
3250
|
+
throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);
|
|
3251
|
+
default:
|
|
3252
|
+
const parsedBody = parsedOutput.body;
|
|
3253
|
+
throwDefaultError({
|
|
3254
|
+
output,
|
|
3255
|
+
parsedBody,
|
|
3256
|
+
exceptionCtor: __BaseException,
|
|
3257
|
+
errorCode,
|
|
3258
|
+
});
|
|
3259
|
+
}
|
|
3260
|
+
};
|
|
3056
3261
|
export const deserializeAws_restJson1RedactChannelMessageCommand = async (output, context) => {
|
|
3057
3262
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3058
3263
|
return deserializeAws_restJson1RedactChannelMessageCommandError(output, context);
|
|
@@ -3804,6 +4009,19 @@ const serializeAws_restJson1SearchFieldValues = (input, context) => {
|
|
|
3804
4009
|
return entry;
|
|
3805
4010
|
});
|
|
3806
4011
|
};
|
|
4012
|
+
const serializeAws_restJson1StreamingConfiguration = (input, context) => {
|
|
4013
|
+
return {
|
|
4014
|
+
...(input.DataType != null && { DataType: input.DataType }),
|
|
4015
|
+
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
4016
|
+
};
|
|
4017
|
+
};
|
|
4018
|
+
const serializeAws_restJson1StreamingConfigurationList = (input, context) => {
|
|
4019
|
+
return input
|
|
4020
|
+
.filter((e) => e != null)
|
|
4021
|
+
.map((entry) => {
|
|
4022
|
+
return serializeAws_restJson1StreamingConfiguration(entry, context);
|
|
4023
|
+
});
|
|
4024
|
+
};
|
|
3807
4025
|
const serializeAws_restJson1Tag = (input, context) => {
|
|
3808
4026
|
return {
|
|
3809
4027
|
...(input.Key != null && { Key: input.Key }),
|
|
@@ -4246,6 +4464,23 @@ const deserializeAws_restJson1PushNotificationPreferences = (output, context) =>
|
|
|
4246
4464
|
FilterRule: __expectString(output.FilterRule),
|
|
4247
4465
|
};
|
|
4248
4466
|
};
|
|
4467
|
+
const deserializeAws_restJson1StreamingConfiguration = (output, context) => {
|
|
4468
|
+
return {
|
|
4469
|
+
DataType: __expectString(output.DataType),
|
|
4470
|
+
ResourceArn: __expectString(output.ResourceArn),
|
|
4471
|
+
};
|
|
4472
|
+
};
|
|
4473
|
+
const deserializeAws_restJson1StreamingConfigurationList = (output, context) => {
|
|
4474
|
+
const retVal = (output || [])
|
|
4475
|
+
.filter((e) => e != null)
|
|
4476
|
+
.map((entry) => {
|
|
4477
|
+
if (entry === null) {
|
|
4478
|
+
return null;
|
|
4479
|
+
}
|
|
4480
|
+
return deserializeAws_restJson1StreamingConfiguration(entry, context);
|
|
4481
|
+
});
|
|
4482
|
+
return retVal;
|
|
4483
|
+
};
|
|
4249
4484
|
const deserializeAws_restJson1SubChannelSummary = (output, context) => {
|
|
4250
4485
|
return {
|
|
4251
4486
|
MembershipCount: __expectInt32(output.MembershipCount),
|
|
@@ -14,6 +14,7 @@ import { DeleteChannelFlowCommandInput, DeleteChannelFlowCommandOutput } from ".
|
|
|
14
14
|
import { DeleteChannelMembershipCommandInput, DeleteChannelMembershipCommandOutput } from "./commands/DeleteChannelMembershipCommand";
|
|
15
15
|
import { DeleteChannelMessageCommandInput, DeleteChannelMessageCommandOutput } from "./commands/DeleteChannelMessageCommand";
|
|
16
16
|
import { DeleteChannelModeratorCommandInput, DeleteChannelModeratorCommandOutput } from "./commands/DeleteChannelModeratorCommand";
|
|
17
|
+
import { DeleteMessagingStreamingConfigurationsCommandInput, DeleteMessagingStreamingConfigurationsCommandOutput } from "./commands/DeleteMessagingStreamingConfigurationsCommand";
|
|
17
18
|
import { DescribeChannelBanCommandInput, DescribeChannelBanCommandOutput } from "./commands/DescribeChannelBanCommand";
|
|
18
19
|
import { DescribeChannelCommandInput, DescribeChannelCommandOutput } from "./commands/DescribeChannelCommand";
|
|
19
20
|
import { DescribeChannelFlowCommandInput, DescribeChannelFlowCommandOutput } from "./commands/DescribeChannelFlowCommand";
|
|
@@ -26,6 +27,7 @@ import { GetChannelMembershipPreferencesCommandInput, GetChannelMembershipPrefer
|
|
|
26
27
|
import { GetChannelMessageCommandInput, GetChannelMessageCommandOutput } from "./commands/GetChannelMessageCommand";
|
|
27
28
|
import { GetChannelMessageStatusCommandInput, GetChannelMessageStatusCommandOutput } from "./commands/GetChannelMessageStatusCommand";
|
|
28
29
|
import { GetMessagingSessionEndpointCommandInput, GetMessagingSessionEndpointCommandOutput } from "./commands/GetMessagingSessionEndpointCommand";
|
|
30
|
+
import { GetMessagingStreamingConfigurationsCommandInput, GetMessagingStreamingConfigurationsCommandOutput } from "./commands/GetMessagingStreamingConfigurationsCommand";
|
|
29
31
|
import { ListChannelBansCommandInput, ListChannelBansCommandOutput } from "./commands/ListChannelBansCommand";
|
|
30
32
|
import { ListChannelFlowsCommandInput, ListChannelFlowsCommandOutput } from "./commands/ListChannelFlowsCommand";
|
|
31
33
|
import { ListChannelMembershipsCommandInput, ListChannelMembershipsCommandOutput } from "./commands/ListChannelMembershipsCommand";
|
|
@@ -38,6 +40,7 @@ import { ListChannelsModeratedByAppInstanceUserCommandInput, ListChannelsModerat
|
|
|
38
40
|
import { ListSubChannelsCommandInput, ListSubChannelsCommandOutput } from "./commands/ListSubChannelsCommand";
|
|
39
41
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
40
42
|
import { PutChannelMembershipPreferencesCommandInput, PutChannelMembershipPreferencesCommandOutput } from "./commands/PutChannelMembershipPreferencesCommand";
|
|
43
|
+
import { PutMessagingStreamingConfigurationsCommandInput, PutMessagingStreamingConfigurationsCommandOutput } from "./commands/PutMessagingStreamingConfigurationsCommand";
|
|
41
44
|
import { RedactChannelMessageCommandInput, RedactChannelMessageCommandOutput } from "./commands/RedactChannelMessageCommand";
|
|
42
45
|
import { SearchChannelsCommandInput, SearchChannelsCommandOutput } from "./commands/SearchChannelsCommand";
|
|
43
46
|
import { SendChannelMessageCommandInput, SendChannelMessageCommandOutput } from "./commands/SendChannelMessageCommand";
|
|
@@ -57,7 +60,6 @@ export declare class ChimeSDKMessaging extends ChimeSDKMessagingClient {
|
|
|
57
60
|
/**
|
|
58
61
|
* <p>Associates a channel flow with a channel. Once associated, all messages to that channel go through channel flow processors. To stop processing, use the
|
|
59
62
|
* <code>DisassociateChannelFlow</code> API.</p>
|
|
60
|
-
*
|
|
61
63
|
* <note>
|
|
62
64
|
* <p>Only administrators or channel moderators can associate a channel flow. The <code>x-amz-chime-bearer</code> request header is mandatory. Use the <code>AppInstanceUserArn</code>
|
|
63
65
|
* of the user that makes the API call as the value in the header.</p>
|
|
@@ -92,11 +94,9 @@ export declare class ChimeSDKMessaging extends ChimeSDKMessagingClient {
|
|
|
92
94
|
channelFlowCallback(args: ChannelFlowCallbackCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ChannelFlowCallbackCommandOutput) => void): void;
|
|
93
95
|
/**
|
|
94
96
|
* <p>Creates a channel to which you can add users and send messages.</p>
|
|
95
|
-
*
|
|
96
97
|
* <p>
|
|
97
98
|
* <b>Restriction</b>: You can't change a channel's
|
|
98
99
|
* privacy.</p>
|
|
99
|
-
*
|
|
100
100
|
* <note>
|
|
101
101
|
* <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
|
|
102
102
|
* <code>AppInstanceUserArn</code> of the user that makes the API call as the value in
|
|
@@ -113,7 +113,6 @@ export declare class ChimeSDKMessaging extends ChimeSDKMessagingClient {
|
|
|
113
113
|
* channels.</p>
|
|
114
114
|
* <p>If you ban a user who is already part of a channel, that user is automatically kicked
|
|
115
115
|
* from the channel.</p>
|
|
116
|
-
*
|
|
117
116
|
* <note>
|
|
118
117
|
* <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
|
|
119
118
|
* <code>AppInstanceUserArn</code> of the user that makes the API call as the value in
|
|
@@ -128,8 +127,7 @@ export declare class ChimeSDKMessaging extends ChimeSDKMessagingClient {
|
|
|
128
127
|
* that perform actions on chat messages, such as stripping out profanity. You can associate
|
|
129
128
|
* channel flows with channels, and the processors in the channel flow then take action on all
|
|
130
129
|
* messages sent to that channel. This is a developer API.</p>
|
|
131
|
-
*
|
|
132
|
-
* <p>Channel flows process the following items:</p>
|
|
130
|
+
* <p>Channel flows process the following items:</p>
|
|
133
131
|
* <ol>
|
|
134
132
|
* <li>
|
|
135
133
|
* <p>New and updated messages</p>
|
|
@@ -141,7 +139,6 @@ export declare class ChimeSDKMessaging extends ChimeSDKMessagingClient {
|
|
|
141
139
|
* <p>The Standard message type</p>
|
|
142
140
|
* </li>
|
|
143
141
|
* </ol>
|
|
144
|
-
*
|
|
145
142
|
* <note>
|
|
146
143
|
* <p>Channel flows don't process Control or System messages. For more information about the message types provided by Chime SDK Messaging, refer to
|
|
147
144
|
* <a href="https://docs.aws.amazon.com/chime/latest/dg/using-the-messaging-sdk.html#msg-types">Message types</a> in the <i>Amazon Chime developer guide</i>.</p>
|
|
@@ -153,7 +150,6 @@ export declare class ChimeSDKMessaging extends ChimeSDKMessagingClient {
|
|
|
153
150
|
/**
|
|
154
151
|
* <p>Adds a user to a channel. The <code>InvitedBy</code> field in <code>ChannelMembership</code> is derived from the
|
|
155
152
|
* request header. A channel member can:</p>
|
|
156
|
-
*
|
|
157
153
|
* <ul>
|
|
158
154
|
* <li>
|
|
159
155
|
* <p>List messages</p>
|
|
@@ -171,9 +167,7 @@ export declare class ChimeSDKMessaging extends ChimeSDKMessagingClient {
|
|
|
171
167
|
* <p>Leave the channel</p>
|
|
172
168
|
* </li>
|
|
173
169
|
* </ul>
|
|
174
|
-
*
|
|
175
170
|
* <p>Privacy settings impact this action as follows:</p>
|
|
176
|
-
*
|
|
177
171
|
* <ul>
|
|
178
172
|
* <li>
|
|
179
173
|
* <p>Public Channels: You do not need to be a member to list messages, but you must be
|
|
@@ -183,7 +177,6 @@ export declare class ChimeSDKMessaging extends ChimeSDKMessagingClient {
|
|
|
183
177
|
* <p>Private Channels: You must be a member to list or send messages.</p>
|
|
184
178
|
* </li>
|
|
185
179
|
* </ul>
|
|
186
|
-
*
|
|
187
180
|
* <note>
|
|
188
181
|
* <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
|
|
189
182
|
* <code>AppInstanceUserArn</code> of the user that makes the API call as the value in
|
|
@@ -195,7 +188,6 @@ export declare class ChimeSDKMessaging extends ChimeSDKMessagingClient {
|
|
|
195
188
|
createChannelMembership(args: CreateChannelMembershipCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateChannelMembershipCommandOutput) => void): void;
|
|
196
189
|
/**
|
|
197
190
|
* <p>Creates a new <code>ChannelModerator</code>. A channel moderator can:</p>
|
|
198
|
-
*
|
|
199
191
|
* <ul>
|
|
200
192
|
* <li>
|
|
201
193
|
* <p>Add and remove other members of the channel.</p>
|
|
@@ -213,7 +205,6 @@ export declare class ChimeSDKMessaging extends ChimeSDKMessagingClient {
|
|
|
213
205
|
* <p>List messages in the channel.</p>
|
|
214
206
|
* </li>
|
|
215
207
|
* </ul>
|
|
216
|
-
*
|
|
217
208
|
* <note>
|
|
218
209
|
* <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
|
|
219
210
|
* <code>AppInstanceUserArn</code> of the user that makes the API call as the value in
|
|
@@ -226,7 +217,6 @@ export declare class ChimeSDKMessaging extends ChimeSDKMessagingClient {
|
|
|
226
217
|
/**
|
|
227
218
|
* <p>Immediately makes a channel and its memberships inaccessible and marks them for
|
|
228
219
|
* deletion. This is an irreversible process.</p>
|
|
229
|
-
*
|
|
230
220
|
* <note>
|
|
231
221
|
* <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
|
|
232
222
|
* <code>AppInstanceUserArn</code> of the user that makes the API call as the value in
|
|
@@ -238,7 +228,6 @@ export declare class ChimeSDKMessaging extends ChimeSDKMessagingClient {
|
|
|
238
228
|
deleteChannel(args: DeleteChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteChannelCommandOutput) => void): void;
|
|
239
229
|
/**
|
|
240
230
|
* <p>Removes a user from a channel's ban list.</p>
|
|
241
|
-
*
|
|
242
231
|
* <note>
|
|
243
232
|
* <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
|
|
244
233
|
* <code>AppInstanceUserArn</code> of the user that makes the API call as the value in
|
|
@@ -260,7 +249,6 @@ export declare class ChimeSDKMessaging extends ChimeSDKMessagingClient {
|
|
|
260
249
|
deleteChannelFlow(args: DeleteChannelFlowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteChannelFlowCommandOutput) => void): void;
|
|
261
250
|
/**
|
|
262
251
|
* <p>Removes a member from a channel.</p>
|
|
263
|
-
*
|
|
264
252
|
* <note>
|
|
265
253
|
* <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
|
|
266
254
|
* <code>AppInstanceUserArn</code> of the user that makes the API call as the value in
|
|
@@ -274,7 +262,6 @@ export declare class ChimeSDKMessaging extends ChimeSDKMessagingClient {
|
|
|
274
262
|
* <p>Deletes a channel message. Only admins can perform this action. Deletion makes messages
|
|
275
263
|
* inaccessible immediately. A background process deletes any revisions created by
|
|
276
264
|
* <code>UpdateChannelMessage</code>.</p>
|
|
277
|
-
*
|
|
278
265
|
* <note>
|
|
279
266
|
* <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
|
|
280
267
|
* <code>AppInstanceUserArn</code> of the user that makes the API call as the value in
|
|
@@ -286,7 +273,6 @@ export declare class ChimeSDKMessaging extends ChimeSDKMessagingClient {
|
|
|
286
273
|
deleteChannelMessage(args: DeleteChannelMessageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteChannelMessageCommandOutput) => void): void;
|
|
287
274
|
/**
|
|
288
275
|
* <p>Deletes a channel moderator.</p>
|
|
289
|
-
*
|
|
290
276
|
* <note>
|
|
291
277
|
* <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
|
|
292
278
|
* <code>AppInstanceUserArn</code> of the user that makes the API call as the value in
|
|
@@ -296,12 +282,17 @@ export declare class ChimeSDKMessaging extends ChimeSDKMessagingClient {
|
|
|
296
282
|
deleteChannelModerator(args: DeleteChannelModeratorCommandInput, options?: __HttpHandlerOptions): Promise<DeleteChannelModeratorCommandOutput>;
|
|
297
283
|
deleteChannelModerator(args: DeleteChannelModeratorCommandInput, cb: (err: any, data?: DeleteChannelModeratorCommandOutput) => void): void;
|
|
298
284
|
deleteChannelModerator(args: DeleteChannelModeratorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteChannelModeratorCommandOutput) => void): void;
|
|
285
|
+
/**
|
|
286
|
+
* <p>Deletes the streaming configurations for an <code>AppInstance</code>. For more information, see
|
|
287
|
+
* <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/streaming-export.html">Streaming messaging data</a> in the <i>Amazon Chime SDK Developer Guide</i>.</p>
|
|
288
|
+
*/
|
|
289
|
+
deleteMessagingStreamingConfigurations(args: DeleteMessagingStreamingConfigurationsCommandInput, options?: __HttpHandlerOptions): Promise<DeleteMessagingStreamingConfigurationsCommandOutput>;
|
|
290
|
+
deleteMessagingStreamingConfigurations(args: DeleteMessagingStreamingConfigurationsCommandInput, cb: (err: any, data?: DeleteMessagingStreamingConfigurationsCommandOutput) => void): void;
|
|
291
|
+
deleteMessagingStreamingConfigurations(args: DeleteMessagingStreamingConfigurationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteMessagingStreamingConfigurationsCommandOutput) => void): void;
|
|
299
292
|
/**
|
|
300
293
|
* <p>Returns the full details of a channel in an Amazon Chime
|
|
301
294
|
* <code>AppInstance</code>.</p>
|
|
302
|
-
*
|
|
303
295
|
* <note>
|
|
304
|
-
*
|
|
305
296
|
* <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
|
|
306
297
|
* <code>AppInstanceUserArn</code> of the user that makes the API call as the value in
|
|
307
298
|
* the header.</p>
|
|
@@ -312,9 +303,7 @@ export declare class ChimeSDKMessaging extends ChimeSDKMessagingClient {
|
|
|
312
303
|
describeChannel(args: DescribeChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeChannelCommandOutput) => void): void;
|
|
313
304
|
/**
|
|
314
305
|
* <p>Returns the full details of a channel ban.</p>
|
|
315
|
-
*
|
|
316
306
|
* <note>
|
|
317
|
-
*
|
|
318
307
|
* <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
|
|
319
308
|
* <code>AppInstanceUserArn</code> of the user that makes the API call as the value in
|
|
320
309
|
* the header.</p>
|
|
@@ -343,7 +332,6 @@ export declare class ChimeSDKMessaging extends ChimeSDKMessagingClient {
|
|
|
343
332
|
/**
|
|
344
333
|
* <p> Returns the details of a channel based on the membership of the specified
|
|
345
334
|
* <code>AppInstanceUser</code>.</p>
|
|
346
|
-
*
|
|
347
335
|
* <note>
|
|
348
336
|
* <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
|
|
349
337
|
* <code>AppInstanceUserArn</code> of the user that makes the API call as the value in
|
|
@@ -356,7 +344,6 @@ export declare class ChimeSDKMessaging extends ChimeSDKMessagingClient {
|
|
|
356
344
|
/**
|
|
357
345
|
* <p>Returns the full details of a channel moderated by the specified
|
|
358
346
|
* <code>AppInstanceUser</code>.</p>
|
|
359
|
-
*
|
|
360
347
|
* <note>
|
|
361
348
|
* <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
|
|
362
349
|
* <code>AppInstanceUserArn</code> of the user that makes the API call as the value in
|
|
@@ -398,7 +385,6 @@ export declare class ChimeSDKMessaging extends ChimeSDKMessagingClient {
|
|
|
398
385
|
getChannelMembershipPreferences(args: GetChannelMembershipPreferencesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetChannelMembershipPreferencesCommandOutput) => void): void;
|
|
399
386
|
/**
|
|
400
387
|
* <p>Gets the full details of a channel message.</p>
|
|
401
|
-
*
|
|
402
388
|
* <note>
|
|
403
389
|
* <p>The x-amz-chime-bearer request header is mandatory. Use the
|
|
404
390
|
* <code>AppInstanceUserArn</code> of the user that makes the API call as the value in
|
|
@@ -411,9 +397,7 @@ export declare class ChimeSDKMessaging extends ChimeSDKMessagingClient {
|
|
|
411
397
|
/**
|
|
412
398
|
* <p>Gets message status for a specified <code>messageId</code>. Use this API to determine the intermediate status of messages going through channel flow processing. The API provides an alternative to
|
|
413
399
|
* retrieving message status if the event was not received because a client wasn't connected to a websocket. </p>
|
|
414
|
-
*
|
|
415
400
|
* <p>Messages can have any one of these statuses.</p>
|
|
416
|
-
*
|
|
417
401
|
* <dl>
|
|
418
402
|
* <dt>SENT</dt>
|
|
419
403
|
* <dd>
|
|
@@ -432,7 +416,6 @@ export declare class ChimeSDKMessaging extends ChimeSDKMessagingClient {
|
|
|
432
416
|
* <p>Messasge denied by the processor</p>
|
|
433
417
|
* </dd>
|
|
434
418
|
* </dl>
|
|
435
|
-
*
|
|
436
419
|
* <note>
|
|
437
420
|
* <ul>
|
|
438
421
|
* <li>
|
|
@@ -456,9 +439,15 @@ export declare class ChimeSDKMessaging extends ChimeSDKMessagingClient {
|
|
|
456
439
|
getMessagingSessionEndpoint(args: GetMessagingSessionEndpointCommandInput, options?: __HttpHandlerOptions): Promise<GetMessagingSessionEndpointCommandOutput>;
|
|
457
440
|
getMessagingSessionEndpoint(args: GetMessagingSessionEndpointCommandInput, cb: (err: any, data?: GetMessagingSessionEndpointCommandOutput) => void): void;
|
|
458
441
|
getMessagingSessionEndpoint(args: GetMessagingSessionEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMessagingSessionEndpointCommandOutput) => void): void;
|
|
442
|
+
/**
|
|
443
|
+
* <p>Retrieves the data streaming configuration for an <code>AppInstance</code>. For more information, see
|
|
444
|
+
* <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/streaming-export.html">Streaming messaging data</a> in the <i>Amazon Chime SDK Developer Guide</i>.</p>
|
|
445
|
+
*/
|
|
446
|
+
getMessagingStreamingConfigurations(args: GetMessagingStreamingConfigurationsCommandInput, options?: __HttpHandlerOptions): Promise<GetMessagingStreamingConfigurationsCommandOutput>;
|
|
447
|
+
getMessagingStreamingConfigurations(args: GetMessagingStreamingConfigurationsCommandInput, cb: (err: any, data?: GetMessagingStreamingConfigurationsCommandOutput) => void): void;
|
|
448
|
+
getMessagingStreamingConfigurations(args: GetMessagingStreamingConfigurationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMessagingStreamingConfigurationsCommandOutput) => void): void;
|
|
459
449
|
/**
|
|
460
450
|
* <p>Lists all the users banned from a particular channel.</p>
|
|
461
|
-
*
|
|
462
451
|
* <note>
|
|
463
452
|
* <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
|
|
464
453
|
* <code>AppInstanceUserArn</code> of the user that makes the API call as the value in
|
|
@@ -476,13 +465,11 @@ export declare class ChimeSDKMessaging extends ChimeSDKMessagingClient {
|
|
|
476
465
|
listChannelFlows(args: ListChannelFlowsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListChannelFlowsCommandOutput) => void): void;
|
|
477
466
|
/**
|
|
478
467
|
* <p>Lists all channel memberships in a channel.</p>
|
|
479
|
-
*
|
|
480
468
|
* <note>
|
|
481
469
|
* <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
|
|
482
470
|
* <code>AppInstanceUserArn</code> of the user that makes the API call as the value in
|
|
483
471
|
* the header.</p>
|
|
484
472
|
* </note>
|
|
485
|
-
*
|
|
486
473
|
* <p>If you want to list the channels to which a specific app instance user belongs, see the
|
|
487
474
|
* <a href="https://docs.aws.amazon.com/chime/latest/APIReference/API_messaging-chime_ListChannelMembershipsForAppInstanceUser.html">ListChannelMembershipsForAppInstanceUser</a> API.</p>
|
|
488
475
|
*/
|
|
@@ -492,7 +479,6 @@ export declare class ChimeSDKMessaging extends ChimeSDKMessagingClient {
|
|
|
492
479
|
/**
|
|
493
480
|
* <p> Lists all channels that a particular <code>AppInstanceUser</code> is a part of. Only an
|
|
494
481
|
* <code>AppInstanceAdmin</code> can call the API with a user ARN that is not their own. </p>
|
|
495
|
-
*
|
|
496
482
|
* <note>
|
|
497
483
|
* <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
|
|
498
484
|
* <code>AppInstanceUserArn</code> of the user that makes the API call as the value in
|
|
@@ -532,7 +518,6 @@ export declare class ChimeSDKMessaging extends ChimeSDKMessagingClient {
|
|
|
532
518
|
/**
|
|
533
519
|
* <p>Lists all Channels created under a single Chime App as a paginated list. You can specify
|
|
534
520
|
* filters to narrow results.</p>
|
|
535
|
-
*
|
|
536
521
|
* <p class="title">
|
|
537
522
|
* <b>Functionality & restrictions</b>
|
|
538
523
|
* </p>
|
|
@@ -546,7 +531,6 @@ export declare class ChimeSDKMessaging extends ChimeSDKMessagingClient {
|
|
|
546
531
|
* list the private channels in an account.</p>
|
|
547
532
|
* </li>
|
|
548
533
|
* </ul>
|
|
549
|
-
*
|
|
550
534
|
* <note>
|
|
551
535
|
* <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
|
|
552
536
|
* <code>AppInstanceUserArn</code> of the user that makes the API call as the value in
|
|
@@ -564,7 +548,6 @@ export declare class ChimeSDKMessaging extends ChimeSDKMessagingClient {
|
|
|
564
548
|
listChannelsAssociatedWithChannelFlow(args: ListChannelsAssociatedWithChannelFlowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListChannelsAssociatedWithChannelFlowCommandOutput) => void): void;
|
|
565
549
|
/**
|
|
566
550
|
* <p>A list of the channels moderated by an <code>AppInstanceUser</code>.</p>
|
|
567
|
-
*
|
|
568
551
|
* <note>
|
|
569
552
|
* <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
|
|
570
553
|
* <code>AppInstanceUserArn</code> of the user that makes the API call as the value in
|
|
@@ -594,10 +577,16 @@ export declare class ChimeSDKMessaging extends ChimeSDKMessagingClient {
|
|
|
594
577
|
putChannelMembershipPreferences(args: PutChannelMembershipPreferencesCommandInput, options?: __HttpHandlerOptions): Promise<PutChannelMembershipPreferencesCommandOutput>;
|
|
595
578
|
putChannelMembershipPreferences(args: PutChannelMembershipPreferencesCommandInput, cb: (err: any, data?: PutChannelMembershipPreferencesCommandOutput) => void): void;
|
|
596
579
|
putChannelMembershipPreferences(args: PutChannelMembershipPreferencesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutChannelMembershipPreferencesCommandOutput) => void): void;
|
|
580
|
+
/**
|
|
581
|
+
* <p>Sets the data streaming configuration for an <code>AppInstance</code>. For more information, see
|
|
582
|
+
* <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/streaming-export.html">Streaming messaging data</a> in the <i>Amazon Chime SDK Developer Guide</i>.</p>
|
|
583
|
+
*/
|
|
584
|
+
putMessagingStreamingConfigurations(args: PutMessagingStreamingConfigurationsCommandInput, options?: __HttpHandlerOptions): Promise<PutMessagingStreamingConfigurationsCommandOutput>;
|
|
585
|
+
putMessagingStreamingConfigurations(args: PutMessagingStreamingConfigurationsCommandInput, cb: (err: any, data?: PutMessagingStreamingConfigurationsCommandOutput) => void): void;
|
|
586
|
+
putMessagingStreamingConfigurations(args: PutMessagingStreamingConfigurationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutMessagingStreamingConfigurationsCommandOutput) => void): void;
|
|
597
587
|
/**
|
|
598
588
|
* <p>Redacts message content, but not metadata. The message exists in the back end, but the
|
|
599
589
|
* action returns null content, and the state shows as redacted.</p>
|
|
600
|
-
*
|
|
601
590
|
* <note>
|
|
602
591
|
* <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
|
|
603
592
|
* <code>AppInstanceUserArn</code> of the user that makes the API call as the value in
|
|
@@ -615,12 +604,10 @@ export declare class ChimeSDKMessaging extends ChimeSDKMessagingClient {
|
|
|
615
604
|
searchChannels(args: SearchChannelsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchChannelsCommandOutput) => void): void;
|
|
616
605
|
/**
|
|
617
606
|
* <p>Sends a message to a particular channel that the member is a part of.</p>
|
|
618
|
-
*
|
|
619
607
|
* <note>
|
|
620
608
|
* <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
|
|
621
609
|
* <code>AppInstanceUserArn</code> of the user that makes the API call as the value in
|
|
622
610
|
* the header.</p>
|
|
623
|
-
*
|
|
624
611
|
* <p>Also, <code>STANDARD</code> messages can contain 4KB of data and the 1KB of metadata.
|
|
625
612
|
* <code>CONTROL</code> messages can contain 30 bytes of data and no metadata.</p>
|
|
626
613
|
* </note>
|
|
@@ -661,7 +648,6 @@ export declare class ChimeSDKMessaging extends ChimeSDKMessagingClient {
|
|
|
661
648
|
updateChannelFlow(args: UpdateChannelFlowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateChannelFlowCommandOutput) => void): void;
|
|
662
649
|
/**
|
|
663
650
|
* <p>Updates the content of a message.</p>
|
|
664
|
-
*
|
|
665
651
|
* <note>
|
|
666
652
|
* <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
|
|
667
653
|
* <code>AppInstanceUserArn</code> of the user that makes the API call as the value in
|
|
@@ -673,7 +659,6 @@ export declare class ChimeSDKMessaging extends ChimeSDKMessagingClient {
|
|
|
673
659
|
updateChannelMessage(args: UpdateChannelMessageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateChannelMessageCommandOutput) => void): void;
|
|
674
660
|
/**
|
|
675
661
|
* <p>The details of the time when a user last read messages in a channel.</p>
|
|
676
|
-
*
|
|
677
662
|
* <note>
|
|
678
663
|
* <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the
|
|
679
664
|
* <code>AppInstanceUserArn</code> of the user that makes the API call as the value in
|