Skip to content
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

fix(client-timestream-*): use correct endpoint prefix #1643

Merged
merged 1 commit into from
Oct 29, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions clients/client-timestream-query/endpoints.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { RegionInfo, RegionInfoProvider } from "@aws-sdk/types";

// Partition default templates
const AWS_TEMPLATE = "timestream.{region}.amazonaws.com";
const AWS_CN_TEMPLATE = "timestream.{region}.amazonaws.com.cn";
const AWS_ISO_TEMPLATE = "timestream.{region}.c2s.ic.gov";
const AWS_ISO_B_TEMPLATE = "timestream.{region}.sc2s.sgov.gov";
const AWS_US_GOV_TEMPLATE = "timestream.{region}.amazonaws.com";
const AWS_TEMPLATE = "query.timestream.{region}.amazonaws.com";
const AWS_CN_TEMPLATE = "query.timestream.{region}.amazonaws.com.cn";
const AWS_ISO_TEMPLATE = "query.timestream.{region}.c2s.ic.gov";
const AWS_ISO_B_TEMPLATE = "query.timestream.{region}.sc2s.sgov.gov";
const AWS_US_GOV_TEMPLATE = "query.timestream.{region}.amazonaws.com";

// Partition regions
const AWS_REGIONS = new Set([
Expand Down
10 changes: 5 additions & 5 deletions clients/client-timestream-write/endpoints.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { RegionInfo, RegionInfoProvider } from "@aws-sdk/types";

// Partition default templates
const AWS_TEMPLATE = "timestream.{region}.amazonaws.com";
const AWS_CN_TEMPLATE = "timestream.{region}.amazonaws.com.cn";
const AWS_ISO_TEMPLATE = "timestream.{region}.c2s.ic.gov";
const AWS_ISO_B_TEMPLATE = "timestream.{region}.sc2s.sgov.gov";
const AWS_US_GOV_TEMPLATE = "timestream.{region}.amazonaws.com";
const AWS_TEMPLATE = "ingest.timestream.{region}.amazonaws.com";
const AWS_CN_TEMPLATE = "ingest.timestream.{region}.amazonaws.com.cn";
const AWS_ISO_TEMPLATE = "ingest.timestream.{region}.c2s.ic.gov";
const AWS_ISO_B_TEMPLATE = "ingest.timestream.{region}.sc2s.sgov.gov";
const AWS_US_GOV_TEMPLATE = "ingest.timestream.{region}.amazonaws.com";

// Partition regions
const AWS_REGIONS = new Set([
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,8 @@
"Support": "support",
"SWF": "swf",
"Textract": "textract",
"Timestream Query": "query.timestream",
"Timestream Write": "ingest.timestream",
"Transcribe": "transcribe",
"Transcribe Streaming": "transcribestreaming",
"Transfer": "transfer",
Expand Down