You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(client-chime-sdk-messaging): This release adds support for searching channels by members via the SearchChannels API, removes required restrictions for Name and Mode in UpdateChannel API and enhances CreateChannel API by exposing member and moderator list as well as channel id as optional parameters.
@@ -1774,6 +1778,39 @@ export class ChimeSDKMessaging extends ChimeSDKMessagingClient {
1774
1778
}
1775
1779
}
1776
1780
1781
+
/**
1782
+
* <p>Allows an <code>AppInstanceUser</code> to search the channels that they belong to. The <code>AppInstanceUser</code> can search by membership or external ID.
1783
+
* An <code>AppInstanceAdmin</code> can search across all channels within the <code>AppInstance</code>.</p>
* <p>Allows an <code>AppInstanceUser</code> to search the channels that they belong to. The <code>AppInstanceUser</code> can search by membership or external ID.
31
+
* An <code>AppInstanceAdmin</code> can search across all channels within the <code>AppInstance</code>.</p>
32
+
* @example
33
+
* Use a bare-bones client and the command you need to make an API call.
34
+
* ```javascript
35
+
* import { ChimeSDKMessagingClient, SearchChannelsCommand } from "@aws-sdk/client-chime-sdk-messaging"; // ES Modules import
* <p>A <code>Field</code> of the channel that you want to search.</p>
3103
+
*/
3104
+
exportinterfaceSearchField{
3105
+
/**
3106
+
* <p>An <code>enum</code> value that indicates the key to search the channel on. <code>MEMBERS</code> allows you to search channels based on memberships. You can use it with the <code>EQUALS</code>
3107
+
* operator to get channels whose memberships are equal to the specified values, and with the <code>INCLUDES</code> operator to get channels whose memberships include the specified values.</p>
3108
+
*/
3109
+
Key: SearchFieldKey|string|undefined;
3110
+
3111
+
/**
3112
+
* <p>The values that you want to search for, a list of strings. The values must be <code>AppInstanceUserArns</code> specified as a list of strings.</p>
3113
+
* <note>
3114
+
* <p>This operation isn't supported for <code>AppInstanceUsers</code> with large number of memberships.</p>
3115
+
* </note>
3116
+
*/
3117
+
Values: string[]|undefined;
3118
+
3119
+
/**
3120
+
* <p>The operator used to compare field values, currently <code>EQUALS</code> or <code>INCLUDES</code>. Use the <code>EQUALS</code> operator to find channels whose memberships equal the specified values.
3121
+
* Use the <code>INCLUDES</code> operator to find channels whose memberships include the specified values.</p>
0 commit comments