@aws-sdk/nested-clients 3.730.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (159) hide show
  1. package/README.md +13 -0
  2. package/dist-cjs/index.js +2 -0
  3. package/dist-cjs/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +56 -0
  4. package/dist-cjs/submodules/sso-oidc/endpoint/endpointResolver.js +18 -0
  5. package/dist-cjs/submodules/sso-oidc/endpoint/ruleset.js +106 -0
  6. package/dist-cjs/submodules/sso-oidc/index.js +804 -0
  7. package/dist-cjs/submodules/sso-oidc/runtimeConfig.browser.js +38 -0
  8. package/dist-cjs/submodules/sso-oidc/runtimeConfig.js +50 -0
  9. package/dist-cjs/submodules/sso-oidc/runtimeConfig.native.js +15 -0
  10. package/dist-cjs/submodules/sso-oidc/runtimeConfig.shared.js +40 -0
  11. package/dist-cjs/submodules/sts/STSClient.js +51 -0
  12. package/dist-cjs/submodules/sts/auth/httpAuthExtensionConfiguration.js +43 -0
  13. package/dist-cjs/submodules/sts/auth/httpAuthSchemeProvider.js +63 -0
  14. package/dist-cjs/submodules/sts/endpoint/EndpointParameters.js +20 -0
  15. package/dist-cjs/submodules/sts/endpoint/endpointResolver.js +18 -0
  16. package/dist-cjs/submodules/sts/endpoint/ruleset.js +145 -0
  17. package/dist-cjs/submodules/sts/index.js +950 -0
  18. package/dist-cjs/submodules/sts/runtimeConfig.browser.js +39 -0
  19. package/dist-cjs/submodules/sts/runtimeConfig.js +64 -0
  20. package/dist-cjs/submodules/sts/runtimeConfig.native.js +15 -0
  21. package/dist-cjs/submodules/sts/runtimeConfig.shared.js +40 -0
  22. package/dist-cjs/submodules/sts/runtimeExtensions.js +25 -0
  23. package/dist-es/index.js +1 -0
  24. package/dist-es/submodules/sso-oidc/SSOOIDC.js +9 -0
  25. package/dist-es/submodules/sso-oidc/SSOOIDCClient.js +47 -0
  26. package/dist-es/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.js +38 -0
  27. package/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +50 -0
  28. package/dist-es/submodules/sso-oidc/commands/CreateTokenCommand.js +23 -0
  29. package/dist-es/submodules/sso-oidc/commands/index.js +1 -0
  30. package/dist-es/submodules/sso-oidc/endpoint/EndpointParameters.js +14 -0
  31. package/dist-es/submodules/sso-oidc/endpoint/endpointResolver.js +14 -0
  32. package/dist-es/submodules/sso-oidc/endpoint/ruleset.js +103 -0
  33. package/dist-es/submodules/sso-oidc/extensionConfiguration.js +1 -0
  34. package/dist-es/submodules/sso-oidc/index.js +5 -0
  35. package/dist-es/submodules/sso-oidc/models/SSOOIDCServiceException.js +8 -0
  36. package/dist-es/submodules/sso-oidc/models/index.js +1 -0
  37. package/dist-es/submodules/sso-oidc/models/models_0.js +190 -0
  38. package/dist-es/submodules/sso-oidc/protocols/Aws_restJson1.js +255 -0
  39. package/dist-es/submodules/sso-oidc/runtimeConfig.browser.js +33 -0
  40. package/dist-es/submodules/sso-oidc/runtimeConfig.js +45 -0
  41. package/dist-es/submodules/sso-oidc/runtimeConfig.native.js +11 -0
  42. package/dist-es/submodules/sso-oidc/runtimeConfig.shared.js +36 -0
  43. package/dist-es/submodules/sso-oidc/runtimeExtensions.js +21 -0
  44. package/dist-es/submodules/sts/STS.js +11 -0
  45. package/dist-es/submodules/sts/STSClient.js +47 -0
  46. package/dist-es/submodules/sts/auth/httpAuthExtensionConfiguration.js +38 -0
  47. package/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js +56 -0
  48. package/dist-es/submodules/sts/commands/AssumeRoleCommand.js +23 -0
  49. package/dist-es/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.js +23 -0
  50. package/dist-es/submodules/sts/commands/index.js +2 -0
  51. package/dist-es/submodules/sts/defaultRoleAssumers.js +22 -0
  52. package/dist-es/submodules/sts/defaultStsRoleAssumers.js +93 -0
  53. package/dist-es/submodules/sts/endpoint/EndpointParameters.js +16 -0
  54. package/dist-es/submodules/sts/endpoint/endpointResolver.js +14 -0
  55. package/dist-es/submodules/sts/endpoint/ruleset.js +142 -0
  56. package/dist-es/submodules/sts/extensionConfiguration.js +1 -0
  57. package/dist-es/submodules/sts/index.js +6 -0
  58. package/dist-es/submodules/sts/models/STSServiceException.js +8 -0
  59. package/dist-es/submodules/sts/models/index.js +1 -0
  60. package/dist-es/submodules/sts/models/models_0.js +102 -0
  61. package/dist-es/submodules/sts/protocols/Aws_query.js +528 -0
  62. package/dist-es/submodules/sts/runtimeConfig.browser.js +34 -0
  63. package/dist-es/submodules/sts/runtimeConfig.js +59 -0
  64. package/dist-es/submodules/sts/runtimeConfig.native.js +11 -0
  65. package/dist-es/submodules/sts/runtimeConfig.shared.js +36 -0
  66. package/dist-es/submodules/sts/runtimeExtensions.js +21 -0
  67. package/dist-types/index.d.ts +6 -0
  68. package/dist-types/submodules/sso-oidc/SSOOIDC.d.ts +54 -0
  69. package/dist-types/submodules/sso-oidc/SSOOIDCClient.d.ts +219 -0
  70. package/dist-types/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  71. package/dist-types/submodules/sso-oidc/auth/httpAuthSchemeProvider.d.ts +61 -0
  72. package/dist-types/submodules/sso-oidc/commands/CreateTokenCommand.d.ts +128 -0
  73. package/dist-types/submodules/sso-oidc/commands/index.d.ts +1 -0
  74. package/dist-types/submodules/sso-oidc/endpoint/EndpointParameters.d.ts +40 -0
  75. package/dist-types/submodules/sso-oidc/endpoint/endpointResolver.d.ts +5 -0
  76. package/dist-types/submodules/sso-oidc/endpoint/ruleset.d.ts +2 -0
  77. package/dist-types/submodules/sso-oidc/extensionConfiguration.d.ts +9 -0
  78. package/dist-types/submodules/sso-oidc/index.d.ts +50 -0
  79. package/dist-types/submodules/sso-oidc/models/SSOOIDCServiceException.d.ts +14 -0
  80. package/dist-types/submodules/sso-oidc/models/index.d.ts +1 -0
  81. package/dist-types/submodules/sso-oidc/models/models_0.d.ts +396 -0
  82. package/dist-types/submodules/sso-oidc/protocols/Aws_restJson1.d.ts +11 -0
  83. package/dist-types/submodules/sso-oidc/runtimeConfig.browser.d.ts +56 -0
  84. package/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +56 -0
  85. package/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts +55 -0
  86. package/dist-types/submodules/sso-oidc/runtimeConfig.shared.d.ts +32 -0
  87. package/dist-types/submodules/sso-oidc/runtimeExtensions.d.ts +17 -0
  88. package/dist-types/submodules/sts/STS.d.ts +27 -0
  89. package/dist-types/submodules/sts/STSClient.d.ts +192 -0
  90. package/dist-types/submodules/sts/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  91. package/dist-types/submodules/sts/auth/httpAuthSchemeProvider.d.ts +71 -0
  92. package/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts +222 -0
  93. package/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +254 -0
  94. package/dist-types/submodules/sts/commands/index.d.ts +2 -0
  95. package/dist-types/submodules/sts/defaultRoleAssumers.d.ts +23 -0
  96. package/dist-types/submodules/sts/defaultStsRoleAssumers.d.ts +43 -0
  97. package/dist-types/submodules/sts/endpoint/EndpointParameters.d.ts +46 -0
  98. package/dist-types/submodules/sts/endpoint/endpointResolver.d.ts +5 -0
  99. package/dist-types/submodules/sts/endpoint/ruleset.d.ts +2 -0
  100. package/dist-types/submodules/sts/extensionConfiguration.d.ts +9 -0
  101. package/dist-types/submodules/sts/index.d.ts +17 -0
  102. package/dist-types/submodules/sts/models/STSServiceException.d.ts +14 -0
  103. package/dist-types/submodules/sts/models/index.d.ts +1 -0
  104. package/dist-types/submodules/sts/models/models_0.d.ts +712 -0
  105. package/dist-types/submodules/sts/protocols/Aws_query.d.ts +20 -0
  106. package/dist-types/submodules/sts/runtimeConfig.browser.d.ts +58 -0
  107. package/dist-types/submodules/sts/runtimeConfig.d.ts +56 -0
  108. package/dist-types/submodules/sts/runtimeConfig.native.d.ts +57 -0
  109. package/dist-types/submodules/sts/runtimeConfig.shared.d.ts +32 -0
  110. package/dist-types/submodules/sts/runtimeExtensions.d.ts +17 -0
  111. package/dist-types/ts3.4/index.d.ts +1 -0
  112. package/dist-types/ts3.4/submodules/sso-oidc/SSOOIDC.d.ts +22 -0
  113. package/dist-types/ts3.4/submodules/sso-oidc/SSOOIDCClient.d.ts +121 -0
  114. package/dist-types/ts3.4/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  115. package/dist-types/ts3.4/submodules/sso-oidc/auth/httpAuthSchemeProvider.d.ts +44 -0
  116. package/dist-types/ts3.4/submodules/sso-oidc/commands/CreateTokenCommand.d.ts +43 -0
  117. package/dist-types/ts3.4/submodules/sso-oidc/commands/index.d.ts +1 -0
  118. package/dist-types/ts3.4/submodules/sso-oidc/endpoint/EndpointParameters.d.ts +51 -0
  119. package/dist-types/ts3.4/submodules/sso-oidc/endpoint/endpointResolver.d.ts +8 -0
  120. package/dist-types/ts3.4/submodules/sso-oidc/endpoint/ruleset.d.ts +2 -0
  121. package/dist-types/ts3.4/submodules/sso-oidc/extensionConfiguration.d.ts +9 -0
  122. package/dist-types/ts3.4/submodules/sso-oidc/index.d.ts +8 -0
  123. package/dist-types/ts3.4/submodules/sso-oidc/models/SSOOIDCServiceException.d.ts +9 -0
  124. package/dist-types/ts3.4/submodules/sso-oidc/models/index.d.ts +1 -0
  125. package/dist-types/ts3.4/submodules/sso-oidc/models/models_0.d.ts +123 -0
  126. package/dist-types/ts3.4/submodules/sso-oidc/protocols/Aws_restJson1.d.ts +17 -0
  127. package/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts +116 -0
  128. package/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +113 -0
  129. package/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +120 -0
  130. package/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.shared.d.ts +49 -0
  131. package/dist-types/ts3.4/submodules/sso-oidc/runtimeExtensions.d.ts +11 -0
  132. package/dist-types/ts3.4/submodules/sts/STS.d.ts +39 -0
  133. package/dist-types/ts3.4/submodules/sts/STSClient.d.ts +128 -0
  134. package/dist-types/ts3.4/submodules/sts/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  135. package/dist-types/ts3.4/submodules/sts/auth/httpAuthSchemeProvider.d.ts +54 -0
  136. package/dist-types/ts3.4/submodules/sts/commands/AssumeRoleCommand.d.ts +47 -0
  137. package/dist-types/ts3.4/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +51 -0
  138. package/dist-types/ts3.4/submodules/sts/commands/index.d.ts +2 -0
  139. package/dist-types/ts3.4/submodules/sts/defaultRoleAssumers.d.ts +19 -0
  140. package/dist-types/ts3.4/submodules/sts/defaultStsRoleAssumers.d.ts +33 -0
  141. package/dist-types/ts3.4/submodules/sts/endpoint/EndpointParameters.d.ts +57 -0
  142. package/dist-types/ts3.4/submodules/sts/endpoint/endpointResolver.d.ts +8 -0
  143. package/dist-types/ts3.4/submodules/sts/endpoint/ruleset.d.ts +2 -0
  144. package/dist-types/ts3.4/submodules/sts/extensionConfiguration.d.ts +9 -0
  145. package/dist-types/ts3.4/submodules/sts/index.d.ts +9 -0
  146. package/dist-types/ts3.4/submodules/sts/models/STSServiceException.d.ts +9 -0
  147. package/dist-types/ts3.4/submodules/sts/models/index.d.ts +1 -0
  148. package/dist-types/ts3.4/submodules/sts/models/models_0.d.ts +123 -0
  149. package/dist-types/ts3.4/submodules/sts/protocols/Aws_query.d.ts +29 -0
  150. package/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +127 -0
  151. package/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +111 -0
  152. package/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +131 -0
  153. package/dist-types/ts3.4/submodules/sts/runtimeConfig.shared.d.ts +51 -0
  154. package/dist-types/ts3.4/submodules/sts/runtimeExtensions.d.ts +11 -0
  155. package/package.json +115 -0
  156. package/sso-oidc.d.ts +7 -0
  157. package/sso-oidc.js +5 -0
  158. package/sts.d.ts +7 -0
  159. package/sts.js +5 -0
@@ -0,0 +1,6 @@
1
+ /**
2
+ * This package exports nothing at the root.
3
+ * Use submodules e.g. \@aws-sdk/nested-clients/client-sts.
4
+ * @internal
5
+ */
6
+ export {};
@@ -0,0 +1,54 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import { CreateTokenCommandInput, CreateTokenCommandOutput } from "./commands/CreateTokenCommand";
3
+ import { SSOOIDCClient } from "./SSOOIDCClient";
4
+ export interface SSOOIDC {
5
+ /**
6
+ * @see {@link CreateTokenCommand}
7
+ */
8
+ createToken(args: CreateTokenCommandInput, options?: __HttpHandlerOptions): Promise<CreateTokenCommandOutput>;
9
+ createToken(args: CreateTokenCommandInput, cb: (err: any, data?: CreateTokenCommandOutput) => void): void;
10
+ createToken(args: CreateTokenCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateTokenCommandOutput) => void): void;
11
+ }
12
+ /**
13
+ * <p>IAM Identity Center OpenID Connect (OIDC) is a web service that enables a client (such as CLI
14
+ * or a native application) to register with IAM Identity Center. The service also enables the client to
15
+ * fetch the user’s access token upon successful authentication and authorization with
16
+ * IAM Identity Center.</p>
17
+ * <note>
18
+ * <p>IAM Identity Center uses the <code>sso</code> and <code>identitystore</code> API namespaces.</p>
19
+ * </note>
20
+ * <p>
21
+ * <b>Considerations for Using This Guide</b>
22
+ * </p>
23
+ * <p>Before you begin using this guide, we recommend that you first review the following
24
+ * important information about how the IAM Identity Center OIDC service works.</p>
25
+ * <ul>
26
+ * <li>
27
+ * <p>The IAM Identity Center OIDC service currently implements only the portions of the OAuth 2.0 Device
28
+ * Authorization Grant standard (<a href="https://tools.ietf.org/html/rfc8628">https://tools.ietf.org/html/rfc8628</a>) that are necessary to enable single
29
+ * sign-on authentication with the CLI. </p>
30
+ * </li>
31
+ * <li>
32
+ * <p>With older versions of the CLI, the service only emits OIDC access tokens, so to
33
+ * obtain a new token, users must explicitly re-authenticate. To access the OIDC flow that
34
+ * supports token refresh and doesn’t require re-authentication, update to the latest CLI
35
+ * version (1.27.10 for CLI V1 and 2.9.0 for CLI V2) with support for OIDC token refresh and
36
+ * configurable IAM Identity Center session durations. For more information, see <a href="https://docs.aws.amazon.com/singlesignon/latest/userguide/configure-user-session.html">Configure Amazon Web Services access portal session duration </a>. </p>
37
+ * </li>
38
+ * <li>
39
+ * <p>The access tokens provided by this service grant access to all Amazon Web Services account
40
+ * entitlements assigned to an IAM Identity Center user, not just a particular application.</p>
41
+ * </li>
42
+ * <li>
43
+ * <p>The documentation in this guide does not describe the mechanism to convert the access
44
+ * token into Amazon Web Services Auth (“sigv4”) credentials for use with IAM-protected Amazon Web Services service
45
+ * endpoints. For more information, see <a href="https://docs.aws.amazon.com/singlesignon/latest/PortalAPIReference/API_GetRoleCredentials.html">GetRoleCredentials</a> in the <i>IAM Identity Center Portal API Reference
46
+ * Guide</i>.</p>
47
+ * </li>
48
+ * </ul>
49
+ * <p>For general information about IAM Identity Center, see <a href="https://docs.aws.amazon.com/singlesignon/latest/userguide/what-is.html">What is
50
+ * IAM Identity Center?</a> in the <i>IAM Identity Center User Guide</i>.</p>
51
+ * @public
52
+ */
53
+ export declare class SSOOIDC extends SSOOIDCClient implements SSOOIDC {
54
+ }
@@ -0,0 +1,219 @@
1
+ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
2
+ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
3
+ import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
4
+ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
5
+ import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
6
+ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
+ import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
8
+ import { BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
+ import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
+ import { CreateTokenCommandInput, CreateTokenCommandOutput } from "./commands/CreateTokenCommand";
11
+ import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
12
+ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
13
+ export { __Client };
14
+ /**
15
+ * @public
16
+ */
17
+ export type ServiceInputTypes = CreateTokenCommandInput;
18
+ /**
19
+ * @public
20
+ */
21
+ export type ServiceOutputTypes = CreateTokenCommandOutput;
22
+ /**
23
+ * @public
24
+ */
25
+ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
26
+ /**
27
+ * The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs.
28
+ */
29
+ requestHandler?: __HttpHandlerUserInput;
30
+ /**
31
+ * A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
32
+ * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
33
+ * @internal
34
+ */
35
+ sha256?: __ChecksumConstructor | __HashConstructor;
36
+ /**
37
+ * The function that will be used to convert strings into HTTP endpoints.
38
+ * @internal
39
+ */
40
+ urlParser?: __UrlParser;
41
+ /**
42
+ * A function that can calculate the length of a request body.
43
+ * @internal
44
+ */
45
+ bodyLengthChecker?: __BodyLengthCalculator;
46
+ /**
47
+ * A function that converts a stream into an array of bytes.
48
+ * @internal
49
+ */
50
+ streamCollector?: __StreamCollector;
51
+ /**
52
+ * The function that will be used to convert a base64-encoded string to a byte array.
53
+ * @internal
54
+ */
55
+ base64Decoder?: __Decoder;
56
+ /**
57
+ * The function that will be used to convert binary data to a base64-encoded string.
58
+ * @internal
59
+ */
60
+ base64Encoder?: __Encoder;
61
+ /**
62
+ * The function that will be used to convert a UTF8-encoded string to a byte array.
63
+ * @internal
64
+ */
65
+ utf8Decoder?: __Decoder;
66
+ /**
67
+ * The function that will be used to convert binary data to a UTF-8 encoded string.
68
+ * @internal
69
+ */
70
+ utf8Encoder?: __Encoder;
71
+ /**
72
+ * The runtime environment.
73
+ * @internal
74
+ */
75
+ runtime?: string;
76
+ /**
77
+ * Disable dynamically changing the endpoint of the client based on the hostPrefix
78
+ * trait of an operation.
79
+ */
80
+ disableHostPrefix?: boolean;
81
+ /**
82
+ * Unique service identifier.
83
+ * @internal
84
+ */
85
+ serviceId?: string;
86
+ /**
87
+ * Enables IPv6/IPv4 dualstack endpoint.
88
+ */
89
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
90
+ /**
91
+ * Enables FIPS compatible endpoints.
92
+ */
93
+ useFipsEndpoint?: boolean | __Provider<boolean>;
94
+ /**
95
+ * The AWS region to which this client will send requests
96
+ */
97
+ region?: string | __Provider<string>;
98
+ /**
99
+ * Setting a client profile is similar to setting a value for the
100
+ * AWS_PROFILE environment variable. Setting a profile on a client
101
+ * in code only affects the single client instance, unlike AWS_PROFILE.
102
+ *
103
+ * When set, and only for environments where an AWS configuration
104
+ * file exists, fields configurable by this file will be retrieved
105
+ * from the specified profile within that file.
106
+ * Conflicting code configuration and environment variables will
107
+ * still have higher priority.
108
+ *
109
+ * For client credential resolution that involves checking the AWS
110
+ * configuration file, the client's profile (this value) will be
111
+ * used unless a different profile is set in the credential
112
+ * provider options.
113
+ *
114
+ */
115
+ profile?: string;
116
+ /**
117
+ * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
118
+ * @internal
119
+ */
120
+ defaultUserAgentProvider?: Provider<__UserAgent>;
121
+ /**
122
+ * Value for how many times a request will be made at most in case of retry.
123
+ */
124
+ maxAttempts?: number | __Provider<number>;
125
+ /**
126
+ * Specifies which retry algorithm to use.
127
+ * @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/
128
+ *
129
+ */
130
+ retryMode?: string | __Provider<string>;
131
+ /**
132
+ * Optional logger for logging debug/info/warn/error.
133
+ */
134
+ logger?: __Logger;
135
+ /**
136
+ * Optional extensions
137
+ */
138
+ extensions?: RuntimeExtension[];
139
+ /**
140
+ * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
141
+ */
142
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
143
+ }
144
+ /**
145
+ * @public
146
+ */
147
+ export type SSOOIDCClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
148
+ /**
149
+ * @public
150
+ *
151
+ * The configuration interface of SSOOIDCClient class constructor that set the region, credentials and other options.
152
+ */
153
+ export interface SSOOIDCClientConfig extends SSOOIDCClientConfigType {
154
+ }
155
+ /**
156
+ * @public
157
+ */
158
+ export type SSOOIDCClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
159
+ /**
160
+ * @public
161
+ *
162
+ * The resolved configuration interface of SSOOIDCClient class. This is resolved and normalized from the {@link SSOOIDCClientConfig | constructor configuration interface}.
163
+ */
164
+ export interface SSOOIDCClientResolvedConfig extends SSOOIDCClientResolvedConfigType {
165
+ }
166
+ /**
167
+ * <p>IAM Identity Center OpenID Connect (OIDC) is a web service that enables a client (such as CLI
168
+ * or a native application) to register with IAM Identity Center. The service also enables the client to
169
+ * fetch the user’s access token upon successful authentication and authorization with
170
+ * IAM Identity Center.</p>
171
+ * <note>
172
+ * <p>IAM Identity Center uses the <code>sso</code> and <code>identitystore</code> API namespaces.</p>
173
+ * </note>
174
+ * <p>
175
+ * <b>Considerations for Using This Guide</b>
176
+ * </p>
177
+ * <p>Before you begin using this guide, we recommend that you first review the following
178
+ * important information about how the IAM Identity Center OIDC service works.</p>
179
+ * <ul>
180
+ * <li>
181
+ * <p>The IAM Identity Center OIDC service currently implements only the portions of the OAuth 2.0 Device
182
+ * Authorization Grant standard (<a href="https://tools.ietf.org/html/rfc8628">https://tools.ietf.org/html/rfc8628</a>) that are necessary to enable single
183
+ * sign-on authentication with the CLI. </p>
184
+ * </li>
185
+ * <li>
186
+ * <p>With older versions of the CLI, the service only emits OIDC access tokens, so to
187
+ * obtain a new token, users must explicitly re-authenticate. To access the OIDC flow that
188
+ * supports token refresh and doesn’t require re-authentication, update to the latest CLI
189
+ * version (1.27.10 for CLI V1 and 2.9.0 for CLI V2) with support for OIDC token refresh and
190
+ * configurable IAM Identity Center session durations. For more information, see <a href="https://docs.aws.amazon.com/singlesignon/latest/userguide/configure-user-session.html">Configure Amazon Web Services access portal session duration </a>. </p>
191
+ * </li>
192
+ * <li>
193
+ * <p>The access tokens provided by this service grant access to all Amazon Web Services account
194
+ * entitlements assigned to an IAM Identity Center user, not just a particular application.</p>
195
+ * </li>
196
+ * <li>
197
+ * <p>The documentation in this guide does not describe the mechanism to convert the access
198
+ * token into Amazon Web Services Auth (“sigv4”) credentials for use with IAM-protected Amazon Web Services service
199
+ * endpoints. For more information, see <a href="https://docs.aws.amazon.com/singlesignon/latest/PortalAPIReference/API_GetRoleCredentials.html">GetRoleCredentials</a> in the <i>IAM Identity Center Portal API Reference
200
+ * Guide</i>.</p>
201
+ * </li>
202
+ * </ul>
203
+ * <p>For general information about IAM Identity Center, see <a href="https://docs.aws.amazon.com/singlesignon/latest/userguide/what-is.html">What is
204
+ * IAM Identity Center?</a> in the <i>IAM Identity Center User Guide</i>.</p>
205
+ * @public
206
+ */
207
+ export declare class SSOOIDCClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, SSOOIDCClientResolvedConfig> {
208
+ /**
209
+ * The resolved configuration of SSOOIDCClient class. This is resolved and normalized from the {@link SSOOIDCClientConfig | constructor configuration interface}.
210
+ */
211
+ readonly config: SSOOIDCClientResolvedConfig;
212
+ constructor(...[configuration]: __CheckOptionalClientConfig<SSOOIDCClientConfig>);
213
+ /**
214
+ * Destroy underlying resources, like sockets. It's usually not necessary to do this.
215
+ * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
216
+ * Otherwise, sockets might stay open for quite a long time before the server terminates them.
217
+ */
218
+ destroy(): void;
219
+ }
@@ -0,0 +1,29 @@
1
+ import { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
2
+ import { SSOOIDCHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
3
+ /**
4
+ * @internal
5
+ */
6
+ export interface HttpAuthExtensionConfiguration {
7
+ setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
8
+ httpAuthSchemes(): HttpAuthScheme[];
9
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider: SSOOIDCHttpAuthSchemeProvider): void;
10
+ httpAuthSchemeProvider(): SSOOIDCHttpAuthSchemeProvider;
11
+ setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
12
+ credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
13
+ }
14
+ /**
15
+ * @internal
16
+ */
17
+ export type HttpAuthRuntimeConfig = Partial<{
18
+ httpAuthSchemes: HttpAuthScheme[];
19
+ httpAuthSchemeProvider: SSOOIDCHttpAuthSchemeProvider;
20
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
21
+ }>;
22
+ /**
23
+ * @internal
24
+ */
25
+ export declare const getHttpAuthExtensionConfiguration: (runtimeConfig: HttpAuthRuntimeConfig) => HttpAuthExtensionConfiguration;
26
+ /**
27
+ * @internal
28
+ */
29
+ export declare const resolveHttpAuthRuntimeConfig: (config: HttpAuthExtensionConfiguration) => HttpAuthRuntimeConfig;
@@ -0,0 +1,61 @@
1
+ import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
2
+ import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider } from "@smithy/types";
3
+ import { SSOOIDCClientResolvedConfig } from "../SSOOIDCClient";
4
+ /**
5
+ * @internal
6
+ */
7
+ export interface SSOOIDCHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
8
+ region?: string;
9
+ }
10
+ /**
11
+ * @internal
12
+ */
13
+ export interface SSOOIDCHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<SSOOIDCClientResolvedConfig, HandlerExecutionContext, SSOOIDCHttpAuthSchemeParameters, object> {
14
+ }
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const defaultSSOOIDCHttpAuthSchemeParametersProvider: (config: SSOOIDCClientResolvedConfig, context: HandlerExecutionContext, input: object) => Promise<SSOOIDCHttpAuthSchemeParameters>;
19
+ /**
20
+ * @internal
21
+ */
22
+ export interface SSOOIDCHttpAuthSchemeProvider extends HttpAuthSchemeProvider<SSOOIDCHttpAuthSchemeParameters> {
23
+ }
24
+ /**
25
+ * @internal
26
+ */
27
+ export declare const defaultSSOOIDCHttpAuthSchemeProvider: SSOOIDCHttpAuthSchemeProvider;
28
+ /**
29
+ * @internal
30
+ */
31
+ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
32
+ /**
33
+ * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
34
+ * @internal
35
+ */
36
+ httpAuthSchemes?: HttpAuthScheme[];
37
+ /**
38
+ * Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
39
+ * @internal
40
+ */
41
+ httpAuthSchemeProvider?: SSOOIDCHttpAuthSchemeProvider;
42
+ }
43
+ /**
44
+ * @internal
45
+ */
46
+ export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
47
+ /**
48
+ * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
49
+ * @internal
50
+ */
51
+ readonly httpAuthSchemes: HttpAuthScheme[];
52
+ /**
53
+ * Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
54
+ * @internal
55
+ */
56
+ readonly httpAuthSchemeProvider: SSOOIDCHttpAuthSchemeProvider;
57
+ }
58
+ /**
59
+ * @internal
60
+ */
61
+ export declare const resolveHttpAuthSchemeConfig: <T>(config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved) => T & HttpAuthSchemeResolvedConfig;
@@ -0,0 +1,128 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CreateTokenRequest, CreateTokenResponse } from "../models/models_0";
4
+ import { SSOOIDCClientResolvedConfig } from "../SSOOIDCClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateTokenCommand}.
14
+ */
15
+ export interface CreateTokenCommandInput extends CreateTokenRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateTokenCommand}.
21
+ */
22
+ export interface CreateTokenCommandOutput extends CreateTokenResponse, __MetadataBearer {
23
+ }
24
+ declare const CreateTokenCommand_base: {
25
+ new (input: CreateTokenCommandInput): import("@smithy/smithy-client").CommandImpl<CreateTokenCommandInput, CreateTokenCommandOutput, SSOOIDCClientResolvedConfig, CreateTokenCommandInput, CreateTokenCommandOutput>;
26
+ new (__0_0: CreateTokenCommandInput): import("@smithy/smithy-client").CommandImpl<CreateTokenCommandInput, CreateTokenCommandOutput, SSOOIDCClientResolvedConfig, CreateTokenCommandInput, CreateTokenCommandOutput>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Creates and returns access and refresh tokens for clients that are authenticated using
31
+ * client secrets. The access token can be used to fetch short-term credentials for the assigned
32
+ * AWS accounts or to access application APIs using <code>bearer</code> authentication.</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { SSOOIDCClient, CreateTokenCommand } from "@aws-sdk/client-sso-oidc"; // ES Modules import
37
+ * // const { SSOOIDCClient, CreateTokenCommand } = require("@aws-sdk/client-sso-oidc"); // CommonJS import
38
+ * const client = new SSOOIDCClient(config);
39
+ * const input = { // CreateTokenRequest
40
+ * clientId: "STRING_VALUE", // required
41
+ * clientSecret: "STRING_VALUE", // required
42
+ * grantType: "STRING_VALUE", // required
43
+ * deviceCode: "STRING_VALUE",
44
+ * code: "STRING_VALUE",
45
+ * refreshToken: "STRING_VALUE",
46
+ * scope: [ // Scopes
47
+ * "STRING_VALUE",
48
+ * ],
49
+ * redirectUri: "STRING_VALUE",
50
+ * codeVerifier: "STRING_VALUE",
51
+ * };
52
+ * const command = new CreateTokenCommand(input);
53
+ * const response = await client.send(command);
54
+ * // { // CreateTokenResponse
55
+ * // accessToken: "STRING_VALUE",
56
+ * // tokenType: "STRING_VALUE",
57
+ * // expiresIn: Number("int"),
58
+ * // refreshToken: "STRING_VALUE",
59
+ * // idToken: "STRING_VALUE",
60
+ * // };
61
+ *
62
+ * ```
63
+ *
64
+ * @param CreateTokenCommandInput - {@link CreateTokenCommandInput}
65
+ * @returns {@link CreateTokenCommandOutput}
66
+ * @see {@link CreateTokenCommandInput} for command's `input` shape.
67
+ * @see {@link CreateTokenCommandOutput} for command's `response` shape.
68
+ * @see {@link SSOOIDCClientResolvedConfig | config} for SSOOIDCClient's `config` shape.
69
+ *
70
+ * @throws {@link AccessDeniedException} (client fault)
71
+ * <p>You do not have sufficient access to perform this action.</p>
72
+ *
73
+ * @throws {@link AuthorizationPendingException} (client fault)
74
+ * <p>Indicates that a request to authorize a client with an access user session token is
75
+ * pending.</p>
76
+ *
77
+ * @throws {@link ExpiredTokenException} (client fault)
78
+ * <p>Indicates that the token issued by the service is expired and is no longer valid.</p>
79
+ *
80
+ * @throws {@link InternalServerException} (server fault)
81
+ * <p>Indicates that an error from the service occurred while trying to process a
82
+ * request.</p>
83
+ *
84
+ * @throws {@link InvalidClientException} (client fault)
85
+ * <p>Indicates that the <code>clientId</code> or <code>clientSecret</code> in the request is
86
+ * invalid. For example, this can occur when a client sends an incorrect <code>clientId</code> or
87
+ * an expired <code>clientSecret</code>.</p>
88
+ *
89
+ * @throws {@link InvalidGrantException} (client fault)
90
+ * <p>Indicates that a request contains an invalid grant. This can occur if a client makes a
91
+ * <a>CreateToken</a> request with an invalid grant type.</p>
92
+ *
93
+ * @throws {@link InvalidRequestException} (client fault)
94
+ * <p>Indicates that something is wrong with the input to the request. For example, a required
95
+ * parameter might be missing or out of range.</p>
96
+ *
97
+ * @throws {@link InvalidScopeException} (client fault)
98
+ * <p>Indicates that the scope provided in the request is invalid.</p>
99
+ *
100
+ * @throws {@link SlowDownException} (client fault)
101
+ * <p>Indicates that the client is making the request too frequently and is more than the
102
+ * service can handle. </p>
103
+ *
104
+ * @throws {@link UnauthorizedClientException} (client fault)
105
+ * <p>Indicates that the client is not currently authorized to make the request. This can happen
106
+ * when a <code>clientId</code> is not issued for a public client.</p>
107
+ *
108
+ * @throws {@link UnsupportedGrantTypeException} (client fault)
109
+ * <p>Indicates that the grant type in the request is not supported by the service.</p>
110
+ *
111
+ * @throws {@link SSOOIDCServiceException}
112
+ * <p>Base exception class for all service exceptions from SSOOIDC service.</p>
113
+ *
114
+ * @public
115
+ */
116
+ export declare class CreateTokenCommand extends CreateTokenCommand_base {
117
+ /** @internal type navigation helper, not in runtime. */
118
+ protected static __types: {
119
+ api: {
120
+ input: CreateTokenRequest;
121
+ output: CreateTokenResponse;
122
+ };
123
+ sdk: {
124
+ input: CreateTokenCommandInput;
125
+ output: CreateTokenCommandOutput;
126
+ };
127
+ };
128
+ }
@@ -0,0 +1 @@
1
+ export * from "./CreateTokenCommand";
@@ -0,0 +1,40 @@
1
+ import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface ClientInputEndpointParameters {
6
+ region?: string | Provider<string>;
7
+ useDualstackEndpoint?: boolean | Provider<boolean>;
8
+ useFipsEndpoint?: boolean | Provider<boolean>;
9
+ endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
10
+ }
11
+ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
12
+ defaultSigningName: string;
13
+ };
14
+ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
15
+ defaultSigningName: string;
16
+ };
17
+ export declare const commonParams: {
18
+ readonly UseFIPS: {
19
+ readonly type: "builtInParams";
20
+ readonly name: "useFipsEndpoint";
21
+ };
22
+ readonly Endpoint: {
23
+ readonly type: "builtInParams";
24
+ readonly name: "endpoint";
25
+ };
26
+ readonly Region: {
27
+ readonly type: "builtInParams";
28
+ readonly name: "region";
29
+ };
30
+ readonly UseDualStack: {
31
+ readonly type: "builtInParams";
32
+ readonly name: "useDualstackEndpoint";
33
+ };
34
+ };
35
+ export interface EndpointParameters extends __EndpointParameters {
36
+ Region?: string;
37
+ UseDualStack?: boolean;
38
+ UseFIPS?: boolean;
39
+ Endpoint?: string;
40
+ }
@@ -0,0 +1,5 @@
1
+ import { EndpointV2, Logger } from "@smithy/types";
2
+ import { EndpointParameters } from "./EndpointParameters";
3
+ export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
4
+ logger?: Logger;
5
+ }) => EndpointV2;
@@ -0,0 +1,2 @@
1
+ import { RuleSetObject } from "@smithy/types";
2
+ export declare const ruleSet: RuleSetObject;
@@ -0,0 +1,9 @@
1
+ import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
+ import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
3
+ import { DefaultExtensionConfiguration } from "@smithy/types";
4
+ import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
+ /**
6
+ * @internal
7
+ */
8
+ export interface SSOOIDCExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration, HttpAuthExtensionConfiguration {
9
+ }
@@ -0,0 +1,50 @@
1
+ /**
2
+ * <p>IAM Identity Center OpenID Connect (OIDC) is a web service that enables a client (such as CLI
3
+ * or a native application) to register with IAM Identity Center. The service also enables the client to
4
+ * fetch the user’s access token upon successful authentication and authorization with
5
+ * IAM Identity Center.</p>
6
+ * <note>
7
+ * <p>IAM Identity Center uses the <code>sso</code> and <code>identitystore</code> API namespaces.</p>
8
+ * </note>
9
+ * <p>
10
+ * <b>Considerations for Using This Guide</b>
11
+ * </p>
12
+ * <p>Before you begin using this guide, we recommend that you first review the following
13
+ * important information about how the IAM Identity Center OIDC service works.</p>
14
+ * <ul>
15
+ * <li>
16
+ * <p>The IAM Identity Center OIDC service currently implements only the portions of the OAuth 2.0 Device
17
+ * Authorization Grant standard (<a href="https://tools.ietf.org/html/rfc8628">https://tools.ietf.org/html/rfc8628</a>) that are necessary to enable single
18
+ * sign-on authentication with the CLI. </p>
19
+ * </li>
20
+ * <li>
21
+ * <p>With older versions of the CLI, the service only emits OIDC access tokens, so to
22
+ * obtain a new token, users must explicitly re-authenticate. To access the OIDC flow that
23
+ * supports token refresh and doesn’t require re-authentication, update to the latest CLI
24
+ * version (1.27.10 for CLI V1 and 2.9.0 for CLI V2) with support for OIDC token refresh and
25
+ * configurable IAM Identity Center session durations. For more information, see <a href="https://docs.aws.amazon.com/singlesignon/latest/userguide/configure-user-session.html">Configure Amazon Web Services access portal session duration </a>. </p>
26
+ * </li>
27
+ * <li>
28
+ * <p>The access tokens provided by this service grant access to all Amazon Web Services account
29
+ * entitlements assigned to an IAM Identity Center user, not just a particular application.</p>
30
+ * </li>
31
+ * <li>
32
+ * <p>The documentation in this guide does not describe the mechanism to convert the access
33
+ * token into Amazon Web Services Auth (“sigv4”) credentials for use with IAM-protected Amazon Web Services service
34
+ * endpoints. For more information, see <a href="https://docs.aws.amazon.com/singlesignon/latest/PortalAPIReference/API_GetRoleCredentials.html">GetRoleCredentials</a> in the <i>IAM Identity Center Portal API Reference
35
+ * Guide</i>.</p>
36
+ * </li>
37
+ * </ul>
38
+ * <p>For general information about IAM Identity Center, see <a href="https://docs.aws.amazon.com/singlesignon/latest/userguide/what-is.html">What is
39
+ * IAM Identity Center?</a> in the <i>IAM Identity Center User Guide</i>.</p>
40
+ *
41
+ * @packageDocumentation
42
+ */
43
+ export * from "./SSOOIDCClient";
44
+ export * from "./SSOOIDC";
45
+ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
46
+ export type { RuntimeExtension } from "./runtimeExtensions";
47
+ export type { SSOOIDCExtensionConfiguration } from "./extensionConfiguration";
48
+ export * from "./commands";
49
+ export * from "./models";
50
+ export { SSOOIDCServiceException } from "./models/SSOOIDCServiceException";
@@ -0,0 +1,14 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client";
2
+ export type { __ServiceExceptionOptions };
3
+ export { __ServiceException };
4
+ /**
5
+ * @public
6
+ *
7
+ * Base exception class for all service exceptions from SSOOIDC service.
8
+ */
9
+ export declare class SSOOIDCServiceException extends __ServiceException {
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(options: __ServiceExceptionOptions);
14
+ }
@@ -0,0 +1 @@
1
+ export * from "./models_0";