internal virtual CreateManagedEndpointResponse CreateManagedEndpoint(CreateManagedEndpointRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateManagedEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateManagedEndpointResponseUnmarshaller.Instance; return(Invoke <CreateManagedEndpointResponse>(request, options)); }
/// <summary> /// Creates a managed endpoint. A managed endpoint is a gateway that connects EMR Studio /// to Amazon EMR on EKS so that EMR Studio can communicate with your virtual cluster. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateManagedEndpoint 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 CreateManagedEndpoint service method, as returned by EMRContainers.</returns> /// <exception cref="Amazon.EMRContainers.Model.InternalServerException"> /// This is an internal server exception. /// </exception> /// <exception cref="Amazon.EMRContainers.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <exception cref="Amazon.EMRContainers.Model.ValidationException"> /// There are invalid parameters in the client request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/CreateManagedEndpoint">REST API Reference for CreateManagedEndpoint Operation</seealso> public virtual Task <CreateManagedEndpointResponse> CreateManagedEndpointAsync(CreateManagedEndpointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateManagedEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateManagedEndpointResponseUnmarshaller.Instance; return(InvokeAsync <CreateManagedEndpointResponse>(request, options, cancellationToken)); }