NAME

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

DESCRIPTION

This 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.

SYNOPSIS

my $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

ATTRIBUTES

GlobalTableBillingMode => Str

The billing mode of the global table. If GlobalTableBillingMode is not specified, the global table defaults to PROVISIONED capacity billing mode.

  • 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"

GlobalTableGlobalSecondaryIndexSettingsUpdate => ArrayRef[Paws::DynamoDB::GlobalTableGlobalSecondaryIndexSettingsUpdate]

Represents the settings of a global secondary index for a global table that will be modified.

REQUIRED GlobalTableName => Str

The name of the global table

GlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate => Paws::DynamoDB::AutoScalingSettingsUpdate

Auto scaling settings for managing provisioned write capacity for the global table.

GlobalTableProvisionedWriteCapacityUnits => Int

The 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 ALSO

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

BUGS and CONTRIBUTIONS

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