![]() |
![]()
| ![]() |
![]()
NAMEPaws::DynamoDB::UpdateGlobalTableSettings - Arguments for method UpdateGlobalTableSettings on Paws::DynamoDB DESCRIPTIONThis class represents the parameters used for calling the method UpdateGlobalTableSettings on the Amazon DynamoDB service. Use the attributes of this class as arguments to method UpdateGlobalTableSettings. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateGlobalTableSettings. SYNOPSISmy $dynamodb = Paws->service('DynamoDB'); my $UpdateGlobalTableSettingsOutput = $dynamodb->UpdateGlobalTableSettings( GlobalTableName => 'MyTableName', GlobalTableBillingMode => 'PROVISIONED', # OPTIONAL GlobalTableGlobalSecondaryIndexSettingsUpdate => [ { IndexName => 'MyIndexName', # min: 3, max: 255 ProvisionedWriteCapacityAutoScalingSettingsUpdate => { AutoScalingDisabled => 1, # OPTIONAL AutoScalingRoleArn => 'MyAutoScalingRoleArn', # min: 1, max: 1600; OPTIONAL MaximumUnits => 1, # min: 1; OPTIONAL MinimumUnits => 1, # min: 1; OPTIONAL ScalingPolicyUpdate => { TargetTrackingScalingPolicyConfiguration => { TargetValue => 1, DisableScaleIn => 1, # OPTIONAL ScaleInCooldown => 1, # OPTIONAL ScaleOutCooldown => 1, # OPTIONAL }, PolicyName => 'MyAutoScalingPolicyName', # min: 1, max: 256; OPTIONAL }, # OPTIONAL }, # OPTIONAL ProvisionedWriteCapacityUnits => 1, # min: 1; OPTIONAL }, ... ], # OPTIONAL GlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate => { AutoScalingDisabled => 1, # OPTIONAL AutoScalingRoleArn => 'MyAutoScalingRoleArn', # min: 1, max: 1600; OPTIONAL MaximumUnits => 1, # min: 1; OPTIONAL MinimumUnits => 1, # min: 1; OPTIONAL ScalingPolicyUpdate => { TargetTrackingScalingPolicyConfiguration => { TargetValue => 1, DisableScaleIn => 1, # OPTIONAL ScaleInCooldown => 1, # OPTIONAL ScaleOutCooldown => 1, # OPTIONAL }, PolicyName => 'MyAutoScalingPolicyName', # min: 1, max: 256; OPTIONAL }, # OPTIONAL }, # OPTIONAL GlobalTableProvisionedWriteCapacityUnits => 1, # OPTIONAL ReplicaSettingsUpdate => [ { RegionName => 'MyRegionName', ReplicaGlobalSecondaryIndexSettingsUpdate => [ { IndexName => 'MyIndexName', # min: 3, max: 255 ProvisionedReadCapacityAutoScalingSettingsUpdate => { AutoScalingDisabled => 1, # OPTIONAL AutoScalingRoleArn => 'MyAutoScalingRoleArn', # min: 1, max: 1600; OPTIONAL MaximumUnits => 1, # min: 1; OPTIONAL MinimumUnits => 1, # min: 1; OPTIONAL ScalingPolicyUpdate => { TargetTrackingScalingPolicyConfiguration => { TargetValue => 1, DisableScaleIn => 1, # OPTIONAL ScaleInCooldown => 1, # OPTIONAL ScaleOutCooldown => 1, # OPTIONAL }, PolicyName => 'MyAutoScalingPolicyName', # min: 1, max: 256; OPTIONAL }, # OPTIONAL }, # OPTIONAL ProvisionedReadCapacityUnits => 1, # min: 1; OPTIONAL }, ... ], # min: 1, max: 20; OPTIONAL ReplicaProvisionedReadCapacityAutoScalingSettingsUpdate => { AutoScalingDisabled => 1, # OPTIONAL AutoScalingRoleArn => 'MyAutoScalingRoleArn', # min: 1, max: 1600; OPTIONAL MaximumUnits => 1, # min: 1; OPTIONAL MinimumUnits => 1, # min: 1; OPTIONAL ScalingPolicyUpdate => { TargetTrackingScalingPolicyConfiguration => { TargetValue => 1, DisableScaleIn => 1, # OPTIONAL ScaleInCooldown => 1, # OPTIONAL ScaleOutCooldown => 1, # OPTIONAL }, PolicyName => 'MyAutoScalingPolicyName', # min: 1, max: 256; OPTIONAL }, # OPTIONAL }, # OPTIONAL ReplicaProvisionedReadCapacityUnits => 1, # min: 1; OPTIONAL }, ... ], # OPTIONAL ); # Results: my $GlobalTableName = $UpdateGlobalTableSettingsOutput->GlobalTableName; my $ReplicaSettings = $UpdateGlobalTableSettingsOutput->ReplicaSettings; # Returns a L<Paws::DynamoDB::UpdateGlobalTableSettingsOutput> 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/UpdateGlobalTableSettings> ATTRIBUTESGlobalTableBillingMode => StrThe billing mode of the global table. If "GlobalTableBillingMode" is not specified, the global table defaults to "PROVISIONED" capacity billing mode.
Valid values are: "PROVISIONED", "PAY_PER_REQUEST" GlobalTableGlobalSecondaryIndexSettingsUpdate => ArrayRef[Paws::DynamoDB::GlobalTableGlobalSecondaryIndexSettingsUpdate]Represents the settings of a global secondary index for a global table that will be modified. REQUIRED GlobalTableName => StrThe name of the global table GlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate => Paws::DynamoDB::AutoScalingSettingsUpdateAuto scaling settings for managing provisioned write capacity for the global table. GlobalTableProvisionedWriteCapacityUnits => IntThe maximum number of writes consumed per second before DynamoDB returns a "ThrottlingException." ReplicaSettingsUpdate => ArrayRef[Paws::DynamoDB::ReplicaSettingsUpdate]Represents the settings for a global table in a Region that will be modified. SEE ALSOThis class forms part of Paws, documenting arguments for method UpdateGlobalTableSettings 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>
|