Skip to content

Commit 9f6a0b6

Browse files
authored
chore(codegen): use block for loaderConfig (#7098)
1 parent 33db766 commit 9f6a0b6

File tree

420 files changed

+1681
-421
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

420 files changed

+1681
-421
lines changed

clients/client-accessanalyzer/src/runtimeConfig.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,10 @@ export const getRuntimeConfig = (config: AccessAnalyzerClientConfig) => {
3232
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
3333
const clientSharedValues = getSharedRuntimeConfig(config);
3434
awsCheckVersion(process.version);
35-
const loaderConfig = { profile: config?.profile, logger: clientSharedValues.logger };
35+
const loaderConfig = {
36+
profile: config?.profile,
37+
logger: clientSharedValues.logger,
38+
};
3639
return {
3740
...clientSharedValues,
3841
...config,

clients/client-account/src/runtimeConfig.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,10 @@ export const getRuntimeConfig = (config: AccountClientConfig) => {
3232
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
3333
const clientSharedValues = getSharedRuntimeConfig(config);
3434
awsCheckVersion(process.version);
35-
const loaderConfig = { profile: config?.profile, logger: clientSharedValues.logger };
35+
const loaderConfig = {
36+
profile: config?.profile,
37+
logger: clientSharedValues.logger,
38+
};
3639
return {
3740
...clientSharedValues,
3841
...config,

clients/client-acm-pca/src/runtimeConfig.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,10 @@ export const getRuntimeConfig = (config: ACMPCAClientConfig) => {
3232
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
3333
const clientSharedValues = getSharedRuntimeConfig(config);
3434
awsCheckVersion(process.version);
35-
const loaderConfig = { profile: config?.profile, logger: clientSharedValues.logger };
35+
const loaderConfig = {
36+
profile: config?.profile,
37+
logger: clientSharedValues.logger,
38+
};
3639
return {
3740
...clientSharedValues,
3841
...config,

clients/client-acm/src/runtimeConfig.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,10 @@ export const getRuntimeConfig = (config: ACMClientConfig) => {
3232
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
3333
const clientSharedValues = getSharedRuntimeConfig(config);
3434
awsCheckVersion(process.version);
35-
const loaderConfig = { profile: config?.profile, logger: clientSharedValues.logger };
35+
const loaderConfig = {
36+
profile: config?.profile,
37+
logger: clientSharedValues.logger,
38+
};
3639
return {
3740
...clientSharedValues,
3841
...config,

clients/client-amp/src/runtimeConfig.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,10 @@ export const getRuntimeConfig = (config: AmpClientConfig) => {
3232
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
3333
const clientSharedValues = getSharedRuntimeConfig(config);
3434
awsCheckVersion(process.version);
35-
const loaderConfig = { profile: config?.profile, logger: clientSharedValues.logger };
35+
const loaderConfig = {
36+
profile: config?.profile,
37+
logger: clientSharedValues.logger,
38+
};
3639
return {
3740
...clientSharedValues,
3841
...config,

clients/client-amplify/src/runtimeConfig.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,10 @@ export const getRuntimeConfig = (config: AmplifyClientConfig) => {
3232
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
3333
const clientSharedValues = getSharedRuntimeConfig(config);
3434
awsCheckVersion(process.version);
35-
const loaderConfig = { profile: config?.profile, logger: clientSharedValues.logger };
35+
const loaderConfig = {
36+
profile: config?.profile,
37+
logger: clientSharedValues.logger,
38+
};
3639
return {
3740
...clientSharedValues,
3841
...config,

clients/client-amplifybackend/src/runtimeConfig.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,10 @@ export const getRuntimeConfig = (config: AmplifyBackendClientConfig) => {
3232
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
3333
const clientSharedValues = getSharedRuntimeConfig(config);
3434
awsCheckVersion(process.version);
35-
const loaderConfig = { profile: config?.profile, logger: clientSharedValues.logger };
35+
const loaderConfig = {
36+
profile: config?.profile,
37+
logger: clientSharedValues.logger,
38+
};
3639
return {
3740
...clientSharedValues,
3841
...config,

clients/client-amplifyuibuilder/src/runtimeConfig.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,10 @@ export const getRuntimeConfig = (config: AmplifyUIBuilderClientConfig) => {
3232
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
3333
const clientSharedValues = getSharedRuntimeConfig(config);
3434
awsCheckVersion(process.version);
35-
const loaderConfig = { profile: config?.profile, logger: clientSharedValues.logger };
35+
const loaderConfig = {
36+
profile: config?.profile,
37+
logger: clientSharedValues.logger,
38+
};
3639
return {
3740
...clientSharedValues,
3841
...config,

clients/client-api-gateway/src/runtimeConfig.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,10 @@ export const getRuntimeConfig = (config: APIGatewayClientConfig) => {
3232
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
3333
const clientSharedValues = getSharedRuntimeConfig(config);
3434
awsCheckVersion(process.version);
35-
const loaderConfig = { profile: config?.profile, logger: clientSharedValues.logger };
35+
const loaderConfig = {
36+
profile: config?.profile,
37+
logger: clientSharedValues.logger,
38+
};
3639
return {
3740
...clientSharedValues,
3841
...config,

clients/client-apigatewaymanagementapi/src/runtimeConfig.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,10 @@ export const getRuntimeConfig = (config: ApiGatewayManagementApiClientConfig) =>
3232
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
3333
const clientSharedValues = getSharedRuntimeConfig(config);
3434
awsCheckVersion(process.version);
35-
const loaderConfig = { profile: config?.profile, logger: clientSharedValues.logger };
35+
const loaderConfig = {
36+
profile: config?.profile,
37+
logger: clientSharedValues.logger,
38+
};
3639
return {
3740
...clientSharedValues,
3841
...config,

0 commit comments

Comments
 (0)