Skip to content

Commit

Permalink
chore: generate code to add logger
Browse files Browse the repository at this point in the history
  • Loading branch information
trivikr committed Aug 26, 2020
1 parent 1fd11eb commit e503b52
Show file tree
Hide file tree
Showing 462 changed files with 3,419 additions and 1,241 deletions.
18 changes: 14 additions & 4 deletions clients/client-accessanalyzer/AccessAnalyzerClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ import {
getHostHeaderPlugin,
resolveHostHeaderConfig,
} from "@aws-sdk/middleware-host-header";
import {
LoggerInputConfig,
LoggerResolvedConfig,
getLoggerPlugin,
resolveLoggerConfig,
} from "@aws-sdk/middleware-logger";
import { RetryInputConfig, RetryResolvedConfig, getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
import {
AwsAuthInputConfig,
Expand Down Expand Up @@ -208,7 +214,8 @@ export type AccessAnalyzerClientConfig = Partial<__SmithyConfiguration<__HttpHan
AwsAuthInputConfig &
RetryInputConfig &
UserAgentInputConfig &
HostHeaderInputConfig;
HostHeaderInputConfig &
LoggerInputConfig;

export type AccessAnalyzerClientResolvedConfig = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
Required<ClientDefaults> &
Expand All @@ -217,7 +224,8 @@ export type AccessAnalyzerClientResolvedConfig = __SmithyResolvedConfiguration<_
AwsAuthResolvedConfig &
RetryResolvedConfig &
UserAgentResolvedConfig &
HostHeaderResolvedConfig;
HostHeaderResolvedConfig &
LoggerResolvedConfig;

/**
* <p>AWS IAM Access Analyzer helps identify potential resource-access risks by enabling you to identify
Expand Down Expand Up @@ -247,13 +255,15 @@ export class AccessAnalyzerClient extends __Client<
let _config_4 = resolveRetryConfig(_config_3);
let _config_5 = resolveUserAgentConfig(_config_4);
let _config_6 = resolveHostHeaderConfig(_config_5);
super(_config_6);
this.config = _config_6;
let _config_7 = resolveLoggerConfig(_config_6);
super(_config_7);
this.config = _config_7;
this.middlewareStack.use(getAwsAuthPlugin(this.config));
this.middlewareStack.use(getRetryPlugin(this.config));
this.middlewareStack.use(getUserAgentPlugin(this.config));
this.middlewareStack.use(getContentLengthPlugin(this.config));
this.middlewareStack.use(getHostHeaderPlugin(this.config));
this.middlewareStack.use(getLoggerPlugin(this.config));
}

destroy(): void {
Expand Down
1 change: 1 addition & 0 deletions clients/client-accessanalyzer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"@aws-sdk/invalid-dependency": "1.0.0-gamma.5",
"@aws-sdk/middleware-content-length": "1.0.0-gamma.6",
"@aws-sdk/middleware-host-header": "1.0.0-gamma.6",
"@aws-sdk/middleware-logger": "1.0.0-gamma.0",
"@aws-sdk/middleware-retry": "1.0.0-gamma.6",
"@aws-sdk/middleware-serde": "1.0.0-gamma.5",
"@aws-sdk/middleware-signing": "1.0.0-gamma.6",
Expand Down
18 changes: 14 additions & 4 deletions clients/client-acm-pca/ACMPCAClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,12 @@ import {
getHostHeaderPlugin,
resolveHostHeaderConfig,
} from "@aws-sdk/middleware-host-header";
import {
LoggerInputConfig,
LoggerResolvedConfig,
getLoggerPlugin,
resolveLoggerConfig,
} from "@aws-sdk/middleware-logger";
import { RetryInputConfig, RetryResolvedConfig, getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
import {
AwsAuthInputConfig,
Expand Down Expand Up @@ -244,7 +250,8 @@ export type ACMPCAClientConfig = Partial<__SmithyConfiguration<__HttpHandlerOpti
AwsAuthInputConfig &
RetryInputConfig &
UserAgentInputConfig &
HostHeaderInputConfig;
HostHeaderInputConfig &
LoggerInputConfig;

export type ACMPCAClientResolvedConfig = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
Required<ClientDefaults> &
Expand All @@ -253,7 +260,8 @@ export type ACMPCAClientResolvedConfig = __SmithyResolvedConfiguration<__HttpHan
AwsAuthResolvedConfig &
RetryResolvedConfig &
UserAgentResolvedConfig &
HostHeaderResolvedConfig;
HostHeaderResolvedConfig &
LoggerResolvedConfig;

/**
* <p>This is the <i>ACM Private CA API Reference</i>. It provides descriptions,
Expand Down Expand Up @@ -289,13 +297,15 @@ export class ACMPCAClient extends __Client<
let _config_4 = resolveRetryConfig(_config_3);
let _config_5 = resolveUserAgentConfig(_config_4);
let _config_6 = resolveHostHeaderConfig(_config_5);
super(_config_6);
this.config = _config_6;
let _config_7 = resolveLoggerConfig(_config_6);
super(_config_7);
this.config = _config_7;
this.middlewareStack.use(getAwsAuthPlugin(this.config));
this.middlewareStack.use(getRetryPlugin(this.config));
this.middlewareStack.use(getUserAgentPlugin(this.config));
this.middlewareStack.use(getContentLengthPlugin(this.config));
this.middlewareStack.use(getHostHeaderPlugin(this.config));
this.middlewareStack.use(getLoggerPlugin(this.config));
}

destroy(): void {
Expand Down
1 change: 1 addition & 0 deletions clients/client-acm-pca/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"@aws-sdk/invalid-dependency": "1.0.0-gamma.5",
"@aws-sdk/middleware-content-length": "1.0.0-gamma.6",
"@aws-sdk/middleware-host-header": "1.0.0-gamma.6",
"@aws-sdk/middleware-logger": "1.0.0-gamma.0",
"@aws-sdk/middleware-retry": "1.0.0-gamma.6",
"@aws-sdk/middleware-serde": "1.0.0-gamma.5",
"@aws-sdk/middleware-signing": "1.0.0-gamma.6",
Expand Down
18 changes: 14 additions & 4 deletions clients/client-acm/ACMClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ import {
getHostHeaderPlugin,
resolveHostHeaderConfig,
} from "@aws-sdk/middleware-host-header";
import {
LoggerInputConfig,
LoggerResolvedConfig,
getLoggerPlugin,
resolveLoggerConfig,
} from "@aws-sdk/middleware-logger";
import { RetryInputConfig, RetryResolvedConfig, getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
import {
AwsAuthInputConfig,
Expand Down Expand Up @@ -202,7 +208,8 @@ export type ACMClientConfig = Partial<__SmithyConfiguration<__HttpHandlerOptions
AwsAuthInputConfig &
RetryInputConfig &
UserAgentInputConfig &
HostHeaderInputConfig;
HostHeaderInputConfig &
LoggerInputConfig;

export type ACMClientResolvedConfig = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
Required<ClientDefaults> &
Expand All @@ -211,7 +218,8 @@ export type ACMClientResolvedConfig = __SmithyResolvedConfiguration<__HttpHandle
AwsAuthResolvedConfig &
RetryResolvedConfig &
UserAgentResolvedConfig &
HostHeaderResolvedConfig;
HostHeaderResolvedConfig &
LoggerResolvedConfig;

/**
* <fullname>AWS Certificate Manager</fullname>
Expand Down Expand Up @@ -240,13 +248,15 @@ export class ACMClient extends __Client<
let _config_4 = resolveRetryConfig(_config_3);
let _config_5 = resolveUserAgentConfig(_config_4);
let _config_6 = resolveHostHeaderConfig(_config_5);
super(_config_6);
this.config = _config_6;
let _config_7 = resolveLoggerConfig(_config_6);
super(_config_7);
this.config = _config_7;
this.middlewareStack.use(getAwsAuthPlugin(this.config));
this.middlewareStack.use(getRetryPlugin(this.config));
this.middlewareStack.use(getUserAgentPlugin(this.config));
this.middlewareStack.use(getContentLengthPlugin(this.config));
this.middlewareStack.use(getHostHeaderPlugin(this.config));
this.middlewareStack.use(getLoggerPlugin(this.config));
}

destroy(): void {
Expand Down
1 change: 1 addition & 0 deletions clients/client-acm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"@aws-sdk/invalid-dependency": "1.0.0-gamma.5",
"@aws-sdk/middleware-content-length": "1.0.0-gamma.6",
"@aws-sdk/middleware-host-header": "1.0.0-gamma.6",
"@aws-sdk/middleware-logger": "1.0.0-gamma.0",
"@aws-sdk/middleware-retry": "1.0.0-gamma.6",
"@aws-sdk/middleware-serde": "1.0.0-gamma.5",
"@aws-sdk/middleware-signing": "1.0.0-gamma.6",
Expand Down
18 changes: 14 additions & 4 deletions clients/client-alexa-for-business/AlexaForBusinessClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,12 @@ import {
getHostHeaderPlugin,
resolveHostHeaderConfig,
} from "@aws-sdk/middleware-host-header";
import {
LoggerInputConfig,
LoggerResolvedConfig,
getLoggerPlugin,
resolveLoggerConfig,
} from "@aws-sdk/middleware-logger";
import { RetryInputConfig, RetryResolvedConfig, getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
import {
AwsAuthInputConfig,
Expand Down Expand Up @@ -541,7 +547,8 @@ export type AlexaForBusinessClientConfig = Partial<__SmithyConfiguration<__HttpH
AwsAuthInputConfig &
RetryInputConfig &
UserAgentInputConfig &
HostHeaderInputConfig;
HostHeaderInputConfig &
LoggerInputConfig;

export type AlexaForBusinessClientResolvedConfig = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
Required<ClientDefaults> &
Expand All @@ -550,7 +557,8 @@ export type AlexaForBusinessClientResolvedConfig = __SmithyResolvedConfiguration
AwsAuthResolvedConfig &
RetryResolvedConfig &
UserAgentResolvedConfig &
HostHeaderResolvedConfig;
HostHeaderResolvedConfig &
LoggerResolvedConfig;

/**
* <p>Alexa for Business helps you use Alexa in your organization. Alexa for Business provides you with the tools
Expand Down Expand Up @@ -581,13 +589,15 @@ export class AlexaForBusinessClient extends __Client<
let _config_4 = resolveRetryConfig(_config_3);
let _config_5 = resolveUserAgentConfig(_config_4);
let _config_6 = resolveHostHeaderConfig(_config_5);
super(_config_6);
this.config = _config_6;
let _config_7 = resolveLoggerConfig(_config_6);
super(_config_7);
this.config = _config_7;
this.middlewareStack.use(getAwsAuthPlugin(this.config));
this.middlewareStack.use(getRetryPlugin(this.config));
this.middlewareStack.use(getUserAgentPlugin(this.config));
this.middlewareStack.use(getContentLengthPlugin(this.config));
this.middlewareStack.use(getHostHeaderPlugin(this.config));
this.middlewareStack.use(getLoggerPlugin(this.config));
}

destroy(): void {
Expand Down
1 change: 1 addition & 0 deletions clients/client-alexa-for-business/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"@aws-sdk/invalid-dependency": "1.0.0-gamma.5",
"@aws-sdk/middleware-content-length": "1.0.0-gamma.6",
"@aws-sdk/middleware-host-header": "1.0.0-gamma.6",
"@aws-sdk/middleware-logger": "1.0.0-gamma.0",
"@aws-sdk/middleware-retry": "1.0.0-gamma.6",
"@aws-sdk/middleware-serde": "1.0.0-gamma.5",
"@aws-sdk/middleware-signing": "1.0.0-gamma.6",
Expand Down
18 changes: 14 additions & 4 deletions clients/client-amplify/AmplifyClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,12 @@ import {
getHostHeaderPlugin,
resolveHostHeaderConfig,
} from "@aws-sdk/middleware-host-header";
import {
LoggerInputConfig,
LoggerResolvedConfig,
getLoggerPlugin,
resolveLoggerConfig,
} from "@aws-sdk/middleware-logger";
import { RetryInputConfig, RetryResolvedConfig, getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
import {
AwsAuthInputConfig,
Expand Down Expand Up @@ -286,7 +292,8 @@ export type AmplifyClientConfig = Partial<__SmithyConfiguration<__HttpHandlerOpt
AwsAuthInputConfig &
RetryInputConfig &
UserAgentInputConfig &
HostHeaderInputConfig;
HostHeaderInputConfig &
LoggerInputConfig;

export type AmplifyClientResolvedConfig = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
Required<ClientDefaults> &
Expand All @@ -295,7 +302,8 @@ export type AmplifyClientResolvedConfig = __SmithyResolvedConfiguration<__HttpHa
AwsAuthResolvedConfig &
RetryResolvedConfig &
UserAgentResolvedConfig &
HostHeaderResolvedConfig;
HostHeaderResolvedConfig &
LoggerResolvedConfig;

/**
* <p>Amplify enables developers to develop and deploy cloud-powered mobile and web apps.
Expand Down Expand Up @@ -324,13 +332,15 @@ export class AmplifyClient extends __Client<
let _config_4 = resolveRetryConfig(_config_3);
let _config_5 = resolveUserAgentConfig(_config_4);
let _config_6 = resolveHostHeaderConfig(_config_5);
super(_config_6);
this.config = _config_6;
let _config_7 = resolveLoggerConfig(_config_6);
super(_config_7);
this.config = _config_7;
this.middlewareStack.use(getAwsAuthPlugin(this.config));
this.middlewareStack.use(getRetryPlugin(this.config));
this.middlewareStack.use(getUserAgentPlugin(this.config));
this.middlewareStack.use(getContentLengthPlugin(this.config));
this.middlewareStack.use(getHostHeaderPlugin(this.config));
this.middlewareStack.use(getLoggerPlugin(this.config));
}

destroy(): void {
Expand Down
1 change: 1 addition & 0 deletions clients/client-amplify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"@aws-sdk/invalid-dependency": "1.0.0-gamma.5",
"@aws-sdk/middleware-content-length": "1.0.0-gamma.6",
"@aws-sdk/middleware-host-header": "1.0.0-gamma.6",
"@aws-sdk/middleware-logger": "1.0.0-gamma.0",
"@aws-sdk/middleware-retry": "1.0.0-gamma.6",
"@aws-sdk/middleware-serde": "1.0.0-gamma.5",
"@aws-sdk/middleware-signing": "1.0.0-gamma.6",
Expand Down
18 changes: 14 additions & 4 deletions clients/client-api-gateway/APIGatewayClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,12 @@ import {
getHostHeaderPlugin,
resolveHostHeaderConfig,
} from "@aws-sdk/middleware-host-header";
import {
LoggerInputConfig,
LoggerResolvedConfig,
getLoggerPlugin,
resolveLoggerConfig,
} from "@aws-sdk/middleware-logger";
import { RetryInputConfig, RetryResolvedConfig, getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
import { getAcceptHeaderPlugin } from "@aws-sdk/middleware-sdk-api-gateway";
import {
Expand Down Expand Up @@ -614,7 +620,8 @@ export type APIGatewayClientConfig = Partial<__SmithyConfiguration<__HttpHandler
AwsAuthInputConfig &
RetryInputConfig &
UserAgentInputConfig &
HostHeaderInputConfig;
HostHeaderInputConfig &
LoggerInputConfig;

export type APIGatewayClientResolvedConfig = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
Required<ClientDefaults> &
Expand All @@ -623,7 +630,8 @@ export type APIGatewayClientResolvedConfig = __SmithyResolvedConfiguration<__Htt
AwsAuthResolvedConfig &
RetryResolvedConfig &
UserAgentResolvedConfig &
HostHeaderResolvedConfig;
HostHeaderResolvedConfig &
LoggerResolvedConfig;

/**
* <fullname>Amazon API Gateway</fullname>
Expand All @@ -648,14 +656,16 @@ export class APIGatewayClient extends __Client<
let _config_4 = resolveRetryConfig(_config_3);
let _config_5 = resolveUserAgentConfig(_config_4);
let _config_6 = resolveHostHeaderConfig(_config_5);
super(_config_6);
this.config = _config_6;
let _config_7 = resolveLoggerConfig(_config_6);
super(_config_7);
this.config = _config_7;
this.middlewareStack.use(getAwsAuthPlugin(this.config));
this.middlewareStack.use(getRetryPlugin(this.config));
this.middlewareStack.use(getUserAgentPlugin(this.config));
this.middlewareStack.use(getContentLengthPlugin(this.config));
this.middlewareStack.use(getAcceptHeaderPlugin(this.config));
this.middlewareStack.use(getHostHeaderPlugin(this.config));
this.middlewareStack.use(getLoggerPlugin(this.config));
}

destroy(): void {
Expand Down
1 change: 1 addition & 0 deletions clients/client-api-gateway/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"@aws-sdk/invalid-dependency": "1.0.0-gamma.5",
"@aws-sdk/middleware-content-length": "1.0.0-gamma.6",
"@aws-sdk/middleware-host-header": "1.0.0-gamma.6",
"@aws-sdk/middleware-logger": "1.0.0-gamma.0",
"@aws-sdk/middleware-retry": "1.0.0-gamma.6",
"@aws-sdk/middleware-sdk-api-gateway": "1.0.0-gamma.6",
"@aws-sdk/middleware-serde": "1.0.0-gamma.5",
Expand Down
Loading

0 comments on commit e503b52

Please sign in to comment.