Skip to content

Commit

Permalink
feat: shared Glacier plugin with accountIdDefaultMiddleware (#548)
Browse files Browse the repository at this point in the history
* feat: add and apply accountIdDefaultMiddleware

* feat: remove middleware-input-default

* feat: shared plugin

* fix: remove second glacier plugin
  • Loading branch information
Chase Coalwell authored and trivikr committed Jan 3, 2020
1 parent 6cf55c6 commit bd8d970
Show file tree
Hide file tree
Showing 20 changed files with 146 additions and 559 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ public List<RuntimeClientPlugin> getClientPlugins() {
.servicePredicate((m, s) -> testServiceId(s, "S3"))
.build(),
RuntimeClientPlugin.builder()
.withConventions(AwsDependency.ADD_GLACIER_API_VERSION.dependency,
"AddGlacierApiVersion", HAS_MIDDLEWARE)
.withConventions(AwsDependency.GLACIER_MIDDLEWARE.dependency,
"Glacier", HAS_MIDDLEWARE)
.servicePredicate((m, s) -> testServiceId(s, "Glacier"))
.build(),
RuntimeClientPlugin.builder()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public enum AwsDependency implements SymbolDependencyContainer {
ACCEPTS_HEADER(NORMAL_DEPENDENCY, "@aws-sdk/middleware-sdk-api-gateway", "^0.1.0-preview.5"),
VALIDATE_BUCKET_NAME(NORMAL_DEPENDENCY, "@aws-sdk/middleware-sdk-s3", "^0.1.0-preview.2"),
ADD_EXPECT_CONTINUE(NORMAL_DEPENDENCY, "@aws-sdk/middleware-expect-continue", "^0.1.0-preview.5"),
ADD_GLACIER_API_VERSION(NORMAL_DEPENDENCY, "@aws-sdk/middleware-sdk-glacier", "^0.1.0-preview.7"),
GLACIER_MIDDLEWARE(NORMAL_DEPENDENCY, "@aws-sdk/middleware-sdk-glacier", "^0.1.0-preview.7"),
SSEC_MIDDLEWARE(NORMAL_DEPENDENCY, "@aws-sdk/middleware-ssec", "^0.1.0-preview.5"),
LOCATION_CONSTRAINT(NORMAL_DEPENDENCY, "@aws-sdk/middleware-location-constraint", "^0.1.0-preview.5"),
MD5_BROWSER(NORMAL_DEPENDENCY, "@aws-sdk/md5-js", "^0.1.0-preview.8"),
Expand Down
8 changes: 0 additions & 8 deletions packages/middleware-input-default/.gitignore

This file was deleted.

13 changes: 0 additions & 13 deletions packages/middleware-input-default/.npmignore

This file was deleted.

144 changes: 0 additions & 144 deletions packages/middleware-input-default/CHANGELOG.md

This file was deleted.

201 changes: 0 additions & 201 deletions packages/middleware-input-default/LICENSE

This file was deleted.

4 changes: 0 additions & 4 deletions packages/middleware-input-default/README.md

This file was deleted.

Loading

0 comments on commit bd8d970

Please sign in to comment.