Giter VIP home page Giter VIP logo

Comments (2)

RanVaknin avatar RanVaknin commented on May 25, 2024 1

Hi @nmussy ,

Thanks for reaching out. The reason this paginator is missing is because the API model of EC2 doesn't define this operation as a paginatable operation. In theory this should be a really easy fix, but this is not something the SDK team can directly address. That json model file you are trying to edit is generated from an upstream source and will get overwritten by the next release. Since the SDK is code generated from the various AWS services' API models, all of the model changes need to be fixed upstream with the service team itself. Also, by looking at the operation, the result_key for this case might be ServiceDetails since it contains a lot more data about the resource rather than ServiceNames which is just a list of strings.

At any rate, I have created an internal ticket on your behalf to address this P126629878.

Since this is not actionable by the JS SDK team I will close this issue, but I will update the thread once I hear back.

Thanks again!
Ran~

from aws-sdk-js.

nmussy avatar nmussy commented on May 25, 2024

Let me know if I can open a PR to fix this, but I'm assuming that this file is generated automatically and would be overwritten after the following SDK update?

diff --git a/apis/ec2-2016-11-15.paginators.json b/apis/ec2-2016-11-15.paginators.json
index ea572e61e..975003fc9 100644
--- a/apis/ec2-2016-11-15.paginators.json
+++ b/apis/ec2-2016-11-15.paginators.json
@@ -707,6 +707,12 @@
       "output_token": "NextToken",
       "result_key": "VpcEndpoints"
     },
+    "DescribeVpcEndpointsServices": {
+      "input_token": "NextToken",
+      "limit_key": "MaxResults",
+      "output_token": "NextToken",
+      "result_key": "ServiceNames"
+    },
     "DescribeVpcPeeringConnections": {
       "input_token": "NextToken",
       "limit_key": "MaxResults",

from aws-sdk-js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.