@aws-sdk/client-sso-oidc 3.1087.0 → 3.1088.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.
- package/dist-cjs/index.js +1 -1
- package/dist-types/ts3.4/SSOOIDC.d.ts +13 -16
- package/dist-types/ts3.4/SSOOIDCClient.d.ts +16 -29
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -15
- package/dist-types/ts3.4/commandBuilder.d.ts +7 -13
- package/dist-types/ts3.4/commands/CreateTokenCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/CreateTokenWithIAMCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/RegisterClientCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/StartDeviceAuthorizationCommand.d.ts +4 -6
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
- package/dist-types/ts3.4/models/errors.d.ts +14 -43
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +13 -30
- package/dist-types/ts3.4/runtimeConfig.d.ts +12 -24
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +13 -30
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +5 -9
- package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -5
- package/package.json +39 -39
package/dist-cjs/index.js
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
CreateTokenCommandInput,
|
|
4
|
-
CreateTokenCommandOutput,
|
|
5
|
-
} from "./commands/CreateTokenCommand";
|
|
2
|
+
import { CreateTokenCommandInput, CreateTokenCommandOutput } from "./commands/CreateTokenCommand";
|
|
6
3
|
import {
|
|
7
4
|
CreateTokenWithIAMCommandInput,
|
|
8
5
|
CreateTokenWithIAMCommandOutput,
|
|
@@ -19,55 +16,55 @@ import { SSOOIDCClient } from "./SSOOIDCClient";
|
|
|
19
16
|
export interface SSOOIDC {
|
|
20
17
|
createToken(
|
|
21
18
|
args: CreateTokenCommandInput,
|
|
22
|
-
options?: __HttpHandlerOptions
|
|
19
|
+
options?: __HttpHandlerOptions,
|
|
23
20
|
): Promise<CreateTokenCommandOutput>;
|
|
24
21
|
createToken(
|
|
25
22
|
args: CreateTokenCommandInput,
|
|
26
|
-
cb: (err: any, data?: CreateTokenCommandOutput) => void
|
|
23
|
+
cb: (err: any, data?: CreateTokenCommandOutput) => void,
|
|
27
24
|
): void;
|
|
28
25
|
createToken(
|
|
29
26
|
args: CreateTokenCommandInput,
|
|
30
27
|
options: __HttpHandlerOptions,
|
|
31
|
-
cb: (err: any, data?: CreateTokenCommandOutput) => void
|
|
28
|
+
cb: (err: any, data?: CreateTokenCommandOutput) => void,
|
|
32
29
|
): void;
|
|
33
30
|
createTokenWithIAM(
|
|
34
31
|
args: CreateTokenWithIAMCommandInput,
|
|
35
|
-
options?: __HttpHandlerOptions
|
|
32
|
+
options?: __HttpHandlerOptions,
|
|
36
33
|
): Promise<CreateTokenWithIAMCommandOutput>;
|
|
37
34
|
createTokenWithIAM(
|
|
38
35
|
args: CreateTokenWithIAMCommandInput,
|
|
39
|
-
cb: (err: any, data?: CreateTokenWithIAMCommandOutput) => void
|
|
36
|
+
cb: (err: any, data?: CreateTokenWithIAMCommandOutput) => void,
|
|
40
37
|
): void;
|
|
41
38
|
createTokenWithIAM(
|
|
42
39
|
args: CreateTokenWithIAMCommandInput,
|
|
43
40
|
options: __HttpHandlerOptions,
|
|
44
|
-
cb: (err: any, data?: CreateTokenWithIAMCommandOutput) => void
|
|
41
|
+
cb: (err: any, data?: CreateTokenWithIAMCommandOutput) => void,
|
|
45
42
|
): void;
|
|
46
43
|
registerClient(
|
|
47
44
|
args: RegisterClientCommandInput,
|
|
48
|
-
options?: __HttpHandlerOptions
|
|
45
|
+
options?: __HttpHandlerOptions,
|
|
49
46
|
): Promise<RegisterClientCommandOutput>;
|
|
50
47
|
registerClient(
|
|
51
48
|
args: RegisterClientCommandInput,
|
|
52
|
-
cb: (err: any, data?: RegisterClientCommandOutput) => void
|
|
49
|
+
cb: (err: any, data?: RegisterClientCommandOutput) => void,
|
|
53
50
|
): void;
|
|
54
51
|
registerClient(
|
|
55
52
|
args: RegisterClientCommandInput,
|
|
56
53
|
options: __HttpHandlerOptions,
|
|
57
|
-
cb: (err: any, data?: RegisterClientCommandOutput) => void
|
|
54
|
+
cb: (err: any, data?: RegisterClientCommandOutput) => void,
|
|
58
55
|
): void;
|
|
59
56
|
startDeviceAuthorization(
|
|
60
57
|
args: StartDeviceAuthorizationCommandInput,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
58
|
+
options?: __HttpHandlerOptions,
|
|
62
59
|
): Promise<StartDeviceAuthorizationCommandOutput>;
|
|
63
60
|
startDeviceAuthorization(
|
|
64
61
|
args: StartDeviceAuthorizationCommandInput,
|
|
65
|
-
cb: (err: any, data?: StartDeviceAuthorizationCommandOutput) => void
|
|
62
|
+
cb: (err: any, data?: StartDeviceAuthorizationCommandOutput) => void,
|
|
66
63
|
): void;
|
|
67
64
|
startDeviceAuthorization(
|
|
68
65
|
args: StartDeviceAuthorizationCommandInput,
|
|
69
66
|
options: __HttpHandlerOptions,
|
|
70
|
-
cb: (err: any, data?: StartDeviceAuthorizationCommandOutput) => void
|
|
67
|
+
cb: (err: any, data?: StartDeviceAuthorizationCommandOutput) => void,
|
|
71
68
|
): void;
|
|
72
69
|
}
|
|
73
70
|
export declare class SSOOIDC extends SSOOIDCClient implements SSOOIDC {}
|
|
@@ -11,10 +11,7 @@ import {
|
|
|
11
11
|
Client as __Client,
|
|
12
12
|
} from "@smithy/core/client";
|
|
13
13
|
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config";
|
|
14
|
-
import {
|
|
15
|
-
EndpointInputConfig,
|
|
16
|
-
EndpointResolvedConfig,
|
|
17
|
-
} from "@smithy/core/endpoints";
|
|
14
|
+
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/core/endpoints";
|
|
18
15
|
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
|
|
19
16
|
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry";
|
|
20
17
|
import {
|
|
@@ -36,10 +33,7 @@ import {
|
|
|
36
33
|
HttpAuthSchemeInputConfig,
|
|
37
34
|
HttpAuthSchemeResolvedConfig,
|
|
38
35
|
} from "./auth/httpAuthSchemeProvider";
|
|
39
|
-
import {
|
|
40
|
-
CreateTokenCommandInput,
|
|
41
|
-
CreateTokenCommandOutput,
|
|
42
|
-
} from "./commands/CreateTokenCommand";
|
|
36
|
+
import { CreateTokenCommandInput, CreateTokenCommandOutput } from "./commands/CreateTokenCommand";
|
|
43
37
|
import {
|
|
44
38
|
CreateTokenWithIAMCommandInput,
|
|
45
39
|
CreateTokenWithIAMCommandOutput,
|
|
@@ -69,8 +63,7 @@ export type ServiceOutputTypes =
|
|
|
69
63
|
| CreateTokenWithIAMCommandOutput
|
|
70
64
|
| RegisterClientCommandOutput
|
|
71
65
|
| StartDeviceAuthorizationCommandOutput;
|
|
72
|
-
export interface ClientDefaults
|
|
73
|
-
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
66
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
74
67
|
requestHandler?: __HttpHandlerUserInput;
|
|
75
68
|
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
76
69
|
urlParser?: __UrlParser;
|
|
@@ -95,9 +88,7 @@ export interface ClientDefaults
|
|
|
95
88
|
extensions?: RuntimeExtension[];
|
|
96
89
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
97
90
|
}
|
|
98
|
-
export type SSOOIDCClientConfigType = Partial<
|
|
99
|
-
__SmithyConfiguration<__HttpHandlerOptions>
|
|
100
|
-
> &
|
|
91
|
+
export type SSOOIDCClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
|
|
101
92
|
ClientDefaults &
|
|
102
93
|
UserAgentInputConfig &
|
|
103
94
|
RetryInputConfig &
|
|
@@ -107,19 +98,17 @@ export type SSOOIDCClientConfigType = Partial<
|
|
|
107
98
|
HttpAuthSchemeInputConfig &
|
|
108
99
|
ClientInputEndpointParameters;
|
|
109
100
|
export interface SSOOIDCClientConfig extends SSOOIDCClientConfigType {}
|
|
110
|
-
export type SSOOIDCClientResolvedConfigType =
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
export interface SSOOIDCClientResolvedConfig
|
|
122
|
-
extends SSOOIDCClientResolvedConfigType {}
|
|
101
|
+
export type SSOOIDCClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
102
|
+
Required<ClientDefaults> &
|
|
103
|
+
RuntimeExtensionsConfig &
|
|
104
|
+
UserAgentResolvedConfig &
|
|
105
|
+
RetryResolvedConfig &
|
|
106
|
+
RegionResolvedConfig &
|
|
107
|
+
HostHeaderResolvedConfig &
|
|
108
|
+
EndpointResolvedConfig<EndpointParameters> &
|
|
109
|
+
HttpAuthSchemeResolvedConfig &
|
|
110
|
+
ClientResolvedEndpointParameters;
|
|
111
|
+
export interface SSOOIDCClientResolvedConfig extends SSOOIDCClientResolvedConfigType {}
|
|
123
112
|
export declare class SSOOIDCClient extends __Client<
|
|
124
113
|
__HttpHandlerOptions,
|
|
125
114
|
ServiceInputTypes,
|
|
@@ -127,8 +116,6 @@ export declare class SSOOIDCClient extends __Client<
|
|
|
127
116
|
SSOOIDCClientResolvedConfig
|
|
128
117
|
> {
|
|
129
118
|
readonly config: SSOOIDCClientResolvedConfig;
|
|
130
|
-
constructor(
|
|
131
|
-
...[configuration]: __CheckOptionalClientConfig<SSOOIDCClientConfig>
|
|
132
|
-
);
|
|
119
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<SSOOIDCClientConfig>);
|
|
133
120
|
destroy(): void;
|
|
134
121
|
}
|
|
@@ -7,17 +7,10 @@ import { SSOOIDCHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
|
7
7
|
export interface HttpAuthExtensionConfiguration {
|
|
8
8
|
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
9
9
|
httpAuthSchemes(): HttpAuthScheme[];
|
|
10
|
-
setHttpAuthSchemeProvider(
|
|
11
|
-
httpAuthSchemeProvider: SSOOIDCHttpAuthSchemeProvider
|
|
12
|
-
): void;
|
|
10
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider: SSOOIDCHttpAuthSchemeProvider): void;
|
|
13
11
|
httpAuthSchemeProvider(): SSOOIDCHttpAuthSchemeProvider;
|
|
14
|
-
setCredentials(
|
|
15
|
-
|
|
16
|
-
): void;
|
|
17
|
-
credentials():
|
|
18
|
-
| AwsCredentialIdentity
|
|
19
|
-
| AwsCredentialIdentityProvider
|
|
20
|
-
| undefined;
|
|
12
|
+
setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
|
|
13
|
+
credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
|
|
21
14
|
}
|
|
22
15
|
export type HttpAuthRuntimeConfig = Partial<{
|
|
23
16
|
httpAuthSchemes: HttpAuthScheme[];
|
|
@@ -25,8 +18,8 @@ export type HttpAuthRuntimeConfig = Partial<{
|
|
|
25
18
|
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
26
19
|
}>;
|
|
27
20
|
export declare const getHttpAuthExtensionConfiguration: (
|
|
28
|
-
runtimeConfig: HttpAuthRuntimeConfig
|
|
21
|
+
runtimeConfig: HttpAuthRuntimeConfig,
|
|
29
22
|
) => HttpAuthExtensionConfiguration;
|
|
30
23
|
export declare const resolveHttpAuthRuntimeConfig: (
|
|
31
|
-
config: HttpAuthExtensionConfiguration
|
|
24
|
+
config: HttpAuthExtensionConfiguration,
|
|
32
25
|
) => HttpAuthRuntimeConfig;
|
|
@@ -12,36 +12,32 @@ import {
|
|
|
12
12
|
Provider,
|
|
13
13
|
} from "@smithy/types";
|
|
14
14
|
import { SSOOIDCClientResolvedConfig } from "../SSOOIDCClient";
|
|
15
|
-
export interface SSOOIDCHttpAuthSchemeParameters
|
|
16
|
-
extends HttpAuthSchemeParameters {
|
|
15
|
+
export interface SSOOIDCHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
17
16
|
region?: string;
|
|
18
17
|
}
|
|
19
|
-
export interface SSOOIDCHttpAuthSchemeParametersProvider
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
> {}
|
|
18
|
+
export interface SSOOIDCHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<
|
|
19
|
+
SSOOIDCClientResolvedConfig,
|
|
20
|
+
HandlerExecutionContext,
|
|
21
|
+
SSOOIDCHttpAuthSchemeParameters,
|
|
22
|
+
object
|
|
23
|
+
> {}
|
|
26
24
|
export declare const defaultSSOOIDCHttpAuthSchemeParametersProvider: (
|
|
27
25
|
config: SSOOIDCClientResolvedConfig,
|
|
28
26
|
context: HandlerExecutionContext,
|
|
29
|
-
input: object
|
|
27
|
+
input: object,
|
|
30
28
|
) => Promise<SSOOIDCHttpAuthSchemeParameters>;
|
|
31
|
-
export interface SSOOIDCHttpAuthSchemeProvider
|
|
32
|
-
extends HttpAuthSchemeProvider<SSOOIDCHttpAuthSchemeParameters> {}
|
|
29
|
+
export interface SSOOIDCHttpAuthSchemeProvider extends HttpAuthSchemeProvider<SSOOIDCHttpAuthSchemeParameters> {}
|
|
33
30
|
export declare const defaultSSOOIDCHttpAuthSchemeProvider: SSOOIDCHttpAuthSchemeProvider;
|
|
34
31
|
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
35
32
|
authSchemePreference?: string[] | Provider<string[]>;
|
|
36
33
|
httpAuthSchemes?: HttpAuthScheme[];
|
|
37
34
|
httpAuthSchemeProvider?: SSOOIDCHttpAuthSchemeProvider;
|
|
38
35
|
}
|
|
39
|
-
export interface HttpAuthSchemeResolvedConfig
|
|
40
|
-
extends AwsSdkSigV4AuthResolvedConfig {
|
|
36
|
+
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
41
37
|
readonly authSchemePreference: Provider<string[]>;
|
|
42
38
|
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
43
39
|
readonly httpAuthSchemeProvider: SSOOIDCHttpAuthSchemeProvider;
|
|
44
40
|
}
|
|
45
41
|
export declare const resolveHttpAuthSchemeConfig: <T>(
|
|
46
|
-
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
|
|
42
|
+
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved,
|
|
47
43
|
) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -4,22 +4,21 @@ import {
|
|
|
4
4
|
ServiceOutputTypes,
|
|
5
5
|
SSOOIDCClientResolvedConfig,
|
|
6
6
|
} from "./SSOOIDCClient";
|
|
7
|
-
export declare const command: <
|
|
8
|
-
I extends ServiceInputTypes,
|
|
9
|
-
O extends ServiceOutputTypes
|
|
10
|
-
>(
|
|
7
|
+
export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(
|
|
11
8
|
added: EndpointParameterInstructions,
|
|
12
9
|
plugins: (
|
|
13
10
|
CommandCtor: any,
|
|
14
11
|
clientStack: any,
|
|
15
12
|
config: any,
|
|
16
|
-
options: any
|
|
13
|
+
options: any,
|
|
17
14
|
) => import("@smithy/types").Pluggable<any, any>[],
|
|
18
15
|
op: string,
|
|
19
16
|
$: import("@smithy/types").StaticOperationSchema,
|
|
20
|
-
smithyContext?: Record<string, unknown
|
|
17
|
+
smithyContext?: Record<string, unknown>,
|
|
21
18
|
) => {
|
|
22
|
-
new (
|
|
19
|
+
new (
|
|
20
|
+
input: I,
|
|
21
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
22
|
I,
|
|
24
23
|
O,
|
|
25
24
|
SSOOIDCClientResolvedConfig,
|
|
@@ -38,9 +37,4 @@ export declare const command: <
|
|
|
38
37
|
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
39
38
|
};
|
|
40
39
|
export declare const _ep0: EndpointParameterInstructions;
|
|
41
|
-
export declare const _mw0: (
|
|
42
|
-
Command: any,
|
|
43
|
-
cs: any,
|
|
44
|
-
config: any,
|
|
45
|
-
o: any
|
|
46
|
-
) => never[];
|
|
40
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|
|
@@ -2,12 +2,10 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
|
2
2
|
import { CreateTokenRequest, CreateTokenResponse } from "../models/models_0";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface CreateTokenCommandInput extends CreateTokenRequest {}
|
|
5
|
-
export interface CreateTokenCommandOutput
|
|
6
|
-
extends CreateTokenResponse,
|
|
7
|
-
__MetadataBearer {}
|
|
5
|
+
export interface CreateTokenCommandOutput extends CreateTokenResponse, __MetadataBearer {}
|
|
8
6
|
declare const CreateTokenCommand_base: {
|
|
9
7
|
new (
|
|
10
|
-
input: CreateTokenCommandInput
|
|
8
|
+
input: CreateTokenCommandInput,
|
|
11
9
|
): import("@smithy/core/client").CommandImpl<
|
|
12
10
|
CreateTokenCommandInput,
|
|
13
11
|
CreateTokenCommandOutput,
|
|
@@ -16,7 +14,7 @@ declare const CreateTokenCommand_base: {
|
|
|
16
14
|
import("..").ServiceOutputTypes
|
|
17
15
|
>;
|
|
18
16
|
new (
|
|
19
|
-
input: CreateTokenCommandInput
|
|
17
|
+
input: CreateTokenCommandInput,
|
|
20
18
|
): import("@smithy/core/client").CommandImpl<
|
|
21
19
|
CreateTokenCommandInput,
|
|
22
20
|
CreateTokenCommandOutput,
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
CreateTokenWithIAMRequest,
|
|
4
|
-
CreateTokenWithIAMResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { CreateTokenWithIAMRequest, CreateTokenWithIAMResponse } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
|
-
export interface CreateTokenWithIAMCommandInput
|
|
8
|
-
extends CreateTokenWithIAMRequest {}
|
|
4
|
+
export interface CreateTokenWithIAMCommandInput extends CreateTokenWithIAMRequest {}
|
|
9
5
|
export interface CreateTokenWithIAMCommandOutput
|
|
10
|
-
extends CreateTokenWithIAMResponse,
|
|
11
|
-
__MetadataBearer {}
|
|
6
|
+
extends CreateTokenWithIAMResponse, __MetadataBearer {}
|
|
12
7
|
declare const CreateTokenWithIAMCommand_base: {
|
|
13
8
|
new (
|
|
14
|
-
input: CreateTokenWithIAMCommandInput
|
|
9
|
+
input: CreateTokenWithIAMCommandInput,
|
|
15
10
|
): import("@smithy/core/client").CommandImpl<
|
|
16
11
|
CreateTokenWithIAMCommandInput,
|
|
17
12
|
CreateTokenWithIAMCommandOutput,
|
|
@@ -20,7 +15,7 @@ declare const CreateTokenWithIAMCommand_base: {
|
|
|
20
15
|
import("..").ServiceOutputTypes
|
|
21
16
|
>;
|
|
22
17
|
new (
|
|
23
|
-
input: CreateTokenWithIAMCommandInput
|
|
18
|
+
input: CreateTokenWithIAMCommandInput,
|
|
24
19
|
): import("@smithy/core/client").CommandImpl<
|
|
25
20
|
CreateTokenWithIAMCommandInput,
|
|
26
21
|
CreateTokenWithIAMCommandOutput,
|
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
RegisterClientRequest,
|
|
4
|
-
RegisterClientResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { RegisterClientRequest, RegisterClientResponse } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
4
|
export interface RegisterClientCommandInput extends RegisterClientRequest {}
|
|
8
|
-
export interface RegisterClientCommandOutput
|
|
9
|
-
extends RegisterClientResponse,
|
|
10
|
-
__MetadataBearer {}
|
|
5
|
+
export interface RegisterClientCommandOutput extends RegisterClientResponse, __MetadataBearer {}
|
|
11
6
|
declare const RegisterClientCommand_base: {
|
|
12
7
|
new (
|
|
13
|
-
input: RegisterClientCommandInput
|
|
8
|
+
input: RegisterClientCommandInput,
|
|
14
9
|
): import("@smithy/core/client").CommandImpl<
|
|
15
10
|
RegisterClientCommandInput,
|
|
16
11
|
RegisterClientCommandOutput,
|
|
@@ -19,7 +14,7 @@ declare const RegisterClientCommand_base: {
|
|
|
19
14
|
import("..").ServiceOutputTypes
|
|
20
15
|
>;
|
|
21
16
|
new (
|
|
22
|
-
input: RegisterClientCommandInput
|
|
17
|
+
input: RegisterClientCommandInput,
|
|
23
18
|
): import("@smithy/core/client").CommandImpl<
|
|
24
19
|
RegisterClientCommandInput,
|
|
25
20
|
RegisterClientCommandOutput,
|
|
@@ -4,14 +4,12 @@ import {
|
|
|
4
4
|
StartDeviceAuthorizationResponse,
|
|
5
5
|
} from "../models/models_0";
|
|
6
6
|
export { __MetadataBearer };
|
|
7
|
-
export interface StartDeviceAuthorizationCommandInput
|
|
8
|
-
extends StartDeviceAuthorizationRequest {}
|
|
7
|
+
export interface StartDeviceAuthorizationCommandInput extends StartDeviceAuthorizationRequest {}
|
|
9
8
|
export interface StartDeviceAuthorizationCommandOutput
|
|
10
|
-
extends StartDeviceAuthorizationResponse,
|
|
11
|
-
__MetadataBearer {}
|
|
9
|
+
extends StartDeviceAuthorizationResponse, __MetadataBearer {}
|
|
12
10
|
declare const StartDeviceAuthorizationCommand_base: {
|
|
13
11
|
new (
|
|
14
|
-
input: StartDeviceAuthorizationCommandInput
|
|
12
|
+
input: StartDeviceAuthorizationCommandInput,
|
|
15
13
|
): import("@smithy/core/client").CommandImpl<
|
|
16
14
|
StartDeviceAuthorizationCommandInput,
|
|
17
15
|
StartDeviceAuthorizationCommandOutput,
|
|
@@ -20,7 +18,7 @@ declare const StartDeviceAuthorizationCommand_base: {
|
|
|
20
18
|
import("..").ServiceOutputTypes
|
|
21
19
|
>;
|
|
22
20
|
new (
|
|
23
|
-
input: StartDeviceAuthorizationCommandInput
|
|
21
|
+
input: StartDeviceAuthorizationCommandInput,
|
|
24
22
|
): import("@smithy/core/client").CommandImpl<
|
|
25
23
|
StartDeviceAuthorizationCommandInput,
|
|
26
24
|
StartDeviceAuthorizationCommandOutput,
|
|
@@ -23,7 +23,7 @@ export type ClientResolvedEndpointParameters = Pick<
|
|
|
23
23
|
defaultSigningName: string;
|
|
24
24
|
};
|
|
25
25
|
export declare const resolveClientEndpointParameters: <T>(
|
|
26
|
-
options: T & ClientInputEndpointParameters
|
|
26
|
+
options: T & ClientInputEndpointParameters,
|
|
27
27
|
) => T & ClientResolvedEndpointParameters;
|
|
28
28
|
export declare const commonParams: {
|
|
29
29
|
readonly UseFIPS: {
|
|
@@ -3,7 +3,8 @@ import { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
|
|
|
3
3
|
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
4
|
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
5
|
export interface SSOOIDCExtensionConfiguration
|
|
6
|
-
extends
|
|
6
|
+
extends
|
|
7
|
+
HttpHandlerExtensionConfiguration,
|
|
7
8
|
DefaultExtensionConfiguration,
|
|
8
9
|
AwsRegionExtensionConfiguration,
|
|
9
10
|
HttpAuthExtensionConfiguration {}
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
|
|
2
|
-
import {
|
|
3
|
-
AccessDeniedExceptionReason,
|
|
4
|
-
InvalidRequestExceptionReason,
|
|
5
|
-
} from "./enums";
|
|
2
|
+
import { AccessDeniedExceptionReason, InvalidRequestExceptionReason } from "./enums";
|
|
6
3
|
import { SSOOIDCServiceException as __BaseException } from "./SSOOIDCServiceException";
|
|
7
4
|
export declare class AccessDeniedException extends __BaseException {
|
|
8
5
|
readonly name: "AccessDeniedException";
|
|
@@ -10,54 +7,42 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
10
7
|
error?: string | undefined;
|
|
11
8
|
reason?: AccessDeniedExceptionReason | undefined;
|
|
12
9
|
error_description?: string | undefined;
|
|
13
|
-
constructor(
|
|
14
|
-
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
15
|
-
);
|
|
10
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
16
11
|
}
|
|
17
12
|
export declare class AuthorizationPendingException extends __BaseException {
|
|
18
13
|
readonly name: "AuthorizationPendingException";
|
|
19
14
|
readonly $fault: "client";
|
|
20
15
|
error?: string | undefined;
|
|
21
16
|
error_description?: string | undefined;
|
|
22
|
-
constructor(
|
|
23
|
-
opts: __ExceptionOptionType<AuthorizationPendingException, __BaseException>
|
|
24
|
-
);
|
|
17
|
+
constructor(opts: __ExceptionOptionType<AuthorizationPendingException, __BaseException>);
|
|
25
18
|
}
|
|
26
19
|
export declare class ExpiredTokenException extends __BaseException {
|
|
27
20
|
readonly name: "ExpiredTokenException";
|
|
28
21
|
readonly $fault: "client";
|
|
29
22
|
error?: string | undefined;
|
|
30
23
|
error_description?: string | undefined;
|
|
31
|
-
constructor(
|
|
32
|
-
opts: __ExceptionOptionType<ExpiredTokenException, __BaseException>
|
|
33
|
-
);
|
|
24
|
+
constructor(opts: __ExceptionOptionType<ExpiredTokenException, __BaseException>);
|
|
34
25
|
}
|
|
35
26
|
export declare class InternalServerException extends __BaseException {
|
|
36
27
|
readonly name: "InternalServerException";
|
|
37
28
|
readonly $fault: "server";
|
|
38
29
|
error?: string | undefined;
|
|
39
30
|
error_description?: string | undefined;
|
|
40
|
-
constructor(
|
|
41
|
-
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
42
|
-
);
|
|
31
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
43
32
|
}
|
|
44
33
|
export declare class InvalidClientException extends __BaseException {
|
|
45
34
|
readonly name: "InvalidClientException";
|
|
46
35
|
readonly $fault: "client";
|
|
47
36
|
error?: string | undefined;
|
|
48
37
|
error_description?: string | undefined;
|
|
49
|
-
constructor(
|
|
50
|
-
opts: __ExceptionOptionType<InvalidClientException, __BaseException>
|
|
51
|
-
);
|
|
38
|
+
constructor(opts: __ExceptionOptionType<InvalidClientException, __BaseException>);
|
|
52
39
|
}
|
|
53
40
|
export declare class InvalidGrantException extends __BaseException {
|
|
54
41
|
readonly name: "InvalidGrantException";
|
|
55
42
|
readonly $fault: "client";
|
|
56
43
|
error?: string | undefined;
|
|
57
44
|
error_description?: string | undefined;
|
|
58
|
-
constructor(
|
|
59
|
-
opts: __ExceptionOptionType<InvalidGrantException, __BaseException>
|
|
60
|
-
);
|
|
45
|
+
constructor(opts: __ExceptionOptionType<InvalidGrantException, __BaseException>);
|
|
61
46
|
}
|
|
62
47
|
export declare class InvalidRequestException extends __BaseException {
|
|
63
48
|
readonly name: "InvalidRequestException";
|
|
@@ -65,18 +50,14 @@ export declare class InvalidRequestException extends __BaseException {
|
|
|
65
50
|
error?: string | undefined;
|
|
66
51
|
reason?: InvalidRequestExceptionReason | undefined;
|
|
67
52
|
error_description?: string | undefined;
|
|
68
|
-
constructor(
|
|
69
|
-
opts: __ExceptionOptionType<InvalidRequestException, __BaseException>
|
|
70
|
-
);
|
|
53
|
+
constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
|
|
71
54
|
}
|
|
72
55
|
export declare class InvalidScopeException extends __BaseException {
|
|
73
56
|
readonly name: "InvalidScopeException";
|
|
74
57
|
readonly $fault: "client";
|
|
75
58
|
error?: string | undefined;
|
|
76
59
|
error_description?: string | undefined;
|
|
77
|
-
constructor(
|
|
78
|
-
opts: __ExceptionOptionType<InvalidScopeException, __BaseException>
|
|
79
|
-
);
|
|
60
|
+
constructor(opts: __ExceptionOptionType<InvalidScopeException, __BaseException>);
|
|
80
61
|
}
|
|
81
62
|
export declare class SlowDownException extends __BaseException {
|
|
82
63
|
readonly name: "SlowDownException";
|
|
@@ -90,18 +71,14 @@ export declare class UnauthorizedClientException extends __BaseException {
|
|
|
90
71
|
readonly $fault: "client";
|
|
91
72
|
error?: string | undefined;
|
|
92
73
|
error_description?: string | undefined;
|
|
93
|
-
constructor(
|
|
94
|
-
opts: __ExceptionOptionType<UnauthorizedClientException, __BaseException>
|
|
95
|
-
);
|
|
74
|
+
constructor(opts: __ExceptionOptionType<UnauthorizedClientException, __BaseException>);
|
|
96
75
|
}
|
|
97
76
|
export declare class UnsupportedGrantTypeException extends __BaseException {
|
|
98
77
|
readonly name: "UnsupportedGrantTypeException";
|
|
99
78
|
readonly $fault: "client";
|
|
100
79
|
error?: string | undefined;
|
|
101
80
|
error_description?: string | undefined;
|
|
102
|
-
constructor(
|
|
103
|
-
opts: __ExceptionOptionType<UnsupportedGrantTypeException, __BaseException>
|
|
104
|
-
);
|
|
81
|
+
constructor(opts: __ExceptionOptionType<UnsupportedGrantTypeException, __BaseException>);
|
|
105
82
|
}
|
|
106
83
|
export declare class InvalidRequestRegionException extends __BaseException {
|
|
107
84
|
readonly name: "InvalidRequestRegionException";
|
|
@@ -110,25 +87,19 @@ export declare class InvalidRequestRegionException extends __BaseException {
|
|
|
110
87
|
error_description?: string | undefined;
|
|
111
88
|
endpoint?: string | undefined;
|
|
112
89
|
region?: string | undefined;
|
|
113
|
-
constructor(
|
|
114
|
-
opts: __ExceptionOptionType<InvalidRequestRegionException, __BaseException>
|
|
115
|
-
);
|
|
90
|
+
constructor(opts: __ExceptionOptionType<InvalidRequestRegionException, __BaseException>);
|
|
116
91
|
}
|
|
117
92
|
export declare class InvalidClientMetadataException extends __BaseException {
|
|
118
93
|
readonly name: "InvalidClientMetadataException";
|
|
119
94
|
readonly $fault: "client";
|
|
120
95
|
error?: string | undefined;
|
|
121
96
|
error_description?: string | undefined;
|
|
122
|
-
constructor(
|
|
123
|
-
opts: __ExceptionOptionType<InvalidClientMetadataException, __BaseException>
|
|
124
|
-
);
|
|
97
|
+
constructor(opts: __ExceptionOptionType<InvalidClientMetadataException, __BaseException>);
|
|
125
98
|
}
|
|
126
99
|
export declare class InvalidRedirectUriException extends __BaseException {
|
|
127
100
|
readonly name: "InvalidRedirectUriException";
|
|
128
101
|
readonly $fault: "client";
|
|
129
102
|
error?: string | undefined;
|
|
130
103
|
error_description?: string | undefined;
|
|
131
|
-
constructor(
|
|
132
|
-
opts: __ExceptionOptionType<InvalidRedirectUriException, __BaseException>
|
|
133
|
-
);
|
|
104
|
+
constructor(opts: __ExceptionOptionType<InvalidRedirectUriException, __BaseException>);
|
|
134
105
|
}
|
|
@@ -8,24 +8,16 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
9
|
credentialDefaultProvider:
|
|
10
10
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
-
| ((
|
|
12
|
-
_: unknown
|
|
13
|
-
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
14
12
|
defaultUserAgentProvider: (
|
|
15
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
13
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
16
14
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
17
15
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
18
16
|
region: string | import("@smithy/types").Provider<any>;
|
|
19
|
-
requestHandler:
|
|
20
|
-
| import("@smithy/core/protocols").HttpHandler<any>
|
|
21
|
-
| RequestHandler;
|
|
17
|
+
requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
|
|
22
18
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
23
19
|
streamCollector: (
|
|
24
|
-
stream:
|
|
25
|
-
| import("stream").Readable
|
|
26
|
-
| import("stream/web").ReadableStream
|
|
27
|
-
| ReadableStream
|
|
28
|
-
| Blob
|
|
20
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
29
21
|
) => Promise<Uint8Array>;
|
|
30
22
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
31
23
|
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
@@ -53,13 +45,8 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
53
45
|
logger: import("@smithy/types").Logger;
|
|
54
46
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
55
47
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
56
|
-
userAgentAppId?:
|
|
57
|
-
|
|
58
|
-
| undefined
|
|
59
|
-
| import("@smithy/types").Provider<string | undefined>;
|
|
60
|
-
retryStrategy?:
|
|
61
|
-
| import("@smithy/types").RetryStrategy
|
|
62
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
48
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
49
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
63
50
|
endpoint?:
|
|
64
51
|
| ((
|
|
65
52
|
| string
|
|
@@ -81,7 +68,7 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
81
68
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
82
69
|
context?: {
|
|
83
70
|
logger?: import("@smithy/types").Logger;
|
|
84
|
-
}
|
|
71
|
+
},
|
|
85
72
|
) => import("@smithy/types").EndpointV2;
|
|
86
73
|
tls?: boolean;
|
|
87
74
|
serviceConfiguredEndpoint?: never;
|
|
@@ -92,22 +79,18 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
92
79
|
| {
|
|
93
80
|
schemeId: string;
|
|
94
81
|
identityProvider: (
|
|
95
|
-
ipc: import("@smithy/types").IdentityProviderConfig
|
|
82
|
+
ipc: import("@smithy/types").IdentityProviderConfig,
|
|
96
83
|
) =>
|
|
97
|
-
| import("@smithy/types").IdentityProvider<
|
|
98
|
-
import("@smithy/types").Identity
|
|
99
|
-
>
|
|
84
|
+
| import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>
|
|
100
85
|
| undefined;
|
|
101
86
|
signer: import("@aws-sdk/core/httpAuthSchemes").AwsSdkSigV4Signer;
|
|
102
87
|
}
|
|
103
88
|
| {
|
|
104
89
|
schemeId: string;
|
|
105
90
|
identityProvider: (
|
|
106
|
-
ipc: import("@smithy/types").IdentityProviderConfig
|
|
91
|
+
ipc: import("@smithy/types").IdentityProviderConfig,
|
|
107
92
|
) =>
|
|
108
|
-
| import("@smithy/types").IdentityProvider<
|
|
109
|
-
import("@smithy/types").Identity
|
|
110
|
-
>
|
|
93
|
+
| import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>
|
|
111
94
|
| (() => Promise<{}>);
|
|
112
95
|
signer: import("@smithy/core").NoAuthSigner;
|
|
113
96
|
}
|
|
@@ -119,13 +102,13 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
119
102
|
signer?:
|
|
120
103
|
| import("@smithy/types").RequestSigner
|
|
121
104
|
| ((
|
|
122
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
105
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
123
106
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
124
107
|
signingEscapePath?: boolean;
|
|
125
108
|
systemClockOffset?: number;
|
|
126
109
|
signingRegion?: string;
|
|
127
110
|
signerConstructor?: new (
|
|
128
111
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
129
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
112
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
130
113
|
) => import("@smithy/types").RequestSigner;
|
|
131
114
|
};
|
|
@@ -10,23 +10,17 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
10
10
|
credentialDefaultProvider:
|
|
11
11
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
12
12
|
| ((
|
|
13
|
-
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
13
|
+
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
|
|
14
14
|
) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
|
|
15
15
|
defaultUserAgentProvider: (
|
|
16
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
16
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
17
17
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
18
18
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
19
19
|
region: string | import("@smithy/types").Provider<string>;
|
|
20
|
-
requestHandler:
|
|
21
|
-
| RequestHandler
|
|
22
|
-
| import("@smithy/core/protocols").HttpHandler<any>;
|
|
20
|
+
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
23
21
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
24
22
|
streamCollector: (
|
|
25
|
-
stream:
|
|
26
|
-
| import("stream").Readable
|
|
27
|
-
| import("stream/web").ReadableStream
|
|
28
|
-
| ReadableStream
|
|
29
|
-
| Blob
|
|
23
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
30
24
|
) => Promise<Uint8Array>;
|
|
31
25
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
32
26
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
@@ -53,9 +47,7 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
53
47
|
logger: import("@smithy/types").Logger;
|
|
54
48
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
55
49
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
56
|
-
retryStrategy?:
|
|
57
|
-
| import("@smithy/types").RetryStrategy
|
|
58
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
50
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
59
51
|
endpoint?:
|
|
60
52
|
| ((
|
|
61
53
|
| string
|
|
@@ -77,7 +69,7 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
77
69
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
78
70
|
context?: {
|
|
79
71
|
logger?: import("@smithy/types").Logger;
|
|
80
|
-
}
|
|
72
|
+
},
|
|
81
73
|
) => import("@smithy/types").EndpointV2;
|
|
82
74
|
tls?: boolean;
|
|
83
75
|
serviceConfiguredEndpoint?: never;
|
|
@@ -87,22 +79,18 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
87
79
|
| {
|
|
88
80
|
schemeId: string;
|
|
89
81
|
identityProvider: (
|
|
90
|
-
ipc: import("@smithy/types").IdentityProviderConfig
|
|
82
|
+
ipc: import("@smithy/types").IdentityProviderConfig,
|
|
91
83
|
) =>
|
|
92
|
-
| import("@smithy/types").IdentityProvider<
|
|
93
|
-
import("@smithy/types").Identity
|
|
94
|
-
>
|
|
84
|
+
| import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>
|
|
95
85
|
| undefined;
|
|
96
86
|
signer: import("@aws-sdk/core/httpAuthSchemes").AwsSdkSigV4Signer;
|
|
97
87
|
}
|
|
98
88
|
| {
|
|
99
89
|
schemeId: string;
|
|
100
90
|
identityProvider: (
|
|
101
|
-
ipc: import("@smithy/types").IdentityProviderConfig
|
|
91
|
+
ipc: import("@smithy/types").IdentityProviderConfig,
|
|
102
92
|
) =>
|
|
103
|
-
| import("@smithy/types").IdentityProvider<
|
|
104
|
-
import("@smithy/types").Identity
|
|
105
|
-
>
|
|
93
|
+
| import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>
|
|
106
94
|
| (() => Promise<{}>);
|
|
107
95
|
signer: import("@smithy/core").NoAuthSigner;
|
|
108
96
|
}
|
|
@@ -114,13 +102,13 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
114
102
|
signer?:
|
|
115
103
|
| import("@smithy/types").RequestSigner
|
|
116
104
|
| ((
|
|
117
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
105
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
118
106
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
119
107
|
signingEscapePath?: boolean;
|
|
120
108
|
systemClockOffset?: number;
|
|
121
109
|
signingRegion?: string;
|
|
122
110
|
signerConstructor?: new (
|
|
123
111
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
124
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
112
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
125
113
|
) => import("@smithy/types").RequestSigner;
|
|
126
114
|
};
|
|
@@ -21,11 +21,7 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
21
21
|
urlParser: import("@smithy/types").UrlParser;
|
|
22
22
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
23
23
|
streamCollector: (
|
|
24
|
-
stream:
|
|
25
|
-
| import("stream").Readable
|
|
26
|
-
| import("stream/web").ReadableStream
|
|
27
|
-
| ReadableStream
|
|
28
|
-
| Blob
|
|
24
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
29
25
|
) => Promise<Uint8Array>;
|
|
30
26
|
base64Decoder: import("@smithy/types").Decoder;
|
|
31
27
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -40,30 +36,21 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
40
36
|
region: string | import("@smithy/types").Provider<any>;
|
|
41
37
|
profile?: string;
|
|
42
38
|
defaultUserAgentProvider: (
|
|
43
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
39
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
44
40
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
45
41
|
credentialDefaultProvider:
|
|
46
42
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
47
|
-
| ((
|
|
48
|
-
_: unknown
|
|
49
|
-
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
43
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
50
44
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
51
45
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
52
46
|
logger: import("@smithy/types").Logger;
|
|
53
47
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
54
48
|
defaultsMode:
|
|
55
49
|
| import("@smithy/core/client").DefaultsMode
|
|
56
|
-
| import("@smithy/types").Provider<
|
|
57
|
-
import("@smithy/core/client").DefaultsMode
|
|
58
|
-
>;
|
|
50
|
+
| import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
|
|
59
51
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
60
|
-
userAgentAppId?:
|
|
61
|
-
|
|
62
|
-
| undefined
|
|
63
|
-
| import("@smithy/types").Provider<string | undefined>;
|
|
64
|
-
retryStrategy?:
|
|
65
|
-
| import("@smithy/types").RetryStrategy
|
|
66
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
52
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
53
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
67
54
|
endpoint?:
|
|
68
55
|
| ((
|
|
69
56
|
| string
|
|
@@ -85,7 +72,7 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
85
72
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
86
73
|
context?: {
|
|
87
74
|
logger?: import("@smithy/types").Logger;
|
|
88
|
-
}
|
|
75
|
+
},
|
|
89
76
|
) => import("@smithy/types").EndpointV2;
|
|
90
77
|
tls?: boolean;
|
|
91
78
|
serviceConfiguredEndpoint?: never;
|
|
@@ -96,22 +83,18 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
96
83
|
| {
|
|
97
84
|
schemeId: string;
|
|
98
85
|
identityProvider: (
|
|
99
|
-
ipc: import("@smithy/types").IdentityProviderConfig
|
|
86
|
+
ipc: import("@smithy/types").IdentityProviderConfig,
|
|
100
87
|
) =>
|
|
101
|
-
| import("@smithy/types").IdentityProvider<
|
|
102
|
-
import("@smithy/types").Identity
|
|
103
|
-
>
|
|
88
|
+
| import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>
|
|
104
89
|
| undefined;
|
|
105
90
|
signer: import("@aws-sdk/core/httpAuthSchemes").AwsSdkSigV4Signer;
|
|
106
91
|
}
|
|
107
92
|
| {
|
|
108
93
|
schemeId: string;
|
|
109
94
|
identityProvider: (
|
|
110
|
-
ipc: import("@smithy/types").IdentityProviderConfig
|
|
95
|
+
ipc: import("@smithy/types").IdentityProviderConfig,
|
|
111
96
|
) =>
|
|
112
|
-
| import("@smithy/types").IdentityProvider<
|
|
113
|
-
import("@smithy/types").Identity
|
|
114
|
-
>
|
|
97
|
+
| import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>
|
|
115
98
|
| (() => Promise<{}>);
|
|
116
99
|
signer: import("@smithy/core").NoAuthSigner;
|
|
117
100
|
}
|
|
@@ -123,13 +106,13 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
123
106
|
signer?:
|
|
124
107
|
| import("@smithy/types").RequestSigner
|
|
125
108
|
| ((
|
|
126
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
109
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
127
110
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
128
111
|
signingEscapePath?: boolean;
|
|
129
112
|
systemClockOffset?: number;
|
|
130
113
|
signingRegion?: string;
|
|
131
114
|
signerConstructor?: new (
|
|
132
115
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
133
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
116
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
134
117
|
) => import("@smithy/types").RequestSigner;
|
|
135
118
|
};
|
|
@@ -12,7 +12,7 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
12
12
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
13
13
|
context?: {
|
|
14
14
|
logger?: import("@smithy/types").Logger;
|
|
15
|
-
}
|
|
15
|
+
},
|
|
16
16
|
) => import("@smithy/types").EndpointV2;
|
|
17
17
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
18
18
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SSOOIDCHttpAuthSchemeProvider;
|
|
@@ -22,22 +22,18 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
22
22
|
| {
|
|
23
23
|
schemeId: string;
|
|
24
24
|
identityProvider: (
|
|
25
|
-
ipc: IdentityProviderConfig
|
|
25
|
+
ipc: IdentityProviderConfig,
|
|
26
26
|
) =>
|
|
27
|
-
| import("@smithy/types").IdentityProvider<
|
|
28
|
-
import("@smithy/types").Identity
|
|
29
|
-
>
|
|
27
|
+
| import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>
|
|
30
28
|
| undefined;
|
|
31
29
|
signer: AwsSdkSigV4Signer;
|
|
32
30
|
}
|
|
33
31
|
| {
|
|
34
32
|
schemeId: string;
|
|
35
33
|
identityProvider: (
|
|
36
|
-
ipc: IdentityProviderConfig
|
|
34
|
+
ipc: IdentityProviderConfig,
|
|
37
35
|
) =>
|
|
38
|
-
| import("@smithy/types").IdentityProvider<
|
|
39
|
-
import("@smithy/types").Identity
|
|
40
|
-
>
|
|
36
|
+
| import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>
|
|
41
37
|
| (() => Promise<{}>);
|
|
42
38
|
signer: NoAuthSigner;
|
|
43
39
|
}
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
2
|
-
import {
|
|
3
|
-
StaticErrorSchema,
|
|
4
|
-
StaticOperationSchema,
|
|
5
|
-
StaticStructureSchema,
|
|
6
|
-
} from "@smithy/types";
|
|
2
|
+
import { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
7
3
|
export declare var SSOOIDCServiceException$: StaticErrorSchema;
|
|
8
4
|
export declare var AccessDeniedException$: StaticErrorSchema;
|
|
9
5
|
export declare var AuthorizationPendingException$: StaticErrorSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,38 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sso-oidc",
|
|
3
|
+
"version": "3.1088.0",
|
|
3
4
|
"description": "AWS SDK for JavaScript Sso Oidc Client for Node.js, Browser and React Native",
|
|
4
|
-
"
|
|
5
|
+
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sso-oidc",
|
|
6
|
+
"license": "Apache-2.0",
|
|
7
|
+
"author": {
|
|
8
|
+
"name": "AWS SDK for JavaScript Team",
|
|
9
|
+
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
10
|
+
},
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
14
|
+
"directory": "clients/client-sso-oidc"
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist-*/**"
|
|
18
|
+
],
|
|
19
|
+
"sideEffects": false,
|
|
20
|
+
"main": "./dist-cjs/index.js",
|
|
21
|
+
"module": "./dist-es/index.js",
|
|
22
|
+
"browser": {
|
|
23
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
24
|
+
},
|
|
25
|
+
"types": "./dist-types/index.d.ts",
|
|
26
|
+
"typesVersions": {
|
|
27
|
+
"<4.5": {
|
|
28
|
+
"dist-types/*": [
|
|
29
|
+
"dist-types/ts3.4/*"
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"react-native": {
|
|
34
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
35
|
+
},
|
|
5
36
|
"scripts": {
|
|
6
37
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
38
|
"build:cjs": "node ../../scripts/compilation/inline",
|
|
@@ -18,22 +49,18 @@
|
|
|
18
49
|
"test:integration:watch": "yarn g:vitest watch --passWithNoTests -c vitest.config.integ.mts",
|
|
19
50
|
"test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
|
|
20
51
|
},
|
|
21
|
-
"main": "./dist-cjs/index.js",
|
|
22
|
-
"types": "./dist-types/index.d.ts",
|
|
23
|
-
"module": "./dist-es/index.js",
|
|
24
|
-
"sideEffects": false,
|
|
25
52
|
"dependencies": {
|
|
26
|
-
"@aws-sdk/core": "^3.975.
|
|
27
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
28
|
-
"@aws-sdk/types": "^3.974.
|
|
29
|
-
"@smithy/core": "^3.29.
|
|
30
|
-
"@smithy/fetch-http-handler": "^5.6.
|
|
31
|
-
"@smithy/node-http-handler": "^4.9.
|
|
53
|
+
"@aws-sdk/core": "^3.975.3",
|
|
54
|
+
"@aws-sdk/credential-provider-node": "^3.972.69",
|
|
55
|
+
"@aws-sdk/types": "^3.974.2",
|
|
56
|
+
"@smithy/core": "^3.29.4",
|
|
57
|
+
"@smithy/fetch-http-handler": "^5.6.6",
|
|
58
|
+
"@smithy/node-http-handler": "^4.9.6",
|
|
32
59
|
"@smithy/types": "^4.16.1",
|
|
33
60
|
"tslib": "^2.6.2"
|
|
34
61
|
},
|
|
35
62
|
"devDependencies": {
|
|
36
|
-
"@smithy/snapshot-testing": "^2.2.
|
|
63
|
+
"@smithy/snapshot-testing": "^2.2.9",
|
|
37
64
|
"@tsconfig/node20": "20.1.8",
|
|
38
65
|
"@types/node": "^20.14.8",
|
|
39
66
|
"concurrently": "7.0.0",
|
|
@@ -44,32 +71,5 @@
|
|
|
44
71
|
},
|
|
45
72
|
"engines": {
|
|
46
73
|
"node": ">=20.0.0"
|
|
47
|
-
},
|
|
48
|
-
"typesVersions": {
|
|
49
|
-
"<4.5": {
|
|
50
|
-
"dist-types/*": [
|
|
51
|
-
"dist-types/ts3.4/*"
|
|
52
|
-
]
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
"files": [
|
|
56
|
-
"dist-*/**"
|
|
57
|
-
],
|
|
58
|
-
"author": {
|
|
59
|
-
"name": "AWS SDK for JavaScript Team",
|
|
60
|
-
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
61
|
-
},
|
|
62
|
-
"license": "Apache-2.0",
|
|
63
|
-
"browser": {
|
|
64
|
-
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
65
|
-
},
|
|
66
|
-
"react-native": {
|
|
67
|
-
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
68
|
-
},
|
|
69
|
-
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sso-oidc",
|
|
70
|
-
"repository": {
|
|
71
|
-
"type": "git",
|
|
72
|
-
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
73
|
-
"directory": "clients/client-sso-oidc"
|
|
74
74
|
}
|
|
75
75
|
}
|