![]() |
![]()
| ![]() |
![]()
NAMEPaws::DynamoDB::UpdateTable - Arguments for method UpdateTable on Paws::DynamoDB DESCRIPTIONThis 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. SYNOPSISmy $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> ATTRIBUTESAttributeDefinitions => ArrayRef[Paws::DynamoDB::AttributeDefinition]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. BillingMode => StrControls 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.
Valid values are: "PROVISIONED", "PAY_PER_REQUEST" GlobalSecondaryIndexUpdates => ArrayRef[Paws::DynamoDB::GlobalSecondaryIndexUpdate]An array of one or more global secondary indexes for the table. For each index in the array, you can request one action:
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. ProvisionedThroughput => Paws::DynamoDB::ProvisionedThroughputThe new provisioned throughput settings for the specified table or index. ReplicaUpdates => ArrayRef[Paws::DynamoDB::ReplicationGroupUpdate]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. SSESpecification => Paws::DynamoDB::SSESpecificationThe new server-side encryption settings for the specified table. StreamSpecification => Paws::DynamoDB::StreamSpecificationRepresents 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 => StrThe name of the table to be updated. SEE ALSOThis class forms part of Paws, documenting arguments for method UpdateTable in Paws::DynamoDB BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|