@aws-sdk/nested-clients 3.995.0 → 3.996.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cognito-identity.d.ts +7 -0
- package/cognito-identity.js +5 -0
- package/dist-cjs/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +60 -0
- package/dist-cjs/submodules/cognito-identity/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/submodules/cognito-identity/endpoint/ruleset.js +146 -0
- package/dist-cjs/submodules/cognito-identity/index.js +174 -0
- package/dist-cjs/submodules/cognito-identity/models/CognitoIdentityServiceException.js +12 -0
- package/dist-cjs/submodules/cognito-identity/models/errors.js +121 -0
- package/dist-cjs/submodules/cognito-identity/runtimeConfig.browser.js +38 -0
- package/dist-cjs/submodules/cognito-identity/runtimeConfig.js +53 -0
- package/dist-cjs/submodules/cognito-identity/runtimeConfig.native.js +15 -0
- package/dist-cjs/submodules/cognito-identity/runtimeConfig.shared.js +50 -0
- package/dist-cjs/submodules/cognito-identity/schemas/schemas_0.js +110 -0
- package/dist-cjs/submodules/signin/endpoint/ruleset.js +128 -2
- package/dist-cjs/submodules/signin/index.js +17 -18
- package/dist-cjs/submodules/sso/auth/httpAuthSchemeProvider.js +56 -0
- package/dist-cjs/submodules/sso/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/submodules/sso/endpoint/ruleset.js +106 -0
- package/dist-cjs/submodules/sso/index.js +160 -0
- package/dist-cjs/submodules/sso/models/SSOServiceException.js +12 -0
- package/dist-cjs/submodules/sso/models/errors.js +56 -0
- package/dist-cjs/submodules/sso/runtimeConfig.browser.js +38 -0
- package/dist-cjs/submodules/sso/runtimeConfig.js +53 -0
- package/dist-cjs/submodules/sso/runtimeConfig.native.js +15 -0
- package/dist-cjs/submodules/sso/runtimeConfig.shared.js +49 -0
- package/dist-cjs/submodules/sso/schemas/schemas_0.js +90 -0
- package/dist-cjs/submodules/sso-oidc/endpoint/ruleset.js +101 -2
- package/dist-cjs/submodules/sso-oidc/index.js +17 -18
- package/dist-cjs/submodules/sts/endpoint/ruleset.js +140 -2
- package/dist-cjs/submodules/sts/index.js +23 -17
- package/dist-es/submodules/cognito-identity/CognitoIdentity.js +11 -0
- package/dist-es/submodules/cognito-identity/CognitoIdentityClient.js +50 -0
- package/dist-es/submodules/cognito-identity/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +54 -0
- package/dist-es/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.js +16 -0
- package/dist-es/submodules/cognito-identity/commands/GetIdCommand.js +16 -0
- package/dist-es/submodules/cognito-identity/commands/index.js +2 -0
- package/dist-es/submodules/cognito-identity/endpoint/EndpointParameters.js +13 -0
- package/dist-es/submodules/cognito-identity/endpoint/endpointResolver.js +14 -0
- package/dist-es/submodules/cognito-identity/endpoint/ruleset.js +143 -0
- package/dist-es/submodules/cognito-identity/extensionConfiguration.js +1 -0
- package/dist-es/submodules/cognito-identity/index.js +7 -0
- package/dist-es/submodules/cognito-identity/models/CognitoIdentityServiceException.js +8 -0
- package/dist-es/submodules/cognito-identity/models/errors.js +109 -0
- package/dist-es/submodules/cognito-identity/models/models_0.js +1 -0
- package/dist-es/submodules/cognito-identity/runtimeConfig.browser.js +33 -0
- package/dist-es/submodules/cognito-identity/runtimeConfig.js +48 -0
- package/dist-es/submodules/cognito-identity/runtimeConfig.native.js +11 -0
- package/dist-es/submodules/cognito-identity/runtimeConfig.shared.js +46 -0
- package/dist-es/submodules/cognito-identity/runtimeExtensions.js +9 -0
- package/dist-es/submodules/cognito-identity/schemas/schemas_0.js +107 -0
- package/dist-es/submodules/signin/Signin.js +1 -1
- package/dist-es/submodules/signin/endpoint/ruleset.js +128 -2
- package/dist-es/submodules/sso/SSO.js +9 -0
- package/dist-es/submodules/sso/SSOClient.js +50 -0
- package/dist-es/submodules/sso/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/submodules/sso/auth/httpAuthSchemeProvider.js +50 -0
- package/dist-es/submodules/sso/commands/GetRoleCredentialsCommand.js +16 -0
- package/dist-es/submodules/sso/commands/index.js +1 -0
- package/dist-es/submodules/sso/endpoint/EndpointParameters.js +13 -0
- package/dist-es/submodules/sso/endpoint/endpointResolver.js +14 -0
- package/dist-es/submodules/sso/endpoint/ruleset.js +103 -0
- package/dist-es/submodules/sso/extensionConfiguration.js +1 -0
- package/dist-es/submodules/sso/index.js +7 -0
- package/dist-es/submodules/sso/models/SSOServiceException.js +8 -0
- package/dist-es/submodules/sso/models/errors.js +49 -0
- package/dist-es/submodules/sso/models/models_0.js +1 -0
- package/dist-es/submodules/sso/runtimeConfig.browser.js +33 -0
- package/dist-es/submodules/sso/runtimeConfig.js +48 -0
- package/dist-es/submodules/sso/runtimeConfig.native.js +11 -0
- package/dist-es/submodules/sso/runtimeConfig.shared.js +45 -0
- package/dist-es/submodules/sso/runtimeExtensions.js +9 -0
- package/dist-es/submodules/sso/schemas/schemas_0.js +87 -0
- package/dist-es/submodules/sso-oidc/endpoint/ruleset.js +101 -2
- package/dist-es/submodules/sts/defaultStsRoleAssumers.js +1 -1
- package/dist-es/submodules/sts/endpoint/ruleset.js +140 -2
- package/dist-types/submodules/cognito-identity/CognitoIdentity.d.ts +38 -0
- package/dist-types/submodules/cognito-identity/CognitoIdentityClient.d.ts +198 -0
- package/dist-types/submodules/cognito-identity/auth/httpAuthExtensionConfiguration.d.ts +30 -0
- package/dist-types/submodules/cognito-identity/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.d.ts +120 -0
- package/dist-types/submodules/cognito-identity/commands/GetIdCommand.d.ts +107 -0
- package/dist-types/submodules/cognito-identity/commands/index.d.ts +2 -0
- package/dist-types/submodules/cognito-identity/endpoint/EndpointParameters.d.ts +50 -0
- package/dist-types/submodules/cognito-identity/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/submodules/cognito-identity/endpoint/ruleset.d.ts +2 -0
- package/dist-types/submodules/cognito-identity/extensionConfiguration.d.ts +9 -0
- package/dist-types/submodules/cognito-identity/index.d.ts +29 -0
- package/dist-types/submodules/cognito-identity/models/CognitoIdentityServiceException.d.ts +14 -0
- package/dist-types/submodules/cognito-identity/models/errors.d.ts +119 -0
- package/dist-types/submodules/cognito-identity/models/models_0.d.ts +136 -0
- package/dist-types/submodules/cognito-identity/runtimeConfig.browser.d.ts +62 -0
- package/dist-types/submodules/cognito-identity/runtimeConfig.d.ts +62 -0
- package/dist-types/submodules/cognito-identity/runtimeConfig.native.d.ts +61 -0
- package/dist-types/submodules/cognito-identity/runtimeConfig.shared.d.ts +38 -0
- package/dist-types/submodules/cognito-identity/runtimeExtensions.d.ts +17 -0
- package/dist-types/submodules/cognito-identity/schemas/schemas_0.d.ts +25 -0
- package/dist-types/submodules/signin/Signin.d.ts +1 -1
- package/dist-types/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts +2 -1
- package/dist-types/submodules/signin/endpoint/ruleset.d.ts +1 -1
- package/dist-types/submodules/signin/models/errors.d.ts +1 -1
- package/dist-types/submodules/sso/SSO.d.ts +32 -0
- package/dist-types/submodules/sso/SSOClient.d.ts +198 -0
- package/dist-types/submodules/sso/auth/httpAuthExtensionConfiguration.d.ts +30 -0
- package/dist-types/submodules/sso/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/submodules/sso/commands/GetRoleCredentialsCommand.d.ts +97 -0
- package/dist-types/submodules/sso/commands/index.d.ts +1 -0
- package/dist-types/submodules/sso/endpoint/EndpointParameters.d.ts +50 -0
- package/dist-types/submodules/sso/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/submodules/sso/endpoint/ruleset.d.ts +2 -0
- package/dist-types/submodules/sso/extensionConfiguration.d.ts +9 -0
- package/dist-types/submodules/sso/index.d.ts +30 -0
- package/dist-types/submodules/sso/models/SSOServiceException.d.ts +14 -0
- package/dist-types/submodules/sso/models/errors.d.ts +53 -0
- package/dist-types/submodules/sso/models/models_0.d.ts +61 -0
- package/dist-types/submodules/sso/runtimeConfig.browser.d.ts +62 -0
- package/dist-types/submodules/sso/runtimeConfig.d.ts +62 -0
- package/dist-types/submodules/sso/runtimeConfig.native.d.ts +61 -0
- package/dist-types/submodules/sso/runtimeConfig.shared.d.ts +38 -0
- package/dist-types/submodules/sso/runtimeExtensions.d.ts +17 -0
- package/dist-types/submodules/sso/schemas/schemas_0.d.ts +17 -0
- package/dist-types/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.d.ts +2 -1
- package/dist-types/submodules/sso-oidc/endpoint/ruleset.d.ts +1 -1
- package/dist-types/submodules/sso-oidc/models/errors.d.ts +1 -1
- package/dist-types/submodules/sts/auth/httpAuthExtensionConfiguration.d.ts +2 -1
- package/dist-types/submodules/sts/defaultRoleAssumers.d.ts +3 -3
- package/dist-types/submodules/sts/defaultStsRoleAssumers.d.ts +3 -3
- package/dist-types/submodules/sts/endpoint/ruleset.d.ts +1 -1
- package/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentity.d.ts +38 -0
- package/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentityClient.d.ts +126 -0
- package/dist-types/ts3.4/submodules/cognito-identity/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/submodules/cognito-identity/auth/httpAuthSchemeProvider.d.ts +47 -0
- package/dist-types/ts3.4/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.d.ts +51 -0
- package/dist-types/ts3.4/submodules/cognito-identity/commands/GetIdCommand.d.ts +41 -0
- package/dist-types/ts3.4/submodules/cognito-identity/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/submodules/cognito-identity/endpoint/EndpointParameters.d.ts +51 -0
- package/dist-types/ts3.4/submodules/cognito-identity/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/submodules/cognito-identity/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/submodules/cognito-identity/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/submodules/cognito-identity/index.d.ts +10 -0
- package/dist-types/ts3.4/submodules/cognito-identity/models/CognitoIdentityServiceException.d.ts +9 -0
- package/dist-types/ts3.4/submodules/cognito-identity/models/errors.d.ts +68 -0
- package/dist-types/ts3.4/submodules/cognito-identity/models/models_0.d.ts +23 -0
- package/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.browser.d.ts +122 -0
- package/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +117 -0
- package/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.native.d.ts +126 -0
- package/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.shared.d.ts +60 -0
- package/dist-types/ts3.4/submodules/cognito-identity/runtimeExtensions.d.ts +13 -0
- package/dist-types/ts3.4/submodules/cognito-identity/schemas/schemas_0.d.ts +24 -0
- package/dist-types/ts3.4/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/submodules/sso/SSO.d.ts +22 -0
- package/dist-types/ts3.4/submodules/sso/SSOClient.d.ts +117 -0
- package/dist-types/ts3.4/submodules/sso/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/submodules/sso/auth/httpAuthSchemeProvider.d.ts +46 -0
- package/dist-types/ts3.4/submodules/sso/commands/GetRoleCredentialsCommand.d.ts +47 -0
- package/dist-types/ts3.4/submodules/sso/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/submodules/sso/endpoint/EndpointParameters.d.ts +51 -0
- package/dist-types/ts3.4/submodules/sso/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/submodules/sso/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/submodules/sso/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/submodules/sso/index.d.ts +10 -0
- package/dist-types/ts3.4/submodules/sso/models/SSOServiceException.d.ts +9 -0
- package/dist-types/ts3.4/submodules/sso/models/errors.d.ts +30 -0
- package/dist-types/ts3.4/submodules/sso/models/models_0.d.ts +14 -0
- package/dist-types/ts3.4/submodules/sso/runtimeConfig.browser.d.ts +120 -0
- package/dist-types/ts3.4/submodules/sso/runtimeConfig.d.ts +115 -0
- package/dist-types/ts3.4/submodules/sso/runtimeConfig.native.d.ts +124 -0
- package/dist-types/ts3.4/submodules/sso/runtimeConfig.shared.d.ts +58 -0
- package/dist-types/ts3.4/submodules/sso/runtimeExtensions.d.ts +11 -0
- package/dist-types/ts3.4/submodules/sso/schemas/schemas_0.d.ts +16 -0
- package/dist-types/ts3.4/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/submodules/sts/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/package.json +54 -36
- package/sso.d.ts +7 -0
- package/sso.js +5 -0
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import type { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface ClientInputEndpointParameters {
|
|
6
|
+
region?: string | undefined | Provider<string | undefined>;
|
|
7
|
+
useDualstackEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
8
|
+
useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
9
|
+
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
|
|
15
|
+
defaultSigningName: string;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* @internal
|
|
19
|
+
*/
|
|
20
|
+
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
|
|
21
|
+
/**
|
|
22
|
+
* @internal
|
|
23
|
+
*/
|
|
24
|
+
export declare const commonParams: {
|
|
25
|
+
readonly UseFIPS: {
|
|
26
|
+
readonly type: "builtInParams";
|
|
27
|
+
readonly name: "useFipsEndpoint";
|
|
28
|
+
};
|
|
29
|
+
readonly Endpoint: {
|
|
30
|
+
readonly type: "builtInParams";
|
|
31
|
+
readonly name: "endpoint";
|
|
32
|
+
};
|
|
33
|
+
readonly Region: {
|
|
34
|
+
readonly type: "builtInParams";
|
|
35
|
+
readonly name: "region";
|
|
36
|
+
};
|
|
37
|
+
readonly UseDualStack: {
|
|
38
|
+
readonly type: "builtInParams";
|
|
39
|
+
readonly name: "useDualstackEndpoint";
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* @internal
|
|
44
|
+
*/
|
|
45
|
+
export interface EndpointParameters extends __EndpointParameters {
|
|
46
|
+
Region?: string | undefined;
|
|
47
|
+
UseDualStack?: boolean | undefined;
|
|
48
|
+
UseFIPS?: boolean | undefined;
|
|
49
|
+
Endpoint?: string | undefined;
|
|
50
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { EndpointV2, Logger } from "@smithy/types";
|
|
2
|
+
import type { EndpointParameters } from "./EndpointParameters";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
|
|
7
|
+
logger?: Logger;
|
|
8
|
+
}) => EndpointV2;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
+
import type { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
|
+
import type { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
+
import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
|
+
/**
|
|
6
|
+
* @internal
|
|
7
|
+
*/
|
|
8
|
+
export interface SSOExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration, HttpAuthExtensionConfiguration {
|
|
9
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* <p>AWS IAM Identity Center (successor to AWS Single Sign-On) Portal is a web service that makes it easy for you to assign user access to
|
|
3
|
+
* IAM Identity Center resources such as the AWS access portal. Users can get AWS account applications and roles
|
|
4
|
+
* assigned to them and get federated into the application.</p>
|
|
5
|
+
* <note>
|
|
6
|
+
* <p>Although AWS Single Sign-On was renamed, the <code>sso</code> and
|
|
7
|
+
* <code>identitystore</code> API namespaces will continue to retain their original name for
|
|
8
|
+
* backward compatibility purposes. For more information, see <a href="https://docs.aws.amazon.com/singlesignon/latest/userguide/what-is.html#renamed">IAM Identity Center rename</a>.</p>
|
|
9
|
+
* </note>
|
|
10
|
+
* <p>This reference guide describes the IAM Identity Center Portal operations that you can call
|
|
11
|
+
* programatically and includes detailed information on data types and errors.</p>
|
|
12
|
+
* <note>
|
|
13
|
+
* <p>AWS provides SDKs that consist of libraries and sample code for various programming
|
|
14
|
+
* languages and platforms, such as Java, Ruby, .Net, iOS, or Android. The SDKs provide a
|
|
15
|
+
* convenient way to create programmatic access to IAM Identity Center and other AWS services. For more
|
|
16
|
+
* information about the AWS SDKs, including how to download and install them, see <a href="http://aws.amazon.com/tools/">Tools for Amazon Web Services</a>.</p>
|
|
17
|
+
* </note>
|
|
18
|
+
*
|
|
19
|
+
* @packageDocumentation
|
|
20
|
+
*/
|
|
21
|
+
export * from "./SSOClient";
|
|
22
|
+
export * from "./SSO";
|
|
23
|
+
export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
24
|
+
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
25
|
+
export type { SSOExtensionConfiguration } from "./extensionConfiguration";
|
|
26
|
+
export * from "./commands";
|
|
27
|
+
export * from "./schemas/schemas_0";
|
|
28
|
+
export * from "./models/errors";
|
|
29
|
+
export * from "./models/models_0";
|
|
30
|
+
export { SSOServiceException } from "./models/SSOServiceException";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/smithy-client";
|
|
2
|
+
export type { __ServiceExceptionOptions };
|
|
3
|
+
export { __ServiceException };
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*
|
|
7
|
+
* Base exception class for all service exceptions from SSO service.
|
|
8
|
+
*/
|
|
9
|
+
export declare class SSOServiceException extends __ServiceException {
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
constructor(options: __ServiceExceptionOptions);
|
|
14
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { SSOServiceException as __BaseException } from "./SSOServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p>Indicates that a problem occurred with the input to the request. For example, a required
|
|
5
|
+
* parameter might be missing or out of range.</p>
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export declare class InvalidRequestException extends __BaseException {
|
|
9
|
+
readonly name: "InvalidRequestException";
|
|
10
|
+
readonly $fault: "client";
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* <p>The specified resource doesn't exist.</p>
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
21
|
+
readonly name: "ResourceNotFoundException";
|
|
22
|
+
readonly $fault: "client";
|
|
23
|
+
/**
|
|
24
|
+
* @internal
|
|
25
|
+
*/
|
|
26
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* <p>Indicates that the request is being made too frequently and is more than what the server
|
|
30
|
+
* can handle.</p>
|
|
31
|
+
* @public
|
|
32
|
+
*/
|
|
33
|
+
export declare class TooManyRequestsException extends __BaseException {
|
|
34
|
+
readonly name: "TooManyRequestsException";
|
|
35
|
+
readonly $fault: "client";
|
|
36
|
+
/**
|
|
37
|
+
* @internal
|
|
38
|
+
*/
|
|
39
|
+
constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* <p>Indicates that the request is not authorized. This can happen due to an invalid access
|
|
43
|
+
* token in the request.</p>
|
|
44
|
+
* @public
|
|
45
|
+
*/
|
|
46
|
+
export declare class UnauthorizedException extends __BaseException {
|
|
47
|
+
readonly name: "UnauthorizedException";
|
|
48
|
+
readonly $fault: "client";
|
|
49
|
+
/**
|
|
50
|
+
* @internal
|
|
51
|
+
*/
|
|
52
|
+
constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
|
|
53
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
*/
|
|
4
|
+
export interface GetRoleCredentialsRequest {
|
|
5
|
+
/**
|
|
6
|
+
* <p>The friendly name of the role that is assigned to the user.</p>
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
roleName: string | undefined;
|
|
10
|
+
/**
|
|
11
|
+
* <p>The identifier for the AWS account that is assigned to the user.</p>
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
accountId: string | undefined;
|
|
15
|
+
/**
|
|
16
|
+
* <p>The token issued by the <code>CreateToken</code> API call. For more information, see
|
|
17
|
+
* <a href="https://docs.aws.amazon.com/singlesignon/latest/OIDCAPIReference/API_CreateToken.html">CreateToken</a> in the <i>IAM Identity Center OIDC API Reference Guide</i>.</p>
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
accessToken: string | undefined;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* <p>Provides information about the role credentials that are assigned to the user.</p>
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
export interface RoleCredentials {
|
|
27
|
+
/**
|
|
28
|
+
* <p>The identifier used for the temporary security credentials. For more information, see
|
|
29
|
+
* <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html">Using Temporary Security Credentials to Request Access to AWS Resources</a> in the
|
|
30
|
+
* <i>AWS IAM User Guide</i>.</p>
|
|
31
|
+
* @public
|
|
32
|
+
*/
|
|
33
|
+
accessKeyId?: string | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* <p>The key that is used to sign the request. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html">Using Temporary Security Credentials to Request Access to AWS Resources</a> in the
|
|
36
|
+
* <i>AWS IAM User Guide</i>.</p>
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
39
|
+
secretAccessKey?: string | undefined;
|
|
40
|
+
/**
|
|
41
|
+
* <p>The token used for temporary credentials. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html">Using Temporary Security Credentials to Request Access to AWS Resources</a> in the
|
|
42
|
+
* <i>AWS IAM User Guide</i>.</p>
|
|
43
|
+
* @public
|
|
44
|
+
*/
|
|
45
|
+
sessionToken?: string | undefined;
|
|
46
|
+
/**
|
|
47
|
+
* <p>The date on which temporary security credentials expire.</p>
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
50
|
+
expiration?: number | undefined;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* @public
|
|
54
|
+
*/
|
|
55
|
+
export interface GetRoleCredentialsResponse {
|
|
56
|
+
/**
|
|
57
|
+
* <p>The credentials for the role that is assigned to the user.</p>
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
roleCredentials?: RoleCredentials | undefined;
|
|
61
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
|
|
2
|
+
import type { SSOClientConfig } from "./SSOClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
7
|
+
runtime: string;
|
|
8
|
+
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
11
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
12
|
+
region: string | import("@smithy/types").Provider<any>;
|
|
13
|
+
requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
|
|
14
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
15
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
16
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
17
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
18
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
19
|
+
cacheMiddleware?: boolean | undefined;
|
|
20
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
21
|
+
protocolSettings: {
|
|
22
|
+
defaultNamespace?: string;
|
|
23
|
+
[setting: string]: unknown;
|
|
24
|
+
};
|
|
25
|
+
apiVersion: string;
|
|
26
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
27
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
28
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
29
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
30
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
31
|
+
disableHostPrefix: boolean;
|
|
32
|
+
serviceId: string;
|
|
33
|
+
profile?: string;
|
|
34
|
+
logger: import("@smithy/types").Logger;
|
|
35
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
36
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
37
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
38
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
39
|
+
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
40
|
+
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
41
|
+
logger?: import("@smithy/types").Logger;
|
|
42
|
+
}) => import("@smithy/types").EndpointV2;
|
|
43
|
+
tls?: boolean;
|
|
44
|
+
serviceConfiguredEndpoint?: never;
|
|
45
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
46
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({
|
|
47
|
+
schemeId: string;
|
|
48
|
+
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
|
49
|
+
signer: import("@aws-sdk/core").AwsSdkSigV4Signer;
|
|
50
|
+
} | {
|
|
51
|
+
schemeId: string;
|
|
52
|
+
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | (() => Promise<{}>);
|
|
53
|
+
signer: import("@smithy/core").NoAuthSigner;
|
|
54
|
+
})[];
|
|
55
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SSOHttpAuthSchemeProvider;
|
|
56
|
+
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
|
|
57
|
+
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
|
|
58
|
+
signingEscapePath?: boolean;
|
|
59
|
+
systemClockOffset?: number;
|
|
60
|
+
signingRegion?: string;
|
|
61
|
+
signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
|
|
62
|
+
};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
|
|
2
|
+
import type { SSOClientConfig } from "./SSOClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
7
|
+
runtime: string;
|
|
8
|
+
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
|
+
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
10
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
12
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
|
+
region: string | import("@smithy/types").Provider<string>;
|
|
14
|
+
requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
|
|
15
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
16
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
17
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
18
|
+
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
19
|
+
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
20
|
+
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
21
|
+
cacheMiddleware?: boolean | undefined;
|
|
22
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
23
|
+
protocolSettings: {
|
|
24
|
+
defaultNamespace?: string;
|
|
25
|
+
[setting: string]: unknown;
|
|
26
|
+
};
|
|
27
|
+
apiVersion: string;
|
|
28
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
29
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
30
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
31
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
32
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
33
|
+
disableHostPrefix: boolean;
|
|
34
|
+
serviceId: string;
|
|
35
|
+
profile?: string;
|
|
36
|
+
logger: import("@smithy/types").Logger;
|
|
37
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
38
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
39
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
40
|
+
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
41
|
+
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
42
|
+
logger?: import("@smithy/types").Logger;
|
|
43
|
+
}) => import("@smithy/types").EndpointV2;
|
|
44
|
+
tls?: boolean;
|
|
45
|
+
serviceConfiguredEndpoint?: never;
|
|
46
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({
|
|
47
|
+
schemeId: string;
|
|
48
|
+
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
|
49
|
+
signer: import("@aws-sdk/core").AwsSdkSigV4Signer;
|
|
50
|
+
} | {
|
|
51
|
+
schemeId: string;
|
|
52
|
+
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | (() => Promise<{}>);
|
|
53
|
+
signer: import("@smithy/core").NoAuthSigner;
|
|
54
|
+
})[];
|
|
55
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SSOHttpAuthSchemeProvider;
|
|
56
|
+
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
|
|
57
|
+
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
|
|
58
|
+
signingEscapePath?: boolean;
|
|
59
|
+
systemClockOffset?: number;
|
|
60
|
+
signingRegion?: string;
|
|
61
|
+
signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
|
|
62
|
+
};
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import type { SSOClientConfig } from "./SSOClient";
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
5
|
+
export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
6
|
+
runtime: string;
|
|
7
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
8
|
+
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
9
|
+
cacheMiddleware?: boolean;
|
|
10
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
11
|
+
protocolSettings: {
|
|
12
|
+
defaultNamespace?: string;
|
|
13
|
+
[setting: string]: unknown;
|
|
14
|
+
};
|
|
15
|
+
apiVersion: string;
|
|
16
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
17
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
18
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
19
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
20
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
21
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
22
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
23
|
+
disableHostPrefix: boolean;
|
|
24
|
+
serviceId: string;
|
|
25
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
26
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
27
|
+
region: string | import("@smithy/types").Provider<any>;
|
|
28
|
+
profile?: string;
|
|
29
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
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: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
35
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
36
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
37
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
38
|
+
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
39
|
+
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
40
|
+
logger?: import("@smithy/types").Logger;
|
|
41
|
+
}) => import("@smithy/types").EndpointV2;
|
|
42
|
+
tls?: boolean;
|
|
43
|
+
serviceConfiguredEndpoint?: never;
|
|
44
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
45
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({
|
|
46
|
+
schemeId: string;
|
|
47
|
+
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
|
48
|
+
signer: import("@aws-sdk/core").AwsSdkSigV4Signer;
|
|
49
|
+
} | {
|
|
50
|
+
schemeId: string;
|
|
51
|
+
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | (() => Promise<{}>);
|
|
52
|
+
signer: import("@smithy/core").NoAuthSigner;
|
|
53
|
+
})[];
|
|
54
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SSOHttpAuthSchemeProvider;
|
|
55
|
+
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
|
|
56
|
+
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
|
|
57
|
+
signingEscapePath?: boolean;
|
|
58
|
+
systemClockOffset?: number;
|
|
59
|
+
signingRegion?: string;
|
|
60
|
+
signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
|
|
61
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
3
|
+
import { NoAuthSigner } from "@smithy/core";
|
|
4
|
+
import type { IdentityProviderConfig } from "@smithy/types";
|
|
5
|
+
import type { SSOClientConfig } from "./SSOClient";
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
10
|
+
apiVersion: string;
|
|
11
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
12
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
13
|
+
disableHostPrefix: boolean;
|
|
14
|
+
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
15
|
+
logger?: import("@smithy/types").Logger;
|
|
16
|
+
}) => import("@smithy/types").EndpointV2;
|
|
17
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
18
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SSOHttpAuthSchemeProvider;
|
|
19
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({
|
|
20
|
+
schemeId: string;
|
|
21
|
+
identityProvider: (ipc: IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
|
22
|
+
signer: AwsSdkSigV4Signer;
|
|
23
|
+
} | {
|
|
24
|
+
schemeId: string;
|
|
25
|
+
identityProvider: (ipc: IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | (() => Promise<{}>);
|
|
26
|
+
signer: NoAuthSigner;
|
|
27
|
+
})[];
|
|
28
|
+
logger: import("@smithy/types").Logger;
|
|
29
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof AwsRestJsonProtocol;
|
|
30
|
+
protocolSettings: {
|
|
31
|
+
[setting: string]: unknown;
|
|
32
|
+
defaultNamespace?: string;
|
|
33
|
+
};
|
|
34
|
+
serviceId: string;
|
|
35
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
36
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
37
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
38
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { SSOExtensionConfiguration } from "./extensionConfiguration";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface RuntimeExtension {
|
|
6
|
+
configure(extensionConfiguration: SSOExtensionConfiguration): void;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
export interface RuntimeExtensionsConfig {
|
|
12
|
+
extensions: RuntimeExtension[];
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
17
|
+
export declare const resolveRuntimeExtensions: (runtimeConfig: any, extensions: RuntimeExtension[]) => any;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
2
|
+
import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
3
|
+
export declare var SSOServiceException$: StaticErrorSchema;
|
|
4
|
+
export declare var InvalidRequestException$: StaticErrorSchema;
|
|
5
|
+
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
6
|
+
export declare var TooManyRequestsException$: StaticErrorSchema;
|
|
7
|
+
export declare var UnauthorizedException$: StaticErrorSchema;
|
|
8
|
+
/**
|
|
9
|
+
* TypeRegistry instances containing modeled errors.
|
|
10
|
+
* @internal
|
|
11
|
+
*
|
|
12
|
+
*/
|
|
13
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
14
|
+
export declare var GetRoleCredentialsRequest$: StaticStructureSchema;
|
|
15
|
+
export declare var GetRoleCredentialsResponse$: StaticStructureSchema;
|
|
16
|
+
export declare var RoleCredentials$: StaticStructureSchema;
|
|
17
|
+
export declare var GetRoleCredentials$: StaticOperationSchema;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import type { AwsCredentialIdentity, AwsCredentialIdentityProvider } from "@smithy/types";
|
|
2
|
+
import { type HttpAuthScheme } from "@smithy/types";
|
|
2
3
|
import type { SSOOIDCHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
3
4
|
/**
|
|
4
5
|
* @internal
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { RuleSetObject } from "@smithy/types";
|
|
1
|
+
import type { RuleSetObject } from "@smithy/types";
|
|
2
2
|
export declare const ruleSet: RuleSetObject;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
-
import { AccessDeniedExceptionReason, InvalidRequestExceptionReason } from "./enums";
|
|
2
|
+
import type { AccessDeniedExceptionReason, InvalidRequestExceptionReason } from "./enums";
|
|
3
3
|
import { SSOOIDCServiceException as __BaseException } from "./SSOOIDCServiceException";
|
|
4
4
|
/**
|
|
5
5
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import type { AwsCredentialIdentity, AwsCredentialIdentityProvider } from "@smithy/types";
|
|
2
|
+
import { type HttpAuthScheme } from "@smithy/types";
|
|
2
3
|
import type { STSHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
3
4
|
/**
|
|
4
5
|
* @internal
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Pluggable } from "@smithy/types";
|
|
2
|
-
import { DefaultCredentialProvider, RoleAssumer, RoleAssumerWithWebIdentity, STSRoleAssumerOptions } from "./defaultStsRoleAssumers";
|
|
3
|
-
import { ServiceInputTypes, ServiceOutputTypes } from "./STSClient";
|
|
1
|
+
import type { Pluggable } from "@smithy/types";
|
|
2
|
+
import type { DefaultCredentialProvider, RoleAssumer, RoleAssumerWithWebIdentity, STSRoleAssumerOptions } from "./defaultStsRoleAssumers";
|
|
3
|
+
import type { ServiceInputTypes, ServiceOutputTypes } from "./STSClient";
|
|
4
4
|
/**
|
|
5
5
|
* The default role assumer that used by credential providers when sts:AssumeRole API is needed.
|
|
6
6
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { CredentialProviderOptions } from "@aws-sdk/types";
|
|
2
|
-
import { AwsCredentialIdentity, Logger, Provider } from "@smithy/types";
|
|
3
|
-
import { AssumeRoleCommandInput } from "./commands/AssumeRoleCommand";
|
|
4
|
-
import { AssumeRoleWithWebIdentityCommandInput } from "./commands/AssumeRoleWithWebIdentityCommand";
|
|
2
|
+
import type { AwsCredentialIdentity, Logger, Provider } from "@smithy/types";
|
|
3
|
+
import type { AssumeRoleCommandInput } from "./commands/AssumeRoleCommand";
|
|
4
|
+
import type { AssumeRoleWithWebIdentityCommandInput } from "./commands/AssumeRoleWithWebIdentityCommand";
|
|
5
5
|
import type { STSClient, STSClientConfig } from "./STSClient";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { RuleSetObject } from "@smithy/types";
|
|
1
|
+
import type { RuleSetObject } from "@smithy/types";
|
|
2
2
|
export declare const ruleSet: RuleSetObject;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
|
+
import { CognitoIdentityClient } from "./CognitoIdentityClient";
|
|
3
|
+
import {
|
|
4
|
+
GetCredentialsForIdentityCommandInput,
|
|
5
|
+
GetCredentialsForIdentityCommandOutput,
|
|
6
|
+
} from "./commands/GetCredentialsForIdentityCommand";
|
|
7
|
+
import { GetIdCommandInput, GetIdCommandOutput } from "./commands/GetIdCommand";
|
|
8
|
+
export interface CognitoIdentity {
|
|
9
|
+
getCredentialsForIdentity(
|
|
10
|
+
args: GetCredentialsForIdentityCommandInput,
|
|
11
|
+
options?: __HttpHandlerOptions
|
|
12
|
+
): Promise<GetCredentialsForIdentityCommandOutput>;
|
|
13
|
+
getCredentialsForIdentity(
|
|
14
|
+
args: GetCredentialsForIdentityCommandInput,
|
|
15
|
+
cb: (err: any, data?: GetCredentialsForIdentityCommandOutput) => void
|
|
16
|
+
): void;
|
|
17
|
+
getCredentialsForIdentity(
|
|
18
|
+
args: GetCredentialsForIdentityCommandInput,
|
|
19
|
+
options: __HttpHandlerOptions,
|
|
20
|
+
cb: (err: any, data?: GetCredentialsForIdentityCommandOutput) => void
|
|
21
|
+
): void;
|
|
22
|
+
getId(
|
|
23
|
+
args: GetIdCommandInput,
|
|
24
|
+
options?: __HttpHandlerOptions
|
|
25
|
+
): Promise<GetIdCommandOutput>;
|
|
26
|
+
getId(
|
|
27
|
+
args: GetIdCommandInput,
|
|
28
|
+
cb: (err: any, data?: GetIdCommandOutput) => void
|
|
29
|
+
): void;
|
|
30
|
+
getId(
|
|
31
|
+
args: GetIdCommandInput,
|
|
32
|
+
options: __HttpHandlerOptions,
|
|
33
|
+
cb: (err: any, data?: GetIdCommandOutput) => void
|
|
34
|
+
): void;
|
|
35
|
+
}
|
|
36
|
+
export declare class CognitoIdentity
|
|
37
|
+
extends CognitoIdentityClient
|
|
38
|
+
implements CognitoIdentity {}
|