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
Hi AWS team, I am trying to understand how service clients like S3 are generated in the AWS SDK for Go V2. In the V1 SDK (aws-sdk-go), we used the make gen-services command to generate service clients.
I found codegen/sdk-codegen/aws-models/s3.json similar to api-2.json I tried cd codegen && ./gradlew clean build -Plog-tests && ./gradlew clean but couldn't succeed.
However, I couldn’t find a similar documented approach in aws-sdk-go-v2. My use case involves either:
Regenerating the S3 service from Smithy models defined in codegen/sdk-codegen/aws-models/s3.json
Could you please clarify: What is the official way to generate or regenerate a service client (like S3) in the SDK v2?
Is there a documented process or toolchain (e.g., Smithy + smithy-go plugin) that the SDK uses internally?
Are there any examples or scripts available in the repo or elsewhere that show how this is done?
Any guidance or links to internal tooling or best practices would be appreciated. Thanks!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi AWS team,
I am trying to understand how service clients like S3 are generated in the AWS SDK for Go V2. In the V1 SDK (aws-sdk-go), we used the
make gen-servicescommand to generate service clients.I found
codegen/sdk-codegen/aws-models/s3.jsonsimilar toapi-2.jsonI tried
cd codegen && ./gradlew clean build -Plog-tests && ./gradlew cleanbut couldn't succeed.However, I couldn’t find a similar documented approach in aws-sdk-go-v2. My use case involves either:
codegen/sdk-codegen/aws-models/s3.jsonCould you please clarify:
What is the official way to generate or regenerate a service client (like S3) in the SDK v2?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions