
commonMain.aws.sdk.kotlin.services.dynamodb.model.QueryResponse.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.dynamodb.model
/**
* Represents the output of a `Query` operation.
*/
public class QueryResponse private constructor(builder: Builder) {
/**
* The capacity units consumed by the `Query` 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 `ReturnConsumedCapacity` parameter was specified. For more information, see [Provisioned Throughput](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughputIntro.html) in the *Amazon DynamoDB Developer Guide*.
*/
public val consumedCapacity: aws.sdk.kotlin.services.dynamodb.model.ConsumedCapacity? = builder.consumedCapacity
/**
* The number of items in the response.
*
* If you used a `QueryFilter` in the request, then `Count` is the number of items returned after the filter was applied, and `ScannedCount` is the number of matching items before the filter was applied.
*
* If you did not use a filter in the request, then `Count` and `ScannedCount` are the same.
*/
public val count: kotlin.Int = builder.count
/**
* An array of item attributes that match the query criteria. Each element in this array consists of an attribute name and the value for that attribute.
*/
public val items: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy