【问题标题】:AWS API Gateway- Offset-LimitAWS API Gateway-偏移限制
【发布时间】:2021-04-14 12:50:16
【问题描述】:

我正在使用 AWS 服务开发仓库管理系统。我们正在使用 API 网关。使用偏移限制进行查询搜索的最佳方法是什么?通过 API 网关?

我们希望使用 GUI api 网关限制从搜索返回的内容

components:
  parameters:
    includeDeleted:
      in: query
      name: includeDeleted
      description: Whether or not to include soft deleted items in result.
      explode: true
      required: false
      style: form
      schema:
        default: false
        type: boolean
    offset:
      description: Number of items to skip before returning the results.
      explode: true
      in: query
      name: offset
      required: false
      schema:
        default: 0
        format: int32
        minimum: 0
        type: number
      style: form
    limit:
      description: Maximum number of items to return.
      explode: true
      in: query
      name: limit
      required: false
      schema:
        default: 100
        format: int32
        maximum: 100
        minimum: 1
        type: number
      style: form

【问题讨论】:

    标签: aws-lambda amazon-dynamodb amazon-elastic-beanstalk aws-api-gateway amazon-cognito


    【解决方案1】:

    使用计划可以指定谁可以评估具有指定请求限制和配额的相关 API 阶段。见下文link

    【讨论】:

    • 我编辑了我的回复。如何使用 GUI 进行设置
    猜你喜欢
    • 1970-01-01
    • 2020-03-21
    • 2021-04-19
    • 2020-11-18
    • 2019-10-20
    • 2017-02-28
    • 1970-01-01
    • 1970-01-01
    • 2018-11-28
    相关资源
    最近更新 更多