Describe the issue
I see the required mark in the AWS APIs is misleading/not correct, when someone refer them only to invoke the API.
Example:
For the API: AuthorizeSecurityGroupEgressCommand in the doc only parameter: 'GroupId' is given as required so passing only 'GroupId' gives 'MissingParameter' Issue and ask for the parameter: 'IpPermissions'.
I also looked in AWS SDK typescript 'AuthorizeSecurityGroupEgressRequest' interface, there also only 'GroupId' was required rest all where tagged optional.
Links
Reference:
API DOC: https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/AuthorizeSecurityGroupEgressCommand/
AuthorizeSecurityGroupEgressRequess interface:
|
export interface AuthorizeSecurityGroupEgressRequest { |
Describe the issue
I see the required mark in the AWS APIs is misleading/not correct, when someone refer them only to invoke the API.
Example:
For the API: AuthorizeSecurityGroupEgressCommand in the doc only parameter: 'GroupId' is given as required so passing only 'GroupId' gives 'MissingParameter' Issue and ask for the parameter: 'IpPermissions'.
I also looked in AWS SDK typescript 'AuthorizeSecurityGroupEgressRequest' interface, there also only 'GroupId' was required rest all where tagged optional.
Links
Reference:
API DOC: https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/AuthorizeSecurityGroupEgressCommand/
AuthorizeSecurityGroupEgressRequess interface:
aws-sdk-js-v3/clients/client-ec2/src/models/models_0.ts
Line 6796 in 7497406