Skip to content

Commit

Permalink
test(signature-v4-multi-region): events signingName fix
Browse files Browse the repository at this point in the history
  • Loading branch information
siddsriv committed Aug 20, 2024
1 parent 19b2750 commit 7bd6a61
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import "@smithy/signature-v4a";

import { Sha256 } from "@aws-crypto/sha256-js";
import { EventBridgeClient, PutRuleCommand, DeleteRuleCommand, DescribeRuleCommand } from "@aws-sdk/client-eventbridge";
import { DeleteRuleCommand, DescribeRuleCommand, EventBridgeClient, PutRuleCommand } from "@aws-sdk/client-eventbridge";
import { GetCallerIdentityCommand, STSClient } from "@aws-sdk/client-sts";
import { SignatureV4MultiRegion } from "@aws-sdk/signature-v4-multi-region";
import { HttpRequest } from "@smithy/protocol-http";
Expand All @@ -20,7 +20,7 @@ describe("EventBridge with SignatureV4a (JS Implementation)", () => {
ruleName = `test-rule-${Account}-${timestamp}`;

signer = new SignatureV4MultiRegion({
service: "eventbridge",
service: "events",
region: "*",
sha256: Sha256,
credentials: {
Expand Down Expand Up @@ -96,4 +96,4 @@ describe("EventBridge with SignatureV4a (JS Implementation)", () => {

// delete is handled in afterAll
});
});
});

0 comments on commit 7bd6a61

Please sign in to comment.