/// <summary> /// <para>Updates the provisioned throughput for the given table. Setting the throughput for a table helps you manage performance and is part of /// the provisioned throughput feature of DynamoDB.</para> <para>The provisioned throughput values can be upgraded or downgraded based on the /// maximums and minimums listed in the <a href="http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html">Limits</a> /// section in the Amazon DynamoDB Developer Guide.</para> <para>The table must be in the <c>ACTIVE</c> state for this operation to succeed. /// <i>UpdateTable</i> is an asynchronous operation; while executing the operation, the table is in the <c>UPDATING</c> state. While the table /// is in the <c>UPDATING</c> state, the table still has the provisioned throughput from before the call. The new provisioned throughput setting /// is in effect only when the table returns to the <c>ACTIVE</c> state after the <i>UpdateTable</i> operation. </para> <para>You cannot add, /// modify or delete indexes using <i>UpdateTable</i> . Indexes can only be defined at table creation time.</para> /// </summary> /// /// <param name="updateTableRequest">Container for the necessary parameters to execute the UpdateTable service method on /// AmazonDynamoDBv2.</param> /// /// <returns>The response from the UpdateTable service method, as returned by AmazonDynamoDBv2.</returns> /// /// <exception cref="T:Amazon.DynamoDBv2.Model.ResourceInUseException" /> /// <exception cref="T:Amazon.DynamoDBv2.Model.ResourceNotFoundException" /> /// <exception cref="T:Amazon.DynamoDBv2.Model.LimitExceededException" /> /// <exception cref="T:Amazon.DynamoDBv2.Model.InternalServerErrorException" /> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> public Task <UpdateTableResponse> UpdateTableAsync(UpdateTableRequest updateTableRequest, CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new UpdateTableRequestMarshaller(); var unmarshaller = UpdateTableResponseUnmarshaller.GetInstance(); return(Invoke <IRequest, UpdateTableRequest, UpdateTableResponse>(updateTableRequest, marshaller, unmarshaller, signer, cancellationToken)); }
public override UpdateTableResponse GetResponse(UnmarshallerContext unmarshallerContext) { return(UpdateTableResponseUnmarshaller.Unmarshall(unmarshallerContext)); }