aws-sdk-chimesdkmeetings 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,402 @@
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::ChimeSDKMeetings
11
+ # @api private
12
+ module ClientApi
13
+
14
+ include Seahorse::Model
15
+
16
+ Arn = Shapes::StringShape.new(name: 'Arn')
17
+ Attendee = Shapes::StructureShape.new(name: 'Attendee')
18
+ AttendeeList = Shapes::ListShape.new(name: 'AttendeeList')
19
+ BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
20
+ BatchCreateAttendeeErrorList = Shapes::ListShape.new(name: 'BatchCreateAttendeeErrorList')
21
+ BatchCreateAttendeeRequest = Shapes::StructureShape.new(name: 'BatchCreateAttendeeRequest')
22
+ BatchCreateAttendeeResponse = Shapes::StructureShape.new(name: 'BatchCreateAttendeeResponse')
23
+ ClientRequestToken = Shapes::StringShape.new(name: 'ClientRequestToken')
24
+ CreateAttendeeError = Shapes::StructureShape.new(name: 'CreateAttendeeError')
25
+ CreateAttendeeRequest = Shapes::StructureShape.new(name: 'CreateAttendeeRequest')
26
+ CreateAttendeeRequestItem = Shapes::StructureShape.new(name: 'CreateAttendeeRequestItem')
27
+ CreateAttendeeRequestItemList = Shapes::ListShape.new(name: 'CreateAttendeeRequestItemList')
28
+ CreateAttendeeResponse = Shapes::StructureShape.new(name: 'CreateAttendeeResponse')
29
+ CreateMeetingRequest = Shapes::StructureShape.new(name: 'CreateMeetingRequest')
30
+ CreateMeetingResponse = Shapes::StructureShape.new(name: 'CreateMeetingResponse')
31
+ CreateMeetingWithAttendeesRequest = Shapes::StructureShape.new(name: 'CreateMeetingWithAttendeesRequest')
32
+ CreateMeetingWithAttendeesRequestItemList = Shapes::ListShape.new(name: 'CreateMeetingWithAttendeesRequestItemList')
33
+ CreateMeetingWithAttendeesResponse = Shapes::StructureShape.new(name: 'CreateMeetingWithAttendeesResponse')
34
+ DeleteAttendeeRequest = Shapes::StructureShape.new(name: 'DeleteAttendeeRequest')
35
+ DeleteMeetingRequest = Shapes::StructureShape.new(name: 'DeleteMeetingRequest')
36
+ EngineTranscribeMedicalSettings = Shapes::StructureShape.new(name: 'EngineTranscribeMedicalSettings')
37
+ EngineTranscribeSettings = Shapes::StructureShape.new(name: 'EngineTranscribeSettings')
38
+ ExternalMeetingId = Shapes::StringShape.new(name: 'ExternalMeetingId')
39
+ ExternalUserId = Shapes::StringShape.new(name: 'ExternalUserId')
40
+ ForbiddenException = Shapes::StructureShape.new(name: 'ForbiddenException')
41
+ GetAttendeeRequest = Shapes::StructureShape.new(name: 'GetAttendeeRequest')
42
+ GetAttendeeResponse = Shapes::StructureShape.new(name: 'GetAttendeeResponse')
43
+ GetMeetingRequest = Shapes::StructureShape.new(name: 'GetMeetingRequest')
44
+ GetMeetingResponse = Shapes::StructureShape.new(name: 'GetMeetingResponse')
45
+ GuidString = Shapes::StringShape.new(name: 'GuidString')
46
+ JoinTokenString = Shapes::StringShape.new(name: 'JoinTokenString')
47
+ LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
48
+ ListAttendeesRequest = Shapes::StructureShape.new(name: 'ListAttendeesRequest')
49
+ ListAttendeesResponse = Shapes::StructureShape.new(name: 'ListAttendeesResponse')
50
+ MediaPlacement = Shapes::StructureShape.new(name: 'MediaPlacement')
51
+ Meeting = Shapes::StructureShape.new(name: 'Meeting')
52
+ NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
53
+ NotificationsConfiguration = Shapes::StructureShape.new(name: 'NotificationsConfiguration')
54
+ ResultMax = Shapes::IntegerShape.new(name: 'ResultMax')
55
+ RetryAfterSeconds = Shapes::StringShape.new(name: 'RetryAfterSeconds')
56
+ ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
57
+ StartMeetingTranscriptionRequest = Shapes::StructureShape.new(name: 'StartMeetingTranscriptionRequest')
58
+ StopMeetingTranscriptionRequest = Shapes::StructureShape.new(name: 'StopMeetingTranscriptionRequest')
59
+ String = Shapes::StringShape.new(name: 'String')
60
+ TranscribeLanguageCode = Shapes::StringShape.new(name: 'TranscribeLanguageCode')
61
+ TranscribeMedicalLanguageCode = Shapes::StringShape.new(name: 'TranscribeMedicalLanguageCode')
62
+ TranscribeMedicalRegion = Shapes::StringShape.new(name: 'TranscribeMedicalRegion')
63
+ TranscribeMedicalSpecialty = Shapes::StringShape.new(name: 'TranscribeMedicalSpecialty')
64
+ TranscribeMedicalType = Shapes::StringShape.new(name: 'TranscribeMedicalType')
65
+ TranscribeRegion = Shapes::StringShape.new(name: 'TranscribeRegion')
66
+ TranscribeVocabularyFilterMethod = Shapes::StringShape.new(name: 'TranscribeVocabularyFilterMethod')
67
+ TranscriptionConfiguration = Shapes::StructureShape.new(name: 'TranscriptionConfiguration')
68
+ UnauthorizedException = Shapes::StructureShape.new(name: 'UnauthorizedException')
69
+ UnprocessableEntityException = Shapes::StructureShape.new(name: 'UnprocessableEntityException')
70
+
71
+ Attendee.add_member(:external_user_id, Shapes::ShapeRef.new(shape: ExternalUserId, location_name: "ExternalUserId"))
72
+ Attendee.add_member(:attendee_id, Shapes::ShapeRef.new(shape: String, location_name: "AttendeeId"))
73
+ Attendee.add_member(:join_token, Shapes::ShapeRef.new(shape: JoinTokenString, location_name: "JoinToken"))
74
+ Attendee.struct_class = Types::Attendee
75
+
76
+ AttendeeList.member = Shapes::ShapeRef.new(shape: Attendee)
77
+
78
+ BadRequestException.add_member(:code, Shapes::ShapeRef.new(shape: String, location_name: "Code"))
79
+ BadRequestException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
80
+ BadRequestException.add_member(:request_id, Shapes::ShapeRef.new(shape: String, location_name: "RequestId"))
81
+ BadRequestException.struct_class = Types::BadRequestException
82
+
83
+ BatchCreateAttendeeErrorList.member = Shapes::ShapeRef.new(shape: CreateAttendeeError)
84
+
85
+ BatchCreateAttendeeRequest.add_member(:meeting_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "MeetingId"))
86
+ BatchCreateAttendeeRequest.add_member(:attendees, Shapes::ShapeRef.new(shape: CreateAttendeeRequestItemList, required: true, location_name: "Attendees"))
87
+ BatchCreateAttendeeRequest.struct_class = Types::BatchCreateAttendeeRequest
88
+
89
+ BatchCreateAttendeeResponse.add_member(:attendees, Shapes::ShapeRef.new(shape: AttendeeList, location_name: "Attendees"))
90
+ BatchCreateAttendeeResponse.add_member(:errors, Shapes::ShapeRef.new(shape: BatchCreateAttendeeErrorList, location_name: "Errors"))
91
+ BatchCreateAttendeeResponse.struct_class = Types::BatchCreateAttendeeResponse
92
+
93
+ CreateAttendeeError.add_member(:external_user_id, Shapes::ShapeRef.new(shape: ExternalUserId, location_name: "ExternalUserId"))
94
+ CreateAttendeeError.add_member(:error_code, Shapes::ShapeRef.new(shape: String, location_name: "ErrorCode"))
95
+ CreateAttendeeError.add_member(:error_message, Shapes::ShapeRef.new(shape: String, location_name: "ErrorMessage"))
96
+ CreateAttendeeError.struct_class = Types::CreateAttendeeError
97
+
98
+ CreateAttendeeRequest.add_member(:meeting_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "MeetingId"))
99
+ CreateAttendeeRequest.add_member(:external_user_id, Shapes::ShapeRef.new(shape: ExternalUserId, required: true, location_name: "ExternalUserId"))
100
+ CreateAttendeeRequest.struct_class = Types::CreateAttendeeRequest
101
+
102
+ CreateAttendeeRequestItem.add_member(:external_user_id, Shapes::ShapeRef.new(shape: ExternalUserId, required: true, location_name: "ExternalUserId"))
103
+ CreateAttendeeRequestItem.struct_class = Types::CreateAttendeeRequestItem
104
+
105
+ CreateAttendeeRequestItemList.member = Shapes::ShapeRef.new(shape: CreateAttendeeRequestItem)
106
+
107
+ CreateAttendeeResponse.add_member(:attendee, Shapes::ShapeRef.new(shape: Attendee, location_name: "Attendee"))
108
+ CreateAttendeeResponse.struct_class = Types::CreateAttendeeResponse
109
+
110
+ CreateMeetingRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, required: true, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
111
+ CreateMeetingRequest.add_member(:media_region, Shapes::ShapeRef.new(shape: String, required: true, location_name: "MediaRegion"))
112
+ CreateMeetingRequest.add_member(:meeting_host_id, Shapes::ShapeRef.new(shape: ExternalUserId, location_name: "MeetingHostId"))
113
+ CreateMeetingRequest.add_member(:external_meeting_id, Shapes::ShapeRef.new(shape: ExternalMeetingId, required: true, location_name: "ExternalMeetingId"))
114
+ CreateMeetingRequest.add_member(:notifications_configuration, Shapes::ShapeRef.new(shape: NotificationsConfiguration, location_name: "NotificationsConfiguration"))
115
+ CreateMeetingRequest.struct_class = Types::CreateMeetingRequest
116
+
117
+ CreateMeetingResponse.add_member(:meeting, Shapes::ShapeRef.new(shape: Meeting, location_name: "Meeting"))
118
+ CreateMeetingResponse.struct_class = Types::CreateMeetingResponse
119
+
120
+ CreateMeetingWithAttendeesRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, required: true, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
121
+ CreateMeetingWithAttendeesRequest.add_member(:media_region, Shapes::ShapeRef.new(shape: String, required: true, location_name: "MediaRegion"))
122
+ CreateMeetingWithAttendeesRequest.add_member(:meeting_host_id, Shapes::ShapeRef.new(shape: ExternalUserId, location_name: "MeetingHostId"))
123
+ CreateMeetingWithAttendeesRequest.add_member(:external_meeting_id, Shapes::ShapeRef.new(shape: ExternalMeetingId, required: true, location_name: "ExternalMeetingId"))
124
+ CreateMeetingWithAttendeesRequest.add_member(:notifications_configuration, Shapes::ShapeRef.new(shape: NotificationsConfiguration, location_name: "NotificationsConfiguration"))
125
+ CreateMeetingWithAttendeesRequest.add_member(:attendees, Shapes::ShapeRef.new(shape: CreateMeetingWithAttendeesRequestItemList, required: true, location_name: "Attendees"))
126
+ CreateMeetingWithAttendeesRequest.struct_class = Types::CreateMeetingWithAttendeesRequest
127
+
128
+ CreateMeetingWithAttendeesRequestItemList.member = Shapes::ShapeRef.new(shape: CreateAttendeeRequestItem)
129
+
130
+ CreateMeetingWithAttendeesResponse.add_member(:meeting, Shapes::ShapeRef.new(shape: Meeting, location_name: "Meeting"))
131
+ CreateMeetingWithAttendeesResponse.add_member(:attendees, Shapes::ShapeRef.new(shape: AttendeeList, location_name: "Attendees"))
132
+ CreateMeetingWithAttendeesResponse.add_member(:errors, Shapes::ShapeRef.new(shape: BatchCreateAttendeeErrorList, location_name: "Errors"))
133
+ CreateMeetingWithAttendeesResponse.struct_class = Types::CreateMeetingWithAttendeesResponse
134
+
135
+ DeleteAttendeeRequest.add_member(:meeting_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "MeetingId"))
136
+ DeleteAttendeeRequest.add_member(:attendee_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "AttendeeId"))
137
+ DeleteAttendeeRequest.struct_class = Types::DeleteAttendeeRequest
138
+
139
+ DeleteMeetingRequest.add_member(:meeting_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "MeetingId"))
140
+ DeleteMeetingRequest.struct_class = Types::DeleteMeetingRequest
141
+
142
+ EngineTranscribeMedicalSettings.add_member(:language_code, Shapes::ShapeRef.new(shape: TranscribeMedicalLanguageCode, required: true, location_name: "LanguageCode"))
143
+ EngineTranscribeMedicalSettings.add_member(:specialty, Shapes::ShapeRef.new(shape: TranscribeMedicalSpecialty, required: true, location_name: "Specialty"))
144
+ EngineTranscribeMedicalSettings.add_member(:type, Shapes::ShapeRef.new(shape: TranscribeMedicalType, required: true, location_name: "Type"))
145
+ EngineTranscribeMedicalSettings.add_member(:vocabulary_name, Shapes::ShapeRef.new(shape: String, location_name: "VocabularyName"))
146
+ EngineTranscribeMedicalSettings.add_member(:region, Shapes::ShapeRef.new(shape: TranscribeMedicalRegion, location_name: "Region"))
147
+ EngineTranscribeMedicalSettings.struct_class = Types::EngineTranscribeMedicalSettings
148
+
149
+ EngineTranscribeSettings.add_member(:language_code, Shapes::ShapeRef.new(shape: TranscribeLanguageCode, required: true, location_name: "LanguageCode"))
150
+ EngineTranscribeSettings.add_member(:vocabulary_filter_method, Shapes::ShapeRef.new(shape: TranscribeVocabularyFilterMethod, location_name: "VocabularyFilterMethod"))
151
+ EngineTranscribeSettings.add_member(:vocabulary_filter_name, Shapes::ShapeRef.new(shape: String, location_name: "VocabularyFilterName"))
152
+ EngineTranscribeSettings.add_member(:vocabulary_name, Shapes::ShapeRef.new(shape: String, location_name: "VocabularyName"))
153
+ EngineTranscribeSettings.add_member(:region, Shapes::ShapeRef.new(shape: TranscribeRegion, location_name: "Region"))
154
+ EngineTranscribeSettings.struct_class = Types::EngineTranscribeSettings
155
+
156
+ ForbiddenException.add_member(:code, Shapes::ShapeRef.new(shape: String, location_name: "Code"))
157
+ ForbiddenException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
158
+ ForbiddenException.add_member(:request_id, Shapes::ShapeRef.new(shape: String, location_name: "RequestId"))
159
+ ForbiddenException.struct_class = Types::ForbiddenException
160
+
161
+ GetAttendeeRequest.add_member(:meeting_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "MeetingId"))
162
+ GetAttendeeRequest.add_member(:attendee_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "AttendeeId"))
163
+ GetAttendeeRequest.struct_class = Types::GetAttendeeRequest
164
+
165
+ GetAttendeeResponse.add_member(:attendee, Shapes::ShapeRef.new(shape: Attendee, location_name: "Attendee"))
166
+ GetAttendeeResponse.struct_class = Types::GetAttendeeResponse
167
+
168
+ GetMeetingRequest.add_member(:meeting_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "MeetingId"))
169
+ GetMeetingRequest.struct_class = Types::GetMeetingRequest
170
+
171
+ GetMeetingResponse.add_member(:meeting, Shapes::ShapeRef.new(shape: Meeting, location_name: "Meeting"))
172
+ GetMeetingResponse.struct_class = Types::GetMeetingResponse
173
+
174
+ LimitExceededException.add_member(:code, Shapes::ShapeRef.new(shape: String, location_name: "Code"))
175
+ LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
176
+ LimitExceededException.add_member(:request_id, Shapes::ShapeRef.new(shape: String, location_name: "RequestId"))
177
+ LimitExceededException.struct_class = Types::LimitExceededException
178
+
179
+ ListAttendeesRequest.add_member(:meeting_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "MeetingId"))
180
+ ListAttendeesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "next-token"))
181
+ ListAttendeesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ResultMax, location: "querystring", location_name: "max-results"))
182
+ ListAttendeesRequest.struct_class = Types::ListAttendeesRequest
183
+
184
+ ListAttendeesResponse.add_member(:attendees, Shapes::ShapeRef.new(shape: AttendeeList, location_name: "Attendees"))
185
+ ListAttendeesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
186
+ ListAttendeesResponse.struct_class = Types::ListAttendeesResponse
187
+
188
+ MediaPlacement.add_member(:audio_host_url, Shapes::ShapeRef.new(shape: String, location_name: "AudioHostUrl"))
189
+ MediaPlacement.add_member(:audio_fallback_url, Shapes::ShapeRef.new(shape: String, location_name: "AudioFallbackUrl"))
190
+ MediaPlacement.add_member(:signaling_url, Shapes::ShapeRef.new(shape: String, location_name: "SignalingUrl"))
191
+ MediaPlacement.add_member(:turn_control_url, Shapes::ShapeRef.new(shape: String, location_name: "TurnControlUrl"))
192
+ MediaPlacement.add_member(:screen_data_url, Shapes::ShapeRef.new(shape: String, location_name: "ScreenDataUrl"))
193
+ MediaPlacement.add_member(:screen_viewing_url, Shapes::ShapeRef.new(shape: String, location_name: "ScreenViewingUrl"))
194
+ MediaPlacement.add_member(:screen_sharing_url, Shapes::ShapeRef.new(shape: String, location_name: "ScreenSharingUrl"))
195
+ MediaPlacement.add_member(:event_ingestion_url, Shapes::ShapeRef.new(shape: String, location_name: "EventIngestionUrl"))
196
+ MediaPlacement.struct_class = Types::MediaPlacement
197
+
198
+ Meeting.add_member(:meeting_id, Shapes::ShapeRef.new(shape: GuidString, location_name: "MeetingId"))
199
+ Meeting.add_member(:meeting_host_id, Shapes::ShapeRef.new(shape: ExternalUserId, location_name: "MeetingHostId"))
200
+ Meeting.add_member(:external_meeting_id, Shapes::ShapeRef.new(shape: ExternalMeetingId, location_name: "ExternalMeetingId"))
201
+ Meeting.add_member(:media_region, Shapes::ShapeRef.new(shape: String, location_name: "MediaRegion"))
202
+ Meeting.add_member(:media_placement, Shapes::ShapeRef.new(shape: MediaPlacement, location_name: "MediaPlacement"))
203
+ Meeting.struct_class = Types::Meeting
204
+
205
+ NotFoundException.add_member(:code, Shapes::ShapeRef.new(shape: String, location_name: "Code"))
206
+ NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
207
+ NotFoundException.add_member(:request_id, Shapes::ShapeRef.new(shape: String, location_name: "RequestId"))
208
+ NotFoundException.struct_class = Types::NotFoundException
209
+
210
+ NotificationsConfiguration.add_member(:lambda_function_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "LambdaFunctionArn"))
211
+ NotificationsConfiguration.add_member(:sns_topic_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "SnsTopicArn"))
212
+ NotificationsConfiguration.add_member(:sqs_queue_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "SqsQueueArn"))
213
+ NotificationsConfiguration.struct_class = Types::NotificationsConfiguration
214
+
215
+ ServiceUnavailableException.add_member(:code, Shapes::ShapeRef.new(shape: String, location_name: "Code"))
216
+ ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
217
+ ServiceUnavailableException.add_member(:request_id, Shapes::ShapeRef.new(shape: String, location_name: "RequestId"))
218
+ ServiceUnavailableException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: RetryAfterSeconds, location: "header", location_name: "Retry-After"))
219
+ ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
220
+
221
+ StartMeetingTranscriptionRequest.add_member(:meeting_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "MeetingId"))
222
+ StartMeetingTranscriptionRequest.add_member(:transcription_configuration, Shapes::ShapeRef.new(shape: TranscriptionConfiguration, required: true, location_name: "TranscriptionConfiguration"))
223
+ StartMeetingTranscriptionRequest.struct_class = Types::StartMeetingTranscriptionRequest
224
+
225
+ StopMeetingTranscriptionRequest.add_member(:meeting_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "MeetingId"))
226
+ StopMeetingTranscriptionRequest.struct_class = Types::StopMeetingTranscriptionRequest
227
+
228
+ TranscriptionConfiguration.add_member(:engine_transcribe_settings, Shapes::ShapeRef.new(shape: EngineTranscribeSettings, location_name: "EngineTranscribeSettings"))
229
+ TranscriptionConfiguration.add_member(:engine_transcribe_medical_settings, Shapes::ShapeRef.new(shape: EngineTranscribeMedicalSettings, location_name: "EngineTranscribeMedicalSettings"))
230
+ TranscriptionConfiguration.struct_class = Types::TranscriptionConfiguration
231
+
232
+ UnauthorizedException.add_member(:code, Shapes::ShapeRef.new(shape: String, location_name: "Code"))
233
+ UnauthorizedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
234
+ UnauthorizedException.add_member(:request_id, Shapes::ShapeRef.new(shape: String, location_name: "RequestId"))
235
+ UnauthorizedException.struct_class = Types::UnauthorizedException
236
+
237
+ UnprocessableEntityException.add_member(:code, Shapes::ShapeRef.new(shape: String, location_name: "Code"))
238
+ UnprocessableEntityException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
239
+ UnprocessableEntityException.add_member(:request_id, Shapes::ShapeRef.new(shape: String, location_name: "RequestId"))
240
+ UnprocessableEntityException.struct_class = Types::UnprocessableEntityException
241
+
242
+
243
+ # @api private
244
+ API = Seahorse::Model::Api.new.tap do |api|
245
+
246
+ api.version = "2021-07-15"
247
+
248
+ api.metadata = {
249
+ "apiVersion" => "2021-07-15",
250
+ "endpointPrefix" => "meetings-chime",
251
+ "protocol" => "rest-json",
252
+ "serviceFullName" => "Amazon Chime SDK Meetings",
253
+ "serviceId" => "Chime SDK Meetings",
254
+ "signatureVersion" => "v4",
255
+ "signingName" => "chime",
256
+ "uid" => "chime-sdk-meetings-2021-07-15",
257
+ }
258
+
259
+ api.add_operation(:batch_create_attendee, Seahorse::Model::Operation.new.tap do |o|
260
+ o.name = "BatchCreateAttendee"
261
+ o.http_method = "POST"
262
+ o.http_request_uri = "/meetings/{MeetingId}/attendees?operation=batch-create"
263
+ o.input = Shapes::ShapeRef.new(shape: BatchCreateAttendeeRequest)
264
+ o.output = Shapes::ShapeRef.new(shape: BatchCreateAttendeeResponse)
265
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
266
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
267
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
268
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
269
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
270
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
271
+ end)
272
+
273
+ api.add_operation(:create_attendee, Seahorse::Model::Operation.new.tap do |o|
274
+ o.name = "CreateAttendee"
275
+ o.http_method = "POST"
276
+ o.http_request_uri = "/meetings/{MeetingId}/attendees"
277
+ o.input = Shapes::ShapeRef.new(shape: CreateAttendeeRequest)
278
+ o.output = Shapes::ShapeRef.new(shape: CreateAttendeeResponse)
279
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
280
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
281
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
282
+ o.errors << Shapes::ShapeRef.new(shape: UnprocessableEntityException)
283
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
284
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
285
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
286
+ end)
287
+
288
+ api.add_operation(:create_meeting, Seahorse::Model::Operation.new.tap do |o|
289
+ o.name = "CreateMeeting"
290
+ o.http_method = "POST"
291
+ o.http_request_uri = "/meetings"
292
+ o.input = Shapes::ShapeRef.new(shape: CreateMeetingRequest)
293
+ o.output = Shapes::ShapeRef.new(shape: CreateMeetingResponse)
294
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
295
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
296
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
297
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
298
+ end)
299
+
300
+ api.add_operation(:create_meeting_with_attendees, Seahorse::Model::Operation.new.tap do |o|
301
+ o.name = "CreateMeetingWithAttendees"
302
+ o.http_method = "POST"
303
+ o.http_request_uri = "/meetings?operation=create-attendees"
304
+ o.input = Shapes::ShapeRef.new(shape: CreateMeetingWithAttendeesRequest)
305
+ o.output = Shapes::ShapeRef.new(shape: CreateMeetingWithAttendeesResponse)
306
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
307
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
308
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
309
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
310
+ end)
311
+
312
+ api.add_operation(:delete_attendee, Seahorse::Model::Operation.new.tap do |o|
313
+ o.name = "DeleteAttendee"
314
+ o.http_method = "DELETE"
315
+ o.http_request_uri = "/meetings/{MeetingId}/attendees/{AttendeeId}"
316
+ o.input = Shapes::ShapeRef.new(shape: DeleteAttendeeRequest)
317
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
318
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
319
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
320
+ end)
321
+
322
+ api.add_operation(:delete_meeting, Seahorse::Model::Operation.new.tap do |o|
323
+ o.name = "DeleteMeeting"
324
+ o.http_method = "DELETE"
325
+ o.http_request_uri = "/meetings/{MeetingId}"
326
+ o.input = Shapes::ShapeRef.new(shape: DeleteMeetingRequest)
327
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
328
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
329
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
330
+ end)
331
+
332
+ api.add_operation(:get_attendee, Seahorse::Model::Operation.new.tap do |o|
333
+ o.name = "GetAttendee"
334
+ o.http_method = "GET"
335
+ o.http_request_uri = "/meetings/{MeetingId}/attendees/{AttendeeId}"
336
+ o.input = Shapes::ShapeRef.new(shape: GetAttendeeRequest)
337
+ o.output = Shapes::ShapeRef.new(shape: GetAttendeeResponse)
338
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
339
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
340
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
341
+ end)
342
+
343
+ api.add_operation(:get_meeting, Seahorse::Model::Operation.new.tap do |o|
344
+ o.name = "GetMeeting"
345
+ o.http_method = "GET"
346
+ o.http_request_uri = "/meetings/{MeetingId}"
347
+ o.input = Shapes::ShapeRef.new(shape: GetMeetingRequest)
348
+ o.output = Shapes::ShapeRef.new(shape: GetMeetingResponse)
349
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
350
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
351
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
352
+ end)
353
+
354
+ api.add_operation(:list_attendees, Seahorse::Model::Operation.new.tap do |o|
355
+ o.name = "ListAttendees"
356
+ o.http_method = "GET"
357
+ o.http_request_uri = "/meetings/{MeetingId}/attendees"
358
+ o.input = Shapes::ShapeRef.new(shape: ListAttendeesRequest)
359
+ o.output = Shapes::ShapeRef.new(shape: ListAttendeesResponse)
360
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
361
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
362
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
363
+ o[:pager] = Aws::Pager.new(
364
+ limit_key: "max_results",
365
+ tokens: {
366
+ "next_token" => "next_token"
367
+ }
368
+ )
369
+ end)
370
+
371
+ api.add_operation(:start_meeting_transcription, Seahorse::Model::Operation.new.tap do |o|
372
+ o.name = "StartMeetingTranscription"
373
+ o.http_method = "POST"
374
+ o.http_request_uri = "/meetings/{MeetingId}/transcription?operation=start"
375
+ o.input = Shapes::ShapeRef.new(shape: StartMeetingTranscriptionRequest)
376
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
377
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
378
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
379
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
380
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
381
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
382
+ o.errors << Shapes::ShapeRef.new(shape: UnprocessableEntityException)
383
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
384
+ end)
385
+
386
+ api.add_operation(:stop_meeting_transcription, Seahorse::Model::Operation.new.tap do |o|
387
+ o.name = "StopMeetingTranscription"
388
+ o.http_method = "POST"
389
+ o.http_request_uri = "/meetings/{MeetingId}/transcription?operation=stop"
390
+ o.input = Shapes::ShapeRef.new(shape: StopMeetingTranscriptionRequest)
391
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
392
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
393
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
394
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
395
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
396
+ o.errors << Shapes::ShapeRef.new(shape: UnprocessableEntityException)
397
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
398
+ end)
399
+ end
400
+
401
+ end
402
+ end
File without changes
@@ -0,0 +1,225 @@
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::ChimeSDKMeetings
11
+
12
+ # When ChimeSDKMeetings returns an error response, the Ruby SDK constructs and raises an error.
13
+ # These errors all extend Aws::ChimeSDKMeetings::Errors::ServiceError < {Aws::Errors::ServiceError}
14
+ #
15
+ # You can rescue all ChimeSDKMeetings errors using ServiceError:
16
+ #
17
+ # begin
18
+ # # do stuff
19
+ # rescue Aws::ChimeSDKMeetings::Errors::ServiceError
20
+ # # rescues all ChimeSDKMeetings API errors
21
+ # end
22
+ #
23
+ #
24
+ # ## Request Context
25
+ # ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
26
+ # information about the request that generated the error.
27
+ # See {Seahorse::Client::RequestContext} for more information.
28
+ #
29
+ # ## Error Classes
30
+ # * {BadRequestException}
31
+ # * {ForbiddenException}
32
+ # * {LimitExceededException}
33
+ # * {NotFoundException}
34
+ # * {ServiceUnavailableException}
35
+ # * {UnauthorizedException}
36
+ # * {UnprocessableEntityException}
37
+ #
38
+ # Additionally, error classes are dynamically generated for service errors based on the error code
39
+ # if they are not defined above.
40
+ module Errors
41
+
42
+ extend Aws::Errors::DynamicErrors
43
+
44
+ class BadRequestException < ServiceError
45
+
46
+ # @param [Seahorse::Client::RequestContext] context
47
+ # @param [String] message
48
+ # @param [Aws::ChimeSDKMeetings::Types::BadRequestException] data
49
+ def initialize(context, message, data = Aws::EmptyStructure.new)
50
+ super(context, message, data)
51
+ end
52
+
53
+ # @return [String]
54
+ def code
55
+ @code || @data[:code]
56
+ end
57
+
58
+ # @return [String]
59
+ def message
60
+ @message || @data[:message]
61
+ end
62
+
63
+ # @return [String]
64
+ def request_id
65
+ @data[:request_id]
66
+ end
67
+ end
68
+
69
+ class ForbiddenException < ServiceError
70
+
71
+ # @param [Seahorse::Client::RequestContext] context
72
+ # @param [String] message
73
+ # @param [Aws::ChimeSDKMeetings::Types::ForbiddenException] data
74
+ def initialize(context, message, data = Aws::EmptyStructure.new)
75
+ super(context, message, data)
76
+ end
77
+
78
+ # @return [String]
79
+ def code
80
+ @code || @data[:code]
81
+ end
82
+
83
+ # @return [String]
84
+ def message
85
+ @message || @data[:message]
86
+ end
87
+
88
+ # @return [String]
89
+ def request_id
90
+ @data[:request_id]
91
+ end
92
+ end
93
+
94
+ class LimitExceededException < ServiceError
95
+
96
+ # @param [Seahorse::Client::RequestContext] context
97
+ # @param [String] message
98
+ # @param [Aws::ChimeSDKMeetings::Types::LimitExceededException] data
99
+ def initialize(context, message, data = Aws::EmptyStructure.new)
100
+ super(context, message, data)
101
+ end
102
+
103
+ # @return [String]
104
+ def code
105
+ @code || @data[:code]
106
+ end
107
+
108
+ # @return [String]
109
+ def message
110
+ @message || @data[:message]
111
+ end
112
+
113
+ # @return [String]
114
+ def request_id
115
+ @data[:request_id]
116
+ end
117
+ end
118
+
119
+ class NotFoundException < ServiceError
120
+
121
+ # @param [Seahorse::Client::RequestContext] context
122
+ # @param [String] message
123
+ # @param [Aws::ChimeSDKMeetings::Types::NotFoundException] data
124
+ def initialize(context, message, data = Aws::EmptyStructure.new)
125
+ super(context, message, data)
126
+ end
127
+
128
+ # @return [String]
129
+ def code
130
+ @code || @data[:code]
131
+ end
132
+
133
+ # @return [String]
134
+ def message
135
+ @message || @data[:message]
136
+ end
137
+
138
+ # @return [String]
139
+ def request_id
140
+ @data[:request_id]
141
+ end
142
+ end
143
+
144
+ class ServiceUnavailableException < ServiceError
145
+
146
+ # @param [Seahorse::Client::RequestContext] context
147
+ # @param [String] message
148
+ # @param [Aws::ChimeSDKMeetings::Types::ServiceUnavailableException] data
149
+ def initialize(context, message, data = Aws::EmptyStructure.new)
150
+ super(context, message, data)
151
+ end
152
+
153
+ # @return [String]
154
+ def code
155
+ @code || @data[:code]
156
+ end
157
+
158
+ # @return [String]
159
+ def message
160
+ @message || @data[:message]
161
+ end
162
+
163
+ # @return [String]
164
+ def request_id
165
+ @data[:request_id]
166
+ end
167
+
168
+ # @return [String]
169
+ def retry_after_seconds
170
+ @data[:retry_after_seconds]
171
+ end
172
+ end
173
+
174
+ class UnauthorizedException < ServiceError
175
+
176
+ # @param [Seahorse::Client::RequestContext] context
177
+ # @param [String] message
178
+ # @param [Aws::ChimeSDKMeetings::Types::UnauthorizedException] data
179
+ def initialize(context, message, data = Aws::EmptyStructure.new)
180
+ super(context, message, data)
181
+ end
182
+
183
+ # @return [String]
184
+ def code
185
+ @code || @data[:code]
186
+ end
187
+
188
+ # @return [String]
189
+ def message
190
+ @message || @data[:message]
191
+ end
192
+
193
+ # @return [String]
194
+ def request_id
195
+ @data[:request_id]
196
+ end
197
+ end
198
+
199
+ class UnprocessableEntityException < ServiceError
200
+
201
+ # @param [Seahorse::Client::RequestContext] context
202
+ # @param [String] message
203
+ # @param [Aws::ChimeSDKMeetings::Types::UnprocessableEntityException] data
204
+ def initialize(context, message, data = Aws::EmptyStructure.new)
205
+ super(context, message, data)
206
+ end
207
+
208
+ # @return [String]
209
+ def code
210
+ @code || @data[:code]
211
+ end
212
+
213
+ # @return [String]
214
+ def message
215
+ @message || @data[:message]
216
+ end
217
+
218
+ # @return [String]
219
+ def request_id
220
+ @data[:request_id]
221
+ end
222
+ end
223
+
224
+ end
225
+ end
@@ -0,0 +1,26 @@
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::ChimeSDKMeetings
11
+
12
+ class Resource
13
+
14
+ # @param options ({})
15
+ # @option options [Client] :client
16
+ def initialize(options = {})
17
+ @client = options[:client] || Client.new(options)
18
+ end
19
+
20
+ # @return [Client]
21
+ def client
22
+ @client
23
+ end
24
+
25
+ end
26
+ end