Examples:
Request syntax example with placeholder values
table.update({
attribute_definitions: [
{
attribute_name: "KeySchemaAttributeName", attribute_type: "S", },
],
billing_mode: "PROVISIONED", provisioned_throughput: {
read_capacity_units: 1, write_capacity_units: 1, },
global_secondary_index_updates: [
{
update: {
index_name: "IndexName", provisioned_throughput: { read_capacity_units: 1, write_capacity_units: 1, },
},
create: {
index_name: "IndexName", key_schema: [ {
attribute_name: "KeySchemaAttributeName", key_type: "HASH", },
],
projection: { projection_type: "ALL", non_key_attributes: ["NonKeyAttributeName"],
},
provisioned_throughput: {
read_capacity_units: 1, write_capacity_units: 1, },
},
delete: {
index_name: "IndexName", },
},
],
stream_specification: {
stream_enabled: false, stream_view_type: "NEW_IMAGE", },
sse_specification: {
enabled: false,
sse_type: "AES256", kms_master_key_id: "KMSMasterKeyId",
},
replica_updates: [
{
create: {
region_name: "RegionName", kms_master_key_id: "KMSMasterKeyId",
provisioned_throughput_override: {
read_capacity_units: 1,
},
global_secondary_indexes: [
{
index_name: "IndexName", provisioned_throughput_override: {
read_capacity_units: 1,
},
},
],
},
update: {
region_name: "RegionName", kms_master_key_id: "KMSMasterKeyId",
provisioned_throughput_override: {
read_capacity_units: 1,
},
global_secondary_indexes: [
{
index_name: "IndexName", provisioned_throughput_override: {
read_capacity_units: 1,
},
},
],
},
delete: {
region_name: "RegionName", },
},
],
})
Basic usage
table = table.update(options)
table.name
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4