Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Creates up to 100 new 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.
Synopsis
- data BatchCreateAttendee = BatchCreateAttendee' {}
- newBatchCreateAttendee :: Text -> BatchCreateAttendee
- batchCreateAttendee_meetingId :: Lens' BatchCreateAttendee Text
- batchCreateAttendee_attendees :: Lens' BatchCreateAttendee [CreateAttendeeRequestItem]
- data BatchCreateAttendeeResponse = BatchCreateAttendeeResponse' {
- attendees :: Maybe [Attendee]
- errors :: Maybe [CreateAttendeeError]
- httpStatus :: Int
- newBatchCreateAttendeeResponse :: Int -> BatchCreateAttendeeResponse
- batchCreateAttendeeResponse_attendees :: Lens' BatchCreateAttendeeResponse (Maybe [Attendee])
- batchCreateAttendeeResponse_errors :: Lens' BatchCreateAttendeeResponse (Maybe [CreateAttendeeError])
- batchCreateAttendeeResponse_httpStatus :: Lens' BatchCreateAttendeeResponse Int
Creating a Request
data BatchCreateAttendee Source #
See: newBatchCreateAttendee
smart constructor.
BatchCreateAttendee' | |
|
Instances
newBatchCreateAttendee Source #
Create a value of BatchCreateAttendee
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:meetingId:BatchCreateAttendee'
, batchCreateAttendee_meetingId
- The Amazon Chime SDK meeting ID.
$sel:attendees:BatchCreateAttendee'
, batchCreateAttendee_attendees
- The request containing the attendees to create.
Request Lenses
batchCreateAttendee_meetingId :: Lens' BatchCreateAttendee Text Source #
The Amazon Chime SDK meeting ID.
batchCreateAttendee_attendees :: Lens' BatchCreateAttendee [CreateAttendeeRequestItem] Source #
The request containing the attendees to create.
Destructuring the Response
data BatchCreateAttendeeResponse Source #
See: newBatchCreateAttendeeResponse
smart constructor.
BatchCreateAttendeeResponse' | |
|
Instances
newBatchCreateAttendeeResponse Source #
Create a value of BatchCreateAttendeeResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:attendees:BatchCreateAttendee'
, batchCreateAttendeeResponse_attendees
- The attendee information, including attendees IDs and join tokens.
$sel:errors:BatchCreateAttendeeResponse'
, batchCreateAttendeeResponse_errors
- 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.
$sel:httpStatus:BatchCreateAttendeeResponse'
, batchCreateAttendeeResponse_httpStatus
- The response's http status code.
Response Lenses
batchCreateAttendeeResponse_attendees :: Lens' BatchCreateAttendeeResponse (Maybe [Attendee]) Source #
The attendee information, including attendees IDs and join tokens.
batchCreateAttendeeResponse_errors :: Lens' BatchCreateAttendeeResponse (Maybe [CreateAttendeeError]) Source #
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.
batchCreateAttendeeResponse_httpStatus :: Lens' BatchCreateAttendeeResponse Int Source #
The response's http status code.