Method: AWS::DynamoDB::Client#update_table

Defined in:
lib/aws/dynamo_db/client.rb

#update_table(options = {}) ⇒ Core::Response

Calls the UpdateTable API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :table_name - required - (String) The name of the table you want to update. Allowed characters are a-z, A-Z, 0-9, _ (underscore), - (hyphen) and . (period).

    • :provisioned_throughput - required - (Hash)

      • :read_capacity_units - required - (Integer) ReadCapacityUnits are in terms of strictly consistent reads, assuming items of 1k. 2k items require twice the ReadCapacityUnits. Eventually-consistent reads only require half the ReadCapacityUnits of stirctly consistent reads.

      • :write_capacity_units - required - (Integer) WriteCapacityUnits are in terms of strictly consistent reads, assuming items of 1k. 2k items require twice the WriteCapacityUnits.

Returns:

  • (Core::Response)

    The #data method of the response object returns a hash with the following structure:

    • TableDescription - (Hash)

      • TableName - (String)

      • KeySchema - (Hash)

        • HashKeyElement - (Hash)

          • AttributeName - (String)

          • AttributeType - (String)

        • RangeKeyElement - (Hash)

          • AttributeName - (String)

          • AttributeType - (String)

      • TableStatus - (String)

      • CreationDateTime - (Time)

      • ProvisionedThroughput - (Hash)

        • LastIncreaseDateTime - (Time)

        • LastDecreaseDateTime - (Time)

        • ReadCapacityUnits - (Integer)

        • WriteCapacityUnits - (Integer)

      • TableSizeBytes - (Integer)

      • ItemCount - (Integer)



# File 'lib/aws/dynamo_db/client.rb', line 799