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 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.
Synopsis
- data CreateAttendee = CreateAttendee' {}
- newCreateAttendee :: Text -> Text -> CreateAttendee
- createAttendee_tags :: Lens' CreateAttendee (Maybe (NonEmpty Tag))
- createAttendee_meetingId :: Lens' CreateAttendee Text
- createAttendee_externalUserId :: Lens' CreateAttendee Text
- data CreateAttendeeResponse = CreateAttendeeResponse' {
- attendee :: Maybe Attendee
- httpStatus :: Int
- newCreateAttendeeResponse :: Int -> CreateAttendeeResponse
- createAttendeeResponse_attendee :: Lens' CreateAttendeeResponse (Maybe Attendee)
- createAttendeeResponse_httpStatus :: Lens' CreateAttendeeResponse Int
Creating a Request
data CreateAttendee Source #
See: newCreateAttendee
smart constructor.
Instances
Create a value of CreateAttendee
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:tags:CreateAttendee'
, createAttendee_tags
- The tag key-value pairs.
$sel:meetingId:CreateAttendee'
, createAttendee_meetingId
- The Amazon Chime SDK meeting ID.
$sel:externalUserId:CreateAttendee'
, createAttendee_externalUserId
- The Amazon Chime SDK external user ID. An idempotency token. Links the
attendee to an identity managed by a builder application.
Request Lenses
createAttendee_tags :: Lens' CreateAttendee (Maybe (NonEmpty Tag)) Source #
The tag key-value pairs.
createAttendee_meetingId :: Lens' CreateAttendee Text Source #
The Amazon Chime SDK meeting ID.
createAttendee_externalUserId :: Lens' CreateAttendee Text Source #
The Amazon Chime SDK external user ID. An idempotency token. Links the attendee to an identity managed by a builder application.
Destructuring the Response
data CreateAttendeeResponse Source #
See: newCreateAttendeeResponse
smart constructor.
CreateAttendeeResponse' | |
|
Instances
newCreateAttendeeResponse Source #
Create a value of CreateAttendeeResponse
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:attendee:CreateAttendeeResponse'
, createAttendeeResponse_attendee
- The attendee information, including attendee ID and join token.
$sel:httpStatus:CreateAttendeeResponse'
, createAttendeeResponse_httpStatus
- The response's http status code.
Response Lenses
createAttendeeResponse_attendee :: Lens' CreateAttendeeResponse (Maybe Attendee) Source #
The attendee information, including attendee ID and join token.
createAttendeeResponse_httpStatus :: Lens' CreateAttendeeResponse Int Source #
The response's http status code.