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

chore: codegen for endpoint and hostname prefixing #777

Merged
merged 3 commits into from
Jan 23, 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.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 6 additions & 0 deletions clients/client-acm-pca/ACMPCAClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,12 @@ export interface ClientDefaults
*/
runtime?: string;

/**
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
* trait of an operation.
*/
disableHostPrefix?: boolean;

/**
* The service name with which to sign requests.
*/
Expand Down
1 change: 1 addition & 0 deletions clients/client-acm-pca/runtimeConfig.shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { defaultRegionInfoProvider } from "./endpoints";

export const ClientSharedValues = {
apiVersion: "2017-08-22",
disableHostPrefix: false,
signingName: "acm-pca",
regionInfoProvider: defaultRegionInfoProvider
};
6 changes: 6 additions & 0 deletions clients/client-acm/ACMClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,12 @@ export interface ClientDefaults
*/
runtime?: string;

/**
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
* trait of an operation.
*/
disableHostPrefix?: boolean;

/**
* The service name with which to sign requests.
*/
Expand Down
1 change: 1 addition & 0 deletions clients/client-acm/runtimeConfig.shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { defaultRegionInfoProvider } from "./endpoints";

export const ClientSharedValues = {
apiVersion: "2015-12-08",
disableHostPrefix: false,
signingName: "acm",
regionInfoProvider: defaultRegionInfoProvider
};
6 changes: 6 additions & 0 deletions clients/client-alexa-for-business/AlexaForBusinessClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -486,6 +486,12 @@ export interface ClientDefaults
*/
runtime?: string;

/**
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
* trait of an operation.
*/
disableHostPrefix?: boolean;

/**
* The service name with which to sign requests.
*/
Expand Down
1 change: 1 addition & 0 deletions clients/client-alexa-for-business/runtimeConfig.shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { defaultRegionInfoProvider } from "./endpoints";

export const ClientSharedValues = {
apiVersion: "2017-11-09",
disableHostPrefix: false,
signingName: "a4b",
regionInfoProvider: defaultRegionInfoProvider
};
6 changes: 6 additions & 0 deletions clients/client-amplify/AmplifyClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,12 @@ export interface ClientDefaults
*/
runtime?: string;

/**
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
* trait of an operation.
*/
disableHostPrefix?: boolean;

/**
* The service name with which to sign requests.
*/
Expand Down
1 change: 1 addition & 0 deletions clients/client-amplify/runtimeConfig.shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { defaultRegionInfoProvider } from "./endpoints";

export const ClientSharedValues = {
apiVersion: "2017-07-25",
disableHostPrefix: false,
signingName: "amplify",
regionInfoProvider: defaultRegionInfoProvider
};
6 changes: 6 additions & 0 deletions clients/client-api-gateway/APIGatewayClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -502,6 +502,12 @@ export interface ClientDefaults
*/
runtime?: string;

/**
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
* trait of an operation.
*/
disableHostPrefix?: boolean;

/**
* The service name with which to sign requests.
*/
Expand Down
1 change: 1 addition & 0 deletions clients/client-api-gateway/runtimeConfig.shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { defaultRegionInfoProvider } from "./endpoints";

export const ClientSharedValues = {
apiVersion: "2015-07-09",
disableHostPrefix: false,
signingName: "apigateway",
regionInfoProvider: defaultRegionInfoProvider
};
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,12 @@ export interface ClientDefaults
*/
runtime?: string;

/**
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
* trait of an operation.
*/
disableHostPrefix?: boolean;

/**
* The service name with which to sign requests.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { defaultRegionInfoProvider } from "./endpoints";

export const ClientSharedValues = {
apiVersion: "2018-11-29",
disableHostPrefix: false,
signingName: "execute-api",
regionInfoProvider: defaultRegionInfoProvider
};
6 changes: 6 additions & 0 deletions clients/client-apigatewayv2/ApiGatewayV2Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,12 @@ export interface ClientDefaults
*/
runtime?: string;

/**
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
* trait of an operation.
*/
disableHostPrefix?: boolean;

/**
* The service name with which to sign requests.
*/
Expand Down
1 change: 1 addition & 0 deletions clients/client-apigatewayv2/runtimeConfig.shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { defaultRegionInfoProvider } from "./endpoints";

export const ClientSharedValues = {
apiVersion: "2018-11-29",
disableHostPrefix: false,
signingName: "apigateway",
regionInfoProvider: defaultRegionInfoProvider
};
6 changes: 6 additions & 0 deletions clients/client-appconfig/AppConfigClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,12 @@ export interface ClientDefaults
*/
runtime?: string;

/**
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
* trait of an operation.
*/
disableHostPrefix?: boolean;

/**
* The service name with which to sign requests.
*/
Expand Down
1 change: 1 addition & 0 deletions clients/client-appconfig/runtimeConfig.shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { defaultRegionInfoProvider } from "./endpoints";

export const ClientSharedValues = {
apiVersion: "2019-10-09",
disableHostPrefix: false,
signingName: "appconfig",
regionInfoProvider: defaultRegionInfoProvider
};
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,12 @@ export interface ClientDefaults
*/
runtime?: string;

/**
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
* trait of an operation.
*/
disableHostPrefix?: boolean;

/**
* The service name with which to sign requests.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { defaultRegionInfoProvider } from "./endpoints";

export const ClientSharedValues = {
apiVersion: "2016-02-06",
disableHostPrefix: false,
signingName: "application-autoscaling",
regionInfoProvider: defaultRegionInfoProvider
};
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,12 @@ export interface ClientDefaults
*/
runtime?: string;

/**
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
* trait of an operation.
*/
disableHostPrefix?: boolean;

/**
* The service name with which to sign requests.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { defaultRegionInfoProvider } from "./endpoints";

export const ClientSharedValues = {
apiVersion: "2015-11-01",
disableHostPrefix: false,
signingName: "discovery",
regionInfoProvider: defaultRegionInfoProvider
};
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,12 @@ export interface ClientDefaults
*/
runtime?: string;

/**
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
* trait of an operation.
*/
disableHostPrefix?: boolean;

/**
* The service name with which to sign requests.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { defaultRegionInfoProvider } from "./endpoints";

export const ClientSharedValues = {
apiVersion: "2018-11-25",
disableHostPrefix: false,
signingName: "applicationinsights",
regionInfoProvider: defaultRegionInfoProvider
};
6 changes: 6 additions & 0 deletions clients/client-appstream/AppStreamClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,12 @@ export interface ClientDefaults
*/
runtime?: string;

/**
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
* trait of an operation.
*/
disableHostPrefix?: boolean;

/**
* The service name with which to sign requests.
*/
Expand Down
1 change: 1 addition & 0 deletions clients/client-appstream/runtimeConfig.shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { defaultRegionInfoProvider } from "./endpoints";

export const ClientSharedValues = {
apiVersion: "2016-12-01",
disableHostPrefix: false,
signingName: "appstream",
regionInfoProvider: defaultRegionInfoProvider
};
6 changes: 6 additions & 0 deletions clients/client-appsync/AppSyncClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,12 @@ export interface ClientDefaults
*/
runtime?: string;

/**
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
* trait of an operation.
*/
disableHostPrefix?: boolean;

/**
* The service name with which to sign requests.
*/
Expand Down
1 change: 1 addition & 0 deletions clients/client-appsync/runtimeConfig.shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { defaultRegionInfoProvider } from "./endpoints";

export const ClientSharedValues = {
apiVersion: "2017-07-25",
disableHostPrefix: false,
signingName: "appsync",
regionInfoProvider: defaultRegionInfoProvider
};
6 changes: 6 additions & 0 deletions clients/client-athena/AthenaClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,12 @@ export interface ClientDefaults
*/
runtime?: string;

/**
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
* trait of an operation.
*/
disableHostPrefix?: boolean;

/**
* The service name with which to sign requests.
*/
Expand Down
1 change: 1 addition & 0 deletions clients/client-athena/runtimeConfig.shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { defaultRegionInfoProvider } from "./endpoints";

export const ClientSharedValues = {
apiVersion: "2017-05-18",
disableHostPrefix: false,
signingName: "athena",
regionInfoProvider: defaultRegionInfoProvider
};
6 changes: 6 additions & 0 deletions clients/client-auto-scaling-plans/AutoScalingPlansClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,12 @@ export interface ClientDefaults
*/
runtime?: string;

/**
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
* trait of an operation.
*/
disableHostPrefix?: boolean;

/**
* The service name with which to sign requests.
*/
Expand Down
1 change: 1 addition & 0 deletions clients/client-auto-scaling-plans/runtimeConfig.shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { defaultRegionInfoProvider } from "./endpoints";

export const ClientSharedValues = {
apiVersion: "2018-01-06",
disableHostPrefix: false,
signingName: "autoscaling-plans",
regionInfoProvider: defaultRegionInfoProvider
};
6 changes: 6 additions & 0 deletions clients/client-auto-scaling/AutoScalingClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,12 @@ export interface ClientDefaults
*/
runtime?: string;

/**
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
* trait of an operation.
*/
disableHostPrefix?: boolean;

/**
* The service name with which to sign requests.
*/
Expand Down
1 change: 1 addition & 0 deletions clients/client-auto-scaling/runtimeConfig.shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { defaultRegionInfoProvider } from "./endpoints";

export const ClientSharedValues = {
apiVersion: "2011-01-01",
disableHostPrefix: false,
signingName: "autoscaling",
regionInfoProvider: defaultRegionInfoProvider
};
6 changes: 6 additions & 0 deletions clients/client-backup/BackupClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,12 @@ export interface ClientDefaults
*/
runtime?: string;

/**
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
* trait of an operation.
*/
disableHostPrefix?: boolean;

/**
* The service name with which to sign requests.
*/
Expand Down
1 change: 1 addition & 0 deletions clients/client-backup/runtimeConfig.shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { defaultRegionInfoProvider } from "./endpoints";

export const ClientSharedValues = {
apiVersion: "2018-11-15",
disableHostPrefix: false,
signingName: "backup",
regionInfoProvider: defaultRegionInfoProvider
};
6 changes: 6 additions & 0 deletions clients/client-batch/BatchClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,12 @@ export interface ClientDefaults
*/
runtime?: string;

/**
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
* trait of an operation.
*/
disableHostPrefix?: boolean;

/**
* The service name with which to sign requests.
*/
Expand Down
1 change: 1 addition & 0 deletions clients/client-batch/runtimeConfig.shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { defaultRegionInfoProvider } from "./endpoints";

export const ClientSharedValues = {
apiVersion: "2016-08-10",
disableHostPrefix: false,
signingName: "batch",
regionInfoProvider: defaultRegionInfoProvider
};
6 changes: 6 additions & 0 deletions clients/client-budgets/BudgetsClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,12 @@ export interface ClientDefaults
*/
runtime?: string;

/**
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
* trait of an operation.
*/
disableHostPrefix?: boolean;

/**
* The service name with which to sign requests.
*/
Expand Down
1 change: 1 addition & 0 deletions clients/client-budgets/runtimeConfig.shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { defaultRegionInfoProvider } from "./endpoints";

export const ClientSharedValues = {
apiVersion: "2016-10-20",
disableHostPrefix: false,
signingName: "budgets",
regionInfoProvider: defaultRegionInfoProvider
};