Amazon Chime SDK Meetings

2022/08/04 - Amazon Chime SDK Meetings - 3 new3 updated api methods

Changes  Adds support for Tags on Amazon Chime SDK WebRTC sessions

TagResource (new) Link ¶

The resource that supports tags.

See also: AWS API Documentation

Request Syntax

client.tag_resource(
    ResourceARN='string',
    Tags=[
        {
            'Key': 'string',
            'Value': 'string'
        },
    ]
)
type ResourceARN:

string

param ResourceARN:

[REQUIRED]

The ARN of the resource.

type Tags:

list

param Tags:

[REQUIRED]

Lists the requested tags.

  • (dict) --

    A key-value pair that you define.

    • Key (string) -- [REQUIRED]

      The tag's key.

    • Value (string) -- [REQUIRED]

      The tag's value.

rtype:

dict

returns:

Response Syntax

{}

Response Structure

  • (dict) --

ListTagsForResource (new) Link ¶

Returns a list of the tags available for the specified resource.

See also: AWS API Documentation

Request Syntax

client.list_tags_for_resource(
    ResourceARN='string'
)
type ResourceARN:

string

param ResourceARN:

[REQUIRED]

The ARN of the resource.

rtype:

dict

returns:

Response Syntax

{
    'Tags': [
        {
            'Key': 'string',
            'Value': 'string'
        },
    ]
}

Response Structure

  • (dict) --

    • Tags (list) --

      The tags requested for the specified resource.

      • (dict) --

        A key-value pair that you define.

        • Key (string) --

          The tag's key.

        • Value (string) --

          The tag's value.

UntagResource (new) Link ¶

Removes the specified tags from the specified resources. When you specify a tag key, the action removes both that key and its associated value. The operation succeeds even if you attempt to remove tags from a resource that were already removed. Note the following:

  • To remove tags from a resource, you need the necessary permissions for the service that the resource belongs to as well as permissions for removing tags. For more information, see the documentation for the service whose resource you want to untag.

  • You can only tag resources that are located in the specified AWS Region for the calling AWS account.

Minimum permissions

In addition to the tag:UntagResources permission required by this operation, you must also have the remove tags permission defined by the service that created the resource. For example, to remove the tags from an Amazon EC2 instance using the UntagResources operation, you must have both of the following permissions:

tag:UntagResource

ChimeSDKMeetings:DeleteTags

See also: AWS API Documentation

Request Syntax

client.untag_resource(
    ResourceARN='string',
    TagKeys=[
        'string',
    ]
)
type ResourceARN:

string

param ResourceARN:

[REQUIRED]

The ARN of the resource that you're removing tags from.

type TagKeys:

list

param TagKeys:

[REQUIRED]

The tag keys being removed from the resources.

  • (string) --

rtype:

dict

returns:

Response Syntax

{}

Response Structure

  • (dict) --

CreateMeeting (updated) Link ¶
Changes (request, response)
Request
{'Tags': [{'Key': 'string', 'Value': 'string'}]}
Response
{'Meeting': {'MeetingArn': 'string'}}

Creates a new Amazon Chime SDK meeting in the specified media Region with no initial attendees. For more information about specifying media Regions, see Amazon Chime SDK Media Regions in the Amazon Chime Developer Guide. 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

Request Syntax

client.create_meeting(
    ClientRequestToken='string',
    MediaRegion='string',
    MeetingHostId='string',
    ExternalMeetingId='string',
    NotificationsConfiguration={
        'LambdaFunctionArn': 'string',
        'SnsTopicArn': 'string',
        'SqsQueueArn': 'string'
    },
    MeetingFeatures={
        'Audio': {
            'EchoReduction': 'AVAILABLE'|'UNAVAILABLE'
        }
    },
    PrimaryMeetingId='string',
    TenantIds=[
        'string',
    ],
    Tags=[
        {
            'Key': 'string',
            'Value': 'string'
        },
    ]
)
type ClientRequestToken:

string

param ClientRequestToken:

[REQUIRED]

The unique identifier for the client request. Use a different token for different meetings.

This field is autopopulated if not provided.

type MediaRegion:

string

param MediaRegion:

[REQUIRED]

The Region in which to create the meeting.

Available values: af-south-1, ap-northeast-1, ap-northeast-2, ap-south-1, ap-southeast-1, ap-southeast-2, ca-central-1, eu-central-1, eu-north-1, eu-south-1, eu-west-1, eu-west-2, eu-west-3, sa-east-1, us-east-1, us-east-2, us-west-1, us-west-2.

Available values in AWS GovCloud (US) Regions: us-gov-east-1, us-gov-west-1.

type MeetingHostId:

string

param MeetingHostId:

Reserved.

type ExternalMeetingId:

string

param ExternalMeetingId:

[REQUIRED]

The external meeting ID.

type NotificationsConfiguration:

dict

param NotificationsConfiguration:

The configuration for resource targets to receive notifications when meeting and attendee events occur.

  • LambdaFunctionArn (string) --

    The ARN of the AWS Lambda function in the notifications configuration.

  • SnsTopicArn (string) --

    The ARN of the SNS topic.

  • SqsQueueArn (string) --

    The ARN of the SQS queue.

type MeetingFeatures:

dict

param MeetingFeatures:

Lists the audio and video features enabled for a meeting, such as echo reduction.

  • Audio (dict) --

    The configuration settings for the audio features available to a meeting.

    • EchoReduction (string) --

      Makes echo reduction available to clients who connect to the meeting.

type PrimaryMeetingId:

string

param PrimaryMeetingId:

When specified, replicates the media from the primary meeting to the new meeting.

type TenantIds:

list

param TenantIds:

A consistent and opaque identifier, created and maintained by the builder to represent a segment of their users.

  • (string) --

type Tags:

list

param Tags:

Applies one or more tags to an Amazon Chime SDK meeting. Note the following:

  • Not all resources have tags. For a list of services with resources that support tagging using this operation, see Services that support the Resource Groups Tagging API. If the resource doesn't yet support this operation, the resource's service might support tagging using its own API operations. For more information, refer to the documentation for that service.

  • Each resource can have up to 50 tags. For other limits, see Tag Naming and Usage Conventions in the AWS General Reference.

  • You can only tag resources that are located in the specified AWS Region for the AWS account.

  • To add tags to a resource, you need the necessary permissions for the service that the resource belongs to as well as permissions for adding tags. For more information, see the documentation for each service.

Minimum permissions

In addition to the tag:TagResources ``permission required by this operation, you must also have the tagging permission defined by the service that created the resource. For example, to tag a ``ChimeSDKMeetings instance using the TagResources operation, you must have both of the following permissions:

tag:TagResources

ChimeSDKMeetings:CreateTags

  • (dict) --

    A key-value pair that you define.

    • Key (string) -- [REQUIRED]

      The tag's key.

    • Value (string) -- [REQUIRED]

      The tag's value.

rtype:

dict

returns:

Response Syntax

{
    'Meeting': {
        'MeetingId': 'string',
        'MeetingHostId': 'string',
        'ExternalMeetingId': 'string',
        'MediaRegion': 'string',
        'MediaPlacement': {
            'AudioHostUrl': 'string',
            'AudioFallbackUrl': 'string',
            'SignalingUrl': 'string',
            'TurnControlUrl': 'string',
            'ScreenDataUrl': 'string',
            'ScreenViewingUrl': 'string',
            'ScreenSharingUrl': 'string',
            'EventIngestionUrl': 'string'
        },
        'MeetingFeatures': {
            'Audio': {
                'EchoReduction': 'AVAILABLE'|'UNAVAILABLE'
            }
        },
        'PrimaryMeetingId': 'string',
        'TenantIds': [
            'string',
        ],
        'MeetingArn': 'string'
    }
}

Response Structure

  • (dict) --

    • Meeting (dict) --

      The meeting information, including the meeting ID and MediaPlacement.

      • MeetingId (string) --

        The Amazon Chime SDK meeting ID.

      • MeetingHostId (string) --

        Reserved.

      • ExternalMeetingId (string) --

        The external meeting ID.

      • MediaRegion (string) --

        The Region in which you create the meeting. Available values: af-south-1, ap-northeast-1, ap-northeast-2, ap-south-1, ap-southeast-1, ap-southeast-2, ca-central-1, eu-central-1, eu-north-1, eu-south-1, eu-west-1, eu-west-2, eu-west-3, sa-east-1, us-east-1, us-east-2, us-west-1, us-west-2.

        Available values in AWS GovCloud (US) Regions: us-gov-east-1, us-gov-west-1.

      • MediaPlacement (dict) --

        The media placement for the meeting.

        • AudioHostUrl (string) --

          The audio host URL.

        • AudioFallbackUrl (string) --

          The audio fallback URL.

        • SignalingUrl (string) --

          The signaling URL.

        • TurnControlUrl (string) --

          The turn control URL.

        • ScreenDataUrl (string) --

          The screen data URL.

        • ScreenViewingUrl (string) --

          The screen viewing URL.

        • ScreenSharingUrl (string) --

          The screen sharing URL.

        • EventIngestionUrl (string) --

          The event ingestion URL.

      • MeetingFeatures (dict) --

        The features available to a meeting, such as Amazon Voice Focus.

        • Audio (dict) --

          The configuration settings for the audio features available to a meeting.

          • EchoReduction (string) --

            Makes echo reduction available to clients who connect to the meeting.

      • PrimaryMeetingId (string) --

        When specified, replicates the media from the primary meeting to this meeting.

      • TenantIds (list) --

        Array of strings.

        • (string) --

      • MeetingArn (string) --

        The ARN of the meeting.

CreateMeetingWithAttendees (updated) Link ¶
Changes (request, response)
Request
{'Tags': [{'Key': 'string', 'Value': 'string'}]}
Response
{'Meeting': {'MeetingArn': 'string'}}

Creates a new Amazon Chime SDK meeting in the specified media Region, with attendees. For more information about specifying media Regions, see Amazon Chime SDK Media Regions in the Amazon Chime Developer Guide. 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

Request Syntax

client.create_meeting_with_attendees(
    ClientRequestToken='string',
    MediaRegion='string',
    MeetingHostId='string',
    ExternalMeetingId='string',
    MeetingFeatures={
        'Audio': {
            'EchoReduction': 'AVAILABLE'|'UNAVAILABLE'
        }
    },
    NotificationsConfiguration={
        'LambdaFunctionArn': 'string',
        'SnsTopicArn': 'string',
        'SqsQueueArn': 'string'
    },
    Attendees=[
        {
            'ExternalUserId': 'string',
            'Capabilities': {
                'Audio': 'SendReceive'|'Send'|'Receive'|'None',
                'Video': 'SendReceive'|'Send'|'Receive'|'None',
                'Content': 'SendReceive'|'Send'|'Receive'|'None'
            }
        },
    ],
    PrimaryMeetingId='string',
    TenantIds=[
        'string',
    ],
    Tags=[
        {
            'Key': 'string',
            'Value': 'string'
        },
    ]
)
type ClientRequestToken:

string

param ClientRequestToken:

[REQUIRED]

The unique identifier for the client request. Use a different token for different meetings.

This field is autopopulated if not provided.

type MediaRegion:

string

param MediaRegion:

[REQUIRED]

The Region in which to create the meeting.

Available values: af-south-1, ap-northeast-1, ap-northeast-2, ap-south-1, ap-southeast-1, ap-southeast-2, ca-central-1, eu-central-1, eu-north-1, eu-south-1, eu-west-1, eu-west-2, eu-west-3, sa-east-1, us-east-1, us-east-2, us-west-1, us-west-2.

Available values in AWS GovCloud (US) Regions: us-gov-east-1, us-gov-west-1.

type MeetingHostId:

string

param MeetingHostId:

Reserved.

type ExternalMeetingId:

string

param ExternalMeetingId:

[REQUIRED]

The external meeting ID.

type MeetingFeatures:

dict

param MeetingFeatures:

Lists the audio and video features enabled for a meeting, such as echo reduction.

  • Audio (dict) --

    The configuration settings for the audio features available to a meeting.

    • EchoReduction (string) --

      Makes echo reduction available to clients who connect to the meeting.

type NotificationsConfiguration:

dict

param NotificationsConfiguration:

The configuration for resource targets to receive notifications when meeting and attendee events occur.

  • LambdaFunctionArn (string) --

    The ARN of the AWS Lambda function in the notifications configuration.

  • SnsTopicArn (string) --

    The ARN of the SNS topic.

  • SqsQueueArn (string) --

    The ARN of the SQS queue.

type Attendees:

list

param Attendees:

[REQUIRED]

The attendee information, including attendees' IDs and join tokens.

  • (dict) --

    The Amazon Chime SDK attendee fields to create, used with the BatchCreateAttendee action.

    • ExternalUserId (string) -- [REQUIRED]

      The Amazon Chime SDK external user ID. An idempotency token. Links the attendee to an identity managed by a builder application.

    • Capabilities (dict) --

      A list of one or more capabilities.

      • Audio (string) -- [REQUIRED]

        The audio capability assigned to an attendee.

      • Video (string) -- [REQUIRED]

        The video capability assigned to an attendee.

      • Content (string) -- [REQUIRED]

        The content capability assigned to an attendee.

type PrimaryMeetingId:

string

param PrimaryMeetingId:

When specified, replicates the media from the primary meeting to the new meeting.

type TenantIds:

list

param TenantIds:

A consistent and opaque identifier, created and maintained by the builder to represent a segment of their users.

  • (string) --

type Tags:

list

param Tags:

The tags in the request.

  • (dict) --

    A key-value pair that you define.

    • Key (string) -- [REQUIRED]

      The tag's key.

    • Value (string) -- [REQUIRED]

      The tag's value.

rtype:

dict

returns:

Response Syntax

{
    'Meeting': {
        'MeetingId': 'string',
        'MeetingHostId': 'string',
        'ExternalMeetingId': 'string',
        'MediaRegion': 'string',
        'MediaPlacement': {
            'AudioHostUrl': 'string',
            'AudioFallbackUrl': 'string',
            'SignalingUrl': 'string',
            'TurnControlUrl': 'string',
            'ScreenDataUrl': 'string',
            'ScreenViewingUrl': 'string',
            'ScreenSharingUrl': 'string',
            'EventIngestionUrl': 'string'
        },
        'MeetingFeatures': {
            'Audio': {
                'EchoReduction': 'AVAILABLE'|'UNAVAILABLE'
            }
        },
        'PrimaryMeetingId': 'string',
        'TenantIds': [
            'string',
        ],
        'MeetingArn': 'string'
    },
    'Attendees': [
        {
            'ExternalUserId': 'string',
            'AttendeeId': 'string',
            'JoinToken': 'string',
            'Capabilities': {
                'Audio': 'SendReceive'|'Send'|'Receive'|'None',
                'Video': 'SendReceive'|'Send'|'Receive'|'None',
                'Content': 'SendReceive'|'Send'|'Receive'|'None'
            }
        },
    ],
    'Errors': [
        {
            'ExternalUserId': 'string',
            'ErrorCode': 'string',
            'ErrorMessage': 'string'
        },
    ]
}

Response Structure

  • (dict) --

    • Meeting (dict) --

      The meeting information, including the meeting ID and MediaPlacement.

      • MeetingId (string) --

        The Amazon Chime SDK meeting ID.

      • MeetingHostId (string) --

        Reserved.

      • ExternalMeetingId (string) --

        The external meeting ID.

      • MediaRegion (string) --

        The Region in which you create the meeting. Available values: af-south-1, ap-northeast-1, ap-northeast-2, ap-south-1, ap-southeast-1, ap-southeast-2, ca-central-1, eu-central-1, eu-north-1, eu-south-1, eu-west-1, eu-west-2, eu-west-3, sa-east-1, us-east-1, us-east-2, us-west-1, us-west-2.

        Available values in AWS GovCloud (US) Regions: us-gov-east-1, us-gov-west-1.

      • MediaPlacement (dict) --

        The media placement for the meeting.

        • AudioHostUrl (string) --

          The audio host URL.

        • AudioFallbackUrl (string) --

          The audio fallback URL.

        • SignalingUrl (string) --

          The signaling URL.

        • TurnControlUrl (string) --

          The turn control URL.

        • ScreenDataUrl (string) --

          The screen data URL.

        • ScreenViewingUrl (string) --

          The screen viewing URL.

        • ScreenSharingUrl (string) --

          The screen sharing URL.

        • EventIngestionUrl (string) --

          The event ingestion URL.

      • MeetingFeatures (dict) --

        The features available to a meeting, such as Amazon Voice Focus.

        • Audio (dict) --

          The configuration settings for the audio features available to a meeting.

          • EchoReduction (string) --

            Makes echo reduction available to clients who connect to the meeting.

      • PrimaryMeetingId (string) --

        When specified, replicates the media from the primary meeting to this meeting.

      • TenantIds (list) --

        Array of strings.

        • (string) --

      • MeetingArn (string) --

        The ARN of the meeting.

    • Attendees (list) --

      The attendee information, including attendees' IDs and join tokens.

      • (dict) --

        An Amazon Chime SDK meeting attendee. Includes a unique AttendeeId and JoinToken. The JoinToken allows a client to authenticate and join as the specified attendee. The JoinToken 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 (dict) --

          The capabilities assigned to an attendee: audio, video, or content.

          When using capabilities, be aware of these corner cases:

          • You can't set content capabilities to SendReceive or Receive unless you also set video capabilities to SendReceive or Receive. If you don't set the video capability to receive, the response will contain an HTTP 400 Bad Request status code. However, you can set your video capability to receive and you set your content capability to not receive.

          • When you change an audio capability from None or Receive to Send or SendReceive , and if the attendee left their microphone unmuted, audio will flow from the attendee to the other meeting participants.

          • When you change a video or content capability from None or Receive to Send or SendReceive , 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.

      • (dict) --

        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.

GetMeeting (updated) Link ¶
Changes (response)
{'Meeting': {'MeetingArn': 'string'}}

Gets the Amazon Chime SDK meeting details for the specified meeting ID. 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

Request Syntax

client.get_meeting(
    MeetingId='string'
)
type MeetingId:

string

param MeetingId:

[REQUIRED]

The Amazon Chime SDK meeting ID.

rtype:

dict

returns:

Response Syntax

{
    'Meeting': {
        'MeetingId': 'string',
        'MeetingHostId': 'string',
        'ExternalMeetingId': 'string',
        'MediaRegion': 'string',
        'MediaPlacement': {
            'AudioHostUrl': 'string',
            'AudioFallbackUrl': 'string',
            'SignalingUrl': 'string',
            'TurnControlUrl': 'string',
            'ScreenDataUrl': 'string',
            'ScreenViewingUrl': 'string',
            'ScreenSharingUrl': 'string',
            'EventIngestionUrl': 'string'
        },
        'MeetingFeatures': {
            'Audio': {
                'EchoReduction': 'AVAILABLE'|'UNAVAILABLE'
            }
        },
        'PrimaryMeetingId': 'string',
        'TenantIds': [
            'string',
        ],
        'MeetingArn': 'string'
    }
}

Response Structure

  • (dict) --

    • Meeting (dict) --

      The Amazon Chime SDK meeting information.

      • MeetingId (string) --

        The Amazon Chime SDK meeting ID.

      • MeetingHostId (string) --

        Reserved.

      • ExternalMeetingId (string) --

        The external meeting ID.

      • MediaRegion (string) --

        The Region in which you create the meeting. Available values: af-south-1, ap-northeast-1, ap-northeast-2, ap-south-1, ap-southeast-1, ap-southeast-2, ca-central-1, eu-central-1, eu-north-1, eu-south-1, eu-west-1, eu-west-2, eu-west-3, sa-east-1, us-east-1, us-east-2, us-west-1, us-west-2.

        Available values in AWS GovCloud (US) Regions: us-gov-east-1, us-gov-west-1.

      • MediaPlacement (dict) --

        The media placement for the meeting.

        • AudioHostUrl (string) --

          The audio host URL.

        • AudioFallbackUrl (string) --

          The audio fallback URL.

        • SignalingUrl (string) --

          The signaling URL.

        • TurnControlUrl (string) --

          The turn control URL.

        • ScreenDataUrl (string) --

          The screen data URL.

        • ScreenViewingUrl (string) --

          The screen viewing URL.

        • ScreenSharingUrl (string) --

          The screen sharing URL.

        • EventIngestionUrl (string) --

          The event ingestion URL.

      • MeetingFeatures (dict) --

        The features available to a meeting, such as Amazon Voice Focus.

        • Audio (dict) --

          The configuration settings for the audio features available to a meeting.

          • EchoReduction (string) --

            Makes echo reduction available to clients who connect to the meeting.

      • PrimaryMeetingId (string) --

        When specified, replicates the media from the primary meeting to this meeting.

      • TenantIds (list) --

        Array of strings.

        • (string) --

      • MeetingArn (string) --

        The ARN of the meeting.