Closed MalikAtalla-AWS closed 1 year ago
For HookVersion, I don't think the cause is with the handler itself since the same issue happens to other resources too according to #82.
For HookDefaultVersion and HookTypeConfig, those are basically configuration associated with each individual Hook. They cannot be created from the create handler either since they exists for all Hook once the Hook is created. The list handler works to list all versions and type configurations for a single Hook, so in your example, you need to specify ARN or TypeName of that Hook.
Oh you're right, the second one is a BadRequest, which is the correct behaviour. My bad. Regarding the first resource, let's either investigate or identify the right team to own it.
I think #82 has a context to the issue and also lists the number of other resources that face similar issue. We can close this ticket and handle the investigation in #82 .
Trying to invoke the ListHandler for the HookVersion resource fails for me with an error saying AccessDenied (even though I have pasted my credentials in to the terminal)
The HookDefaultVersion ListHandler also fails, but with a different error: