Create a pool with the specified name and concurrency limit. A default pool is created with the account's concurrency limit if it does not exist. The default pool’s concurrency limit is reduced by the new pool’s concurrency limit. You cannot create a pool if the default pool has more running attempts than its new reduced concurrency limit.
Security
ApiKeyAuth
Maximum number of concurrent attempts that can run in this pool. Total concurrency limit of all pools cannot exceed the account's concurrency limit.
Example:10
- awshttps://api-workflow.treasuredata.com/api/pools
- aws-tokyohttps://api-workflow.treasuredata.co.jp/api/pools
- eu01https://api-workflow.eu01.treasuredata.com/api/pools
- ap02https://api-workflow.ap02.treasuredata.com/api/pools
- ap03https://api-workflow.ap03.treasuredata.com/api/pools
curl -i -X POST \
https://api-workflow.treasuredata.com/api/pools \
-H 'Authorization: TD1 <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"concurrencyLimit": 10,
"name": "activation"
}'Pool created
Maximum number of concurrent attempts that can run in this pool. Total concurrency limit of all pools cannot exceed the account's concurrency limit.
Example:10
Response
{ "concurrencyLimit": 10, "default": true, "id": "42", "name": "activation" }