@aws-sdk/client-sts 3.332.0 → 3.335.1

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 (49) hide show
  1. package/CHANGELOG.md +3735 -0
  2. package/dist-cjs/commands/AssumeRoleCommand.js +2 -1
  3. package/dist-cjs/commands/AssumeRoleWithSAMLCommand.js +3 -2
  4. package/dist-cjs/commands/AssumeRoleWithWebIdentityCommand.js +3 -2
  5. package/dist-cjs/commands/GetFederationTokenCommand.js +2 -1
  6. package/dist-cjs/commands/GetSessionTokenCommand.js +2 -1
  7. package/dist-cjs/models/models_0.js +42 -1
  8. package/dist-cjs/protocols/Aws_query.js +1 -1
  9. package/dist-es/commands/AssumeRoleCommand.js +2 -1
  10. package/dist-es/commands/AssumeRoleWithSAMLCommand.js +3 -2
  11. package/dist-es/commands/AssumeRoleWithWebIdentityCommand.js +3 -2
  12. package/dist-es/commands/GetFederationTokenCommand.js +2 -1
  13. package/dist-es/commands/GetSessionTokenCommand.js +2 -1
  14. package/dist-es/models/models_0.js +33 -0
  15. package/dist-es/protocols/Aws_query.js +1 -1
  16. package/dist-types/STSClient.d.ts +3 -2
  17. package/dist-types/endpoint/EndpointParameters.d.ts +2 -1
  18. package/dist-types/models/models_0.d.ts +32 -0
  19. package/dist-types/protocols/Aws_query.d.ts +2 -2
  20. package/dist-types/runtimeConfig.browser.d.ts +13 -13
  21. package/dist-types/runtimeConfig.d.ts +9 -9
  22. package/dist-types/runtimeConfig.native.d.ts +14 -14
  23. package/dist-types/runtimeConfig.shared.d.ts +4 -4
  24. package/dist-types/ts3.4/STS.d.ts +69 -141
  25. package/dist-types/ts3.4/STSClient.d.ts +173 -159
  26. package/dist-types/ts3.4/commands/AssumeRoleCommand.d.ts +261 -34
  27. package/dist-types/ts3.4/commands/AssumeRoleWithSAMLCommand.d.ts +292 -38
  28. package/dist-types/ts3.4/commands/AssumeRoleWithWebIdentityCommand.d.ts +301 -41
  29. package/dist-types/ts3.4/commands/DecodeAuthorizationMessageCommand.d.ts +125 -41
  30. package/dist-types/ts3.4/commands/GetAccessKeyInfoCommand.d.ts +86 -37
  31. package/dist-types/ts3.4/commands/GetCallerIdentityCommand.d.ts +124 -38
  32. package/dist-types/ts3.4/commands/GetFederationTokenCommand.d.ts +235 -38
  33. package/dist-types/ts3.4/commands/GetSessionTokenCommand.d.ts +162 -37
  34. package/dist-types/ts3.4/commands/index.d.ts +8 -8
  35. package/dist-types/ts3.4/defaultRoleAssumers.d.ts +20 -22
  36. package/dist-types/ts3.4/defaultStsRoleAssumers.d.ts +35 -23
  37. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +22 -35
  38. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +5 -8
  39. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -2
  40. package/dist-types/ts3.4/index.d.ts +6 -6
  41. package/dist-types/ts3.4/models/STSServiceException.d.ts +12 -7
  42. package/dist-types/ts3.4/models/index.d.ts +1 -1
  43. package/dist-types/ts3.4/models/models_0.d.ts +1110 -179
  44. package/dist-types/ts3.4/protocols/Aws_query.d.ts +74 -101
  45. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +43 -95
  46. package/dist-types/ts3.4/runtimeConfig.d.ts +43 -93
  47. package/dist-types/ts3.4/runtimeConfig.native.d.ts +42 -84
  48. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +18 -18
  49. package/package.json +5 -4
@@ -1,101 +1,74 @@
1
- import {
2
- HttpRequest as __HttpRequest,
3
- HttpResponse as __HttpResponse,
4
- } from "@aws-sdk/protocol-http";
5
- import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
6
- import {
7
- AssumeRoleCommandInput,
8
- AssumeRoleCommandOutput,
9
- } from "../commands/AssumeRoleCommand";
10
- import {
11
- AssumeRoleWithSAMLCommandInput,
12
- AssumeRoleWithSAMLCommandOutput,
13
- } from "../commands/AssumeRoleWithSAMLCommand";
14
- import {
15
- AssumeRoleWithWebIdentityCommandInput,
16
- AssumeRoleWithWebIdentityCommandOutput,
17
- } from "../commands/AssumeRoleWithWebIdentityCommand";
18
- import {
19
- DecodeAuthorizationMessageCommandInput,
20
- DecodeAuthorizationMessageCommandOutput,
21
- } from "../commands/DecodeAuthorizationMessageCommand";
22
- import {
23
- GetAccessKeyInfoCommandInput,
24
- GetAccessKeyInfoCommandOutput,
25
- } from "../commands/GetAccessKeyInfoCommand";
26
- import {
27
- GetCallerIdentityCommandInput,
28
- GetCallerIdentityCommandOutput,
29
- } from "../commands/GetCallerIdentityCommand";
30
- import {
31
- GetFederationTokenCommandInput,
32
- GetFederationTokenCommandOutput,
33
- } from "../commands/GetFederationTokenCommand";
34
- import {
35
- GetSessionTokenCommandInput,
36
- GetSessionTokenCommandOutput,
37
- } from "../commands/GetSessionTokenCommand";
38
- export declare const se_AssumeRoleCommand: (
39
- input: AssumeRoleCommandInput,
40
- context: __SerdeContext
41
- ) => Promise<__HttpRequest>;
42
- export declare const se_AssumeRoleWithSAMLCommand: (
43
- input: AssumeRoleWithSAMLCommandInput,
44
- context: __SerdeContext
45
- ) => Promise<__HttpRequest>;
46
- export declare const se_AssumeRoleWithWebIdentityCommand: (
47
- input: AssumeRoleWithWebIdentityCommandInput,
48
- context: __SerdeContext
49
- ) => Promise<__HttpRequest>;
50
- export declare const se_DecodeAuthorizationMessageCommand: (
51
- input: DecodeAuthorizationMessageCommandInput,
52
- context: __SerdeContext
53
- ) => Promise<__HttpRequest>;
54
- export declare const se_GetAccessKeyInfoCommand: (
55
- input: GetAccessKeyInfoCommandInput,
56
- context: __SerdeContext
57
- ) => Promise<__HttpRequest>;
58
- export declare const se_GetCallerIdentityCommand: (
59
- input: GetCallerIdentityCommandInput,
60
- context: __SerdeContext
61
- ) => Promise<__HttpRequest>;
62
- export declare const se_GetFederationTokenCommand: (
63
- input: GetFederationTokenCommandInput,
64
- context: __SerdeContext
65
- ) => Promise<__HttpRequest>;
66
- export declare const se_GetSessionTokenCommand: (
67
- input: GetSessionTokenCommandInput,
68
- context: __SerdeContext
69
- ) => Promise<__HttpRequest>;
70
- export declare const de_AssumeRoleCommand: (
71
- output: __HttpResponse,
72
- context: __SerdeContext
73
- ) => Promise<AssumeRoleCommandOutput>;
74
- export declare const de_AssumeRoleWithSAMLCommand: (
75
- output: __HttpResponse,
76
- context: __SerdeContext
77
- ) => Promise<AssumeRoleWithSAMLCommandOutput>;
78
- export declare const de_AssumeRoleWithWebIdentityCommand: (
79
- output: __HttpResponse,
80
- context: __SerdeContext
81
- ) => Promise<AssumeRoleWithWebIdentityCommandOutput>;
82
- export declare const de_DecodeAuthorizationMessageCommand: (
83
- output: __HttpResponse,
84
- context: __SerdeContext
85
- ) => Promise<DecodeAuthorizationMessageCommandOutput>;
86
- export declare const de_GetAccessKeyInfoCommand: (
87
- output: __HttpResponse,
88
- context: __SerdeContext
89
- ) => Promise<GetAccessKeyInfoCommandOutput>;
90
- export declare const de_GetCallerIdentityCommand: (
91
- output: __HttpResponse,
92
- context: __SerdeContext
93
- ) => Promise<GetCallerIdentityCommandOutput>;
94
- export declare const de_GetFederationTokenCommand: (
95
- output: __HttpResponse,
96
- context: __SerdeContext
97
- ) => Promise<GetFederationTokenCommandOutput>;
98
- export declare const de_GetSessionTokenCommand: (
99
- output: __HttpResponse,
100
- context: __SerdeContext
101
- ) => Promise<GetSessionTokenCommandOutput>;
1
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
2
+ import { SerdeContext as __SerdeContext } from "@smithy/types";
3
+ import { AssumeRoleCommandInput, AssumeRoleCommandOutput } from "../commands/AssumeRoleCommand";
4
+ import { AssumeRoleWithSAMLCommandInput, AssumeRoleWithSAMLCommandOutput } from "../commands/AssumeRoleWithSAMLCommand";
5
+ import { AssumeRoleWithWebIdentityCommandInput, AssumeRoleWithWebIdentityCommandOutput } from "../commands/AssumeRoleWithWebIdentityCommand";
6
+ import { DecodeAuthorizationMessageCommandInput, DecodeAuthorizationMessageCommandOutput } from "../commands/DecodeAuthorizationMessageCommand";
7
+ import { GetAccessKeyInfoCommandInput, GetAccessKeyInfoCommandOutput } from "../commands/GetAccessKeyInfoCommand";
8
+ import { GetCallerIdentityCommandInput, GetCallerIdentityCommandOutput } from "../commands/GetCallerIdentityCommand";
9
+ import { GetFederationTokenCommandInput, GetFederationTokenCommandOutput } from "../commands/GetFederationTokenCommand";
10
+ import { GetSessionTokenCommandInput, GetSessionTokenCommandOutput } from "../commands/GetSessionTokenCommand";
11
+ /**
12
+ * serializeAws_queryAssumeRoleCommand
13
+ */
14
+ export declare const se_AssumeRoleCommand: (input: AssumeRoleCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
15
+ /**
16
+ * serializeAws_queryAssumeRoleWithSAMLCommand
17
+ */
18
+ export declare const se_AssumeRoleWithSAMLCommand: (input: AssumeRoleWithSAMLCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
19
+ /**
20
+ * serializeAws_queryAssumeRoleWithWebIdentityCommand
21
+ */
22
+ export declare const se_AssumeRoleWithWebIdentityCommand: (input: AssumeRoleWithWebIdentityCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
23
+ /**
24
+ * serializeAws_queryDecodeAuthorizationMessageCommand
25
+ */
26
+ export declare const se_DecodeAuthorizationMessageCommand: (input: DecodeAuthorizationMessageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
27
+ /**
28
+ * serializeAws_queryGetAccessKeyInfoCommand
29
+ */
30
+ export declare const se_GetAccessKeyInfoCommand: (input: GetAccessKeyInfoCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
31
+ /**
32
+ * serializeAws_queryGetCallerIdentityCommand
33
+ */
34
+ export declare const se_GetCallerIdentityCommand: (input: GetCallerIdentityCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
35
+ /**
36
+ * serializeAws_queryGetFederationTokenCommand
37
+ */
38
+ export declare const se_GetFederationTokenCommand: (input: GetFederationTokenCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
39
+ /**
40
+ * serializeAws_queryGetSessionTokenCommand
41
+ */
42
+ export declare const se_GetSessionTokenCommand: (input: GetSessionTokenCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
43
+ /**
44
+ * deserializeAws_queryAssumeRoleCommand
45
+ */
46
+ export declare const de_AssumeRoleCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AssumeRoleCommandOutput>;
47
+ /**
48
+ * deserializeAws_queryAssumeRoleWithSAMLCommand
49
+ */
50
+ export declare const de_AssumeRoleWithSAMLCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AssumeRoleWithSAMLCommandOutput>;
51
+ /**
52
+ * deserializeAws_queryAssumeRoleWithWebIdentityCommand
53
+ */
54
+ export declare const de_AssumeRoleWithWebIdentityCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AssumeRoleWithWebIdentityCommandOutput>;
55
+ /**
56
+ * deserializeAws_queryDecodeAuthorizationMessageCommand
57
+ */
58
+ export declare const de_DecodeAuthorizationMessageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DecodeAuthorizationMessageCommandOutput>;
59
+ /**
60
+ * deserializeAws_queryGetAccessKeyInfoCommand
61
+ */
62
+ export declare const de_GetAccessKeyInfoCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetAccessKeyInfoCommandOutput>;
63
+ /**
64
+ * deserializeAws_queryGetCallerIdentityCommand
65
+ */
66
+ export declare const de_GetCallerIdentityCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetCallerIdentityCommandOutput>;
67
+ /**
68
+ * deserializeAws_queryGetFederationTokenCommand
69
+ */
70
+ export declare const de_GetFederationTokenCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetFederationTokenCommandOutput>;
71
+ /**
72
+ * deserializeAws_queryGetSessionTokenCommand
73
+ */
74
+ export declare const de_GetSessionTokenCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetSessionTokenCommandOutput>;
@@ -1,95 +1,43 @@
1
- import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
- import { STSClientConfig } from "./STSClient";
3
- export declare const getRuntimeConfig: (config: STSClientConfig) => {
4
- runtime: string;
5
- defaultsMode: import("@aws-sdk/types").Provider<
6
- import("@aws-sdk/smithy-client").ResolvedDefaultsMode
7
- >;
8
- bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
9
- credentialDefaultProvider: (
10
- input: any
11
- ) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
12
- defaultUserAgentProvider: import("@aws-sdk/types").Provider<
13
- import("@aws-sdk/types").UserAgent
14
- >;
15
- maxAttempts: number | import("@aws-sdk/types").Provider<number>;
16
- region: string | import("@aws-sdk/types").Provider<any>;
17
- requestHandler:
18
- | (import("@aws-sdk/types").RequestHandler<
19
- any,
20
- any,
21
- import("@aws-sdk/types").HttpHandlerOptions
22
- > &
23
- import("@aws-sdk/protocol-http").HttpHandler)
24
- | RequestHandler;
25
- retryMode: string | import("@aws-sdk/types").Provider<string>;
26
- sha256: import("@aws-sdk/types").HashConstructor;
27
- streamCollector: import("@aws-sdk/types").StreamCollector;
28
- useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
29
- useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
30
- apiVersion: string;
31
- urlParser: import("@aws-sdk/types").UrlParser;
32
- base64Decoder: import("@aws-sdk/types").Decoder;
33
- base64Encoder: import("@aws-sdk/types").Encoder;
34
- utf8Decoder: import("@aws-sdk/types").Decoder;
35
- utf8Encoder: import("@aws-sdk/types").Encoder;
36
- disableHostPrefix: boolean;
37
- serviceId: string;
38
- logger: import("@aws-sdk/types").Logger;
39
- endpoint?:
40
- | ((
41
- | string
42
- | import("@aws-sdk/types").Endpoint
43
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
44
- | import("@aws-sdk/types").EndpointV2
45
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>
46
- ) &
47
- (
48
- | string
49
- | import("@aws-sdk/types").Provider<string>
50
- | import("@aws-sdk/types").Endpoint
51
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
52
- | import("@aws-sdk/types").EndpointV2
53
- | import("@aws-sdk/types").Provider<
54
- import("@aws-sdk/types").EndpointV2
55
- >
56
- ))
57
- | undefined;
58
- endpointProvider: (
59
- endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
60
- context?: {
61
- logger?: import("@aws-sdk/types").Logger | undefined;
62
- }
63
- ) => import("@aws-sdk/types").EndpointV2;
64
- tls?: boolean | undefined;
65
- retryStrategy?:
66
- | import("@aws-sdk/types").RetryStrategy
67
- | import("@aws-sdk/types").RetryStrategyV2
68
- | undefined;
69
- credentials?:
70
- | import("@aws-sdk/types").AwsCredentialIdentity
71
- | import("@aws-sdk/types").Provider<
72
- import("@aws-sdk/types").AwsCredentialIdentity
73
- >
74
- | undefined;
75
- signer?:
76
- | import("@aws-sdk/types").RequestSigner
77
- | ((
78
- authScheme?: import("@aws-sdk/types").AuthScheme | undefined
79
- ) => Promise<import("@aws-sdk/types").RequestSigner>)
80
- | undefined;
81
- signingEscapePath?: boolean | undefined;
82
- systemClockOffset?: number | undefined;
83
- signingRegion?: string | undefined;
84
- signerConstructor?:
85
- | (new (
86
- options: import("@aws-sdk/signature-v4").SignatureV4Init &
87
- import("@aws-sdk/signature-v4").SignatureV4CryptoInit
88
- ) => import("@aws-sdk/types").RequestSigner)
89
- | undefined;
90
- customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
91
- useGlobalEndpoint?:
92
- | boolean
93
- | import("@aws-sdk/types").Provider<boolean>
94
- | undefined;
95
- };
1
+ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
+ import { STSClientConfig } from "./STSClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: STSClientConfig) => {
7
+ runtime: string;
8
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
+ credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
11
+ defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
+ maxAttempts: (number | import("@smithy/types").Provider<number>) & (number | import("@aws-sdk/types").Provider<number>);
13
+ region: string | import("@aws-sdk/types").Provider<any>;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | RequestHandler;
15
+ retryMode: string | import("@smithy/types").Provider<string>;
16
+ sha256: import("@aws-sdk/types").HashConstructor;
17
+ streamCollector: import("@smithy/types").StreamCollector;
18
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@aws-sdk/types").Provider<boolean>);
19
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@aws-sdk/types").Provider<boolean>);
20
+ apiVersion: string;
21
+ urlParser: import("@aws-sdk/types").UrlParser;
22
+ base64Decoder: import("@smithy/types").Decoder;
23
+ base64Encoder: import("@smithy/types").Encoder;
24
+ utf8Decoder: import("@smithy/types").Decoder;
25
+ utf8Encoder: import("@smithy/types").Encoder;
26
+ disableHostPrefix: boolean;
27
+ serviceId: string;
28
+ logger: import("@aws-sdk/types").Logger;
29
+ endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>)) | undefined;
30
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
31
+ logger?: import("@aws-sdk/types").Logger | undefined;
32
+ }) => import("@aws-sdk/types").EndpointV2;
33
+ tls?: boolean | undefined;
34
+ retryStrategy?: import("@aws-sdk/types").RetryStrategy | import("@aws-sdk/types").RetryStrategyV2 | undefined;
35
+ credentials?: import("@aws-sdk/types").AwsCredentialIdentity | import("@aws-sdk/types").Provider<import("@aws-sdk/types").AwsCredentialIdentity> | undefined;
36
+ signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
37
+ signingEscapePath?: boolean | undefined;
38
+ systemClockOffset?: number | undefined;
39
+ signingRegion?: string | undefined;
40
+ signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
41
+ customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
42
+ useGlobalEndpoint?: boolean | import("@smithy/types").Provider<boolean> | undefined;
43
+ };
@@ -1,93 +1,43 @@
1
- import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
- import { STSClientConfig } from "./STSClient";
3
- export declare const getRuntimeConfig: (config: STSClientConfig) => {
4
- runtime: string;
5
- defaultsMode: import("@aws-sdk/types").Provider<
6
- import("@aws-sdk/smithy-client").ResolvedDefaultsMode
7
- >;
8
- bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
9
- credentialDefaultProvider: import("./defaultStsRoleAssumers").DefaultCredentialProvider;
10
- defaultUserAgentProvider: import("@aws-sdk/types").Provider<
11
- import("@aws-sdk/types").UserAgent
12
- >;
13
- maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
- region: string | import("@aws-sdk/types").Provider<string>;
15
- requestHandler:
16
- | (import("@aws-sdk/types").RequestHandler<
17
- any,
18
- any,
19
- import("@aws-sdk/types").HttpHandlerOptions
20
- > &
21
- import("@aws-sdk/protocol-http").HttpHandler)
22
- | RequestHandler;
23
- retryMode: string | import("@aws-sdk/types").Provider<string>;
24
- sha256: import("@aws-sdk/types").HashConstructor;
25
- streamCollector: import("@aws-sdk/types").StreamCollector;
26
- useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
27
- useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
28
- apiVersion: string;
29
- urlParser: import("@aws-sdk/types").UrlParser;
30
- base64Decoder: import("@aws-sdk/types").Decoder;
31
- base64Encoder: import("@aws-sdk/types").Encoder;
32
- utf8Decoder: import("@aws-sdk/types").Decoder;
33
- utf8Encoder: import("@aws-sdk/types").Encoder;
34
- disableHostPrefix: boolean;
35
- serviceId: string;
36
- logger: import("@aws-sdk/types").Logger;
37
- endpoint?:
38
- | ((
39
- | string
40
- | import("@aws-sdk/types").Endpoint
41
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
42
- | import("@aws-sdk/types").EndpointV2
43
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>
44
- ) &
45
- (
46
- | string
47
- | import("@aws-sdk/types").Provider<string>
48
- | import("@aws-sdk/types").Endpoint
49
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
50
- | import("@aws-sdk/types").EndpointV2
51
- | import("@aws-sdk/types").Provider<
52
- import("@aws-sdk/types").EndpointV2
53
- >
54
- ))
55
- | undefined;
56
- endpointProvider: (
57
- endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
58
- context?: {
59
- logger?: import("@aws-sdk/types").Logger | undefined;
60
- }
61
- ) => import("@aws-sdk/types").EndpointV2;
62
- tls?: boolean | undefined;
63
- retryStrategy?:
64
- | import("@aws-sdk/types").RetryStrategy
65
- | import("@aws-sdk/types").RetryStrategyV2
66
- | undefined;
67
- credentials?:
68
- | import("@aws-sdk/types").AwsCredentialIdentity
69
- | import("@aws-sdk/types").Provider<
70
- import("@aws-sdk/types").AwsCredentialIdentity
71
- >
72
- | undefined;
73
- signer?:
74
- | import("@aws-sdk/types").RequestSigner
75
- | ((
76
- authScheme?: import("@aws-sdk/types").AuthScheme | undefined
77
- ) => Promise<import("@aws-sdk/types").RequestSigner>)
78
- | undefined;
79
- signingEscapePath?: boolean | undefined;
80
- systemClockOffset?: number | undefined;
81
- signingRegion?: string | undefined;
82
- signerConstructor?:
83
- | (new (
84
- options: import("@aws-sdk/signature-v4").SignatureV4Init &
85
- import("@aws-sdk/signature-v4").SignatureV4CryptoInit
86
- ) => import("@aws-sdk/types").RequestSigner)
87
- | undefined;
88
- customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
89
- useGlobalEndpoint?:
90
- | boolean
91
- | import("@aws-sdk/types").Provider<boolean>
92
- | undefined;
93
- };
1
+ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
+ import { STSClientConfig } from "./STSClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: STSClientConfig) => {
7
+ runtime: string;
8
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
+ credentialDefaultProvider: import("./defaultStsRoleAssumers").DefaultCredentialProvider;
11
+ defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
+ maxAttempts: number | import("@aws-sdk/types").Provider<number>;
13
+ region: string | import("@aws-sdk/types").Provider<string>;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | RequestHandler;
15
+ retryMode: string | import("@smithy/types").Provider<string>;
16
+ sha256: import("@aws-sdk/types").HashConstructor;
17
+ streamCollector: import("@smithy/types").StreamCollector;
18
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
19
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
+ apiVersion: string;
21
+ urlParser: import("@aws-sdk/types").UrlParser;
22
+ base64Decoder: import("@smithy/types").Decoder;
23
+ base64Encoder: import("@smithy/types").Encoder;
24
+ utf8Decoder: import("@smithy/types").Decoder;
25
+ utf8Encoder: import("@smithy/types").Encoder;
26
+ disableHostPrefix: boolean;
27
+ serviceId: string;
28
+ logger: import("@aws-sdk/types").Logger;
29
+ endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>)) | undefined;
30
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
31
+ logger?: import("@aws-sdk/types").Logger | undefined;
32
+ }) => import("@aws-sdk/types").EndpointV2;
33
+ tls?: boolean | undefined;
34
+ retryStrategy?: import("@aws-sdk/types").RetryStrategy | import("@aws-sdk/types").RetryStrategyV2 | undefined;
35
+ credentials?: import("@aws-sdk/types").AwsCredentialIdentity | import("@aws-sdk/types").Provider<import("@aws-sdk/types").AwsCredentialIdentity> | undefined;
36
+ signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
37
+ signingEscapePath?: boolean | undefined;
38
+ systemClockOffset?: number | undefined;
39
+ signingRegion?: string | undefined;
40
+ signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
41
+ customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
42
+ useGlobalEndpoint?: boolean | import("@smithy/types").Provider<boolean> | undefined;
43
+ };
@@ -1,84 +1,42 @@
1
- import { STSClientConfig } from "./STSClient";
2
- export declare const getRuntimeConfig: (config: STSClientConfig) => {
3
- runtime: string;
4
- sha256: import("@aws-sdk/types").HashConstructor;
5
- requestHandler:
6
- | (import("@aws-sdk/types").RequestHandler<
7
- any,
8
- any,
9
- import("@aws-sdk/types").HttpHandlerOptions
10
- > &
11
- import("@aws-sdk/protocol-http").HttpHandler)
12
- | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
13
- apiVersion: string;
14
- urlParser: import("@aws-sdk/types").UrlParser;
15
- bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
16
- streamCollector: import("@aws-sdk/types").StreamCollector;
17
- base64Decoder: import("@aws-sdk/types").Decoder;
18
- base64Encoder: import("@aws-sdk/types").Encoder;
19
- utf8Decoder: import("@aws-sdk/types").Decoder;
20
- utf8Encoder: import("@aws-sdk/types").Encoder;
21
- disableHostPrefix: boolean;
22
- serviceId: string;
23
- useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
24
- useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
25
- region: string | import("@aws-sdk/types").Provider<any>;
26
- credentialDefaultProvider: (
27
- input: any
28
- ) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
29
- defaultUserAgentProvider: import("@aws-sdk/types").Provider<
30
- import("@aws-sdk/types").UserAgent
31
- >;
32
- maxAttempts: number | import("@aws-sdk/types").Provider<number>;
33
- retryMode: string | import("@aws-sdk/types").Provider<string>;
34
- logger: import("@aws-sdk/types").Logger;
35
- defaultsMode:
36
- | import("@aws-sdk/smithy-client").DefaultsMode
37
- | import("@aws-sdk/types").Provider<
38
- import("@aws-sdk/smithy-client").DefaultsMode
39
- >;
40
- endpoint?:
41
- | string
42
- | import("@aws-sdk/types").Endpoint
43
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
44
- | import("@aws-sdk/types").EndpointV2
45
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>
46
- | undefined;
47
- endpointProvider: (
48
- endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
49
- context?: {
50
- logger?: import("@aws-sdk/types").Logger | undefined;
51
- }
52
- ) => import("@aws-sdk/types").EndpointV2;
53
- tls?: boolean | undefined;
54
- retryStrategy?:
55
- | import("@aws-sdk/types").RetryStrategy
56
- | import("@aws-sdk/types").RetryStrategyV2
57
- | undefined;
58
- credentials?:
59
- | import("@aws-sdk/types").AwsCredentialIdentity
60
- | import("@aws-sdk/types").Provider<
61
- import("@aws-sdk/types").AwsCredentialIdentity
62
- >
63
- | undefined;
64
- signer?:
65
- | import("@aws-sdk/types").RequestSigner
66
- | ((
67
- authScheme?: import("@aws-sdk/types").AuthScheme | undefined
68
- ) => Promise<import("@aws-sdk/types").RequestSigner>)
69
- | undefined;
70
- signingEscapePath?: boolean | undefined;
71
- systemClockOffset?: number | undefined;
72
- signingRegion?: string | undefined;
73
- signerConstructor?:
74
- | (new (
75
- options: import("@aws-sdk/signature-v4").SignatureV4Init &
76
- import("@aws-sdk/signature-v4").SignatureV4CryptoInit
77
- ) => import("@aws-sdk/types").RequestSigner)
78
- | undefined;
79
- customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
80
- useGlobalEndpoint?:
81
- | boolean
82
- | import("@aws-sdk/types").Provider<boolean>
83
- | undefined;
84
- };
1
+ import { STSClientConfig } from "./STSClient";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const getRuntimeConfig: (config: STSClientConfig) => {
6
+ runtime: string;
7
+ sha256: import("@aws-sdk/types").HashConstructor;
8
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
9
+ apiVersion: string;
10
+ urlParser: import("@aws-sdk/types").UrlParser;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
+ streamCollector: import("@smithy/types").StreamCollector;
13
+ base64Decoder: import("@smithy/types").Decoder;
14
+ base64Encoder: import("@smithy/types").Encoder;
15
+ utf8Decoder: import("@smithy/types").Decoder;
16
+ utf8Encoder: import("@smithy/types").Encoder;
17
+ disableHostPrefix: boolean;
18
+ serviceId: string;
19
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@aws-sdk/types").Provider<boolean>);
20
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@aws-sdk/types").Provider<boolean>);
21
+ region: string | import("@aws-sdk/types").Provider<any>;
22
+ credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
23
+ defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
24
+ maxAttempts: (number | import("@smithy/types").Provider<number>) & (number | import("@aws-sdk/types").Provider<number>);
25
+ retryMode: string | import("@smithy/types").Provider<string>;
26
+ logger: import("@aws-sdk/types").Logger;
27
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
28
+ endpoint?: string | import("@aws-sdk/types").EndpointV2 | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> & import("@smithy/types").Provider<import("@smithy/types").Endpoint>) | (import("@aws-sdk/types").Endpoint & import("@smithy/types").Endpoint) | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> & import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>) | undefined;
29
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
30
+ logger?: import("@aws-sdk/types").Logger | undefined;
31
+ }) => import("@aws-sdk/types").EndpointV2;
32
+ tls?: boolean | undefined;
33
+ retryStrategy?: import("@aws-sdk/types").RetryStrategy | import("@aws-sdk/types").RetryStrategyV2 | undefined;
34
+ credentials?: import("@aws-sdk/types").AwsCredentialIdentity | import("@aws-sdk/types").Provider<import("@aws-sdk/types").AwsCredentialIdentity> | undefined;
35
+ signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
36
+ signingEscapePath?: boolean | undefined;
37
+ systemClockOffset?: number | undefined;
38
+ signingRegion?: string | undefined;
39
+ signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
40
+ customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
41
+ useGlobalEndpoint?: boolean | import("@smithy/types").Provider<boolean> | undefined;
42
+ };
@@ -1,18 +1,18 @@
1
- import { STSClientConfig } from "./STSClient";
2
- export declare const getRuntimeConfig: (config: STSClientConfig) => {
3
- apiVersion: string;
4
- base64Decoder: import("@aws-sdk/types").Decoder;
5
- base64Encoder: import("@aws-sdk/types").Encoder;
6
- disableHostPrefix: boolean;
7
- endpointProvider: (
8
- endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
9
- context?: {
10
- logger?: import("@aws-sdk/types").Logger | undefined;
11
- }
12
- ) => import("@aws-sdk/types").EndpointV2;
13
- logger: import("@aws-sdk/types").Logger;
14
- serviceId: string;
15
- urlParser: import("@aws-sdk/types").UrlParser;
16
- utf8Decoder: import("@aws-sdk/types").Decoder;
17
- utf8Encoder: import("@aws-sdk/types").Encoder;
18
- };
1
+ import { STSClientConfig } from "./STSClient";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const getRuntimeConfig: (config: STSClientConfig) => {
6
+ apiVersion: string;
7
+ base64Decoder: import("@smithy/types").Decoder;
8
+ base64Encoder: import("@smithy/types").Encoder;
9
+ disableHostPrefix: boolean;
10
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
11
+ logger?: import("@aws-sdk/types").Logger | undefined;
12
+ }) => import("@aws-sdk/types").EndpointV2;
13
+ logger: import("@aws-sdk/types").Logger;
14
+ serviceId: string;
15
+ urlParser: import("@aws-sdk/types").UrlParser;
16
+ utf8Decoder: import("@smithy/types").Decoder;
17
+ utf8Encoder: import("@smithy/types").Encoder;
18
+ };