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