Replace Ruby SDK models with official Smithy repository #901
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Replace the AWS SDK Ruby models with the official AWS Smithy API models repository. This enables access to the latest API definitions and removes the dependency on the Ruby SDK, which was included solely for the API models rather than the SDK itself.
Changes
Submodule migration: Replace
aws-sdk-rubywithaws/api-models-awsrepositoryaws-sdk-ruby/apis/apigateway/.../api-2.json→api-models-aws/models/api-gateway/.../api-gateway-....jsonGenerator enhancements: Add Smithy format support with type safety
namespace#ShapeName).*suffix to match role paths in Terraform configs{####}placeholderResource cleanup: Remove deprecated resources and attributes
Generated output changes:
aws_ecs_account_setting_default_invalid_name,aws_guardduty_member_invalid_email,aws_route53_record_invalid_zone_idBreaking Changes
Validation Changes (More Strict)
These rules now enforce stricter validation that may reject previously accepted values:
Cognito SMS messages (
aws_cognito_user_pool_invalid_sms_authentication_message,aws_cognito_user_pool_invalid_sms_verification_message):{####}placeholder within message text, not as standalone value"Your code is {####}"is valid, but"{####}"alone is notName validation patterns: Various EC2/ECS resource name patterns now correctly enforce end-of-string validation
$anchorDeviceFarm ARN patterns: Now enforce complete ARN format with proper termination
These changes reflect the authoritative patterns from AWS's official Smithy models.
References
Closes #893
Closes #900