GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Paws::DynamoDB::UpdateTable(3) User Contributed Perl Documentation Paws::DynamoDB::UpdateTable(3)

Paws::DynamoDB::UpdateTable - Arguments for method UpdateTable on Paws::DynamoDB

This class represents the parameters used for calling the method UpdateTable on the Amazon DynamoDB service. Use the attributes of this class as arguments to method UpdateTable.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateTable.

    my $dynamodb = Paws->service('DynamoDB');
   # To modify a table's provisioned throughput
   # This example increases the provisioned read and write capacity on the Music
   # table.
    my $UpdateTableOutput = $dynamodb->UpdateTable(
      'ProvisionedThroughput' => {
        'ReadCapacityUnits'  => 10,
        'WriteCapacityUnits' => 10
      },
      'TableName' => 'MusicCollection'
    );
    # Results:
    my $TableDescription = $UpdateTableOutput->TableDescription;
    # Returns a L<Paws::DynamoDB::UpdateTableOutput> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/dynamodb/UpdateTable>

An array of attributes that describe the key schema for the table and indexes. If you are adding a new global secondary index to the table, "AttributeDefinitions" must include the key element(s) of the new index.

Controls how you are charged for read and write throughput and how you manage capacity. When switching from pay-per-request to provisioned capacity, initial provisioned capacity values must be set. The initial provisioned capacity values are estimated based on the consumed read and write capacity of your table and global secondary indexes over the past 30 minutes.

  • "PROVISIONED" - We recommend using "PROVISIONED" for predictable workloads. "PROVISIONED" sets the billing mode to Provisioned Mode (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ReadWriteCapacityMode.html#HowItWorks.ProvisionedThroughput.Manual).
  • "PAY_PER_REQUEST" - We recommend using "PAY_PER_REQUEST" for unpredictable workloads. "PAY_PER_REQUEST" sets the billing mode to On-Demand Mode (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ReadWriteCapacityMode.html#HowItWorks.OnDemand).

Valid values are: "PROVISIONED", "PAY_PER_REQUEST"

An array of one or more global secondary indexes for the table. For each index in the array, you can request one action:

  • "Create" - add a new global secondary index to the table.
  • "Update" - modify the provisioned throughput settings of an existing global secondary index.
  • "Delete" - remove a global secondary index from the table.

You can create or delete only one global secondary index per "UpdateTable" operation.

For more information, see Managing Global Secondary Indexes (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/GSI.OnlineOps.html) in the Amazon DynamoDB Developer Guide.

The new provisioned throughput settings for the specified table or index.

A list of replica update actions (create, delete, or update) for the table.

This property only applies to Version 2019.11.21 (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html) of global tables.

The new server-side encryption settings for the specified table.

Represents the DynamoDB Streams configuration for the table.

You receive a "ResourceInUseException" if you try to enable a stream on a table that already has a stream, or if you try to disable a stream on a table that doesn't have a stream.

REQUIRED TableName => Str

The name of the table to be updated.

This class forms part of Paws, documenting arguments for method UpdateTable in Paws::DynamoDB

The source code is located here: <https://github.com/pplu/aws-sdk-perl>

Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>

2022-06-01 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.