@aws-sdk/client-sts 3.1087.0 → 3.1089.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 (30) hide show
  1. package/dist-cjs/index.js +1 -1
  2. package/dist-types/ts3.4/STS.d.ts +35 -41
  3. package/dist-types/ts3.4/STSClient.d.ts +15 -28
  4. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
  5. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -16
  6. package/dist-types/ts3.4/commandBuilder.d.ts +8 -18
  7. package/dist-types/ts3.4/commands/AssumeRoleCommand.d.ts +3 -5
  8. package/dist-types/ts3.4/commands/AssumeRoleWithSAMLCommand.d.ts +5 -10
  9. package/dist-types/ts3.4/commands/AssumeRoleWithWebIdentityCommand.d.ts +4 -6
  10. package/dist-types/ts3.4/commands/AssumeRootCommand.d.ts +3 -5
  11. package/dist-types/ts3.4/commands/DecodeAuthorizationMessageCommand.d.ts +4 -6
  12. package/dist-types/ts3.4/commands/GetAccessKeyInfoCommand.d.ts +4 -9
  13. package/dist-types/ts3.4/commands/GetCallerIdentityCommand.d.ts +4 -9
  14. package/dist-types/ts3.4/commands/GetDelegatedAccessTokenCommand.d.ts +4 -6
  15. package/dist-types/ts3.4/commands/GetFederationTokenCommand.d.ts +5 -10
  16. package/dist-types/ts3.4/commands/GetSessionTokenCommand.d.ts +3 -8
  17. package/dist-types/ts3.4/commands/GetWebIdentityTokenCommand.d.ts +5 -10
  18. package/dist-types/ts3.4/defaultRoleAssumers.d.ts +3 -3
  19. package/dist-types/ts3.4/defaultStsRoleAssumers.d.ts +5 -7
  20. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  21. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
  22. package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
  23. package/dist-types/ts3.4/models/errors.d.ts +12 -49
  24. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -34
  25. package/dist-types/ts3.4/runtimeConfig.d.ts +14 -31
  26. package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -34
  27. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -10
  28. package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
  29. package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -5
  30. package/package.json +40 -40
@@ -1,17 +1,12 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import {
3
- GetFederationTokenRequest,
4
- GetFederationTokenResponse,
5
- } from "../models/models_0";
2
+ import { GetFederationTokenRequest, GetFederationTokenResponse } from "../models/models_0";
6
3
  export { __MetadataBearer };
7
- export interface GetFederationTokenCommandInput
8
- extends GetFederationTokenRequest {}
4
+ export interface GetFederationTokenCommandInput extends GetFederationTokenRequest {}
9
5
  export interface GetFederationTokenCommandOutput
10
- extends GetFederationTokenResponse,
11
- __MetadataBearer {}
6
+ extends GetFederationTokenResponse, __MetadataBearer {}
12
7
  declare const GetFederationTokenCommand_base: {
13
8
  new (
14
- input: GetFederationTokenCommandInput
9
+ input: GetFederationTokenCommandInput,
15
10
  ): import("@smithy/core/client").CommandImpl<
16
11
  GetFederationTokenCommandInput,
17
12
  GetFederationTokenCommandOutput,
@@ -20,7 +15,7 @@ declare const GetFederationTokenCommand_base: {
20
15
  import("..").ServiceOutputTypes
21
16
  >;
22
17
  new (
23
- input: GetFederationTokenCommandInput
18
+ input: GetFederationTokenCommandInput,
24
19
  ): import("@smithy/core/client").CommandImpl<
25
20
  GetFederationTokenCommandInput,
26
21
  GetFederationTokenCommandOutput,
@@ -1,16 +1,11 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import {
3
- GetSessionTokenRequest,
4
- GetSessionTokenResponse,
5
- } from "../models/models_0";
2
+ import { GetSessionTokenRequest, GetSessionTokenResponse } from "../models/models_0";
6
3
  export { __MetadataBearer };
7
4
  export interface GetSessionTokenCommandInput extends GetSessionTokenRequest {}
8
- export interface GetSessionTokenCommandOutput
9
- extends GetSessionTokenResponse,
10
- __MetadataBearer {}
5
+ export interface GetSessionTokenCommandOutput extends GetSessionTokenResponse, __MetadataBearer {}
11
6
  declare const GetSessionTokenCommand_base: {
12
7
  new (
13
- input: GetSessionTokenCommandInput
8
+ input: GetSessionTokenCommandInput,
14
9
  ): import("@smithy/core/client").CommandImpl<
15
10
  GetSessionTokenCommandInput,
16
11
  GetSessionTokenCommandOutput,
@@ -1,17 +1,12 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import {
3
- GetWebIdentityTokenRequest,
4
- GetWebIdentityTokenResponse,
5
- } from "../models/models_0";
2
+ import { GetWebIdentityTokenRequest, GetWebIdentityTokenResponse } from "../models/models_0";
6
3
  export { __MetadataBearer };
7
- export interface GetWebIdentityTokenCommandInput
8
- extends GetWebIdentityTokenRequest {}
4
+ export interface GetWebIdentityTokenCommandInput extends GetWebIdentityTokenRequest {}
9
5
  export interface GetWebIdentityTokenCommandOutput
10
- extends GetWebIdentityTokenResponse,
11
- __MetadataBearer {}
6
+ extends GetWebIdentityTokenResponse, __MetadataBearer {}
12
7
  declare const GetWebIdentityTokenCommand_base: {
13
8
  new (
14
- input: GetWebIdentityTokenCommandInput
9
+ input: GetWebIdentityTokenCommandInput,
15
10
  ): import("@smithy/core/client").CommandImpl<
16
11
  GetWebIdentityTokenCommandInput,
17
12
  GetWebIdentityTokenCommandOutput,
@@ -20,7 +15,7 @@ declare const GetWebIdentityTokenCommand_base: {
20
15
  import("..").ServiceOutputTypes
21
16
  >;
22
17
  new (
23
- input: GetWebIdentityTokenCommandInput
18
+ input: GetWebIdentityTokenCommandInput,
24
19
  ): import("@smithy/core/client").CommandImpl<
25
20
  GetWebIdentityTokenCommandInput,
26
21
  GetWebIdentityTokenCommandOutput,
@@ -8,12 +8,12 @@ import {
8
8
  import { ServiceInputTypes, ServiceOutputTypes } from "./STSClient";
9
9
  export declare const getDefaultRoleAssumer: (
10
10
  stsOptions?: STSRoleAssumerOptions,
11
- stsPlugins?: Pluggable<ServiceInputTypes, ServiceOutputTypes>[]
11
+ stsPlugins?: Pluggable<ServiceInputTypes, ServiceOutputTypes>[],
12
12
  ) => RoleAssumer;
13
13
  export declare const getDefaultRoleAssumerWithWebIdentity: (
14
14
  stsOptions?: STSRoleAssumerOptions,
15
- stsPlugins?: Pluggable<ServiceInputTypes, ServiceOutputTypes>[]
15
+ stsPlugins?: Pluggable<ServiceInputTypes, ServiceOutputTypes>[],
16
16
  ) => RoleAssumerWithWebIdentity;
17
17
  export declare const decorateDefaultCredentialProvider: (
18
- provider: DefaultCredentialProvider
18
+ provider: DefaultCredentialProvider,
19
19
  ) => DefaultCredentialProvider;
@@ -12,19 +12,17 @@ export type STSRoleAssumerOptions = Pick<
12
12
  };
13
13
  export type RoleAssumer = (
14
14
  sourceCreds: AwsCredentialIdentity,
15
- params: AssumeRoleCommandInput
15
+ params: AssumeRoleCommandInput,
16
16
  ) => Promise<AwsCredentialIdentity>;
17
17
  export declare const getDefaultRoleAssumer: (
18
18
  stsOptions: STSRoleAssumerOptions,
19
- STSClient: new (options: STSClientConfig) => STSClient
19
+ STSClient: new (options: STSClientConfig) => STSClient,
20
20
  ) => RoleAssumer;
21
21
  export type RoleAssumerWithWebIdentity = (
22
- params: AssumeRoleWithWebIdentityCommandInput
22
+ params: AssumeRoleWithWebIdentityCommandInput,
23
23
  ) => Promise<AwsCredentialIdentity>;
24
24
  export declare const getDefaultRoleAssumerWithWebIdentity: (
25
25
  stsOptions: STSRoleAssumerOptions,
26
- STSClient: new (options: STSClientConfig) => STSClient
26
+ STSClient: new (options: STSClientConfig) => STSClient,
27
27
  ) => RoleAssumerWithWebIdentity;
28
- export type DefaultCredentialProvider = (
29
- input: any
30
- ) => Provider<AwsCredentialIdentity>;
28
+ export type DefaultCredentialProvider = (input: any) => Provider<AwsCredentialIdentity>;
@@ -24,7 +24,7 @@ export type ClientResolvedEndpointParameters = Pick<
24
24
  defaultSigningName: string;
25
25
  };
26
26
  export declare const resolveClientEndpointParameters: <T>(
27
- options: T & ClientInputEndpointParameters
27
+ options: T & ClientInputEndpointParameters,
28
28
  ) => T & ClientResolvedEndpointParameters;
29
29
  export declare const commonParams: {
30
30
  readonly UseGlobalEndpoint: {
@@ -4,5 +4,5 @@ export declare const defaultEndpointResolver: (
4
4
  endpointParams: EndpointParameters,
5
5
  context?: {
6
6
  logger?: Logger;
7
- }
7
+ },
8
8
  ) => EndpointV2;
@@ -3,7 +3,8 @@ import { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
3
3
  import { DefaultExtensionConfiguration } from "@smithy/types";
4
4
  import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
5
  export interface STSExtensionConfiguration
6
- extends HttpHandlerExtensionConfiguration,
6
+ extends
7
+ HttpHandlerExtensionConfiguration,
7
8
  DefaultExtensionConfiguration,
8
9
  AwsRegionExtensionConfiguration,
9
10
  HttpAuthExtensionConfiguration {}
@@ -3,100 +3,63 @@ import { STSServiceException as __BaseException } from "./STSServiceException";
3
3
  export declare class ExpiredTokenException extends __BaseException {
4
4
  readonly name: "ExpiredTokenException";
5
5
  readonly $fault: "client";
6
- constructor(
7
- opts: __ExceptionOptionType<ExpiredTokenException, __BaseException>
8
- );
6
+ constructor(opts: __ExceptionOptionType<ExpiredTokenException, __BaseException>);
9
7
  }
10
8
  export declare class MalformedPolicyDocumentException extends __BaseException {
11
9
  readonly name: "MalformedPolicyDocumentException";
12
10
  readonly $fault: "client";
13
- constructor(
14
- opts: __ExceptionOptionType<
15
- MalformedPolicyDocumentException,
16
- __BaseException
17
- >
18
- );
11
+ constructor(opts: __ExceptionOptionType<MalformedPolicyDocumentException, __BaseException>);
19
12
  }
20
13
  export declare class PackedPolicyTooLargeException extends __BaseException {
21
14
  readonly name: "PackedPolicyTooLargeException";
22
15
  readonly $fault: "client";
23
- constructor(
24
- opts: __ExceptionOptionType<PackedPolicyTooLargeException, __BaseException>
25
- );
16
+ constructor(opts: __ExceptionOptionType<PackedPolicyTooLargeException, __BaseException>);
26
17
  }
27
18
  export declare class RegionDisabledException extends __BaseException {
28
19
  readonly name: "RegionDisabledException";
29
20
  readonly $fault: "client";
30
- constructor(
31
- opts: __ExceptionOptionType<RegionDisabledException, __BaseException>
32
- );
21
+ constructor(opts: __ExceptionOptionType<RegionDisabledException, __BaseException>);
33
22
  }
34
23
  export declare class IDPRejectedClaimException extends __BaseException {
35
24
  readonly name: "IDPRejectedClaimException";
36
25
  readonly $fault: "client";
37
- constructor(
38
- opts: __ExceptionOptionType<IDPRejectedClaimException, __BaseException>
39
- );
26
+ constructor(opts: __ExceptionOptionType<IDPRejectedClaimException, __BaseException>);
40
27
  }
41
28
  export declare class InvalidIdentityTokenException extends __BaseException {
42
29
  readonly name: "InvalidIdentityTokenException";
43
30
  readonly $fault: "client";
44
- constructor(
45
- opts: __ExceptionOptionType<InvalidIdentityTokenException, __BaseException>
46
- );
31
+ constructor(opts: __ExceptionOptionType<InvalidIdentityTokenException, __BaseException>);
47
32
  }
48
33
  export declare class IDPCommunicationErrorException extends __BaseException {
49
34
  readonly name: "IDPCommunicationErrorException";
50
35
  readonly $fault: "client";
51
36
  $retryable: {};
52
- constructor(
53
- opts: __ExceptionOptionType<IDPCommunicationErrorException, __BaseException>
54
- );
37
+ constructor(opts: __ExceptionOptionType<IDPCommunicationErrorException, __BaseException>);
55
38
  }
56
39
  export declare class InvalidAuthorizationMessageException extends __BaseException {
57
40
  readonly name: "InvalidAuthorizationMessageException";
58
41
  readonly $fault: "client";
59
- constructor(
60
- opts: __ExceptionOptionType<
61
- InvalidAuthorizationMessageException,
62
- __BaseException
63
- >
64
- );
42
+ constructor(opts: __ExceptionOptionType<InvalidAuthorizationMessageException, __BaseException>);
65
43
  }
66
44
  export declare class ExpiredTradeInTokenException extends __BaseException {
67
45
  readonly name: "ExpiredTradeInTokenException";
68
46
  readonly $fault: "client";
69
- constructor(
70
- opts: __ExceptionOptionType<ExpiredTradeInTokenException, __BaseException>
71
- );
47
+ constructor(opts: __ExceptionOptionType<ExpiredTradeInTokenException, __BaseException>);
72
48
  }
73
49
  export declare class JWTPayloadSizeExceededException extends __BaseException {
74
50
  readonly name: "JWTPayloadSizeExceededException";
75
51
  readonly $fault: "client";
76
- constructor(
77
- opts: __ExceptionOptionType<
78
- JWTPayloadSizeExceededException,
79
- __BaseException
80
- >
81
- );
52
+ constructor(opts: __ExceptionOptionType<JWTPayloadSizeExceededException, __BaseException>);
82
53
  }
83
54
  export declare class OutboundWebIdentityFederationDisabledException extends __BaseException {
84
55
  readonly name: "OutboundWebIdentityFederationDisabledException";
85
56
  readonly $fault: "client";
86
57
  constructor(
87
- opts: __ExceptionOptionType<
88
- OutboundWebIdentityFederationDisabledException,
89
- __BaseException
90
- >
58
+ opts: __ExceptionOptionType<OutboundWebIdentityFederationDisabledException, __BaseException>,
91
59
  );
92
60
  }
93
61
  export declare class SessionDurationEscalationException extends __BaseException {
94
62
  readonly name: "SessionDurationEscalationException";
95
63
  readonly $fault: "client";
96
- constructor(
97
- opts: __ExceptionOptionType<
98
- SessionDurationEscalationException,
99
- __BaseException
100
- >
101
- );
64
+ constructor(opts: __ExceptionOptionType<SessionDurationEscalationException, __BaseException>);
102
65
  }
@@ -8,24 +8,16 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
9
  credentialDefaultProvider:
10
10
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
- | ((
12
- _: unknown
13
- ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
14
12
  defaultUserAgentProvider: (
15
- config?: import("@aws-sdk/core/client").PreviouslyResolved
13
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
16
14
  ) => Promise<import("@smithy/types").UserAgent>;
17
15
  maxAttempts: number | import("@smithy/types").Provider<number>;
18
16
  region: string | import("@smithy/types").Provider<any>;
19
- requestHandler:
20
- | import("@smithy/core/protocols").HttpHandler<any>
21
- | RequestHandler;
17
+ requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
22
18
  retryMode: string | import("@smithy/types").Provider<string>;
23
19
  streamCollector: (
24
- stream:
25
- | import("stream").Readable
26
- | import("stream/web").ReadableStream
27
- | ReadableStream
28
- | Blob
20
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
29
21
  ) => Promise<Uint8Array>;
30
22
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
31
23
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
@@ -53,13 +45,8 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
53
45
  logger: import("@smithy/types").Logger;
54
46
  extensions: import("./runtimeExtensions").RuntimeExtension[];
55
47
  customUserAgent?: string | import("@smithy/types").UserAgent;
56
- userAgentAppId?:
57
- | string
58
- | undefined
59
- | import("@smithy/types").Provider<string | undefined>;
60
- retryStrategy?:
61
- | import("@smithy/types").RetryStrategy
62
- | import("@smithy/types").RetryStrategyV2;
48
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
49
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
63
50
  endpoint?:
64
51
  | ((
65
52
  | string
@@ -81,7 +68,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
81
68
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
82
69
  context?: {
83
70
  logger?: import("@smithy/types").Logger;
84
- }
71
+ },
85
72
  ) => import("@smithy/types").EndpointV2;
86
73
  tls?: boolean;
87
74
  serviceConfiguredEndpoint?: never;
@@ -92,22 +79,18 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
92
79
  | {
93
80
  schemeId: string;
94
81
  identityProvider: (
95
- ipc: import("@smithy/types").IdentityProviderConfig
82
+ ipc: import("@smithy/types").IdentityProviderConfig,
96
83
  ) =>
97
- | import("@smithy/types").IdentityProvider<
98
- import("@smithy/types").Identity
99
- >
84
+ | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>
100
85
  | undefined;
101
86
  signer: import("@aws-sdk/core/httpAuthSchemes").AwsSdkSigV4Signer;
102
87
  }
103
88
  | {
104
89
  schemeId: string;
105
90
  identityProvider: (
106
- ipc: import("@smithy/types").IdentityProviderConfig
91
+ ipc: import("@smithy/types").IdentityProviderConfig,
107
92
  ) =>
108
- | import("@smithy/types").IdentityProvider<
109
- import("@smithy/types").Identity
110
- >
93
+ | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>
111
94
  | (() => Promise<{}>);
112
95
  signer: import("@smithy/core").NoAuthSigner;
113
96
  }
@@ -119,7 +102,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
119
102
  signer?:
120
103
  | import("@smithy/types").RequestSigner
121
104
  | ((
122
- authScheme?: import("@smithy/types").AuthScheme
105
+ authScheme?: import("@smithy/types").AuthScheme,
123
106
  ) => Promise<import("@smithy/types").RequestSigner>);
124
107
  signingEscapePath?: boolean;
125
108
  systemClockOffset?: number;
@@ -128,14 +111,11 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
128
111
  | typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion
129
112
  | (new (
130
113
  options: import("@smithy/signature-v4").SignatureV4Init &
131
- import("@smithy/signature-v4").SignatureV4CryptoInit
114
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
132
115
  ) => import("@smithy/types").RequestSigner);
133
116
  sigv4aSigningRegionSet?:
134
117
  | string[]
135
118
  | undefined
136
119
  | import("@smithy/types").Provider<string[] | undefined>;
137
- useGlobalEndpoint?:
138
- | boolean
139
- | undefined
140
- | import("@smithy/types").Provider<boolean | undefined>;
120
+ useGlobalEndpoint?: boolean | undefined | import("@smithy/types").Provider<boolean | undefined>;
141
121
  };
@@ -13,10 +13,10 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
13
13
  credentialDefaultProvider:
14
14
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
15
15
  | ((
16
- init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
16
+ init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
17
17
  ) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
18
18
  defaultUserAgentProvider: (
19
- config?: import("@aws-sdk/core/client").PreviouslyResolved
19
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
20
20
  ) => Promise<import("@smithy/types").UserAgent>;
21
21
  httpAuthSchemes:
22
22
  | import("@smithy/types").HttpAuthScheme[]
@@ -24,41 +24,29 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
24
24
  | {
25
25
  schemeId: string;
26
26
  identityProvider: (
27
- ipc: IdentityProviderConfig
27
+ ipc: IdentityProviderConfig,
28
28
  ) =>
29
- | import("@smithy/types").IdentityProvider<
30
- import("@smithy/types").Identity
31
- >
29
+ | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>
32
30
  | undefined;
33
31
  signer: AwsSdkSigV4ASigner;
34
32
  }
35
33
  | {
36
34
  schemeId: string;
37
35
  identityProvider: (
38
- ipc: IdentityProviderConfig
36
+ ipc: IdentityProviderConfig,
39
37
  ) =>
40
- | import("@smithy/types").IdentityProvider<
41
- import("@smithy/types").Identity
42
- >
38
+ | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>
43
39
  | (() => Promise<{}>);
44
40
  signer: NoAuthSigner;
45
41
  }
46
42
  )[];
47
43
  maxAttempts: number | import("@smithy/types").Provider<number>;
48
44
  region: string | import("@smithy/types").Provider<string>;
49
- requestHandler:
50
- | RequestHandler
51
- | import("@smithy/core/protocols").HttpHandler<any>;
45
+ requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
52
46
  retryMode: string | import("@smithy/types").Provider<string>;
53
- sigv4aSigningRegionSet:
54
- | string[]
55
- | import("@smithy/types").Provider<string[] | undefined>;
47
+ sigv4aSigningRegionSet: string[] | import("@smithy/types").Provider<string[] | undefined>;
56
48
  streamCollector: (
57
- stream:
58
- | import("stream").Readable
59
- | import("stream/web").ReadableStream
60
- | ReadableStream
61
- | Blob
49
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
62
50
  ) => Promise<Uint8Array>;
63
51
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
64
52
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
@@ -85,9 +73,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
85
73
  logger: import("@smithy/types").Logger;
86
74
  extensions: import("./runtimeExtensions").RuntimeExtension[];
87
75
  customUserAgent?: string | import("@smithy/types").UserAgent;
88
- retryStrategy?:
89
- | import("@smithy/types").RetryStrategy
90
- | import("@smithy/types").RetryStrategyV2;
76
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
91
77
  endpoint?:
92
78
  | ((
93
79
  | string
@@ -109,7 +95,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
109
95
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
110
96
  context?: {
111
97
  logger?: import("@smithy/types").Logger;
112
- }
98
+ },
113
99
  ) => import("@smithy/types").EndpointV2;
114
100
  tls?: boolean;
115
101
  serviceConfiguredEndpoint?: never;
@@ -120,7 +106,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
120
106
  signer?:
121
107
  | import("@smithy/types").RequestSigner
122
108
  | ((
123
- authScheme?: import("@smithy/types").AuthScheme
109
+ authScheme?: import("@smithy/types").AuthScheme,
124
110
  ) => Promise<import("@smithy/types").RequestSigner>);
125
111
  signingEscapePath?: boolean;
126
112
  systemClockOffset?: number;
@@ -129,10 +115,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
129
115
  | typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion
130
116
  | (new (
131
117
  options: import("@smithy/signature-v4").SignatureV4Init &
132
- import("@smithy/signature-v4").SignatureV4CryptoInit
118
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
133
119
  ) => import("@smithy/types").RequestSigner);
134
- useGlobalEndpoint?:
135
- | boolean
136
- | undefined
137
- | import("@smithy/types").Provider<boolean | undefined>;
120
+ useGlobalEndpoint?: boolean | undefined | import("@smithy/types").Provider<boolean | undefined>;
138
121
  };
@@ -21,11 +21,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
21
21
  urlParser: import("@smithy/types").UrlParser;
22
22
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
23
23
  streamCollector: (
24
- stream:
25
- | import("stream").Readable
26
- | import("stream/web").ReadableStream
27
- | ReadableStream
28
- | Blob
24
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
29
25
  ) => Promise<Uint8Array>;
30
26
  base64Decoder: import("@smithy/types").Decoder;
31
27
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -40,30 +36,21 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
40
36
  region: string | import("@smithy/types").Provider<any>;
41
37
  profile?: string;
42
38
  defaultUserAgentProvider: (
43
- config?: import("@aws-sdk/core/client").PreviouslyResolved
39
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
44
40
  ) => Promise<import("@smithy/types").UserAgent>;
45
41
  credentialDefaultProvider:
46
42
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
47
- | ((
48
- _: unknown
49
- ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
43
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
50
44
  maxAttempts: number | import("@smithy/types").Provider<number>;
51
45
  retryMode: string | import("@smithy/types").Provider<string>;
52
46
  logger: import("@smithy/types").Logger;
53
47
  extensions: import("./runtimeExtensions").RuntimeExtension[];
54
48
  defaultsMode:
55
49
  | import("@smithy/core/client").DefaultsMode
56
- | import("@smithy/types").Provider<
57
- import("@smithy/core/client").DefaultsMode
58
- >;
50
+ | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
59
51
  customUserAgent?: string | import("@smithy/types").UserAgent;
60
- userAgentAppId?:
61
- | string
62
- | undefined
63
- | import("@smithy/types").Provider<string | undefined>;
64
- retryStrategy?:
65
- | import("@smithy/types").RetryStrategy
66
- | import("@smithy/types").RetryStrategyV2;
52
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
53
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
67
54
  endpoint?:
68
55
  | ((
69
56
  | string
@@ -85,7 +72,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
85
72
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
86
73
  context?: {
87
74
  logger?: import("@smithy/types").Logger;
88
- }
75
+ },
89
76
  ) => import("@smithy/types").EndpointV2;
90
77
  tls?: boolean;
91
78
  serviceConfiguredEndpoint?: never;
@@ -96,22 +83,18 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
96
83
  | {
97
84
  schemeId: string;
98
85
  identityProvider: (
99
- ipc: import("@smithy/types").IdentityProviderConfig
86
+ ipc: import("@smithy/types").IdentityProviderConfig,
100
87
  ) =>
101
- | import("@smithy/types").IdentityProvider<
102
- import("@smithy/types").Identity
103
- >
88
+ | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>
104
89
  | undefined;
105
90
  signer: import("@aws-sdk/core/httpAuthSchemes").AwsSdkSigV4Signer;
106
91
  }
107
92
  | {
108
93
  schemeId: string;
109
94
  identityProvider: (
110
- ipc: import("@smithy/types").IdentityProviderConfig
95
+ ipc: import("@smithy/types").IdentityProviderConfig,
111
96
  ) =>
112
- | import("@smithy/types").IdentityProvider<
113
- import("@smithy/types").Identity
114
- >
97
+ | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>
115
98
  | (() => Promise<{}>);
116
99
  signer: import("@smithy/core").NoAuthSigner;
117
100
  }
@@ -123,7 +106,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
123
106
  signer?:
124
107
  | import("@smithy/types").RequestSigner
125
108
  | ((
126
- authScheme?: import("@smithy/types").AuthScheme
109
+ authScheme?: import("@smithy/types").AuthScheme,
127
110
  ) => Promise<import("@smithy/types").RequestSigner>);
128
111
  signingEscapePath?: boolean;
129
112
  systemClockOffset?: number;
@@ -132,14 +115,11 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
132
115
  | typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion
133
116
  | (new (
134
117
  options: import("@smithy/signature-v4").SignatureV4Init &
135
- import("@smithy/signature-v4").SignatureV4CryptoInit
118
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
136
119
  ) => import("@smithy/types").RequestSigner);
137
120
  sigv4aSigningRegionSet?:
138
121
  | string[]
139
122
  | undefined
140
123
  | import("@smithy/types").Provider<string[] | undefined>;
141
- useGlobalEndpoint?:
142
- | boolean
143
- | undefined
144
- | import("@smithy/types").Provider<boolean | undefined>;
124
+ useGlobalEndpoint?: boolean | undefined | import("@smithy/types").Provider<boolean | undefined>;
145
125
  };
@@ -13,7 +13,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
13
13
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
14
14
  context?: {
15
15
  logger?: import("@smithy/types").Logger;
16
- }
16
+ },
17
17
  ) => import("@smithy/types").EndpointV2;
18
18
  extensions: import("./runtimeExtensions").RuntimeExtension[];
19
19
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").STSHttpAuthSchemeProvider;
@@ -23,22 +23,18 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
23
23
  | {
24
24
  schemeId: string;
25
25
  identityProvider: (
26
- ipc: IdentityProviderConfig
26
+ ipc: IdentityProviderConfig,
27
27
  ) =>
28
- | import("@smithy/types").IdentityProvider<
29
- import("@smithy/types").Identity
30
- >
28
+ | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>
31
29
  | undefined;
32
30
  signer: AwsSdkSigV4Signer;
33
31
  }
34
32
  | {
35
33
  schemeId: string;
36
34
  identityProvider: (
37
- ipc: IdentityProviderConfig
35
+ ipc: IdentityProviderConfig,
38
36
  ) =>
39
- | import("@smithy/types").IdentityProvider<
40
- import("@smithy/types").Identity
41
- >
37
+ | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>
42
38
  | (() => Promise<{}>);
43
39
  signer: NoAuthSigner;
44
40
  }
@@ -58,7 +54,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
58
54
  | typeof SignatureV4MultiRegion
59
55
  | (new (
60
56
  options: import("@smithy/signature-v4").SignatureV4Init &
61
- import("@smithy/signature-v4").SignatureV4CryptoInit
57
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
62
58
  ) => import("@smithy/types").RequestSigner);
63
59
  urlParser: import("@smithy/types").UrlParser;
64
60
  utf8Decoder: import("@smithy/types").Decoder;
@@ -7,5 +7,5 @@ export interface RuntimeExtensionsConfig {
7
7
  }
8
8
  export declare const resolveRuntimeExtensions: (
9
9
  runtimeConfig: any,
10
- extensions: RuntimeExtension[]
10
+ extensions: RuntimeExtension[],
11
11
  ) => any;
@@ -1,9 +1,5 @@
1
1
  import { TypeRegistry } from "@smithy/core/schema";
2
- import {
3
- StaticErrorSchema,
4
- StaticOperationSchema,
5
- StaticStructureSchema,
6
- } from "@smithy/types";
2
+ import { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
7
3
  export declare var STSServiceException$: StaticErrorSchema;
8
4
  export declare var ExpiredTokenException$: StaticErrorSchema;
9
5
  export declare var ExpiredTradeInTokenException$: StaticErrorSchema;