aws-sdk-chime 1.43.0 → 1.45.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-chime.rb +1 -1
- data/lib/aws-sdk-chime/client.rb +69 -13
- data/lib/aws-sdk-chime/client_api.rb +52 -0
- data/lib/aws-sdk-chime/types.rb +122 -9
- 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: fe6b45f7a78ca02b277f6a3c71747cd44e8982f8d467ffc3ac9f0a3083de50c5
|
4
|
+
data.tar.gz: 0e82af24f4b2899a8f0203970b11d0c4bbaefd0d6d22a11a047b4383d1513283
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d54e5c2003e5c1b7638ca9c0cca0cd467b7dc4cfc983a7f3e494165e33f64fdbadecd57c3dc8a9f5d9323e92ce7ff7c17434298187d5ea508db1d2e5e725c13
|
7
|
+
data.tar.gz: 91a3d88039c6f6bffa9b386640545bb3d814fda36df8f5abda6d17acb44423b5d4ef4e512ee7c9583aef1cc02b89d3a96214c52c55c95f3822726c5fbacecb60
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.45.0 (2021-05-03)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Added new BatchCreateChannelMembership API to support multiple membership creation for channels
|
8
|
+
|
9
|
+
1.44.0 (2021-05-03)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Added new BatchCreateChannelMembership API to support multiple membership creation for channels
|
13
|
+
|
4
14
|
1.43.0 (2021-04-29)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.45.0
|
data/lib/aws-sdk-chime.rb
CHANGED
data/lib/aws-sdk-chime/client.rb
CHANGED
@@ -530,6 +530,61 @@ module Aws::Chime
|
|
530
530
|
req.send_request(options)
|
531
531
|
end
|
532
532
|
|
533
|
+
# Adds a specified number of users to a channel.
|
534
|
+
#
|
535
|
+
# @option params [required, String] :channel_arn
|
536
|
+
# The ARN of the channel to which you're adding users.
|
537
|
+
#
|
538
|
+
# @option params [String] :type
|
539
|
+
# The membership type of a user, `DEFAULT` or `HIDDEN`. Default members
|
540
|
+
# are always returned as part of `ListChannelMemberships`. Hidden
|
541
|
+
# members are only returned if the type filter in
|
542
|
+
# `ListChannelMemberships` equals `HIDDEN`. Otherwise hidden members are
|
543
|
+
# not returned. This is only supported by moderators.
|
544
|
+
#
|
545
|
+
# @option params [required, Array<String>] :member_arns
|
546
|
+
# The ARNs of the members you want to add to the channel.
|
547
|
+
#
|
548
|
+
# @option params [String] :chime_bearer
|
549
|
+
# The `AppInstanceUserArn` of the user that makes the API call.
|
550
|
+
#
|
551
|
+
# @return [Types::BatchCreateChannelMembershipResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
552
|
+
#
|
553
|
+
# * {Types::BatchCreateChannelMembershipResponse#batch_channel_memberships #batch_channel_memberships} => Types::BatchChannelMemberships
|
554
|
+
# * {Types::BatchCreateChannelMembershipResponse#errors #errors} => Array<Types::BatchCreateChannelMembershipError>
|
555
|
+
#
|
556
|
+
# @example Request syntax with placeholder values
|
557
|
+
#
|
558
|
+
# resp = client.batch_create_channel_membership({
|
559
|
+
# channel_arn: "ChimeArn", # required
|
560
|
+
# type: "DEFAULT", # accepts DEFAULT, HIDDEN
|
561
|
+
# member_arns: ["ChimeArn"], # required
|
562
|
+
# chime_bearer: "ChimeArn",
|
563
|
+
# })
|
564
|
+
#
|
565
|
+
# @example Response structure
|
566
|
+
#
|
567
|
+
# resp.batch_channel_memberships.invited_by.arn #=> String
|
568
|
+
# resp.batch_channel_memberships.invited_by.name #=> String
|
569
|
+
# resp.batch_channel_memberships.type #=> String, one of "DEFAULT", "HIDDEN"
|
570
|
+
# resp.batch_channel_memberships.members #=> Array
|
571
|
+
# resp.batch_channel_memberships.members[0].arn #=> String
|
572
|
+
# resp.batch_channel_memberships.members[0].name #=> String
|
573
|
+
# resp.batch_channel_memberships.channel_arn #=> String
|
574
|
+
# resp.errors #=> Array
|
575
|
+
# resp.errors[0].member_arn #=> String
|
576
|
+
# resp.errors[0].error_code #=> String, one of "BadRequest", "Conflict", "Forbidden", "NotFound", "PreconditionFailed", "ResourceLimitExceeded", "ServiceFailure", "AccessDenied", "ServiceUnavailable", "Throttled", "Throttling", "Unauthorized", "Unprocessable", "VoiceConnectorGroupAssociationsExist", "PhoneNumberAssociationsExist"
|
577
|
+
# resp.errors[0].error_message #=> String
|
578
|
+
#
|
579
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchCreateChannelMembership AWS API Documentation
|
580
|
+
#
|
581
|
+
# @overload batch_create_channel_membership(params = {})
|
582
|
+
# @param [Hash] params ({})
|
583
|
+
def batch_create_channel_membership(params = {}, options = {})
|
584
|
+
req = build_request(:batch_create_channel_membership, params)
|
585
|
+
req.send_request(options)
|
586
|
+
end
|
587
|
+
|
533
588
|
# Adds up to 50 members to a chat room in an Amazon Chime Enterprise
|
534
589
|
# account. Members can be users or bots. The member role designates
|
535
590
|
# whether the member is a chat room administrator or a general chat room
|
@@ -1465,7 +1520,7 @@ module Aws::Chime
|
|
1465
1520
|
#
|
1466
1521
|
#
|
1467
1522
|
#
|
1468
|
-
# [1]: https://docs.aws.amazon.com/chime/latest/APIReference/
|
1523
|
+
# [1]: https://docs.aws.amazon.com/chime/latest/APIReference/API_CreateAttendee.html
|
1469
1524
|
#
|
1470
1525
|
# @return [Types::CreateMeetingDialOutResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1471
1526
|
#
|
@@ -1871,10 +1926,11 @@ module Aws::Chime
|
|
1871
1926
|
# `sipMediaApplicationId`.
|
1872
1927
|
#
|
1873
1928
|
# @option params [required, String] :from_phone_number
|
1874
|
-
# The phone number that a user calls from.
|
1929
|
+
# The phone number that a user calls from. This is a phone number in
|
1930
|
+
# your Amazon Chime phone number inventory.
|
1875
1931
|
#
|
1876
1932
|
# @option params [required, String] :to_phone_number
|
1877
|
-
# The phone number that the
|
1933
|
+
# The phone number that the service should call.
|
1878
1934
|
#
|
1879
1935
|
# @option params [required, String] :sip_media_application_id
|
1880
1936
|
# The ID of the SIP media application.
|
@@ -2257,10 +2313,10 @@ module Aws::Chime
|
|
2257
2313
|
end
|
2258
2314
|
|
2259
2315
|
# Deletes an attendee from the specified Amazon Chime SDK meeting and
|
2260
|
-
# deletes their `JoinToken
|
2316
|
+
# deletes their `JoinToken`. Attendees are automatically deleted when a
|
2261
2317
|
# Amazon Chime SDK meeting is deleted. For more information about the
|
2262
2318
|
# Amazon Chime SDK, see [Using the Amazon Chime SDK][1] in the *Amazon
|
2263
|
-
# Chime Developer Guide
|
2319
|
+
# Chime Developer Guide*.
|
2264
2320
|
#
|
2265
2321
|
#
|
2266
2322
|
#
|
@@ -2496,11 +2552,11 @@ module Aws::Chime
|
|
2496
2552
|
req.send_request(options)
|
2497
2553
|
end
|
2498
2554
|
|
2499
|
-
# Deletes the specified Amazon Chime SDK meeting.
|
2500
|
-
#
|
2501
|
-
#
|
2502
|
-
#
|
2503
|
-
#
|
2555
|
+
# Deletes the specified Amazon Chime SDK meeting. The operation deletes
|
2556
|
+
# all attendees, disconnects all clients, and prevents new clients from
|
2557
|
+
# joining the meeting. For more information about the Amazon Chime SDK,
|
2558
|
+
# see [Using the Amazon Chime SDK][1] in the *Amazon Chime Developer
|
2559
|
+
# Guide*.
|
2504
2560
|
#
|
2505
2561
|
#
|
2506
2562
|
#
|
@@ -4551,7 +4607,7 @@ module Aws::Chime
|
|
4551
4607
|
|
4552
4608
|
# Lists the Amazon Chime accounts under the administrator's AWS
|
4553
4609
|
# account. You can filter accounts by account name prefix. To find out
|
4554
|
-
# which Amazon Chime account a user belongs to,
|
4610
|
+
# which Amazon Chime account a user belongs to, you can filter by the
|
4555
4611
|
# user's email address, which returns one account result.
|
4556
4612
|
#
|
4557
4613
|
# @option params [String] :name
|
@@ -5195,7 +5251,7 @@ module Aws::Chime
|
|
5195
5251
|
# **Functionality & restrictions**
|
5196
5252
|
#
|
5197
5253
|
# * Use privacy = `PUBLIC` to retrieve all public channels in the
|
5198
|
-
# account
|
5254
|
+
# account.
|
5199
5255
|
#
|
5200
5256
|
# * Only an `AppInstanceAdmin` can set privacy = `PRIVATE` to list the
|
5201
5257
|
# private channels in an account.
|
@@ -8018,7 +8074,7 @@ module Aws::Chime
|
|
8018
8074
|
params: params,
|
8019
8075
|
config: config)
|
8020
8076
|
context[:gem_name] = 'aws-sdk-chime'
|
8021
|
-
context[:gem_version] = '1.
|
8077
|
+
context[:gem_version] = '1.45.0'
|
8022
8078
|
Seahorse::Client::Request.new(handlers, context)
|
8023
8079
|
end
|
8024
8080
|
|
@@ -50,9 +50,14 @@ module Aws::Chime
|
|
50
50
|
AttendeeTagKeyList = Shapes::ListShape.new(name: 'AttendeeTagKeyList')
|
51
51
|
AttendeeTagList = Shapes::ListShape.new(name: 'AttendeeTagList')
|
52
52
|
BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
|
53
|
+
BatchChannelMemberships = Shapes::StructureShape.new(name: 'BatchChannelMemberships')
|
53
54
|
BatchCreateAttendeeErrorList = Shapes::ListShape.new(name: 'BatchCreateAttendeeErrorList')
|
54
55
|
BatchCreateAttendeeRequest = Shapes::StructureShape.new(name: 'BatchCreateAttendeeRequest')
|
55
56
|
BatchCreateAttendeeResponse = Shapes::StructureShape.new(name: 'BatchCreateAttendeeResponse')
|
57
|
+
BatchCreateChannelMembershipError = Shapes::StructureShape.new(name: 'BatchCreateChannelMembershipError')
|
58
|
+
BatchCreateChannelMembershipErrors = Shapes::ListShape.new(name: 'BatchCreateChannelMembershipErrors')
|
59
|
+
BatchCreateChannelMembershipRequest = Shapes::StructureShape.new(name: 'BatchCreateChannelMembershipRequest')
|
60
|
+
BatchCreateChannelMembershipResponse = Shapes::StructureShape.new(name: 'BatchCreateChannelMembershipResponse')
|
56
61
|
BatchCreateRoomMembershipRequest = Shapes::StructureShape.new(name: 'BatchCreateRoomMembershipRequest')
|
57
62
|
BatchCreateRoomMembershipResponse = Shapes::StructureShape.new(name: 'BatchCreateRoomMembershipResponse')
|
58
63
|
BatchDeletePhoneNumberRequest = Shapes::StructureShape.new(name: 'BatchDeletePhoneNumberRequest')
|
@@ -370,9 +375,11 @@ module Aws::Chime
|
|
370
375
|
MeetingTagKeyList = Shapes::ListShape.new(name: 'MeetingTagKeyList')
|
371
376
|
MeetingTagList = Shapes::ListShape.new(name: 'MeetingTagList')
|
372
377
|
Member = Shapes::StructureShape.new(name: 'Member')
|
378
|
+
MemberArns = Shapes::ListShape.new(name: 'MemberArns')
|
373
379
|
MemberError = Shapes::StructureShape.new(name: 'MemberError')
|
374
380
|
MemberErrorList = Shapes::ListShape.new(name: 'MemberErrorList')
|
375
381
|
MemberType = Shapes::StringShape.new(name: 'MemberType')
|
382
|
+
Members = Shapes::ListShape.new(name: 'Members')
|
376
383
|
MembershipItem = Shapes::StructureShape.new(name: 'MembershipItem')
|
377
384
|
MembershipItemList = Shapes::ListShape.new(name: 'MembershipItemList')
|
378
385
|
MessageId = Shapes::StringShape.new(name: 'MessageId')
|
@@ -706,6 +713,12 @@ module Aws::Chime
|
|
706
713
|
BadRequestException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
707
714
|
BadRequestException.struct_class = Types::BadRequestException
|
708
715
|
|
716
|
+
BatchChannelMemberships.add_member(:invited_by, Shapes::ShapeRef.new(shape: Identity, location_name: "InvitedBy"))
|
717
|
+
BatchChannelMemberships.add_member(:type, Shapes::ShapeRef.new(shape: ChannelMembershipType, location_name: "Type"))
|
718
|
+
BatchChannelMemberships.add_member(:members, Shapes::ShapeRef.new(shape: Members, location_name: "Members"))
|
719
|
+
BatchChannelMemberships.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "ChannelArn"))
|
720
|
+
BatchChannelMemberships.struct_class = Types::BatchChannelMemberships
|
721
|
+
|
709
722
|
BatchCreateAttendeeErrorList.member = Shapes::ShapeRef.new(shape: CreateAttendeeError)
|
710
723
|
|
711
724
|
BatchCreateAttendeeRequest.add_member(:meeting_id, Shapes::ShapeRef.new(shape: GuidString, required: true, location: "uri", location_name: "meetingId"))
|
@@ -716,6 +729,23 @@ module Aws::Chime
|
|
716
729
|
BatchCreateAttendeeResponse.add_member(:errors, Shapes::ShapeRef.new(shape: BatchCreateAttendeeErrorList, location_name: "Errors"))
|
717
730
|
BatchCreateAttendeeResponse.struct_class = Types::BatchCreateAttendeeResponse
|
718
731
|
|
732
|
+
BatchCreateChannelMembershipError.add_member(:member_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "MemberArn"))
|
733
|
+
BatchCreateChannelMembershipError.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "ErrorCode"))
|
734
|
+
BatchCreateChannelMembershipError.add_member(:error_message, Shapes::ShapeRef.new(shape: String, location_name: "ErrorMessage"))
|
735
|
+
BatchCreateChannelMembershipError.struct_class = Types::BatchCreateChannelMembershipError
|
736
|
+
|
737
|
+
BatchCreateChannelMembershipErrors.member = Shapes::ShapeRef.new(shape: BatchCreateChannelMembershipError)
|
738
|
+
|
739
|
+
BatchCreateChannelMembershipRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
740
|
+
BatchCreateChannelMembershipRequest.add_member(:type, Shapes::ShapeRef.new(shape: ChannelMembershipType, location_name: "Type"))
|
741
|
+
BatchCreateChannelMembershipRequest.add_member(:member_arns, Shapes::ShapeRef.new(shape: MemberArns, required: true, location_name: "MemberArns"))
|
742
|
+
BatchCreateChannelMembershipRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, location: "header", location_name: "x-amz-chime-bearer"))
|
743
|
+
BatchCreateChannelMembershipRequest.struct_class = Types::BatchCreateChannelMembershipRequest
|
744
|
+
|
745
|
+
BatchCreateChannelMembershipResponse.add_member(:batch_channel_memberships, Shapes::ShapeRef.new(shape: BatchChannelMemberships, location_name: "BatchChannelMemberships"))
|
746
|
+
BatchCreateChannelMembershipResponse.add_member(:errors, Shapes::ShapeRef.new(shape: BatchCreateChannelMembershipErrors, location_name: "Errors"))
|
747
|
+
BatchCreateChannelMembershipResponse.struct_class = Types::BatchCreateChannelMembershipResponse
|
748
|
+
|
719
749
|
BatchCreateRoomMembershipRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
|
720
750
|
BatchCreateRoomMembershipRequest.add_member(:room_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "roomId"))
|
721
751
|
BatchCreateRoomMembershipRequest.add_member(:membership_item_list, Shapes::ShapeRef.new(shape: MembershipItemList, required: true, location_name: "MembershipItemList"))
|
@@ -1847,6 +1877,8 @@ module Aws::Chime
|
|
1847
1877
|
Member.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "AccountId"))
|
1848
1878
|
Member.struct_class = Types::Member
|
1849
1879
|
|
1880
|
+
MemberArns.member = Shapes::ShapeRef.new(shape: ChimeArn)
|
1881
|
+
|
1850
1882
|
MemberError.add_member(:member_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "MemberId"))
|
1851
1883
|
MemberError.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "ErrorCode"))
|
1852
1884
|
MemberError.add_member(:error_message, Shapes::ShapeRef.new(shape: String, location_name: "ErrorMessage"))
|
@@ -1854,6 +1886,8 @@ module Aws::Chime
|
|
1854
1886
|
|
1855
1887
|
MemberErrorList.member = Shapes::ShapeRef.new(shape: MemberError)
|
1856
1888
|
|
1889
|
+
Members.member = Shapes::ShapeRef.new(shape: Identity)
|
1890
|
+
|
1857
1891
|
MembershipItem.add_member(:member_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "MemberId"))
|
1858
1892
|
MembershipItem.add_member(:role, Shapes::ShapeRef.new(shape: RoomMembershipRole, location_name: "Role"))
|
1859
1893
|
MembershipItem.struct_class = Types::MembershipItem
|
@@ -2606,6 +2640,23 @@ module Aws::Chime
|
|
2606
2640
|
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
2607
2641
|
end)
|
2608
2642
|
|
2643
|
+
api.add_operation(:batch_create_channel_membership, Seahorse::Model::Operation.new.tap do |o|
|
2644
|
+
o.name = "BatchCreateChannelMembership"
|
2645
|
+
o.http_method = "POST"
|
2646
|
+
o.http_request_uri = "/channels/{channelArn}/memberships?operation=batch-create"
|
2647
|
+
o.endpoint_pattern = {
|
2648
|
+
"hostPrefix" => "messaging-",
|
2649
|
+
}
|
2650
|
+
o.input = Shapes::ShapeRef.new(shape: BatchCreateChannelMembershipRequest)
|
2651
|
+
o.output = Shapes::ShapeRef.new(shape: BatchCreateChannelMembershipResponse)
|
2652
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
2653
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
2654
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
2655
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2656
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
2657
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
2658
|
+
end)
|
2659
|
+
|
2609
2660
|
api.add_operation(:batch_create_room_membership, Seahorse::Model::Operation.new.tap do |o|
|
2610
2661
|
o.name = "BatchCreateRoomMembership"
|
2611
2662
|
o.http_method = "POST"
|
@@ -3226,6 +3277,7 @@ module Aws::Chime
|
|
3226
3277
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
3227
3278
|
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
3228
3279
|
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
3280
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
3229
3281
|
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
3230
3282
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
3231
3283
|
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
data/lib/aws-sdk-chime/types.rb
CHANGED
@@ -592,6 +592,36 @@ module Aws::Chime
|
|
592
592
|
include Aws::Structure
|
593
593
|
end
|
594
594
|
|
595
|
+
# The membership information, including member ARNs, the channel ARN,
|
596
|
+
# and membership types.
|
597
|
+
#
|
598
|
+
# @!attribute [rw] invited_by
|
599
|
+
# The details of a user.
|
600
|
+
# @return [Types::Identity]
|
601
|
+
#
|
602
|
+
# @!attribute [rw] type
|
603
|
+
# The membership types set for the channel users.
|
604
|
+
# @return [String]
|
605
|
+
#
|
606
|
+
# @!attribute [rw] members
|
607
|
+
# The users successfully added to the request.
|
608
|
+
# @return [Array<Types::Identity>]
|
609
|
+
#
|
610
|
+
# @!attribute [rw] channel_arn
|
611
|
+
# The ARN of the channel to which you're adding users.
|
612
|
+
# @return [String]
|
613
|
+
#
|
614
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchChannelMemberships AWS API Documentation
|
615
|
+
#
|
616
|
+
class BatchChannelMemberships < Struct.new(
|
617
|
+
:invited_by,
|
618
|
+
:type,
|
619
|
+
:members,
|
620
|
+
:channel_arn)
|
621
|
+
SENSITIVE = []
|
622
|
+
include Aws::Structure
|
623
|
+
end
|
624
|
+
|
595
625
|
# @note When making an API call, you may pass BatchCreateAttendeeRequest
|
596
626
|
# data as a hash:
|
597
627
|
#
|
@@ -646,6 +676,90 @@ module Aws::Chime
|
|
646
676
|
include Aws::Structure
|
647
677
|
end
|
648
678
|
|
679
|
+
# A list of failed member ARNs, error codes, and error messages.
|
680
|
+
#
|
681
|
+
# @!attribute [rw] member_arn
|
682
|
+
# The ARN of the member that the service couldn't add.
|
683
|
+
# @return [String]
|
684
|
+
#
|
685
|
+
# @!attribute [rw] error_code
|
686
|
+
# The error code.
|
687
|
+
# @return [String]
|
688
|
+
#
|
689
|
+
# @!attribute [rw] error_message
|
690
|
+
# The error message.
|
691
|
+
# @return [String]
|
692
|
+
#
|
693
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchCreateChannelMembershipError AWS API Documentation
|
694
|
+
#
|
695
|
+
class BatchCreateChannelMembershipError < Struct.new(
|
696
|
+
:member_arn,
|
697
|
+
:error_code,
|
698
|
+
:error_message)
|
699
|
+
SENSITIVE = []
|
700
|
+
include Aws::Structure
|
701
|
+
end
|
702
|
+
|
703
|
+
# @note When making an API call, you may pass BatchCreateChannelMembershipRequest
|
704
|
+
# data as a hash:
|
705
|
+
#
|
706
|
+
# {
|
707
|
+
# channel_arn: "ChimeArn", # required
|
708
|
+
# type: "DEFAULT", # accepts DEFAULT, HIDDEN
|
709
|
+
# member_arns: ["ChimeArn"], # required
|
710
|
+
# chime_bearer: "ChimeArn",
|
711
|
+
# }
|
712
|
+
#
|
713
|
+
# @!attribute [rw] channel_arn
|
714
|
+
# The ARN of the channel to which you're adding users.
|
715
|
+
# @return [String]
|
716
|
+
#
|
717
|
+
# @!attribute [rw] type
|
718
|
+
# The membership type of a user, `DEFAULT` or `HIDDEN`. Default
|
719
|
+
# members are always returned as part of `ListChannelMemberships`.
|
720
|
+
# Hidden members are only returned if the type filter in
|
721
|
+
# `ListChannelMemberships` equals `HIDDEN`. Otherwise hidden members
|
722
|
+
# are not returned. This is only supported by moderators.
|
723
|
+
# @return [String]
|
724
|
+
#
|
725
|
+
# @!attribute [rw] member_arns
|
726
|
+
# The ARNs of the members you want to add to the channel.
|
727
|
+
# @return [Array<String>]
|
728
|
+
#
|
729
|
+
# @!attribute [rw] chime_bearer
|
730
|
+
# The `AppInstanceUserArn` of the user that makes the API call.
|
731
|
+
# @return [String]
|
732
|
+
#
|
733
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchCreateChannelMembershipRequest AWS API Documentation
|
734
|
+
#
|
735
|
+
class BatchCreateChannelMembershipRequest < Struct.new(
|
736
|
+
:channel_arn,
|
737
|
+
:type,
|
738
|
+
:member_arns,
|
739
|
+
:chime_bearer)
|
740
|
+
SENSITIVE = []
|
741
|
+
include Aws::Structure
|
742
|
+
end
|
743
|
+
|
744
|
+
# @!attribute [rw] batch_channel_memberships
|
745
|
+
# The list of channel memberships in the response.
|
746
|
+
# @return [Types::BatchChannelMemberships]
|
747
|
+
#
|
748
|
+
# @!attribute [rw] errors
|
749
|
+
# If the action fails for one or more of the memberships in the
|
750
|
+
# request, a list of the memberships is returned, along with error
|
751
|
+
# codes and error messages.
|
752
|
+
# @return [Array<Types::BatchCreateChannelMembershipError>]
|
753
|
+
#
|
754
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchCreateChannelMembershipResponse AWS API Documentation
|
755
|
+
#
|
756
|
+
class BatchCreateChannelMembershipResponse < Struct.new(
|
757
|
+
:batch_channel_memberships,
|
758
|
+
:errors)
|
759
|
+
SENSITIVE = []
|
760
|
+
include Aws::Structure
|
761
|
+
end
|
762
|
+
|
649
763
|
# @note When making an API call, you may pass BatchCreateRoomMembershipRequest
|
650
764
|
# data as a hash:
|
651
765
|
#
|
@@ -2041,7 +2155,7 @@ module Aws::Chime
|
|
2041
2155
|
#
|
2042
2156
|
#
|
2043
2157
|
#
|
2044
|
-
# [1]: https://docs.aws.amazon.com/chime/latest/APIReference/
|
2158
|
+
# [1]: https://docs.aws.amazon.com/chime/latest/APIReference/API_CreateAttendee.html
|
2045
2159
|
# @return [String]
|
2046
2160
|
#
|
2047
2161
|
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateMeetingDialOutRequest AWS API Documentation
|
@@ -2478,12 +2592,12 @@ module Aws::Chime
|
|
2478
2592
|
# }
|
2479
2593
|
#
|
2480
2594
|
# @!attribute [rw] from_phone_number
|
2481
|
-
# The phone number that a user calls from.
|
2595
|
+
# The phone number that a user calls from. This is a phone number in
|
2596
|
+
# your Amazon Chime phone number inventory.
|
2482
2597
|
# @return [String]
|
2483
2598
|
#
|
2484
2599
|
# @!attribute [rw] to_phone_number
|
2485
|
-
# The phone number that the
|
2486
|
-
# meeting.
|
2600
|
+
# The phone number that the service should call.
|
2487
2601
|
# @return [String]
|
2488
2602
|
#
|
2489
2603
|
# @!attribute [rw] sip_media_application_id
|
@@ -6670,11 +6784,10 @@ module Aws::Chime
|
|
6670
6784
|
#
|
6671
6785
|
# @!attribute [rw] media_region
|
6672
6786
|
# The Region in which you create the meeting. Available values:
|
6673
|
-
# `af-south-1
|
6674
|
-
# `ap-southeast-1
|
6675
|
-
# `eu-
|
6676
|
-
# `
|
6677
|
-
# , `us-west-1` , `us-west-2` .
|
6787
|
+
# `af-south-1`, `ap-northeast-1`, `ap-northeast-2`, `ap-south-1`,
|
6788
|
+
# `ap-southeast-1`, `ap-southeast-2`, `ca-central-1`, `eu-central-1`,
|
6789
|
+
# `eu-north-1`, `eu-south-1`, `eu-west-1`, `eu-west-2`, `eu-west-3`,
|
6790
|
+
# `sa-east-1`, `us-east-1`, `us-east-2`, `us-west-1`, `us-west-2`.
|
6678
6791
|
# @return [String]
|
6679
6792
|
#
|
6680
6793
|
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/Meeting AWS API Documentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-chime
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.45.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: 2021-
|
11
|
+
date: 2021-05-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|