'Get the service model for the service.'

def get_service_model(self, service, api_version=None):

    with mock.patch('botocore.loaders.Loader.list_available_services', return_value=[service]):
        return ServiceModel(self.loader.load_service_model(service, type_name='service-2', api_version=api_version), service_name=service)
