aws-sdk-chimesdkmessaging 1.10.0 → 1.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-chimesdkmessaging/client.rb +77 -5
- data/lib/aws-sdk-chimesdkmessaging/client_api.rb +60 -2
- data/lib/aws-sdk-chimesdkmessaging/types.rb +135 -8
- data/lib/aws-sdk-chimesdkmessaging.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 76a2a68d1bf0d4445c897c154ebf12e1c74abb919c8ebb5efefdb71589e704df
|
4
|
+
data.tar.gz: 5e25df9a65446f152144c4e05d88428ffb730c049307cbd3ae83347111afc35d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd1aa883bc7b13bdc29377ca7b16e4865d211dcdc9e31c283a2977b9d50c27e5972740cdeb395620cffe1617c86582993e4c1ae984ab40f0a84c40955cc59104
|
7
|
+
data.tar.gz: 7642b4d402296a4c2464881b93965289d6c8ce273533284b1bb0e6903d582b761e6177b56bc6dd8ec9bb4642fa9ed05e6330d19dc71fbf285a66b786d903599c
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.11.0 (2022-06-06)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - 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.
|
8
|
+
|
4
9
|
1.10.0 (2022-02-24)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.11.0
|
@@ -559,6 +559,15 @@ module Aws::ChimeSDKMessaging
|
|
559
559
|
# @option params [required, String] :chime_bearer
|
560
560
|
# The `AppInstanceUserArn` of the user that makes the API call.
|
561
561
|
#
|
562
|
+
# @option params [String] :channel_id
|
563
|
+
# The ID of the channel in the request.
|
564
|
+
#
|
565
|
+
# @option params [Array<String>] :member_arns
|
566
|
+
# The ARNs of the channel members in the request.
|
567
|
+
#
|
568
|
+
# @option params [Array<String>] :moderator_arns
|
569
|
+
# The ARNs of the channel moderators in the request.
|
570
|
+
#
|
562
571
|
# @return [Types::CreateChannelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
563
572
|
#
|
564
573
|
# * {Types::CreateChannelResponse#channel_arn #channel_arn} => String
|
@@ -579,6 +588,9 @@ module Aws::ChimeSDKMessaging
|
|
579
588
|
# },
|
580
589
|
# ],
|
581
590
|
# chime_bearer: "ChimeArn", # required
|
591
|
+
# channel_id: "ChannelId",
|
592
|
+
# member_arns: ["ChimeArn"],
|
593
|
+
# moderator_arns: ["ChimeArn"],
|
582
594
|
# })
|
583
595
|
#
|
584
596
|
# @example Response structure
|
@@ -2314,6 +2326,66 @@ module Aws::ChimeSDKMessaging
|
|
2314
2326
|
req.send_request(options)
|
2315
2327
|
end
|
2316
2328
|
|
2329
|
+
# Allows an `AppInstanceUser` to search the channels that they belong
|
2330
|
+
# to. The `AppInstanceUser` can search by membership or external ID. An
|
2331
|
+
# `AppInstanceAdmin` can search across all channels within the
|
2332
|
+
# `AppInstance`.
|
2333
|
+
#
|
2334
|
+
# @option params [String] :chime_bearer
|
2335
|
+
# The `AppInstanceUserArn` of the user making the API call.
|
2336
|
+
#
|
2337
|
+
# @option params [required, Array<Types::SearchField>] :fields
|
2338
|
+
# A list of the `Field` objects in the channel being searched.
|
2339
|
+
#
|
2340
|
+
# @option params [Integer] :max_results
|
2341
|
+
# The maximum number of channels that you want returned.
|
2342
|
+
#
|
2343
|
+
# @option params [String] :next_token
|
2344
|
+
# The token returned from previous API requests until the number of
|
2345
|
+
# channels is reached.
|
2346
|
+
#
|
2347
|
+
# @return [Types::SearchChannelsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2348
|
+
#
|
2349
|
+
# * {Types::SearchChannelsResponse#channels #channels} => Array<Types::ChannelSummary>
|
2350
|
+
# * {Types::SearchChannelsResponse#next_token #next_token} => String
|
2351
|
+
#
|
2352
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2353
|
+
#
|
2354
|
+
# @example Request syntax with placeholder values
|
2355
|
+
#
|
2356
|
+
# resp = client.search_channels({
|
2357
|
+
# chime_bearer: "ChimeArn",
|
2358
|
+
# fields: [ # required
|
2359
|
+
# {
|
2360
|
+
# key: "MEMBERS", # required, accepts MEMBERS
|
2361
|
+
# values: ["SearchFieldValue"], # required
|
2362
|
+
# operator: "EQUALS", # required, accepts EQUALS, INCLUDES
|
2363
|
+
# },
|
2364
|
+
# ],
|
2365
|
+
# max_results: 1,
|
2366
|
+
# next_token: "NextToken",
|
2367
|
+
# })
|
2368
|
+
#
|
2369
|
+
# @example Response structure
|
2370
|
+
#
|
2371
|
+
# resp.channels #=> Array
|
2372
|
+
# resp.channels[0].name #=> String
|
2373
|
+
# resp.channels[0].channel_arn #=> String
|
2374
|
+
# resp.channels[0].mode #=> String, one of "UNRESTRICTED", "RESTRICTED"
|
2375
|
+
# resp.channels[0].privacy #=> String, one of "PUBLIC", "PRIVATE"
|
2376
|
+
# resp.channels[0].metadata #=> String
|
2377
|
+
# resp.channels[0].last_message_timestamp #=> Time
|
2378
|
+
# resp.next_token #=> String
|
2379
|
+
#
|
2380
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/SearchChannels AWS API Documentation
|
2381
|
+
#
|
2382
|
+
# @overload search_channels(params = {})
|
2383
|
+
# @param [Hash] params ({})
|
2384
|
+
def search_channels(params = {}, options = {})
|
2385
|
+
req = build_request(:search_channels, params)
|
2386
|
+
req.send_request(options)
|
2387
|
+
end
|
2388
|
+
|
2317
2389
|
# Sends a message to a particular channel that the member is a part of.
|
2318
2390
|
#
|
2319
2391
|
# <note markdown="1"> The `x-amz-chime-bearer` request header is mandatory. Use the
|
@@ -2474,10 +2546,10 @@ module Aws::ChimeSDKMessaging
|
|
2474
2546
|
# @option params [required, String] :channel_arn
|
2475
2547
|
# The ARN of the channel.
|
2476
2548
|
#
|
2477
|
-
# @option params [
|
2549
|
+
# @option params [String] :name
|
2478
2550
|
# The name of the channel.
|
2479
2551
|
#
|
2480
|
-
# @option params [
|
2552
|
+
# @option params [String] :mode
|
2481
2553
|
# The mode of the update request.
|
2482
2554
|
#
|
2483
2555
|
# @option params [String] :metadata
|
@@ -2494,8 +2566,8 @@ module Aws::ChimeSDKMessaging
|
|
2494
2566
|
#
|
2495
2567
|
# resp = client.update_channel({
|
2496
2568
|
# channel_arn: "ChimeArn", # required
|
2497
|
-
# name: "NonEmptyResourceName",
|
2498
|
-
# mode: "UNRESTRICTED", #
|
2569
|
+
# name: "NonEmptyResourceName",
|
2570
|
+
# mode: "UNRESTRICTED", # accepts UNRESTRICTED, RESTRICTED
|
2499
2571
|
# metadata: "Metadata",
|
2500
2572
|
# chime_bearer: "ChimeArn", # required
|
2501
2573
|
# })
|
@@ -2667,7 +2739,7 @@ module Aws::ChimeSDKMessaging
|
|
2667
2739
|
params: params,
|
2668
2740
|
config: config)
|
2669
2741
|
context[:gem_name] = 'aws-sdk-chimesdkmessaging'
|
2670
|
-
context[:gem_version] = '1.
|
2742
|
+
context[:gem_version] = '1.11.0'
|
2671
2743
|
Seahorse::Client::Request.new(handlers, context)
|
2672
2744
|
end
|
2673
2745
|
|
@@ -35,6 +35,8 @@ module Aws::ChimeSDKMessaging
|
|
35
35
|
ChannelFlowExecutionOrder = Shapes::IntegerShape.new(name: 'ChannelFlowExecutionOrder')
|
36
36
|
ChannelFlowSummary = Shapes::StructureShape.new(name: 'ChannelFlowSummary')
|
37
37
|
ChannelFlowSummaryList = Shapes::ListShape.new(name: 'ChannelFlowSummaryList')
|
38
|
+
ChannelId = Shapes::StringShape.new(name: 'ChannelId')
|
39
|
+
ChannelMemberArns = Shapes::ListShape.new(name: 'ChannelMemberArns')
|
38
40
|
ChannelMembership = Shapes::StructureShape.new(name: 'ChannelMembership')
|
39
41
|
ChannelMembershipForAppInstanceUserSummary = Shapes::StructureShape.new(name: 'ChannelMembershipForAppInstanceUserSummary')
|
40
42
|
ChannelMembershipForAppInstanceUserSummaryList = Shapes::ListShape.new(name: 'ChannelMembershipForAppInstanceUserSummaryList')
|
@@ -54,6 +56,7 @@ module Aws::ChimeSDKMessaging
|
|
54
56
|
ChannelModeratedByAppInstanceUserSummary = Shapes::StructureShape.new(name: 'ChannelModeratedByAppInstanceUserSummary')
|
55
57
|
ChannelModeratedByAppInstanceUserSummaryList = Shapes::ListShape.new(name: 'ChannelModeratedByAppInstanceUserSummaryList')
|
56
58
|
ChannelModerator = Shapes::StructureShape.new(name: 'ChannelModerator')
|
59
|
+
ChannelModeratorArns = Shapes::ListShape.new(name: 'ChannelModeratorArns')
|
57
60
|
ChannelModeratorSummary = Shapes::StructureShape.new(name: 'ChannelModeratorSummary')
|
58
61
|
ChannelModeratorSummaryList = Shapes::ListShape.new(name: 'ChannelModeratorSummaryList')
|
59
62
|
ChannelPrivacy = Shapes::StringShape.new(name: 'ChannelPrivacy')
|
@@ -160,6 +163,14 @@ module Aws::ChimeSDKMessaging
|
|
160
163
|
RedactChannelMessageResponse = Shapes::StructureShape.new(name: 'RedactChannelMessageResponse')
|
161
164
|
ResourceLimitExceededException = Shapes::StructureShape.new(name: 'ResourceLimitExceededException')
|
162
165
|
ResourceName = Shapes::StringShape.new(name: 'ResourceName')
|
166
|
+
SearchChannelsRequest = Shapes::StructureShape.new(name: 'SearchChannelsRequest')
|
167
|
+
SearchChannelsResponse = Shapes::StructureShape.new(name: 'SearchChannelsResponse')
|
168
|
+
SearchField = Shapes::StructureShape.new(name: 'SearchField')
|
169
|
+
SearchFieldKey = Shapes::StringShape.new(name: 'SearchFieldKey')
|
170
|
+
SearchFieldOperator = Shapes::StringShape.new(name: 'SearchFieldOperator')
|
171
|
+
SearchFieldValue = Shapes::StringShape.new(name: 'SearchFieldValue')
|
172
|
+
SearchFieldValues = Shapes::ListShape.new(name: 'SearchFieldValues')
|
173
|
+
SearchFields = Shapes::ListShape.new(name: 'SearchFields')
|
163
174
|
SendChannelMessageRequest = Shapes::StructureShape.new(name: 'SendChannelMessageRequest')
|
164
175
|
SendChannelMessageResponse = Shapes::StructureShape.new(name: 'SendChannelMessageResponse')
|
165
176
|
ServiceFailureException = Shapes::StructureShape.new(name: 'ServiceFailureException')
|
@@ -279,6 +290,8 @@ module Aws::ChimeSDKMessaging
|
|
279
290
|
|
280
291
|
ChannelFlowSummaryList.member = Shapes::ShapeRef.new(shape: ChannelFlowSummary)
|
281
292
|
|
293
|
+
ChannelMemberArns.member = Shapes::ShapeRef.new(shape: ChimeArn)
|
294
|
+
|
282
295
|
ChannelMembership.add_member(:invited_by, Shapes::ShapeRef.new(shape: Identity, location_name: "InvitedBy"))
|
283
296
|
ChannelMembership.add_member(:type, Shapes::ShapeRef.new(shape: ChannelMembershipType, location_name: "Type"))
|
284
297
|
ChannelMembership.add_member(:member, Shapes::ShapeRef.new(shape: Identity, location_name: "Member"))
|
@@ -353,6 +366,8 @@ module Aws::ChimeSDKMessaging
|
|
353
366
|
ChannelModerator.add_member(:created_by, Shapes::ShapeRef.new(shape: Identity, location_name: "CreatedBy"))
|
354
367
|
ChannelModerator.struct_class = Types::ChannelModerator
|
355
368
|
|
369
|
+
ChannelModeratorArns.member = Shapes::ShapeRef.new(shape: ChimeArn)
|
370
|
+
|
356
371
|
ChannelModeratorSummary.add_member(:moderator, Shapes::ShapeRef.new(shape: Identity, location_name: "Moderator"))
|
357
372
|
ChannelModeratorSummary.struct_class = Types::ChannelModeratorSummary
|
358
373
|
|
@@ -418,6 +433,9 @@ module Aws::ChimeSDKMessaging
|
|
418
433
|
CreateChannelRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, required: true, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
|
419
434
|
CreateChannelRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
420
435
|
CreateChannelRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
|
436
|
+
CreateChannelRequest.add_member(:channel_id, Shapes::ShapeRef.new(shape: ChannelId, location_name: "ChannelId"))
|
437
|
+
CreateChannelRequest.add_member(:member_arns, Shapes::ShapeRef.new(shape: ChannelMemberArns, location_name: "MemberArns"))
|
438
|
+
CreateChannelRequest.add_member(:moderator_arns, Shapes::ShapeRef.new(shape: ChannelModeratorArns, location_name: "ModeratorArns"))
|
421
439
|
CreateChannelRequest.struct_class = Types::CreateChannelRequest
|
422
440
|
|
423
441
|
CreateChannelResponse.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "ChannelArn"))
|
@@ -717,6 +735,25 @@ module Aws::ChimeSDKMessaging
|
|
717
735
|
ResourceLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
718
736
|
ResourceLimitExceededException.struct_class = Types::ResourceLimitExceededException
|
719
737
|
|
738
|
+
SearchChannelsRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, location: "header", location_name: "x-amz-chime-bearer"))
|
739
|
+
SearchChannelsRequest.add_member(:fields, Shapes::ShapeRef.new(shape: SearchFields, required: true, location_name: "Fields"))
|
740
|
+
SearchChannelsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "max-results"))
|
741
|
+
SearchChannelsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "next-token"))
|
742
|
+
SearchChannelsRequest.struct_class = Types::SearchChannelsRequest
|
743
|
+
|
744
|
+
SearchChannelsResponse.add_member(:channels, Shapes::ShapeRef.new(shape: ChannelSummaryList, location_name: "Channels"))
|
745
|
+
SearchChannelsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
746
|
+
SearchChannelsResponse.struct_class = Types::SearchChannelsResponse
|
747
|
+
|
748
|
+
SearchField.add_member(:key, Shapes::ShapeRef.new(shape: SearchFieldKey, required: true, location_name: "Key"))
|
749
|
+
SearchField.add_member(:values, Shapes::ShapeRef.new(shape: SearchFieldValues, required: true, location_name: "Values"))
|
750
|
+
SearchField.add_member(:operator, Shapes::ShapeRef.new(shape: SearchFieldOperator, required: true, location_name: "Operator"))
|
751
|
+
SearchField.struct_class = Types::SearchField
|
752
|
+
|
753
|
+
SearchFieldValues.member = Shapes::ShapeRef.new(shape: SearchFieldValue)
|
754
|
+
|
755
|
+
SearchFields.member = Shapes::ShapeRef.new(shape: SearchField)
|
756
|
+
|
720
757
|
SendChannelMessageRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
721
758
|
SendChannelMessageRequest.add_member(:content, Shapes::ShapeRef.new(shape: NonEmptyContent, required: true, location_name: "Content"))
|
722
759
|
SendChannelMessageRequest.add_member(:type, Shapes::ShapeRef.new(shape: ChannelMessageType, required: true, location_name: "Type"))
|
@@ -793,8 +830,8 @@ module Aws::ChimeSDKMessaging
|
|
793
830
|
UpdateChannelReadMarkerResponse.struct_class = Types::UpdateChannelReadMarkerResponse
|
794
831
|
|
795
832
|
UpdateChannelRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
796
|
-
UpdateChannelRequest.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyResourceName,
|
797
|
-
UpdateChannelRequest.add_member(:mode, Shapes::ShapeRef.new(shape: ChannelMode,
|
833
|
+
UpdateChannelRequest.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyResourceName, location_name: "Name"))
|
834
|
+
UpdateChannelRequest.add_member(:mode, Shapes::ShapeRef.new(shape: ChannelMode, location_name: "Mode"))
|
798
835
|
UpdateChannelRequest.add_member(:metadata, Shapes::ShapeRef.new(shape: Metadata, location_name: "Metadata"))
|
799
836
|
UpdateChannelRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
|
800
837
|
UpdateChannelRequest.struct_class = Types::UpdateChannelRequest
|
@@ -1420,12 +1457,33 @@ module Aws::ChimeSDKMessaging
|
|
1420
1457
|
o.output = Shapes::ShapeRef.new(shape: RedactChannelMessageResponse)
|
1421
1458
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1422
1459
|
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1460
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1423
1461
|
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
1424
1462
|
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
1425
1463
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1426
1464
|
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
1427
1465
|
end)
|
1428
1466
|
|
1467
|
+
api.add_operation(:search_channels, Seahorse::Model::Operation.new.tap do |o|
|
1468
|
+
o.name = "SearchChannels"
|
1469
|
+
o.http_method = "POST"
|
1470
|
+
o.http_request_uri = "/channels?operation=search"
|
1471
|
+
o.input = Shapes::ShapeRef.new(shape: SearchChannelsRequest)
|
1472
|
+
o.output = Shapes::ShapeRef.new(shape: SearchChannelsResponse)
|
1473
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1474
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1475
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
1476
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
1477
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1478
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
1479
|
+
o[:pager] = Aws::Pager.new(
|
1480
|
+
limit_key: "max_results",
|
1481
|
+
tokens: {
|
1482
|
+
"next_token" => "next_token"
|
1483
|
+
}
|
1484
|
+
)
|
1485
|
+
end)
|
1486
|
+
|
1429
1487
|
api.add_operation(:send_channel_message, Seahorse::Model::Operation.new.tap do |o|
|
1430
1488
|
o.name = "SendChannelMessage"
|
1431
1489
|
o.http_method = "POST"
|
@@ -17,7 +17,8 @@ module Aws::ChimeSDKMessaging
|
|
17
17
|
# @return [String]
|
18
18
|
#
|
19
19
|
# @!attribute [rw] read_marker_timestamp
|
20
|
-
# The time at which
|
20
|
+
# The time at which an `AppInstanceUser` last marked a channel as
|
21
|
+
# read.
|
21
22
|
# @return [Time]
|
22
23
|
#
|
23
24
|
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/AppInstanceUserMembershipSummary AWS API Documentation
|
@@ -1129,6 +1130,9 @@ module Aws::ChimeSDKMessaging
|
|
1129
1130
|
# },
|
1130
1131
|
# ],
|
1131
1132
|
# chime_bearer: "ChimeArn", # required
|
1133
|
+
# channel_id: "ChannelId",
|
1134
|
+
# member_arns: ["ChimeArn"],
|
1135
|
+
# moderator_arns: ["ChimeArn"],
|
1132
1136
|
# }
|
1133
1137
|
#
|
1134
1138
|
# @!attribute [rw] app_instance_arn
|
@@ -1171,6 +1175,18 @@ module Aws::ChimeSDKMessaging
|
|
1171
1175
|
# The `AppInstanceUserArn` of the user that makes the API call.
|
1172
1176
|
# @return [String]
|
1173
1177
|
#
|
1178
|
+
# @!attribute [rw] channel_id
|
1179
|
+
# The ID of the channel in the request.
|
1180
|
+
# @return [String]
|
1181
|
+
#
|
1182
|
+
# @!attribute [rw] member_arns
|
1183
|
+
# The ARNs of the channel members in the request.
|
1184
|
+
# @return [Array<String>]
|
1185
|
+
#
|
1186
|
+
# @!attribute [rw] moderator_arns
|
1187
|
+
# The ARNs of the channel moderators in the request.
|
1188
|
+
# @return [Array<String>]
|
1189
|
+
#
|
1174
1190
|
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelRequest AWS API Documentation
|
1175
1191
|
#
|
1176
1192
|
class CreateChannelRequest < Struct.new(
|
@@ -1181,8 +1197,11 @@ module Aws::ChimeSDKMessaging
|
|
1181
1197
|
:metadata,
|
1182
1198
|
:client_request_token,
|
1183
1199
|
:tags,
|
1184
|
-
:chime_bearer
|
1185
|
-
|
1200
|
+
:chime_bearer,
|
1201
|
+
:channel_id,
|
1202
|
+
:member_arns,
|
1203
|
+
:moderator_arns)
|
1204
|
+
SENSITIVE = [:name, :metadata, :client_request_token, :channel_id]
|
1186
1205
|
include Aws::Structure
|
1187
1206
|
end
|
1188
1207
|
|
@@ -2051,8 +2070,7 @@ module Aws::ChimeSDKMessaging
|
|
2051
2070
|
end
|
2052
2071
|
|
2053
2072
|
# @!attribute [rw] channel_memberships
|
2054
|
-
# The
|
2055
|
-
# returned.
|
2073
|
+
# The information for the requested channel memberships.
|
2056
2074
|
# @return [Array<Types::ChannelMembershipForAppInstanceUserSummary>]
|
2057
2075
|
#
|
2058
2076
|
# @!attribute [rw] next_token
|
@@ -2666,7 +2684,7 @@ module Aws::ChimeSDKMessaging
|
|
2666
2684
|
#
|
2667
2685
|
# @!attribute [rw] filter_rule
|
2668
2686
|
# The simple JSON object used to send a subset of a push notification
|
2669
|
-
# to the
|
2687
|
+
# to the requested member.
|
2670
2688
|
# @return [String]
|
2671
2689
|
#
|
2672
2690
|
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/PushNotificationPreferences AWS API Documentation
|
@@ -2809,6 +2827,115 @@ module Aws::ChimeSDKMessaging
|
|
2809
2827
|
include Aws::Structure
|
2810
2828
|
end
|
2811
2829
|
|
2830
|
+
# @note When making an API call, you may pass SearchChannelsRequest
|
2831
|
+
# data as a hash:
|
2832
|
+
#
|
2833
|
+
# {
|
2834
|
+
# chime_bearer: "ChimeArn",
|
2835
|
+
# fields: [ # required
|
2836
|
+
# {
|
2837
|
+
# key: "MEMBERS", # required, accepts MEMBERS
|
2838
|
+
# values: ["SearchFieldValue"], # required
|
2839
|
+
# operator: "EQUALS", # required, accepts EQUALS, INCLUDES
|
2840
|
+
# },
|
2841
|
+
# ],
|
2842
|
+
# max_results: 1,
|
2843
|
+
# next_token: "NextToken",
|
2844
|
+
# }
|
2845
|
+
#
|
2846
|
+
# @!attribute [rw] chime_bearer
|
2847
|
+
# The `AppInstanceUserArn` of the user making the API call.
|
2848
|
+
# @return [String]
|
2849
|
+
#
|
2850
|
+
# @!attribute [rw] fields
|
2851
|
+
# A list of the `Field` objects in the channel being searched.
|
2852
|
+
# @return [Array<Types::SearchField>]
|
2853
|
+
#
|
2854
|
+
# @!attribute [rw] max_results
|
2855
|
+
# The maximum number of channels that you want returned.
|
2856
|
+
# @return [Integer]
|
2857
|
+
#
|
2858
|
+
# @!attribute [rw] next_token
|
2859
|
+
# The token returned from previous API requests until the number of
|
2860
|
+
# channels is reached.
|
2861
|
+
# @return [String]
|
2862
|
+
#
|
2863
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/SearchChannelsRequest AWS API Documentation
|
2864
|
+
#
|
2865
|
+
class SearchChannelsRequest < Struct.new(
|
2866
|
+
:chime_bearer,
|
2867
|
+
:fields,
|
2868
|
+
:max_results,
|
2869
|
+
:next_token)
|
2870
|
+
SENSITIVE = [:next_token]
|
2871
|
+
include Aws::Structure
|
2872
|
+
end
|
2873
|
+
|
2874
|
+
# @!attribute [rw] channels
|
2875
|
+
# A list of the channels in the request.
|
2876
|
+
# @return [Array<Types::ChannelSummary>]
|
2877
|
+
#
|
2878
|
+
# @!attribute [rw] next_token
|
2879
|
+
# The token returned from previous API responses until the number of
|
2880
|
+
# channels is reached.
|
2881
|
+
# @return [String]
|
2882
|
+
#
|
2883
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/SearchChannelsResponse AWS API Documentation
|
2884
|
+
#
|
2885
|
+
class SearchChannelsResponse < Struct.new(
|
2886
|
+
:channels,
|
2887
|
+
:next_token)
|
2888
|
+
SENSITIVE = [:next_token]
|
2889
|
+
include Aws::Structure
|
2890
|
+
end
|
2891
|
+
|
2892
|
+
# A `Field` of the channel that you want to search.
|
2893
|
+
#
|
2894
|
+
# @note When making an API call, you may pass SearchField
|
2895
|
+
# data as a hash:
|
2896
|
+
#
|
2897
|
+
# {
|
2898
|
+
# key: "MEMBERS", # required, accepts MEMBERS
|
2899
|
+
# values: ["SearchFieldValue"], # required
|
2900
|
+
# operator: "EQUALS", # required, accepts EQUALS, INCLUDES
|
2901
|
+
# }
|
2902
|
+
#
|
2903
|
+
# @!attribute [rw] key
|
2904
|
+
# An `enum` value that indicates the key to search the channel on.
|
2905
|
+
# `MEMBERS` allows you to search channels based on memberships. You
|
2906
|
+
# can use it with the `EQUALS` operator to get channels whose
|
2907
|
+
# memberships are equal to the specified values, and with the
|
2908
|
+
# `INCLUDES` operator to get channels whose memberships include the
|
2909
|
+
# specified values.
|
2910
|
+
# @return [String]
|
2911
|
+
#
|
2912
|
+
# @!attribute [rw] values
|
2913
|
+
# The values that you want to search for, a list of strings. The
|
2914
|
+
# values must be `AppInstanceUserArns` specified as a list of strings.
|
2915
|
+
#
|
2916
|
+
# <note markdown="1"> This operation isn't supported for `AppInstanceUsers` with large
|
2917
|
+
# number of memberships.
|
2918
|
+
#
|
2919
|
+
# </note>
|
2920
|
+
# @return [Array<String>]
|
2921
|
+
#
|
2922
|
+
# @!attribute [rw] operator
|
2923
|
+
# The operator used to compare field values, currently `EQUALS` or
|
2924
|
+
# `INCLUDES`. Use the `EQUALS` operator to find channels whose
|
2925
|
+
# memberships equal the specified values. Use the `INCLUDES` operator
|
2926
|
+
# to find channels whose memberships include the specified values.
|
2927
|
+
# @return [String]
|
2928
|
+
#
|
2929
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/SearchField AWS API Documentation
|
2930
|
+
#
|
2931
|
+
class SearchField < Struct.new(
|
2932
|
+
:key,
|
2933
|
+
:values,
|
2934
|
+
:operator)
|
2935
|
+
SENSITIVE = []
|
2936
|
+
include Aws::Structure
|
2937
|
+
end
|
2938
|
+
|
2812
2939
|
# @note When making an API call, you may pass SendChannelMessageRequest
|
2813
2940
|
# data as a hash:
|
2814
2941
|
#
|
@@ -3223,8 +3350,8 @@ module Aws::ChimeSDKMessaging
|
|
3223
3350
|
#
|
3224
3351
|
# {
|
3225
3352
|
# channel_arn: "ChimeArn", # required
|
3226
|
-
# name: "NonEmptyResourceName",
|
3227
|
-
# mode: "UNRESTRICTED", #
|
3353
|
+
# name: "NonEmptyResourceName",
|
3354
|
+
# mode: "UNRESTRICTED", # accepts UNRESTRICTED, RESTRICTED
|
3228
3355
|
# metadata: "Metadata",
|
3229
3356
|
# chime_bearer: "ChimeArn", # required
|
3230
3357
|
# }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-chimesdkmessaging
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-06-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|