You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m looking for clarification regarding the behavior of the ECS DescribeTaskSets API.
As per the documentation, the taskSets parameter is optional. However, when I attempt to call the API without specifying any task set IDs, I receive the following error:
An error occurred (InvalidParameterException) when calling the DescribeTaskSets operation: TaskSets cannot be empty.
This behavior is also observed when using the AWS CLI. For example:
An error occurred (InvalidParameterException) when calling the DescribeTaskSets operation: TaskSets cannot be empty.
Given that the taskSets field is marked as optional in the API reference, I expected the API to return all available task sets for the service when the parameter is omitted.
Could you please confirm:
Is this the expected behavior?
If so, under what conditions is it valid to omit the taskSets field?
Is the documentation inaccurate or incomplete regarding this aspect?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I’m looking for clarification regarding the behavior of the ECS
DescribeTaskSets
API.As per the documentation, the
taskSets
parameter is optional. However, when I attempt to call the API without specifying any task set IDs, I receive the following error:This behavior is also observed when using the AWS CLI. For example:
Returns:
Given that the
taskSets
field is marked as optional in the API reference, I expected the API to return all available task sets for the service when the parameter is omitted.Could you please confirm:
taskSets
field?Thanks in advance for your guidance!
Beta Was this translation helpful? Give feedback.
All reactions