[ aws . chime-sdk-meetings ]
Creates up to 100 attendees 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 .
See also: AWS API Documentation
See ‘aws help’ for descriptions of global parameters.
batch-create-attendee
--meeting-id <value>
--attendees <value>
[--cli-input-json | --cli-input-yaml]
[--generate-cli-skeleton <value>]
--meeting-id
(string)
The Amazon Chime SDK ID of the meeting to which you’re adding attendees.
--attendees
(list)
The attendee information, including attendees’ IDs and join tokens.
(structure)
The Amazon Chime SDK attendee fields to create, used with the BatchCreateAttendee action.
ExternalUserId -> (string)
The Amazon Chime SDK external user ID. An idempotency token. Links the attendee to an identity managed by a builder application.
Capabilities -> (structure)
A list of one or more capabilities.
Audio -> (string)
The audio capability assigned to an attendee.
Video -> (string)
The video capability assigned to an attendee.
Content -> (string)
The content capability assigned to an attendee.
Shorthand Syntax:
ExternalUserId=string,Capabilities={Audio=string,Video=string,Content=string} ...
JSON Syntax:
[
{
"ExternalUserId": "string",
"Capabilities": {
"Audio": "SendReceive"|"Send"|"Receive"|"None",
"Video": "SendReceive"|"Send"|"Receive"|"None",
"Content": "SendReceive"|"Send"|"Receive"|"None"
}
}
...
]
--cli-input-json
| --cli-input-yaml
(string)
Reads arguments from the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton
. If other arguments are provided on the command line, those values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally. This may not be specified along with --cli-input-yaml
.
--generate-cli-skeleton
(string)
Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input
, prints a sample input JSON that can be used as an argument for --cli-input-json
. Similarly, if provided yaml-input
it will print a sample input YAML that can be used with --cli-input-yaml
. If provided with the value output
, it validates the command inputs and returns a sample output JSON for that command. The generated JSON skeleton is not stable between versions of the AWS CLI and there are no backwards compatibility guarantees in the JSON skeleton generated.
See ‘aws help’ for descriptions of global parameters.
Attendees -> (list)
The attendee information, including attendees’ IDs and join tokens.
(structure)
An Amazon Chime SDK meeting attendee. Includes a unique
AttendeeId
andJoinToken
. TheJoinToken
allows a client to authenticate and join as the specified attendee. TheJoinToken
expires when the meeting ends, or when DeleteAttendee is called. After that, the attendee is unable to join the meeting.We recommend securely transferring each
JoinToken
from your server application to the client so that no other client has access to the token except for the one authorized to represent the attendee.ExternalUserId -> (string)
The Amazon Chime SDK external user ID. An idempotency token. Links the attendee to an identity managed by a builder application.
AttendeeId -> (string)
The Amazon Chime SDK attendee ID.
JoinToken -> (string)
The join token used by the Amazon Chime SDK attendee.
Capabilities -> (structure)
The capabilities assigned to an attendee: audio, video, or content.
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 .When using capabilities, be aware of these corner cases:
You can’t set
content
capabilities toSendReceive
orReceive
unless you also setvideo
capabilities toSendReceive
orReceive
. If you don’t set thevideo
capability to receive, the response will contain an HTTP 400 Bad Request status code. However, you can set yourvideo
capability to receive and you set yourcontent
capability to not receive.When you change an
audio
capability fromNone
orReceive
toSend
orSendReceive
, and if the attendee left their microphone unmuted, audio will flow from the attendee to the other meeting participants.When you change a
video
orcontent
capability fromNone
orReceive
toSend
orSendReceive
, and if the attendee turned on their video or content streams, remote attendess can receive those streams, but only after media renegotiation between the client and the Amazon Chime back-end server.Audio -> (string)
The audio capability assigned to an attendee.
Video -> (string)
The video capability assigned to an attendee.
Content -> (string)
The content capability assigned to an attendee.
Errors -> (list)
If the action fails for one or more of the attendees in the request, a list of the attendees is returned, along with error codes and error messages.
(structure)
The list of errors returned when errors are encountered during the BatchCreateAttendee and CreateAttendee actions. This includes external user IDs, error codes, and error messages.
ExternalUserId -> (string)
The Amazon Chime SDK external user ID. An idempotency token. Links the attendee to an identity managed by a builder application.
ErrorCode -> (string)
The error code.
ErrorMessage -> (string)
The error message.