Skip to content

Commit

Permalink
fix(client-databrew): omit retry headers (#3076)
Browse files Browse the repository at this point in the history
  • Loading branch information
trivikr committed Dec 1, 2021
1 parent f510f81 commit 9b6995c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
9 changes: 8 additions & 1 deletion clients/client-databrew/src/DataBrewClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,13 @@ import {
resolveHostHeaderConfig,
} from "@aws-sdk/middleware-host-header";
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
import { getRetryPlugin, resolveRetryConfig, RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
import {
getOmitRetryHeadersPlugin,
getRetryPlugin,
resolveRetryConfig,
RetryInputConfig,
RetryResolvedConfig,
} from "@aws-sdk/middleware-retry";
import {
AwsAuthInputConfig,
AwsAuthResolvedConfig,
Expand Down Expand Up @@ -383,6 +389,7 @@ export class DataBrewClient extends __Client<
this.middlewareStack.use(getLoggerPlugin(this.config));
this.middlewareStack.use(getAwsAuthPlugin(this.config));
this.middlewareStack.use(getUserAgentPlugin(this.config));
this.middlewareStack.use(getOmitRetryHeadersPlugin(this.config));
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
public class AddOmitRetryHeadersDependency implements TypeScriptIntegration {
private static final Set<String> SERVICE_IDS = SetUtils.of(
"ConnectParticipant", // P43593766
"DataBrew", // P55897945
"IoT", // P39759657
"Kinesis Video Signaling"
);
Expand Down

0 comments on commit 9b6995c

Please sign in to comment.