Learn R Programming

paws.database (version 0.1.12)

simpledb_get_attributes: Returns all of the attributes associated with the specified item

Description

Returns all of the attributes associated with the specified item. Optionally, the attributes returned can be limited to one or more attributes by specifying an attribute name parameter.

If the item does not exist on the replica that was accessed for this operation, an empty set is returned. The system does not return an error as it cannot guarantee the item does not exist on other replicas.

If GetAttributes is called without being passed any attribute names, all the attributes for the item are returned.

Usage

simpledb_get_attributes(DomainName, ItemName, AttributeNames,
  ConsistentRead)

Value

A list with the following syntax:

list(
  Attributes = list(
    list(
      Name = "string",
      AlternateNameEncoding = "string",
      Value = "string",
      AlternateValueEncoding = "string"
    )
  )
)

Arguments

DomainName

[required] The name of the domain in which to perform the operation.

ItemName

[required] The name of the item.

AttributeNames

The names of the attributes.

ConsistentRead

Determines whether or not strong consistency should be enforced when data is read from SimpleDB. If true, any data previously written to SimpleDB will be returned. Otherwise, results will be consistent eventually, and the client may not see data that was written immediately before your read.

Request syntax

svc$get_attributes(
  DomainName = "string",
  ItemName = "string",
  AttributeNames = list(
    "string"
  ),
  ConsistentRead = TRUE|FALSE
)