-
Notifications
You must be signed in to change notification settings - Fork 603
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
Glacier migration #485
Glacier migration #485
Conversation
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Codecov Report
@@ Coverage Diff @@
## smithy-codegen #485 +/- ##
===============================================
Coverage 94.54% 94.54%
===============================================
Files 68 68
Lines 1284 1284
Branches 256 256
===============================================
Hits 1214 1214
Misses 70 70 Continue to review full report at Codecov.
|
...t-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/AddBuiltinPlugins.java
Outdated
Show resolved
Hide resolved
...t-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/AddBuiltinPlugins.java
Outdated
Show resolved
Hide resolved
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
ca7934e
to
8abc6cb
Compare
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
b9f5875
to
9481c01
Compare
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
): Promise<BuildHandlerOutput<Output>> => { | ||
let request = args.request; | ||
if (HttpRequest.isInstance(request)) { | ||
request.headers["x-amz-glacier-version"] = "2012-06-01"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This probably need to change after #490 lands
.servicePredicate((m, s) -> testServiceId(s, "S3")) | ||
.build(), | ||
RuntimeClientPlugin.builder() | ||
.withConventions("@aws-sdk/middleware-sdk-glacier", "^0.1.0-preview.7", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One more thing: Can you add these middleware to AwsDependency
class, this way we can easier maintain the dependencies
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed in 8766e3e
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread. |
migrates and applies AddGlacierApiVersionMiddleware
For now, this hard-codes the api version. This will need to be updated with a way to dynamically pull in the version for the service.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.