def get_service_name(wrapped, instance, args, kwargs):
    """Return the AWS service name the client is communicating with."""
    if 'serviceAbbreviation' not in instance._service_model.metadata:
        return instance._service_model.metadata['endpointPrefix']
    return instance._service_model.metadata['serviceAbbreviation']
def get_service_name ( wrapped , instance , args , kwargs ) : if 'serviceAbbreviation' not in instance . _service_model . metadata : return instance . _service_model . metadata [ 'endpointPrefix' ] return instance . _service_model . metadata [ 'serviceAbbreviation' ]
Return the AWS service name the client is communicating with.