Use this API to fetch tmtrafficpolicy resource of given name .
514510
public static tmtrafficpolicy get(nitro_service service, String name) throws Exception{
		tmtrafficpolicy obj = new tmtrafficpolicy();
		obj.set_name(name);
		tmtrafficpolicy response = (tmtrafficpolicy) obj.get_resource(service);
		return response;
	}
134187
def get_api_gateway_resource(name):
    """"""
    client = boto3.client('apigateway', region_name=PRIMARY_REGION)
    matches = [x for x in client.get_rest_apis().get('items', list())
               if x['name'] == API_GATEWAY]
    match = matches.pop()
    resources = client.get_resources(restApiId=match.get('id'))
    resource_id = None
    for item in resources.get('items', list()):
        if item.get('pathPart', '/') != name:
            continue
        resource_id = item['id']
    return resource_id
1026796
def fetch_path(self, name):
        

        with codecs.open(self.lookup_path(name), encoding='utf-8') as fd:
            return fd.read()
327981
public static vpntrafficpolicy get(nitro_service service, String name) throws Exception{
		vpntrafficpolicy obj = new vpntrafficpolicy();
		obj.set_name(name);
		vpntrafficpolicy response = (vpntrafficpolicy) obj.get_resource(service);
		return response;
	}
70143
public static tunneltrafficpolicy_tunnelglobal_binding[] get(nitro_service service, String name) throws Exception{
		tunneltrafficpolicy_tunnelglobal_binding obj = new tunneltrafficpolicy_tunnelglobal_binding();
		obj.set_name(name);
		tunneltrafficpolicy_tunnelglobal_binding response[] = (tunneltrafficpolicy_tunnelglobal_binding[]) obj.get_resources(service);
		return response;
	}
851891
public static fis get(nitro_service service, String name) throws Exception{
		fis obj = new fis();
		obj.set_name(name);
		fis response = (fis) obj.get_resource(service);
		return response;
	}
753095
public static vpnvserver_vpntrafficpolicy_binding[] get(nitro_service service, String name) throws Exception{
		vpnvserver_vpntrafficpolicy_binding obj = new vpnvserver_vpntrafficpolicy_binding();
		obj.set_name(name);
		vpnvserver_vpntrafficpolicy_binding response[] = (vpnvserver_vpntrafficpolicy_binding[]) obj.get_resources(service);
		return response;
	}
176326
public static vpntrafficpolicy_vpnglobal_binding[] get(nitro_service service, String name) throws Exception{
		vpntrafficpolicy_vpnglobal_binding obj = new vpntrafficpolicy_vpnglobal_binding();
		obj.set_name(name);
		vpntrafficpolicy_vpnglobal_binding response[] = (vpntrafficpolicy_vpnglobal_binding[]) obj.get_resources(service);
		return response;
	}
111082
public static crvserver_cmppolicy_binding[] get(nitro_service service, String name) throws Exception{
		crvserver_cmppolicy_binding obj = new crvserver_cmppolicy_binding();
		obj.set_name(name);
		crvserver_cmppolicy_binding response[] = (crvserver_cmppolicy_binding[]) obj.get_resources(service);
		return response;
	}
221063
public static tmtrafficpolicy_lbvserver_binding[] get(nitro_service service, String name) throws Exception{
		tmtrafficpolicy_lbvserver_binding obj = new tmtrafficpolicy_lbvserver_binding();
		obj.set_name(name);
		tmtrafficpolicy_lbvserver_binding response[] = (tmtrafficpolicy_lbvserver_binding[]) obj.get_resources(service);
		return response;
	}
801156
def get_resource(self, path):
        """"""
        response = self._http_request(path)
        try:
            return response.json()
        except ValueError:
            raise exception.ServiceException("Invalid service response.")
722619
public static tmsessionaction get(nitro_service service, String name) throws Exception{
		tmsessionaction obj = new tmsessionaction();
		obj.set_name(name);
		tmsessionaction response = (tmsessionaction) obj.get_resource(service);
		return response;
	}
684244
public static techsupport get(nitro_service service) throws Exception{
		techsupport obj = new techsupport();
		techsupport[] response = (techsupport[])obj.get_resources(service);
		return response[0];
	}
664342
public static authenticationldappolicy_binding get(nitro_service service, String name) throws Exception{
		authenticationldappolicy_binding obj = new authenticationldappolicy_binding();
		obj.set_name(name);
		authenticationldappolicy_binding response = (authenticationldappolicy_binding) obj.get_resource(service);
		return response;
	}
832023
public static authenticationauthnprofile get(nitro_service service, String name) throws Exception{
		authenticationauthnprofile obj = new authenticationauthnprofile();
		obj.set_name(name);
		authenticationauthnprofile response = (authenticationauthnprofile) obj.get_resource(service);
		return response;
	}
290663
function fetchResource(t, callback) {
  if (isContinuation(t)) {
    convertContinuation(t, callback);
  } else {
    fetchViaHttp(t, callback);
  }
}
1351039
public static vpnglobal_vpntrafficpolicy_binding[] get(nitro_service service) throws Exception{
		vpnglobal_vpntrafficpolicy_binding obj = new vpnglobal_vpntrafficpolicy_binding();
		vpnglobal_vpntrafficpolicy_binding response[] = (vpnglobal_vpntrafficpolicy_binding[]) obj.get_resources(service);
		return response;
	}