Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

Classic APIs

Pragya Keshap answered on February 23, 2023 Popularity 1/10 Helpfulness 1/10

Contents


More Related Answers

  • free sample api
  • what is an api
  • free apis
  • new apis
  • API First
  • what is an api
  • what is an api endpoint
  • who can use web API
  • options api
  • When should you use a REST API?
  • key characteristics of rest api
  • nesjs rest api
  • nesjs rest api
  • nesjs rest api
  • How to make an API Highly available
  • designing APIs in functional way
  • Adding new APIs
  • Designing APIs with OAS
  • Learning new API definitions
  • Implementing new APIs
  • Composite API implementation
  • Advanced REST API Features
  • Postings API
  • Other APIs
  • posting api resources
  • API Versions
  • Efficient API development#
  • API Design
  • API Types

  • Classic APIs

    0

    Creating data

    PutItem – Writes a single item to a table. You must specify the primary key attributes, but you don't have to specify other attributes.

    BatchWriteItem – Writes up to 25 items to a table. This is more efficient than calling PutItem multiple times because your application only needs a single network round trip to write the items. You can also use BatchWriteItem for deleting multiple items from one or more tables.

    Reading data

    GetItem – Retrieves a single item from a table. You must specify the primary key for the item that you want. You can retrieve the entire item, or just a subset of its attributes.

    BatchGetItem – Retrieves up to 100 items from one or more tables. This is more efficient than calling GetItem multiple times because your application only needs a single network round trip to read the items.

    Query – Retrieves all items that have a specific partition key. You must specify the partition key value. You can retrieve entire items, or just a subset of their attributes. Optionally, you can apply a condition to the sort key values so that you only retrieve a subset of the data that has the same partition key. You can use this operation on a table, provided that the table has both a partition key and a sort key. You can also use this operation on an index, provided that the index has both a partition key and a sort key.

    Scan – Retrieves all items in the specified table or index. You can retrieve entire items, or just a subset of their attributes. Optionally, you can apply a filtering condition to return only the values that you are interested in and discard the rest.

    Updating data

    UpdateItem – Modifies one or more attributes in an item. You must specify the primary key for the item that you want to modify. You can add new attributes and modify or remove existing attributes. You can also perform conditional updates, so that the update is only successful when a user-defined condition is met. Optionally, you can implement an atomic counter, which increments or decrements a numeric attribute without interfering with other write requests.

    Deleting data

    DeleteItem – Deletes a single item from a table. You must specify the primary key for the item that you want to delete.

    BatchWriteItem – Deletes up to 25 items from one or more tables. This is more efficient than calling DeleteItem multiple times because your application only needs a single network round trip to delete the items. You can also use BatchWriteItem for adding multiple items to one or more tables.

    Popularity 1/10 Helpfulness 1/10 Language whatever
    Source: Grepper
    Tags: whatever
    Link to this answer
    Share Copy Link
    Contributed on Feb 23 2023
    Pragya Keshap
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.