amplify-category-api icon indicating copy to clipboard operation
amplify-category-api copied to clipboard

Disable list query generated by secondary index

Open nam-truong-le opened this issue 10 months ago • 2 comments

Environment information

System:
  OS: macOS 15.3.1
  CPU: (8) arm64 Apple M3
  Memory: 131.08 MB / 24.00 GB
  Shell: /bin/zsh
Binaries:
  Node: 22.8.0 - ~/.nvm/versions/node/v22.8.0/bin/node
  Yarn: undefined - undefined
  npm: 10.8.2 - ~/.nvm/versions/node/v22.8.0/bin/npm
  pnpm: 9.15.5 - ~/.nvm/versions/node/v22.8.0/bin/pnpm
NPM Packages:
  @aws-amplify/ai-constructs: Not Found
  @aws-amplify/auth-construct: Not Found
  @aws-amplify/backend: 1.14.1
  @aws-amplify/backend-ai: Not Found
  @aws-amplify/backend-auth: Not Found
  @aws-amplify/backend-cli: 1.4.10
  @aws-amplify/backend-data: Not Found
  @aws-amplify/backend-deployer: Not Found
  @aws-amplify/backend-function: Not Found
  @aws-amplify/backend-output-schemas: Not Found
  @aws-amplify/backend-output-storage: Not Found
  @aws-amplify/backend-secret: Not Found
  @aws-amplify/backend-storage: Not Found
  @aws-amplify/cli-core: Not Found
  @aws-amplify/client-config: Not Found
  @aws-amplify/data-construct: Not Found
  @aws-amplify/data-schema: Not Found
  @aws-amplify/deployed-backend-client: Not Found
  @aws-amplify/form-generator: Not Found
  @aws-amplify/model-generator: Not Found
  @aws-amplify/platform-core: Not Found
  @aws-amplify/plugin-types: Not Found
  @aws-amplify/sandbox: Not Found
  @aws-amplify/schema-generator: Not Found
  aws-amplify: 6.13.0
  aws-cdk: 2.1000.2
  aws-cdk-lib: 2.179.0
  typescript: 5.7.

Describe the feature

Similar to .disableOperations(["get", "list", "create"]) it would be nice if we can disable list operations generated by secondary index.

Use case

Disable list operations from secondary index

nam-truong-le avatar Feb 21 '25 16:02 nam-truong-le

Hey,👋 thanks for raising this! I'm going to transfer this over to our API repository for better assistance.

ykethan avatar Feb 21 '25 16:02 ykethan

Hi @nam-truong-le, Thanks for raising this and marking this as feature request for the team to evaluate further.

AnilMaktala avatar Feb 21 '25 18:02 AnilMaktala