def METHOD_NAME(cls, conn_str,  # type: str
        **kwargs  # type: Any
    ):  # type: (...) -> SmsClient
    """Create SmsClient from a Connection String.
    :param str conn_str:
        A connection string to an Azure Communication Service resource.
    :returns: Instance of SmsClient.
    :rtype: ~azure.communication.SmsClient
    .. admonition:: Example:
        .. literalinclude:: ../samples/sms_sample.py
            :start-after: [START auth_from_connection_string]
            :end-before: [END auth_from_connection_string]
            :language: python
            :dedent: 8
            :caption: Creating the SmsClient from a connection string.
    """
    endpoint, access_key = parse_connection_str(conn_str)
    return cls(endpoint, access_key, **kwargs)