@aws-sdk/client-cognito-identity-provider 3.1087.0 → 3.1089.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/CognitoIdentityProvider.d.ts +410 -482
- package/dist-types/ts3.4/CognitoIdentityProviderClient.d.ts +22 -83
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -10
- 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/AddCustomAttributesCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/AddUserPoolClientSecretCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/AdminAddUserToGroupCommand.d.ts +3 -4
- package/dist-types/ts3.4/commands/AdminConfirmSignUpCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/AdminCreateUserCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/AdminDeleteUserAttributesCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/AdminDeleteUserCommand.d.ts +2 -2
- package/dist-types/ts3.4/commands/AdminDisableProviderForUserCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/AdminDisableUserCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/AdminEnableUserCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/AdminForgetDeviceCommand.d.ts +3 -4
- package/dist-types/ts3.4/commands/AdminGetDeviceCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/AdminGetUserCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/AdminInitiateAuthCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/AdminLinkProviderForUserCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/AdminListDevicesCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/AdminListGroupsForUserCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/AdminListUserAuthEventsCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/AdminRemoveUserFromGroupCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/AdminResetUserPasswordCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/AdminRespondToAuthChallengeCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/AdminSetUserMFAPreferenceCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/AdminSetUserPasswordCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/AdminSetUserSettingsCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/AdminUpdateAuthEventFeedbackCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/AdminUpdateDeviceStatusCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/AdminUpdateUserAttributesCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/AdminUserGlobalSignOutCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/AssociateSoftwareTokenCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/ChangePasswordCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/CompleteWebAuthnRegistrationCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/ConfirmDeviceCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/ConfirmForgotPasswordCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/ConfirmSignUpCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/CreateGroupCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/CreateIdentityProviderCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/CreateManagedLoginBrandingCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/CreateResourceServerCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/CreateTermsCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/CreateUserImportJobCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/CreateUserPoolClientCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/CreateUserPoolCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/CreateUserPoolDomainCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/CreateUserPoolReplicaCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/DeleteGroupCommand.d.ts +2 -2
- package/dist-types/ts3.4/commands/DeleteIdentityProviderCommand.d.ts +3 -4
- package/dist-types/ts3.4/commands/DeleteManagedLoginBrandingCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/DeleteResourceServerCommand.d.ts +3 -4
- package/dist-types/ts3.4/commands/DeleteTermsCommand.d.ts +2 -2
- package/dist-types/ts3.4/commands/DeleteUserAttributesCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +2 -2
- package/dist-types/ts3.4/commands/DeleteUserPoolClientCommand.d.ts +3 -4
- package/dist-types/ts3.4/commands/DeleteUserPoolClientSecretCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/DeleteUserPoolCommand.d.ts +2 -2
- package/dist-types/ts3.4/commands/DeleteUserPoolDomainCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/DeleteUserPoolReplicaCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/DeleteWebAuthnCredentialCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/DescribeIdentityProviderCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/DescribeManagedLoginBrandingByClientCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/DescribeManagedLoginBrandingCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/DescribeResourceServerCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/DescribeRiskConfigurationCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/DescribeTermsCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/DescribeUserImportJobCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/DescribeUserPoolClientCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/DescribeUserPoolCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/DescribeUserPoolDomainCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/ForgetDeviceCommand.d.ts +2 -2
- package/dist-types/ts3.4/commands/ForgotPasswordCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/GetCSVHeaderCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/GetDeviceCommand.d.ts +7 -5
- package/dist-types/ts3.4/commands/GetGroupCommand.d.ts +7 -5
- package/dist-types/ts3.4/commands/GetIdentityProviderByIdentifierCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/GetLogDeliveryConfigurationCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/GetProvisionedLimitCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/GetSigningCertificateCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/GetTokensFromRefreshTokenCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/GetUICustomizationCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/GetUserAttributeVerificationCodeCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/GetUserAuthFactorsCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/GetUserCommand.d.ts +7 -5
- package/dist-types/ts3.4/commands/GetUserPoolMfaConfigCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/GlobalSignOutCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/InitiateAuthCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/ListDevicesCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/ListGroupsCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/ListIdentityProvidersCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/ListResourceServersCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/ListTermsCommand.d.ts +7 -5
- package/dist-types/ts3.4/commands/ListUserImportJobsCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/ListUserPoolClientSecretsCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/ListUserPoolClientsCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/ListUserPoolReplicasCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/ListUserPoolsCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +7 -5
- package/dist-types/ts3.4/commands/ListUsersInGroupCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/ListWebAuthnCredentialsCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/ResendConfirmationCodeCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/RespondToAuthChallengeCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/RevokeTokenCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/SetLogDeliveryConfigurationCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/SetRiskConfigurationCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/SetUICustomizationCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/SetUserMFAPreferenceCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/SetUserPoolMfaConfigCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/SetUserSettingsCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/SignUpCommand.d.ts +6 -2
- package/dist-types/ts3.4/commands/StartUserImportJobCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/StartWebAuthnRegistrationCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/StopUserImportJobCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/UpdateAuthEventFeedbackCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/UpdateDeviceStatusCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/UpdateGroupCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/UpdateIdentityProviderCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/UpdateManagedLoginBrandingCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/UpdateProvisionedLimitCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/UpdateResourceServerCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/UpdateTermsCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/UpdateUserAttributesCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/UpdateUserPoolClientCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/UpdateUserPoolCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/UpdateUserPoolDomainCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/UpdateUserPoolReplicaCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/VerifySoftwareTokenCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/VerifyUserAttributeCommand.d.ts +5 -10
- 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/enums.d.ts +26 -52
- package/dist-types/ts3.4/models/errors.d.ts +58 -222
- package/dist-types/ts3.4/models/models_0.d.ts +6 -18
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
- package/dist-types/ts3.4/pagination/ListGroupsPaginator.d.ts +1 -4
- package/dist-types/ts3.4/pagination/ListUsersPaginator.d.ts +1 -4
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -33
- package/dist-types/ts3.4/runtimeConfig.d.ts +13 -27
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -33
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -12
- package/dist-types/ts3.4/runtimeExtensions.d.ts +2 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -5
- package/package.json +38 -38
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
|
|
2
2
|
import { CognitoIdentityProviderClientConfig } from "./CognitoIdentityProviderClient";
|
|
3
|
-
export declare const getRuntimeConfig: (
|
|
4
|
-
config: CognitoIdentityProviderClientConfig
|
|
5
|
-
) => {
|
|
3
|
+
export declare const getRuntimeConfig: (config: CognitoIdentityProviderClientConfig) => {
|
|
6
4
|
runtime: string;
|
|
7
5
|
defaultsMode: import("@smithy/types").Provider<
|
|
8
6
|
import("@smithy/core/client").ResolvedDefaultsMode
|
|
@@ -10,24 +8,16 @@ export declare const getRuntimeConfig: (
|
|
|
10
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
9
|
credentialDefaultProvider:
|
|
12
10
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
13
|
-
| ((
|
|
14
|
-
_: unknown
|
|
15
|
-
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
16
12
|
defaultUserAgentProvider: (
|
|
17
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
13
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
18
14
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
19
15
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
20
16
|
region: string | import("@smithy/types").Provider<any>;
|
|
21
|
-
requestHandler:
|
|
22
|
-
| import("@smithy/core/protocols").HttpHandler<any>
|
|
23
|
-
| RequestHandler;
|
|
17
|
+
requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
|
|
24
18
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
25
19
|
streamCollector: (
|
|
26
|
-
stream:
|
|
27
|
-
| import("stream").Readable
|
|
28
|
-
| import("stream/web").ReadableStream
|
|
29
|
-
| ReadableStream
|
|
30
|
-
| Blob
|
|
20
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
31
21
|
) => Promise<Uint8Array>;
|
|
32
22
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
33
23
|
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
@@ -55,13 +45,8 @@ export declare const getRuntimeConfig: (
|
|
|
55
45
|
logger: import("@smithy/types").Logger;
|
|
56
46
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
57
47
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
58
|
-
userAgentAppId?:
|
|
59
|
-
|
|
60
|
-
| undefined
|
|
61
|
-
| import("@smithy/types").Provider<string | undefined>;
|
|
62
|
-
retryStrategy?:
|
|
63
|
-
| import("@smithy/types").RetryStrategy
|
|
64
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
48
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
49
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
65
50
|
endpoint?:
|
|
66
51
|
| ((
|
|
67
52
|
| string
|
|
@@ -83,7 +68,7 @@ export declare const getRuntimeConfig: (
|
|
|
83
68
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
84
69
|
context?: {
|
|
85
70
|
logger?: import("@smithy/types").Logger;
|
|
86
|
-
}
|
|
71
|
+
},
|
|
87
72
|
) => import("@smithy/types").EndpointV2;
|
|
88
73
|
tls?: boolean;
|
|
89
74
|
serviceConfiguredEndpoint?: never;
|
|
@@ -94,22 +79,18 @@ export declare const getRuntimeConfig: (
|
|
|
94
79
|
| {
|
|
95
80
|
schemeId: string;
|
|
96
81
|
identityProvider: (
|
|
97
|
-
ipc: import("@smithy/types").IdentityProviderConfig
|
|
82
|
+
ipc: import("@smithy/types").IdentityProviderConfig,
|
|
98
83
|
) =>
|
|
99
|
-
| import("@smithy/types").IdentityProvider<
|
|
100
|
-
import("@smithy/types").Identity
|
|
101
|
-
>
|
|
84
|
+
| import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>
|
|
102
85
|
| undefined;
|
|
103
86
|
signer: import("@aws-sdk/core/httpAuthSchemes").AwsSdkSigV4Signer;
|
|
104
87
|
}
|
|
105
88
|
| {
|
|
106
89
|
schemeId: string;
|
|
107
90
|
identityProvider: (
|
|
108
|
-
ipc: import("@smithy/types").IdentityProviderConfig
|
|
91
|
+
ipc: import("@smithy/types").IdentityProviderConfig,
|
|
109
92
|
) =>
|
|
110
|
-
| import("@smithy/types").IdentityProvider<
|
|
111
|
-
import("@smithy/types").Identity
|
|
112
|
-
>
|
|
93
|
+
| import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>
|
|
113
94
|
| (() => Promise<{}>);
|
|
114
95
|
signer: import("@smithy/core").NoAuthSigner;
|
|
115
96
|
}
|
|
@@ -121,13 +102,13 @@ export declare const getRuntimeConfig: (
|
|
|
121
102
|
signer?:
|
|
122
103
|
| import("@smithy/types").RequestSigner
|
|
123
104
|
| ((
|
|
124
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
105
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
125
106
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
126
107
|
signingEscapePath?: boolean;
|
|
127
108
|
systemClockOffset?: number;
|
|
128
109
|
signingRegion?: string;
|
|
129
110
|
signerConstructor?: new (
|
|
130
111
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
131
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
112
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
132
113
|
) => import("@smithy/types").RequestSigner;
|
|
133
114
|
};
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
|
|
2
2
|
import { CognitoIdentityProviderClientConfig } from "./CognitoIdentityProviderClient";
|
|
3
|
-
export declare const getRuntimeConfig: (
|
|
4
|
-
config: CognitoIdentityProviderClientConfig
|
|
5
|
-
) => {
|
|
3
|
+
export declare const getRuntimeConfig: (config: CognitoIdentityProviderClientConfig) => {
|
|
6
4
|
runtime: string;
|
|
7
5
|
defaultsMode: import("@smithy/types").Provider<
|
|
8
6
|
import("@smithy/core/client").ResolvedDefaultsMode
|
|
@@ -12,23 +10,17 @@ export declare const getRuntimeConfig: (
|
|
|
12
10
|
credentialDefaultProvider:
|
|
13
11
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
14
12
|
| ((
|
|
15
|
-
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
13
|
+
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
|
|
16
14
|
) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
|
|
17
15
|
defaultUserAgentProvider: (
|
|
18
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
16
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
19
17
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
20
18
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
21
19
|
region: string | import("@smithy/types").Provider<string>;
|
|
22
|
-
requestHandler:
|
|
23
|
-
| RequestHandler
|
|
24
|
-
| import("@smithy/core/protocols").HttpHandler<any>;
|
|
20
|
+
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
25
21
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
26
22
|
streamCollector: (
|
|
27
|
-
stream:
|
|
28
|
-
| import("stream").Readable
|
|
29
|
-
| import("stream/web").ReadableStream
|
|
30
|
-
| ReadableStream
|
|
31
|
-
| Blob
|
|
23
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
32
24
|
) => Promise<Uint8Array>;
|
|
33
25
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
34
26
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
@@ -55,9 +47,7 @@ export declare const getRuntimeConfig: (
|
|
|
55
47
|
logger: import("@smithy/types").Logger;
|
|
56
48
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
57
49
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
58
|
-
retryStrategy?:
|
|
59
|
-
| import("@smithy/types").RetryStrategy
|
|
60
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
50
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
61
51
|
endpoint?:
|
|
62
52
|
| ((
|
|
63
53
|
| string
|
|
@@ -79,7 +69,7 @@ export declare const getRuntimeConfig: (
|
|
|
79
69
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
80
70
|
context?: {
|
|
81
71
|
logger?: import("@smithy/types").Logger;
|
|
82
|
-
}
|
|
72
|
+
},
|
|
83
73
|
) => import("@smithy/types").EndpointV2;
|
|
84
74
|
tls?: boolean;
|
|
85
75
|
serviceConfiguredEndpoint?: never;
|
|
@@ -89,22 +79,18 @@ export declare const getRuntimeConfig: (
|
|
|
89
79
|
| {
|
|
90
80
|
schemeId: string;
|
|
91
81
|
identityProvider: (
|
|
92
|
-
ipc: import("@smithy/types").IdentityProviderConfig
|
|
82
|
+
ipc: import("@smithy/types").IdentityProviderConfig,
|
|
93
83
|
) =>
|
|
94
|
-
| import("@smithy/types").IdentityProvider<
|
|
95
|
-
import("@smithy/types").Identity
|
|
96
|
-
>
|
|
84
|
+
| import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>
|
|
97
85
|
| undefined;
|
|
98
86
|
signer: import("@aws-sdk/core/httpAuthSchemes").AwsSdkSigV4Signer;
|
|
99
87
|
}
|
|
100
88
|
| {
|
|
101
89
|
schemeId: string;
|
|
102
90
|
identityProvider: (
|
|
103
|
-
ipc: import("@smithy/types").IdentityProviderConfig
|
|
91
|
+
ipc: import("@smithy/types").IdentityProviderConfig,
|
|
104
92
|
) =>
|
|
105
|
-
| import("@smithy/types").IdentityProvider<
|
|
106
|
-
import("@smithy/types").Identity
|
|
107
|
-
>
|
|
93
|
+
| import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>
|
|
108
94
|
| (() => Promise<{}>);
|
|
109
95
|
signer: import("@smithy/core").NoAuthSigner;
|
|
110
96
|
}
|
|
@@ -116,13 +102,13 @@ export declare const getRuntimeConfig: (
|
|
|
116
102
|
signer?:
|
|
117
103
|
| import("@smithy/types").RequestSigner
|
|
118
104
|
| ((
|
|
119
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
105
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
120
106
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
121
107
|
signingEscapePath?: boolean;
|
|
122
108
|
systemClockOffset?: number;
|
|
123
109
|
signingRegion?: string;
|
|
124
110
|
signerConstructor?: new (
|
|
125
111
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
126
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
112
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
127
113
|
) => import("@smithy/types").RequestSigner;
|
|
128
114
|
};
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { CognitoIdentityProviderClientConfig } from "./CognitoIdentityProviderClient";
|
|
2
|
-
export declare const getRuntimeConfig: (
|
|
3
|
-
config: CognitoIdentityProviderClientConfig
|
|
4
|
-
) => {
|
|
2
|
+
export declare const getRuntimeConfig: (config: CognitoIdentityProviderClientConfig) => {
|
|
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,30 +36,21 @@ 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
|
credentialDefaultProvider:
|
|
48
42
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
49
|
-
| ((
|
|
50
|
-
_: unknown
|
|
51
|
-
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
43
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
52
44
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
53
45
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
54
46
|
logger: import("@smithy/types").Logger;
|
|
55
47
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
56
48
|
defaultsMode:
|
|
57
49
|
| import("@smithy/core/client").DefaultsMode
|
|
58
|
-
| import("@smithy/types").Provider<
|
|
59
|
-
import("@smithy/core/client").DefaultsMode
|
|
60
|
-
>;
|
|
50
|
+
| import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
|
|
61
51
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
62
|
-
userAgentAppId?:
|
|
63
|
-
|
|
64
|
-
| undefined
|
|
65
|
-
| import("@smithy/types").Provider<string | undefined>;
|
|
66
|
-
retryStrategy?:
|
|
67
|
-
| import("@smithy/types").RetryStrategy
|
|
68
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
52
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
53
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
69
54
|
endpoint?:
|
|
70
55
|
| ((
|
|
71
56
|
| string
|
|
@@ -87,7 +72,7 @@ export declare const getRuntimeConfig: (
|
|
|
87
72
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
88
73
|
context?: {
|
|
89
74
|
logger?: import("@smithy/types").Logger;
|
|
90
|
-
}
|
|
75
|
+
},
|
|
91
76
|
) => import("@smithy/types").EndpointV2;
|
|
92
77
|
tls?: boolean;
|
|
93
78
|
serviceConfiguredEndpoint?: never;
|
|
@@ -98,22 +83,18 @@ export declare const getRuntimeConfig: (
|
|
|
98
83
|
| {
|
|
99
84
|
schemeId: string;
|
|
100
85
|
identityProvider: (
|
|
101
|
-
ipc: import("@smithy/types").IdentityProviderConfig
|
|
86
|
+
ipc: import("@smithy/types").IdentityProviderConfig,
|
|
102
87
|
) =>
|
|
103
|
-
| import("@smithy/types").IdentityProvider<
|
|
104
|
-
import("@smithy/types").Identity
|
|
105
|
-
>
|
|
88
|
+
| import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>
|
|
106
89
|
| undefined;
|
|
107
90
|
signer: import("@aws-sdk/core/httpAuthSchemes").AwsSdkSigV4Signer;
|
|
108
91
|
}
|
|
109
92
|
| {
|
|
110
93
|
schemeId: string;
|
|
111
94
|
identityProvider: (
|
|
112
|
-
ipc: import("@smithy/types").IdentityProviderConfig
|
|
95
|
+
ipc: import("@smithy/types").IdentityProviderConfig,
|
|
113
96
|
) =>
|
|
114
|
-
| import("@smithy/types").IdentityProvider<
|
|
115
|
-
import("@smithy/types").Identity
|
|
116
|
-
>
|
|
97
|
+
| import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>
|
|
117
98
|
| (() => Promise<{}>);
|
|
118
99
|
signer: import("@smithy/core").NoAuthSigner;
|
|
119
100
|
}
|
|
@@ -125,13 +106,13 @@ export declare const getRuntimeConfig: (
|
|
|
125
106
|
signer?:
|
|
126
107
|
| import("@smithy/types").RequestSigner
|
|
127
108
|
| ((
|
|
128
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
109
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
129
110
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
130
111
|
signingEscapePath?: boolean;
|
|
131
112
|
systemClockOffset?: number;
|
|
132
113
|
signingRegion?: string;
|
|
133
114
|
signerConstructor?: new (
|
|
134
115
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
135
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
116
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
136
117
|
) => import("@smithy/types").RequestSigner;
|
|
137
118
|
};
|
|
@@ -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 { CognitoIdentityProviderClientConfig } from "./CognitoIdentityProviderClient";
|
|
6
|
-
export declare const getRuntimeConfig: (
|
|
7
|
-
config: CognitoIdentityProviderClientConfig
|
|
8
|
-
) => {
|
|
6
|
+
export declare const getRuntimeConfig: (config: CognitoIdentityProviderClientConfig) => {
|
|
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").CognitoIdentityProviderHttpAuthSchemeProvider;
|
|
@@ -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 { CognitoIdentityProviderExtensionConfiguration } from "./extensionConfiguration";
|
|
2
2
|
export interface RuntimeExtension {
|
|
3
|
-
configure(
|
|
4
|
-
extensionConfiguration: CognitoIdentityProviderExtensionConfiguration
|
|
5
|
-
): void;
|
|
3
|
+
configure(extensionConfiguration: CognitoIdentityProviderExtensionConfiguration): 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 CognitoIdentityProviderServiceException$: StaticErrorSchema;
|
|
8
4
|
export declare var AccessDeniedException$: StaticErrorSchema;
|
|
9
5
|
export declare var AliasExistsException$: StaticErrorSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,38 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cognito-identity-provider",
|
|
3
|
+
"version": "3.1089.0",
|
|
3
4
|
"description": "AWS SDK for JavaScript Cognito Identity Provider Client for Node.js, Browser and React Native",
|
|
4
|
-
"
|
|
5
|
+
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-cognito-identity-provider",
|
|
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-cognito-identity-provider"
|
|
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",
|
|
@@ -14,17 +45,13 @@
|
|
|
14
45
|
"generate:client": "node ../../scripts/generate-clients/single-service",
|
|
15
46
|
"test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
|
|
16
47
|
},
|
|
17
|
-
"main": "./dist-cjs/index.js",
|
|
18
|
-
"types": "./dist-types/index.d.ts",
|
|
19
|
-
"module": "./dist-es/index.js",
|
|
20
|
-
"sideEffects": false,
|
|
21
48
|
"dependencies": {
|
|
22
|
-
"@aws-sdk/core": "^3.975.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
-
"@aws-sdk/types": "^3.974.
|
|
25
|
-
"@smithy/core": "^3.29.
|
|
26
|
-
"@smithy/fetch-http-handler": "^5.6.
|
|
27
|
-
"@smithy/node-http-handler": "^4.9.
|
|
49
|
+
"@aws-sdk/core": "^3.975.3",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.70",
|
|
51
|
+
"@aws-sdk/types": "^3.974.2",
|
|
52
|
+
"@smithy/core": "^3.29.4",
|
|
53
|
+
"@smithy/fetch-http-handler": "^5.6.6",
|
|
54
|
+
"@smithy/node-http-handler": "^4.9.6",
|
|
28
55
|
"@smithy/types": "^4.16.1",
|
|
29
56
|
"tslib": "^2.6.2"
|
|
30
57
|
},
|
|
@@ -38,32 +65,5 @@
|
|
|
38
65
|
},
|
|
39
66
|
"engines": {
|
|
40
67
|
"node": ">=20.0.0"
|
|
41
|
-
},
|
|
42
|
-
"typesVersions": {
|
|
43
|
-
"<4.5": {
|
|
44
|
-
"dist-types/*": [
|
|
45
|
-
"dist-types/ts3.4/*"
|
|
46
|
-
]
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
"files": [
|
|
50
|
-
"dist-*/**"
|
|
51
|
-
],
|
|
52
|
-
"author": {
|
|
53
|
-
"name": "AWS SDK for JavaScript Team",
|
|
54
|
-
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
55
|
-
},
|
|
56
|
-
"license": "Apache-2.0",
|
|
57
|
-
"browser": {
|
|
58
|
-
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
59
|
-
},
|
|
60
|
-
"react-native": {
|
|
61
|
-
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
62
|
-
},
|
|
63
|
-
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-cognito-identity-provider",
|
|
64
|
-
"repository": {
|
|
65
|
-
"type": "git",
|
|
66
|
-
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
67
|
-
"directory": "clients/client-cognito-identity-provider"
|
|
68
68
|
}
|
|
69
69
|
}
|