セカンダリインデックスを追加させたいのですが、下記のエラーがでて追加に失敗してしまいます。
何か対策等ご存知であれば教えて頂ければと思います。
$ Invalid KeySchema: Some index key attribute have no definition
params = { table_name: "xxx_table_name", global_secondary_index_updates: { create: { index_name: "xxx_index_name", key_schema: { attribute_name: "xxx_attribute_name"; key_type: "RANGE", }, projection: { projection_type: :all, }, provisioned_throughput: { read_capacity_units: 1, write_capacity_units: 1, }, }, } Dynamoid.adapter.client.update_table params
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。