|
1328 | 1328 | "Statements":{
|
1329 | 1329 | "shape":"PartiQLBatchRequest",
|
1330 | 1330 | "documentation":"<p>The list of PartiQL statements representing the batch to run.</p>"
|
1331 |
| - } |
| 1331 | + }, |
| 1332 | + "ReturnConsumedCapacity":{"shape":"ReturnConsumedCapacity"} |
1332 | 1333 | }
|
1333 | 1334 | },
|
1334 | 1335 | "BatchExecuteStatementOutput":{
|
|
1337 | 1338 | "Responses":{
|
1338 | 1339 | "shape":"PartiQLBatchResponse",
|
1339 | 1340 | "documentation":"<p>The response to each PartiQL statement in the batch.</p>"
|
| 1341 | + }, |
| 1342 | + "ConsumedCapacity":{ |
| 1343 | + "shape":"ConsumedCapacityMultiple", |
| 1344 | + "documentation":"<p>The capacity units consumed by the entire operation. The values of the list are ordered according to the ordering of the statements.</p>" |
1340 | 1345 | }
|
1341 | 1346 | }
|
1342 | 1347 | },
|
|
2463 | 2468 | "NextToken":{
|
2464 | 2469 | "shape":"PartiQLNextToken",
|
2465 | 2470 | "documentation":"<p>Set this value to get remaining results, if <code>NextToken</code> was returned in the statement response.</p>"
|
2466 |
| - } |
| 2471 | + }, |
| 2472 | + "ReturnConsumedCapacity":{"shape":"ReturnConsumedCapacity"} |
2467 | 2473 | }
|
2468 | 2474 | },
|
2469 | 2475 | "ExecuteStatementOutput":{
|
|
2476 | 2482 | "NextToken":{
|
2477 | 2483 | "shape":"PartiQLNextToken",
|
2478 | 2484 | "documentation":"<p>If the response of a read request exceeds the response payload limit DynamoDB will set this value in the response. If set, you can use that this value in the subsequent request to get the remaining results.</p>"
|
2479 |
| - } |
| 2485 | + }, |
| 2486 | + "ConsumedCapacity":{"shape":"ConsumedCapacity"} |
2480 | 2487 | }
|
2481 | 2488 | },
|
2482 | 2489 | "ExecuteTransactionInput":{
|
|
2491 | 2498 | "shape":"ClientRequestToken",
|
2492 | 2499 | "documentation":"<p>Set this value to get remaining results, if <code>NextToken</code> was returned in the statement response.</p>",
|
2493 | 2500 | "idempotencyToken":true
|
| 2501 | + }, |
| 2502 | + "ReturnConsumedCapacity":{ |
| 2503 | + "shape":"ReturnConsumedCapacity", |
| 2504 | + "documentation":"<p>Determines the level of detail about either provisioned or on-demand throughput consumption that is returned in the response. For more information, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_TransactGetItems.html\">TransactGetItems</a> and <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_TransactWriteItems.html\">TransactWriteItems</a>.</p>" |
2494 | 2505 | }
|
2495 | 2506 | }
|
2496 | 2507 | },
|
|
2500 | 2511 | "Responses":{
|
2501 | 2512 | "shape":"ItemResponseList",
|
2502 | 2513 | "documentation":"<p>The response to a PartiQL transaction.</p>"
|
| 2514 | + }, |
| 2515 | + "ConsumedCapacity":{ |
| 2516 | + "shape":"ConsumedCapacityMultiple", |
| 2517 | + "documentation":"<p>The capacity units consumed by the entire operation. The values of the list are ordered according to the ordering of the statements.</p>" |
2503 | 2518 | }
|
2504 | 2519 | }
|
2505 | 2520 | },
|
|
4607 | 4622 | },
|
4608 | 4623 | "ReturnConsumedCapacity":{
|
4609 | 4624 | "type":"string",
|
4610 |
| - "documentation":"<p>Determines the level of detail about provisioned throughput consumption that is returned in the response:</p> <ul> <li> <p> <code>INDEXES</code> - The response includes the aggregate <code>ConsumedCapacity</code> for the operation, together with <code>ConsumedCapacity</code> for each table and secondary index that was accessed.</p> <p>Note that some operations, such as <code>GetItem</code> and <code>BatchGetItem</code>, do not access any indexes at all. In these cases, specifying <code>INDEXES</code> will only return <code>ConsumedCapacity</code> information for table(s).</p> </li> <li> <p> <code>TOTAL</code> - The response includes only the aggregate <code>ConsumedCapacity</code> for the operation.</p> </li> <li> <p> <code>NONE</code> - No <code>ConsumedCapacity</code> details are included in the response.</p> </li> </ul>", |
| 4625 | + "documentation":"<p>Determines the level of detail about either provisioned or on-demand throughput consumption that is returned in the response:</p> <ul> <li> <p> <code>INDEXES</code> - The response includes the aggregate <code>ConsumedCapacity</code> for the operation, together with <code>ConsumedCapacity</code> for each table and secondary index that was accessed.</p> <p>Note that some operations, such as <code>GetItem</code> and <code>BatchGetItem</code>, do not access any indexes at all. In these cases, specifying <code>INDEXES</code> will only return <code>ConsumedCapacity</code> information for table(s).</p> </li> <li> <p> <code>TOTAL</code> - The response includes only the aggregate <code>ConsumedCapacity</code> for the operation.</p> </li> <li> <p> <code>NONE</code> - No <code>ConsumedCapacity</code> details are included in the response.</p> </li> </ul>", |
4611 | 4626 | "enum":[
|
4612 | 4627 | "INDEXES",
|
4613 | 4628 | "TOTAL",
|
|
0 commit comments