aws / aws-sdk

Landing page for the AWS SDKs on GitHub
https://aws.amazon.com/tools/
Other
68 stars 12 forks source link

Wrong Default timeoutInMins of buildBatchConfig #624

Open digglife opened 8 months ago

digglife commented 8 months ago

According to the AWS Console, the valid range of timeoutInMins of buildBatchConfig for CodeBuild project is 5-480 minutes. But if I set the buildBatchConfig with serviceRole, which is the only required field, the timeoutInMins will be set as 2160 by default.

How to Reproduce

  1. Create a CodeBuild Project, without configuring batch build.
  2. Set buildBatchConfig with serviceRole field only via API (SDK in any language).
  3. Get the project and you will see the timeoutInMins is 2160.

Expected Behavior

Defaults to 480, which is indicated in AWS Console and validated by myself.

image

Documentation

In the API reference,serviceRole is NOT required, which should be corrected to YES.

image
tim-finnigan commented 1 day ago

Checking in — the Provide feedback links at the bottom of API reference pages are the best way to send feedback directly to the appropriate team. It looks like there are a couple issues here with the documentation, can you provide a code snippet to reproduce this so that we can verify on our end?