ChimeSDKMessaging / Client / get_messaging_session_endpoint

get_messaging_session_endpoint

ChimeSDKMessaging.Client.get_messaging_session_endpoint(**kwargs)

The details of the endpoint for the messaging session.

See also: AWS API Documentation

Request Syntax

response = client.get_messaging_session_endpoint(
    NetworkType='IPV4_ONLY'|'DUAL_STACK'
)
Parameters:

NetworkType (string) – The type of network for the messaging session endpoint. Either IPv4 only or dual-stack (IPv4 and IPv6).

Return type:

dict

Returns:

Response Syntax

{
    'Endpoint': {
        'Url': 'string'
    }
}

Response Structure

  • (dict) –

    • Endpoint (dict) –

      The endpoint returned in the response.

      • Url (string) –

        The endpoint to which you establish a websocket connection.

Exceptions