aws-sdk-chimesdkmessaging 1.0.0 → 1.4.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.
@@ -14,16 +14,26 @@ module Aws::ChimeSDKMessaging
14
14
  include Seahorse::Model
15
15
 
16
16
  AppInstanceUserMembershipSummary = Shapes::StructureShape.new(name: 'AppInstanceUserMembershipSummary')
17
+ AssociateChannelFlowRequest = Shapes::StructureShape.new(name: 'AssociateChannelFlowRequest')
17
18
  BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
18
19
  BatchChannelMemberships = Shapes::StructureShape.new(name: 'BatchChannelMemberships')
19
20
  BatchCreateChannelMembershipError = Shapes::StructureShape.new(name: 'BatchCreateChannelMembershipError')
20
21
  BatchCreateChannelMembershipErrors = Shapes::ListShape.new(name: 'BatchCreateChannelMembershipErrors')
21
22
  BatchCreateChannelMembershipRequest = Shapes::StructureShape.new(name: 'BatchCreateChannelMembershipRequest')
22
23
  BatchCreateChannelMembershipResponse = Shapes::StructureShape.new(name: 'BatchCreateChannelMembershipResponse')
24
+ CallbackIdType = Shapes::StringShape.new(name: 'CallbackIdType')
23
25
  Channel = Shapes::StructureShape.new(name: 'Channel')
26
+ ChannelAssociatedWithFlowSummary = Shapes::StructureShape.new(name: 'ChannelAssociatedWithFlowSummary')
27
+ ChannelAssociatedWithFlowSummaryList = Shapes::ListShape.new(name: 'ChannelAssociatedWithFlowSummaryList')
24
28
  ChannelBan = Shapes::StructureShape.new(name: 'ChannelBan')
25
29
  ChannelBanSummary = Shapes::StructureShape.new(name: 'ChannelBanSummary')
26
30
  ChannelBanSummaryList = Shapes::ListShape.new(name: 'ChannelBanSummaryList')
31
+ ChannelFlow = Shapes::StructureShape.new(name: 'ChannelFlow')
32
+ ChannelFlowCallbackRequest = Shapes::StructureShape.new(name: 'ChannelFlowCallbackRequest')
33
+ ChannelFlowCallbackResponse = Shapes::StructureShape.new(name: 'ChannelFlowCallbackResponse')
34
+ ChannelFlowExecutionOrder = Shapes::IntegerShape.new(name: 'ChannelFlowExecutionOrder')
35
+ ChannelFlowSummary = Shapes::StructureShape.new(name: 'ChannelFlowSummary')
36
+ ChannelFlowSummaryList = Shapes::ListShape.new(name: 'ChannelFlowSummaryList')
27
37
  ChannelMembership = Shapes::StructureShape.new(name: 'ChannelMembership')
28
38
  ChannelMembershipForAppInstanceUserSummary = Shapes::StructureShape.new(name: 'ChannelMembershipForAppInstanceUserSummary')
29
39
  ChannelMembershipForAppInstanceUserSummaryList = Shapes::ListShape.new(name: 'ChannelMembershipForAppInstanceUserSummaryList')
@@ -31,7 +41,10 @@ module Aws::ChimeSDKMessaging
31
41
  ChannelMembershipSummaryList = Shapes::ListShape.new(name: 'ChannelMembershipSummaryList')
32
42
  ChannelMembershipType = Shapes::StringShape.new(name: 'ChannelMembershipType')
33
43
  ChannelMessage = Shapes::StructureShape.new(name: 'ChannelMessage')
44
+ ChannelMessageCallback = Shapes::StructureShape.new(name: 'ChannelMessageCallback')
34
45
  ChannelMessagePersistenceType = Shapes::StringShape.new(name: 'ChannelMessagePersistenceType')
46
+ ChannelMessageStatus = Shapes::StringShape.new(name: 'ChannelMessageStatus')
47
+ ChannelMessageStatusStructure = Shapes::StructureShape.new(name: 'ChannelMessageStatusStructure')
35
48
  ChannelMessageSummary = Shapes::StructureShape.new(name: 'ChannelMessageSummary')
36
49
  ChannelMessageSummaryList = Shapes::ListShape.new(name: 'ChannelMessageSummaryList')
37
50
  ChannelMessageType = Shapes::StringShape.new(name: 'ChannelMessageType')
@@ -50,6 +63,8 @@ module Aws::ChimeSDKMessaging
50
63
  Content = Shapes::StringShape.new(name: 'Content')
51
64
  CreateChannelBanRequest = Shapes::StructureShape.new(name: 'CreateChannelBanRequest')
52
65
  CreateChannelBanResponse = Shapes::StructureShape.new(name: 'CreateChannelBanResponse')
66
+ CreateChannelFlowRequest = Shapes::StructureShape.new(name: 'CreateChannelFlowRequest')
67
+ CreateChannelFlowResponse = Shapes::StructureShape.new(name: 'CreateChannelFlowResponse')
53
68
  CreateChannelMembershipRequest = Shapes::StructureShape.new(name: 'CreateChannelMembershipRequest')
54
69
  CreateChannelMembershipResponse = Shapes::StructureShape.new(name: 'CreateChannelMembershipResponse')
55
70
  CreateChannelModeratorRequest = Shapes::StructureShape.new(name: 'CreateChannelModeratorRequest')
@@ -57,12 +72,15 @@ module Aws::ChimeSDKMessaging
57
72
  CreateChannelRequest = Shapes::StructureShape.new(name: 'CreateChannelRequest')
58
73
  CreateChannelResponse = Shapes::StructureShape.new(name: 'CreateChannelResponse')
59
74
  DeleteChannelBanRequest = Shapes::StructureShape.new(name: 'DeleteChannelBanRequest')
75
+ DeleteChannelFlowRequest = Shapes::StructureShape.new(name: 'DeleteChannelFlowRequest')
60
76
  DeleteChannelMembershipRequest = Shapes::StructureShape.new(name: 'DeleteChannelMembershipRequest')
61
77
  DeleteChannelMessageRequest = Shapes::StructureShape.new(name: 'DeleteChannelMessageRequest')
62
78
  DeleteChannelModeratorRequest = Shapes::StructureShape.new(name: 'DeleteChannelModeratorRequest')
63
79
  DeleteChannelRequest = Shapes::StructureShape.new(name: 'DeleteChannelRequest')
64
80
  DescribeChannelBanRequest = Shapes::StructureShape.new(name: 'DescribeChannelBanRequest')
65
81
  DescribeChannelBanResponse = Shapes::StructureShape.new(name: 'DescribeChannelBanResponse')
82
+ DescribeChannelFlowRequest = Shapes::StructureShape.new(name: 'DescribeChannelFlowRequest')
83
+ DescribeChannelFlowResponse = Shapes::StructureShape.new(name: 'DescribeChannelFlowResponse')
66
84
  DescribeChannelMembershipForAppInstanceUserRequest = Shapes::StructureShape.new(name: 'DescribeChannelMembershipForAppInstanceUserRequest')
67
85
  DescribeChannelMembershipForAppInstanceUserResponse = Shapes::StructureShape.new(name: 'DescribeChannelMembershipForAppInstanceUserResponse')
68
86
  DescribeChannelMembershipRequest = Shapes::StructureShape.new(name: 'DescribeChannelMembershipRequest')
@@ -73,15 +91,24 @@ module Aws::ChimeSDKMessaging
73
91
  DescribeChannelModeratorResponse = Shapes::StructureShape.new(name: 'DescribeChannelModeratorResponse')
74
92
  DescribeChannelRequest = Shapes::StructureShape.new(name: 'DescribeChannelRequest')
75
93
  DescribeChannelResponse = Shapes::StructureShape.new(name: 'DescribeChannelResponse')
94
+ DisassociateChannelFlowRequest = Shapes::StructureShape.new(name: 'DisassociateChannelFlowRequest')
76
95
  ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
96
+ FallbackAction = Shapes::StringShape.new(name: 'FallbackAction')
77
97
  ForbiddenException = Shapes::StructureShape.new(name: 'ForbiddenException')
78
98
  GetChannelMessageRequest = Shapes::StructureShape.new(name: 'GetChannelMessageRequest')
79
99
  GetChannelMessageResponse = Shapes::StructureShape.new(name: 'GetChannelMessageResponse')
100
+ GetChannelMessageStatusRequest = Shapes::StructureShape.new(name: 'GetChannelMessageStatusRequest')
101
+ GetChannelMessageStatusResponse = Shapes::StructureShape.new(name: 'GetChannelMessageStatusResponse')
80
102
  GetMessagingSessionEndpointRequest = Shapes::StructureShape.new(name: 'GetMessagingSessionEndpointRequest')
81
103
  GetMessagingSessionEndpointResponse = Shapes::StructureShape.new(name: 'GetMessagingSessionEndpointResponse')
82
104
  Identity = Shapes::StructureShape.new(name: 'Identity')
105
+ InvocationType = Shapes::StringShape.new(name: 'InvocationType')
106
+ LambdaConfiguration = Shapes::StructureShape.new(name: 'LambdaConfiguration')
107
+ LambdaFunctionArn = Shapes::StringShape.new(name: 'LambdaFunctionArn')
83
108
  ListChannelBansRequest = Shapes::StructureShape.new(name: 'ListChannelBansRequest')
84
109
  ListChannelBansResponse = Shapes::StructureShape.new(name: 'ListChannelBansResponse')
110
+ ListChannelFlowsRequest = Shapes::StructureShape.new(name: 'ListChannelFlowsRequest')
111
+ ListChannelFlowsResponse = Shapes::StructureShape.new(name: 'ListChannelFlowsResponse')
85
112
  ListChannelMembershipsForAppInstanceUserRequest = Shapes::StructureShape.new(name: 'ListChannelMembershipsForAppInstanceUserRequest')
86
113
  ListChannelMembershipsForAppInstanceUserResponse = Shapes::StructureShape.new(name: 'ListChannelMembershipsForAppInstanceUserResponse')
87
114
  ListChannelMembershipsRequest = Shapes::StructureShape.new(name: 'ListChannelMembershipsRequest')
@@ -90,10 +117,14 @@ module Aws::ChimeSDKMessaging
90
117
  ListChannelMessagesResponse = Shapes::StructureShape.new(name: 'ListChannelMessagesResponse')
91
118
  ListChannelModeratorsRequest = Shapes::StructureShape.new(name: 'ListChannelModeratorsRequest')
92
119
  ListChannelModeratorsResponse = Shapes::StructureShape.new(name: 'ListChannelModeratorsResponse')
120
+ ListChannelsAssociatedWithChannelFlowRequest = Shapes::StructureShape.new(name: 'ListChannelsAssociatedWithChannelFlowRequest')
121
+ ListChannelsAssociatedWithChannelFlowResponse = Shapes::StructureShape.new(name: 'ListChannelsAssociatedWithChannelFlowResponse')
93
122
  ListChannelsModeratedByAppInstanceUserRequest = Shapes::StructureShape.new(name: 'ListChannelsModeratedByAppInstanceUserRequest')
94
123
  ListChannelsModeratedByAppInstanceUserResponse = Shapes::StructureShape.new(name: 'ListChannelsModeratedByAppInstanceUserResponse')
95
124
  ListChannelsRequest = Shapes::StructureShape.new(name: 'ListChannelsRequest')
96
125
  ListChannelsResponse = Shapes::StructureShape.new(name: 'ListChannelsResponse')
126
+ ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
127
+ ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
97
128
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
98
129
  MemberArns = Shapes::ListShape.new(name: 'MemberArns')
99
130
  Members = Shapes::ListShape.new(name: 'Members')
@@ -105,6 +136,9 @@ module Aws::ChimeSDKMessaging
105
136
  NonEmptyResourceName = Shapes::StringShape.new(name: 'NonEmptyResourceName')
106
137
  NonNullableBoolean = Shapes::BooleanShape.new(name: 'NonNullableBoolean')
107
138
  NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
139
+ Processor = Shapes::StructureShape.new(name: 'Processor')
140
+ ProcessorConfiguration = Shapes::StructureShape.new(name: 'ProcessorConfiguration')
141
+ ProcessorList = Shapes::ListShape.new(name: 'ProcessorList')
108
142
  RedactChannelMessageRequest = Shapes::StructureShape.new(name: 'RedactChannelMessageRequest')
109
143
  RedactChannelMessageResponse = Shapes::StructureShape.new(name: 'RedactChannelMessageResponse')
110
144
  ResourceLimitExceededException = Shapes::StructureShape.new(name: 'ResourceLimitExceededException')
@@ -114,14 +148,20 @@ module Aws::ChimeSDKMessaging
114
148
  ServiceFailureException = Shapes::StructureShape.new(name: 'ServiceFailureException')
115
149
  ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
116
150
  SortOrder = Shapes::StringShape.new(name: 'SortOrder')
151
+ StatusDetail = Shapes::StringShape.new(name: 'StatusDetail')
117
152
  String = Shapes::StringShape.new(name: 'String')
118
153
  Tag = Shapes::StructureShape.new(name: 'Tag')
119
154
  TagKey = Shapes::StringShape.new(name: 'TagKey')
155
+ TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
120
156
  TagList = Shapes::ListShape.new(name: 'TagList')
157
+ TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
121
158
  TagValue = Shapes::StringShape.new(name: 'TagValue')
122
159
  ThrottledClientException = Shapes::StructureShape.new(name: 'ThrottledClientException')
123
160
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
124
161
  UnauthorizedClientException = Shapes::StructureShape.new(name: 'UnauthorizedClientException')
162
+ UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
163
+ UpdateChannelFlowRequest = Shapes::StructureShape.new(name: 'UpdateChannelFlowRequest')
164
+ UpdateChannelFlowResponse = Shapes::StructureShape.new(name: 'UpdateChannelFlowResponse')
125
165
  UpdateChannelMessageRequest = Shapes::StructureShape.new(name: 'UpdateChannelMessageRequest')
126
166
  UpdateChannelMessageResponse = Shapes::StructureShape.new(name: 'UpdateChannelMessageResponse')
127
167
  UpdateChannelReadMarkerRequest = Shapes::StructureShape.new(name: 'UpdateChannelReadMarkerRequest')
@@ -134,6 +174,11 @@ module Aws::ChimeSDKMessaging
134
174
  AppInstanceUserMembershipSummary.add_member(:read_marker_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ReadMarkerTimestamp"))
135
175
  AppInstanceUserMembershipSummary.struct_class = Types::AppInstanceUserMembershipSummary
136
176
 
177
+ AssociateChannelFlowRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
178
+ AssociateChannelFlowRequest.add_member(:channel_flow_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location_name: "ChannelFlowArn"))
179
+ AssociateChannelFlowRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
180
+ AssociateChannelFlowRequest.struct_class = Types::AssociateChannelFlowRequest
181
+
137
182
  BadRequestException.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "Code"))
138
183
  BadRequestException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
139
184
  BadRequestException.struct_class = Types::BadRequestException
@@ -170,8 +215,18 @@ module Aws::ChimeSDKMessaging
170
215
  Channel.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedTimestamp"))
171
216
  Channel.add_member(:last_message_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastMessageTimestamp"))
172
217
  Channel.add_member(:last_updated_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastUpdatedTimestamp"))
218
+ Channel.add_member(:channel_flow_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "ChannelFlowArn"))
173
219
  Channel.struct_class = Types::Channel
174
220
 
221
+ ChannelAssociatedWithFlowSummary.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyResourceName, location_name: "Name"))
222
+ ChannelAssociatedWithFlowSummary.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "ChannelArn"))
223
+ ChannelAssociatedWithFlowSummary.add_member(:mode, Shapes::ShapeRef.new(shape: ChannelMode, location_name: "Mode"))
224
+ ChannelAssociatedWithFlowSummary.add_member(:privacy, Shapes::ShapeRef.new(shape: ChannelPrivacy, location_name: "Privacy"))
225
+ ChannelAssociatedWithFlowSummary.add_member(:metadata, Shapes::ShapeRef.new(shape: Metadata, location_name: "Metadata"))
226
+ ChannelAssociatedWithFlowSummary.struct_class = Types::ChannelAssociatedWithFlowSummary
227
+
228
+ ChannelAssociatedWithFlowSummaryList.member = Shapes::ShapeRef.new(shape: ChannelAssociatedWithFlowSummary)
229
+
175
230
  ChannelBan.add_member(:member, Shapes::ShapeRef.new(shape: Identity, location_name: "Member"))
176
231
  ChannelBan.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "ChannelArn"))
177
232
  ChannelBan.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedTimestamp"))
@@ -183,6 +238,30 @@ module Aws::ChimeSDKMessaging
183
238
 
184
239
  ChannelBanSummaryList.member = Shapes::ShapeRef.new(shape: ChannelBanSummary)
185
240
 
241
+ ChannelFlow.add_member(:channel_flow_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "ChannelFlowArn"))
242
+ ChannelFlow.add_member(:processors, Shapes::ShapeRef.new(shape: ProcessorList, location_name: "Processors"))
243
+ ChannelFlow.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyResourceName, location_name: "Name"))
244
+ ChannelFlow.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedTimestamp"))
245
+ ChannelFlow.add_member(:last_updated_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastUpdatedTimestamp"))
246
+ ChannelFlow.struct_class = Types::ChannelFlow
247
+
248
+ ChannelFlowCallbackRequest.add_member(:callback_id, Shapes::ShapeRef.new(shape: CallbackIdType, required: true, location_name: "CallbackId", metadata: {"idempotencyToken"=>true}))
249
+ ChannelFlowCallbackRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
250
+ ChannelFlowCallbackRequest.add_member(:delete_resource, Shapes::ShapeRef.new(shape: NonNullableBoolean, location_name: "DeleteResource"))
251
+ ChannelFlowCallbackRequest.add_member(:channel_message, Shapes::ShapeRef.new(shape: ChannelMessageCallback, required: true, location_name: "ChannelMessage"))
252
+ ChannelFlowCallbackRequest.struct_class = Types::ChannelFlowCallbackRequest
253
+
254
+ ChannelFlowCallbackResponse.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "ChannelArn"))
255
+ ChannelFlowCallbackResponse.add_member(:callback_id, Shapes::ShapeRef.new(shape: CallbackIdType, location_name: "CallbackId"))
256
+ ChannelFlowCallbackResponse.struct_class = Types::ChannelFlowCallbackResponse
257
+
258
+ ChannelFlowSummary.add_member(:channel_flow_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "ChannelFlowArn"))
259
+ ChannelFlowSummary.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyResourceName, location_name: "Name"))
260
+ ChannelFlowSummary.add_member(:processors, Shapes::ShapeRef.new(shape: ProcessorList, location_name: "Processors"))
261
+ ChannelFlowSummary.struct_class = Types::ChannelFlowSummary
262
+
263
+ ChannelFlowSummaryList.member = Shapes::ShapeRef.new(shape: ChannelFlowSummary)
264
+
186
265
  ChannelMembership.add_member(:invited_by, Shapes::ShapeRef.new(shape: Identity, location_name: "InvitedBy"))
187
266
  ChannelMembership.add_member(:type, Shapes::ShapeRef.new(shape: ChannelMembershipType, location_name: "Type"))
188
267
  ChannelMembership.add_member(:member, Shapes::ShapeRef.new(shape: Identity, location_name: "Member"))
@@ -213,8 +292,18 @@ module Aws::ChimeSDKMessaging
213
292
  ChannelMessage.add_member(:sender, Shapes::ShapeRef.new(shape: Identity, location_name: "Sender"))
214
293
  ChannelMessage.add_member(:redacted, Shapes::ShapeRef.new(shape: NonNullableBoolean, location_name: "Redacted"))
215
294
  ChannelMessage.add_member(:persistence, Shapes::ShapeRef.new(shape: ChannelMessagePersistenceType, location_name: "Persistence"))
295
+ ChannelMessage.add_member(:status, Shapes::ShapeRef.new(shape: ChannelMessageStatusStructure, location_name: "Status"))
216
296
  ChannelMessage.struct_class = Types::ChannelMessage
217
297
 
298
+ ChannelMessageCallback.add_member(:message_id, Shapes::ShapeRef.new(shape: MessageId, required: true, location_name: "MessageId"))
299
+ ChannelMessageCallback.add_member(:content, Shapes::ShapeRef.new(shape: NonEmptyContent, location_name: "Content"))
300
+ ChannelMessageCallback.add_member(:metadata, Shapes::ShapeRef.new(shape: Metadata, location_name: "Metadata"))
301
+ ChannelMessageCallback.struct_class = Types::ChannelMessageCallback
302
+
303
+ ChannelMessageStatusStructure.add_member(:value, Shapes::ShapeRef.new(shape: ChannelMessageStatus, location_name: "Value"))
304
+ ChannelMessageStatusStructure.add_member(:detail, Shapes::ShapeRef.new(shape: StatusDetail, location_name: "Detail"))
305
+ ChannelMessageStatusStructure.struct_class = Types::ChannelMessageStatusStructure
306
+
218
307
  ChannelMessageSummary.add_member(:message_id, Shapes::ShapeRef.new(shape: MessageId, location_name: "MessageId"))
219
308
  ChannelMessageSummary.add_member(:content, Shapes::ShapeRef.new(shape: Content, location_name: "Content"))
220
309
  ChannelMessageSummary.add_member(:metadata, Shapes::ShapeRef.new(shape: Metadata, location_name: "Metadata"))
@@ -224,6 +313,7 @@ module Aws::ChimeSDKMessaging
224
313
  ChannelMessageSummary.add_member(:last_edited_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastEditedTimestamp"))
225
314
  ChannelMessageSummary.add_member(:sender, Shapes::ShapeRef.new(shape: Identity, location_name: "Sender"))
226
315
  ChannelMessageSummary.add_member(:redacted, Shapes::ShapeRef.new(shape: NonNullableBoolean, location_name: "Redacted"))
316
+ ChannelMessageSummary.add_member(:status, Shapes::ShapeRef.new(shape: ChannelMessageStatusStructure, location_name: "Status"))
227
317
  ChannelMessageSummary.struct_class = Types::ChannelMessageSummary
228
318
 
229
319
  ChannelMessageSummaryList.member = Shapes::ShapeRef.new(shape: ChannelMessageSummary)
@@ -267,6 +357,16 @@ module Aws::ChimeSDKMessaging
267
357
  CreateChannelBanResponse.add_member(:member, Shapes::ShapeRef.new(shape: Identity, location_name: "Member"))
268
358
  CreateChannelBanResponse.struct_class = Types::CreateChannelBanResponse
269
359
 
360
+ CreateChannelFlowRequest.add_member(:app_instance_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location_name: "AppInstanceArn"))
361
+ CreateChannelFlowRequest.add_member(:processors, Shapes::ShapeRef.new(shape: ProcessorList, required: true, location_name: "Processors"))
362
+ CreateChannelFlowRequest.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyResourceName, required: true, location_name: "Name"))
363
+ CreateChannelFlowRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
364
+ CreateChannelFlowRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, required: true, location_name: "ClientRequestToken"))
365
+ CreateChannelFlowRequest.struct_class = Types::CreateChannelFlowRequest
366
+
367
+ CreateChannelFlowResponse.add_member(:channel_flow_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "ChannelFlowArn"))
368
+ CreateChannelFlowResponse.struct_class = Types::CreateChannelFlowResponse
369
+
270
370
  CreateChannelMembershipRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
271
371
  CreateChannelMembershipRequest.add_member(:member_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location_name: "MemberArn"))
272
372
  CreateChannelMembershipRequest.add_member(:type, Shapes::ShapeRef.new(shape: ChannelMembershipType, required: true, location_name: "Type"))
@@ -304,6 +404,9 @@ module Aws::ChimeSDKMessaging
304
404
  DeleteChannelBanRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
305
405
  DeleteChannelBanRequest.struct_class = Types::DeleteChannelBanRequest
306
406
 
407
+ DeleteChannelFlowRequest.add_member(:channel_flow_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelFlowArn"))
408
+ DeleteChannelFlowRequest.struct_class = Types::DeleteChannelFlowRequest
409
+
307
410
  DeleteChannelMembershipRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
308
411
  DeleteChannelMembershipRequest.add_member(:member_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "memberArn"))
309
412
  DeleteChannelMembershipRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
@@ -331,6 +434,12 @@ module Aws::ChimeSDKMessaging
331
434
  DescribeChannelBanResponse.add_member(:channel_ban, Shapes::ShapeRef.new(shape: ChannelBan, location_name: "ChannelBan"))
332
435
  DescribeChannelBanResponse.struct_class = Types::DescribeChannelBanResponse
333
436
 
437
+ DescribeChannelFlowRequest.add_member(:channel_flow_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelFlowArn"))
438
+ DescribeChannelFlowRequest.struct_class = Types::DescribeChannelFlowRequest
439
+
440
+ DescribeChannelFlowResponse.add_member(:channel_flow, Shapes::ShapeRef.new(shape: ChannelFlow, location_name: "ChannelFlow"))
441
+ DescribeChannelFlowResponse.struct_class = Types::DescribeChannelFlowResponse
442
+
334
443
  DescribeChannelMembershipForAppInstanceUserRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
335
444
  DescribeChannelMembershipForAppInstanceUserRequest.add_member(:app_instance_user_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "querystring", location_name: "app-instance-user-arn"))
336
445
  DescribeChannelMembershipForAppInstanceUserRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
@@ -370,6 +479,11 @@ module Aws::ChimeSDKMessaging
370
479
  DescribeChannelResponse.add_member(:channel, Shapes::ShapeRef.new(shape: Channel, location_name: "Channel"))
371
480
  DescribeChannelResponse.struct_class = Types::DescribeChannelResponse
372
481
 
482
+ DisassociateChannelFlowRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
483
+ DisassociateChannelFlowRequest.add_member(:channel_flow_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelFlowArn"))
484
+ DisassociateChannelFlowRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
485
+ DisassociateChannelFlowRequest.struct_class = Types::DisassociateChannelFlowRequest
486
+
373
487
  ForbiddenException.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "Code"))
374
488
  ForbiddenException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
375
489
  ForbiddenException.struct_class = Types::ForbiddenException
@@ -382,6 +496,14 @@ module Aws::ChimeSDKMessaging
382
496
  GetChannelMessageResponse.add_member(:channel_message, Shapes::ShapeRef.new(shape: ChannelMessage, location_name: "ChannelMessage"))
383
497
  GetChannelMessageResponse.struct_class = Types::GetChannelMessageResponse
384
498
 
499
+ GetChannelMessageStatusRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
500
+ GetChannelMessageStatusRequest.add_member(:message_id, Shapes::ShapeRef.new(shape: MessageId, required: true, location: "uri", location_name: "messageId"))
501
+ GetChannelMessageStatusRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
502
+ GetChannelMessageStatusRequest.struct_class = Types::GetChannelMessageStatusRequest
503
+
504
+ GetChannelMessageStatusResponse.add_member(:status, Shapes::ShapeRef.new(shape: ChannelMessageStatusStructure, location_name: "Status"))
505
+ GetChannelMessageStatusResponse.struct_class = Types::GetChannelMessageStatusResponse
506
+
385
507
  GetMessagingSessionEndpointRequest.struct_class = Types::GetMessagingSessionEndpointRequest
386
508
 
387
509
  GetMessagingSessionEndpointResponse.add_member(:endpoint, Shapes::ShapeRef.new(shape: MessagingSessionEndpoint, location_name: "Endpoint"))
@@ -391,6 +513,10 @@ module Aws::ChimeSDKMessaging
391
513
  Identity.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "Name"))
392
514
  Identity.struct_class = Types::Identity
393
515
 
516
+ LambdaConfiguration.add_member(:resource_arn, Shapes::ShapeRef.new(shape: LambdaFunctionArn, required: true, location_name: "ResourceArn"))
517
+ LambdaConfiguration.add_member(:invocation_type, Shapes::ShapeRef.new(shape: InvocationType, required: true, location_name: "InvocationType"))
518
+ LambdaConfiguration.struct_class = Types::LambdaConfiguration
519
+
394
520
  ListChannelBansRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
395
521
  ListChannelBansRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "max-results"))
396
522
  ListChannelBansRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "next-token"))
@@ -402,6 +528,15 @@ module Aws::ChimeSDKMessaging
402
528
  ListChannelBansResponse.add_member(:channel_bans, Shapes::ShapeRef.new(shape: ChannelBanSummaryList, location_name: "ChannelBans"))
403
529
  ListChannelBansResponse.struct_class = Types::ListChannelBansResponse
404
530
 
531
+ ListChannelFlowsRequest.add_member(:app_instance_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "querystring", location_name: "app-instance-arn"))
532
+ ListChannelFlowsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "max-results"))
533
+ ListChannelFlowsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "next-token"))
534
+ ListChannelFlowsRequest.struct_class = Types::ListChannelFlowsRequest
535
+
536
+ ListChannelFlowsResponse.add_member(:channel_flows, Shapes::ShapeRef.new(shape: ChannelFlowSummaryList, location_name: "ChannelFlows"))
537
+ ListChannelFlowsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
538
+ ListChannelFlowsResponse.struct_class = Types::ListChannelFlowsResponse
539
+
405
540
  ListChannelMembershipsForAppInstanceUserRequest.add_member(:app_instance_user_arn, Shapes::ShapeRef.new(shape: ChimeArn, location: "querystring", location_name: "app-instance-user-arn"))
406
541
  ListChannelMembershipsForAppInstanceUserRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "max-results"))
407
542
  ListChannelMembershipsForAppInstanceUserRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "next-token"))
@@ -449,6 +584,15 @@ module Aws::ChimeSDKMessaging
449
584
  ListChannelModeratorsResponse.add_member(:channel_moderators, Shapes::ShapeRef.new(shape: ChannelModeratorSummaryList, location_name: "ChannelModerators"))
450
585
  ListChannelModeratorsResponse.struct_class = Types::ListChannelModeratorsResponse
451
586
 
587
+ ListChannelsAssociatedWithChannelFlowRequest.add_member(:channel_flow_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "querystring", location_name: "channel-flow-arn"))
588
+ ListChannelsAssociatedWithChannelFlowRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "max-results"))
589
+ ListChannelsAssociatedWithChannelFlowRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "next-token"))
590
+ ListChannelsAssociatedWithChannelFlowRequest.struct_class = Types::ListChannelsAssociatedWithChannelFlowRequest
591
+
592
+ ListChannelsAssociatedWithChannelFlowResponse.add_member(:channels, Shapes::ShapeRef.new(shape: ChannelAssociatedWithFlowSummaryList, location_name: "Channels"))
593
+ ListChannelsAssociatedWithChannelFlowResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
594
+ ListChannelsAssociatedWithChannelFlowResponse.struct_class = Types::ListChannelsAssociatedWithChannelFlowResponse
595
+
452
596
  ListChannelsModeratedByAppInstanceUserRequest.add_member(:app_instance_user_arn, Shapes::ShapeRef.new(shape: ChimeArn, location: "querystring", location_name: "app-instance-user-arn"))
453
597
  ListChannelsModeratedByAppInstanceUserRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "max-results"))
454
598
  ListChannelsModeratedByAppInstanceUserRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "next-token"))
@@ -470,6 +614,12 @@ module Aws::ChimeSDKMessaging
470
614
  ListChannelsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
471
615
  ListChannelsResponse.struct_class = Types::ListChannelsResponse
472
616
 
617
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "querystring", location_name: "arn"))
618
+ ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
619
+
620
+ ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
621
+ ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
622
+
473
623
  MemberArns.member = Shapes::ShapeRef.new(shape: ChimeArn)
474
624
 
475
625
  Members.member = Shapes::ShapeRef.new(shape: Identity)
@@ -481,6 +631,17 @@ module Aws::ChimeSDKMessaging
481
631
  NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
482
632
  NotFoundException.struct_class = Types::NotFoundException
483
633
 
634
+ Processor.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyResourceName, required: true, location_name: "Name"))
635
+ Processor.add_member(:configuration, Shapes::ShapeRef.new(shape: ProcessorConfiguration, required: true, location_name: "Configuration"))
636
+ Processor.add_member(:execution_order, Shapes::ShapeRef.new(shape: ChannelFlowExecutionOrder, required: true, location_name: "ExecutionOrder"))
637
+ Processor.add_member(:fallback_action, Shapes::ShapeRef.new(shape: FallbackAction, required: true, location_name: "FallbackAction"))
638
+ Processor.struct_class = Types::Processor
639
+
640
+ ProcessorConfiguration.add_member(:lambda, Shapes::ShapeRef.new(shape: LambdaConfiguration, required: true, location_name: "Lambda"))
641
+ ProcessorConfiguration.struct_class = Types::ProcessorConfiguration
642
+
643
+ ProcessorList.member = Shapes::ShapeRef.new(shape: Processor)
644
+
484
645
  RedactChannelMessageRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
485
646
  RedactChannelMessageRequest.add_member(:message_id, Shapes::ShapeRef.new(shape: MessageId, required: true, location: "uri", location_name: "messageId"))
486
647
  RedactChannelMessageRequest.add_member(:chime_bearer, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "header", location_name: "x-amz-chime-bearer"))
@@ -505,6 +666,7 @@ module Aws::ChimeSDKMessaging
505
666
 
506
667
  SendChannelMessageResponse.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "ChannelArn"))
507
668
  SendChannelMessageResponse.add_member(:message_id, Shapes::ShapeRef.new(shape: MessageId, location_name: "MessageId"))
669
+ SendChannelMessageResponse.add_member(:status, Shapes::ShapeRef.new(shape: ChannelMessageStatusStructure, location_name: "Status"))
508
670
  SendChannelMessageResponse.struct_class = Types::SendChannelMessageResponse
509
671
 
510
672
  ServiceFailureException.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "Code"))
@@ -519,8 +681,14 @@ module Aws::ChimeSDKMessaging
519
681
  Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "Value"))
520
682
  Tag.struct_class = Types::Tag
521
683
 
684
+ TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
685
+
522
686
  TagList.member = Shapes::ShapeRef.new(shape: Tag)
523
687
 
688
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location_name: "ResourceARN"))
689
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags"))
690
+ TagResourceRequest.struct_class = Types::TagResourceRequest
691
+
524
692
  ThrottledClientException.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "Code"))
525
693
  ThrottledClientException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
526
694
  ThrottledClientException.struct_class = Types::ThrottledClientException
@@ -529,6 +697,18 @@ module Aws::ChimeSDKMessaging
529
697
  UnauthorizedClientException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
530
698
  UnauthorizedClientException.struct_class = Types::UnauthorizedClientException
531
699
 
700
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location_name: "ResourceARN"))
701
+ UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "TagKeys"))
702
+ UntagResourceRequest.struct_class = Types::UntagResourceRequest
703
+
704
+ UpdateChannelFlowRequest.add_member(:channel_flow_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelFlowArn"))
705
+ UpdateChannelFlowRequest.add_member(:processors, Shapes::ShapeRef.new(shape: ProcessorList, required: true, location_name: "Processors"))
706
+ UpdateChannelFlowRequest.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyResourceName, required: true, location_name: "Name"))
707
+ UpdateChannelFlowRequest.struct_class = Types::UpdateChannelFlowRequest
708
+
709
+ UpdateChannelFlowResponse.add_member(:channel_flow_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "ChannelFlowArn"))
710
+ UpdateChannelFlowResponse.struct_class = Types::UpdateChannelFlowResponse
711
+
532
712
  UpdateChannelMessageRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
533
713
  UpdateChannelMessageRequest.add_member(:message_id, Shapes::ShapeRef.new(shape: MessageId, required: true, location: "uri", location_name: "messageId"))
534
714
  UpdateChannelMessageRequest.add_member(:content, Shapes::ShapeRef.new(shape: Content, location_name: "Content"))
@@ -538,6 +718,7 @@ module Aws::ChimeSDKMessaging
538
718
 
539
719
  UpdateChannelMessageResponse.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "ChannelArn"))
540
720
  UpdateChannelMessageResponse.add_member(:message_id, Shapes::ShapeRef.new(shape: MessageId, location_name: "MessageId"))
721
+ UpdateChannelMessageResponse.add_member(:status, Shapes::ShapeRef.new(shape: ChannelMessageStatusStructure, location_name: "Status"))
541
722
  UpdateChannelMessageResponse.struct_class = Types::UpdateChannelMessageResponse
542
723
 
543
724
  UpdateChannelReadMarkerRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, required: true, location: "uri", location_name: "channelArn"))
@@ -574,6 +755,22 @@ module Aws::ChimeSDKMessaging
574
755
  "uid" => "chime-sdk-messaging-2021-05-15",
575
756
  }
576
757
 
758
+ api.add_operation(:associate_channel_flow, Seahorse::Model::Operation.new.tap do |o|
759
+ o.name = "AssociateChannelFlow"
760
+ o.http_method = "PUT"
761
+ o.http_request_uri = "/channels/{channelArn}/channel-flow"
762
+ o.input = Shapes::ShapeRef.new(shape: AssociateChannelFlowRequest)
763
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
764
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
765
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
766
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
767
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
768
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
769
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
770
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
771
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
772
+ end)
773
+
577
774
  api.add_operation(:batch_create_channel_membership, Seahorse::Model::Operation.new.tap do |o|
578
775
  o.name = "BatchCreateChannelMembership"
579
776
  o.http_method = "POST"
@@ -588,6 +785,21 @@ module Aws::ChimeSDKMessaging
588
785
  o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
589
786
  end)
590
787
 
788
+ api.add_operation(:channel_flow_callback, Seahorse::Model::Operation.new.tap do |o|
789
+ o.name = "ChannelFlowCallback"
790
+ o.http_method = "POST"
791
+ o.http_request_uri = "/channels/{channelArn}?operation=channel-flow-callback"
792
+ o.input = Shapes::ShapeRef.new(shape: ChannelFlowCallbackRequest)
793
+ o.output = Shapes::ShapeRef.new(shape: ChannelFlowCallbackResponse)
794
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
795
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
796
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
797
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
798
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
799
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
800
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
801
+ end)
802
+
591
803
  api.add_operation(:create_channel, Seahorse::Model::Operation.new.tap do |o|
592
804
  o.name = "CreateChannel"
593
805
  o.http_method = "POST"
@@ -620,6 +832,22 @@ module Aws::ChimeSDKMessaging
620
832
  o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
621
833
  end)
622
834
 
835
+ api.add_operation(:create_channel_flow, Seahorse::Model::Operation.new.tap do |o|
836
+ o.name = "CreateChannelFlow"
837
+ o.http_method = "POST"
838
+ o.http_request_uri = "/channel-flows"
839
+ o.input = Shapes::ShapeRef.new(shape: CreateChannelFlowRequest)
840
+ o.output = Shapes::ShapeRef.new(shape: CreateChannelFlowResponse)
841
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
842
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
843
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
844
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
845
+ o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceededException)
846
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
847
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
848
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
849
+ end)
850
+
623
851
  api.add_operation(:create_channel_membership, Seahorse::Model::Operation.new.tap do |o|
624
852
  o.name = "CreateChannelMembership"
625
853
  o.http_method = "POST"
@@ -680,6 +908,21 @@ module Aws::ChimeSDKMessaging
680
908
  o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
681
909
  end)
682
910
 
911
+ api.add_operation(:delete_channel_flow, Seahorse::Model::Operation.new.tap do |o|
912
+ o.name = "DeleteChannelFlow"
913
+ o.http_method = "DELETE"
914
+ o.http_request_uri = "/channel-flows/{channelFlowArn}"
915
+ o.input = Shapes::ShapeRef.new(shape: DeleteChannelFlowRequest)
916
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
917
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
918
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
919
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
920
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
921
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
922
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
923
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
924
+ end)
925
+
683
926
  api.add_operation(:delete_channel_membership, Seahorse::Model::Operation.new.tap do |o|
684
927
  o.name = "DeleteChannelMembership"
685
928
  o.http_method = "DELETE"
@@ -752,6 +995,20 @@ module Aws::ChimeSDKMessaging
752
995
  o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
753
996
  end)
754
997
 
998
+ api.add_operation(:describe_channel_flow, Seahorse::Model::Operation.new.tap do |o|
999
+ o.name = "DescribeChannelFlow"
1000
+ o.http_method = "GET"
1001
+ o.http_request_uri = "/channel-flows/{channelFlowArn}"
1002
+ o.input = Shapes::ShapeRef.new(shape: DescribeChannelFlowRequest)
1003
+ o.output = Shapes::ShapeRef.new(shape: DescribeChannelFlowResponse)
1004
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1005
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1006
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
1007
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
1008
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1009
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
1010
+ end)
1011
+
755
1012
  api.add_operation(:describe_channel_membership, Seahorse::Model::Operation.new.tap do |o|
756
1013
  o.name = "DescribeChannelMembership"
757
1014
  o.http_method = "GET"
@@ -810,6 +1067,22 @@ module Aws::ChimeSDKMessaging
810
1067
  o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
811
1068
  end)
812
1069
 
1070
+ api.add_operation(:disassociate_channel_flow, Seahorse::Model::Operation.new.tap do |o|
1071
+ o.name = "DisassociateChannelFlow"
1072
+ o.http_method = "DELETE"
1073
+ o.http_request_uri = "/channels/{channelArn}/channel-flow/{channelFlowArn}"
1074
+ o.input = Shapes::ShapeRef.new(shape: DisassociateChannelFlowRequest)
1075
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1076
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1077
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1078
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1079
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
1080
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1081
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
1082
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1083
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
1084
+ end)
1085
+
813
1086
  api.add_operation(:get_channel_message, Seahorse::Model::Operation.new.tap do |o|
814
1087
  o.name = "GetChannelMessage"
815
1088
  o.http_method = "GET"
@@ -825,6 +1098,20 @@ module Aws::ChimeSDKMessaging
825
1098
  o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
826
1099
  end)
827
1100
 
1101
+ api.add_operation(:get_channel_message_status, Seahorse::Model::Operation.new.tap do |o|
1102
+ o.name = "GetChannelMessageStatus"
1103
+ o.http_method = "GET"
1104
+ o.http_request_uri = "/channels/{channelArn}/messages/{messageId}?scope=message-status"
1105
+ o.input = Shapes::ShapeRef.new(shape: GetChannelMessageStatusRequest)
1106
+ o.output = Shapes::ShapeRef.new(shape: GetChannelMessageStatusResponse)
1107
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1108
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1109
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
1110
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
1111
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1112
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
1113
+ end)
1114
+
828
1115
  api.add_operation(:get_messaging_session_endpoint, Seahorse::Model::Operation.new.tap do |o|
829
1116
  o.name = "GetMessagingSessionEndpoint"
830
1117
  o.http_method = "GET"
@@ -858,6 +1145,26 @@ module Aws::ChimeSDKMessaging
858
1145
  )
859
1146
  end)
860
1147
 
1148
+ api.add_operation(:list_channel_flows, Seahorse::Model::Operation.new.tap do |o|
1149
+ o.name = "ListChannelFlows"
1150
+ o.http_method = "GET"
1151
+ o.http_request_uri = "/channel-flows"
1152
+ o.input = Shapes::ShapeRef.new(shape: ListChannelFlowsRequest)
1153
+ o.output = Shapes::ShapeRef.new(shape: ListChannelFlowsResponse)
1154
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1155
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1156
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
1157
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
1158
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1159
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
1160
+ o[:pager] = Aws::Pager.new(
1161
+ limit_key: "max_results",
1162
+ tokens: {
1163
+ "next_token" => "next_token"
1164
+ }
1165
+ )
1166
+ end)
1167
+
861
1168
  api.add_operation(:list_channel_memberships, Seahorse::Model::Operation.new.tap do |o|
862
1169
  o.name = "ListChannelMemberships"
863
1170
  o.http_method = "GET"
@@ -958,6 +1265,26 @@ module Aws::ChimeSDKMessaging
958
1265
  )
959
1266
  end)
960
1267
 
1268
+ api.add_operation(:list_channels_associated_with_channel_flow, Seahorse::Model::Operation.new.tap do |o|
1269
+ o.name = "ListChannelsAssociatedWithChannelFlow"
1270
+ o.http_method = "GET"
1271
+ o.http_request_uri = "/channels?scope=channel-flow-associations"
1272
+ o.input = Shapes::ShapeRef.new(shape: ListChannelsAssociatedWithChannelFlowRequest)
1273
+ o.output = Shapes::ShapeRef.new(shape: ListChannelsAssociatedWithChannelFlowResponse)
1274
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1275
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1276
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
1277
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
1278
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1279
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
1280
+ o[:pager] = Aws::Pager.new(
1281
+ limit_key: "max_results",
1282
+ tokens: {
1283
+ "next_token" => "next_token"
1284
+ }
1285
+ )
1286
+ end)
1287
+
961
1288
  api.add_operation(:list_channels_moderated_by_app_instance_user, Seahorse::Model::Operation.new.tap do |o|
962
1289
  o.name = "ListChannelsModeratedByAppInstanceUser"
963
1290
  o.http_method = "GET"
@@ -978,6 +1305,20 @@ module Aws::ChimeSDKMessaging
978
1305
  )
979
1306
  end)
980
1307
 
1308
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
1309
+ o.name = "ListTagsForResource"
1310
+ o.http_method = "GET"
1311
+ o.http_request_uri = "/tags"
1312
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
1313
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
1314
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1315
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1316
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
1317
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
1318
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1319
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
1320
+ end)
1321
+
981
1322
  api.add_operation(:redact_channel_message, Seahorse::Model::Operation.new.tap do |o|
982
1323
  o.name = "RedactChannelMessage"
983
1324
  o.http_method = "POST"
@@ -1007,6 +1348,35 @@ module Aws::ChimeSDKMessaging
1007
1348
  o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
1008
1349
  end)
1009
1350
 
1351
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
1352
+ o.name = "TagResource"
1353
+ o.http_method = "POST"
1354
+ o.http_request_uri = "/tags?operation=tag-resource"
1355
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
1356
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1357
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1358
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1359
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
1360
+ o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceededException)
1361
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
1362
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1363
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
1364
+ end)
1365
+
1366
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
1367
+ o.name = "UntagResource"
1368
+ o.http_method = "POST"
1369
+ o.http_request_uri = "/tags?operation=untag-resource"
1370
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
1371
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1372
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1373
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1374
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
1375
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
1376
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1377
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
1378
+ end)
1379
+
1010
1380
  api.add_operation(:update_channel, Seahorse::Model::Operation.new.tap do |o|
1011
1381
  o.name = "UpdateChannel"
1012
1382
  o.http_method = "PUT"
@@ -1022,6 +1392,21 @@ module Aws::ChimeSDKMessaging
1022
1392
  o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
1023
1393
  end)
1024
1394
 
1395
+ api.add_operation(:update_channel_flow, Seahorse::Model::Operation.new.tap do |o|
1396
+ o.name = "UpdateChannelFlow"
1397
+ o.http_method = "PUT"
1398
+ o.http_request_uri = "/channel-flows/{channelFlowArn}"
1399
+ o.input = Shapes::ShapeRef.new(shape: UpdateChannelFlowRequest)
1400
+ o.output = Shapes::ShapeRef.new(shape: UpdateChannelFlowResponse)
1401
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1402
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1403
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
1404
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1405
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
1406
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1407
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
1408
+ end)
1409
+
1025
1410
  api.add_operation(:update_channel_message, Seahorse::Model::Operation.new.tap do |o|
1026
1411
  o.name = "UpdateChannelMessage"
1027
1412
  o.http_method = "PUT"