![]() |
![]()
| ![]() |
![]()
NAMEPaws::DynamoDB::UpdateTableReplicaAutoScaling - Arguments for method UpdateTableReplicaAutoScaling on Paws::DynamoDB DESCRIPTIONThis class represents the parameters used for calling the method UpdateTableReplicaAutoScaling on the Amazon DynamoDB service. Use the attributes of this class as arguments to method UpdateTableReplicaAutoScaling. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateTableReplicaAutoScaling. SYNOPSISmy $dynamodb = Paws->service('DynamoDB'); my $UpdateTableReplicaAutoScalingOutput = $dynamodb->UpdateTableReplicaAutoScaling( TableName => 'MyTableName', GlobalSecondaryIndexUpdates => [ { IndexName => 'MyIndexName', # min: 3, max: 255; OPTIONAL ProvisionedWriteCapacityAutoScalingUpdate => { 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 }, ... ], # OPTIONAL ProvisionedWriteCapacityAutoScalingUpdate => { 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 ReplicaUpdates => [ { RegionName => 'MyRegionName', ReplicaGlobalSecondaryIndexUpdates => [ { IndexName => 'MyIndexName', # min: 3, max: 255; OPTIONAL ProvisionedReadCapacityAutoScalingUpdate => { 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 }, ... ], # OPTIONAL ReplicaProvisionedReadCapacityAutoScalingUpdate => { 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 }, ... ], # OPTIONAL ); # Results: my $TableAutoScalingDescription = $UpdateTableReplicaAutoScalingOutput->TableAutoScalingDescription; # Returns a L<Paws::DynamoDB::UpdateTableReplicaAutoScalingOutput> 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/UpdateTableReplicaAutoScaling> ATTRIBUTESGlobalSecondaryIndexUpdates => ArrayRef[Paws::DynamoDB::GlobalSecondaryIndexAutoScalingUpdate]Represents the auto scaling settings of the global secondary indexes of the replica to be updated. ProvisionedWriteCapacityAutoScalingUpdate => Paws::DynamoDB::AutoScalingSettingsUpdateReplicaUpdates => ArrayRef[Paws::DynamoDB::ReplicaAutoScalingUpdate]Represents the auto scaling settings of replicas of the table that will be modified. REQUIRED TableName => StrThe name of the global table to be updated. SEE ALSOThis class forms part of Paws, documenting arguments for method UpdateTableReplicaAutoScaling 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>
|