@aws-sdk/client-sts 3.803.0 → 3.806.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/dist-cjs/runtimeConfig.js +6 -6
  2. package/dist-es/runtimeConfig.js +6 -6
  3. package/dist-types/commands/AssumeRoleCommand.d.ts +1 -1
  4. package/dist-types/commands/AssumeRoleWithSAMLCommand.d.ts +1 -1
  5. package/dist-types/commands/AssumeRoleWithWebIdentityCommand.d.ts +1 -1
  6. package/dist-types/commands/AssumeRootCommand.d.ts +1 -1
  7. package/dist-types/commands/DecodeAuthorizationMessageCommand.d.ts +1 -1
  8. package/dist-types/commands/GetAccessKeyInfoCommand.d.ts +1 -1
  9. package/dist-types/commands/GetFederationTokenCommand.d.ts +1 -1
  10. package/dist-types/endpoint/EndpointParameters.d.ts +1 -3
  11. package/dist-types/runtimeConfig.browser.d.ts +19 -19
  12. package/dist-types/runtimeConfig.d.ts +18 -18
  13. package/dist-types/runtimeConfig.native.d.ts +20 -20
  14. package/dist-types/runtimeConfig.shared.d.ts +4 -4
  15. package/dist-types/ts3.4/commands/AssumeRoleCommand.d.ts +1 -1
  16. package/dist-types/ts3.4/commands/AssumeRoleWithSAMLCommand.d.ts +1 -1
  17. package/dist-types/ts3.4/commands/AssumeRoleWithWebIdentityCommand.d.ts +1 -1
  18. package/dist-types/ts3.4/commands/AssumeRootCommand.d.ts +1 -1
  19. package/dist-types/ts3.4/commands/DecodeAuthorizationMessageCommand.d.ts +1 -1
  20. package/dist-types/ts3.4/commands/GetAccessKeyInfoCommand.d.ts +1 -1
  21. package/dist-types/ts3.4/commands/GetFederationTokenCommand.d.ts +1 -1
  22. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -4
  23. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +25 -40
  24. package/dist-types/ts3.4/runtimeConfig.d.ts +23 -37
  25. package/dist-types/ts3.4/runtimeConfig.native.d.ts +26 -41
  26. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +5 -7
  27. package/package.json +22 -22
@@ -24,13 +24,13 @@ const getRuntimeConfig = (config) => {
24
24
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
25
25
  const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
26
26
  (0, core_1.emitWarningIfUnsupportedVersion)(process.version);
27
- const profileConfig = { profile: config?.profile };
27
+ const loaderConfig = { profile: config?.profile, logger: clientSharedValues.logger };
28
28
  return {
29
29
  ...clientSharedValues,
30
30
  ...config,
31
31
  runtime: "node",
32
32
  defaultsMode,
33
- authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, profileConfig),
33
+ authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
34
34
  bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
35
35
  credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
36
36
  defaultUserAgentProvider: config?.defaultUserAgentProvider ??
@@ -50,7 +50,7 @@ const getRuntimeConfig = (config) => {
50
50
  ],
51
51
  maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
52
52
  region: config?.region ??
53
- (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...profileConfig }),
53
+ (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
54
54
  requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
55
55
  retryMode: config?.retryMode ??
56
56
  (0, node_config_provider_1.loadConfig)({
@@ -59,9 +59,9 @@ const getRuntimeConfig = (config) => {
59
59
  }, config),
60
60
  sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
61
61
  streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
62
- useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, profileConfig),
63
- useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, profileConfig),
64
- userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, profileConfig),
62
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
63
+ useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
64
+ userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
65
65
  };
66
66
  };
67
67
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -20,13 +20,13 @@ export const getRuntimeConfig = (config) => {
20
20
  const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
21
21
  const clientSharedValues = getSharedRuntimeConfig(config);
22
22
  awsCheckVersion(process.version);
23
- const profileConfig = { profile: config?.profile };
23
+ const loaderConfig = { profile: config?.profile, logger: clientSharedValues.logger };
24
24
  return {
25
25
  ...clientSharedValues,
26
26
  ...config,
27
27
  runtime: "node",
28
28
  defaultsMode,
29
- authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, profileConfig),
29
+ authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
30
30
  bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
31
31
  credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
32
32
  defaultUserAgentProvider: config?.defaultUserAgentProvider ??
@@ -46,7 +46,7 @@ export const getRuntimeConfig = (config) => {
46
46
  ],
47
47
  maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
48
48
  region: config?.region ??
49
- loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...profileConfig }),
49
+ loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
50
50
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
51
51
  retryMode: config?.retryMode ??
52
52
  loadNodeConfig({
@@ -55,8 +55,8 @@ export const getRuntimeConfig = (config) => {
55
55
  }, config),
56
56
  sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
57
57
  streamCollector: config?.streamCollector ?? streamCollector,
58
- useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, profileConfig),
59
- useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, profileConfig),
60
- userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, profileConfig),
58
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
59
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
60
+ userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
61
61
  };
62
62
  };
@@ -23,7 +23,7 @@ export interface AssumeRoleCommandOutput extends AssumeRoleResponse, __MetadataB
23
23
  }
24
24
  declare const AssumeRoleCommand_base: {
25
25
  new (input: AssumeRoleCommandInput): import("@smithy/smithy-client").CommandImpl<AssumeRoleCommandInput, AssumeRoleCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: AssumeRoleCommandInput): import("@smithy/smithy-client").CommandImpl<AssumeRoleCommandInput, AssumeRoleCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: AssumeRoleCommandInput): import("@smithy/smithy-client").CommandImpl<AssumeRoleCommandInput, AssumeRoleCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
@@ -23,7 +23,7 @@ export interface AssumeRoleWithSAMLCommandOutput extends AssumeRoleWithSAMLRespo
23
23
  }
24
24
  declare const AssumeRoleWithSAMLCommand_base: {
25
25
  new (input: AssumeRoleWithSAMLCommandInput): import("@smithy/smithy-client").CommandImpl<AssumeRoleWithSAMLCommandInput, AssumeRoleWithSAMLCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: AssumeRoleWithSAMLCommandInput): import("@smithy/smithy-client").CommandImpl<AssumeRoleWithSAMLCommandInput, AssumeRoleWithSAMLCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: AssumeRoleWithSAMLCommandInput): import("@smithy/smithy-client").CommandImpl<AssumeRoleWithSAMLCommandInput, AssumeRoleWithSAMLCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
@@ -23,7 +23,7 @@ export interface AssumeRoleWithWebIdentityCommandOutput extends AssumeRoleWithWe
23
23
  }
24
24
  declare const AssumeRoleWithWebIdentityCommand_base: {
25
25
  new (input: AssumeRoleWithWebIdentityCommandInput): import("@smithy/smithy-client").CommandImpl<AssumeRoleWithWebIdentityCommandInput, AssumeRoleWithWebIdentityCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: AssumeRoleWithWebIdentityCommandInput): import("@smithy/smithy-client").CommandImpl<AssumeRoleWithWebIdentityCommandInput, AssumeRoleWithWebIdentityCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: AssumeRoleWithWebIdentityCommandInput): import("@smithy/smithy-client").CommandImpl<AssumeRoleWithWebIdentityCommandInput, AssumeRoleWithWebIdentityCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
@@ -23,7 +23,7 @@ export interface AssumeRootCommandOutput extends AssumeRootResponse, __MetadataB
23
23
  }
24
24
  declare const AssumeRootCommand_base: {
25
25
  new (input: AssumeRootCommandInput): import("@smithy/smithy-client").CommandImpl<AssumeRootCommandInput, AssumeRootCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: AssumeRootCommandInput): import("@smithy/smithy-client").CommandImpl<AssumeRootCommandInput, AssumeRootCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: AssumeRootCommandInput): import("@smithy/smithy-client").CommandImpl<AssumeRootCommandInput, AssumeRootCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
@@ -23,7 +23,7 @@ export interface DecodeAuthorizationMessageCommandOutput extends DecodeAuthoriza
23
23
  }
24
24
  declare const DecodeAuthorizationMessageCommand_base: {
25
25
  new (input: DecodeAuthorizationMessageCommandInput): import("@smithy/smithy-client").CommandImpl<DecodeAuthorizationMessageCommandInput, DecodeAuthorizationMessageCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: DecodeAuthorizationMessageCommandInput): import("@smithy/smithy-client").CommandImpl<DecodeAuthorizationMessageCommandInput, DecodeAuthorizationMessageCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DecodeAuthorizationMessageCommandInput): import("@smithy/smithy-client").CommandImpl<DecodeAuthorizationMessageCommandInput, DecodeAuthorizationMessageCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
@@ -23,7 +23,7 @@ export interface GetAccessKeyInfoCommandOutput extends GetAccessKeyInfoResponse,
23
23
  }
24
24
  declare const GetAccessKeyInfoCommand_base: {
25
25
  new (input: GetAccessKeyInfoCommandInput): import("@smithy/smithy-client").CommandImpl<GetAccessKeyInfoCommandInput, GetAccessKeyInfoCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: GetAccessKeyInfoCommandInput): import("@smithy/smithy-client").CommandImpl<GetAccessKeyInfoCommandInput, GetAccessKeyInfoCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetAccessKeyInfoCommandInput): import("@smithy/smithy-client").CommandImpl<GetAccessKeyInfoCommandInput, GetAccessKeyInfoCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
@@ -23,7 +23,7 @@ export interface GetFederationTokenCommandOutput extends GetFederationTokenRespo
23
23
  }
24
24
  declare const GetFederationTokenCommand_base: {
25
25
  new (input: GetFederationTokenCommandInput): import("@smithy/smithy-client").CommandImpl<GetFederationTokenCommandInput, GetFederationTokenCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: GetFederationTokenCommandInput): import("@smithy/smithy-client").CommandImpl<GetFederationTokenCommandInput, GetFederationTokenCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetFederationTokenCommandInput): import("@smithy/smithy-client").CommandImpl<GetFederationTokenCommandInput, GetFederationTokenCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
@@ -12,9 +12,7 @@ export interface ClientInputEndpointParameters {
12
12
  export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
13
13
  defaultSigningName: string;
14
14
  };
15
- export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
16
- defaultSigningName: string;
17
- };
15
+ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
18
16
  export declare const commonParams: {
19
17
  readonly UseGlobalEndpoint: {
20
18
  readonly type: "builtInParams";
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
- defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
11
+ defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<any>;
14
14
  requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
@@ -21,24 +21,24 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
21
21
  cacheMiddleware?: boolean | undefined;
22
22
  urlParser: import("@smithy/types").UrlParser;
23
23
  base64Decoder: import("@smithy/types").Decoder;
24
- base64Encoder: (_input: string | Uint8Array) => string;
24
+ base64Encoder: (_input: Uint8Array | string) => string;
25
25
  utf8Decoder: import("@smithy/types").Decoder;
26
- utf8Encoder: (input: string | Uint8Array) => string;
26
+ utf8Encoder: (input: Uint8Array | string) => string;
27
27
  disableHostPrefix: boolean;
28
28
  serviceId: string;
29
- profile?: string | undefined;
29
+ profile?: string;
30
30
  logger: import("@smithy/types").Logger;
31
31
  extensions: import("./runtimeExtensions").RuntimeExtension[];
32
- customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
33
- userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
34
- retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
32
+ customUserAgent?: string | import("@smithy/types").UserAgent;
33
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
34
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
35
35
  endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
36
36
  endpointProvider: (params: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
37
- logger?: import("@smithy/types").Logger | undefined;
38
- } | undefined) => import("@smithy/types").EndpointV2;
39
- tls?: boolean | undefined;
40
- serviceConfiguredEndpoint?: undefined;
41
- authSchemePreference?: string[] | import("@smithy/types").Provider<string[]> | undefined;
37
+ logger?: import("@smithy/types").Logger;
38
+ }) => import("@smithy/types").EndpointV2;
39
+ tls?: boolean;
40
+ serviceConfiguredEndpoint?: never;
41
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
42
42
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({
43
43
  schemeId: string;
44
44
  identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
@@ -49,11 +49,11 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
49
49
  signer: import("@smithy/core").NoAuthSigner;
50
50
  })[];
51
51
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").STSHttpAuthSchemeProvider;
52
- credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
53
- signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
54
- signingEscapePath?: boolean | undefined;
55
- systemClockOffset?: number | undefined;
56
- signingRegion?: string | undefined;
57
- signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
58
- useGlobalEndpoint?: boolean | import("@smithy/types").Provider<boolean> | undefined;
52
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
53
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
54
+ signingEscapePath?: boolean;
55
+ systemClockOffset?: number;
56
+ signingRegion?: string;
57
+ signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
58
+ useGlobalEndpoint?: boolean | import("@smithy/types").Provider<boolean>;
59
59
  };
@@ -10,8 +10,8 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
10
10
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
11
11
  authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
12
12
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
13
- credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
14
- defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
13
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
14
+ defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
15
15
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | {
16
16
  schemeId: string;
17
17
  identityProvider: (ipc: IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | (() => Promise<{}>);
@@ -30,28 +30,28 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
30
30
  cacheMiddleware?: boolean | undefined;
31
31
  urlParser: import("@smithy/types").UrlParser;
32
32
  base64Decoder: import("@smithy/types").Decoder;
33
- base64Encoder: (_input: string | Uint8Array) => string;
33
+ base64Encoder: (_input: Uint8Array | string) => string;
34
34
  utf8Decoder: import("@smithy/types").Decoder;
35
- utf8Encoder: (input: string | Uint8Array) => string;
35
+ utf8Encoder: (input: Uint8Array | string) => string;
36
36
  disableHostPrefix: boolean;
37
37
  serviceId: string;
38
- profile?: string | undefined;
38
+ profile?: string;
39
39
  logger: import("@smithy/types").Logger;
40
40
  extensions: import("./runtimeExtensions").RuntimeExtension[];
41
- customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
42
- retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
41
+ customUserAgent?: string | import("@smithy/types").UserAgent;
42
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
43
43
  endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
44
44
  endpointProvider: (params: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
45
- logger?: import("@smithy/types").Logger | undefined;
46
- } | undefined) => import("@smithy/types").EndpointV2;
47
- tls?: boolean | undefined;
48
- serviceConfiguredEndpoint?: undefined;
45
+ logger?: import("@smithy/types").Logger;
46
+ }) => import("@smithy/types").EndpointV2;
47
+ tls?: boolean;
48
+ serviceConfiguredEndpoint?: never;
49
49
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").STSHttpAuthSchemeProvider;
50
- credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
51
- signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
52
- signingEscapePath?: boolean | undefined;
53
- systemClockOffset?: number | undefined;
54
- signingRegion?: string | undefined;
55
- signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
56
- useGlobalEndpoint?: boolean | import("@smithy/types").Provider<boolean> | undefined;
50
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
51
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
52
+ signingEscapePath?: boolean;
53
+ systemClockOffset?: number;
54
+ signingRegion?: string;
55
+ signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
56
+ useGlobalEndpoint?: boolean | import("@smithy/types").Provider<boolean>;
57
57
  };
@@ -7,37 +7,37 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
7
7
  sha256: import("@smithy/types").HashConstructor;
8
8
  requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
9
  apiVersion: string;
10
- cacheMiddleware?: boolean | undefined;
10
+ cacheMiddleware?: boolean;
11
11
  urlParser: import("@smithy/types").UrlParser;
12
12
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
13
13
  streamCollector: import("@smithy/types").StreamCollector;
14
14
  base64Decoder: import("@smithy/types").Decoder;
15
- base64Encoder: (_input: string | Uint8Array) => string;
15
+ base64Encoder: (_input: Uint8Array | string) => string;
16
16
  utf8Decoder: import("@smithy/types").Decoder;
17
- utf8Encoder: (input: string | Uint8Array) => string;
17
+ utf8Encoder: (input: Uint8Array | string) => string;
18
18
  disableHostPrefix: boolean;
19
19
  serviceId: string;
20
20
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
21
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
22
22
  region: string | import("@smithy/types").Provider<any>;
23
- profile?: string | undefined;
24
- defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
23
+ profile?: string;
24
+ defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
25
25
  credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
26
26
  maxAttempts: number | import("@smithy/types").Provider<number>;
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
28
  logger: import("@smithy/types").Logger;
29
29
  extensions: import("./runtimeExtensions").RuntimeExtension[];
30
30
  defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
31
- customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
32
- userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
33
- retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
31
+ customUserAgent?: string | import("@smithy/types").UserAgent;
32
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
33
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
34
34
  endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
35
35
  endpointProvider: (params: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
36
- logger?: import("@smithy/types").Logger | undefined;
37
- } | undefined) => import("@smithy/types").EndpointV2;
38
- tls?: boolean | undefined;
39
- serviceConfiguredEndpoint?: undefined;
40
- authSchemePreference?: string[] | import("@smithy/types").Provider<string[]> | undefined;
36
+ logger?: import("@smithy/types").Logger;
37
+ }) => import("@smithy/types").EndpointV2;
38
+ tls?: boolean;
39
+ serviceConfiguredEndpoint?: never;
40
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
41
41
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({
42
42
  schemeId: string;
43
43
  identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
@@ -48,11 +48,11 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
48
48
  signer: import("@smithy/core").NoAuthSigner;
49
49
  })[];
50
50
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").STSHttpAuthSchemeProvider;
51
- credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
52
- signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
53
- signingEscapePath?: boolean | undefined;
54
- systemClockOffset?: number | undefined;
55
- signingRegion?: string | undefined;
56
- signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
57
- useGlobalEndpoint?: boolean | import("@smithy/types").Provider<boolean> | undefined;
51
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
52
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
53
+ signingEscapePath?: boolean;
54
+ systemClockOffset?: number;
55
+ signingRegion?: string;
56
+ signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
57
+ useGlobalEndpoint?: boolean | import("@smithy/types").Provider<boolean>;
58
58
  };
@@ -8,11 +8,11 @@ import { STSClientConfig } from "./STSClient";
8
8
  export declare const getRuntimeConfig: (config: STSClientConfig) => {
9
9
  apiVersion: string;
10
10
  base64Decoder: import("@smithy/types").Decoder;
11
- base64Encoder: (_input: string | Uint8Array) => string;
11
+ base64Encoder: (_input: Uint8Array | string) => string;
12
12
  disableHostPrefix: boolean;
13
13
  endpointProvider: (params: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
14
- logger?: import("@smithy/types").Logger | undefined;
15
- } | undefined) => import("@smithy/types").EndpointV2;
14
+ logger?: import("@smithy/types").Logger;
15
+ }) => import("@smithy/types").EndpointV2;
16
16
  extensions: import("./runtimeExtensions").RuntimeExtension[];
17
17
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").STSHttpAuthSchemeProvider;
18
18
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({
@@ -28,5 +28,5 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
28
28
  serviceId: string;
29
29
  urlParser: import("@smithy/types").UrlParser;
30
30
  utf8Decoder: import("@smithy/types").Decoder;
31
- utf8Encoder: (input: string | Uint8Array) => string;
31
+ utf8Encoder: (input: Uint8Array | string) => string;
32
32
  };
@@ -23,7 +23,7 @@ declare const AssumeRoleCommand_base: {
23
23
  ServiceOutputTypes
24
24
  >;
25
25
  new (
26
- __0_0: AssumeRoleCommandInput
26
+ input: AssumeRoleCommandInput
27
27
  ): import("@smithy/smithy-client").CommandImpl<
28
28
  AssumeRoleCommandInput,
29
29
  AssumeRoleCommandOutput,
@@ -27,7 +27,7 @@ declare const AssumeRoleWithSAMLCommand_base: {
27
27
  ServiceOutputTypes
28
28
  >;
29
29
  new (
30
- __0_0: AssumeRoleWithSAMLCommandInput
30
+ input: AssumeRoleWithSAMLCommandInput
31
31
  ): import("@smithy/smithy-client").CommandImpl<
32
32
  AssumeRoleWithSAMLCommandInput,
33
33
  AssumeRoleWithSAMLCommandOutput,
@@ -27,7 +27,7 @@ declare const AssumeRoleWithWebIdentityCommand_base: {
27
27
  ServiceOutputTypes
28
28
  >;
29
29
  new (
30
- __0_0: AssumeRoleWithWebIdentityCommandInput
30
+ input: AssumeRoleWithWebIdentityCommandInput
31
31
  ): import("@smithy/smithy-client").CommandImpl<
32
32
  AssumeRoleWithWebIdentityCommandInput,
33
33
  AssumeRoleWithWebIdentityCommandOutput,
@@ -23,7 +23,7 @@ declare const AssumeRootCommand_base: {
23
23
  ServiceOutputTypes
24
24
  >;
25
25
  new (
26
- __0_0: AssumeRootCommandInput
26
+ input: AssumeRootCommandInput
27
27
  ): import("@smithy/smithy-client").CommandImpl<
28
28
  AssumeRootCommandInput,
29
29
  AssumeRootCommandOutput,
@@ -27,7 +27,7 @@ declare const DecodeAuthorizationMessageCommand_base: {
27
27
  ServiceOutputTypes
28
28
  >;
29
29
  new (
30
- __0_0: DecodeAuthorizationMessageCommandInput
30
+ input: DecodeAuthorizationMessageCommandInput
31
31
  ): import("@smithy/smithy-client").CommandImpl<
32
32
  DecodeAuthorizationMessageCommandInput,
33
33
  DecodeAuthorizationMessageCommandOutput,
@@ -26,7 +26,7 @@ declare const GetAccessKeyInfoCommand_base: {
26
26
  ServiceOutputTypes
27
27
  >;
28
28
  new (
29
- __0_0: GetAccessKeyInfoCommandInput
29
+ input: GetAccessKeyInfoCommandInput
30
30
  ): import("@smithy/smithy-client").CommandImpl<
31
31
  GetAccessKeyInfoCommandInput,
32
32
  GetAccessKeyInfoCommandOutput,
@@ -27,7 +27,7 @@ declare const GetFederationTokenCommand_base: {
27
27
  ServiceOutputTypes
28
28
  >;
29
29
  new (
30
- __0_0: GetFederationTokenCommandInput
30
+ input: GetFederationTokenCommandInput
31
31
  ): import("@smithy/smithy-client").CommandImpl<
32
32
  GetFederationTokenCommandInput,
33
33
  GetFederationTokenCommandOutput,
@@ -22,10 +22,7 @@ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
22
22
  };
23
23
  export declare const resolveClientEndpointParameters: <T>(
24
24
  options: T & ClientInputEndpointParameters
25
- ) => T &
26
- ClientInputEndpointParameters & {
27
- defaultSigningName: string;
28
- };
25
+ ) => T & ClientResolvedEndpointParameters;
29
26
  export declare const commonParams: {
30
27
  readonly UseGlobalEndpoint: {
31
28
  readonly type: "builtInParams";
@@ -12,9 +12,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
12
12
  _: unknown
13
13
  ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
14
14
  defaultUserAgentProvider: (
15
- config?:
16
- | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
17
- | undefined
15
+ config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
18
16
  ) => Promise<import("@smithy/types").UserAgent>;
19
17
  maxAttempts: number | import("@smithy/types").Provider<number>;
20
18
  region: string | import("@smithy/types").Provider<any>;
@@ -30,23 +28,22 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
30
28
  cacheMiddleware?: boolean | undefined;
31
29
  urlParser: import("@smithy/types").UrlParser;
32
30
  base64Decoder: import("@smithy/types").Decoder;
33
- base64Encoder: (_input: string | Uint8Array) => string;
31
+ base64Encoder: (_input: Uint8Array | string) => string;
34
32
  utf8Decoder: import("@smithy/types").Decoder;
35
- utf8Encoder: (input: string | Uint8Array) => string;
33
+ utf8Encoder: (input: Uint8Array | string) => string;
36
34
  disableHostPrefix: boolean;
37
35
  serviceId: string;
38
- profile?: string | undefined;
36
+ profile?: string;
39
37
  logger: import("@smithy/types").Logger;
40
38
  extensions: import("./runtimeExtensions").RuntimeExtension[];
41
- customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
39
+ customUserAgent?: string | import("@smithy/types").UserAgent;
42
40
  userAgentAppId?:
43
41
  | string
44
- | import("@smithy/types").Provider<string | undefined>
45
- | undefined;
42
+ | undefined
43
+ | import("@smithy/types").Provider<string | undefined>;
46
44
  retryStrategy?:
47
45
  | import("@smithy/types").RetryStrategy
48
- | import("@smithy/types").RetryStrategyV2
49
- | undefined;
46
+ | import("@smithy/types").RetryStrategyV2;
50
47
  endpoint?:
51
48
  | ((
52
49
  | string
@@ -66,18 +63,13 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
66
63
  | undefined;
67
64
  endpointProvider: (
68
65
  params: import("./endpoint/EndpointParameters").EndpointParameters,
69
- context?:
70
- | {
71
- logger?: import("@smithy/types").Logger | undefined;
72
- }
73
- | undefined
66
+ context?: {
67
+ logger?: import("@smithy/types").Logger;
68
+ }
74
69
  ) => import("@smithy/types").EndpointV2;
75
- tls?: boolean | undefined;
76
- serviceConfiguredEndpoint?: undefined;
77
- authSchemePreference?:
78
- | string[]
79
- | import("@smithy/types").Provider<string[]>
80
- | undefined;
70
+ tls?: boolean;
71
+ serviceConfiguredEndpoint?: never;
72
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
81
73
  httpAuthSchemes:
82
74
  | import("@smithy/types").HttpAuthScheme[]
83
75
  | (
@@ -107,25 +99,18 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
107
99
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").STSHttpAuthSchemeProvider;
108
100
  credentials?:
109
101
  | import("@smithy/types").AwsCredentialIdentity
110
- | import("@smithy/types").AwsCredentialIdentityProvider
111
- | undefined;
102
+ | import("@smithy/types").AwsCredentialIdentityProvider;
112
103
  signer?:
113
104
  | import("@smithy/types").RequestSigner
114
105
  | ((
115
- authScheme?: import("@smithy/types").AuthScheme | undefined
116
- ) => Promise<import("@smithy/types").RequestSigner>)
117
- | undefined;
118
- signingEscapePath?: boolean | undefined;
119
- systemClockOffset?: number | undefined;
120
- signingRegion?: string | undefined;
121
- signerConstructor?:
122
- | (new (
123
- options: import("@smithy/signature-v4").SignatureV4Init &
124
- import("@smithy/signature-v4").SignatureV4CryptoInit
125
- ) => import("@smithy/types").RequestSigner)
126
- | undefined;
127
- useGlobalEndpoint?:
128
- | boolean
129
- | import("@smithy/types").Provider<boolean>
130
- | undefined;
106
+ authScheme?: import("@smithy/types").AuthScheme
107
+ ) => Promise<import("@smithy/types").RequestSigner>);
108
+ signingEscapePath?: boolean;
109
+ systemClockOffset?: number;
110
+ signingRegion?: string;
111
+ signerConstructor?: new (
112
+ options: import("@smithy/signature-v4").SignatureV4Init &
113
+ import("@smithy/signature-v4").SignatureV4CryptoInit
114
+ ) => import("@smithy/types").RequestSigner;
115
+ useGlobalEndpoint?: boolean | import("@smithy/types").Provider<boolean>;
131
116
  };
@@ -12,16 +12,12 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
12
12
  credentialDefaultProvider:
13
13
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
14
14
  | ((
15
- init?:
16
- | import("@aws-sdk/credential-provider-node").DefaultProviderInit
17
- | undefined
15
+ init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
18
16
  ) => import("@smithy/types").MemoizedProvider<
19
17
  import("@smithy/types").AwsCredentialIdentity
20
18
  >);
21
19
  defaultUserAgentProvider: (
22
- config?:
23
- | import("@aws-sdk/util-user-agent-node").PreviouslyResolved
24
- | undefined
20
+ config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved
25
21
  ) => Promise<import("@smithy/types").UserAgent>;
26
22
  httpAuthSchemes:
27
23
  | import("@smithy/types").HttpAuthScheme[]
@@ -51,19 +47,18 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
51
47
  cacheMiddleware?: boolean | undefined;
52
48
  urlParser: import("@smithy/types").UrlParser;
53
49
  base64Decoder: import("@smithy/types").Decoder;
54
- base64Encoder: (_input: string | Uint8Array) => string;
50
+ base64Encoder: (_input: Uint8Array | string) => string;
55
51
  utf8Decoder: import("@smithy/types").Decoder;
56
- utf8Encoder: (input: string | Uint8Array) => string;
52
+ utf8Encoder: (input: Uint8Array | string) => string;
57
53
  disableHostPrefix: boolean;
58
54
  serviceId: string;
59
- profile?: string | undefined;
55
+ profile?: string;
60
56
  logger: import("@smithy/types").Logger;
61
57
  extensions: import("./runtimeExtensions").RuntimeExtension[];
62
- customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
58
+ customUserAgent?: string | import("@smithy/types").UserAgent;
63
59
  retryStrategy?:
64
60
  | import("@smithy/types").RetryStrategy
65
- | import("@smithy/types").RetryStrategyV2
66
- | undefined;
61
+ | import("@smithy/types").RetryStrategyV2;
67
62
  endpoint?:
68
63
  | ((
69
64
  | string
@@ -83,36 +78,27 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
83
78
  | undefined;
84
79
  endpointProvider: (
85
80
  params: import("./endpoint/EndpointParameters").EndpointParameters,
86
- context?:
87
- | {
88
- logger?: import("@smithy/types").Logger | undefined;
89
- }
90
- | undefined
81
+ context?: {
82
+ logger?: import("@smithy/types").Logger;
83
+ }
91
84
  ) => import("@smithy/types").EndpointV2;
92
- tls?: boolean | undefined;
93
- serviceConfiguredEndpoint?: undefined;
85
+ tls?: boolean;
86
+ serviceConfiguredEndpoint?: never;
94
87
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").STSHttpAuthSchemeProvider;
95
88
  credentials?:
96
89
  | import("@smithy/types").AwsCredentialIdentity
97
- | import("@smithy/types").AwsCredentialIdentityProvider
98
- | undefined;
90
+ | import("@smithy/types").AwsCredentialIdentityProvider;
99
91
  signer?:
100
92
  | import("@smithy/types").RequestSigner
101
93
  | ((
102
- authScheme?: import("@smithy/types").AuthScheme | undefined
103
- ) => Promise<import("@smithy/types").RequestSigner>)
104
- | undefined;
105
- signingEscapePath?: boolean | undefined;
106
- systemClockOffset?: number | undefined;
107
- signingRegion?: string | undefined;
108
- signerConstructor?:
109
- | (new (
110
- options: import("@smithy/signature-v4").SignatureV4Init &
111
- import("@smithy/signature-v4").SignatureV4CryptoInit
112
- ) => import("@smithy/types").RequestSigner)
113
- | undefined;
114
- useGlobalEndpoint?:
115
- | boolean
116
- | import("@smithy/types").Provider<boolean>
117
- | undefined;
94
+ authScheme?: import("@smithy/types").AuthScheme
95
+ ) => Promise<import("@smithy/types").RequestSigner>);
96
+ signingEscapePath?: boolean;
97
+ systemClockOffset?: number;
98
+ signingRegion?: string;
99
+ signerConstructor?: new (
100
+ options: import("@smithy/signature-v4").SignatureV4Init &
101
+ import("@smithy/signature-v4").SignatureV4CryptoInit
102
+ ) => import("@smithy/types").RequestSigner;
103
+ useGlobalEndpoint?: boolean | import("@smithy/types").Provider<boolean>;
118
104
  };
@@ -9,24 +9,22 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
9
9
  | import("@smithy/protocol-http").HttpHandler<any>
10
10
  | import("@smithy/fetch-http-handler").FetchHttpHandler;
11
11
  apiVersion: string;
12
- cacheMiddleware?: boolean | undefined;
12
+ cacheMiddleware?: boolean;
13
13
  urlParser: import("@smithy/types").UrlParser;
14
14
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
15
15
  streamCollector: import("@smithy/types").StreamCollector;
16
16
  base64Decoder: import("@smithy/types").Decoder;
17
- base64Encoder: (_input: string | Uint8Array) => string;
17
+ base64Encoder: (_input: Uint8Array | string) => string;
18
18
  utf8Decoder: import("@smithy/types").Decoder;
19
- utf8Encoder: (input: string | Uint8Array) => string;
19
+ utf8Encoder: (input: Uint8Array | string) => string;
20
20
  disableHostPrefix: boolean;
21
21
  serviceId: string;
22
22
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
23
23
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
24
24
  region: string | import("@smithy/types").Provider<any>;
25
- profile?: string | undefined;
25
+ profile?: string;
26
26
  defaultUserAgentProvider: (
27
- config?:
28
- | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
29
- | undefined
27
+ config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
30
28
  ) => Promise<import("@smithy/types").UserAgent>;
31
29
  credentialDefaultProvider:
32
30
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
@@ -42,15 +40,14 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
42
40
  | import("@smithy/types").Provider<
43
41
  import("@smithy/smithy-client").DefaultsMode
44
42
  >;
45
- customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
43
+ customUserAgent?: string | import("@smithy/types").UserAgent;
46
44
  userAgentAppId?:
47
45
  | string
48
- | import("@smithy/types").Provider<string | undefined>
49
- | undefined;
46
+ | undefined
47
+ | import("@smithy/types").Provider<string | undefined>;
50
48
  retryStrategy?:
51
49
  | import("@smithy/types").RetryStrategy
52
- | import("@smithy/types").RetryStrategyV2
53
- | undefined;
50
+ | import("@smithy/types").RetryStrategyV2;
54
51
  endpoint?:
55
52
  | ((
56
53
  | string
@@ -70,18 +67,13 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
70
67
  | undefined;
71
68
  endpointProvider: (
72
69
  params: import("./endpoint/EndpointParameters").EndpointParameters,
73
- context?:
74
- | {
75
- logger?: import("@smithy/types").Logger | undefined;
76
- }
77
- | undefined
70
+ context?: {
71
+ logger?: import("@smithy/types").Logger;
72
+ }
78
73
  ) => import("@smithy/types").EndpointV2;
79
- tls?: boolean | undefined;
80
- serviceConfiguredEndpoint?: undefined;
81
- authSchemePreference?:
82
- | string[]
83
- | import("@smithy/types").Provider<string[]>
84
- | undefined;
74
+ tls?: boolean;
75
+ serviceConfiguredEndpoint?: never;
76
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
85
77
  httpAuthSchemes:
86
78
  | import("@smithy/types").HttpAuthScheme[]
87
79
  | (
@@ -111,25 +103,18 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
111
103
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").STSHttpAuthSchemeProvider;
112
104
  credentials?:
113
105
  | import("@smithy/types").AwsCredentialIdentity
114
- | import("@smithy/types").AwsCredentialIdentityProvider
115
- | undefined;
106
+ | import("@smithy/types").AwsCredentialIdentityProvider;
116
107
  signer?:
117
108
  | import("@smithy/types").RequestSigner
118
109
  | ((
119
- authScheme?: import("@smithy/types").AuthScheme | undefined
120
- ) => Promise<import("@smithy/types").RequestSigner>)
121
- | undefined;
122
- signingEscapePath?: boolean | undefined;
123
- systemClockOffset?: number | undefined;
124
- signingRegion?: string | undefined;
125
- signerConstructor?:
126
- | (new (
127
- options: import("@smithy/signature-v4").SignatureV4Init &
128
- import("@smithy/signature-v4").SignatureV4CryptoInit
129
- ) => import("@smithy/types").RequestSigner)
130
- | undefined;
131
- useGlobalEndpoint?:
132
- | boolean
133
- | import("@smithy/types").Provider<boolean>
134
- | undefined;
110
+ authScheme?: import("@smithy/types").AuthScheme
111
+ ) => Promise<import("@smithy/types").RequestSigner>);
112
+ signingEscapePath?: boolean;
113
+ systemClockOffset?: number;
114
+ signingRegion?: string;
115
+ signerConstructor?: new (
116
+ options: import("@smithy/signature-v4").SignatureV4Init &
117
+ import("@smithy/signature-v4").SignatureV4CryptoInit
118
+ ) => import("@smithy/types").RequestSigner;
119
+ useGlobalEndpoint?: boolean | import("@smithy/types").Provider<boolean>;
135
120
  };
@@ -5,15 +5,13 @@ import { STSClientConfig } from "./STSClient";
5
5
  export declare const getRuntimeConfig: (config: STSClientConfig) => {
6
6
  apiVersion: string;
7
7
  base64Decoder: import("@smithy/types").Decoder;
8
- base64Encoder: (_input: string | Uint8Array) => string;
8
+ base64Encoder: (_input: Uint8Array | string) => string;
9
9
  disableHostPrefix: boolean;
10
10
  endpointProvider: (
11
11
  params: import("./endpoint/EndpointParameters").EndpointParameters,
12
- context?:
13
- | {
14
- logger?: import("@smithy/types").Logger | undefined;
15
- }
16
- | undefined
12
+ context?: {
13
+ logger?: import("@smithy/types").Logger;
14
+ }
17
15
  ) => import("@smithy/types").EndpointV2;
18
16
  extensions: import("./runtimeExtensions").RuntimeExtension[];
19
17
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").STSHttpAuthSchemeProvider;
@@ -47,5 +45,5 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
47
45
  serviceId: string;
48
46
  urlParser: import("@smithy/types").UrlParser;
49
47
  utf8Decoder: import("@smithy/types").Decoder;
50
- utf8Encoder: (input: string | Uint8Array) => string;
48
+ utf8Encoder: (input: Uint8Array | string) => string;
51
49
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sts",
3
3
  "description": "AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native",
4
- "version": "3.803.0",
4
+ "version": "3.806.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-sts",
@@ -22,39 +22,39 @@
22
22
  "dependencies": {
23
23
  "@aws-crypto/sha256-browser": "5.2.0",
24
24
  "@aws-crypto/sha256-js": "5.2.0",
25
- "@aws-sdk/core": "3.799.0",
26
- "@aws-sdk/credential-provider-node": "3.803.0",
27
- "@aws-sdk/middleware-host-header": "3.775.0",
28
- "@aws-sdk/middleware-logger": "3.775.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.775.0",
30
- "@aws-sdk/middleware-user-agent": "3.799.0",
31
- "@aws-sdk/region-config-resolver": "3.775.0",
32
- "@aws-sdk/types": "3.775.0",
33
- "@aws-sdk/util-endpoints": "3.787.0",
34
- "@aws-sdk/util-user-agent-browser": "3.775.0",
35
- "@aws-sdk/util-user-agent-node": "3.799.0",
36
- "@smithy/config-resolver": "^4.1.0",
37
- "@smithy/core": "^3.3.0",
25
+ "@aws-sdk/core": "3.806.0",
26
+ "@aws-sdk/credential-provider-node": "3.806.0",
27
+ "@aws-sdk/middleware-host-header": "3.804.0",
28
+ "@aws-sdk/middleware-logger": "3.804.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.804.0",
30
+ "@aws-sdk/middleware-user-agent": "3.806.0",
31
+ "@aws-sdk/region-config-resolver": "3.806.0",
32
+ "@aws-sdk/types": "3.804.0",
33
+ "@aws-sdk/util-endpoints": "3.806.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.804.0",
35
+ "@aws-sdk/util-user-agent-node": "3.806.0",
36
+ "@smithy/config-resolver": "^4.1.1",
37
+ "@smithy/core": "^3.3.1",
38
38
  "@smithy/fetch-http-handler": "^5.0.2",
39
39
  "@smithy/hash-node": "^4.0.2",
40
40
  "@smithy/invalid-dependency": "^4.0.2",
41
41
  "@smithy/middleware-content-length": "^4.0.2",
42
- "@smithy/middleware-endpoint": "^4.1.1",
43
- "@smithy/middleware-retry": "^4.1.2",
42
+ "@smithy/middleware-endpoint": "^4.1.3",
43
+ "@smithy/middleware-retry": "^4.1.4",
44
44
  "@smithy/middleware-serde": "^4.0.3",
45
45
  "@smithy/middleware-stack": "^4.0.2",
46
- "@smithy/node-config-provider": "^4.0.2",
46
+ "@smithy/node-config-provider": "^4.1.0",
47
47
  "@smithy/node-http-handler": "^4.0.4",
48
48
  "@smithy/protocol-http": "^5.1.0",
49
- "@smithy/smithy-client": "^4.2.1",
49
+ "@smithy/smithy-client": "^4.2.3",
50
50
  "@smithy/types": "^4.2.0",
51
51
  "@smithy/url-parser": "^4.0.2",
52
52
  "@smithy/util-base64": "^4.0.0",
53
53
  "@smithy/util-body-length-browser": "^4.0.0",
54
54
  "@smithy/util-body-length-node": "^4.0.0",
55
- "@smithy/util-defaults-mode-browser": "^4.0.9",
56
- "@smithy/util-defaults-mode-node": "^4.0.9",
57
- "@smithy/util-endpoints": "^3.0.2",
55
+ "@smithy/util-defaults-mode-browser": "^4.0.11",
56
+ "@smithy/util-defaults-mode-node": "^4.0.11",
57
+ "@smithy/util-endpoints": "^3.0.3",
58
58
  "@smithy/util-middleware": "^4.0.2",
59
59
  "@smithy/util-retry": "^4.0.3",
60
60
  "@smithy/util-utf8": "^4.0.0",
@@ -66,7 +66,7 @@
66
66
  "concurrently": "7.0.0",
67
67
  "downlevel-dts": "0.10.1",
68
68
  "rimraf": "3.0.2",
69
- "typescript": "~5.2.2"
69
+ "typescript": "~5.8.3"
70
70
  },
71
71
  "engines": {
72
72
  "node": ">=18.0.0"