internal virtual CreateParameterGroupResponse CreateParameterGroup(CreateParameterGroupRequest request) { var marshaller = CreateParameterGroupRequestMarshaller.Instance; var unmarshaller = CreateParameterGroupResponseUnmarshaller.Instance; return(Invoke <CreateParameterGroupRequest, CreateParameterGroupResponse>(request, marshaller, unmarshaller)); }
/// <summary> /// Initiates the asynchronous execution of the CreateParameterGroup operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateParameterGroup 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/CreateParameterGroup">REST API Reference for CreateParameterGroup Operation</seealso> public virtual Task <CreateParameterGroupResponse> CreateParameterGroupAsync(CreateParameterGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = CreateParameterGroupRequestMarshaller.Instance; var unmarshaller = CreateParameterGroupResponseUnmarshaller.Instance; return(InvokeAsync <CreateParameterGroupRequest, CreateParameterGroupResponse>(request, marshaller, unmarshaller, cancellationToken)); }
internal virtual CreateParameterGroupResponse CreateParameterGroup(CreateParameterGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateParameterGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateParameterGroupResponseUnmarshaller.Instance; return(Invoke <CreateParameterGroupResponse>(request, options)); }