func (delete_item *DeleteItem) EndpointReqWithConf(c *conf.AWS_Conf) ([]byte, int, error) { if delete_item == nil { return nil, 0, errors.New("delete_item.(DeleteItem)EndpointReqWithConf: receiver is nil") } if !conf.IsValid(c) { return nil, 0, errors.New("delete_item.EndpointReqWithConf: c is not valid") } // returns resp_body,code,err reqJSON, json_err := json.Marshal(delete_item) if json_err != nil { return nil, 0, json_err } return authreq.RetryReqJSON_V4WithConf(reqJSON, DELETEITEM_ENDPOINT, c) }
func (query *Query) EndpointReqWithConf(c *conf.AWS_Conf) ([]byte, int, error) { if query == nil { return nil, 0, errors.New("query.(Query)EndpointReqWithConf: receiver is nil") } if !conf.IsValid(c) { return nil, 0, errors.New("query.EndpointReqWithConf: c is not valid") } // returns resp_body,code,err reqJSON, json_err := json.Marshal(query) if json_err != nil { return nil, 0, json_err } return authreq.RetryReqJSON_V4WithConf(reqJSON, QUERY_ENDPOINT, c) }
func (list_tables *ListTables) EndpointReqWithConf(c *conf.AWS_Conf) ([]byte, int, error) { if list_tables == nil { return nil, 0, errors.New("list_tables.(ListTables)EndpointReqWithConf: receiver is nil") } if !conf.IsValid(c) { return nil, 0, errors.New("list_tables.EndpointReqWithConf: c is not valid") } // returns resp_body,code,err reqJSON, json_err := json.Marshal(list_tables) if json_err != nil { return nil, 0, json_err } return authreq.RetryReqJSON_V4WithConf(reqJSON, LISTTABLE_ENDPOINT, c) }
func (describe_table *DescribeTable) EndpointReqWithConf(c *conf.AWS_Conf) ([]byte, int, error) { if describe_table == nil { return nil, 0, errors.New("describe_table.(DescribeTable)EndpointReqWithConf: receiver is nil") } if !conf.IsValid(c) { return nil, 0, errors.New("describe_table.EndpointReqWithConf: c is not valid") } // returns resp_body,code,err reqJSON, json_err := json.Marshal(describe_table) if json_err != nil { return nil, 0, json_err } return authreq.RetryReqJSON_V4WithConf(reqJSON, DESCTABLE_ENDPOINT, c) }
func (batch_write_item *BatchWriteItem) EndpointReqWithConf(c *conf.AWS_Conf) ([]byte, int, error) { if batch_write_item == nil { return nil, 0, errors.New("batch_write_item.(BatchWriteItem)EndpointReqWithConf: receiver is nil") } if !conf.IsValid(c) { return nil, 0, errors.New("batch_write_item.EndpointReqWithConf: c is not valid") } // returns resp_body,code,err reqJSON, json_err := json.Marshal(batch_write_item) if json_err != nil { return nil, 0, json_err } return authreq.RetryReqJSON_V4WithConf(reqJSON, BATCHWRITE_ENDPOINT, c) }
func (scan *Scan) EndpointReqWithConf(c *conf.AWS_Conf) ([]byte, int, error) { if scan == nil { return nil, 0, errors.New("scan.(Scan)EndpointReqWithConf: receiver is nil") } if !conf.IsValid(c) { return nil, 0, errors.New("scan.EndpointReqWithConf: c is not valid") } // returns resp_body,code,err reqJSON, json_err := json.Marshal(scan) if json_err != nil { return nil, 0, json_err } return authreq.RetryReqJSON_V4WithConf(reqJSON, SCAN_ENDPOINT, c) }