@cdk8s/awscdk-resolver 0.0.95 → 0.0.97

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 (187) hide show
  1. package/.jsii +4 -4
  2. package/lib/resolve.js +1 -1
  3. package/node_modules/@aws-sdk/client-cloudformation/package.json +4 -2
  4. package/node_modules/@aws-sdk/client-sso-oidc/LICENSE +201 -0
  5. package/node_modules/@aws-sdk/client-sso-oidc/README.md +274 -0
  6. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/auth/httpAuthSchemeProvider.js +64 -0
  7. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/endpoint/endpointResolver.js +14 -0
  8. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/endpoint/ruleset.js +7 -0
  9. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/index.js +1024 -0
  10. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.browser.js +39 -0
  11. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.js +49 -0
  12. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.native.js +15 -0
  13. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.shared.js +40 -0
  14. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDC.js +15 -0
  15. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDCClient.js +52 -0
  16. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  17. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/auth/httpAuthSchemeProvider.js +58 -0
  18. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/CreateTokenCommand.js +25 -0
  19. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/CreateTokenWithIAMCommand.js +25 -0
  20. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/RegisterClientCommand.js +25 -0
  21. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/StartDeviceAuthorizationCommand.js +25 -0
  22. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/index.js +4 -0
  23. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/EndpointParameters.js +14 -0
  24. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/endpointResolver.js +10 -0
  25. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/ruleset.js +4 -0
  26. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/extensionConfiguration.js +1 -0
  27. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/index.js +5 -0
  28. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/SSOOIDCServiceException.js +8 -0
  29. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/index.js +1 -0
  30. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/models_0.js +217 -0
  31. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/protocols/Aws_restJson1.js +409 -0
  32. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.browser.js +34 -0
  33. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.js +44 -0
  34. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.native.js +11 -0
  35. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.shared.js +36 -0
  36. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeExtensions.js +21 -0
  37. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDC.d.ts +75 -0
  38. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDCClient.d.ts +212 -0
  39. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  40. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
  41. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenCommand.d.ts +162 -0
  42. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenWithIAMCommand.d.ts +244 -0
  43. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/RegisterClientCommand.d.ts +108 -0
  44. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/StartDeviceAuthorizationCommand.d.ts +111 -0
  45. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/index.d.ts +4 -0
  46. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/endpoint/EndpointParameters.d.ts +40 -0
  47. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/endpoint/endpointResolver.d.ts +5 -0
  48. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/endpoint/ruleset.d.ts +2 -0
  49. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/extensionConfiguration.d.ts +9 -0
  50. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/index.d.ts +50 -0
  51. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/models/SSOOIDCServiceException.d.ts +13 -0
  52. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/models/index.d.ts +1 -0
  53. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/models/models_0.d.ts +734 -0
  54. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/protocols/Aws_restJson1.d.ts +38 -0
  55. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +53 -0
  56. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +53 -0
  57. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.native.d.ts +52 -0
  58. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.shared.d.ts +32 -0
  59. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeExtensions.d.ts +17 -0
  60. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/SSOOIDC.d.ts +73 -0
  61. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/SSOOIDCClient.d.ts +144 -0
  62. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  63. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
  64. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/CreateTokenCommand.d.ts +35 -0
  65. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/CreateTokenWithIAMCommand.d.ts +39 -0
  66. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/RegisterClientCommand.d.ts +38 -0
  67. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/StartDeviceAuthorizationCommand.d.ts +39 -0
  68. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/index.d.ts +4 -0
  69. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
  70. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  71. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  72. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  73. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/index.d.ts +8 -0
  74. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/models/SSOOIDCServiceException.d.ts +8 -0
  75. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/models/index.d.ts +1 -0
  76. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/models/models_0.d.ts +201 -0
  77. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +53 -0
  78. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +110 -0
  79. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +114 -0
  80. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +104 -0
  81. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.shared.d.ts +49 -0
  82. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  83. package/node_modules/@aws-sdk/client-sso-oidc/package.json +100 -0
  84. package/node_modules/@aws-sdk/client-sts/LICENSE +201 -0
  85. package/node_modules/@aws-sdk/client-sts/README.md +273 -0
  86. package/node_modules/@aws-sdk/client-sts/dist-cjs/STSClient.js +56 -0
  87. package/node_modules/@aws-sdk/client-sts/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  88. package/node_modules/@aws-sdk/client-sts/dist-cjs/auth/httpAuthSchemeProvider.js +67 -0
  89. package/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/EndpointParameters.js +20 -0
  90. package/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/endpointResolver.js +14 -0
  91. package/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/ruleset.js +7 -0
  92. package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +1457 -0
  93. package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.browser.js +39 -0
  94. package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.js +63 -0
  95. package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.native.js +15 -0
  96. package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.shared.js +40 -0
  97. package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeExtensions.js +25 -0
  98. package/node_modules/@aws-sdk/client-sts/dist-es/STS.js +23 -0
  99. package/node_modules/@aws-sdk/client-sts/dist-es/STSClient.js +52 -0
  100. package/node_modules/@aws-sdk/client-sts/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  101. package/node_modules/@aws-sdk/client-sts/dist-es/auth/httpAuthSchemeProvider.js +60 -0
  102. package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleCommand.js +25 -0
  103. package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithSAMLCommand.js +25 -0
  104. package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithWebIdentityCommand.js +25 -0
  105. package/node_modules/@aws-sdk/client-sts/dist-es/commands/DecodeAuthorizationMessageCommand.js +24 -0
  106. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetAccessKeyInfoCommand.js +24 -0
  107. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetCallerIdentityCommand.js +24 -0
  108. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetFederationTokenCommand.js +25 -0
  109. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetSessionTokenCommand.js +25 -0
  110. package/node_modules/@aws-sdk/client-sts/dist-es/commands/index.js +8 -0
  111. package/node_modules/@aws-sdk/client-sts/dist-es/defaultRoleAssumers.js +22 -0
  112. package/node_modules/@aws-sdk/client-sts/dist-es/defaultStsRoleAssumers.js +67 -0
  113. package/node_modules/@aws-sdk/client-sts/dist-es/endpoint/EndpointParameters.js +16 -0
  114. package/node_modules/@aws-sdk/client-sts/dist-es/endpoint/endpointResolver.js +10 -0
  115. package/node_modules/@aws-sdk/client-sts/dist-es/endpoint/ruleset.js +4 -0
  116. package/node_modules/@aws-sdk/client-sts/dist-es/extensionConfiguration.js +1 -0
  117. package/node_modules/@aws-sdk/client-sts/dist-es/index.js +6 -0
  118. package/node_modules/@aws-sdk/client-sts/dist-es/models/STSServiceException.js +8 -0
  119. package/node_modules/@aws-sdk/client-sts/dist-es/models/index.js +1 -0
  120. package/node_modules/@aws-sdk/client-sts/dist-es/models/models_0.js +130 -0
  121. package/node_modules/@aws-sdk/client-sts/dist-es/protocols/Aws_query.js +885 -0
  122. package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.browser.js +34 -0
  123. package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.js +58 -0
  124. package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.native.js +11 -0
  125. package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.shared.js +36 -0
  126. package/node_modules/@aws-sdk/client-sts/dist-es/runtimeExtensions.js +21 -0
  127. package/node_modules/@aws-sdk/client-sts/dist-types/STS.d.ts +71 -0
  128. package/node_modules/@aws-sdk/client-sts/dist-types/STSClient.d.ts +182 -0
  129. package/node_modules/@aws-sdk/client-sts/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  130. package/node_modules/@aws-sdk/client-sts/dist-types/auth/httpAuthSchemeProvider.d.ts +71 -0
  131. package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleCommand.d.ts +257 -0
  132. package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithSAMLCommand.d.ts +282 -0
  133. package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithWebIdentityCommand.d.ts +291 -0
  134. package/node_modules/@aws-sdk/client-sts/dist-types/commands/DecodeAuthorizationMessageCommand.d.ts +115 -0
  135. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetAccessKeyInfoCommand.d.ts +75 -0
  136. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetCallerIdentityCommand.d.ts +116 -0
  137. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetFederationTokenCommand.d.ts +230 -0
  138. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetSessionTokenCommand.d.ts +154 -0
  139. package/node_modules/@aws-sdk/client-sts/dist-types/commands/index.d.ts +8 -0
  140. package/node_modules/@aws-sdk/client-sts/dist-types/defaultRoleAssumers.d.ts +23 -0
  141. package/node_modules/@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers.d.ts +43 -0
  142. package/node_modules/@aws-sdk/client-sts/dist-types/endpoint/EndpointParameters.d.ts +46 -0
  143. package/node_modules/@aws-sdk/client-sts/dist-types/endpoint/endpointResolver.d.ts +5 -0
  144. package/node_modules/@aws-sdk/client-sts/dist-types/endpoint/ruleset.d.ts +2 -0
  145. package/node_modules/@aws-sdk/client-sts/dist-types/extensionConfiguration.d.ts +9 -0
  146. package/node_modules/@aws-sdk/client-sts/dist-types/index.d.ts +17 -0
  147. package/node_modules/@aws-sdk/client-sts/dist-types/models/STSServiceException.d.ts +13 -0
  148. package/node_modules/@aws-sdk/client-sts/dist-types/models/index.d.ts +1 -0
  149. package/node_modules/@aws-sdk/client-sts/dist-types/models/models_0.d.ts +1213 -0
  150. package/node_modules/@aws-sdk/client-sts/dist-types/protocols/Aws_query.d.ts +74 -0
  151. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +54 -0
  152. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +52 -0
  153. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +53 -0
  154. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.shared.d.ts +32 -0
  155. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeExtensions.d.ts +17 -0
  156. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STS.d.ts +143 -0
  157. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STSClient.d.ts +165 -0
  158. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  159. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +54 -0
  160. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRoleCommand.d.ts +35 -0
  161. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRoleWithSAMLCommand.d.ts +39 -0
  162. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRoleWithWebIdentityCommand.d.ts +39 -0
  163. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/DecodeAuthorizationMessageCommand.d.ts +39 -0
  164. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetAccessKeyInfoCommand.d.ts +38 -0
  165. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetCallerIdentityCommand.d.ts +39 -0
  166. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetFederationTokenCommand.d.ts +39 -0
  167. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetSessionTokenCommand.d.ts +38 -0
  168. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/index.d.ts +8 -0
  169. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/defaultRoleAssumers.d.ts +19 -0
  170. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/defaultStsRoleAssumers.d.ts +33 -0
  171. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +57 -0
  172. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  173. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  174. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  175. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/index.d.ts +9 -0
  176. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/models/STSServiceException.d.ts +8 -0
  177. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/models/index.d.ts +1 -0
  178. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/models/models_0.d.ts +206 -0
  179. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/protocols/Aws_query.d.ts +101 -0
  180. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +116 -0
  181. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +109 -0
  182. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +110 -0
  183. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.shared.d.ts +51 -0
  184. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  185. package/node_modules/@aws-sdk/client-sts/package.json +102 -0
  186. package/node_modules/@aws-sdk/credential-provider-node/package.json +1 -1
  187. 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
+ };