@aws-sdk/nested-clients 3.997.32 → 3.997.33
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/submodules/cognito-identity/index.js +11 -9
- package/dist-cjs/submodules/signin/index.js +6 -5
- package/dist-cjs/submodules/sso/index.js +6 -5
- package/dist-cjs/submodules/sso-oidc/index.js +6 -5
- package/dist-cjs/submodules/sts/index.js +1 -1
- package/dist-es/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +12 -8
- package/dist-es/submodules/signin/auth/httpAuthSchemeProvider.js +6 -4
- package/dist-es/submodules/sso/auth/httpAuthSchemeProvider.js +6 -4
- package/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +6 -4
- package/dist-es/submodules/sts/defaultRoleAssumers.js +1 -1
- package/dist-es/submodules/sts/defaultStsRoleAssumers.js +1 -1
- package/dist-types/submodules/cognito-identity/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/dist-types/submodules/signin/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/dist-types/submodules/sso/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/dist-types/submodules/sso-oidc/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/dist-types/submodules/sts/auth/httpAuthSchemeProvider.d.ts +3 -3
- package/dist-types/submodules/sts/defaultRoleAssumers.d.ts +3 -3
- package/dist-types/submodules/sts/defaultStsRoleAssumers.d.ts +3 -3
- package/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentity.d.ts +7 -15
- package/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentityClient.d.ts +8 -22
- package/dist-types/ts3.4/submodules/cognito-identity/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/dist-types/ts3.4/submodules/cognito-identity/auth/httpAuthSchemeProvider.d.ts +11 -15
- package/dist-types/ts3.4/submodules/cognito-identity/commandBuilder.d.ts +7 -13
- package/dist-types/ts3.4/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.d.ts +4 -6
- package/dist-types/ts3.4/submodules/cognito-identity/commands/GetIdCommand.d.ts +6 -2
- package/dist-types/ts3.4/submodules/cognito-identity/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/submodules/cognito-identity/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/ts3.4/submodules/cognito-identity/extensionConfiguration.d.ts +2 -1
- package/dist-types/ts3.4/submodules/cognito-identity/models/errors.d.ts +9 -28
- package/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.browser.d.ts +13 -30
- package/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +12 -26
- package/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.native.d.ts +13 -30
- package/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.shared.d.ts +6 -12
- package/dist-types/ts3.4/submodules/cognito-identity/runtimeExtensions.d.ts +2 -4
- package/dist-types/ts3.4/submodules/cognito-identity/schemas/schemas_0.d.ts +1 -5
- package/dist-types/ts3.4/submodules/signin/Signin.d.ts +6 -6
- package/dist-types/ts3.4/submodules/signin/SigninClient.d.ts +15 -25
- package/dist-types/ts3.4/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/dist-types/ts3.4/submodules/signin/auth/httpAuthSchemeProvider.d.ts +11 -15
- package/dist-types/ts3.4/submodules/signin/commandBuilder.d.ts +8 -18
- package/dist-types/ts3.4/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +5 -10
- package/dist-types/ts3.4/submodules/signin/commands/CreateOAuth2TokenWithIAMCommand.d.ts +4 -6
- package/dist-types/ts3.4/submodules/signin/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/submodules/signin/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/ts3.4/submodules/signin/extensionConfiguration.d.ts +2 -1
- package/dist-types/ts3.4/submodules/signin/models/enums.d.ts +1 -2
- package/dist-types/ts3.4/submodules/signin/models/errors.d.ts +4 -12
- package/dist-types/ts3.4/submodules/signin/runtimeConfig.browser.d.ts +13 -30
- package/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts +12 -26
- package/dist-types/ts3.4/submodules/signin/runtimeConfig.native.d.ts +13 -30
- package/dist-types/ts3.4/submodules/signin/runtimeConfig.shared.d.ts +5 -9
- package/dist-types/ts3.4/submodules/signin/runtimeExtensions.d.ts +1 -1
- package/dist-types/ts3.4/submodules/signin/schemas/schemas_0.d.ts +1 -5
- package/dist-types/ts3.4/submodules/sso/SSO.d.ts +3 -3
- package/dist-types/ts3.4/submodules/sso/SSOClient.d.ts +13 -20
- package/dist-types/ts3.4/submodules/sso/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/dist-types/ts3.4/submodules/sso/auth/httpAuthSchemeProvider.d.ts +10 -13
- package/dist-types/ts3.4/submodules/sso/commandBuilder.d.ts +7 -10
- package/dist-types/ts3.4/submodules/sso/commands/GetRoleCredentialsCommand.d.ts +5 -10
- package/dist-types/ts3.4/submodules/sso/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/submodules/sso/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/ts3.4/submodules/sso/extensionConfiguration.d.ts +2 -1
- package/dist-types/ts3.4/submodules/sso/models/errors.d.ts +4 -12
- package/dist-types/ts3.4/submodules/sso/runtimeConfig.browser.d.ts +12 -27
- package/dist-types/ts3.4/submodules/sso/runtimeConfig.d.ts +11 -23
- package/dist-types/ts3.4/submodules/sso/runtimeConfig.native.d.ts +12 -27
- package/dist-types/ts3.4/submodules/sso/runtimeConfig.shared.d.ts +5 -9
- package/dist-types/ts3.4/submodules/sso/runtimeExtensions.d.ts +1 -1
- package/dist-types/ts3.4/submodules/sso/schemas/schemas_0.d.ts +1 -5
- package/dist-types/ts3.4/submodules/sso-oidc/SSOOIDC.d.ts +4 -7
- package/dist-types/ts3.4/submodules/sso-oidc/SSOOIDCClient.d.ts +16 -29
- package/dist-types/ts3.4/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/dist-types/ts3.4/submodules/sso-oidc/auth/httpAuthSchemeProvider.d.ts +11 -15
- package/dist-types/ts3.4/submodules/sso-oidc/commandBuilder.d.ts +7 -10
- package/dist-types/ts3.4/submodules/sso-oidc/commands/CreateTokenCommand.d.ts +3 -5
- package/dist-types/ts3.4/submodules/sso-oidc/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/submodules/sso-oidc/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/ts3.4/submodules/sso-oidc/extensionConfiguration.d.ts +2 -1
- package/dist-types/ts3.4/submodules/sso-oidc/models/errors.d.ts +11 -34
- package/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts +12 -27
- package/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +11 -23
- package/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +12 -27
- package/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.shared.d.ts +5 -9
- package/dist-types/ts3.4/submodules/sso-oidc/runtimeExtensions.d.ts +1 -1
- package/dist-types/ts3.4/submodules/sso-oidc/schemas/schemas_0.d.ts +1 -5
- package/dist-types/ts3.4/submodules/sts/STS.d.ts +7 -10
- package/dist-types/ts3.4/submodules/sts/STSClient.d.ts +16 -30
- package/dist-types/ts3.4/submodules/sts/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/dist-types/ts3.4/submodules/sts/auth/httpAuthSchemeProvider.d.ts +11 -16
- package/dist-types/ts3.4/submodules/sts/commandBuilder.d.ts +8 -18
- package/dist-types/ts3.4/submodules/sts/commands/AssumeRoleCommand.d.ts +3 -5
- package/dist-types/ts3.4/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +4 -6
- package/dist-types/ts3.4/submodules/sts/defaultRoleAssumers.d.ts +3 -3
- package/dist-types/ts3.4/submodules/sts/defaultStsRoleAssumers.d.ts +5 -7
- package/dist-types/ts3.4/submodules/sts/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/submodules/sts/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/ts3.4/submodules/sts/extensionConfiguration.d.ts +2 -1
- package/dist-types/ts3.4/submodules/sts/models/errors.d.ts +7 -24
- package/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +14 -34
- package/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +14 -33
- package/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +14 -34
- package/dist-types/ts3.4/submodules/sts/runtimeConfig.shared.d.ts +6 -10
- package/dist-types/ts3.4/submodules/sts/runtimeExtensions.d.ts +1 -1
- package/dist-types/ts3.4/submodules/sts/schemas/schemas_0.d.ts +1 -5
- package/package.json +53 -53
|
@@ -3,66 +3,47 @@ import { CognitoIdentityServiceException as __BaseException } from "./CognitoIde
|
|
|
3
3
|
export declare class ExternalServiceException extends __BaseException {
|
|
4
4
|
readonly name: "ExternalServiceException";
|
|
5
5
|
readonly $fault: "client";
|
|
6
|
-
constructor(
|
|
7
|
-
opts: __ExceptionOptionType<ExternalServiceException, __BaseException>
|
|
8
|
-
);
|
|
6
|
+
constructor(opts: __ExceptionOptionType<ExternalServiceException, __BaseException>);
|
|
9
7
|
}
|
|
10
8
|
export declare class InternalErrorException extends __BaseException {
|
|
11
9
|
readonly name: "InternalErrorException";
|
|
12
10
|
readonly $fault: "server";
|
|
13
|
-
constructor(
|
|
14
|
-
opts: __ExceptionOptionType<InternalErrorException, __BaseException>
|
|
15
|
-
);
|
|
11
|
+
constructor(opts: __ExceptionOptionType<InternalErrorException, __BaseException>);
|
|
16
12
|
}
|
|
17
13
|
export declare class InvalidIdentityPoolConfigurationException extends __BaseException {
|
|
18
14
|
readonly name: "InvalidIdentityPoolConfigurationException";
|
|
19
15
|
readonly $fault: "client";
|
|
20
16
|
constructor(
|
|
21
|
-
opts: __ExceptionOptionType<
|
|
22
|
-
InvalidIdentityPoolConfigurationException,
|
|
23
|
-
__BaseException
|
|
24
|
-
>
|
|
17
|
+
opts: __ExceptionOptionType<InvalidIdentityPoolConfigurationException, __BaseException>,
|
|
25
18
|
);
|
|
26
19
|
}
|
|
27
20
|
export declare class InvalidParameterException extends __BaseException {
|
|
28
21
|
readonly name: "InvalidParameterException";
|
|
29
22
|
readonly $fault: "client";
|
|
30
|
-
constructor(
|
|
31
|
-
opts: __ExceptionOptionType<InvalidParameterException, __BaseException>
|
|
32
|
-
);
|
|
23
|
+
constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
|
|
33
24
|
}
|
|
34
25
|
export declare class NotAuthorizedException extends __BaseException {
|
|
35
26
|
readonly name: "NotAuthorizedException";
|
|
36
27
|
readonly $fault: "client";
|
|
37
|
-
constructor(
|
|
38
|
-
opts: __ExceptionOptionType<NotAuthorizedException, __BaseException>
|
|
39
|
-
);
|
|
28
|
+
constructor(opts: __ExceptionOptionType<NotAuthorizedException, __BaseException>);
|
|
40
29
|
}
|
|
41
30
|
export declare class ResourceConflictException extends __BaseException {
|
|
42
31
|
readonly name: "ResourceConflictException";
|
|
43
32
|
readonly $fault: "client";
|
|
44
|
-
constructor(
|
|
45
|
-
opts: __ExceptionOptionType<ResourceConflictException, __BaseException>
|
|
46
|
-
);
|
|
33
|
+
constructor(opts: __ExceptionOptionType<ResourceConflictException, __BaseException>);
|
|
47
34
|
}
|
|
48
35
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
49
36
|
readonly name: "ResourceNotFoundException";
|
|
50
37
|
readonly $fault: "client";
|
|
51
|
-
constructor(
|
|
52
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
53
|
-
);
|
|
38
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
54
39
|
}
|
|
55
40
|
export declare class TooManyRequestsException extends __BaseException {
|
|
56
41
|
readonly name: "TooManyRequestsException";
|
|
57
42
|
readonly $fault: "client";
|
|
58
|
-
constructor(
|
|
59
|
-
opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
|
|
60
|
-
);
|
|
43
|
+
constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
|
|
61
44
|
}
|
|
62
45
|
export declare class LimitExceededException extends __BaseException {
|
|
63
46
|
readonly name: "LimitExceededException";
|
|
64
47
|
readonly $fault: "client";
|
|
65
|
-
constructor(
|
|
66
|
-
opts: __ExceptionOptionType<LimitExceededException, __BaseException>
|
|
67
|
-
);
|
|
48
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
68
49
|
}
|
|
@@ -1,28 +1,20 @@
|
|
|
1
1
|
import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
|
|
2
2
|
import { CognitoIdentityClientConfig } from "./CognitoIdentityClient";
|
|
3
|
-
export declare const getRuntimeConfig: (
|
|
4
|
-
config: CognitoIdentityClientConfig
|
|
5
|
-
) => {
|
|
3
|
+
export declare const getRuntimeConfig: (config: CognitoIdentityClientConfig) => {
|
|
6
4
|
runtime: string;
|
|
7
5
|
defaultsMode: import("@smithy/types").Provider<
|
|
8
6
|
import("@smithy/core/client").ResolvedDefaultsMode
|
|
9
7
|
>;
|
|
10
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
9
|
defaultUserAgentProvider: (
|
|
12
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
10
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
13
11
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
14
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
15
13
|
region: string | import("@smithy/types").Provider<any>;
|
|
16
|
-
requestHandler:
|
|
17
|
-
| import("@smithy/core/protocols").HttpHandler<any>
|
|
18
|
-
| RequestHandler;
|
|
14
|
+
requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
|
|
19
15
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
20
16
|
streamCollector: (
|
|
21
|
-
stream:
|
|
22
|
-
| import("stream").Readable
|
|
23
|
-
| import("stream/web").ReadableStream
|
|
24
|
-
| ReadableStream
|
|
25
|
-
| Blob
|
|
17
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
26
18
|
) => Promise<Uint8Array>;
|
|
27
19
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
28
20
|
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
@@ -50,13 +42,8 @@ export declare const getRuntimeConfig: (
|
|
|
50
42
|
logger: import("@smithy/types").Logger;
|
|
51
43
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
52
44
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
53
|
-
userAgentAppId?:
|
|
54
|
-
|
|
55
|
-
| undefined
|
|
56
|
-
| import("@smithy/types").Provider<string | undefined>;
|
|
57
|
-
retryStrategy?:
|
|
58
|
-
| import("@smithy/types").RetryStrategy
|
|
59
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
45
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
46
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
60
47
|
endpoint?:
|
|
61
48
|
| ((
|
|
62
49
|
| string
|
|
@@ -78,7 +65,7 @@ export declare const getRuntimeConfig: (
|
|
|
78
65
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
79
66
|
context?: {
|
|
80
67
|
logger?: import("@smithy/types").Logger;
|
|
81
|
-
}
|
|
68
|
+
},
|
|
82
69
|
) => import("@smithy/types").EndpointV2;
|
|
83
70
|
tls?: boolean;
|
|
84
71
|
serviceConfiguredEndpoint?: never;
|
|
@@ -89,22 +76,18 @@ export declare const getRuntimeConfig: (
|
|
|
89
76
|
| {
|
|
90
77
|
schemeId: string;
|
|
91
78
|
identityProvider: (
|
|
92
|
-
ipc: import("@smithy/types").IdentityProviderConfig
|
|
79
|
+
ipc: import("@smithy/types").IdentityProviderConfig,
|
|
93
80
|
) =>
|
|
94
|
-
| import("@smithy/types").IdentityProvider<
|
|
95
|
-
import("@smithy/types").Identity
|
|
96
|
-
>
|
|
81
|
+
| import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>
|
|
97
82
|
| undefined;
|
|
98
83
|
signer: import("@aws-sdk/core/httpAuthSchemes").AwsSdkSigV4Signer;
|
|
99
84
|
}
|
|
100
85
|
| {
|
|
101
86
|
schemeId: string;
|
|
102
87
|
identityProvider: (
|
|
103
|
-
ipc: import("@smithy/types").IdentityProviderConfig
|
|
88
|
+
ipc: import("@smithy/types").IdentityProviderConfig,
|
|
104
89
|
) =>
|
|
105
|
-
| import("@smithy/types").IdentityProvider<
|
|
106
|
-
import("@smithy/types").Identity
|
|
107
|
-
>
|
|
90
|
+
| import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>
|
|
108
91
|
| (() => Promise<{}>);
|
|
109
92
|
signer: import("@smithy/core").NoAuthSigner;
|
|
110
93
|
}
|
|
@@ -116,13 +99,13 @@ export declare const getRuntimeConfig: (
|
|
|
116
99
|
signer?:
|
|
117
100
|
| import("@smithy/types").RequestSigner
|
|
118
101
|
| ((
|
|
119
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
102
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
120
103
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
121
104
|
signingEscapePath?: boolean;
|
|
122
105
|
systemClockOffset?: number;
|
|
123
106
|
signingRegion?: string;
|
|
124
107
|
signerConstructor?: new (
|
|
125
108
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
126
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
109
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
127
110
|
) => import("@smithy/types").RequestSigner;
|
|
128
111
|
};
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
|
|
2
2
|
import { CognitoIdentityClientConfig } from "./CognitoIdentityClient";
|
|
3
|
-
export declare const getRuntimeConfig: (
|
|
4
|
-
config: CognitoIdentityClientConfig
|
|
5
|
-
) => {
|
|
3
|
+
export declare const getRuntimeConfig: (config: CognitoIdentityClientConfig) => {
|
|
6
4
|
runtime: string;
|
|
7
5
|
defaultsMode: import("@smithy/types").Provider<
|
|
8
6
|
import("@smithy/core/client").ResolvedDefaultsMode
|
|
@@ -10,20 +8,14 @@ export declare const getRuntimeConfig: (
|
|
|
10
8
|
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
11
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
12
10
|
defaultUserAgentProvider: (
|
|
13
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
11
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
14
12
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
15
13
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
16
14
|
region: string | import("@smithy/types").Provider<string>;
|
|
17
|
-
requestHandler:
|
|
18
|
-
| RequestHandler
|
|
19
|
-
| import("@smithy/core/protocols").HttpHandler<any>;
|
|
15
|
+
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
20
16
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
21
17
|
streamCollector: (
|
|
22
|
-
stream:
|
|
23
|
-
| import("stream").Readable
|
|
24
|
-
| import("stream/web").ReadableStream
|
|
25
|
-
| ReadableStream
|
|
26
|
-
| Blob
|
|
18
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
27
19
|
) => Promise<Uint8Array>;
|
|
28
20
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
29
21
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
@@ -50,9 +42,7 @@ export declare const getRuntimeConfig: (
|
|
|
50
42
|
logger: import("@smithy/types").Logger;
|
|
51
43
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
52
44
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
53
|
-
retryStrategy?:
|
|
54
|
-
| import("@smithy/types").RetryStrategy
|
|
55
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
45
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
56
46
|
endpoint?:
|
|
57
47
|
| ((
|
|
58
48
|
| string
|
|
@@ -74,7 +64,7 @@ export declare const getRuntimeConfig: (
|
|
|
74
64
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
75
65
|
context?: {
|
|
76
66
|
logger?: import("@smithy/types").Logger;
|
|
77
|
-
}
|
|
67
|
+
},
|
|
78
68
|
) => import("@smithy/types").EndpointV2;
|
|
79
69
|
tls?: boolean;
|
|
80
70
|
serviceConfiguredEndpoint?: never;
|
|
@@ -84,22 +74,18 @@ export declare const getRuntimeConfig: (
|
|
|
84
74
|
| {
|
|
85
75
|
schemeId: string;
|
|
86
76
|
identityProvider: (
|
|
87
|
-
ipc: import("@smithy/types").IdentityProviderConfig
|
|
77
|
+
ipc: import("@smithy/types").IdentityProviderConfig,
|
|
88
78
|
) =>
|
|
89
|
-
| import("@smithy/types").IdentityProvider<
|
|
90
|
-
import("@smithy/types").Identity
|
|
91
|
-
>
|
|
79
|
+
| import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>
|
|
92
80
|
| undefined;
|
|
93
81
|
signer: import("@aws-sdk/core/httpAuthSchemes").AwsSdkSigV4Signer;
|
|
94
82
|
}
|
|
95
83
|
| {
|
|
96
84
|
schemeId: string;
|
|
97
85
|
identityProvider: (
|
|
98
|
-
ipc: import("@smithy/types").IdentityProviderConfig
|
|
86
|
+
ipc: import("@smithy/types").IdentityProviderConfig,
|
|
99
87
|
) =>
|
|
100
|
-
| import("@smithy/types").IdentityProvider<
|
|
101
|
-
import("@smithy/types").Identity
|
|
102
|
-
>
|
|
88
|
+
| import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>
|
|
103
89
|
| (() => Promise<{}>);
|
|
104
90
|
signer: import("@smithy/core").NoAuthSigner;
|
|
105
91
|
}
|
|
@@ -111,13 +97,13 @@ export declare const getRuntimeConfig: (
|
|
|
111
97
|
signer?:
|
|
112
98
|
| import("@smithy/types").RequestSigner
|
|
113
99
|
| ((
|
|
114
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
100
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
115
101
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
116
102
|
signingEscapePath?: boolean;
|
|
117
103
|
systemClockOffset?: number;
|
|
118
104
|
signingRegion?: string;
|
|
119
105
|
signerConstructor?: new (
|
|
120
106
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
121
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
107
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
122
108
|
) => import("@smithy/types").RequestSigner;
|
|
123
109
|
};
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { CognitoIdentityClientConfig } from "./CognitoIdentityClient";
|
|
2
|
-
export declare const getRuntimeConfig: (
|
|
3
|
-
config: CognitoIdentityClientConfig
|
|
4
|
-
) => {
|
|
2
|
+
export declare const getRuntimeConfig: (config: CognitoIdentityClientConfig) => {
|
|
5
3
|
runtime: string;
|
|
6
4
|
requestHandler:
|
|
7
5
|
| import("@smithy/types").NodeHttpHandlerOptions
|
|
@@ -23,11 +21,7 @@ export declare const getRuntimeConfig: (
|
|
|
23
21
|
urlParser: import("@smithy/types").UrlParser;
|
|
24
22
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
25
23
|
streamCollector: (
|
|
26
|
-
stream:
|
|
27
|
-
| import("stream").Readable
|
|
28
|
-
| import("stream/web").ReadableStream
|
|
29
|
-
| ReadableStream
|
|
30
|
-
| Blob
|
|
24
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
31
25
|
) => Promise<Uint8Array>;
|
|
32
26
|
base64Decoder: import("@smithy/types").Decoder;
|
|
33
27
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -42,7 +36,7 @@ export declare const getRuntimeConfig: (
|
|
|
42
36
|
region: string | import("@smithy/types").Provider<any>;
|
|
43
37
|
profile?: string;
|
|
44
38
|
defaultUserAgentProvider: (
|
|
45
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
39
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
46
40
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
47
41
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
48
42
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
@@ -50,17 +44,10 @@ export declare const getRuntimeConfig: (
|
|
|
50
44
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
51
45
|
defaultsMode:
|
|
52
46
|
| import("@smithy/core/client").DefaultsMode
|
|
53
|
-
| import("@smithy/types").Provider<
|
|
54
|
-
import("@smithy/core/client").DefaultsMode
|
|
55
|
-
>;
|
|
47
|
+
| import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
|
|
56
48
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
57
|
-
userAgentAppId?:
|
|
58
|
-
|
|
59
|
-
| undefined
|
|
60
|
-
| import("@smithy/types").Provider<string | undefined>;
|
|
61
|
-
retryStrategy?:
|
|
62
|
-
| import("@smithy/types").RetryStrategy
|
|
63
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
49
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
50
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
64
51
|
endpoint?:
|
|
65
52
|
| ((
|
|
66
53
|
| string
|
|
@@ -82,7 +69,7 @@ export declare const getRuntimeConfig: (
|
|
|
82
69
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
83
70
|
context?: {
|
|
84
71
|
logger?: import("@smithy/types").Logger;
|
|
85
|
-
}
|
|
72
|
+
},
|
|
86
73
|
) => import("@smithy/types").EndpointV2;
|
|
87
74
|
tls?: boolean;
|
|
88
75
|
serviceConfiguredEndpoint?: never;
|
|
@@ -93,22 +80,18 @@ export declare const getRuntimeConfig: (
|
|
|
93
80
|
| {
|
|
94
81
|
schemeId: string;
|
|
95
82
|
identityProvider: (
|
|
96
|
-
ipc: import("@smithy/types").IdentityProviderConfig
|
|
83
|
+
ipc: import("@smithy/types").IdentityProviderConfig,
|
|
97
84
|
) =>
|
|
98
|
-
| import("@smithy/types").IdentityProvider<
|
|
99
|
-
import("@smithy/types").Identity
|
|
100
|
-
>
|
|
85
|
+
| import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>
|
|
101
86
|
| undefined;
|
|
102
87
|
signer: import("@aws-sdk/core/httpAuthSchemes").AwsSdkSigV4Signer;
|
|
103
88
|
}
|
|
104
89
|
| {
|
|
105
90
|
schemeId: string;
|
|
106
91
|
identityProvider: (
|
|
107
|
-
ipc: import("@smithy/types").IdentityProviderConfig
|
|
92
|
+
ipc: import("@smithy/types").IdentityProviderConfig,
|
|
108
93
|
) =>
|
|
109
|
-
| import("@smithy/types").IdentityProvider<
|
|
110
|
-
import("@smithy/types").Identity
|
|
111
|
-
>
|
|
94
|
+
| import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>
|
|
112
95
|
| (() => Promise<{}>);
|
|
113
96
|
signer: import("@smithy/core").NoAuthSigner;
|
|
114
97
|
}
|
|
@@ -120,13 +103,13 @@ export declare const getRuntimeConfig: (
|
|
|
120
103
|
signer?:
|
|
121
104
|
| import("@smithy/types").RequestSigner
|
|
122
105
|
| ((
|
|
123
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
106
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
124
107
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
125
108
|
signingEscapePath?: boolean;
|
|
126
109
|
systemClockOffset?: number;
|
|
127
110
|
signingRegion?: string;
|
|
128
111
|
signerConstructor?: new (
|
|
129
112
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
130
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
113
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
131
114
|
) => import("@smithy/types").RequestSigner;
|
|
132
115
|
};
|
|
@@ -3,9 +3,7 @@ import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
|
|
|
3
3
|
import { NoAuthSigner } from "@smithy/core";
|
|
4
4
|
import { IdentityProviderConfig } from "@smithy/types";
|
|
5
5
|
import { CognitoIdentityClientConfig } from "./CognitoIdentityClient";
|
|
6
|
-
export declare const getRuntimeConfig: (
|
|
7
|
-
config: CognitoIdentityClientConfig
|
|
8
|
-
) => {
|
|
6
|
+
export declare const getRuntimeConfig: (config: CognitoIdentityClientConfig) => {
|
|
9
7
|
apiVersion: string;
|
|
10
8
|
base64Decoder: import("@smithy/types").Decoder;
|
|
11
9
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -14,7 +12,7 @@ export declare const getRuntimeConfig: (
|
|
|
14
12
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
15
13
|
context?: {
|
|
16
14
|
logger?: import("@smithy/types").Logger;
|
|
17
|
-
}
|
|
15
|
+
},
|
|
18
16
|
) => import("@smithy/types").EndpointV2;
|
|
19
17
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
20
18
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CognitoIdentityHttpAuthSchemeProvider;
|
|
@@ -24,22 +22,18 @@ export declare const getRuntimeConfig: (
|
|
|
24
22
|
| {
|
|
25
23
|
schemeId: string;
|
|
26
24
|
identityProvider: (
|
|
27
|
-
ipc: IdentityProviderConfig
|
|
25
|
+
ipc: IdentityProviderConfig,
|
|
28
26
|
) =>
|
|
29
|
-
| import("@smithy/types").IdentityProvider<
|
|
30
|
-
import("@smithy/types").Identity
|
|
31
|
-
>
|
|
27
|
+
| import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>
|
|
32
28
|
| undefined;
|
|
33
29
|
signer: AwsSdkSigV4Signer;
|
|
34
30
|
}
|
|
35
31
|
| {
|
|
36
32
|
schemeId: string;
|
|
37
33
|
identityProvider: (
|
|
38
|
-
ipc: IdentityProviderConfig
|
|
34
|
+
ipc: IdentityProviderConfig,
|
|
39
35
|
) =>
|
|
40
|
-
| import("@smithy/types").IdentityProvider<
|
|
41
|
-
import("@smithy/types").Identity
|
|
42
|
-
>
|
|
36
|
+
| import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>
|
|
43
37
|
| (() => Promise<{}>);
|
|
44
38
|
signer: NoAuthSigner;
|
|
45
39
|
}
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import { CognitoIdentityExtensionConfiguration } from "./extensionConfiguration";
|
|
2
2
|
export interface RuntimeExtension {
|
|
3
|
-
configure(
|
|
4
|
-
extensionConfiguration: CognitoIdentityExtensionConfiguration
|
|
5
|
-
): void;
|
|
3
|
+
configure(extensionConfiguration: CognitoIdentityExtensionConfiguration): void;
|
|
6
4
|
}
|
|
7
5
|
export interface RuntimeExtensionsConfig {
|
|
8
6
|
extensions: RuntimeExtension[];
|
|
9
7
|
}
|
|
10
8
|
export declare const resolveRuntimeExtensions: (
|
|
11
9
|
runtimeConfig: any,
|
|
12
|
-
extensions: RuntimeExtension[]
|
|
10
|
+
extensions: RuntimeExtension[],
|
|
13
11
|
) => any;
|
|
@@ -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 CognitoIdentityServiceException$: StaticErrorSchema;
|
|
8
4
|
export declare var ExternalServiceException$: StaticErrorSchema;
|
|
9
5
|
export declare var InternalErrorException$: StaticErrorSchema;
|
|
@@ -11,29 +11,29 @@ import { SigninClient } from "./SigninClient";
|
|
|
11
11
|
export interface Signin {
|
|
12
12
|
createOAuth2Token(
|
|
13
13
|
args: CreateOAuth2TokenCommandInput,
|
|
14
|
-
options?: __HttpHandlerOptions
|
|
14
|
+
options?: __HttpHandlerOptions,
|
|
15
15
|
): Promise<CreateOAuth2TokenCommandOutput>;
|
|
16
16
|
createOAuth2Token(
|
|
17
17
|
args: CreateOAuth2TokenCommandInput,
|
|
18
|
-
cb: (err: any, data?: CreateOAuth2TokenCommandOutput) => void
|
|
18
|
+
cb: (err: any, data?: CreateOAuth2TokenCommandOutput) => void,
|
|
19
19
|
): void;
|
|
20
20
|
createOAuth2Token(
|
|
21
21
|
args: CreateOAuth2TokenCommandInput,
|
|
22
22
|
options: __HttpHandlerOptions,
|
|
23
|
-
cb: (err: any, data?: CreateOAuth2TokenCommandOutput) => void
|
|
23
|
+
cb: (err: any, data?: CreateOAuth2TokenCommandOutput) => void,
|
|
24
24
|
): void;
|
|
25
25
|
createOAuth2TokenWithIAM(
|
|
26
26
|
args: CreateOAuth2TokenWithIAMCommandInput,
|
|
27
|
-
options?: __HttpHandlerOptions
|
|
27
|
+
options?: __HttpHandlerOptions,
|
|
28
28
|
): Promise<CreateOAuth2TokenWithIAMCommandOutput>;
|
|
29
29
|
createOAuth2TokenWithIAM(
|
|
30
30
|
args: CreateOAuth2TokenWithIAMCommandInput,
|
|
31
|
-
cb: (err: any, data?: CreateOAuth2TokenWithIAMCommandOutput) => void
|
|
31
|
+
cb: (err: any, data?: CreateOAuth2TokenWithIAMCommandOutput) => void,
|
|
32
32
|
): void;
|
|
33
33
|
createOAuth2TokenWithIAM(
|
|
34
34
|
args: CreateOAuth2TokenWithIAMCommandInput,
|
|
35
35
|
options: __HttpHandlerOptions,
|
|
36
|
-
cb: (err: any, data?: CreateOAuth2TokenWithIAMCommandOutput) => void
|
|
36
|
+
cb: (err: any, data?: CreateOAuth2TokenWithIAMCommandOutput) => void,
|
|
37
37
|
): void;
|
|
38
38
|
}
|
|
39
39
|
export declare class Signin extends SigninClient implements Signin {}
|
|
@@ -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 {
|
|
@@ -57,8 +54,7 @@ export type ServiceInputTypes =
|
|
|
57
54
|
export type ServiceOutputTypes =
|
|
58
55
|
| CreateOAuth2TokenCommandOutput
|
|
59
56
|
| CreateOAuth2TokenWithIAMCommandOutput;
|
|
60
|
-
export interface ClientDefaults
|
|
61
|
-
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
57
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
62
58
|
requestHandler?: __HttpHandlerUserInput;
|
|
63
59
|
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
64
60
|
urlParser?: __UrlParser;
|
|
@@ -83,9 +79,7 @@ export interface ClientDefaults
|
|
|
83
79
|
extensions?: RuntimeExtension[];
|
|
84
80
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
85
81
|
}
|
|
86
|
-
export type SigninClientConfigType = Partial<
|
|
87
|
-
__SmithyConfiguration<__HttpHandlerOptions>
|
|
88
|
-
> &
|
|
82
|
+
export type SigninClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
|
|
89
83
|
ClientDefaults &
|
|
90
84
|
UserAgentInputConfig &
|
|
91
85
|
RetryInputConfig &
|
|
@@ -95,19 +89,17 @@ export type SigninClientConfigType = Partial<
|
|
|
95
89
|
HttpAuthSchemeInputConfig &
|
|
96
90
|
ClientInputEndpointParameters;
|
|
97
91
|
export interface SigninClientConfig extends SigninClientConfigType {}
|
|
98
|
-
export type SigninClientResolvedConfigType =
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
export interface SigninClientResolvedConfig
|
|
110
|
-
extends SigninClientResolvedConfigType {}
|
|
92
|
+
export type SigninClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
93
|
+
Required<ClientDefaults> &
|
|
94
|
+
RuntimeExtensionsConfig &
|
|
95
|
+
UserAgentResolvedConfig &
|
|
96
|
+
RetryResolvedConfig &
|
|
97
|
+
RegionResolvedConfig &
|
|
98
|
+
HostHeaderResolvedConfig &
|
|
99
|
+
EndpointResolvedConfig<EndpointParameters> &
|
|
100
|
+
HttpAuthSchemeResolvedConfig &
|
|
101
|
+
ClientResolvedEndpointParameters;
|
|
102
|
+
export interface SigninClientResolvedConfig extends SigninClientResolvedConfigType {}
|
|
111
103
|
export declare class SigninClient extends __Client<
|
|
112
104
|
__HttpHandlerOptions,
|
|
113
105
|
ServiceInputTypes,
|
|
@@ -115,8 +107,6 @@ export declare class SigninClient extends __Client<
|
|
|
115
107
|
SigninClientResolvedConfig
|
|
116
108
|
> {
|
|
117
109
|
readonly config: SigninClientResolvedConfig;
|
|
118
|
-
constructor(
|
|
119
|
-
...[configuration]: __CheckOptionalClientConfig<SigninClientConfig>
|
|
120
|
-
);
|
|
110
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<SigninClientConfig>);
|
|
121
111
|
destroy(): void;
|
|
122
112
|
}
|
|
@@ -7,17 +7,10 @@ import { SigninHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
|
7
7
|
export interface HttpAuthExtensionConfiguration {
|
|
8
8
|
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
9
9
|
httpAuthSchemes(): HttpAuthScheme[];
|
|
10
|
-
setHttpAuthSchemeProvider(
|
|
11
|
-
httpAuthSchemeProvider: SigninHttpAuthSchemeProvider
|
|
12
|
-
): void;
|
|
10
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider: SigninHttpAuthSchemeProvider): void;
|
|
13
11
|
httpAuthSchemeProvider(): SigninHttpAuthSchemeProvider;
|
|
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 { SigninClientResolvedConfig } from "../SigninClient";
|
|
15
|
-
export interface SigninHttpAuthSchemeParameters
|
|
16
|
-
extends HttpAuthSchemeParameters {
|
|
15
|
+
export interface SigninHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
17
16
|
region?: string;
|
|
18
17
|
}
|
|
19
|
-
export interface SigninHttpAuthSchemeParametersProvider
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
> {}
|
|
18
|
+
export interface SigninHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<
|
|
19
|
+
SigninClientResolvedConfig,
|
|
20
|
+
HandlerExecutionContext,
|
|
21
|
+
SigninHttpAuthSchemeParameters,
|
|
22
|
+
object
|
|
23
|
+
> {}
|
|
26
24
|
export declare const defaultSigninHttpAuthSchemeParametersProvider: (
|
|
27
25
|
config: SigninClientResolvedConfig,
|
|
28
26
|
context: HandlerExecutionContext,
|
|
29
|
-
input: object
|
|
27
|
+
input: object,
|
|
30
28
|
) => Promise<SigninHttpAuthSchemeParameters>;
|
|
31
|
-
export interface SigninHttpAuthSchemeProvider
|
|
32
|
-
extends HttpAuthSchemeProvider<SigninHttpAuthSchemeParameters> {}
|
|
29
|
+
export interface SigninHttpAuthSchemeProvider extends HttpAuthSchemeProvider<SigninHttpAuthSchemeParameters> {}
|
|
33
30
|
export declare const defaultSigninHttpAuthSchemeProvider: SigninHttpAuthSchemeProvider;
|
|
34
31
|
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
35
32
|
authSchemePreference?: string[] | Provider<string[]>;
|
|
36
33
|
httpAuthSchemes?: HttpAuthScheme[];
|
|
37
34
|
httpAuthSchemeProvider?: SigninHttpAuthSchemeProvider;
|
|
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: SigninHttpAuthSchemeProvider;
|
|
44
40
|
}
|
|
45
41
|
export declare const resolveHttpAuthSchemeConfig: <T>(
|
|
46
|
-
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
|
|
42
|
+
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved,
|
|
47
43
|
) => T & HttpAuthSchemeResolvedConfig;
|