
エントリーの編集

エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
DynamoDB基礎知識とboto3での簡単な使用方法 - Qiita
記事へのコメント1件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています

- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
DynamoDB基礎知識とboto3での簡単な使用方法 - Qiita
import boto3 import json from boto3.dynamodb.conditions import Key, Attr dynamodb = boto3.resourc... import boto3 import json from boto3.dynamodb.conditions import Key, Attr dynamodb = boto3.resource("dynamodb", region_name='ap-northeast-1') table = dynamodb.Table("EdgeTable") # Primary Key(SerialNumber + BuildingId)を使用した検索 def get_item(SerialNumber, BuildingId): response = table.get_item( Key={ 'SerialNumber': SerialNumber, 'BuildingId': BuildingId } ) return response['Item'] # Partition Key(Ser