internal virtual CreateSubnetGroupResponse CreateSubnetGroup(CreateSubnetGroupRequest request) { var marshaller = CreateSubnetGroupRequestMarshaller.Instance; var unmarshaller = CreateSubnetGroupResponseUnmarshaller.Instance; return(Invoke <CreateSubnetGroupRequest, CreateSubnetGroupResponse>(request, marshaller, unmarshaller)); }
/// <summary> /// Initiates the asynchronous execution of the CreateSubnetGroup operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateSubnetGroup operation.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// <returns>The task object representing the asynchronous operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/CreateSubnetGroup">REST API Reference for CreateSubnetGroup Operation</seealso> public virtual Task <CreateSubnetGroupResponse> CreateSubnetGroupAsync(CreateSubnetGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = CreateSubnetGroupRequestMarshaller.Instance; var unmarshaller = CreateSubnetGroupResponseUnmarshaller.Instance; return(InvokeAsync <CreateSubnetGroupRequest, CreateSubnetGroupResponse>(request, marshaller, unmarshaller, cancellationToken)); }
/// <summary> /// Initiates the asynchronous execution of the CreateSubnetGroup operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateSubnetGroup operation.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// <returns>The task object representing the asynchronous operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/CreateSubnetGroup">REST API Reference for CreateSubnetGroup Operation</seealso> public virtual Task <CreateSubnetGroupResponse> CreateSubnetGroupAsync(CreateSubnetGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSubnetGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSubnetGroupResponseUnmarshaller.Instance; return(InvokeAsync <CreateSubnetGroupResponse>(request, options, cancellationToken)); }
internal virtual CreateSubnetGroupResponse CreateSubnetGroup(CreateSubnetGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSubnetGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSubnetGroupResponseUnmarshaller.Instance; return(Invoke <CreateSubnetGroupResponse>(request, options)); }