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
A cmdlet that allows invoking arbitrary AWS API action and handles authentication, signing etc.
Use Case
I'm frustrated when certain APIs calls are not available as their own cmdlet yet. Or, I want to do something lower level. For example, Find-IDSUserList cmdlet's -Filter parameter is deprecated and we are told to use GetUserId. However, as far as I can tell there's no cmdlet for that.
Proposed Solution
Something like "Invoke-AWSApiAction" which would be similar to Invoke-AzRestMethod or Invoke-RestMethod with all the authentication and standard AWS parameters provided.
Parameters would be something like
ApiAction where I could specify something like "GetUserId"
RequestParameter - a hash table of the request parameters that would get converted to JSON in the API call
Profile, Region, etc. - all the standard parameters
Other Information
No response
Acknowledgements
I may be able to implement this feature request
This feature might incur a breaking change
AWS Tools for PowerShell version used
AWS.Tools.Common 4.1.539
PowerShell version used
Name Value
---- -----
PSVersion 7.4.2
PSEdition Core
GitCommitId 7.4.2
OS Microsoft Windows 10.0.22621
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Operating System and version
Windows 11
The text was updated successfully, but these errors were encountered:
Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.
Describe the feature
A cmdlet that allows invoking arbitrary AWS API action and handles authentication, signing etc.
Use Case
I'm frustrated when certain APIs calls are not available as their own cmdlet yet. Or, I want to do something lower level. For example, Find-IDSUserList cmdlet's -Filter parameter is deprecated and we are told to use GetUserId. However, as far as I can tell there's no cmdlet for that.
Proposed Solution
Something like "Invoke-AWSApiAction" which would be similar to Invoke-AzRestMethod or Invoke-RestMethod with all the authentication and standard AWS parameters provided.
Parameters would be something like
ApiAction
where I could specify something like "GetUserId"RequestParameter
- a hash table of the request parameters that would get converted to JSON in the API callOther Information
No response
Acknowledgements
AWS Tools for PowerShell version used
AWS.Tools.Common 4.1.539
PowerShell version used
Operating System and version
Windows 11
The text was updated successfully, but these errors were encountered: