Skip to content

Commit

Permalink
fix(middleware-sdk-ec2): restore interface order
Browse files Browse the repository at this point in the history
  • Loading branch information
kuhe committed Jun 8, 2022
1 parent 990d4db commit e2faed4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/middleware-sdk-ec2/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ import {
} from "@aws-sdk/types";
import { formatUrl } from "@aws-sdk/util-format-url";

const version = "2016-11-15";

interface PreviouslyResolved {
credentials: MemoizedProvider<Credentials>;
endpoint: Provider<Endpoint>;
Expand All @@ -28,6 +26,8 @@ interface PreviouslyResolved {
regionInfoProvider?: RegionInfoProvider;
}

const version = "2016-11-15";

//an initialize middleware to add PresignUrl to input
export function copySnapshotPresignedUrlMiddleware(options: PreviouslyResolved): InitializeMiddleware<any, any> {
return <Output extends MetadataBearer>(next: InitializeHandler<any, Output>): InitializeHandler<any, Output> =>
Expand Down

0 comments on commit e2faed4

Please sign in to comment.