Skip to content

Commit

Permalink
feat(client-dynamodb-streams): Endpoint Ruleset update: Use http inst…
Browse files Browse the repository at this point in the history
…ead of https for the "local" region.
  • Loading branch information
awstools committed Dec 6, 2022
1 parent 7ed68cc commit 7ff89f0
Show file tree
Hide file tree
Showing 3 changed files with 144 additions and 162 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const resolveClientEndpointParameters = <T>(
};

export interface EndpointParameters extends __EndpointParameters {
Region?: string;
Region: string;
UseDualStack?: boolean;
UseFIPS?: boolean;
Endpoint?: string;
Expand Down
13 changes: 2 additions & 11 deletions clients/client-dynamodb-streams/src/endpoint/ruleset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const ruleSet: RuleSetObject = {
parameters: {
Region: {
builtIn: "AWS::Region",
required: false,
required: true,
documentation: "The AWS region used to dispatch the request.",
type: "String",
},
Expand Down Expand Up @@ -58,15 +58,6 @@ export const ruleSet: RuleSetObject = {
},
],
},
{
fn: "parseURL",
argv: [
{
ref: "Endpoint",
},
],
assign: "url",
},
],
type: "tree",
rules: [
Expand Down Expand Up @@ -347,7 +338,7 @@ export const ruleSet: RuleSetObject = {
},
],
endpoint: {
url: "https://localhost:8000",
url: "http://localhost:8000",
properties: {
authSchemes: [
{
Expand Down
Loading

0 comments on commit 7ff89f0

Please sign in to comment.