Skip to content

AWS scraper: preserve required option markers #4337

Description

@thomhurst

Problem

AwsCliScraper hard-codes every named option as optional, discarding AWS help required markers. Generated services therefore allow invalid empty calls such as EC2 terminate-instances without --instance-ids or create-key-pair without --key-name.

Acceptance criteria

  • Capture required markers from AWS synopsis and option documentation.
  • Generate required constructor members and non-null service facade parameters.
  • Preserve compatibility only for shipped APIs.
  • Add regression tests for EC2 terminate-instances and create-key-pair.
  • Regenerate affected AWS options and facades.

Discovered while validating #4311.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions