create_attendee
¶
create_attendee(
meeting_id: GuidString,
external_user_id: ExternalUserId,
*,
config_overrides: Optional[ChimeSDKMeetingsClientConfig] = None,
capabilities: Optional[AttendeeCapabilities] = None,
) -> CreateAttendeeResponse
Creates a new attendee for an active Amazon Chime SDK meeting. For more information about the Amazon Chime SDK, see Using the Amazon Chime SDK in the Amazon Chime Developer Guide.
Parameters:
-
meeting_id(GuidString) –The unique ID of the meeting.
-
external_user_id(ExternalUserId) –The Amazon Chime SDK external user ID. An idempotency token. Links the attendee to an identity managed by a builder application.
Pattern:
[-_&@+=,(){}\[\]\/«».:|'"#a-zA-Z0-9À-ÿ\s]*Values that begin with
aws:are reserved. You can't configure a value that uses this prefix. -
capabilities(Optional[AttendeeCapabilities], default:None) –The capabilities (
audio,video, orcontent) that you want to grant an attendee. If you don't specify capabilities, all users have send and receive capabilities on all media channels by default.You use the capabilities with a set of values that control what the capabilities can do, such as
SendReceivedata. For more information about those values, see .When using capabilities, be aware of these corner cases:
-
If you specify
MeetingFeatures:Video:MaxResolution:Nonewhen you create a meeting, all API requests that includeSendReceive,Send, orReceiveforAttendeeCapabilities:Videowill be rejected withValidationError 400. -
If you specify
MeetingFeatures:Content:MaxResolution:Nonewhen you create a meeting, all API requests that includeSendReceive,Send, orReceiveforAttendeeCapabilities:Contentwill be rejected withValidationError 400. -
You can't set
contentcapabilities toSendReceiveorReceiveunless you also setvideocapabilities toSendReceiveorReceive. If you don't set thevideocapability to receive, the response will contain an HTTP 400 Bad Request status code. However, you can set yourvideocapability to receive and you set yourcontentcapability to not receive. -
If meeting features is defined as
Video:MaxResolution:NonebutContent:MaxResolutionis defined as something other thanNoneand attendee capabilities are not defined in the API request, then the default attendee video capability is set toReceiveand attendee content capability is set toSendReceive. This is because contentSendReceiverequires video to be at leastReceive. -
When you change an
audiocapability fromNoneorReceivetoSendorSendReceive, and if the attendee left their microphone unmuted, audio will flow from the attendee to the other meeting participants. -
When you change a
videoorcontentcapability fromNoneorReceivetoSendorSendReceive, and if the attendee turned on their video or content streams, remote attendees can receive those streams, but only after media renegotiation between the client and the Amazon Chime back-end server.
-
Raises:
-
BadRequestException–The input parameters don't match the service's restrictions.
-
ForbiddenException–The client is permanently forbidden from making the request.
-
LimitExceededException–The request exceeds the resource limit.
-
NotFoundException–One or more of the resources in the request does not exist in the system.
-
ServiceFailureException–The service encountered an unexpected error.
-
ServiceUnavailableException–The service is currently unavailable.
-
ThrottlingException–The number of customer requests exceeds the request rate limit.
-
UnauthorizedException–The user isn't authorized to request a resource.
-
UnprocessableEntityException–The request was well-formed but was unable to be followed due to semantic errors.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_chime_sdk_meetings/_services/chime_sdk_meetings.py
327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 | |