internal virtual BatchExecuteStatementResponse BatchExecuteStatement(BatchExecuteStatementRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = BatchExecuteStatementRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchExecuteStatementResponseUnmarshaller.Instance; return(Invoke <BatchExecuteStatementResponse>(request, options)); }
/// <summary> /// Initiates the asynchronous execution of the BatchExecuteStatement operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the BatchExecuteStatement operation on AmazonRDSDataServiceClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndBatchExecuteStatement /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/rds-data-2018-08-01/BatchExecuteStatement">REST API Reference for BatchExecuteStatement Operation</seealso> public virtual IAsyncResult BeginBatchExecuteStatement(BatchExecuteStatementRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = BatchExecuteStatementRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchExecuteStatementResponseUnmarshaller.Instance; return(BeginInvoke(request, options, callback, state)); }
/// <summary> /// Runs a batch SQL statement over an array of data. /// /// /// <para> /// You can run bulk update and insert operations for multiple records using a DML statement /// with different parameter sets. Bulk operations can provide a significant performance /// improvement over individual insert and update operations. /// </para> /// <important> /// <para> /// If a call isn't part of a transaction because it doesn't include the <code>transactionID</code> /// parameter, changes that result from the call are committed automatically. /// </para> /// </important> /// </summary> /// <param name="request">Container for the necessary parameters to execute the BatchExecuteStatement service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the BatchExecuteStatement service method, as returned by RDSDataService.</returns> /// <exception cref="Amazon.RDSDataService.Model.BadRequestException"> /// There is an error in the call or in a SQL statement. /// </exception> /// <exception cref="Amazon.RDSDataService.Model.ForbiddenException"> /// There are insufficient privileges to make the call. /// </exception> /// <exception cref="Amazon.RDSDataService.Model.InternalServerErrorException"> /// An internal error occurred. /// </exception> /// <exception cref="Amazon.RDSDataService.Model.ServiceUnavailableErrorException"> /// The service specified by the <code>resourceArn</code> parameter is not available. /// </exception> /// <exception cref="Amazon.RDSDataService.Model.StatementTimeoutException"> /// The execution of the SQL statement timed out. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/rds-data-2018-08-01/BatchExecuteStatement">REST API Reference for BatchExecuteStatement Operation</seealso> public virtual Task <BatchExecuteStatementResponse> BatchExecuteStatementAsync(BatchExecuteStatementRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = BatchExecuteStatementRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchExecuteStatementResponseUnmarshaller.Instance; return(InvokeAsync <BatchExecuteStatementResponse>(request, options, cancellationToken)); }
Task <BatchExecuteStatementResponse> IAmazonDynamoDB.BatchExecuteStatementAsync(BatchExecuteStatementRequest request, CancellationToken cancellationToken) { throw new NotSupportedException(); }
public Task <BatchExecuteStatementResponse> BatchExecuteStatementAsync(BatchExecuteStatementRequest request, CancellationToken cancellationToken = default) { throw new NotImplementedException(); }