# Copyright 2011-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). You # may not use this file except in compliance with the License. A copy of # the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "license" file accompanying this file. This file is # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF # ANY KIND, either express or implied. See the License for the specific # language governing permissions and limitations under the License. --- :operations: - :name: BatchGetItem :method: :batch_get_item :inputs: RequestItems: - :map: :key: - :string :value: - :structure: Keys: - :list: - :structure: HashKeyElement: - :structure: S: - :string N: - :string SS: - :list: - :string NS: - :list: - :string - :required RangeKeyElement: - :structure: S: - :string N: - :string SS: - :list: - :string NS: - :list: - :string - :required AttributesToGet: - :list: - :string - :required - :name: BatchWriteItem :method: :batch_write_item :inputs: RequestItems: - :map: :key: - :string :value: - :list: - :structure: PutRequest: - :structure: Item: - :map: :key: - :string :value: - :structure: S: - :string N: - :string SS: - :list: - :string NS: - :list: - :string - :required DeleteRequest: - :structure: Key: - :structure: HashKeyElement: - :structure: S: - :string N: - :string SS: - :list: - :string NS: - :list: - :string - :required RangeKeyElement: - :structure: S: - :string N: - :string SS: - :list: - :string NS: - :list: - :string - :required - :required - :name: CreateTable :method: :create_table :inputs: TableName: - :string - :required KeySchema: - :structure: HashKeyElement: - :structure: AttributeName: - :string - :required AttributeType: - :string - :required - :required RangeKeyElement: - :structure: AttributeName: - :string - :required AttributeType: - :string - :required - :required ProvisionedThroughput: - :structure: ReadCapacityUnits: - :long - :required WriteCapacityUnits: - :long - :required - :required - :name: DeleteItem :method: :delete_item :inputs: TableName: - :string - :required Key: - :structure: HashKeyElement: - :structure: S: - :string N: - :string SS: - :list: - :string NS: - :list: - :string - :required RangeKeyElement: - :structure: S: - :string N: - :string SS: - :list: - :string NS: - :list: - :string - :required Expected: - :map: :key: - :string :value: - :structure: Value: - :structure: S: - :string N: - :string SS: - :list: - :string NS: - :list: - :string Exists: - :boolean ReturnValues: - :string - :name: DeleteTable :method: :delete_table :inputs: TableName: - :string - :required - :name: DescribeTable :method: :describe_table :inputs: TableName: - :string - :required - :name: GetItem :method: :get_item :inputs: TableName: - :string - :required Key: - :structure: HashKeyElement: - :structure: S: - :string N: - :string SS: - :list: - :string NS: - :list: - :string - :required RangeKeyElement: - :structure: S: - :string N: - :string SS: - :list: - :string NS: - :list: - :string - :required AttributesToGet: - :list: - :string ConsistentRead: - :boolean - :name: ListTables :method: :list_tables :inputs: ExclusiveStartTableName: - :string Limit: - :integer - :name: PutItem :method: :put_item :inputs: TableName: - :string - :required Item: - :map: :key: - :string :value: - :structure: S: - :string N: - :string SS: - :list: - :string NS: - :list: - :string - :required Expected: - :map: :key: - :string :value: - :structure: Value: - :structure: S: - :string N: - :string SS: - :list: - :string NS: - :list: - :string Exists: - :boolean ReturnValues: - :string - :name: Query :method: :query :inputs: TableName: - :string - :required AttributesToGet: - :list: - :string Limit: - :integer ConsistentRead: - :boolean Count: - :boolean HashKeyValue: - :structure: S: - :string N: - :string SS: - :list: - :string NS: - :list: - :string - :required RangeKeyCondition: - :structure: AttributeValueList: - :list: - :structure: S: - :string N: - :string SS: - :list: - :string NS: - :list: - :string ComparisonOperator: - :string - :required ScanIndexForward: - :boolean ExclusiveStartKey: - :structure: HashKeyElement: - :structure: S: - :string N: - :string SS: - :list: - :string NS: - :list: - :string - :required RangeKeyElement: - :structure: S: - :string N: - :string SS: - :list: - :string NS: - :list: - :string - :name: Scan :method: :scan :inputs: TableName: - :string - :required AttributesToGet: - :list: - :string Limit: - :integer Count: - :boolean ScanFilter: - :map: :key: - :string :value: - :structure: AttributeValueList: - :list: - :structure: S: - :string N: - :string SS: - :list: - :string NS: - :list: - :string ComparisonOperator: - :string - :required ExclusiveStartKey: - :structure: HashKeyElement: - :structure: S: - :string N: - :string SS: - :list: - :string NS: - :list: - :string - :required RangeKeyElement: - :structure: S: - :string N: - :string SS: - :list: - :string NS: - :list: - :string - :name: UpdateItem :method: :update_item :inputs: TableName: - :string - :required Key: - :structure: HashKeyElement: - :structure: S: - :string N: - :string SS: - :list: - :string NS: - :list: - :string - :required RangeKeyElement: - :structure: S: - :string N: - :string SS: - :list: - :string NS: - :list: - :string - :required AttributeUpdates: - :map: :key: - :string :value: - :structure: Value: - :structure: S: - :string N: - :string SS: - :list: - :string NS: - :list: - :string Action: - :string - :required Expected: - :map: :key: - :string :value: - :structure: Value: - :structure: S: - :string N: - :string SS: - :list: - :string NS: - :list: - :string Exists: - :boolean ReturnValues: - :string - :name: UpdateTable :method: :update_table :inputs: TableName: - :string - :required ProvisionedThroughput: - :structure: ReadCapacityUnits: - :long - :required WriteCapacityUnits: - :long - :required - :required