Skip to content

Commit

Permalink
feat(clients): set configs not modeled in runtimeConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
AllanZhengYP committed Jul 21, 2021
1 parent 6605705 commit d2228a9
Show file tree
Hide file tree
Showing 822 changed files with 822 additions and 0 deletions.
1 change: 1 addition & 0 deletions clients/client-accessanalyzer/runtimeConfig.browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export const getRuntimeConfig = (config: AccessAnalyzerClientConfig) => {
const clientSharedValues = getSharedRuntimeConfig(config);
return {
...clientSharedValues,
...config,
runtime: "browser",
base64Decoder: config.base64Decoder ?? fromBase64,
base64Encoder: config.base64Encoder ?? toBase64,
Expand Down
1 change: 1 addition & 0 deletions clients/client-accessanalyzer/runtimeConfig.native.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export const getRuntimeConfig = (config: AccessAnalyzerClientConfig) => {
const browserDefaults = getBrowserRuntimeConfig(config);
return {
...browserDefaults,
...config,
runtime: "react-native",
sha256: config.sha256 ?? Sha256,
};
Expand Down
1 change: 1 addition & 0 deletions clients/client-accessanalyzer/runtimeConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export const getRuntimeConfig = (config: AccessAnalyzerClientConfig) => {
const clientSharedValues = getSharedRuntimeConfig(config);
return {
...clientSharedValues,
...config,
runtime: "node",
base64Decoder: config.base64Decoder ?? fromBase64,
base64Encoder: config.base64Encoder ?? toBase64,
Expand Down
1 change: 1 addition & 0 deletions clients/client-acm-pca/runtimeConfig.browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export const getRuntimeConfig = (config: ACMPCAClientConfig) => {
const clientSharedValues = getSharedRuntimeConfig(config);
return {
...clientSharedValues,
...config,
runtime: "browser",
base64Decoder: config.base64Decoder ?? fromBase64,
base64Encoder: config.base64Encoder ?? toBase64,
Expand Down
1 change: 1 addition & 0 deletions clients/client-acm-pca/runtimeConfig.native.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export const getRuntimeConfig = (config: ACMPCAClientConfig) => {
const browserDefaults = getBrowserRuntimeConfig(config);
return {
...browserDefaults,
...config,
runtime: "react-native",
sha256: config.sha256 ?? Sha256,
};
Expand Down
1 change: 1 addition & 0 deletions clients/client-acm-pca/runtimeConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export const getRuntimeConfig = (config: ACMPCAClientConfig) => {
const clientSharedValues = getSharedRuntimeConfig(config);
return {
...clientSharedValues,
...config,
runtime: "node",
base64Decoder: config.base64Decoder ?? fromBase64,
base64Encoder: config.base64Encoder ?? toBase64,
Expand Down
1 change: 1 addition & 0 deletions clients/client-acm/runtimeConfig.browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export const getRuntimeConfig = (config: ACMClientConfig) => {
const clientSharedValues = getSharedRuntimeConfig(config);
return {
...clientSharedValues,
...config,
runtime: "browser",
base64Decoder: config.base64Decoder ?? fromBase64,
base64Encoder: config.base64Encoder ?? toBase64,
Expand Down
1 change: 1 addition & 0 deletions clients/client-acm/runtimeConfig.native.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export const getRuntimeConfig = (config: ACMClientConfig) => {
const browserDefaults = getBrowserRuntimeConfig(config);
return {
...browserDefaults,
...config,
runtime: "react-native",
sha256: config.sha256 ?? Sha256,
};
Expand Down
1 change: 1 addition & 0 deletions clients/client-acm/runtimeConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export const getRuntimeConfig = (config: ACMClientConfig) => {
const clientSharedValues = getSharedRuntimeConfig(config);
return {
...clientSharedValues,
...config,
runtime: "node",
base64Decoder: config.base64Decoder ?? fromBase64,
base64Encoder: config.base64Encoder ?? toBase64,
Expand Down
1 change: 1 addition & 0 deletions clients/client-alexa-for-business/runtimeConfig.browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export const getRuntimeConfig = (config: AlexaForBusinessClientConfig) => {
const clientSharedValues = getSharedRuntimeConfig(config);
return {
...clientSharedValues,
...config,
runtime: "browser",
base64Decoder: config.base64Decoder ?? fromBase64,
base64Encoder: config.base64Encoder ?? toBase64,
Expand Down
1 change: 1 addition & 0 deletions clients/client-alexa-for-business/runtimeConfig.native.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export const getRuntimeConfig = (config: AlexaForBusinessClientConfig) => {
const browserDefaults = getBrowserRuntimeConfig(config);
return {
...browserDefaults,
...config,
runtime: "react-native",
sha256: config.sha256 ?? Sha256,
};
Expand Down
1 change: 1 addition & 0 deletions clients/client-alexa-for-business/runtimeConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export const getRuntimeConfig = (config: AlexaForBusinessClientConfig) => {
const clientSharedValues = getSharedRuntimeConfig(config);
return {
...clientSharedValues,
...config,
runtime: "node",
base64Decoder: config.base64Decoder ?? fromBase64,
base64Encoder: config.base64Encoder ?? toBase64,
Expand Down
1 change: 1 addition & 0 deletions clients/client-amp/runtimeConfig.browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export const getRuntimeConfig = (config: AmpClientConfig) => {
const clientSharedValues = getSharedRuntimeConfig(config);
return {
...clientSharedValues,
...config,
runtime: "browser",
base64Decoder: config.base64Decoder ?? fromBase64,
base64Encoder: config.base64Encoder ?? toBase64,
Expand Down
1 change: 1 addition & 0 deletions clients/client-amp/runtimeConfig.native.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export const getRuntimeConfig = (config: AmpClientConfig) => {
const browserDefaults = getBrowserRuntimeConfig(config);
return {
...browserDefaults,
...config,
runtime: "react-native",
sha256: config.sha256 ?? Sha256,
};
Expand Down
1 change: 1 addition & 0 deletions clients/client-amp/runtimeConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export const getRuntimeConfig = (config: AmpClientConfig) => {
const clientSharedValues = getSharedRuntimeConfig(config);
return {
...clientSharedValues,
...config,
runtime: "node",
base64Decoder: config.base64Decoder ?? fromBase64,
base64Encoder: config.base64Encoder ?? toBase64,
Expand Down
1 change: 1 addition & 0 deletions clients/client-amplify/runtimeConfig.browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export const getRuntimeConfig = (config: AmplifyClientConfig) => {
const clientSharedValues = getSharedRuntimeConfig(config);
return {
...clientSharedValues,
...config,
runtime: "browser",
base64Decoder: config.base64Decoder ?? fromBase64,
base64Encoder: config.base64Encoder ?? toBase64,
Expand Down
1 change: 1 addition & 0 deletions clients/client-amplify/runtimeConfig.native.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export const getRuntimeConfig = (config: AmplifyClientConfig) => {
const browserDefaults = getBrowserRuntimeConfig(config);
return {
...browserDefaults,
...config,
runtime: "react-native",
sha256: config.sha256 ?? Sha256,
};
Expand Down
1 change: 1 addition & 0 deletions clients/client-amplify/runtimeConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export const getRuntimeConfig = (config: AmplifyClientConfig) => {
const clientSharedValues = getSharedRuntimeConfig(config);
return {
...clientSharedValues,
...config,
runtime: "node",
base64Decoder: config.base64Decoder ?? fromBase64,
base64Encoder: config.base64Encoder ?? toBase64,
Expand Down
1 change: 1 addition & 0 deletions clients/client-amplifybackend/runtimeConfig.browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export const getRuntimeConfig = (config: AmplifyBackendClientConfig) => {
const clientSharedValues = getSharedRuntimeConfig(config);
return {
...clientSharedValues,
...config,
runtime: "browser",
base64Decoder: config.base64Decoder ?? fromBase64,
base64Encoder: config.base64Encoder ?? toBase64,
Expand Down
1 change: 1 addition & 0 deletions clients/client-amplifybackend/runtimeConfig.native.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export const getRuntimeConfig = (config: AmplifyBackendClientConfig) => {
const browserDefaults = getBrowserRuntimeConfig(config);
return {
...browserDefaults,
...config,
runtime: "react-native",
sha256: config.sha256 ?? Sha256,
};
Expand Down
1 change: 1 addition & 0 deletions clients/client-amplifybackend/runtimeConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export const getRuntimeConfig = (config: AmplifyBackendClientConfig) => {
const clientSharedValues = getSharedRuntimeConfig(config);
return {
...clientSharedValues,
...config,
runtime: "node",
base64Decoder: config.base64Decoder ?? fromBase64,
base64Encoder: config.base64Encoder ?? toBase64,
Expand Down
1 change: 1 addition & 0 deletions clients/client-api-gateway/runtimeConfig.browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export const getRuntimeConfig = (config: APIGatewayClientConfig) => {
const clientSharedValues = getSharedRuntimeConfig(config);
return {
...clientSharedValues,
...config,
runtime: "browser",
base64Decoder: config.base64Decoder ?? fromBase64,
base64Encoder: config.base64Encoder ?? toBase64,
Expand Down
1 change: 1 addition & 0 deletions clients/client-api-gateway/runtimeConfig.native.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export const getRuntimeConfig = (config: APIGatewayClientConfig) => {
const browserDefaults = getBrowserRuntimeConfig(config);
return {
...browserDefaults,
...config,
runtime: "react-native",
sha256: config.sha256 ?? Sha256,
};
Expand Down
1 change: 1 addition & 0 deletions clients/client-api-gateway/runtimeConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export const getRuntimeConfig = (config: APIGatewayClientConfig) => {
const clientSharedValues = getSharedRuntimeConfig(config);
return {
...clientSharedValues,
...config,
runtime: "node",
base64Decoder: config.base64Decoder ?? fromBase64,
base64Encoder: config.base64Encoder ?? toBase64,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export const getRuntimeConfig = (config: ApiGatewayManagementApiClientConfig) =>
const clientSharedValues = getSharedRuntimeConfig(config);
return {
...clientSharedValues,
...config,
runtime: "browser",
base64Decoder: config.base64Decoder ?? fromBase64,
base64Encoder: config.base64Encoder ?? toBase64,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export const getRuntimeConfig = (config: ApiGatewayManagementApiClientConfig) =>
const browserDefaults = getBrowserRuntimeConfig(config);
return {
...browserDefaults,
...config,
runtime: "react-native",
sha256: config.sha256 ?? Sha256,
};
Expand Down
1 change: 1 addition & 0 deletions clients/client-apigatewaymanagementapi/runtimeConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export const getRuntimeConfig = (config: ApiGatewayManagementApiClientConfig) =>
const clientSharedValues = getSharedRuntimeConfig(config);
return {
...clientSharedValues,
...config,
runtime: "node",
base64Decoder: config.base64Decoder ?? fromBase64,
base64Encoder: config.base64Encoder ?? toBase64,
Expand Down
1 change: 1 addition & 0 deletions clients/client-apigatewayv2/runtimeConfig.browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export const getRuntimeConfig = (config: ApiGatewayV2ClientConfig) => {
const clientSharedValues = getSharedRuntimeConfig(config);
return {
...clientSharedValues,
...config,
runtime: "browser",
base64Decoder: config.base64Decoder ?? fromBase64,
base64Encoder: config.base64Encoder ?? toBase64,
Expand Down
1 change: 1 addition & 0 deletions clients/client-apigatewayv2/runtimeConfig.native.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export const getRuntimeConfig = (config: ApiGatewayV2ClientConfig) => {
const browserDefaults = getBrowserRuntimeConfig(config);
return {
...browserDefaults,
...config,
runtime: "react-native",
sha256: config.sha256 ?? Sha256,
};
Expand Down
1 change: 1 addition & 0 deletions clients/client-apigatewayv2/runtimeConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export const getRuntimeConfig = (config: ApiGatewayV2ClientConfig) => {
const clientSharedValues = getSharedRuntimeConfig(config);
return {
...clientSharedValues,
...config,
runtime: "node",
base64Decoder: config.base64Decoder ?? fromBase64,
base64Encoder: config.base64Encoder ?? toBase64,
Expand Down
1 change: 1 addition & 0 deletions clients/client-app-mesh/runtimeConfig.browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export const getRuntimeConfig = (config: AppMeshClientConfig) => {
const clientSharedValues = getSharedRuntimeConfig(config);
return {
...clientSharedValues,
...config,
runtime: "browser",
base64Decoder: config.base64Decoder ?? fromBase64,
base64Encoder: config.base64Encoder ?? toBase64,
Expand Down
1 change: 1 addition & 0 deletions clients/client-app-mesh/runtimeConfig.native.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export const getRuntimeConfig = (config: AppMeshClientConfig) => {
const browserDefaults = getBrowserRuntimeConfig(config);
return {
...browserDefaults,
...config,
runtime: "react-native",
sha256: config.sha256 ?? Sha256,
};
Expand Down
1 change: 1 addition & 0 deletions clients/client-app-mesh/runtimeConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export const getRuntimeConfig = (config: AppMeshClientConfig) => {
const clientSharedValues = getSharedRuntimeConfig(config);
return {
...clientSharedValues,
...config,
runtime: "node",
base64Decoder: config.base64Decoder ?? fromBase64,
base64Encoder: config.base64Encoder ?? toBase64,
Expand Down
1 change: 1 addition & 0 deletions clients/client-appconfig/runtimeConfig.browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export const getRuntimeConfig = (config: AppConfigClientConfig) => {
const clientSharedValues = getSharedRuntimeConfig(config);
return {
...clientSharedValues,
...config,
runtime: "browser",
base64Decoder: config.base64Decoder ?? fromBase64,
base64Encoder: config.base64Encoder ?? toBase64,
Expand Down
1 change: 1 addition & 0 deletions clients/client-appconfig/runtimeConfig.native.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export const getRuntimeConfig = (config: AppConfigClientConfig) => {
const browserDefaults = getBrowserRuntimeConfig(config);
return {
...browserDefaults,
...config,
runtime: "react-native",
sha256: config.sha256 ?? Sha256,
};
Expand Down
1 change: 1 addition & 0 deletions clients/client-appconfig/runtimeConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export const getRuntimeConfig = (config: AppConfigClientConfig) => {
const clientSharedValues = getSharedRuntimeConfig(config);
return {
...clientSharedValues,
...config,
runtime: "node",
base64Decoder: config.base64Decoder ?? fromBase64,
base64Encoder: config.base64Encoder ?? toBase64,
Expand Down
1 change: 1 addition & 0 deletions clients/client-appflow/runtimeConfig.browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export const getRuntimeConfig = (config: AppflowClientConfig) => {
const clientSharedValues = getSharedRuntimeConfig(config);
return {
...clientSharedValues,
...config,
runtime: "browser",
base64Decoder: config.base64Decoder ?? fromBase64,
base64Encoder: config.base64Encoder ?? toBase64,
Expand Down
1 change: 1 addition & 0 deletions clients/client-appflow/runtimeConfig.native.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export const getRuntimeConfig = (config: AppflowClientConfig) => {
const browserDefaults = getBrowserRuntimeConfig(config);
return {
...browserDefaults,
...config,
runtime: "react-native",
sha256: config.sha256 ?? Sha256,
};
Expand Down
1 change: 1 addition & 0 deletions clients/client-appflow/runtimeConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export const getRuntimeConfig = (config: AppflowClientConfig) => {
const clientSharedValues = getSharedRuntimeConfig(config);
return {
...clientSharedValues,
...config,
runtime: "node",
base64Decoder: config.base64Decoder ?? fromBase64,
base64Encoder: config.base64Encoder ?? toBase64,
Expand Down
1 change: 1 addition & 0 deletions clients/client-appintegrations/runtimeConfig.browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export const getRuntimeConfig = (config: AppIntegrationsClientConfig) => {
const clientSharedValues = getSharedRuntimeConfig(config);
return {
...clientSharedValues,
...config,
runtime: "browser",
base64Decoder: config.base64Decoder ?? fromBase64,
base64Encoder: config.base64Encoder ?? toBase64,
Expand Down
1 change: 1 addition & 0 deletions clients/client-appintegrations/runtimeConfig.native.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export const getRuntimeConfig = (config: AppIntegrationsClientConfig) => {
const browserDefaults = getBrowserRuntimeConfig(config);
return {
...browserDefaults,
...config,
runtime: "react-native",
sha256: config.sha256 ?? Sha256,
};
Expand Down
1 change: 1 addition & 0 deletions clients/client-appintegrations/runtimeConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export const getRuntimeConfig = (config: AppIntegrationsClientConfig) => {
const clientSharedValues = getSharedRuntimeConfig(config);
return {
...clientSharedValues,
...config,
runtime: "node",
base64Decoder: config.base64Decoder ?? fromBase64,
base64Encoder: config.base64Encoder ?? toBase64,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export const getRuntimeConfig = (config: ApplicationAutoScalingClientConfig) =>
const clientSharedValues = getSharedRuntimeConfig(config);
return {
...clientSharedValues,
...config,
runtime: "browser",
base64Decoder: config.base64Decoder ?? fromBase64,
base64Encoder: config.base64Encoder ?? toBase64,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export const getRuntimeConfig = (config: ApplicationAutoScalingClientConfig) =>
const browserDefaults = getBrowserRuntimeConfig(config);
return {
...browserDefaults,
...config,
runtime: "react-native",
sha256: config.sha256 ?? Sha256,
};
Expand Down
1 change: 1 addition & 0 deletions clients/client-application-auto-scaling/runtimeConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export const getRuntimeConfig = (config: ApplicationAutoScalingClientConfig) =>
const clientSharedValues = getSharedRuntimeConfig(config);
return {
...clientSharedValues,
...config,
runtime: "node",
base64Decoder: config.base64Decoder ?? fromBase64,
base64Encoder: config.base64Encoder ?? toBase64,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export const getRuntimeConfig = (config: ApplicationDiscoveryServiceClientConfig
const clientSharedValues = getSharedRuntimeConfig(config);
return {
...clientSharedValues,
...config,
runtime: "browser",
base64Decoder: config.base64Decoder ?? fromBase64,
base64Encoder: config.base64Encoder ?? toBase64,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export const getRuntimeConfig = (config: ApplicationDiscoveryServiceClientConfig
const browserDefaults = getBrowserRuntimeConfig(config);
return {
...browserDefaults,
...config,
runtime: "react-native",
sha256: config.sha256 ?? Sha256,
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export const getRuntimeConfig = (config: ApplicationDiscoveryServiceClientConfig
const clientSharedValues = getSharedRuntimeConfig(config);
return {
...clientSharedValues,
...config,
runtime: "node",
base64Decoder: config.base64Decoder ?? fromBase64,
base64Encoder: config.base64Encoder ?? toBase64,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export const getRuntimeConfig = (config: ApplicationInsightsClientConfig) => {
const clientSharedValues = getSharedRuntimeConfig(config);
return {
...clientSharedValues,
...config,
runtime: "browser",
base64Decoder: config.base64Decoder ?? fromBase64,
base64Encoder: config.base64Encoder ?? toBase64,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export const getRuntimeConfig = (config: ApplicationInsightsClientConfig) => {
const browserDefaults = getBrowserRuntimeConfig(config);
return {
...browserDefaults,
...config,
runtime: "react-native",
sha256: config.sha256 ?? Sha256,
};
Expand Down
Loading

0 comments on commit d2228a9

Please sign in to comment.