@cdk8s/awscdk-resolver 0.0.94 → 0.0.96
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.
- package/.jsii +3 -3
- package/lib/resolve.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/package.json +7 -5
- package/node_modules/@aws-sdk/client-sso/package.json +4 -4
- package/node_modules/@aws-sdk/client-sso-oidc/LICENSE +201 -0
- package/node_modules/@aws-sdk/client-sso-oidc/README.md +274 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/auth/httpAuthSchemeProvider.js +64 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/endpoint/endpointResolver.js +14 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/endpoint/ruleset.js +7 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/index.js +1024 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.browser.js +39 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.js +49 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.native.js +15 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.shared.js +40 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDC.js +15 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDCClient.js +52 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/auth/httpAuthSchemeProvider.js +58 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/CreateTokenCommand.js +25 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/CreateTokenWithIAMCommand.js +25 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/RegisterClientCommand.js +25 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/StartDeviceAuthorizationCommand.js +25 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/index.js +4 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/EndpointParameters.js +14 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/endpointResolver.js +10 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/ruleset.js +4 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/extensionConfiguration.js +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/index.js +5 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/SSOOIDCServiceException.js +8 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/index.js +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/models_0.js +217 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/protocols/Aws_restJson1.js +409 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.browser.js +34 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.js +44 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.native.js +11 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.shared.js +36 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeExtensions.js +21 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDC.d.ts +75 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDCClient.d.ts +212 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenCommand.d.ts +162 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenWithIAMCommand.d.ts +244 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/RegisterClientCommand.d.ts +108 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/StartDeviceAuthorizationCommand.d.ts +111 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/index.d.ts +4 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/endpoint/EndpointParameters.d.ts +40 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/endpoint/ruleset.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/extensionConfiguration.d.ts +9 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/index.d.ts +50 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/models/SSOOIDCServiceException.d.ts +13 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/models/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/models/models_0.d.ts +734 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/protocols/Aws_restJson1.d.ts +38 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +53 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +53 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.native.d.ts +52 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.shared.d.ts +32 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeExtensions.d.ts +17 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/SSOOIDC.d.ts +73 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/SSOOIDCClient.d.ts +144 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/CreateTokenCommand.d.ts +35 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/CreateTokenWithIAMCommand.d.ts +39 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/RegisterClientCommand.d.ts +38 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/StartDeviceAuthorizationCommand.d.ts +39 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/index.d.ts +8 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/models/SSOOIDCServiceException.d.ts +8 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/models/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/models/models_0.d.ts +201 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +53 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +110 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +114 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +104 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.shared.d.ts +49 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +100 -0
- package/node_modules/@aws-sdk/client-sts/LICENSE +201 -0
- package/node_modules/@aws-sdk/client-sts/README.md +273 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/STSClient.js +56 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/auth/httpAuthSchemeProvider.js +67 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/EndpointParameters.js +20 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/endpointResolver.js +14 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/ruleset.js +7 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +1457 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.browser.js +39 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.js +63 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.native.js +15 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.shared.js +40 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeExtensions.js +25 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/STS.js +23 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/STSClient.js +52 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/auth/httpAuthSchemeProvider.js +60 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleCommand.js +25 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithSAMLCommand.js +25 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithWebIdentityCommand.js +25 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/DecodeAuthorizationMessageCommand.js +24 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetAccessKeyInfoCommand.js +24 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetCallerIdentityCommand.js +24 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetFederationTokenCommand.js +25 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetSessionTokenCommand.js +25 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/index.js +8 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/defaultRoleAssumers.js +22 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/defaultStsRoleAssumers.js +67 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/endpoint/EndpointParameters.js +16 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/endpoint/endpointResolver.js +10 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/endpoint/ruleset.js +4 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/extensionConfiguration.js +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/index.js +6 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/models/STSServiceException.js +8 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/models/index.js +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/models/models_0.js +130 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/protocols/Aws_query.js +885 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.browser.js +34 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.js +58 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.native.js +11 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.shared.js +36 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/runtimeExtensions.js +21 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/STS.d.ts +71 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/STSClient.d.ts +182 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/auth/httpAuthSchemeProvider.d.ts +71 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleCommand.d.ts +257 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithSAMLCommand.d.ts +282 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithWebIdentityCommand.d.ts +291 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/DecodeAuthorizationMessageCommand.d.ts +115 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetAccessKeyInfoCommand.d.ts +75 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetCallerIdentityCommand.d.ts +116 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetFederationTokenCommand.d.ts +230 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetSessionTokenCommand.d.ts +154 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/index.d.ts +8 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/defaultRoleAssumers.d.ts +23 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers.d.ts +43 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/endpoint/EndpointParameters.d.ts +46 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/endpoint/ruleset.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/extensionConfiguration.d.ts +9 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/index.d.ts +17 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/models/STSServiceException.d.ts +13 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/models/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/models/models_0.d.ts +1213 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/protocols/Aws_query.d.ts +74 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +54 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +52 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +53 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.shared.d.ts +32 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeExtensions.d.ts +17 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STS.d.ts +143 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STSClient.d.ts +165 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +54 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRoleCommand.d.ts +35 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRoleWithSAMLCommand.d.ts +39 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRoleWithWebIdentityCommand.d.ts +39 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/DecodeAuthorizationMessageCommand.d.ts +39 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetAccessKeyInfoCommand.d.ts +38 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetCallerIdentityCommand.d.ts +39 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetFederationTokenCommand.d.ts +39 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetSessionTokenCommand.d.ts +38 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/defaultRoleAssumers.d.ts +19 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/defaultStsRoleAssumers.d.ts +33 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +57 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/index.d.ts +9 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/models/STSServiceException.d.ts +8 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/models/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/models/models_0.d.ts +206 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/protocols/Aws_query.d.ts +101 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +116 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +109 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +110 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.shared.d.ts +51 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/node_modules/@aws-sdk/client-sts/package.json +102 -0
- package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-node/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-logger/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/package.json +3 -3
- package/node_modules/@aws-sdk/util-locate-window/package.json +2 -2
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
- package/package.json +3 -3
@@ -0,0 +1,206 @@
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
2
|
+
import { STSServiceException as __BaseException } from "./STSServiceException";
|
3
|
+
export interface AssumedRoleUser {
|
4
|
+
AssumedRoleId: string | undefined;
|
5
|
+
Arn: string | undefined;
|
6
|
+
}
|
7
|
+
export interface PolicyDescriptorType {
|
8
|
+
arn?: string;
|
9
|
+
}
|
10
|
+
export interface ProvidedContext {
|
11
|
+
ProviderArn?: string;
|
12
|
+
ContextAssertion?: string;
|
13
|
+
}
|
14
|
+
export interface Tag {
|
15
|
+
Key: string | undefined;
|
16
|
+
Value: string | undefined;
|
17
|
+
}
|
18
|
+
export interface AssumeRoleRequest {
|
19
|
+
RoleArn: string | undefined;
|
20
|
+
RoleSessionName: string | undefined;
|
21
|
+
PolicyArns?: PolicyDescriptorType[];
|
22
|
+
Policy?: string;
|
23
|
+
DurationSeconds?: number;
|
24
|
+
Tags?: Tag[];
|
25
|
+
TransitiveTagKeys?: string[];
|
26
|
+
ExternalId?: string;
|
27
|
+
SerialNumber?: string;
|
28
|
+
TokenCode?: string;
|
29
|
+
SourceIdentity?: string;
|
30
|
+
ProvidedContexts?: ProvidedContext[];
|
31
|
+
}
|
32
|
+
export interface Credentials {
|
33
|
+
AccessKeyId: string | undefined;
|
34
|
+
SecretAccessKey: string | undefined;
|
35
|
+
SessionToken: string | undefined;
|
36
|
+
Expiration: Date | undefined;
|
37
|
+
}
|
38
|
+
export interface AssumeRoleResponse {
|
39
|
+
Credentials?: Credentials;
|
40
|
+
AssumedRoleUser?: AssumedRoleUser;
|
41
|
+
PackedPolicySize?: number;
|
42
|
+
SourceIdentity?: string;
|
43
|
+
}
|
44
|
+
export declare class ExpiredTokenException extends __BaseException {
|
45
|
+
readonly name: "ExpiredTokenException";
|
46
|
+
readonly $fault: "client";
|
47
|
+
constructor(
|
48
|
+
opts: __ExceptionOptionType<ExpiredTokenException, __BaseException>
|
49
|
+
);
|
50
|
+
}
|
51
|
+
export declare class MalformedPolicyDocumentException extends __BaseException {
|
52
|
+
readonly name: "MalformedPolicyDocumentException";
|
53
|
+
readonly $fault: "client";
|
54
|
+
constructor(
|
55
|
+
opts: __ExceptionOptionType<
|
56
|
+
MalformedPolicyDocumentException,
|
57
|
+
__BaseException
|
58
|
+
>
|
59
|
+
);
|
60
|
+
}
|
61
|
+
export declare class PackedPolicyTooLargeException extends __BaseException {
|
62
|
+
readonly name: "PackedPolicyTooLargeException";
|
63
|
+
readonly $fault: "client";
|
64
|
+
constructor(
|
65
|
+
opts: __ExceptionOptionType<PackedPolicyTooLargeException, __BaseException>
|
66
|
+
);
|
67
|
+
}
|
68
|
+
export declare class RegionDisabledException extends __BaseException {
|
69
|
+
readonly name: "RegionDisabledException";
|
70
|
+
readonly $fault: "client";
|
71
|
+
constructor(
|
72
|
+
opts: __ExceptionOptionType<RegionDisabledException, __BaseException>
|
73
|
+
);
|
74
|
+
}
|
75
|
+
export interface AssumeRoleWithSAMLRequest {
|
76
|
+
RoleArn: string | undefined;
|
77
|
+
PrincipalArn: string | undefined;
|
78
|
+
SAMLAssertion: string | undefined;
|
79
|
+
PolicyArns?: PolicyDescriptorType[];
|
80
|
+
Policy?: string;
|
81
|
+
DurationSeconds?: number;
|
82
|
+
}
|
83
|
+
export interface AssumeRoleWithSAMLResponse {
|
84
|
+
Credentials?: Credentials;
|
85
|
+
AssumedRoleUser?: AssumedRoleUser;
|
86
|
+
PackedPolicySize?: number;
|
87
|
+
Subject?: string;
|
88
|
+
SubjectType?: string;
|
89
|
+
Issuer?: string;
|
90
|
+
Audience?: string;
|
91
|
+
NameQualifier?: string;
|
92
|
+
SourceIdentity?: string;
|
93
|
+
}
|
94
|
+
export declare class IDPRejectedClaimException extends __BaseException {
|
95
|
+
readonly name: "IDPRejectedClaimException";
|
96
|
+
readonly $fault: "client";
|
97
|
+
constructor(
|
98
|
+
opts: __ExceptionOptionType<IDPRejectedClaimException, __BaseException>
|
99
|
+
);
|
100
|
+
}
|
101
|
+
export declare class InvalidIdentityTokenException extends __BaseException {
|
102
|
+
readonly name: "InvalidIdentityTokenException";
|
103
|
+
readonly $fault: "client";
|
104
|
+
constructor(
|
105
|
+
opts: __ExceptionOptionType<InvalidIdentityTokenException, __BaseException>
|
106
|
+
);
|
107
|
+
}
|
108
|
+
export interface AssumeRoleWithWebIdentityRequest {
|
109
|
+
RoleArn: string | undefined;
|
110
|
+
RoleSessionName: string | undefined;
|
111
|
+
WebIdentityToken: string | undefined;
|
112
|
+
ProviderId?: string;
|
113
|
+
PolicyArns?: PolicyDescriptorType[];
|
114
|
+
Policy?: string;
|
115
|
+
DurationSeconds?: number;
|
116
|
+
}
|
117
|
+
export interface AssumeRoleWithWebIdentityResponse {
|
118
|
+
Credentials?: Credentials;
|
119
|
+
SubjectFromWebIdentityToken?: string;
|
120
|
+
AssumedRoleUser?: AssumedRoleUser;
|
121
|
+
PackedPolicySize?: number;
|
122
|
+
Provider?: string;
|
123
|
+
Audience?: string;
|
124
|
+
SourceIdentity?: string;
|
125
|
+
}
|
126
|
+
export declare class IDPCommunicationErrorException extends __BaseException {
|
127
|
+
readonly name: "IDPCommunicationErrorException";
|
128
|
+
readonly $fault: "client";
|
129
|
+
constructor(
|
130
|
+
opts: __ExceptionOptionType<IDPCommunicationErrorException, __BaseException>
|
131
|
+
);
|
132
|
+
}
|
133
|
+
export interface DecodeAuthorizationMessageRequest {
|
134
|
+
EncodedMessage: string | undefined;
|
135
|
+
}
|
136
|
+
export interface DecodeAuthorizationMessageResponse {
|
137
|
+
DecodedMessage?: string;
|
138
|
+
}
|
139
|
+
export declare class InvalidAuthorizationMessageException extends __BaseException {
|
140
|
+
readonly name: "InvalidAuthorizationMessageException";
|
141
|
+
readonly $fault: "client";
|
142
|
+
constructor(
|
143
|
+
opts: __ExceptionOptionType<
|
144
|
+
InvalidAuthorizationMessageException,
|
145
|
+
__BaseException
|
146
|
+
>
|
147
|
+
);
|
148
|
+
}
|
149
|
+
export interface GetAccessKeyInfoRequest {
|
150
|
+
AccessKeyId: string | undefined;
|
151
|
+
}
|
152
|
+
export interface GetAccessKeyInfoResponse {
|
153
|
+
Account?: string;
|
154
|
+
}
|
155
|
+
export interface GetCallerIdentityRequest {}
|
156
|
+
export interface GetCallerIdentityResponse {
|
157
|
+
UserId?: string;
|
158
|
+
Account?: string;
|
159
|
+
Arn?: string;
|
160
|
+
}
|
161
|
+
export interface GetFederationTokenRequest {
|
162
|
+
Name: string | undefined;
|
163
|
+
Policy?: string;
|
164
|
+
PolicyArns?: PolicyDescriptorType[];
|
165
|
+
DurationSeconds?: number;
|
166
|
+
Tags?: Tag[];
|
167
|
+
}
|
168
|
+
export interface FederatedUser {
|
169
|
+
FederatedUserId: string | undefined;
|
170
|
+
Arn: string | undefined;
|
171
|
+
}
|
172
|
+
export interface GetFederationTokenResponse {
|
173
|
+
Credentials?: Credentials;
|
174
|
+
FederatedUser?: FederatedUser;
|
175
|
+
PackedPolicySize?: number;
|
176
|
+
}
|
177
|
+
export interface GetSessionTokenRequest {
|
178
|
+
DurationSeconds?: number;
|
179
|
+
SerialNumber?: string;
|
180
|
+
TokenCode?: string;
|
181
|
+
}
|
182
|
+
export interface GetSessionTokenResponse {
|
183
|
+
Credentials?: Credentials;
|
184
|
+
}
|
185
|
+
export declare const CredentialsFilterSensitiveLog: (obj: Credentials) => any;
|
186
|
+
export declare const AssumeRoleResponseFilterSensitiveLog: (
|
187
|
+
obj: AssumeRoleResponse
|
188
|
+
) => any;
|
189
|
+
export declare const AssumeRoleWithSAMLRequestFilterSensitiveLog: (
|
190
|
+
obj: AssumeRoleWithSAMLRequest
|
191
|
+
) => any;
|
192
|
+
export declare const AssumeRoleWithSAMLResponseFilterSensitiveLog: (
|
193
|
+
obj: AssumeRoleWithSAMLResponse
|
194
|
+
) => any;
|
195
|
+
export declare const AssumeRoleWithWebIdentityRequestFilterSensitiveLog: (
|
196
|
+
obj: AssumeRoleWithWebIdentityRequest
|
197
|
+
) => any;
|
198
|
+
export declare const AssumeRoleWithWebIdentityResponseFilterSensitiveLog: (
|
199
|
+
obj: AssumeRoleWithWebIdentityResponse
|
200
|
+
) => any;
|
201
|
+
export declare const GetFederationTokenResponseFilterSensitiveLog: (
|
202
|
+
obj: GetFederationTokenResponse
|
203
|
+
) => any;
|
204
|
+
export declare const GetSessionTokenResponseFilterSensitiveLog: (
|
205
|
+
obj: GetSessionTokenResponse
|
206
|
+
) => any;
|
@@ -0,0 +1,101 @@
|
|
1
|
+
import {
|
2
|
+
HttpRequest as __HttpRequest,
|
3
|
+
HttpResponse as __HttpResponse,
|
4
|
+
} from "@smithy/protocol-http";
|
5
|
+
import { SerdeContext as __SerdeContext } from "@smithy/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>;
|
@@ -0,0 +1,116 @@
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
|
2
|
+
import { STSClientConfig } from "./STSClient";
|
3
|
+
export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
4
|
+
runtime: string;
|
5
|
+
defaultsMode: import("@smithy/types").Provider<
|
6
|
+
import("@smithy/smithy-client").ResolvedDefaultsMode
|
7
|
+
>;
|
8
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
9
|
+
credentialDefaultProvider: (
|
10
|
+
input: any
|
11
|
+
) => import("@smithy/types").AwsCredentialIdentityProvider;
|
12
|
+
defaultUserAgentProvider: import("@smithy/types").Provider<
|
13
|
+
import("@smithy/types").UserAgent
|
14
|
+
>;
|
15
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
16
|
+
region: string | import("@smithy/types").Provider<any>;
|
17
|
+
requestHandler:
|
18
|
+
| import("@smithy/protocol-http").HttpHandler<any>
|
19
|
+
| RequestHandler;
|
20
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
21
|
+
sha256: import("@smithy/types").HashConstructor;
|
22
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
23
|
+
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
24
|
+
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
25
|
+
apiVersion: string;
|
26
|
+
urlParser: import("@smithy/types").UrlParser;
|
27
|
+
base64Decoder: import("@smithy/types").Decoder;
|
28
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
29
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
30
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
31
|
+
disableHostPrefix: boolean;
|
32
|
+
serviceId: string;
|
33
|
+
logger: import("@smithy/types").Logger;
|
34
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
35
|
+
endpoint?:
|
36
|
+
| ((
|
37
|
+
| string
|
38
|
+
| import("@smithy/types").Endpoint
|
39
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
40
|
+
| import("@smithy/types").EndpointV2
|
41
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
42
|
+
) &
|
43
|
+
(
|
44
|
+
| string
|
45
|
+
| import("@smithy/types").Provider<string>
|
46
|
+
| import("@smithy/types").Endpoint
|
47
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
48
|
+
| import("@smithy/types").EndpointV2
|
49
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
50
|
+
))
|
51
|
+
| undefined;
|
52
|
+
endpointProvider: (
|
53
|
+
params: import("./endpoint/EndpointParameters").EndpointParameters,
|
54
|
+
context?:
|
55
|
+
| {
|
56
|
+
logger?: import("@smithy/types").Logger | undefined;
|
57
|
+
}
|
58
|
+
| undefined
|
59
|
+
) => import("@smithy/types").EndpointV2;
|
60
|
+
tls?: boolean | undefined;
|
61
|
+
retryStrategy?:
|
62
|
+
| import("@smithy/types").RetryStrategy
|
63
|
+
| import("@smithy/types").RetryStrategyV2
|
64
|
+
| undefined;
|
65
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
66
|
+
httpAuthSchemes:
|
67
|
+
| import("@smithy/types").HttpAuthScheme[]
|
68
|
+
| (
|
69
|
+
| {
|
70
|
+
schemeId: string;
|
71
|
+
identityProvider: (
|
72
|
+
ipc: import("@smithy/types").IdentityProviderConfig
|
73
|
+
) =>
|
74
|
+
| import("@smithy/types").IdentityProvider<
|
75
|
+
import("@smithy/types").Identity
|
76
|
+
>
|
77
|
+
| undefined;
|
78
|
+
signer: import("@aws-sdk/core").AwsSdkSigV4Signer;
|
79
|
+
}
|
80
|
+
| {
|
81
|
+
schemeId: string;
|
82
|
+
identityProvider: (
|
83
|
+
ipc: import("@smithy/types").IdentityProviderConfig
|
84
|
+
) =>
|
85
|
+
| import("@smithy/types").IdentityProvider<
|
86
|
+
import("@smithy/types").Identity
|
87
|
+
>
|
88
|
+
| (() => Promise<{}>);
|
89
|
+
signer: import("@smithy/core").NoAuthSigner;
|
90
|
+
}
|
91
|
+
)[];
|
92
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").STSHttpAuthSchemeProvider;
|
93
|
+
credentials?:
|
94
|
+
| import("@smithy/types").AwsCredentialIdentity
|
95
|
+
| import("@smithy/types").AwsCredentialIdentityProvider
|
96
|
+
| undefined;
|
97
|
+
signer?:
|
98
|
+
| import("@smithy/types").RequestSigner
|
99
|
+
| ((
|
100
|
+
authScheme?: import("@smithy/types").AuthScheme | undefined
|
101
|
+
) => Promise<import("@smithy/types").RequestSigner>)
|
102
|
+
| undefined;
|
103
|
+
signingEscapePath?: boolean | undefined;
|
104
|
+
systemClockOffset?: number | undefined;
|
105
|
+
signingRegion?: string | undefined;
|
106
|
+
signerConstructor?:
|
107
|
+
| (new (
|
108
|
+
options: import("@smithy/signature-v4").SignatureV4Init &
|
109
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit
|
110
|
+
) => import("@smithy/types").RequestSigner)
|
111
|
+
| undefined;
|
112
|
+
useGlobalEndpoint?:
|
113
|
+
| boolean
|
114
|
+
| import("@smithy/types").Provider<boolean>
|
115
|
+
| undefined;
|
116
|
+
};
|
@@ -0,0 +1,109 @@
|
|
1
|
+
import { NoAuthSigner } from "@smithy/core";
|
2
|
+
import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
|
3
|
+
import { IdentityProviderConfig } from "@smithy/types";
|
4
|
+
import { STSClientConfig } from "./STSClient";
|
5
|
+
export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
6
|
+
runtime: string;
|
7
|
+
defaultsMode: import("@smithy/types").Provider<
|
8
|
+
import("@smithy/smithy-client").ResolvedDefaultsMode
|
9
|
+
>;
|
10
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
11
|
+
credentialDefaultProvider: (
|
12
|
+
init?:
|
13
|
+
| import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
14
|
+
| undefined
|
15
|
+
) => import("@smithy/types").MemoizedProvider<
|
16
|
+
import("@smithy/types").AwsCredentialIdentity
|
17
|
+
>;
|
18
|
+
defaultUserAgentProvider: import("@smithy/types").Provider<
|
19
|
+
import("@smithy/types").UserAgent
|
20
|
+
>;
|
21
|
+
httpAuthSchemes:
|
22
|
+
| import("@smithy/types").HttpAuthScheme[]
|
23
|
+
| {
|
24
|
+
schemeId: string;
|
25
|
+
identityProvider: (
|
26
|
+
ipc: IdentityProviderConfig
|
27
|
+
) =>
|
28
|
+
| import("@smithy/types").IdentityProvider<
|
29
|
+
import("@smithy/types").Identity
|
30
|
+
>
|
31
|
+
| (() => Promise<{}>);
|
32
|
+
signer: NoAuthSigner;
|
33
|
+
}[];
|
34
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
35
|
+
region: string | import("@smithy/types").Provider<string>;
|
36
|
+
requestHandler:
|
37
|
+
| RequestHandler
|
38
|
+
| import("@smithy/protocol-http").HttpHandler<any>;
|
39
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
40
|
+
sha256: import("@smithy/types").HashConstructor;
|
41
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
42
|
+
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
43
|
+
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
44
|
+
apiVersion: string;
|
45
|
+
urlParser: import("@smithy/types").UrlParser;
|
46
|
+
base64Decoder: import("@smithy/types").Decoder;
|
47
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
48
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
49
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
50
|
+
disableHostPrefix: boolean;
|
51
|
+
serviceId: string;
|
52
|
+
logger: import("@smithy/types").Logger;
|
53
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
54
|
+
endpoint?:
|
55
|
+
| ((
|
56
|
+
| string
|
57
|
+
| import("@smithy/types").Endpoint
|
58
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
59
|
+
| import("@smithy/types").EndpointV2
|
60
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
61
|
+
) &
|
62
|
+
(
|
63
|
+
| string
|
64
|
+
| import("@smithy/types").Provider<string>
|
65
|
+
| import("@smithy/types").Endpoint
|
66
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
67
|
+
| import("@smithy/types").EndpointV2
|
68
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
69
|
+
))
|
70
|
+
| undefined;
|
71
|
+
endpointProvider: (
|
72
|
+
params: import("./endpoint/EndpointParameters").EndpointParameters,
|
73
|
+
context?:
|
74
|
+
| {
|
75
|
+
logger?: import("@smithy/types").Logger | undefined;
|
76
|
+
}
|
77
|
+
| undefined
|
78
|
+
) => import("@smithy/types").EndpointV2;
|
79
|
+
tls?: boolean | undefined;
|
80
|
+
retryStrategy?:
|
81
|
+
| import("@smithy/types").RetryStrategy
|
82
|
+
| import("@smithy/types").RetryStrategyV2
|
83
|
+
| undefined;
|
84
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
85
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").STSHttpAuthSchemeProvider;
|
86
|
+
credentials?:
|
87
|
+
| import("@smithy/types").AwsCredentialIdentity
|
88
|
+
| import("@smithy/types").AwsCredentialIdentityProvider
|
89
|
+
| undefined;
|
90
|
+
signer?:
|
91
|
+
| import("@smithy/types").RequestSigner
|
92
|
+
| ((
|
93
|
+
authScheme?: import("@smithy/types").AuthScheme | undefined
|
94
|
+
) => Promise<import("@smithy/types").RequestSigner>)
|
95
|
+
| undefined;
|
96
|
+
signingEscapePath?: boolean | undefined;
|
97
|
+
systemClockOffset?: number | undefined;
|
98
|
+
signingRegion?: string | undefined;
|
99
|
+
signerConstructor?:
|
100
|
+
| (new (
|
101
|
+
options: import("@smithy/signature-v4").SignatureV4Init &
|
102
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit
|
103
|
+
) => import("@smithy/types").RequestSigner)
|
104
|
+
| undefined;
|
105
|
+
useGlobalEndpoint?:
|
106
|
+
| boolean
|
107
|
+
| import("@smithy/types").Provider<boolean>
|
108
|
+
| undefined;
|
109
|
+
};
|
@@ -0,0 +1,110 @@
|
|
1
|
+
import { STSClientConfig } from "./STSClient";
|
2
|
+
export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
3
|
+
runtime: string;
|
4
|
+
sha256: import("@smithy/types").HashConstructor;
|
5
|
+
requestHandler:
|
6
|
+
| import("@smithy/types").NodeHttpHandlerOptions
|
7
|
+
| import("@smithy/types").FetchHttpHandlerOptions
|
8
|
+
| Record<string, unknown>
|
9
|
+
| import("@smithy/protocol-http").HttpHandler<any>
|
10
|
+
| import("@smithy/fetch-http-handler").FetchHttpHandler;
|
11
|
+
apiVersion: string;
|
12
|
+
urlParser: import("@smithy/types").UrlParser;
|
13
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
14
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
15
|
+
base64Decoder: import("@smithy/types").Decoder;
|
16
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
17
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
18
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
19
|
+
disableHostPrefix: boolean;
|
20
|
+
serviceId: string;
|
21
|
+
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
22
|
+
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
23
|
+
defaultUserAgentProvider: import("@smithy/types").Provider<
|
24
|
+
import("@smithy/types").UserAgent
|
25
|
+
>;
|
26
|
+
region: string | import("@smithy/types").Provider<any>;
|
27
|
+
credentialDefaultProvider: (
|
28
|
+
input: any
|
29
|
+
) => import("@smithy/types").AwsCredentialIdentityProvider;
|
30
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
31
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
32
|
+
logger: import("@smithy/types").Logger;
|
33
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
34
|
+
defaultsMode:
|
35
|
+
| import("@smithy/smithy-client").DefaultsMode
|
36
|
+
| import("@smithy/types").Provider<
|
37
|
+
import("@smithy/smithy-client").DefaultsMode
|
38
|
+
>;
|
39
|
+
endpoint?:
|
40
|
+
| string
|
41
|
+
| import("@smithy/types").Endpoint
|
42
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
43
|
+
| import("@smithy/types").EndpointV2
|
44
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
45
|
+
| undefined;
|
46
|
+
endpointProvider: (
|
47
|
+
params: import("./endpoint/EndpointParameters").EndpointParameters,
|
48
|
+
context?:
|
49
|
+
| {
|
50
|
+
logger?: import("@smithy/types").Logger | undefined;
|
51
|
+
}
|
52
|
+
| undefined
|
53
|
+
) => import("@smithy/types").EndpointV2;
|
54
|
+
tls?: boolean | undefined;
|
55
|
+
retryStrategy?:
|
56
|
+
| import("@smithy/types").RetryStrategy
|
57
|
+
| import("@smithy/types").RetryStrategyV2
|
58
|
+
| undefined;
|
59
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
60
|
+
httpAuthSchemes:
|
61
|
+
| import("@smithy/types").HttpAuthScheme[]
|
62
|
+
| (
|
63
|
+
| {
|
64
|
+
schemeId: string;
|
65
|
+
identityProvider: (
|
66
|
+
ipc: import("@smithy/types").IdentityProviderConfig
|
67
|
+
) =>
|
68
|
+
| import("@smithy/types").IdentityProvider<
|
69
|
+
import("@smithy/types").Identity
|
70
|
+
>
|
71
|
+
| undefined;
|
72
|
+
signer: import("@aws-sdk/core").AwsSdkSigV4Signer;
|
73
|
+
}
|
74
|
+
| {
|
75
|
+
schemeId: string;
|
76
|
+
identityProvider: (
|
77
|
+
ipc: import("@smithy/types").IdentityProviderConfig
|
78
|
+
) =>
|
79
|
+
| import("@smithy/types").IdentityProvider<
|
80
|
+
import("@smithy/types").Identity
|
81
|
+
>
|
82
|
+
| (() => Promise<{}>);
|
83
|
+
signer: import("@smithy/core").NoAuthSigner;
|
84
|
+
}
|
85
|
+
)[];
|
86
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").STSHttpAuthSchemeProvider;
|
87
|
+
credentials?:
|
88
|
+
| import("@smithy/types").AwsCredentialIdentity
|
89
|
+
| import("@smithy/types").AwsCredentialIdentityProvider
|
90
|
+
| undefined;
|
91
|
+
signer?:
|
92
|
+
| import("@smithy/types").RequestSigner
|
93
|
+
| ((
|
94
|
+
authScheme?: import("@smithy/types").AuthScheme | undefined
|
95
|
+
) => Promise<import("@smithy/types").RequestSigner>)
|
96
|
+
| undefined;
|
97
|
+
signingEscapePath?: boolean | undefined;
|
98
|
+
systemClockOffset?: number | undefined;
|
99
|
+
signingRegion?: string | undefined;
|
100
|
+
signerConstructor?:
|
101
|
+
| (new (
|
102
|
+
options: import("@smithy/signature-v4").SignatureV4Init &
|
103
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit
|
104
|
+
) => import("@smithy/types").RequestSigner)
|
105
|
+
| undefined;
|
106
|
+
useGlobalEndpoint?:
|
107
|
+
| boolean
|
108
|
+
| import("@smithy/types").Provider<boolean>
|
109
|
+
| undefined;
|
110
|
+
};
|
@@ -0,0 +1,51 @@
|
|
1
|
+
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
2
|
+
import { NoAuthSigner } from "@smithy/core";
|
3
|
+
import { IdentityProviderConfig } from "@smithy/types";
|
4
|
+
import { STSClientConfig } from "./STSClient";
|
5
|
+
export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
6
|
+
apiVersion: string;
|
7
|
+
base64Decoder: import("@smithy/types").Decoder;
|
8
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
9
|
+
disableHostPrefix: boolean;
|
10
|
+
endpointProvider: (
|
11
|
+
params: import("./endpoint/EndpointParameters").EndpointParameters,
|
12
|
+
context?:
|
13
|
+
| {
|
14
|
+
logger?: import("@smithy/types").Logger | undefined;
|
15
|
+
}
|
16
|
+
| undefined
|
17
|
+
) => import("@smithy/types").EndpointV2;
|
18
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
19
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").STSHttpAuthSchemeProvider;
|
20
|
+
httpAuthSchemes:
|
21
|
+
| import("@smithy/types").HttpAuthScheme[]
|
22
|
+
| (
|
23
|
+
| {
|
24
|
+
schemeId: string;
|
25
|
+
identityProvider: (
|
26
|
+
ipc: IdentityProviderConfig
|
27
|
+
) =>
|
28
|
+
| import("@smithy/types").IdentityProvider<
|
29
|
+
import("@smithy/types").Identity
|
30
|
+
>
|
31
|
+
| undefined;
|
32
|
+
signer: AwsSdkSigV4Signer;
|
33
|
+
}
|
34
|
+
| {
|
35
|
+
schemeId: string;
|
36
|
+
identityProvider: (
|
37
|
+
ipc: IdentityProviderConfig
|
38
|
+
) =>
|
39
|
+
| import("@smithy/types").IdentityProvider<
|
40
|
+
import("@smithy/types").Identity
|
41
|
+
>
|
42
|
+
| (() => Promise<{}>);
|
43
|
+
signer: NoAuthSigner;
|
44
|
+
}
|
45
|
+
)[];
|
46
|
+
logger: import("@smithy/types").Logger;
|
47
|
+
serviceId: string;
|
48
|
+
urlParser: import("@smithy/types").UrlParser;
|
49
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
50
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
51
|
+
};
|