aws-sdk-chimesdkmessaging 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +8 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-chimesdkmessaging.rb +53 -0
- data/lib/aws-sdk-chimesdkmessaging/client.rb +1916 -0
- data/lib/aws-sdk-chimesdkmessaging/client_api.rb +1057 -0
- data/lib/aws-sdk-chimesdkmessaging/customizations.rb +0 -0
- data/lib/aws-sdk-chimesdkmessaging/errors.rb +227 -0
- data/lib/aws-sdk-chimesdkmessaging/resource.rb +26 -0
- data/lib/aws-sdk-chimesdkmessaging/types.rb +2176 -0
- metadata +90 -0
@@ -0,0 +1,1057 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
module Aws::ChimeSDKMessaging
|
11
|
+
# @api private
|
12
|
+
module ClientApi
|
13
|
+
|
14
|
+
include Seahorse::Model
|
15
|
+
|
16
|
+
AppInstanceUserMembershipSummary = Shapes::StructureShape.new(name: 'AppInstanceUserMembershipSummary')
|
17
|
+
BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
|
18
|
+
BatchChannelMemberships = Shapes::StructureShape.new(name: 'BatchChannelMemberships')
|
19
|
+
BatchCreateChannelMembershipError = Shapes::StructureShape.new(name: 'BatchCreateChannelMembershipError')
|
20
|
+
BatchCreateChannelMembershipErrors = Shapes::ListShape.new(name: 'BatchCreateChannelMembershipErrors')
|
21
|
+
BatchCreateChannelMembershipRequest = Shapes::StructureShape.new(name: 'BatchCreateChannelMembershipRequest')
|
22
|
+
BatchCreateChannelMembershipResponse = Shapes::StructureShape.new(name: 'BatchCreateChannelMembershipResponse')
|
23
|
+
Channel = Shapes::StructureShape.new(name: 'Channel')
|
24
|
+
ChannelBan = Shapes::StructureShape.new(name: 'ChannelBan')
|
25
|
+
ChannelBanSummary = Shapes::StructureShape.new(name: 'ChannelBanSummary')
|
26
|
+
ChannelBanSummaryList = Shapes::ListShape.new(name: 'ChannelBanSummaryList')
|
27
|
+
ChannelMembership = Shapes::StructureShape.new(name: 'ChannelMembership')
|
28
|
+
ChannelMembershipForAppInstanceUserSummary = Shapes::StructureShape.new(name: 'ChannelMembershipForAppInstanceUserSummary')
|
29
|
+
ChannelMembershipForAppInstanceUserSummaryList = Shapes::ListShape.new(name: 'ChannelMembershipForAppInstanceUserSummaryList')
|
30
|
+
ChannelMembershipSummary = Shapes::StructureShape.new(name: 'ChannelMembershipSummary')
|
31
|
+
ChannelMembershipSummaryList = Shapes::ListShape.new(name: 'ChannelMembershipSummaryList')
|
32
|
+
ChannelMembershipType = Shapes::StringShape.new(name: 'ChannelMembershipType')
|
33
|
+
ChannelMessage = Shapes::StructureShape.new(name: 'ChannelMessage')
|
34
|
+
ChannelMessagePersistenceType = Shapes::StringShape.new(name: 'ChannelMessagePersistenceType')
|
35
|
+
ChannelMessageSummary = Shapes::StructureShape.new(name: 'ChannelMessageSummary')
|
36
|
+
ChannelMessageSummaryList = Shapes::ListShape.new(name: 'ChannelMessageSummaryList')
|
37
|
+
ChannelMessageType = Shapes::StringShape.new(name: 'ChannelMessageType')
|
38
|
+
ChannelMode = Shapes::StringShape.new(name: 'ChannelMode')
|
39
|
+
ChannelModeratedByAppInstanceUserSummary = Shapes::StructureShape.new(name: 'ChannelModeratedByAppInstanceUserSummary')
|
40
|
+
ChannelModeratedByAppInstanceUserSummaryList = Shapes::ListShape.new(name: 'ChannelModeratedByAppInstanceUserSummaryList')
|
41
|
+
ChannelModerator = Shapes::StructureShape.new(name: 'ChannelModerator')
|
42
|
+
ChannelModeratorSummary = Shapes::StructureShape.new(name: 'ChannelModeratorSummary')
|
43
|
+
ChannelModeratorSummaryList = Shapes::ListShape.new(name: 'ChannelModeratorSummaryList')
|
44
|
+
ChannelPrivacy = Shapes::StringShape.new(name: 'ChannelPrivacy')
|
45
|
+
ChannelSummary = Shapes::StructureShape.new(name: 'ChannelSummary')
|
46
|
+
ChannelSummaryList = Shapes::ListShape.new(name: 'ChannelSummaryList')
|
47
|
+
ChimeArn = Shapes::StringShape.new(name: 'ChimeArn')
|
48
|
+
ClientRequestToken = Shapes::StringShape.new(name: 'ClientRequestToken')
|
49
|
+
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
50
|
+
Content = Shapes::StringShape.new(name: 'Content')
|
51
|
+
CreateChannelBanRequest = Shapes::StructureShape.new(name: 'CreateChannelBanRequest')
|
52
|
+
CreateChannelBanResponse = Shapes::StructureShape.new(name: 'CreateChannelBanResponse')
|
53
|
+
CreateChannelMembershipRequest = Shapes::StructureShape.new(name: 'CreateChannelMembershipRequest')
|
54
|
+
CreateChannelMembershipResponse = Shapes::StructureShape.new(name: 'CreateChannelMembershipResponse')
|
55
|
+
CreateChannelModeratorRequest = Shapes::StructureShape.new(name: 'CreateChannelModeratorRequest')
|
56
|
+
CreateChannelModeratorResponse = Shapes::StructureShape.new(name: 'CreateChannelModeratorResponse')
|
57
|
+
CreateChannelRequest = Shapes::StructureShape.new(name: 'CreateChannelRequest')
|
58
|
+
CreateChannelResponse = Shapes::StructureShape.new(name: 'CreateChannelResponse')
|
59
|
+
DeleteChannelBanRequest = Shapes::StructureShape.new(name: 'DeleteChannelBanRequest')
|
60
|
+
DeleteChannelMembershipRequest = Shapes::StructureShape.new(name: 'DeleteChannelMembershipRequest')
|
61
|
+
DeleteChannelMessageRequest = Shapes::StructureShape.new(name: 'DeleteChannelMessageRequest')
|
62
|
+
DeleteChannelModeratorRequest = Shapes::StructureShape.new(name: 'DeleteChannelModeratorRequest')
|
63
|
+
DeleteChannelRequest = Shapes::StructureShape.new(name: 'DeleteChannelRequest')
|
64
|
+
DescribeChannelBanRequest = Shapes::StructureShape.new(name: 'DescribeChannelBanRequest')
|
65
|
+
DescribeChannelBanResponse = Shapes::StructureShape.new(name: 'DescribeChannelBanResponse')
|
66
|
+
DescribeChannelMembershipForAppInstanceUserRequest = Shapes::StructureShape.new(name: 'DescribeChannelMembershipForAppInstanceUserRequest')
|
67
|
+
DescribeChannelMembershipForAppInstanceUserResponse = Shapes::StructureShape.new(name: 'DescribeChannelMembershipForAppInstanceUserResponse')
|
68
|
+
DescribeChannelMembershipRequest = Shapes::StructureShape.new(name: 'DescribeChannelMembershipRequest')
|
69
|
+
DescribeChannelMembershipResponse = Shapes::StructureShape.new(name: 'DescribeChannelMembershipResponse')
|
70
|
+
DescribeChannelModeratedByAppInstanceUserRequest = Shapes::StructureShape.new(name: 'DescribeChannelModeratedByAppInstanceUserRequest')
|
71
|
+
DescribeChannelModeratedByAppInstanceUserResponse = Shapes::StructureShape.new(name: 'DescribeChannelModeratedByAppInstanceUserResponse')
|
72
|
+
DescribeChannelModeratorRequest = Shapes::StructureShape.new(name: 'DescribeChannelModeratorRequest')
|
73
|
+
DescribeChannelModeratorResponse = Shapes::StructureShape.new(name: 'DescribeChannelModeratorResponse')
|
74
|
+
DescribeChannelRequest = Shapes::StructureShape.new(name: 'DescribeChannelRequest')
|
75
|
+
DescribeChannelResponse = Shapes::StructureShape.new(name: 'DescribeChannelResponse')
|
76
|
+
ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
|
77
|
+
ForbiddenException = Shapes::StructureShape.new(name: 'ForbiddenException')
|
78
|
+
GetChannelMessageRequest = Shapes::StructureShape.new(name: 'GetChannelMessageRequest')
|
79
|
+
GetChannelMessageResponse = Shapes::StructureShape.new(name: 'GetChannelMessageResponse')
|
80
|
+
GetMessagingSessionEndpointRequest = Shapes::StructureShape.new(name: 'GetMessagingSessionEndpointRequest')
|
81
|
+
GetMessagingSessionEndpointResponse = Shapes::StructureShape.new(name: 'GetMessagingSessionEndpointResponse')
|
82
|
+
Identity = Shapes::StructureShape.new(name: 'Identity')
|
83
|
+
ListChannelBansRequest = Shapes::StructureShape.new(name: 'ListChannelBansRequest')
|
84
|
+
ListChannelBansResponse = Shapes::StructureShape.new(name: 'ListChannelBansResponse')
|
85
|
+
ListChannelMembershipsForAppInstanceUserRequest = Shapes::StructureShape.new(name: 'ListChannelMembershipsForAppInstanceUserRequest')
|
86
|
+
ListChannelMembershipsForAppInstanceUserResponse = Shapes::StructureShape.new(name: 'ListChannelMembershipsForAppInstanceUserResponse')
|
87
|
+
ListChannelMembershipsRequest = Shapes::StructureShape.new(name: 'ListChannelMembershipsRequest')
|
88
|
+
ListChannelMembershipsResponse = Shapes::StructureShape.new(name: 'ListChannelMembershipsResponse')
|
89
|
+
ListChannelMessagesRequest = Shapes::StructureShape.new(name: 'ListChannelMessagesRequest')
|
90
|
+
ListChannelMessagesResponse = Shapes::StructureShape.new(name: 'ListChannelMessagesResponse')
|
91
|
+
ListChannelModeratorsRequest = Shapes::StructureShape.new(name: 'ListChannelModeratorsRequest')
|
92
|
+
ListChannelModeratorsResponse = Shapes::StructureShape.new(name: 'ListChannelModeratorsResponse')
|
93
|
+
ListChannelsModeratedByAppInstanceUserRequest = Shapes::StructureShape.new(name: 'ListChannelsModeratedByAppInstanceUserRequest')
|
94
|
+
ListChannelsModeratedByAppInstanceUserResponse = Shapes::StructureShape.new(name: 'ListChannelsModeratedByAppInstanceUserResponse')
|
95
|
+
ListChannelsRequest = Shapes::StructureShape.new(name: 'ListChannelsRequest')
|
96
|
+
ListChannelsResponse = Shapes::StructureShape.new(name: 'ListChannelsResponse')
|
97
|
+
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
98
|
+
MemberArns = Shapes::ListShape.new(name: 'MemberArns')
|
99
|
+
Members = Shapes::ListShape.new(name: 'Members')
|
100
|
+
MessageId = Shapes::StringShape.new(name: 'MessageId')
|
101
|
+
MessagingSessionEndpoint = Shapes::StructureShape.new(name: 'MessagingSessionEndpoint')
|
102
|
+
Metadata = Shapes::StringShape.new(name: 'Metadata')
|
103
|
+
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
104
|
+
NonEmptyContent = Shapes::StringShape.new(name: 'NonEmptyContent')
|
105
|
+
NonEmptyResourceName = Shapes::StringShape.new(name: 'NonEmptyResourceName')
|
106
|
+
NonNullableBoolean = Shapes::BooleanShape.new(name: 'NonNullableBoolean')
|
107
|
+
NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
|
108
|
+
RedactChannelMessageRequest = Shapes::StructureShape.new(name: 'RedactChannelMessageRequest')
|
109
|
+
RedactChannelMessageResponse = Shapes::StructureShape.new(name: 'RedactChannelMessageResponse')
|
110
|
+
ResourceLimitExceededException = Shapes::StructureShape.new(name: 'ResourceLimitExceededException')
|
111
|
+
ResourceName = Shapes::StringShape.new(name: 'ResourceName')
|
112
|
+
SendChannelMessageRequest = Shapes::StructureShape.new(name: 'SendChannelMessageRequest')
|
113
|
+
SendChannelMessageResponse = Shapes::StructureShape.new(name: 'SendChannelMessageResponse')
|
114
|
+
ServiceFailureException = Shapes::StructureShape.new(name: 'ServiceFailureException')
|
115
|
+
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
116
|
+
SortOrder = Shapes::StringShape.new(name: 'SortOrder')
|
117
|
+
String = Shapes::StringShape.new(name: 'String')
|
118
|
+
Tag = Shapes::StructureShape.new(name: 'Tag')
|
119
|
+
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
120
|
+
TagList = Shapes::ListShape.new(name: 'TagList')
|
121
|
+
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
122
|
+
ThrottledClientException = Shapes::StructureShape.new(name: 'ThrottledClientException')
|
123
|
+
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
124
|
+
UnauthorizedClientException = Shapes::StructureShape.new(name: 'UnauthorizedClientException')
|
125
|
+
UpdateChannelMessageRequest = Shapes::StructureShape.new(name: 'UpdateChannelMessageRequest')
|
126
|
+
UpdateChannelMessageResponse = Shapes::StructureShape.new(name: 'UpdateChannelMessageResponse')
|
127
|
+
UpdateChannelReadMarkerRequest = Shapes::StructureShape.new(name: 'UpdateChannelReadMarkerRequest')
|
128
|
+
UpdateChannelReadMarkerResponse = Shapes::StructureShape.new(name: 'UpdateChannelReadMarkerResponse')
|
129
|
+
UpdateChannelRequest = Shapes::StructureShape.new(name: 'UpdateChannelRequest')
|
130
|
+
UpdateChannelResponse = Shapes::StructureShape.new(name: 'UpdateChannelResponse')
|
131
|
+
UrlType = Shapes::StringShape.new(name: 'UrlType')
|
132
|
+
|
133
|
+
AppInstanceUserMembershipSummary.add_member(:type, Shapes::ShapeRef.new(shape: ChannelMembershipType, location_name: "Type"))
|
134
|
+
AppInstanceUserMembershipSummary.add_member(:read_marker_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ReadMarkerTimestamp"))
|
135
|
+
AppInstanceUserMembershipSummary.struct_class = Types::AppInstanceUserMembershipSummary
|
136
|
+
|
137
|
+
BadRequestException.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "Code"))
|
138
|
+
BadRequestException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
139
|
+
BadRequestException.struct_class = Types::BadRequestException
|
140
|
+
|
141
|
+
BatchChannelMemberships.add_member(:invited_by, Shapes::ShapeRef.new(shape: Identity, location_name: "InvitedBy"))
|
142
|
+
BatchChannelMemberships.add_member(:type, Shapes::ShapeRef.new(shape: ChannelMembershipType, location_name: "Type"))
|
143
|
+
BatchChannelMemberships.add_member(:members, Shapes::ShapeRef.new(shape: Members, location_name: "Members"))
|
144
|
+
BatchChannelMemberships.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "ChannelArn"))
|
145
|
+
BatchChannelMemberships.struct_class = Types::BatchChannelMemberships
|
146
|
+
|
147
|
+
BatchCreateChannelMembershipError.add_member(:member_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "MemberArn"))
|
148
|
+
BatchCreateChannelMembershipError.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "ErrorCode"))
|
149
|
+
BatchCreateChannelMembershipError.add_member(:error_message, Shapes::ShapeRef.new(shape: String, location_name: "ErrorMessage"))
|
150
|
+
BatchCreateChannelMembershipError.struct_class = Types::BatchCreateChannelMembershipError
|
151
|
+
|
152
|
+
BatchCreateChannelMembershipErrors.member = Shapes::ShapeRef.new(shape: BatchCreateChannelMembershipError)
|
153
|
+
|
154
|
+
BatchCreateChannelMembershipRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
155
|
+
BatchCreateChannelMembershipRequest.add_member(:type, Shapes::ShapeRef.new(shape: ChannelMembershipType, location_name: "Type"))
|
156
|
+
BatchCreateChannelMembershipRequest.add_member(:member_arns, Shapes::ShapeRef.new(shape: MemberArns, required: true, location_name: "MemberArns"))
|
157
|
+
BatchCreateChannelMembershipRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
|
158
|
+
BatchCreateChannelMembershipRequest.struct_class = Types::BatchCreateChannelMembershipRequest
|
159
|
+
|
160
|
+
BatchCreateChannelMembershipResponse.add_member(:batch_channel_memberships, Shapes::ShapeRef.new(shape: BatchChannelMemberships, location_name: "BatchChannelMemberships"))
|
161
|
+
BatchCreateChannelMembershipResponse.add_member(:errors, Shapes::ShapeRef.new(shape: BatchCreateChannelMembershipErrors, location_name: "Errors"))
|
162
|
+
BatchCreateChannelMembershipResponse.struct_class = Types::BatchCreateChannelMembershipResponse
|
163
|
+
|
164
|
+
Channel.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyResourceName, location_name: "Name"))
|
165
|
+
Channel.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "ChannelArn"))
|
166
|
+
Channel.add_member(:mode, Shapes::ShapeRef.new(shape: ChannelMode, location_name: "Mode"))
|
167
|
+
Channel.add_member(:privacy, Shapes::ShapeRef.new(shape: ChannelPrivacy, location_name: "Privacy"))
|
168
|
+
Channel.add_member(:metadata, Shapes::ShapeRef.new(shape: Metadata, location_name: "Metadata"))
|
169
|
+
Channel.add_member(:created_by, Shapes::ShapeRef.new(shape: Identity, location_name: "CreatedBy"))
|
170
|
+
Channel.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedTimestamp"))
|
171
|
+
Channel.add_member(:last_message_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastMessageTimestamp"))
|
172
|
+
Channel.add_member(:last_updated_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastUpdatedTimestamp"))
|
173
|
+
Channel.struct_class = Types::Channel
|
174
|
+
|
175
|
+
ChannelBan.add_member(:member, Shapes::ShapeRef.new(shape: Identity, location_name: "Member"))
|
176
|
+
ChannelBan.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "ChannelArn"))
|
177
|
+
ChannelBan.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedTimestamp"))
|
178
|
+
ChannelBan.add_member(:created_by, Shapes::ShapeRef.new(shape: Identity, location_name: "CreatedBy"))
|
179
|
+
ChannelBan.struct_class = Types::ChannelBan
|
180
|
+
|
181
|
+
ChannelBanSummary.add_member(:member, Shapes::ShapeRef.new(shape: Identity, location_name: "Member"))
|
182
|
+
ChannelBanSummary.struct_class = Types::ChannelBanSummary
|
183
|
+
|
184
|
+
ChannelBanSummaryList.member = Shapes::ShapeRef.new(shape: ChannelBanSummary)
|
185
|
+
|
186
|
+
ChannelMembership.add_member(:invited_by, Shapes::ShapeRef.new(shape: Identity, location_name: "InvitedBy"))
|
187
|
+
ChannelMembership.add_member(:type, Shapes::ShapeRef.new(shape: ChannelMembershipType, location_name: "Type"))
|
188
|
+
ChannelMembership.add_member(:member, Shapes::ShapeRef.new(shape: Identity, location_name: "Member"))
|
189
|
+
ChannelMembership.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "ChannelArn"))
|
190
|
+
ChannelMembership.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedTimestamp"))
|
191
|
+
ChannelMembership.add_member(:last_updated_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastUpdatedTimestamp"))
|
192
|
+
ChannelMembership.struct_class = Types::ChannelMembership
|
193
|
+
|
194
|
+
ChannelMembershipForAppInstanceUserSummary.add_member(:channel_summary, Shapes::ShapeRef.new(shape: ChannelSummary, location_name: "ChannelSummary"))
|
195
|
+
ChannelMembershipForAppInstanceUserSummary.add_member(:app_instance_user_membership_summary, Shapes::ShapeRef.new(shape: AppInstanceUserMembershipSummary, location_name: "AppInstanceUserMembershipSummary"))
|
196
|
+
ChannelMembershipForAppInstanceUserSummary.struct_class = Types::ChannelMembershipForAppInstanceUserSummary
|
197
|
+
|
198
|
+
ChannelMembershipForAppInstanceUserSummaryList.member = Shapes::ShapeRef.new(shape: ChannelMembershipForAppInstanceUserSummary)
|
199
|
+
|
200
|
+
ChannelMembershipSummary.add_member(:member, Shapes::ShapeRef.new(shape: Identity, location_name: "Member"))
|
201
|
+
ChannelMembershipSummary.struct_class = Types::ChannelMembershipSummary
|
202
|
+
|
203
|
+
ChannelMembershipSummaryList.member = Shapes::ShapeRef.new(shape: ChannelMembershipSummary)
|
204
|
+
|
205
|
+
ChannelMessage.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "ChannelArn"))
|
206
|
+
ChannelMessage.add_member(:message_id, Shapes::ShapeRef.new(shape: MessageId, location_name: "MessageId"))
|
207
|
+
ChannelMessage.add_member(:content, Shapes::ShapeRef.new(shape: Content, location_name: "Content"))
|
208
|
+
ChannelMessage.add_member(:metadata, Shapes::ShapeRef.new(shape: Metadata, location_name: "Metadata"))
|
209
|
+
ChannelMessage.add_member(:type, Shapes::ShapeRef.new(shape: ChannelMessageType, location_name: "Type"))
|
210
|
+
ChannelMessage.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedTimestamp"))
|
211
|
+
ChannelMessage.add_member(:last_edited_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastEditedTimestamp"))
|
212
|
+
ChannelMessage.add_member(:last_updated_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastUpdatedTimestamp"))
|
213
|
+
ChannelMessage.add_member(:sender, Shapes::ShapeRef.new(shape: Identity, location_name: "Sender"))
|
214
|
+
ChannelMessage.add_member(:redacted, Shapes::ShapeRef.new(shape: NonNullableBoolean, location_name: "Redacted"))
|
215
|
+
ChannelMessage.add_member(:persistence, Shapes::ShapeRef.new(shape: ChannelMessagePersistenceType, location_name: "Persistence"))
|
216
|
+
ChannelMessage.struct_class = Types::ChannelMessage
|
217
|
+
|
218
|
+
ChannelMessageSummary.add_member(:message_id, Shapes::ShapeRef.new(shape: MessageId, location_name: "MessageId"))
|
219
|
+
ChannelMessageSummary.add_member(:content, Shapes::ShapeRef.new(shape: Content, location_name: "Content"))
|
220
|
+
ChannelMessageSummary.add_member(:metadata, Shapes::ShapeRef.new(shape: Metadata, location_name: "Metadata"))
|
221
|
+
ChannelMessageSummary.add_member(:type, Shapes::ShapeRef.new(shape: ChannelMessageType, location_name: "Type"))
|
222
|
+
ChannelMessageSummary.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedTimestamp"))
|
223
|
+
ChannelMessageSummary.add_member(:last_updated_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastUpdatedTimestamp"))
|
224
|
+
ChannelMessageSummary.add_member(:last_edited_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastEditedTimestamp"))
|
225
|
+
ChannelMessageSummary.add_member(:sender, Shapes::ShapeRef.new(shape: Identity, location_name: "Sender"))
|
226
|
+
ChannelMessageSummary.add_member(:redacted, Shapes::ShapeRef.new(shape: NonNullableBoolean, location_name: "Redacted"))
|
227
|
+
ChannelMessageSummary.struct_class = Types::ChannelMessageSummary
|
228
|
+
|
229
|
+
ChannelMessageSummaryList.member = Shapes::ShapeRef.new(shape: ChannelMessageSummary)
|
230
|
+
|
231
|
+
ChannelModeratedByAppInstanceUserSummary.add_member(:channel_summary, Shapes::ShapeRef.new(shape: ChannelSummary, location_name: "ChannelSummary"))
|
232
|
+
ChannelModeratedByAppInstanceUserSummary.struct_class = Types::ChannelModeratedByAppInstanceUserSummary
|
233
|
+
|
234
|
+
ChannelModeratedByAppInstanceUserSummaryList.member = Shapes::ShapeRef.new(shape: ChannelModeratedByAppInstanceUserSummary)
|
235
|
+
|
236
|
+
ChannelModerator.add_member(:moderator, Shapes::ShapeRef.new(shape: Identity, location_name: "Moderator"))
|
237
|
+
ChannelModerator.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "ChannelArn"))
|
238
|
+
ChannelModerator.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedTimestamp"))
|
239
|
+
ChannelModerator.add_member(:created_by, Shapes::ShapeRef.new(shape: Identity, location_name: "CreatedBy"))
|
240
|
+
ChannelModerator.struct_class = Types::ChannelModerator
|
241
|
+
|
242
|
+
ChannelModeratorSummary.add_member(:moderator, Shapes::ShapeRef.new(shape: Identity, location_name: "Moderator"))
|
243
|
+
ChannelModeratorSummary.struct_class = Types::ChannelModeratorSummary
|
244
|
+
|
245
|
+
ChannelModeratorSummaryList.member = Shapes::ShapeRef.new(shape: ChannelModeratorSummary)
|
246
|
+
|
247
|
+
ChannelSummary.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyResourceName, location_name: "Name"))
|
248
|
+
ChannelSummary.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "ChannelArn"))
|
249
|
+
ChannelSummary.add_member(:mode, Shapes::ShapeRef.new(shape: ChannelMode, location_name: "Mode"))
|
250
|
+
ChannelSummary.add_member(:privacy, Shapes::ShapeRef.new(shape: ChannelPrivacy, location_name: "Privacy"))
|
251
|
+
ChannelSummary.add_member(:metadata, Shapes::ShapeRef.new(shape: Metadata, location_name: "Metadata"))
|
252
|
+
ChannelSummary.add_member(:last_message_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastMessageTimestamp"))
|
253
|
+
ChannelSummary.struct_class = Types::ChannelSummary
|
254
|
+
|
255
|
+
ChannelSummaryList.member = Shapes::ShapeRef.new(shape: ChannelSummary)
|
256
|
+
|
257
|
+
ConflictException.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "Code"))
|
258
|
+
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
259
|
+
ConflictException.struct_class = Types::ConflictException
|
260
|
+
|
261
|
+
CreateChannelBanRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
262
|
+
CreateChannelBanRequest.add_member(:member_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location_name: "MemberArn"))
|
263
|
+
CreateChannelBanRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
|
264
|
+
CreateChannelBanRequest.struct_class = Types::CreateChannelBanRequest
|
265
|
+
|
266
|
+
CreateChannelBanResponse.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "ChannelArn"))
|
267
|
+
CreateChannelBanResponse.add_member(:member, Shapes::ShapeRef.new(shape: Identity, location_name: "Member"))
|
268
|
+
CreateChannelBanResponse.struct_class = Types::CreateChannelBanResponse
|
269
|
+
|
270
|
+
CreateChannelMembershipRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
271
|
+
CreateChannelMembershipRequest.add_member(:member_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location_name: "MemberArn"))
|
272
|
+
CreateChannelMembershipRequest.add_member(:type, Shapes::ShapeRef.new(shape: ChannelMembershipType, required: true, location_name: "Type"))
|
273
|
+
CreateChannelMembershipRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
|
274
|
+
CreateChannelMembershipRequest.struct_class = Types::CreateChannelMembershipRequest
|
275
|
+
|
276
|
+
CreateChannelMembershipResponse.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "ChannelArn"))
|
277
|
+
CreateChannelMembershipResponse.add_member(:member, Shapes::ShapeRef.new(shape: Identity, location_name: "Member"))
|
278
|
+
CreateChannelMembershipResponse.struct_class = Types::CreateChannelMembershipResponse
|
279
|
+
|
280
|
+
CreateChannelModeratorRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
281
|
+
CreateChannelModeratorRequest.add_member(:channel_moderator_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location_name: "ChannelModeratorArn"))
|
282
|
+
CreateChannelModeratorRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
|
283
|
+
CreateChannelModeratorRequest.struct_class = Types::CreateChannelModeratorRequest
|
284
|
+
|
285
|
+
CreateChannelModeratorResponse.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "ChannelArn"))
|
286
|
+
CreateChannelModeratorResponse.add_member(:channel_moderator, Shapes::ShapeRef.new(shape: Identity, location_name: "ChannelModerator"))
|
287
|
+
CreateChannelModeratorResponse.struct_class = Types::CreateChannelModeratorResponse
|
288
|
+
|
289
|
+
CreateChannelRequest.add_member(:app_instance_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location_name: "AppInstanceArn"))
|
290
|
+
CreateChannelRequest.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyResourceName, required: true, location_name: "Name"))
|
291
|
+
CreateChannelRequest.add_member(:mode, Shapes::ShapeRef.new(shape: ChannelMode, location_name: "Mode"))
|
292
|
+
CreateChannelRequest.add_member(:privacy, Shapes::ShapeRef.new(shape: ChannelPrivacy, location_name: "Privacy"))
|
293
|
+
CreateChannelRequest.add_member(:metadata, Shapes::ShapeRef.new(shape: Metadata, location_name: "Metadata"))
|
294
|
+
CreateChannelRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, required: true, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
|
295
|
+
CreateChannelRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
296
|
+
CreateChannelRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
|
297
|
+
CreateChannelRequest.struct_class = Types::CreateChannelRequest
|
298
|
+
|
299
|
+
CreateChannelResponse.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "ChannelArn"))
|
300
|
+
CreateChannelResponse.struct_class = Types::CreateChannelResponse
|
301
|
+
|
302
|
+
DeleteChannelBanRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
303
|
+
DeleteChannelBanRequest.add_member(:member_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "memberArn"))
|
304
|
+
DeleteChannelBanRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
|
305
|
+
DeleteChannelBanRequest.struct_class = Types::DeleteChannelBanRequest
|
306
|
+
|
307
|
+
DeleteChannelMembershipRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
308
|
+
DeleteChannelMembershipRequest.add_member(:member_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "memberArn"))
|
309
|
+
DeleteChannelMembershipRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
|
310
|
+
DeleteChannelMembershipRequest.struct_class = Types::DeleteChannelMembershipRequest
|
311
|
+
|
312
|
+
DeleteChannelMessageRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
313
|
+
DeleteChannelMessageRequest.add_member(:message_id, Shapes::ShapeRef.new(shape: MessageId, required: true, location: "uri", location_name: "messageId"))
|
314
|
+
DeleteChannelMessageRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
|
315
|
+
DeleteChannelMessageRequest.struct_class = Types::DeleteChannelMessageRequest
|
316
|
+
|
317
|
+
DeleteChannelModeratorRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
318
|
+
DeleteChannelModeratorRequest.add_member(:channel_moderator_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelModeratorArn"))
|
319
|
+
DeleteChannelModeratorRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
|
320
|
+
DeleteChannelModeratorRequest.struct_class = Types::DeleteChannelModeratorRequest
|
321
|
+
|
322
|
+
DeleteChannelRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
323
|
+
DeleteChannelRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
|
324
|
+
DeleteChannelRequest.struct_class = Types::DeleteChannelRequest
|
325
|
+
|
326
|
+
DescribeChannelBanRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
327
|
+
DescribeChannelBanRequest.add_member(:member_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "memberArn"))
|
328
|
+
DescribeChannelBanRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
|
329
|
+
DescribeChannelBanRequest.struct_class = Types::DescribeChannelBanRequest
|
330
|
+
|
331
|
+
DescribeChannelBanResponse.add_member(:channel_ban, Shapes::ShapeRef.new(shape: ChannelBan, location_name: "ChannelBan"))
|
332
|
+
DescribeChannelBanResponse.struct_class = Types::DescribeChannelBanResponse
|
333
|
+
|
334
|
+
DescribeChannelMembershipForAppInstanceUserRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
335
|
+
DescribeChannelMembershipForAppInstanceUserRequest.add_member(:app_instance_user_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "querystring", location_name: "app-instance-user-arn"))
|
336
|
+
DescribeChannelMembershipForAppInstanceUserRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
|
337
|
+
DescribeChannelMembershipForAppInstanceUserRequest.struct_class = Types::DescribeChannelMembershipForAppInstanceUserRequest
|
338
|
+
|
339
|
+
DescribeChannelMembershipForAppInstanceUserResponse.add_member(:channel_membership, Shapes::ShapeRef.new(shape: ChannelMembershipForAppInstanceUserSummary, location_name: "ChannelMembership"))
|
340
|
+
DescribeChannelMembershipForAppInstanceUserResponse.struct_class = Types::DescribeChannelMembershipForAppInstanceUserResponse
|
341
|
+
|
342
|
+
DescribeChannelMembershipRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
343
|
+
DescribeChannelMembershipRequest.add_member(:member_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "memberArn"))
|
344
|
+
DescribeChannelMembershipRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
|
345
|
+
DescribeChannelMembershipRequest.struct_class = Types::DescribeChannelMembershipRequest
|
346
|
+
|
347
|
+
DescribeChannelMembershipResponse.add_member(:channel_membership, Shapes::ShapeRef.new(shape: ChannelMembership, location_name: "ChannelMembership"))
|
348
|
+
DescribeChannelMembershipResponse.struct_class = Types::DescribeChannelMembershipResponse
|
349
|
+
|
350
|
+
DescribeChannelModeratedByAppInstanceUserRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
351
|
+
DescribeChannelModeratedByAppInstanceUserRequest.add_member(:app_instance_user_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "querystring", location_name: "app-instance-user-arn"))
|
352
|
+
DescribeChannelModeratedByAppInstanceUserRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
|
353
|
+
DescribeChannelModeratedByAppInstanceUserRequest.struct_class = Types::DescribeChannelModeratedByAppInstanceUserRequest
|
354
|
+
|
355
|
+
DescribeChannelModeratedByAppInstanceUserResponse.add_member(:channel, Shapes::ShapeRef.new(shape: ChannelModeratedByAppInstanceUserSummary, location_name: "Channel"))
|
356
|
+
DescribeChannelModeratedByAppInstanceUserResponse.struct_class = Types::DescribeChannelModeratedByAppInstanceUserResponse
|
357
|
+
|
358
|
+
DescribeChannelModeratorRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
359
|
+
DescribeChannelModeratorRequest.add_member(:channel_moderator_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelModeratorArn"))
|
360
|
+
DescribeChannelModeratorRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
|
361
|
+
DescribeChannelModeratorRequest.struct_class = Types::DescribeChannelModeratorRequest
|
362
|
+
|
363
|
+
DescribeChannelModeratorResponse.add_member(:channel_moderator, Shapes::ShapeRef.new(shape: ChannelModerator, location_name: "ChannelModerator"))
|
364
|
+
DescribeChannelModeratorResponse.struct_class = Types::DescribeChannelModeratorResponse
|
365
|
+
|
366
|
+
DescribeChannelRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
367
|
+
DescribeChannelRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
|
368
|
+
DescribeChannelRequest.struct_class = Types::DescribeChannelRequest
|
369
|
+
|
370
|
+
DescribeChannelResponse.add_member(:channel, Shapes::ShapeRef.new(shape: Channel, location_name: "Channel"))
|
371
|
+
DescribeChannelResponse.struct_class = Types::DescribeChannelResponse
|
372
|
+
|
373
|
+
ForbiddenException.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "Code"))
|
374
|
+
ForbiddenException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
375
|
+
ForbiddenException.struct_class = Types::ForbiddenException
|
376
|
+
|
377
|
+
GetChannelMessageRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
378
|
+
GetChannelMessageRequest.add_member(:message_id, Shapes::ShapeRef.new(shape: MessageId, required: true, location: "uri", location_name: "messageId"))
|
379
|
+
GetChannelMessageRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
|
380
|
+
GetChannelMessageRequest.struct_class = Types::GetChannelMessageRequest
|
381
|
+
|
382
|
+
GetChannelMessageResponse.add_member(:channel_message, Shapes::ShapeRef.new(shape: ChannelMessage, location_name: "ChannelMessage"))
|
383
|
+
GetChannelMessageResponse.struct_class = Types::GetChannelMessageResponse
|
384
|
+
|
385
|
+
GetMessagingSessionEndpointRequest.struct_class = Types::GetMessagingSessionEndpointRequest
|
386
|
+
|
387
|
+
GetMessagingSessionEndpointResponse.add_member(:endpoint, Shapes::ShapeRef.new(shape: MessagingSessionEndpoint, location_name: "Endpoint"))
|
388
|
+
GetMessagingSessionEndpointResponse.struct_class = Types::GetMessagingSessionEndpointResponse
|
389
|
+
|
390
|
+
Identity.add_member(:arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "Arn"))
|
391
|
+
Identity.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "Name"))
|
392
|
+
Identity.struct_class = Types::Identity
|
393
|
+
|
394
|
+
ListChannelBansRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
395
|
+
ListChannelBansRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "max-results"))
|
396
|
+
ListChannelBansRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "next-token"))
|
397
|
+
ListChannelBansRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
|
398
|
+
ListChannelBansRequest.struct_class = Types::ListChannelBansRequest
|
399
|
+
|
400
|
+
ListChannelBansResponse.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "ChannelArn"))
|
401
|
+
ListChannelBansResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
402
|
+
ListChannelBansResponse.add_member(:channel_bans, Shapes::ShapeRef.new(shape: ChannelBanSummaryList, location_name: "ChannelBans"))
|
403
|
+
ListChannelBansResponse.struct_class = Types::ListChannelBansResponse
|
404
|
+
|
405
|
+
ListChannelMembershipsForAppInstanceUserRequest.add_member(:app_instance_user_arn, Shapes::ShapeRef.new(shape: ChimeArn, location: "querystring", location_name: "app-instance-user-arn"))
|
406
|
+
ListChannelMembershipsForAppInstanceUserRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "max-results"))
|
407
|
+
ListChannelMembershipsForAppInstanceUserRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "next-token"))
|
408
|
+
ListChannelMembershipsForAppInstanceUserRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
|
409
|
+
ListChannelMembershipsForAppInstanceUserRequest.struct_class = Types::ListChannelMembershipsForAppInstanceUserRequest
|
410
|
+
|
411
|
+
ListChannelMembershipsForAppInstanceUserResponse.add_member(:channel_memberships, Shapes::ShapeRef.new(shape: ChannelMembershipForAppInstanceUserSummaryList, location_name: "ChannelMemberships"))
|
412
|
+
ListChannelMembershipsForAppInstanceUserResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
413
|
+
ListChannelMembershipsForAppInstanceUserResponse.struct_class = Types::ListChannelMembershipsForAppInstanceUserResponse
|
414
|
+
|
415
|
+
ListChannelMembershipsRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
416
|
+
ListChannelMembershipsRequest.add_member(:type, Shapes::ShapeRef.new(shape: ChannelMembershipType, location: "querystring", location_name: "type"))
|
417
|
+
ListChannelMembershipsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "max-results"))
|
418
|
+
ListChannelMembershipsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "next-token"))
|
419
|
+
ListChannelMembershipsRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
|
420
|
+
ListChannelMembershipsRequest.struct_class = Types::ListChannelMembershipsRequest
|
421
|
+
|
422
|
+
ListChannelMembershipsResponse.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "ChannelArn"))
|
423
|
+
ListChannelMembershipsResponse.add_member(:channel_memberships, Shapes::ShapeRef.new(shape: ChannelMembershipSummaryList, location_name: "ChannelMemberships"))
|
424
|
+
ListChannelMembershipsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
425
|
+
ListChannelMembershipsResponse.struct_class = Types::ListChannelMembershipsResponse
|
426
|
+
|
427
|
+
ListChannelMessagesRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
428
|
+
ListChannelMessagesRequest.add_member(:sort_order, Shapes::ShapeRef.new(shape: SortOrder, location: "querystring", location_name: "sort-order"))
|
429
|
+
ListChannelMessagesRequest.add_member(:not_before, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "not-before"))
|
430
|
+
ListChannelMessagesRequest.add_member(:not_after, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "not-after"))
|
431
|
+
ListChannelMessagesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "max-results"))
|
432
|
+
ListChannelMessagesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "next-token"))
|
433
|
+
ListChannelMessagesRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
|
434
|
+
ListChannelMessagesRequest.struct_class = Types::ListChannelMessagesRequest
|
435
|
+
|
436
|
+
ListChannelMessagesResponse.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "ChannelArn"))
|
437
|
+
ListChannelMessagesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
438
|
+
ListChannelMessagesResponse.add_member(:channel_messages, Shapes::ShapeRef.new(shape: ChannelMessageSummaryList, location_name: "ChannelMessages"))
|
439
|
+
ListChannelMessagesResponse.struct_class = Types::ListChannelMessagesResponse
|
440
|
+
|
441
|
+
ListChannelModeratorsRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
442
|
+
ListChannelModeratorsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "max-results"))
|
443
|
+
ListChannelModeratorsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "next-token"))
|
444
|
+
ListChannelModeratorsRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
|
445
|
+
ListChannelModeratorsRequest.struct_class = Types::ListChannelModeratorsRequest
|
446
|
+
|
447
|
+
ListChannelModeratorsResponse.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "ChannelArn"))
|
448
|
+
ListChannelModeratorsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
449
|
+
ListChannelModeratorsResponse.add_member(:channel_moderators, Shapes::ShapeRef.new(shape: ChannelModeratorSummaryList, location_name: "ChannelModerators"))
|
450
|
+
ListChannelModeratorsResponse.struct_class = Types::ListChannelModeratorsResponse
|
451
|
+
|
452
|
+
ListChannelsModeratedByAppInstanceUserRequest.add_member(:app_instance_user_arn, Shapes::ShapeRef.new(shape: ChimeArn, location: "querystring", location_name: "app-instance-user-arn"))
|
453
|
+
ListChannelsModeratedByAppInstanceUserRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "max-results"))
|
454
|
+
ListChannelsModeratedByAppInstanceUserRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "next-token"))
|
455
|
+
ListChannelsModeratedByAppInstanceUserRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
|
456
|
+
ListChannelsModeratedByAppInstanceUserRequest.struct_class = Types::ListChannelsModeratedByAppInstanceUserRequest
|
457
|
+
|
458
|
+
ListChannelsModeratedByAppInstanceUserResponse.add_member(:channels, Shapes::ShapeRef.new(shape: ChannelModeratedByAppInstanceUserSummaryList, location_name: "Channels"))
|
459
|
+
ListChannelsModeratedByAppInstanceUserResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
460
|
+
ListChannelsModeratedByAppInstanceUserResponse.struct_class = Types::ListChannelsModeratedByAppInstanceUserResponse
|
461
|
+
|
462
|
+
ListChannelsRequest.add_member(:app_instance_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "querystring", location_name: "app-instance-arn"))
|
463
|
+
ListChannelsRequest.add_member(:privacy, Shapes::ShapeRef.new(shape: ChannelPrivacy, location: "querystring", location_name: "privacy"))
|
464
|
+
ListChannelsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "max-results"))
|
465
|
+
ListChannelsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "next-token"))
|
466
|
+
ListChannelsRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
|
467
|
+
ListChannelsRequest.struct_class = Types::ListChannelsRequest
|
468
|
+
|
469
|
+
ListChannelsResponse.add_member(:channels, Shapes::ShapeRef.new(shape: ChannelSummaryList, location_name: "Channels"))
|
470
|
+
ListChannelsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
471
|
+
ListChannelsResponse.struct_class = Types::ListChannelsResponse
|
472
|
+
|
473
|
+
MemberArns.member = Shapes::ShapeRef.new(shape: ChimeArn)
|
474
|
+
|
475
|
+
Members.member = Shapes::ShapeRef.new(shape: Identity)
|
476
|
+
|
477
|
+
MessagingSessionEndpoint.add_member(:url, Shapes::ShapeRef.new(shape: UrlType, location_name: "Url"))
|
478
|
+
MessagingSessionEndpoint.struct_class = Types::MessagingSessionEndpoint
|
479
|
+
|
480
|
+
NotFoundException.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "Code"))
|
481
|
+
NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
482
|
+
NotFoundException.struct_class = Types::NotFoundException
|
483
|
+
|
484
|
+
RedactChannelMessageRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
485
|
+
RedactChannelMessageRequest.add_member(:message_id, Shapes::ShapeRef.new(shape: MessageId, required: true, location: "uri", location_name: "messageId"))
|
486
|
+
RedactChannelMessageRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
|
487
|
+
RedactChannelMessageRequest.struct_class = Types::RedactChannelMessageRequest
|
488
|
+
|
489
|
+
RedactChannelMessageResponse.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "ChannelArn"))
|
490
|
+
RedactChannelMessageResponse.add_member(:message_id, Shapes::ShapeRef.new(shape: MessageId, location_name: "MessageId"))
|
491
|
+
RedactChannelMessageResponse.struct_class = Types::RedactChannelMessageResponse
|
492
|
+
|
493
|
+
ResourceLimitExceededException.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "Code"))
|
494
|
+
ResourceLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
495
|
+
ResourceLimitExceededException.struct_class = Types::ResourceLimitExceededException
|
496
|
+
|
497
|
+
SendChannelMessageRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
498
|
+
SendChannelMessageRequest.add_member(:content, Shapes::ShapeRef.new(shape: NonEmptyContent, required: true, location_name: "Content"))
|
499
|
+
SendChannelMessageRequest.add_member(:type, Shapes::ShapeRef.new(shape: ChannelMessageType, required: true, location_name: "Type"))
|
500
|
+
SendChannelMessageRequest.add_member(:persistence, Shapes::ShapeRef.new(shape: ChannelMessagePersistenceType, required: true, location_name: "Persistence"))
|
501
|
+
SendChannelMessageRequest.add_member(:metadata, Shapes::ShapeRef.new(shape: Metadata, location_name: "Metadata"))
|
502
|
+
SendChannelMessageRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, required: true, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
|
503
|
+
SendChannelMessageRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
|
504
|
+
SendChannelMessageRequest.struct_class = Types::SendChannelMessageRequest
|
505
|
+
|
506
|
+
SendChannelMessageResponse.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "ChannelArn"))
|
507
|
+
SendChannelMessageResponse.add_member(:message_id, Shapes::ShapeRef.new(shape: MessageId, location_name: "MessageId"))
|
508
|
+
SendChannelMessageResponse.struct_class = Types::SendChannelMessageResponse
|
509
|
+
|
510
|
+
ServiceFailureException.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "Code"))
|
511
|
+
ServiceFailureException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
512
|
+
ServiceFailureException.struct_class = Types::ServiceFailureException
|
513
|
+
|
514
|
+
ServiceUnavailableException.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "Code"))
|
515
|
+
ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
516
|
+
ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
|
517
|
+
|
518
|
+
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
|
519
|
+
Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "Value"))
|
520
|
+
Tag.struct_class = Types::Tag
|
521
|
+
|
522
|
+
TagList.member = Shapes::ShapeRef.new(shape: Tag)
|
523
|
+
|
524
|
+
ThrottledClientException.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "Code"))
|
525
|
+
ThrottledClientException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
526
|
+
ThrottledClientException.struct_class = Types::ThrottledClientException
|
527
|
+
|
528
|
+
UnauthorizedClientException.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "Code"))
|
529
|
+
UnauthorizedClientException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
530
|
+
UnauthorizedClientException.struct_class = Types::UnauthorizedClientException
|
531
|
+
|
532
|
+
UpdateChannelMessageRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
533
|
+
UpdateChannelMessageRequest.add_member(:message_id, Shapes::ShapeRef.new(shape: MessageId, required: true, location: "uri", location_name: "messageId"))
|
534
|
+
UpdateChannelMessageRequest.add_member(:content, Shapes::ShapeRef.new(shape: Content, location_name: "Content"))
|
535
|
+
UpdateChannelMessageRequest.add_member(:metadata, Shapes::ShapeRef.new(shape: Metadata, location_name: "Metadata"))
|
536
|
+
UpdateChannelMessageRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
|
537
|
+
UpdateChannelMessageRequest.struct_class = Types::UpdateChannelMessageRequest
|
538
|
+
|
539
|
+
UpdateChannelMessageResponse.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "ChannelArn"))
|
540
|
+
UpdateChannelMessageResponse.add_member(:message_id, Shapes::ShapeRef.new(shape: MessageId, location_name: "MessageId"))
|
541
|
+
UpdateChannelMessageResponse.struct_class = Types::UpdateChannelMessageResponse
|
542
|
+
|
543
|
+
UpdateChannelReadMarkerRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
544
|
+
UpdateChannelReadMarkerRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
|
545
|
+
UpdateChannelReadMarkerRequest.struct_class = Types::UpdateChannelReadMarkerRequest
|
546
|
+
|
547
|
+
UpdateChannelReadMarkerResponse.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "ChannelArn"))
|
548
|
+
UpdateChannelReadMarkerResponse.struct_class = Types::UpdateChannelReadMarkerResponse
|
549
|
+
|
550
|
+
UpdateChannelRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
|
551
|
+
UpdateChannelRequest.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyResourceName, required: true, location_name: "Name"))
|
552
|
+
UpdateChannelRequest.add_member(:mode, Shapes::ShapeRef.new(shape: ChannelMode, required: true, location_name: "Mode"))
|
553
|
+
UpdateChannelRequest.add_member(:metadata, Shapes::ShapeRef.new(shape: Metadata, location_name: "Metadata"))
|
554
|
+
UpdateChannelRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
|
555
|
+
UpdateChannelRequest.struct_class = Types::UpdateChannelRequest
|
556
|
+
|
557
|
+
UpdateChannelResponse.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "ChannelArn"))
|
558
|
+
UpdateChannelResponse.struct_class = Types::UpdateChannelResponse
|
559
|
+
|
560
|
+
|
561
|
+
# @api private
|
562
|
+
API = Seahorse::Model::Api.new.tap do |api|
|
563
|
+
|
564
|
+
api.version = "2021-05-15"
|
565
|
+
|
566
|
+
api.metadata = {
|
567
|
+
"apiVersion" => "2021-05-15",
|
568
|
+
"endpointPrefix" => "messaging-chime",
|
569
|
+
"protocol" => "rest-json",
|
570
|
+
"serviceFullName" => "Amazon Chime SDK Messaging",
|
571
|
+
"serviceId" => "Chime SDK Messaging",
|
572
|
+
"signatureVersion" => "v4",
|
573
|
+
"signingName" => "chime",
|
574
|
+
"uid" => "chime-sdk-messaging-2021-05-15",
|
575
|
+
}
|
576
|
+
|
577
|
+
api.add_operation(:batch_create_channel_membership, Seahorse::Model::Operation.new.tap do |o|
|
578
|
+
o.name = "BatchCreateChannelMembership"
|
579
|
+
o.http_method = "POST"
|
580
|
+
o.http_request_uri = "/channels/{channelArn}/memberships?operation=batch-create"
|
581
|
+
o.input = Shapes::ShapeRef.new(shape: BatchCreateChannelMembershipRequest)
|
582
|
+
o.output = Shapes::ShapeRef.new(shape: BatchCreateChannelMembershipResponse)
|
583
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
584
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
585
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
586
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
587
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
588
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
589
|
+
end)
|
590
|
+
|
591
|
+
api.add_operation(:create_channel, Seahorse::Model::Operation.new.tap do |o|
|
592
|
+
o.name = "CreateChannel"
|
593
|
+
o.http_method = "POST"
|
594
|
+
o.http_request_uri = "/channels"
|
595
|
+
o.input = Shapes::ShapeRef.new(shape: CreateChannelRequest)
|
596
|
+
o.output = Shapes::ShapeRef.new(shape: CreateChannelResponse)
|
597
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
598
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
599
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
600
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
601
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceededException)
|
602
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
603
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
604
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
605
|
+
end)
|
606
|
+
|
607
|
+
api.add_operation(:create_channel_ban, Seahorse::Model::Operation.new.tap do |o|
|
608
|
+
o.name = "CreateChannelBan"
|
609
|
+
o.http_method = "POST"
|
610
|
+
o.http_request_uri = "/channels/{channelArn}/bans"
|
611
|
+
o.input = Shapes::ShapeRef.new(shape: CreateChannelBanRequest)
|
612
|
+
o.output = Shapes::ShapeRef.new(shape: CreateChannelBanResponse)
|
613
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
614
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
615
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
616
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
617
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceededException)
|
618
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
619
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
620
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
621
|
+
end)
|
622
|
+
|
623
|
+
api.add_operation(:create_channel_membership, Seahorse::Model::Operation.new.tap do |o|
|
624
|
+
o.name = "CreateChannelMembership"
|
625
|
+
o.http_method = "POST"
|
626
|
+
o.http_request_uri = "/channels/{channelArn}/memberships"
|
627
|
+
o.input = Shapes::ShapeRef.new(shape: CreateChannelMembershipRequest)
|
628
|
+
o.output = Shapes::ShapeRef.new(shape: CreateChannelMembershipResponse)
|
629
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
630
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
631
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
632
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
633
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceededException)
|
634
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
635
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
636
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
637
|
+
end)
|
638
|
+
|
639
|
+
api.add_operation(:create_channel_moderator, Seahorse::Model::Operation.new.tap do |o|
|
640
|
+
o.name = "CreateChannelModerator"
|
641
|
+
o.http_method = "POST"
|
642
|
+
o.http_request_uri = "/channels/{channelArn}/moderators"
|
643
|
+
o.input = Shapes::ShapeRef.new(shape: CreateChannelModeratorRequest)
|
644
|
+
o.output = Shapes::ShapeRef.new(shape: CreateChannelModeratorResponse)
|
645
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
646
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
647
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
648
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
649
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceededException)
|
650
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
651
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
652
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
653
|
+
end)
|
654
|
+
|
655
|
+
api.add_operation(:delete_channel, Seahorse::Model::Operation.new.tap do |o|
|
656
|
+
o.name = "DeleteChannel"
|
657
|
+
o.http_method = "DELETE"
|
658
|
+
o.http_request_uri = "/channels/{channelArn}"
|
659
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteChannelRequest)
|
660
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
661
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
662
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
663
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
664
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
665
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
666
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
667
|
+
end)
|
668
|
+
|
669
|
+
api.add_operation(:delete_channel_ban, Seahorse::Model::Operation.new.tap do |o|
|
670
|
+
o.name = "DeleteChannelBan"
|
671
|
+
o.http_method = "DELETE"
|
672
|
+
o.http_request_uri = "/channels/{channelArn}/bans/{memberArn}"
|
673
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteChannelBanRequest)
|
674
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
675
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
676
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
677
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
678
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
679
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
680
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
681
|
+
end)
|
682
|
+
|
683
|
+
api.add_operation(:delete_channel_membership, Seahorse::Model::Operation.new.tap do |o|
|
684
|
+
o.name = "DeleteChannelMembership"
|
685
|
+
o.http_method = "DELETE"
|
686
|
+
o.http_request_uri = "/channels/{channelArn}/memberships/{memberArn}"
|
687
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteChannelMembershipRequest)
|
688
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
689
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
690
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
691
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
692
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
693
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
694
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
695
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
696
|
+
end)
|
697
|
+
|
698
|
+
api.add_operation(:delete_channel_message, Seahorse::Model::Operation.new.tap do |o|
|
699
|
+
o.name = "DeleteChannelMessage"
|
700
|
+
o.http_method = "DELETE"
|
701
|
+
o.http_request_uri = "/channels/{channelArn}/messages/{messageId}"
|
702
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteChannelMessageRequest)
|
703
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
704
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
705
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
706
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
707
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
708
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
709
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
710
|
+
end)
|
711
|
+
|
712
|
+
api.add_operation(:delete_channel_moderator, Seahorse::Model::Operation.new.tap do |o|
|
713
|
+
o.name = "DeleteChannelModerator"
|
714
|
+
o.http_method = "DELETE"
|
715
|
+
o.http_request_uri = "/channels/{channelArn}/moderators/{channelModeratorArn}"
|
716
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteChannelModeratorRequest)
|
717
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
718
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
719
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
720
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
721
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
722
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
723
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
724
|
+
end)
|
725
|
+
|
726
|
+
api.add_operation(:describe_channel, Seahorse::Model::Operation.new.tap do |o|
|
727
|
+
o.name = "DescribeChannel"
|
728
|
+
o.http_method = "GET"
|
729
|
+
o.http_request_uri = "/channels/{channelArn}"
|
730
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeChannelRequest)
|
731
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeChannelResponse)
|
732
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
733
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
734
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
735
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
736
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
737
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
738
|
+
end)
|
739
|
+
|
740
|
+
api.add_operation(:describe_channel_ban, Seahorse::Model::Operation.new.tap do |o|
|
741
|
+
o.name = "DescribeChannelBan"
|
742
|
+
o.http_method = "GET"
|
743
|
+
o.http_request_uri = "/channels/{channelArn}/bans/{memberArn}"
|
744
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeChannelBanRequest)
|
745
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeChannelBanResponse)
|
746
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
747
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
748
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
749
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
750
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
751
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
752
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
753
|
+
end)
|
754
|
+
|
755
|
+
api.add_operation(:describe_channel_membership, Seahorse::Model::Operation.new.tap do |o|
|
756
|
+
o.name = "DescribeChannelMembership"
|
757
|
+
o.http_method = "GET"
|
758
|
+
o.http_request_uri = "/channels/{channelArn}/memberships/{memberArn}"
|
759
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeChannelMembershipRequest)
|
760
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeChannelMembershipResponse)
|
761
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
762
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
763
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
764
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
765
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
766
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
767
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
768
|
+
end)
|
769
|
+
|
770
|
+
api.add_operation(:describe_channel_membership_for_app_instance_user, Seahorse::Model::Operation.new.tap do |o|
|
771
|
+
o.name = "DescribeChannelMembershipForAppInstanceUser"
|
772
|
+
o.http_method = "GET"
|
773
|
+
o.http_request_uri = "/channels/{channelArn}?scope=app-instance-user-membership"
|
774
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeChannelMembershipForAppInstanceUserRequest)
|
775
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeChannelMembershipForAppInstanceUserResponse)
|
776
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
777
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
778
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
779
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
780
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
781
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
782
|
+
end)
|
783
|
+
|
784
|
+
api.add_operation(:describe_channel_moderated_by_app_instance_user, Seahorse::Model::Operation.new.tap do |o|
|
785
|
+
o.name = "DescribeChannelModeratedByAppInstanceUser"
|
786
|
+
o.http_method = "GET"
|
787
|
+
o.http_request_uri = "/channels/{channelArn}?scope=app-instance-user-moderated-channel"
|
788
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeChannelModeratedByAppInstanceUserRequest)
|
789
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeChannelModeratedByAppInstanceUserResponse)
|
790
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
791
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
792
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
793
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
794
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
795
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
796
|
+
end)
|
797
|
+
|
798
|
+
api.add_operation(:describe_channel_moderator, Seahorse::Model::Operation.new.tap do |o|
|
799
|
+
o.name = "DescribeChannelModerator"
|
800
|
+
o.http_method = "GET"
|
801
|
+
o.http_request_uri = "/channels/{channelArn}/moderators/{channelModeratorArn}"
|
802
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeChannelModeratorRequest)
|
803
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeChannelModeratorResponse)
|
804
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
805
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
806
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
807
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
808
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
809
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
810
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
811
|
+
end)
|
812
|
+
|
813
|
+
api.add_operation(:get_channel_message, Seahorse::Model::Operation.new.tap do |o|
|
814
|
+
o.name = "GetChannelMessage"
|
815
|
+
o.http_method = "GET"
|
816
|
+
o.http_request_uri = "/channels/{channelArn}/messages/{messageId}"
|
817
|
+
o.input = Shapes::ShapeRef.new(shape: GetChannelMessageRequest)
|
818
|
+
o.output = Shapes::ShapeRef.new(shape: GetChannelMessageResponse)
|
819
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
820
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
821
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
822
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
823
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
824
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
825
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
826
|
+
end)
|
827
|
+
|
828
|
+
api.add_operation(:get_messaging_session_endpoint, Seahorse::Model::Operation.new.tap do |o|
|
829
|
+
o.name = "GetMessagingSessionEndpoint"
|
830
|
+
o.http_method = "GET"
|
831
|
+
o.http_request_uri = "/endpoints/messaging-session"
|
832
|
+
o.input = Shapes::ShapeRef.new(shape: GetMessagingSessionEndpointRequest)
|
833
|
+
o.output = Shapes::ShapeRef.new(shape: GetMessagingSessionEndpointResponse)
|
834
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
835
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
836
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
837
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
838
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
839
|
+
end)
|
840
|
+
|
841
|
+
api.add_operation(:list_channel_bans, Seahorse::Model::Operation.new.tap do |o|
|
842
|
+
o.name = "ListChannelBans"
|
843
|
+
o.http_method = "GET"
|
844
|
+
o.http_request_uri = "/channels/{channelArn}/bans"
|
845
|
+
o.input = Shapes::ShapeRef.new(shape: ListChannelBansRequest)
|
846
|
+
o.output = Shapes::ShapeRef.new(shape: ListChannelBansResponse)
|
847
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
848
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
849
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
850
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
851
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
852
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
853
|
+
o[:pager] = Aws::Pager.new(
|
854
|
+
limit_key: "max_results",
|
855
|
+
tokens: {
|
856
|
+
"next_token" => "next_token"
|
857
|
+
}
|
858
|
+
)
|
859
|
+
end)
|
860
|
+
|
861
|
+
api.add_operation(:list_channel_memberships, Seahorse::Model::Operation.new.tap do |o|
|
862
|
+
o.name = "ListChannelMemberships"
|
863
|
+
o.http_method = "GET"
|
864
|
+
o.http_request_uri = "/channels/{channelArn}/memberships"
|
865
|
+
o.input = Shapes::ShapeRef.new(shape: ListChannelMembershipsRequest)
|
866
|
+
o.output = Shapes::ShapeRef.new(shape: ListChannelMembershipsResponse)
|
867
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
868
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
869
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
870
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
871
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
872
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
873
|
+
o[:pager] = Aws::Pager.new(
|
874
|
+
limit_key: "max_results",
|
875
|
+
tokens: {
|
876
|
+
"next_token" => "next_token"
|
877
|
+
}
|
878
|
+
)
|
879
|
+
end)
|
880
|
+
|
881
|
+
api.add_operation(:list_channel_memberships_for_app_instance_user, Seahorse::Model::Operation.new.tap do |o|
|
882
|
+
o.name = "ListChannelMembershipsForAppInstanceUser"
|
883
|
+
o.http_method = "GET"
|
884
|
+
o.http_request_uri = "/channels?scope=app-instance-user-memberships"
|
885
|
+
o.input = Shapes::ShapeRef.new(shape: ListChannelMembershipsForAppInstanceUserRequest)
|
886
|
+
o.output = Shapes::ShapeRef.new(shape: ListChannelMembershipsForAppInstanceUserResponse)
|
887
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
888
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
889
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
890
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
891
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
892
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
893
|
+
o[:pager] = Aws::Pager.new(
|
894
|
+
limit_key: "max_results",
|
895
|
+
tokens: {
|
896
|
+
"next_token" => "next_token"
|
897
|
+
}
|
898
|
+
)
|
899
|
+
end)
|
900
|
+
|
901
|
+
api.add_operation(:list_channel_messages, Seahorse::Model::Operation.new.tap do |o|
|
902
|
+
o.name = "ListChannelMessages"
|
903
|
+
o.http_method = "GET"
|
904
|
+
o.http_request_uri = "/channels/{channelArn}/messages"
|
905
|
+
o.input = Shapes::ShapeRef.new(shape: ListChannelMessagesRequest)
|
906
|
+
o.output = Shapes::ShapeRef.new(shape: ListChannelMessagesResponse)
|
907
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
908
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
909
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
910
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
911
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
912
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
913
|
+
o[:pager] = Aws::Pager.new(
|
914
|
+
limit_key: "max_results",
|
915
|
+
tokens: {
|
916
|
+
"next_token" => "next_token"
|
917
|
+
}
|
918
|
+
)
|
919
|
+
end)
|
920
|
+
|
921
|
+
api.add_operation(:list_channel_moderators, Seahorse::Model::Operation.new.tap do |o|
|
922
|
+
o.name = "ListChannelModerators"
|
923
|
+
o.http_method = "GET"
|
924
|
+
o.http_request_uri = "/channels/{channelArn}/moderators"
|
925
|
+
o.input = Shapes::ShapeRef.new(shape: ListChannelModeratorsRequest)
|
926
|
+
o.output = Shapes::ShapeRef.new(shape: ListChannelModeratorsResponse)
|
927
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
928
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
929
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
930
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
931
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
932
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
933
|
+
o[:pager] = Aws::Pager.new(
|
934
|
+
limit_key: "max_results",
|
935
|
+
tokens: {
|
936
|
+
"next_token" => "next_token"
|
937
|
+
}
|
938
|
+
)
|
939
|
+
end)
|
940
|
+
|
941
|
+
api.add_operation(:list_channels, Seahorse::Model::Operation.new.tap do |o|
|
942
|
+
o.name = "ListChannels"
|
943
|
+
o.http_method = "GET"
|
944
|
+
o.http_request_uri = "/channels"
|
945
|
+
o.input = Shapes::ShapeRef.new(shape: ListChannelsRequest)
|
946
|
+
o.output = Shapes::ShapeRef.new(shape: ListChannelsResponse)
|
947
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
948
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
949
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
950
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
951
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
952
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
953
|
+
o[:pager] = Aws::Pager.new(
|
954
|
+
limit_key: "max_results",
|
955
|
+
tokens: {
|
956
|
+
"next_token" => "next_token"
|
957
|
+
}
|
958
|
+
)
|
959
|
+
end)
|
960
|
+
|
961
|
+
api.add_operation(:list_channels_moderated_by_app_instance_user, Seahorse::Model::Operation.new.tap do |o|
|
962
|
+
o.name = "ListChannelsModeratedByAppInstanceUser"
|
963
|
+
o.http_method = "GET"
|
964
|
+
o.http_request_uri = "/channels?scope=app-instance-user-moderated-channels"
|
965
|
+
o.input = Shapes::ShapeRef.new(shape: ListChannelsModeratedByAppInstanceUserRequest)
|
966
|
+
o.output = Shapes::ShapeRef.new(shape: ListChannelsModeratedByAppInstanceUserResponse)
|
967
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
968
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
969
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
970
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
971
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
972
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
973
|
+
o[:pager] = Aws::Pager.new(
|
974
|
+
limit_key: "max_results",
|
975
|
+
tokens: {
|
976
|
+
"next_token" => "next_token"
|
977
|
+
}
|
978
|
+
)
|
979
|
+
end)
|
980
|
+
|
981
|
+
api.add_operation(:redact_channel_message, Seahorse::Model::Operation.new.tap do |o|
|
982
|
+
o.name = "RedactChannelMessage"
|
983
|
+
o.http_method = "POST"
|
984
|
+
o.http_request_uri = "/channels/{channelArn}/messages/{messageId}?operation=redact"
|
985
|
+
o.input = Shapes::ShapeRef.new(shape: RedactChannelMessageRequest)
|
986
|
+
o.output = Shapes::ShapeRef.new(shape: RedactChannelMessageResponse)
|
987
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
988
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
989
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
990
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
991
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
992
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
993
|
+
end)
|
994
|
+
|
995
|
+
api.add_operation(:send_channel_message, Seahorse::Model::Operation.new.tap do |o|
|
996
|
+
o.name = "SendChannelMessage"
|
997
|
+
o.http_method = "POST"
|
998
|
+
o.http_request_uri = "/channels/{channelArn}/messages"
|
999
|
+
o.input = Shapes::ShapeRef.new(shape: SendChannelMessageRequest)
|
1000
|
+
o.output = Shapes::ShapeRef.new(shape: SendChannelMessageResponse)
|
1001
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1002
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1003
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1004
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
1005
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
1006
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1007
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
1008
|
+
end)
|
1009
|
+
|
1010
|
+
api.add_operation(:update_channel, Seahorse::Model::Operation.new.tap do |o|
|
1011
|
+
o.name = "UpdateChannel"
|
1012
|
+
o.http_method = "PUT"
|
1013
|
+
o.http_request_uri = "/channels/{channelArn}"
|
1014
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateChannelRequest)
|
1015
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateChannelResponse)
|
1016
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1017
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1018
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1019
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
1020
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
1021
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1022
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
1023
|
+
end)
|
1024
|
+
|
1025
|
+
api.add_operation(:update_channel_message, Seahorse::Model::Operation.new.tap do |o|
|
1026
|
+
o.name = "UpdateChannelMessage"
|
1027
|
+
o.http_method = "PUT"
|
1028
|
+
o.http_request_uri = "/channels/{channelArn}/messages/{messageId}"
|
1029
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateChannelMessageRequest)
|
1030
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateChannelMessageResponse)
|
1031
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1032
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1033
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1034
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
1035
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
1036
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1037
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
1038
|
+
end)
|
1039
|
+
|
1040
|
+
api.add_operation(:update_channel_read_marker, Seahorse::Model::Operation.new.tap do |o|
|
1041
|
+
o.name = "UpdateChannelReadMarker"
|
1042
|
+
o.http_method = "PUT"
|
1043
|
+
o.http_request_uri = "/channels/{channelArn}/readMarker"
|
1044
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateChannelReadMarkerRequest)
|
1045
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateChannelReadMarkerResponse)
|
1046
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1047
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1048
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1049
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
1050
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
1051
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1052
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
1053
|
+
end)
|
1054
|
+
end
|
1055
|
+
|
1056
|
+
end
|
1057
|
+
end
|