BatchUpdateAttendeeCapabilitiesExcept
Updates AttendeeCapabilities except the capabilities listed in an ExcludedAttendeeIds table.
Note
You use the capabilities with a set of values that control what the capabilities can do, such as SendReceive data. For more information about those values, see
AttendeeCapabilities.
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.
Request Syntax
PUT /meetings/MeetingId/attendees/capabilities?operation=batch-update-except HTTP/1.1
Content-type: application/json
{
"Capabilities": {
"Audio": "string",
"Content": "string",
"Video": "string"
},
"ExcludedAttendeeIds": [
{
"AttendeeId": "string"
}
]
}
URI Request Parameters
The request uses the following URI parameters.
- MeetingId
-
The ID of the meeting associated with the update request.
Pattern:
[a-fA-F0-9]{8}(?:-[a-fA-F0-9]{4}){3}-[a-fA-F0-9]{12}Required: Yes
Request Body
The request accepts the following data in JSON format.
- Capabilities
-
The capabilities (
audio,video, orcontent) that you want to update.Type: AttendeeCapabilities object
Required: Yes
- ExcludedAttendeeIds
-
The
AttendeeIDsthat you want to exclude from one or more capabilities.Type: Array of AttendeeIdItem objects
Array Members: Minimum number of 1 item. Maximum number of 250 items.
Required: Yes
Response Syntax
HTTP/1.1 200
Response Elements
If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.
Errors
For information about the errors that are common to all actions, see Common Errors.
- BadRequestException
-
The input parameters don't match the service's restrictions.
- RequestId
-
The request id associated with the call responsible for the exception.
HTTP Status Code: 400
- ConflictException
-
Multiple instances of the same request have been made simultaneously.
- RequestId
-
The ID of the request involved in the conflict.
HTTP Status Code: 409
- ForbiddenException
-
The client is permanently forbidden from making the request.
- RequestId
-
The request id associated with the call responsible for the exception.
HTTP Status Code: 403
- NotFoundException
-
One or more of the resources in the request does not exist in the system.
- RequestId
-
The request ID associated with the call responsible for the exception.
HTTP Status Code: 404
- ServiceFailureException
-
The service encountered an unexpected error.
- RequestId
-
The ID of the failed request.
HTTP Status Code: 500
- ServiceUnavailableException
-
The service is currently unavailable.
- RequestId
-
The request id associated with the call responsible for the exception.
- RetryAfterSeconds
-
The number of seconds the caller should wait before retrying.
HTTP Status Code: 503
- ThrottlingException
-
The number of customer requests exceeds the request rate limit.
- RequestId
-
The ID of the request that exceeded the throttling limit.
HTTP Status Code: 429
- UnauthorizedException
-
The user isn't authorized to request a resource.
- RequestId
-
The request id associated with the call responsible for the exception.
HTTP Status Code: 401
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: