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

fix(experimentalIdentityAndAuth): rename AWSSDKSigV4 to AwsSdkSigV4 #5667

Merged
merged 2 commits into from
Jan 11, 2024
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions clients/client-dynamodb/src/auth/httpAuthSchemeProvider.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// smithy-typescript generated code
import {
AWSSDKSigV4AuthInputConfig,
AWSSDKSigV4AuthResolvedConfig,
AWSSDKSigV4PreviouslyResolved,
resolveAWSSDKSigV4Config,
AwsSdkSigV4AuthInputConfig,
AwsSdkSigV4AuthResolvedConfig,
AwsSdkSigV4PreviouslyResolved,
resolveAwsSdkSigV4Config,
} from "@aws-sdk/core";
import {
HandlerExecutionContext,
Expand Down Expand Up @@ -93,7 +93,7 @@ export const defaultDynamoDBHttpAuthSchemeProvider: DynamoDBHttpAuthSchemeProvid
/**
* @internal
*/
export interface HttpAuthSchemeInputConfig extends AWSSDKSigV4AuthInputConfig {
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
/**
* experimentalIdentityAndAuth: Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
* @internal
Expand All @@ -110,7 +110,7 @@ export interface HttpAuthSchemeInputConfig extends AWSSDKSigV4AuthInputConfig {
/**
* @internal
*/
export interface HttpAuthSchemeResolvedConfig extends AWSSDKSigV4AuthResolvedConfig {
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
/**
* experimentalIdentityAndAuth: Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
* @internal
Expand All @@ -128,9 +128,9 @@ export interface HttpAuthSchemeResolvedConfig extends AWSSDKSigV4AuthResolvedCon
* @internal
*/
export const resolveHttpAuthSchemeConfig = <T>(
config: T & HttpAuthSchemeInputConfig & AWSSDKSigV4PreviouslyResolved
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
): T & HttpAuthSchemeResolvedConfig => {
const config_0 = resolveAWSSDKSigV4Config(config);
const config_0 = resolveAwsSdkSigV4Config(config);
return {
...config_0,
} as T & HttpAuthSchemeResolvedConfig;
Expand Down
4 changes: 2 additions & 2 deletions clients/client-dynamodb/src/runtimeConfig.shared.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// smithy-typescript generated code
import { AWSSDKSigV4Signer } from "@aws-sdk/core";
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
import { NoOpLogger } from "@smithy/smithy-client";
import { IdentityProviderConfig } from "@smithy/types";
import { parseUrl } from "@smithy/url-parser";
Expand All @@ -26,7 +26,7 @@ export const getRuntimeConfig = (config: DynamoDBClientConfig) => {
{
schemeId: "aws.auth#sigv4",
identityProvider: (ipc: IdentityProviderConfig) => ipc.getIdentityProvider("aws.auth#sigv4"),
signer: new AWSSDKSigV4Signer(),
signer: new AwsSdkSigV4Signer(),
},
],
logger: config?.logger ?? new NoOpLogger(),
Expand Down
16 changes: 8 additions & 8 deletions clients/client-ec2/src/auth/httpAuthSchemeProvider.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// smithy-typescript generated code
import {
AWSSDKSigV4AuthInputConfig,
AWSSDKSigV4AuthResolvedConfig,
AWSSDKSigV4PreviouslyResolved,
resolveAWSSDKSigV4Config,
AwsSdkSigV4AuthInputConfig,
AwsSdkSigV4AuthResolvedConfig,
AwsSdkSigV4PreviouslyResolved,
resolveAwsSdkSigV4Config,
} from "@aws-sdk/core";
import {
HandlerExecutionContext,
Expand Down Expand Up @@ -93,7 +93,7 @@ export const defaultEC2HttpAuthSchemeProvider: EC2HttpAuthSchemeProvider = (auth
/**
* @internal
*/
export interface HttpAuthSchemeInputConfig extends AWSSDKSigV4AuthInputConfig {
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
/**
* experimentalIdentityAndAuth: Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
* @internal
Expand All @@ -110,7 +110,7 @@ export interface HttpAuthSchemeInputConfig extends AWSSDKSigV4AuthInputConfig {
/**
* @internal
*/
export interface HttpAuthSchemeResolvedConfig extends AWSSDKSigV4AuthResolvedConfig {
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
/**
* experimentalIdentityAndAuth: Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
* @internal
Expand All @@ -128,9 +128,9 @@ export interface HttpAuthSchemeResolvedConfig extends AWSSDKSigV4AuthResolvedCon
* @internal
*/
export const resolveHttpAuthSchemeConfig = <T>(
config: T & HttpAuthSchemeInputConfig & AWSSDKSigV4PreviouslyResolved
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
): T & HttpAuthSchemeResolvedConfig => {
const config_0 = resolveAWSSDKSigV4Config(config);
const config_0 = resolveAwsSdkSigV4Config(config);
return {
...config_0,
} as T & HttpAuthSchemeResolvedConfig;
Expand Down
4 changes: 2 additions & 2 deletions clients/client-ec2/src/runtimeConfig.shared.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// smithy-typescript generated code
import { AWSSDKSigV4Signer } from "@aws-sdk/core";
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
import { NoOpLogger } from "@smithy/smithy-client";
import { IdentityProviderConfig } from "@smithy/types";
import { parseUrl } from "@smithy/url-parser";
Expand All @@ -26,7 +26,7 @@ export const getRuntimeConfig = (config: EC2ClientConfig) => {
{
schemeId: "aws.auth#sigv4",
identityProvider: (ipc: IdentityProviderConfig) => ipc.getIdentityProvider("aws.auth#sigv4"),
signer: new AWSSDKSigV4Signer(),
signer: new AwsSdkSigV4Signer(),
},
],
logger: config?.logger ?? new NoOpLogger(),
Expand Down
16 changes: 8 additions & 8 deletions clients/client-polly/src/auth/httpAuthSchemeProvider.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// smithy-typescript generated code
import {
AWSSDKSigV4AuthInputConfig,
AWSSDKSigV4AuthResolvedConfig,
AWSSDKSigV4PreviouslyResolved,
resolveAWSSDKSigV4Config,
AwsSdkSigV4AuthInputConfig,
AwsSdkSigV4AuthResolvedConfig,
AwsSdkSigV4PreviouslyResolved,
resolveAwsSdkSigV4Config,
} from "@aws-sdk/core";
import {
HandlerExecutionContext,
Expand Down Expand Up @@ -93,7 +93,7 @@ export const defaultPollyHttpAuthSchemeProvider: PollyHttpAuthSchemeProvider = (
/**
* @internal
*/
export interface HttpAuthSchemeInputConfig extends AWSSDKSigV4AuthInputConfig {
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
/**
* experimentalIdentityAndAuth: Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
* @internal
Expand All @@ -110,7 +110,7 @@ export interface HttpAuthSchemeInputConfig extends AWSSDKSigV4AuthInputConfig {
/**
* @internal
*/
export interface HttpAuthSchemeResolvedConfig extends AWSSDKSigV4AuthResolvedConfig {
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
/**
* experimentalIdentityAndAuth: Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
* @internal
Expand All @@ -128,9 +128,9 @@ export interface HttpAuthSchemeResolvedConfig extends AWSSDKSigV4AuthResolvedCon
* @internal
*/
export const resolveHttpAuthSchemeConfig = <T>(
config: T & HttpAuthSchemeInputConfig & AWSSDKSigV4PreviouslyResolved
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
): T & HttpAuthSchemeResolvedConfig => {
const config_0 = resolveAWSSDKSigV4Config(config);
const config_0 = resolveAwsSdkSigV4Config(config);
return {
...config_0,
} as T & HttpAuthSchemeResolvedConfig;
Expand Down
4 changes: 2 additions & 2 deletions clients/client-polly/src/runtimeConfig.shared.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// smithy-typescript generated code
import { AWSSDKSigV4Signer } from "@aws-sdk/core";
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
import { NoOpLogger } from "@smithy/smithy-client";
import { IdentityProviderConfig } from "@smithy/types";
import { parseUrl } from "@smithy/url-parser";
Expand Down Expand Up @@ -27,7 +27,7 @@ export const getRuntimeConfig = (config: PollyClientConfig) => {
{
schemeId: "aws.auth#sigv4",
identityProvider: (ipc: IdentityProviderConfig) => ipc.getIdentityProvider("aws.auth#sigv4"),
signer: new AWSSDKSigV4Signer(),
signer: new AwsSdkSigV4Signer(),
},
],
logger: config?.logger ?? new NoOpLogger(),
Expand Down
16 changes: 8 additions & 8 deletions clients/client-rds/src/auth/httpAuthSchemeProvider.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// smithy-typescript generated code
import {
AWSSDKSigV4AuthInputConfig,
AWSSDKSigV4AuthResolvedConfig,
AWSSDKSigV4PreviouslyResolved,
resolveAWSSDKSigV4Config,
AwsSdkSigV4AuthInputConfig,
AwsSdkSigV4AuthResolvedConfig,
AwsSdkSigV4PreviouslyResolved,
resolveAwsSdkSigV4Config,
} from "@aws-sdk/core";
import {
HandlerExecutionContext,
Expand Down Expand Up @@ -93,7 +93,7 @@ export const defaultRDSHttpAuthSchemeProvider: RDSHttpAuthSchemeProvider = (auth
/**
* @internal
*/
export interface HttpAuthSchemeInputConfig extends AWSSDKSigV4AuthInputConfig {
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
/**
* experimentalIdentityAndAuth: Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
* @internal
Expand All @@ -110,7 +110,7 @@ export interface HttpAuthSchemeInputConfig extends AWSSDKSigV4AuthInputConfig {
/**
* @internal
*/
export interface HttpAuthSchemeResolvedConfig extends AWSSDKSigV4AuthResolvedConfig {
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
/**
* experimentalIdentityAndAuth: Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
* @internal
Expand All @@ -128,9 +128,9 @@ export interface HttpAuthSchemeResolvedConfig extends AWSSDKSigV4AuthResolvedCon
* @internal
*/
export const resolveHttpAuthSchemeConfig = <T>(
config: T & HttpAuthSchemeInputConfig & AWSSDKSigV4PreviouslyResolved
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
): T & HttpAuthSchemeResolvedConfig => {
const config_0 = resolveAWSSDKSigV4Config(config);
const config_0 = resolveAwsSdkSigV4Config(config);
return {
...config_0,
} as T & HttpAuthSchemeResolvedConfig;
Expand Down
4 changes: 2 additions & 2 deletions clients/client-rds/src/runtimeConfig.shared.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// smithy-typescript generated code
import { AWSSDKSigV4Signer } from "@aws-sdk/core";
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
import { NoOpLogger } from "@smithy/smithy-client";
import { IdentityProviderConfig } from "@smithy/types";
import { parseUrl } from "@smithy/url-parser";
Expand All @@ -26,7 +26,7 @@ export const getRuntimeConfig = (config: RDSClientConfig) => {
{
schemeId: "aws.auth#sigv4",
identityProvider: (ipc: IdentityProviderConfig) => ipc.getIdentityProvider("aws.auth#sigv4"),
signer: new AWSSDKSigV4Signer(),
signer: new AwsSdkSigV4Signer(),
},
],
logger: config?.logger ?? new NoOpLogger(),
Expand Down
16 changes: 8 additions & 8 deletions clients/client-sqs/src/auth/httpAuthSchemeProvider.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// smithy-typescript generated code
import {
AWSSDKSigV4AuthInputConfig,
AWSSDKSigV4AuthResolvedConfig,
AWSSDKSigV4PreviouslyResolved,
resolveAWSSDKSigV4Config,
AwsSdkSigV4AuthInputConfig,
AwsSdkSigV4AuthResolvedConfig,
AwsSdkSigV4PreviouslyResolved,
resolveAwsSdkSigV4Config,
} from "@aws-sdk/core";
import {
HandlerExecutionContext,
Expand Down Expand Up @@ -93,7 +93,7 @@ export const defaultSQSHttpAuthSchemeProvider: SQSHttpAuthSchemeProvider = (auth
/**
* @internal
*/
export interface HttpAuthSchemeInputConfig extends AWSSDKSigV4AuthInputConfig {
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
/**
* experimentalIdentityAndAuth: Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
* @internal
Expand All @@ -110,7 +110,7 @@ export interface HttpAuthSchemeInputConfig extends AWSSDKSigV4AuthInputConfig {
/**
* @internal
*/
export interface HttpAuthSchemeResolvedConfig extends AWSSDKSigV4AuthResolvedConfig {
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
/**
* experimentalIdentityAndAuth: Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
* @internal
Expand All @@ -128,9 +128,9 @@ export interface HttpAuthSchemeResolvedConfig extends AWSSDKSigV4AuthResolvedCon
* @internal
*/
export const resolveHttpAuthSchemeConfig = <T>(
config: T & HttpAuthSchemeInputConfig & AWSSDKSigV4PreviouslyResolved
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
): T & HttpAuthSchemeResolvedConfig => {
const config_0 = resolveAWSSDKSigV4Config(config);
const config_0 = resolveAwsSdkSigV4Config(config);
return {
...config_0,
} as T & HttpAuthSchemeResolvedConfig;
Expand Down
4 changes: 2 additions & 2 deletions clients/client-sqs/src/runtimeConfig.shared.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// smithy-typescript generated code
import { AWSSDKSigV4Signer } from "@aws-sdk/core";
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
import { NoOpLogger } from "@smithy/smithy-client";
import { IdentityProviderConfig } from "@smithy/types";
import { parseUrl } from "@smithy/url-parser";
Expand All @@ -26,7 +26,7 @@ export const getRuntimeConfig = (config: SQSClientConfig) => {
{
schemeId: "aws.auth#sigv4",
identityProvider: (ipc: IdentityProviderConfig) => ipc.getIdentityProvider("aws.auth#sigv4"),
signer: new AWSSDKSigV4Signer(),
signer: new AwsSdkSigV4Signer(),
},
],
logger: config?.logger ?? new NoOpLogger(),
Expand Down
16 changes: 8 additions & 8 deletions clients/client-sts/src/auth/httpAuthSchemeProvider.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// smithy-typescript generated code
import {
AWSSDKSigV4AuthInputConfig,
AWSSDKSigV4AuthResolvedConfig,
AWSSDKSigV4PreviouslyResolved,
resolveAWSSDKSigV4Config,
AwsSdkSigV4AuthInputConfig,
AwsSdkSigV4AuthResolvedConfig,
AwsSdkSigV4PreviouslyResolved,
resolveAwsSdkSigV4Config,
} from "@aws-sdk/core";
import {
Client,
Expand Down Expand Up @@ -123,7 +123,7 @@ export const resolveStsAuthConfig = <T>(input: T & StsAuthInputConfig): T & StsA
/**
* @internal
*/
export interface HttpAuthSchemeInputConfig extends StsAuthInputConfig, AWSSDKSigV4AuthInputConfig {
export interface HttpAuthSchemeInputConfig extends StsAuthInputConfig, AwsSdkSigV4AuthInputConfig {
/**
* experimentalIdentityAndAuth: Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
* @internal
Expand All @@ -140,7 +140,7 @@ export interface HttpAuthSchemeInputConfig extends StsAuthInputConfig, AWSSDKSig
/**
* @internal
*/
export interface HttpAuthSchemeResolvedConfig extends StsAuthResolvedConfig, AWSSDKSigV4AuthResolvedConfig {
export interface HttpAuthSchemeResolvedConfig extends StsAuthResolvedConfig, AwsSdkSigV4AuthResolvedConfig {
/**
* experimentalIdentityAndAuth: Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
* @internal
Expand All @@ -158,10 +158,10 @@ export interface HttpAuthSchemeResolvedConfig extends StsAuthResolvedConfig, AWS
* @internal
*/
export const resolveHttpAuthSchemeConfig = <T>(
config: T & HttpAuthSchemeInputConfig & AWSSDKSigV4PreviouslyResolved
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
): T & HttpAuthSchemeResolvedConfig => {
const config_0 = resolveStsAuthConfig(config);
const config_1 = resolveAWSSDKSigV4Config(config_0);
const config_1 = resolveAwsSdkSigV4Config(config_0);
return {
...config_1,
} as T & HttpAuthSchemeResolvedConfig;
Expand Down
4 changes: 2 additions & 2 deletions clients/client-sts/src/runtimeConfig.shared.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// smithy-typescript generated code
import { AWSSDKSigV4Signer } from "@aws-sdk/core";
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
import { NoAuthSigner } from "@smithy/core";
import { NoOpLogger } from "@smithy/smithy-client";
import { IdentityProviderConfig } from "@smithy/types";
Expand Down Expand Up @@ -27,7 +27,7 @@ export const getRuntimeConfig = (config: STSClientConfig) => {
{
schemeId: "aws.auth#sigv4",
identityProvider: (ipc: IdentityProviderConfig) => ipc.getIdentityProvider("aws.auth#sigv4"),
signer: new AWSSDKSigV4Signer(),
signer: new AwsSdkSigV4Signer(),
},
{
schemeId: "smithy.api#noAuth",
Expand Down
4 changes: 2 additions & 2 deletions clients/client-sts/src/runtimeConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import packageInfo from "../package.json"; // eslint-disable-line

import { decorateDefaultCredentialProvider } from "./defaultStsRoleAssumers";
import { AWSSDKSigV4Signer, emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core";
import { AwsSdkSigV4Signer, emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core";
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
import {
Expand Down Expand Up @@ -53,7 +53,7 @@ export const getRuntimeConfig = (config: STSClientConfig) => {
ipc.getIdentityProvider("aws.auth#sigv4") ||
(async (idProps) =>
await decorateDefaultCredentialProvider(credentialDefaultProvider)(idProps?.__config || {})()),
signer: new AWSSDKSigV4Signer(),
signer: new AwsSdkSigV4Signer(),
},
{
schemeId: "smithy.api#noAuth",
Expand Down
Loading
Loading