Configuring capacity availability for promising

You can configure capacity for promising by using the Insert or update available capacity API. You can define the node capacity or capacity to represent the availability of the resource to fulfill a specific optimization objective that you set.

Procedure

  1. Manage node capacity by using the Insert or update available capacity API.
  2. Specify tags, such as, Delivery method, for a capacity category by using the Set tags for capacity category API.
    PUT /promising/{tenantId}/v2/nodes/Aurora_Store1/capacityTags/UNITS/STANDARD_NODE_CAPACITY
    [
      {
        "tagGroupId": "DELIVERY_TYPE",
        "tagId": "DEL"
      }
    ]
  3. Manage finite node capacity availability for a specific slot by using the Insert or update available capacity API.
    PUT /promising/{tenantId}/v2/nodes/Aurora_Store1/capacity/UNITS/STANDARD_NODE_CAPACITY
    {
      "slotStartIncl": "2022-09-01T09:00:00.000+00:00",
      "slotEndExcl": "2022-12-31T12:00:00.000+00:00",
      "useSlotByExcl": "2022-12-30T11:30:00.000+00:00",
      "availableCapacity": 100
    }

What to do next