Open bigdatasourav opened 8 months ago
Hi @bigdatasourav ,
This looks like a bug with the service itself. I assume when you try to run aws ssm get-inventory
with the CLI and those same arguments you are seeing the same behavior?
Thanks, Ran~
Hey @RanVaknin, Thanks for the quick response. Yes aws ssm get-inventory
also returns the same error -
➜ steampipe ✗ aws ssm get-inventory \
--filters "Key=AWS:InstanceInformation.InstanceId,Values=i-08f0d99*******3" \
--result-attributes "TypeName=AWS:InstanceDetailedInformation"
An error occurred (InvalidResultAttributeException) when calling the GetInventory operation: Result type name AWS:InstanceDetailedInformation is not supported. Supported type names are: AWS:InstanceInformation, AWS:PatchSummary. Default result type name is AWS:InstanceInformation.
Hi @bigdatasourav ,
Thanks for confirming. From the error and the fact that this is reproducible using both he SDK and CLI it's clear to me that this is a service related issue.
I have created an internal ticket with the service team P105125205
. Please check back for more updates from the SSM service team.
Thanks, Ran~
Describe the bug
In the latest CLI, the result type
InstanceDetailedInformation
is supported in GetInventory.But in API, I am getting the below error -
Expected Behavior
The GetInventory API should support the result type InstanceDetailedInformation.
Current Behavior
Currently, the GetInventory API does not support the result type InstanceDetailedInformation.
Reproduction Steps
GetInventory API execution with result type InstanceDetailedInformation as input.
Possible Solution
No response
Additional Information/Context
No response
AWS Go SDK V2 Module Versions Used
Compiler and Version used
1.21.3
Operating System and version
M1