NAME

Paws::DynamoDB::ConsumedCapacity

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::DynamoDB::ConsumedCapacity object:

$service_obj->Method(Att1 => { CapacityUnits => $value, ..., WriteCapacityUnits => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::DynamoDB::ConsumedCapacity object:

$result = $service_obj->Method(...);
$result->Att1->CapacityUnits

DESCRIPTION

The capacity units consumed by an operation. The data returned includes the total provisioned throughput consumed, along with statistics for the table and any indexes involved in the operation. ConsumedCapacity is only returned if the request asked for it. For more information, see Provisioned Throughput (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughputIntro.html) in the Amazon DynamoDB Developer Guide.

ATTRIBUTES

CapacityUnits => Num

The total number of capacity units consumed by the operation.

GlobalSecondaryIndexes => Paws::DynamoDB::SecondaryIndexesCapacityMap

The amount of throughput consumed on each global index affected by the operation.

LocalSecondaryIndexes => Paws::DynamoDB::SecondaryIndexesCapacityMap

The amount of throughput consumed on each local index affected by the operation.

ReadCapacityUnits => Num

The total number of read capacity units consumed by the operation.

Table => Paws::DynamoDB::Capacity

The amount of throughput consumed on the table affected by the operation.

TableName => Str

The name of the table that was affected by the operation.

WriteCapacityUnits => Num

The total number of write capacity units consumed by the operation.

SEE ALSO

This class forms part of Paws, describing an object used 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