Skip to content

I see the required mark in the AWS APIs is misleading. #6689

@shivam-sek21

Description

@shivam-sek21

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 {

Metadata

Metadata

Assignees

Labels

documentationThis is a problem with documentation.p2This is a standard priority issueservice-apiThis issue is due to a problem in a service API, not the SDK implementation.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions