aws-sdk-ivschat 1.5.0 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -14,18 +14,26 @@ module Aws::Ivschat
14
14
  include Seahorse::Model
15
15
 
16
16
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
17
+ BucketName = Shapes::StringShape.new(name: 'BucketName')
17
18
  ChatToken = Shapes::StringShape.new(name: 'ChatToken')
18
19
  ChatTokenAttributes = Shapes::MapShape.new(name: 'ChatTokenAttributes')
19
20
  ChatTokenCapabilities = Shapes::ListShape.new(name: 'ChatTokenCapabilities')
20
21
  ChatTokenCapability = Shapes::StringShape.new(name: 'ChatTokenCapability')
22
+ CloudWatchLogsDestinationConfiguration = Shapes::StructureShape.new(name: 'CloudWatchLogsDestinationConfiguration')
21
23
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
22
24
  CreateChatTokenRequest = Shapes::StructureShape.new(name: 'CreateChatTokenRequest')
23
25
  CreateChatTokenResponse = Shapes::StructureShape.new(name: 'CreateChatTokenResponse')
26
+ CreateLoggingConfigurationRequest = Shapes::StructureShape.new(name: 'CreateLoggingConfigurationRequest')
27
+ CreateLoggingConfigurationResponse = Shapes::StructureShape.new(name: 'CreateLoggingConfigurationResponse')
28
+ CreateLoggingConfigurationState = Shapes::StringShape.new(name: 'CreateLoggingConfigurationState')
24
29
  CreateRoomRequest = Shapes::StructureShape.new(name: 'CreateRoomRequest')
25
30
  CreateRoomResponse = Shapes::StructureShape.new(name: 'CreateRoomResponse')
31
+ DeleteLoggingConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteLoggingConfigurationRequest')
26
32
  DeleteMessageRequest = Shapes::StructureShape.new(name: 'DeleteMessageRequest')
27
33
  DeleteMessageResponse = Shapes::StructureShape.new(name: 'DeleteMessageResponse')
28
34
  DeleteRoomRequest = Shapes::StructureShape.new(name: 'DeleteRoomRequest')
35
+ DeliveryStreamName = Shapes::StringShape.new(name: 'DeliveryStreamName')
36
+ DestinationConfiguration = Shapes::UnionShape.new(name: 'DestinationConfiguration')
29
37
  DisconnectUserRequest = Shapes::StructureShape.new(name: 'DisconnectUserRequest')
30
38
  DisconnectUserResponse = Shapes::StructureShape.new(name: 'DisconnectUserResponse')
31
39
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
@@ -33,16 +41,31 @@ module Aws::Ivschat
33
41
  EventName = Shapes::StringShape.new(name: 'EventName')
34
42
  FallbackResult = Shapes::StringShape.new(name: 'FallbackResult')
35
43
  FieldName = Shapes::StringShape.new(name: 'FieldName')
44
+ FirehoseDestinationConfiguration = Shapes::StructureShape.new(name: 'FirehoseDestinationConfiguration')
45
+ GetLoggingConfigurationRequest = Shapes::StructureShape.new(name: 'GetLoggingConfigurationRequest')
46
+ GetLoggingConfigurationResponse = Shapes::StructureShape.new(name: 'GetLoggingConfigurationResponse')
36
47
  GetRoomRequest = Shapes::StructureShape.new(name: 'GetRoomRequest')
37
48
  GetRoomResponse = Shapes::StructureShape.new(name: 'GetRoomResponse')
38
49
  ID = Shapes::StringShape.new(name: 'ID')
39
50
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
40
51
  LambdaArn = Shapes::StringShape.new(name: 'LambdaArn')
41
52
  Limit = Shapes::IntegerShape.new(name: 'Limit')
53
+ ListLoggingConfigurationsRequest = Shapes::StructureShape.new(name: 'ListLoggingConfigurationsRequest')
54
+ ListLoggingConfigurationsResponse = Shapes::StructureShape.new(name: 'ListLoggingConfigurationsResponse')
42
55
  ListRoomsRequest = Shapes::StructureShape.new(name: 'ListRoomsRequest')
43
56
  ListRoomsResponse = Shapes::StructureShape.new(name: 'ListRoomsResponse')
44
57
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
45
58
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
59
+ LogGroupName = Shapes::StringShape.new(name: 'LogGroupName')
60
+ LoggingConfigurationArn = Shapes::StringShape.new(name: 'LoggingConfigurationArn')
61
+ LoggingConfigurationID = Shapes::StringShape.new(name: 'LoggingConfigurationID')
62
+ LoggingConfigurationIdentifier = Shapes::StringShape.new(name: 'LoggingConfigurationIdentifier')
63
+ LoggingConfigurationIdentifierList = Shapes::ListShape.new(name: 'LoggingConfigurationIdentifierList')
64
+ LoggingConfigurationList = Shapes::ListShape.new(name: 'LoggingConfigurationList')
65
+ LoggingConfigurationName = Shapes::StringShape.new(name: 'LoggingConfigurationName')
66
+ LoggingConfigurationState = Shapes::StringShape.new(name: 'LoggingConfigurationState')
67
+ LoggingConfigurationSummary = Shapes::StructureShape.new(name: 'LoggingConfigurationSummary')
68
+ MaxLoggingConfigurationResults = Shapes::IntegerShape.new(name: 'MaxLoggingConfigurationResults')
46
69
  MaxRoomResults = Shapes::IntegerShape.new(name: 'MaxRoomResults')
47
70
  MessageID = Shapes::StringShape.new(name: 'MessageID')
48
71
  MessageReviewHandler = Shapes::StructureShape.new(name: 'MessageReviewHandler')
@@ -61,6 +84,7 @@ module Aws::Ivschat
61
84
  RoomMaxMessageRatePerSecond = Shapes::IntegerShape.new(name: 'RoomMaxMessageRatePerSecond')
62
85
  RoomName = Shapes::StringShape.new(name: 'RoomName')
63
86
  RoomSummary = Shapes::StructureShape.new(name: 'RoomSummary')
87
+ S3DestinationConfiguration = Shapes::StructureShape.new(name: 'S3DestinationConfiguration')
64
88
  SendEventRequest = Shapes::StructureShape.new(name: 'SendEventRequest')
65
89
  SendEventResponse = Shapes::StructureShape.new(name: 'SendEventResponse')
66
90
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
@@ -76,6 +100,9 @@ module Aws::Ivschat
76
100
  Time = Shapes::TimestampShape.new(name: 'Time', timestampFormat: "iso8601")
77
101
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
78
102
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
103
+ UpdateLoggingConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateLoggingConfigurationRequest')
104
+ UpdateLoggingConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateLoggingConfigurationResponse')
105
+ UpdateLoggingConfigurationState = Shapes::StringShape.new(name: 'UpdateLoggingConfigurationState')
79
106
  UpdateRoomRequest = Shapes::StructureShape.new(name: 'UpdateRoomRequest')
80
107
  UpdateRoomResponse = Shapes::StructureShape.new(name: 'UpdateRoomResponse')
81
108
  UserID = Shapes::StringShape.new(name: 'UserID')
@@ -92,6 +119,9 @@ module Aws::Ivschat
92
119
 
93
120
  ChatTokenCapabilities.member = Shapes::ShapeRef.new(shape: ChatTokenCapability)
94
121
 
122
+ CloudWatchLogsDestinationConfiguration.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, required: true, location_name: "logGroupName"))
123
+ CloudWatchLogsDestinationConfiguration.struct_class = Types::CloudWatchLogsDestinationConfiguration
124
+
95
125
  ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
96
126
  ConflictException.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "resourceId"))
97
127
  ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location_name: "resourceType"))
@@ -109,6 +139,22 @@ module Aws::Ivschat
109
139
  CreateChatTokenResponse.add_member(:token_expiration_time, Shapes::ShapeRef.new(shape: Time, location_name: "tokenExpirationTime"))
110
140
  CreateChatTokenResponse.struct_class = Types::CreateChatTokenResponse
111
141
 
142
+ CreateLoggingConfigurationRequest.add_member(:destination_configuration, Shapes::ShapeRef.new(shape: DestinationConfiguration, required: true, location_name: "destinationConfiguration"))
143
+ CreateLoggingConfigurationRequest.add_member(:name, Shapes::ShapeRef.new(shape: LoggingConfigurationName, location_name: "name"))
144
+ CreateLoggingConfigurationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
145
+ CreateLoggingConfigurationRequest.struct_class = Types::CreateLoggingConfigurationRequest
146
+
147
+ CreateLoggingConfigurationResponse.add_member(:arn, Shapes::ShapeRef.new(shape: LoggingConfigurationArn, location_name: "arn"))
148
+ CreateLoggingConfigurationResponse.add_member(:create_time, Shapes::ShapeRef.new(shape: Time, location_name: "createTime"))
149
+ CreateLoggingConfigurationResponse.add_member(:destination_configuration, Shapes::ShapeRef.new(shape: DestinationConfiguration, location_name: "destinationConfiguration"))
150
+ CreateLoggingConfigurationResponse.add_member(:id, Shapes::ShapeRef.new(shape: LoggingConfigurationID, location_name: "id"))
151
+ CreateLoggingConfigurationResponse.add_member(:name, Shapes::ShapeRef.new(shape: LoggingConfigurationName, location_name: "name"))
152
+ CreateLoggingConfigurationResponse.add_member(:state, Shapes::ShapeRef.new(shape: CreateLoggingConfigurationState, location_name: "state"))
153
+ CreateLoggingConfigurationResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
154
+ CreateLoggingConfigurationResponse.add_member(:update_time, Shapes::ShapeRef.new(shape: Time, location_name: "updateTime"))
155
+ CreateLoggingConfigurationResponse.struct_class = Types::CreateLoggingConfigurationResponse
156
+
157
+ CreateRoomRequest.add_member(:logging_configuration_identifiers, Shapes::ShapeRef.new(shape: LoggingConfigurationIdentifierList, location_name: "loggingConfigurationIdentifiers"))
112
158
  CreateRoomRequest.add_member(:maximum_message_length, Shapes::ShapeRef.new(shape: RoomMaxMessageLength, location_name: "maximumMessageLength"))
113
159
  CreateRoomRequest.add_member(:maximum_message_rate_per_second, Shapes::ShapeRef.new(shape: RoomMaxMessageRatePerSecond, location_name: "maximumMessageRatePerSecond"))
114
160
  CreateRoomRequest.add_member(:message_review_handler, Shapes::ShapeRef.new(shape: MessageReviewHandler, location_name: "messageReviewHandler"))
@@ -119,6 +165,7 @@ module Aws::Ivschat
119
165
  CreateRoomResponse.add_member(:arn, Shapes::ShapeRef.new(shape: RoomArn, location_name: "arn"))
120
166
  CreateRoomResponse.add_member(:create_time, Shapes::ShapeRef.new(shape: Time, location_name: "createTime"))
121
167
  CreateRoomResponse.add_member(:id, Shapes::ShapeRef.new(shape: RoomID, location_name: "id"))
168
+ CreateRoomResponse.add_member(:logging_configuration_identifiers, Shapes::ShapeRef.new(shape: LoggingConfigurationIdentifierList, location_name: "loggingConfigurationIdentifiers"))
122
169
  CreateRoomResponse.add_member(:maximum_message_length, Shapes::ShapeRef.new(shape: RoomMaxMessageLength, location_name: "maximumMessageLength"))
123
170
  CreateRoomResponse.add_member(:maximum_message_rate_per_second, Shapes::ShapeRef.new(shape: RoomMaxMessageRatePerSecond, location_name: "maximumMessageRatePerSecond"))
124
171
  CreateRoomResponse.add_member(:message_review_handler, Shapes::ShapeRef.new(shape: MessageReviewHandler, location_name: "messageReviewHandler"))
@@ -127,6 +174,9 @@ module Aws::Ivschat
127
174
  CreateRoomResponse.add_member(:update_time, Shapes::ShapeRef.new(shape: Time, location_name: "updateTime"))
128
175
  CreateRoomResponse.struct_class = Types::CreateRoomResponse
129
176
 
177
+ DeleteLoggingConfigurationRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: LoggingConfigurationIdentifier, required: true, location_name: "identifier"))
178
+ DeleteLoggingConfigurationRequest.struct_class = Types::DeleteLoggingConfigurationRequest
179
+
130
180
  DeleteMessageRequest.add_member(:id, Shapes::ShapeRef.new(shape: MessageID, required: true, location_name: "id"))
131
181
  DeleteMessageRequest.add_member(:reason, Shapes::ShapeRef.new(shape: Reason, location_name: "reason"))
132
182
  DeleteMessageRequest.add_member(:room_identifier, Shapes::ShapeRef.new(shape: RoomIdentifier, required: true, location_name: "roomIdentifier"))
@@ -138,6 +188,16 @@ module Aws::Ivschat
138
188
  DeleteRoomRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: RoomIdentifier, required: true, location_name: "identifier"))
139
189
  DeleteRoomRequest.struct_class = Types::DeleteRoomRequest
140
190
 
191
+ DestinationConfiguration.add_member(:cloud_watch_logs, Shapes::ShapeRef.new(shape: CloudWatchLogsDestinationConfiguration, location_name: "cloudWatchLogs"))
192
+ DestinationConfiguration.add_member(:firehose, Shapes::ShapeRef.new(shape: FirehoseDestinationConfiguration, location_name: "firehose"))
193
+ DestinationConfiguration.add_member(:s3, Shapes::ShapeRef.new(shape: S3DestinationConfiguration, location_name: "s3"))
194
+ DestinationConfiguration.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
195
+ DestinationConfiguration.add_member_subclass(:cloud_watch_logs, Types::DestinationConfiguration::CloudWatchLogs)
196
+ DestinationConfiguration.add_member_subclass(:firehose, Types::DestinationConfiguration::Firehose)
197
+ DestinationConfiguration.add_member_subclass(:s3, Types::DestinationConfiguration::S3)
198
+ DestinationConfiguration.add_member_subclass(:unknown, Types::DestinationConfiguration::Unknown)
199
+ DestinationConfiguration.struct_class = Types::DestinationConfiguration
200
+
141
201
  DisconnectUserRequest.add_member(:reason, Shapes::ShapeRef.new(shape: Reason, location_name: "reason"))
142
202
  DisconnectUserRequest.add_member(:room_identifier, Shapes::ShapeRef.new(shape: RoomIdentifier, required: true, location_name: "roomIdentifier"))
143
203
  DisconnectUserRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserID, required: true, location_name: "userId"))
@@ -148,12 +208,29 @@ module Aws::Ivschat
148
208
  EventAttributes.key = Shapes::ShapeRef.new(shape: String)
149
209
  EventAttributes.value = Shapes::ShapeRef.new(shape: String)
150
210
 
211
+ FirehoseDestinationConfiguration.add_member(:delivery_stream_name, Shapes::ShapeRef.new(shape: DeliveryStreamName, required: true, location_name: "deliveryStreamName"))
212
+ FirehoseDestinationConfiguration.struct_class = Types::FirehoseDestinationConfiguration
213
+
214
+ GetLoggingConfigurationRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: LoggingConfigurationIdentifier, required: true, location_name: "identifier"))
215
+ GetLoggingConfigurationRequest.struct_class = Types::GetLoggingConfigurationRequest
216
+
217
+ GetLoggingConfigurationResponse.add_member(:arn, Shapes::ShapeRef.new(shape: LoggingConfigurationArn, location_name: "arn"))
218
+ GetLoggingConfigurationResponse.add_member(:create_time, Shapes::ShapeRef.new(shape: Time, location_name: "createTime"))
219
+ GetLoggingConfigurationResponse.add_member(:destination_configuration, Shapes::ShapeRef.new(shape: DestinationConfiguration, location_name: "destinationConfiguration"))
220
+ GetLoggingConfigurationResponse.add_member(:id, Shapes::ShapeRef.new(shape: LoggingConfigurationID, location_name: "id"))
221
+ GetLoggingConfigurationResponse.add_member(:name, Shapes::ShapeRef.new(shape: LoggingConfigurationName, location_name: "name"))
222
+ GetLoggingConfigurationResponse.add_member(:state, Shapes::ShapeRef.new(shape: LoggingConfigurationState, location_name: "state"))
223
+ GetLoggingConfigurationResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
224
+ GetLoggingConfigurationResponse.add_member(:update_time, Shapes::ShapeRef.new(shape: Time, location_name: "updateTime"))
225
+ GetLoggingConfigurationResponse.struct_class = Types::GetLoggingConfigurationResponse
226
+
151
227
  GetRoomRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: RoomIdentifier, required: true, location_name: "identifier"))
152
228
  GetRoomRequest.struct_class = Types::GetRoomRequest
153
229
 
154
230
  GetRoomResponse.add_member(:arn, Shapes::ShapeRef.new(shape: RoomArn, location_name: "arn"))
155
231
  GetRoomResponse.add_member(:create_time, Shapes::ShapeRef.new(shape: Time, location_name: "createTime"))
156
232
  GetRoomResponse.add_member(:id, Shapes::ShapeRef.new(shape: RoomID, location_name: "id"))
233
+ GetRoomResponse.add_member(:logging_configuration_identifiers, Shapes::ShapeRef.new(shape: LoggingConfigurationIdentifierList, location_name: "loggingConfigurationIdentifiers"))
157
234
  GetRoomResponse.add_member(:maximum_message_length, Shapes::ShapeRef.new(shape: RoomMaxMessageLength, location_name: "maximumMessageLength"))
158
235
  GetRoomResponse.add_member(:maximum_message_rate_per_second, Shapes::ShapeRef.new(shape: RoomMaxMessageRatePerSecond, location_name: "maximumMessageRatePerSecond"))
159
236
  GetRoomResponse.add_member(:message_review_handler, Shapes::ShapeRef.new(shape: MessageReviewHandler, location_name: "messageReviewHandler"))
@@ -165,6 +242,15 @@ module Aws::Ivschat
165
242
  InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
166
243
  InternalServerException.struct_class = Types::InternalServerException
167
244
 
245
+ ListLoggingConfigurationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxLoggingConfigurationResults, location_name: "maxResults"))
246
+ ListLoggingConfigurationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
247
+ ListLoggingConfigurationsRequest.struct_class = Types::ListLoggingConfigurationsRequest
248
+
249
+ ListLoggingConfigurationsResponse.add_member(:logging_configurations, Shapes::ShapeRef.new(shape: LoggingConfigurationList, required: true, location_name: "loggingConfigurations"))
250
+ ListLoggingConfigurationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
251
+ ListLoggingConfigurationsResponse.struct_class = Types::ListLoggingConfigurationsResponse
252
+
253
+ ListRoomsRequest.add_member(:logging_configuration_identifier, Shapes::ShapeRef.new(shape: LoggingConfigurationIdentifier, location_name: "loggingConfigurationIdentifier"))
168
254
  ListRoomsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxRoomResults, location_name: "maxResults"))
169
255
  ListRoomsRequest.add_member(:message_review_handler_uri, Shapes::ShapeRef.new(shape: LambdaArn, location_name: "messageReviewHandlerUri"))
170
256
  ListRoomsRequest.add_member(:name, Shapes::ShapeRef.new(shape: RoomName, location_name: "name"))
@@ -181,6 +267,20 @@ module Aws::Ivschat
181
267
  ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, required: true, location_name: "tags"))
182
268
  ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
183
269
 
270
+ LoggingConfigurationIdentifierList.member = Shapes::ShapeRef.new(shape: LoggingConfigurationIdentifier)
271
+
272
+ LoggingConfigurationList.member = Shapes::ShapeRef.new(shape: LoggingConfigurationSummary)
273
+
274
+ LoggingConfigurationSummary.add_member(:arn, Shapes::ShapeRef.new(shape: LoggingConfigurationArn, location_name: "arn"))
275
+ LoggingConfigurationSummary.add_member(:create_time, Shapes::ShapeRef.new(shape: Time, location_name: "createTime"))
276
+ LoggingConfigurationSummary.add_member(:destination_configuration, Shapes::ShapeRef.new(shape: DestinationConfiguration, location_name: "destinationConfiguration"))
277
+ LoggingConfigurationSummary.add_member(:id, Shapes::ShapeRef.new(shape: LoggingConfigurationID, location_name: "id"))
278
+ LoggingConfigurationSummary.add_member(:name, Shapes::ShapeRef.new(shape: LoggingConfigurationName, location_name: "name"))
279
+ LoggingConfigurationSummary.add_member(:state, Shapes::ShapeRef.new(shape: LoggingConfigurationState, location_name: "state"))
280
+ LoggingConfigurationSummary.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
281
+ LoggingConfigurationSummary.add_member(:update_time, Shapes::ShapeRef.new(shape: Time, location_name: "updateTime"))
282
+ LoggingConfigurationSummary.struct_class = Types::LoggingConfigurationSummary
283
+
184
284
  MessageReviewHandler.add_member(:fallback_result, Shapes::ShapeRef.new(shape: FallbackResult, location_name: "fallbackResult"))
185
285
  MessageReviewHandler.add_member(:uri, Shapes::ShapeRef.new(shape: LambdaArn, location_name: "uri"))
186
286
  MessageReviewHandler.struct_class = Types::MessageReviewHandler
@@ -198,12 +298,16 @@ module Aws::Ivschat
198
298
  RoomSummary.add_member(:arn, Shapes::ShapeRef.new(shape: RoomArn, location_name: "arn"))
199
299
  RoomSummary.add_member(:create_time, Shapes::ShapeRef.new(shape: Time, location_name: "createTime"))
200
300
  RoomSummary.add_member(:id, Shapes::ShapeRef.new(shape: RoomID, location_name: "id"))
301
+ RoomSummary.add_member(:logging_configuration_identifiers, Shapes::ShapeRef.new(shape: LoggingConfigurationIdentifierList, location_name: "loggingConfigurationIdentifiers"))
201
302
  RoomSummary.add_member(:message_review_handler, Shapes::ShapeRef.new(shape: MessageReviewHandler, location_name: "messageReviewHandler"))
202
303
  RoomSummary.add_member(:name, Shapes::ShapeRef.new(shape: RoomName, location_name: "name"))
203
304
  RoomSummary.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
204
305
  RoomSummary.add_member(:update_time, Shapes::ShapeRef.new(shape: Time, location_name: "updateTime"))
205
306
  RoomSummary.struct_class = Types::RoomSummary
206
307
 
308
+ S3DestinationConfiguration.add_member(:bucket_name, Shapes::ShapeRef.new(shape: BucketName, required: true, location_name: "bucketName"))
309
+ S3DestinationConfiguration.struct_class = Types::S3DestinationConfiguration
310
+
207
311
  SendEventRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: EventAttributes, location_name: "attributes"))
208
312
  SendEventRequest.add_member(:event_name, Shapes::ShapeRef.new(shape: EventName, required: true, location_name: "eventName"))
209
313
  SendEventRequest.add_member(:room_identifier, Shapes::ShapeRef.new(shape: RoomIdentifier, required: true, location_name: "roomIdentifier"))
@@ -241,7 +345,23 @@ module Aws::Ivschat
241
345
 
242
346
  UntagResourceResponse.struct_class = Types::UntagResourceResponse
243
347
 
348
+ UpdateLoggingConfigurationRequest.add_member(:destination_configuration, Shapes::ShapeRef.new(shape: DestinationConfiguration, location_name: "destinationConfiguration"))
349
+ UpdateLoggingConfigurationRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: LoggingConfigurationIdentifier, required: true, location_name: "identifier"))
350
+ UpdateLoggingConfigurationRequest.add_member(:name, Shapes::ShapeRef.new(shape: LoggingConfigurationName, location_name: "name"))
351
+ UpdateLoggingConfigurationRequest.struct_class = Types::UpdateLoggingConfigurationRequest
352
+
353
+ UpdateLoggingConfigurationResponse.add_member(:arn, Shapes::ShapeRef.new(shape: LoggingConfigurationArn, location_name: "arn"))
354
+ UpdateLoggingConfigurationResponse.add_member(:create_time, Shapes::ShapeRef.new(shape: Time, location_name: "createTime"))
355
+ UpdateLoggingConfigurationResponse.add_member(:destination_configuration, Shapes::ShapeRef.new(shape: DestinationConfiguration, location_name: "destinationConfiguration"))
356
+ UpdateLoggingConfigurationResponse.add_member(:id, Shapes::ShapeRef.new(shape: LoggingConfigurationID, location_name: "id"))
357
+ UpdateLoggingConfigurationResponse.add_member(:name, Shapes::ShapeRef.new(shape: LoggingConfigurationName, location_name: "name"))
358
+ UpdateLoggingConfigurationResponse.add_member(:state, Shapes::ShapeRef.new(shape: UpdateLoggingConfigurationState, location_name: "state"))
359
+ UpdateLoggingConfigurationResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
360
+ UpdateLoggingConfigurationResponse.add_member(:update_time, Shapes::ShapeRef.new(shape: Time, location_name: "updateTime"))
361
+ UpdateLoggingConfigurationResponse.struct_class = Types::UpdateLoggingConfigurationResponse
362
+
244
363
  UpdateRoomRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: RoomIdentifier, required: true, location_name: "identifier"))
364
+ UpdateRoomRequest.add_member(:logging_configuration_identifiers, Shapes::ShapeRef.new(shape: LoggingConfigurationIdentifierList, location_name: "loggingConfigurationIdentifiers"))
245
365
  UpdateRoomRequest.add_member(:maximum_message_length, Shapes::ShapeRef.new(shape: RoomMaxMessageLength, location_name: "maximumMessageLength"))
246
366
  UpdateRoomRequest.add_member(:maximum_message_rate_per_second, Shapes::ShapeRef.new(shape: RoomMaxMessageRatePerSecond, location_name: "maximumMessageRatePerSecond"))
247
367
  UpdateRoomRequest.add_member(:message_review_handler, Shapes::ShapeRef.new(shape: MessageReviewHandler, location_name: "messageReviewHandler"))
@@ -251,6 +371,7 @@ module Aws::Ivschat
251
371
  UpdateRoomResponse.add_member(:arn, Shapes::ShapeRef.new(shape: RoomArn, location_name: "arn"))
252
372
  UpdateRoomResponse.add_member(:create_time, Shapes::ShapeRef.new(shape: Time, location_name: "createTime"))
253
373
  UpdateRoomResponse.add_member(:id, Shapes::ShapeRef.new(shape: RoomID, location_name: "id"))
374
+ UpdateRoomResponse.add_member(:logging_configuration_identifiers, Shapes::ShapeRef.new(shape: LoggingConfigurationIdentifierList, location_name: "loggingConfigurationIdentifiers"))
254
375
  UpdateRoomResponse.add_member(:maximum_message_length, Shapes::ShapeRef.new(shape: RoomMaxMessageLength, location_name: "maximumMessageLength"))
255
376
  UpdateRoomResponse.add_member(:maximum_message_rate_per_second, Shapes::ShapeRef.new(shape: RoomMaxMessageRatePerSecond, location_name: "maximumMessageRatePerSecond"))
256
377
  UpdateRoomResponse.add_member(:message_review_handler, Shapes::ShapeRef.new(shape: MessageReviewHandler, location_name: "messageReviewHandler"))
@@ -301,6 +422,20 @@ module Aws::Ivschat
301
422
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
302
423
  end)
303
424
 
425
+ api.add_operation(:create_logging_configuration, Seahorse::Model::Operation.new.tap do |o|
426
+ o.name = "CreateLoggingConfiguration"
427
+ o.http_method = "POST"
428
+ o.http_request_uri = "/CreateLoggingConfiguration"
429
+ o.input = Shapes::ShapeRef.new(shape: CreateLoggingConfigurationRequest)
430
+ o.output = Shapes::ShapeRef.new(shape: CreateLoggingConfigurationResponse)
431
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
432
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
433
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
434
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
435
+ o.errors << Shapes::ShapeRef.new(shape: PendingVerification)
436
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
437
+ end)
438
+
304
439
  api.add_operation(:create_room, Seahorse::Model::Operation.new.tap do |o|
305
440
  o.name = "CreateRoom"
306
441
  o.http_method = "POST"
@@ -315,6 +450,19 @@ module Aws::Ivschat
315
450
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
316
451
  end)
317
452
 
453
+ api.add_operation(:delete_logging_configuration, Seahorse::Model::Operation.new.tap do |o|
454
+ o.name = "DeleteLoggingConfiguration"
455
+ o.http_method = "POST"
456
+ o.http_request_uri = "/DeleteLoggingConfiguration"
457
+ o.input = Shapes::ShapeRef.new(shape: DeleteLoggingConfigurationRequest)
458
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
459
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
460
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
461
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
462
+ o.errors << Shapes::ShapeRef.new(shape: PendingVerification)
463
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
464
+ end)
465
+
318
466
  api.add_operation(:delete_message, Seahorse::Model::Operation.new.tap do |o|
319
467
  o.name = "DeleteMessage"
320
468
  o.http_method = "POST"
@@ -351,6 +499,17 @@ module Aws::Ivschat
351
499
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
352
500
  end)
353
501
 
502
+ api.add_operation(:get_logging_configuration, Seahorse::Model::Operation.new.tap do |o|
503
+ o.name = "GetLoggingConfiguration"
504
+ o.http_method = "POST"
505
+ o.http_request_uri = "/GetLoggingConfiguration"
506
+ o.input = Shapes::ShapeRef.new(shape: GetLoggingConfigurationRequest)
507
+ o.output = Shapes::ShapeRef.new(shape: GetLoggingConfigurationResponse)
508
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
509
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
510
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
511
+ end)
512
+
354
513
  api.add_operation(:get_room, Seahorse::Model::Operation.new.tap do |o|
355
514
  o.name = "GetRoom"
356
515
  o.http_method = "POST"
@@ -362,6 +521,22 @@ module Aws::Ivschat
362
521
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
363
522
  end)
364
523
 
524
+ api.add_operation(:list_logging_configurations, Seahorse::Model::Operation.new.tap do |o|
525
+ o.name = "ListLoggingConfigurations"
526
+ o.http_method = "POST"
527
+ o.http_request_uri = "/ListLoggingConfigurations"
528
+ o.input = Shapes::ShapeRef.new(shape: ListLoggingConfigurationsRequest)
529
+ o.output = Shapes::ShapeRef.new(shape: ListLoggingConfigurationsResponse)
530
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
531
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
532
+ o[:pager] = Aws::Pager.new(
533
+ limit_key: "max_results",
534
+ tokens: {
535
+ "next_token" => "next_token"
536
+ }
537
+ )
538
+ end)
539
+
365
540
  api.add_operation(:list_rooms, Seahorse::Model::Operation.new.tap do |o|
366
541
  o.name = "ListRooms"
367
542
  o.http_method = "POST"
@@ -424,6 +599,18 @@ module Aws::Ivschat
424
599
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
425
600
  end)
426
601
 
602
+ api.add_operation(:update_logging_configuration, Seahorse::Model::Operation.new.tap do |o|
603
+ o.name = "UpdateLoggingConfiguration"
604
+ o.http_method = "POST"
605
+ o.http_request_uri = "/UpdateLoggingConfiguration"
606
+ o.input = Shapes::ShapeRef.new(shape: UpdateLoggingConfigurationRequest)
607
+ o.output = Shapes::ShapeRef.new(shape: UpdateLoggingConfigurationResponse)
608
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
609
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
610
+ o.errors << Shapes::ShapeRef.new(shape: PendingVerification)
611
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
612
+ end)
613
+
427
614
  api.add_operation(:update_room, Seahorse::Model::Operation.new.tap do |o|
428
615
  o.name = "UpdateRoom"
429
616
  o.http_method = "POST"
@@ -25,6 +25,20 @@ module Aws::Ivschat
25
25
  end
26
26
  end
27
27
 
28
+ class CreateLoggingConfiguration
29
+ def self.build(context)
30
+ unless context.config.regional_endpoint
31
+ endpoint = context.config.endpoint.to_s
32
+ end
33
+ Aws::Ivschat::EndpointParameters.new(
34
+ region: context.config.region,
35
+ use_dual_stack: context.config.use_dualstack_endpoint,
36
+ use_fips: context.config.use_fips_endpoint,
37
+ endpoint: endpoint,
38
+ )
39
+ end
40
+ end
41
+
28
42
  class CreateRoom
29
43
  def self.build(context)
30
44
  unless context.config.regional_endpoint
@@ -39,6 +53,20 @@ module Aws::Ivschat
39
53
  end
40
54
  end
41
55
 
56
+ class DeleteLoggingConfiguration
57
+ def self.build(context)
58
+ unless context.config.regional_endpoint
59
+ endpoint = context.config.endpoint.to_s
60
+ end
61
+ Aws::Ivschat::EndpointParameters.new(
62
+ region: context.config.region,
63
+ use_dual_stack: context.config.use_dualstack_endpoint,
64
+ use_fips: context.config.use_fips_endpoint,
65
+ endpoint: endpoint,
66
+ )
67
+ end
68
+ end
69
+
42
70
  class DeleteMessage
43
71
  def self.build(context)
44
72
  unless context.config.regional_endpoint
@@ -81,6 +109,20 @@ module Aws::Ivschat
81
109
  end
82
110
  end
83
111
 
112
+ class GetLoggingConfiguration
113
+ def self.build(context)
114
+ unless context.config.regional_endpoint
115
+ endpoint = context.config.endpoint.to_s
116
+ end
117
+ Aws::Ivschat::EndpointParameters.new(
118
+ region: context.config.region,
119
+ use_dual_stack: context.config.use_dualstack_endpoint,
120
+ use_fips: context.config.use_fips_endpoint,
121
+ endpoint: endpoint,
122
+ )
123
+ end
124
+ end
125
+
84
126
  class GetRoom
85
127
  def self.build(context)
86
128
  unless context.config.regional_endpoint
@@ -95,6 +137,20 @@ module Aws::Ivschat
95
137
  end
96
138
  end
97
139
 
140
+ class ListLoggingConfigurations
141
+ def self.build(context)
142
+ unless context.config.regional_endpoint
143
+ endpoint = context.config.endpoint.to_s
144
+ end
145
+ Aws::Ivschat::EndpointParameters.new(
146
+ region: context.config.region,
147
+ use_dual_stack: context.config.use_dualstack_endpoint,
148
+ use_fips: context.config.use_fips_endpoint,
149
+ endpoint: endpoint,
150
+ )
151
+ end
152
+ end
153
+
98
154
  class ListRooms
99
155
  def self.build(context)
100
156
  unless context.config.regional_endpoint
@@ -165,6 +221,20 @@ module Aws::Ivschat
165
221
  end
166
222
  end
167
223
 
224
+ class UpdateLoggingConfiguration
225
+ def self.build(context)
226
+ unless context.config.regional_endpoint
227
+ endpoint = context.config.endpoint.to_s
228
+ end
229
+ Aws::Ivschat::EndpointParameters.new(
230
+ region: context.config.region,
231
+ use_dual_stack: context.config.use_dualstack_endpoint,
232
+ use_fips: context.config.use_fips_endpoint,
233
+ endpoint: endpoint,
234
+ )
235
+ end
236
+ end
237
+
168
238
  class UpdateRoom
169
239
  def self.build(context)
170
240
  unless context.config.regional_endpoint
@@ -58,16 +58,24 @@ module Aws::Ivschat
58
58
  case context.operation_name
59
59
  when :create_chat_token
60
60
  Aws::Ivschat::Endpoints::CreateChatToken.build(context)
61
+ when :create_logging_configuration
62
+ Aws::Ivschat::Endpoints::CreateLoggingConfiguration.build(context)
61
63
  when :create_room
62
64
  Aws::Ivschat::Endpoints::CreateRoom.build(context)
65
+ when :delete_logging_configuration
66
+ Aws::Ivschat::Endpoints::DeleteLoggingConfiguration.build(context)
63
67
  when :delete_message
64
68
  Aws::Ivschat::Endpoints::DeleteMessage.build(context)
65
69
  when :delete_room
66
70
  Aws::Ivschat::Endpoints::DeleteRoom.build(context)
67
71
  when :disconnect_user
68
72
  Aws::Ivschat::Endpoints::DisconnectUser.build(context)
73
+ when :get_logging_configuration
74
+ Aws::Ivschat::Endpoints::GetLoggingConfiguration.build(context)
69
75
  when :get_room
70
76
  Aws::Ivschat::Endpoints::GetRoom.build(context)
77
+ when :list_logging_configurations
78
+ Aws::Ivschat::Endpoints::ListLoggingConfigurations.build(context)
71
79
  when :list_rooms
72
80
  Aws::Ivschat::Endpoints::ListRooms.build(context)
73
81
  when :list_tags_for_resource
@@ -78,6 +86,8 @@ module Aws::Ivschat
78
86
  Aws::Ivschat::Endpoints::TagResource.build(context)
79
87
  when :untag_resource
80
88
  Aws::Ivschat::Endpoints::UntagResource.build(context)
89
+ when :update_logging_configuration
90
+ Aws::Ivschat::Endpoints::UpdateLoggingConfiguration.build(context)
81
91
  when :update_room
82
92
  Aws::Ivschat::Endpoints::UpdateRoom.build(context)
83
93
  end