Container for the parameters to the BatchGetItem operation.

Retrieves the attributes for multiple items from multiple tables using their primary keys.

The maximum number of item attributes that can be retrieved for a single operation is 100. Also, the number of items retrieved is constrained by a 1 MB the size limit. If the response size limit is exceeded or a partial result is returned due to an internal processing failure, Amazon DynamoDB returns an UnprocessedKeys value so you can retry the operation starting with the next item to get.

Amazon DynamoDB automatically adjusts the number of items returned per page to enforce this limit. For example, even if you ask to retrieve 100 items, but each individual item is 50k in size, the system returns 20 items and an appropriate UnprocessedKeys value so you can get the next page of results. If necessary, your application needs its own logic to assemble the pages of results into one set.

Namespace: Amazon.DynamoDB.Model
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public class BatchGetItemRequest : AmazonWebServiceRequest
Public Class BatchGetItemRequest _
	Inherits AmazonWebServiceRequest
public ref class BatchGetItemRequest : public AmazonWebServiceRequest

Members

            
 All Members  Constructors   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
BatchGetItemRequest()()()()
Initializes a new instance of the BatchGetItemRequest class
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
RequestItems
A map of the table name and corresponding items to get by primary key. While requesting items, each table name can be invoked only once per operation.

Constraints:

Length
1 - 100

ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
WithRequestItems(array<KeyValuePair<(Of <<'(String, KeysAndAttributes>)>>)>[]()[][])
Adds the KeyValuePairs to the RequestItems dictionary.

Inheritance Hierarchy

System..::..Object
  Amazon.Runtime..::..AmazonWebServiceRequest
    Amazon.DynamoDB.Model..::..BatchGetItemRequest

See Also