public CompletableFuture createNetworkPath()

in nis-20211216/src/main/java/com/aliyun/sdk/service/nis20211216/DefaultAsyncClient.java [74:85]


    public CompletableFuture<CreateNetworkPathResponse> createNetworkPath(CreateNetworkPathRequest request) {
        try {
            this.handler.validateRequestModel(request);
            TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CreateNetworkPath").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
            ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateNetworkPathResponse.create());
            return this.handler.execute(params);
        } catch (Exception e) {
            CompletableFuture<CreateNetworkPathResponse> future = new CompletableFuture<>();
            future.completeExceptionally(e);
            return future;
        }
    }