Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add feature ID for S3 Transfer Manager #3921

Merged
merged 4 commits into from
Nov 26, 2024

Conversation

ysaito1001
Copy link
Contributor

@ysaito1001 ysaito1001 commented Nov 26, 2024

Motivation and Context

This PR introduces the AwsSdkFeature enum, which will be used for AWS SDK-specific feature identifiers. For now, it includes a single ID for the S3 Transfer Manager. This approach is similar to the existing SmithySdkFeature in terms of its module and crate structure (that is for generic client but AwsSdkFeature is AWS specific); the sdk_feature module is hidden as it is intended for internal use only.

Testing

Added an integration test to verify tracking a business metric for Transfer Manager. Since Transfer Manager is a high-level library, we do not track its business metric directly within the smithy-rs repository. Instead, an s3 client used in aws-s3-transfer-manager-rs can configure the s3 client as demonstrated in the integration test to track the metric.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Copy link

A new generated diff is ready to view.

  • AWS SDK (ignoring whitespace)
  • No codegen difference in the Client Test
  • No codegen difference in the Server Test
  • No codegen difference in the Server Test Python
  • No codegen difference in the Server Test Typescript

A new doc preview is ready to view.

@ysaito1001 ysaito1001 marked this pull request as ready for review November 26, 2024 17:20
@ysaito1001 ysaito1001 requested a review from a team as a code owner November 26, 2024 17:20
ysaito1001 and others added 2 commits November 26, 2024 11:45
@ysaito1001 ysaito1001 enabled auto-merge November 26, 2024 18:05
Copy link

A new generated diff is ready to view.

A new doc preview is ready to view.

@ysaito1001 ysaito1001 added this pull request to the merge queue Nov 26, 2024
Merged via the queue into main with commit e54cc56 Nov 26, 2024
43 of 44 checks passed
@ysaito1001 ysaito1001 deleted the ysaito/add-aws-sdk-feature-for-s3-tm branch November 26, 2024 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants