@aws-sdk/client-cognito-identity 3.620.1 → 3.622.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 +12 -18
- package/dist-es/CognitoIdentityClient.js +12 -18
- package/dist-types/CognitoIdentityClient.d.ts +2 -4
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +4 -4
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/CognitoIdentityClient.d.ts +6 -8
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +5 -5
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +5 -5
- package/package.json +12 -12
package/dist-cjs/index.js
CHANGED
|
@@ -167,25 +167,27 @@ var _CognitoIdentityClient = class _CognitoIdentityClient extends import_smithy_
|
|
|
167
167
|
constructor(...[configuration]) {
|
|
168
168
|
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
169
169
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
170
|
-
const _config_2 = (0,
|
|
171
|
-
const _config_3 = (0,
|
|
172
|
-
const _config_4 = (0,
|
|
173
|
-
const _config_5 = (0,
|
|
174
|
-
const _config_6 = (0,
|
|
170
|
+
const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
|
|
171
|
+
const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
|
|
172
|
+
const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
|
|
173
|
+
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
174
|
+
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
175
175
|
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
176
176
|
const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
177
177
|
super(_config_8);
|
|
178
178
|
this.config = _config_8;
|
|
179
|
-
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
180
|
-
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
181
|
-
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
182
179
|
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
183
180
|
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
184
181
|
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
182
|
+
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
183
|
+
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
184
|
+
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
185
185
|
this.middlewareStack.use(
|
|
186
186
|
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
187
|
-
httpAuthSchemeParametersProvider:
|
|
188
|
-
identityProviderConfigProvider:
|
|
187
|
+
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultCognitoIdentityHttpAuthSchemeParametersProvider,
|
|
188
|
+
identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
189
|
+
"aws.auth#sigv4": config.credentials
|
|
190
|
+
})
|
|
189
191
|
})
|
|
190
192
|
);
|
|
191
193
|
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
@@ -198,14 +200,6 @@ var _CognitoIdentityClient = class _CognitoIdentityClient extends import_smithy_
|
|
|
198
200
|
destroy() {
|
|
199
201
|
super.destroy();
|
|
200
202
|
}
|
|
201
|
-
getDefaultHttpAuthSchemeParametersProvider() {
|
|
202
|
-
return import_httpAuthSchemeProvider.defaultCognitoIdentityHttpAuthSchemeParametersProvider;
|
|
203
|
-
}
|
|
204
|
-
getIdentityProviderConfigProvider() {
|
|
205
|
-
return async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
206
|
-
"aws.auth#sigv4": config.credentials
|
|
207
|
-
});
|
|
208
|
-
}
|
|
209
203
|
};
|
|
210
204
|
__name(_CognitoIdentityClient, "CognitoIdentityClient");
|
|
211
205
|
var CognitoIdentityClient = _CognitoIdentityClient;
|
|
@@ -17,36 +17,30 @@ export class CognitoIdentityClient extends __Client {
|
|
|
17
17
|
constructor(...[configuration]) {
|
|
18
18
|
const _config_0 = __getRuntimeConfig(configuration || {});
|
|
19
19
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
20
|
-
const _config_2 =
|
|
21
|
-
const _config_3 =
|
|
22
|
-
const _config_4 =
|
|
23
|
-
const _config_5 =
|
|
24
|
-
const _config_6 =
|
|
20
|
+
const _config_2 = resolveUserAgentConfig(_config_1);
|
|
21
|
+
const _config_3 = resolveRetryConfig(_config_2);
|
|
22
|
+
const _config_4 = resolveRegionConfig(_config_3);
|
|
23
|
+
const _config_5 = resolveHostHeaderConfig(_config_4);
|
|
24
|
+
const _config_6 = resolveEndpointConfig(_config_5);
|
|
25
25
|
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
26
26
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
27
27
|
super(_config_8);
|
|
28
28
|
this.config = _config_8;
|
|
29
|
-
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
30
|
-
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
31
|
-
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
32
29
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
33
30
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
34
31
|
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
32
|
+
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
33
|
+
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
34
|
+
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
35
35
|
this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
36
|
-
httpAuthSchemeParametersProvider:
|
|
37
|
-
identityProviderConfigProvider:
|
|
36
|
+
httpAuthSchemeParametersProvider: defaultCognitoIdentityHttpAuthSchemeParametersProvider,
|
|
37
|
+
identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
|
|
38
|
+
"aws.auth#sigv4": config.credentials,
|
|
39
|
+
}),
|
|
38
40
|
}));
|
|
39
41
|
this.middlewareStack.use(getHttpSigningPlugin(this.config));
|
|
40
42
|
}
|
|
41
43
|
destroy() {
|
|
42
44
|
super.destroy();
|
|
43
45
|
}
|
|
44
|
-
getDefaultHttpAuthSchemeParametersProvider() {
|
|
45
|
-
return defaultCognitoIdentityHttpAuthSchemeParametersProvider;
|
|
46
|
-
}
|
|
47
|
-
getIdentityProviderConfigProvider() {
|
|
48
|
-
return async (config) => new DefaultIdentityProviderConfig({
|
|
49
|
-
"aws.auth#sigv4": config.credentials,
|
|
50
|
-
});
|
|
51
|
-
}
|
|
52
46
|
}
|
|
@@ -154,7 +154,7 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
154
154
|
/**
|
|
155
155
|
* @public
|
|
156
156
|
*/
|
|
157
|
-
export type CognitoIdentityClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults &
|
|
157
|
+
export type CognitoIdentityClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
|
|
158
158
|
/**
|
|
159
159
|
* @public
|
|
160
160
|
*
|
|
@@ -165,7 +165,7 @@ export interface CognitoIdentityClientConfig extends CognitoIdentityClientConfig
|
|
|
165
165
|
/**
|
|
166
166
|
* @public
|
|
167
167
|
*/
|
|
168
|
-
export type CognitoIdentityClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig &
|
|
168
|
+
export type CognitoIdentityClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
|
|
169
169
|
/**
|
|
170
170
|
* @public
|
|
171
171
|
*
|
|
@@ -202,6 +202,4 @@ export declare class CognitoIdentityClient extends __Client<__HttpHandlerOptions
|
|
|
202
202
|
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
203
203
|
*/
|
|
204
204
|
destroy(): void;
|
|
205
|
-
private getDefaultHttpAuthSchemeParametersProvider;
|
|
206
|
-
private getIdentityProviderConfigProvider;
|
|
207
205
|
}
|
|
@@ -30,12 +30,12 @@ export declare const defaultCognitoIdentityHttpAuthSchemeProvider: CognitoIdenti
|
|
|
30
30
|
*/
|
|
31
31
|
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
34
34
|
* @internal
|
|
35
35
|
*/
|
|
36
36
|
httpAuthSchemes?: HttpAuthScheme[];
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
38
|
+
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
39
39
|
* @internal
|
|
40
40
|
*/
|
|
41
41
|
httpAuthSchemeProvider?: CognitoIdentityHttpAuthSchemeProvider;
|
|
@@ -45,12 +45,12 @@ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
|
45
45
|
*/
|
|
46
46
|
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
48
|
+
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
49
49
|
* @internal
|
|
50
50
|
*/
|
|
51
51
|
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
52
52
|
/**
|
|
53
|
-
*
|
|
53
|
+
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
54
54
|
* @internal
|
|
55
55
|
*/
|
|
56
56
|
readonly httpAuthSchemeProvider: CognitoIdentityHttpAuthSchemeProvider;
|
|
@@ -27,13 +27,13 @@ export declare const getRuntimeConfig: (config: CognitoIdentityClientConfig) =>
|
|
|
27
27
|
serviceId: string;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
29
29
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
30
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
31
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
30
32
|
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
31
33
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
32
34
|
logger?: import("@smithy/types").Logger | undefined;
|
|
33
35
|
}) => import("@smithy/types").EndpointV2;
|
|
34
36
|
tls?: boolean | undefined;
|
|
35
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
36
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
37
37
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({
|
|
38
38
|
schemeId: string;
|
|
39
39
|
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
|
@@ -27,13 +27,13 @@ export declare const getRuntimeConfig: (config: CognitoIdentityClientConfig) =>
|
|
|
27
27
|
serviceId: string;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
29
29
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
30
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
31
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
30
32
|
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
31
33
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
32
34
|
logger?: import("@smithy/types").Logger | undefined;
|
|
33
35
|
}) => import("@smithy/types").EndpointV2;
|
|
34
36
|
tls?: boolean | undefined;
|
|
35
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
36
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
37
37
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({
|
|
38
38
|
schemeId: string;
|
|
39
39
|
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
|
@@ -26,13 +26,13 @@ export declare const getRuntimeConfig: (config: CognitoIdentityClientConfig) =>
|
|
|
26
26
|
logger: import("@smithy/types").Logger;
|
|
27
27
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
28
28
|
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
29
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
30
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
29
31
|
endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
|
|
30
32
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
31
33
|
logger?: import("@smithy/types").Logger | undefined;
|
|
32
34
|
}) => import("@smithy/types").EndpointV2;
|
|
33
35
|
tls?: boolean | undefined;
|
|
34
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
35
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
36
36
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({
|
|
37
37
|
schemeId: string;
|
|
38
38
|
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
|
@@ -218,11 +218,11 @@ export type CognitoIdentityClientConfigType = Partial<
|
|
|
218
218
|
__SmithyConfiguration<__HttpHandlerOptions>
|
|
219
219
|
> &
|
|
220
220
|
ClientDefaults &
|
|
221
|
-
RegionInputConfig &
|
|
222
|
-
EndpointInputConfig<EndpointParameters> &
|
|
223
|
-
HostHeaderInputConfig &
|
|
224
221
|
UserAgentInputConfig &
|
|
225
222
|
RetryInputConfig &
|
|
223
|
+
RegionInputConfig &
|
|
224
|
+
HostHeaderInputConfig &
|
|
225
|
+
EndpointInputConfig<EndpointParameters> &
|
|
226
226
|
HttpAuthSchemeInputConfig &
|
|
227
227
|
ClientInputEndpointParameters;
|
|
228
228
|
export interface CognitoIdentityClientConfig
|
|
@@ -231,11 +231,11 @@ export type CognitoIdentityClientResolvedConfigType =
|
|
|
231
231
|
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
232
232
|
Required<ClientDefaults> &
|
|
233
233
|
RuntimeExtensionsConfig &
|
|
234
|
-
RegionResolvedConfig &
|
|
235
|
-
EndpointResolvedConfig<EndpointParameters> &
|
|
236
|
-
HostHeaderResolvedConfig &
|
|
237
234
|
UserAgentResolvedConfig &
|
|
238
235
|
RetryResolvedConfig &
|
|
236
|
+
RegionResolvedConfig &
|
|
237
|
+
HostHeaderResolvedConfig &
|
|
238
|
+
EndpointResolvedConfig<EndpointParameters> &
|
|
239
239
|
HttpAuthSchemeResolvedConfig &
|
|
240
240
|
ClientResolvedEndpointParameters;
|
|
241
241
|
export interface CognitoIdentityClientResolvedConfig
|
|
@@ -251,6 +251,4 @@ export declare class CognitoIdentityClient extends __Client<
|
|
|
251
251
|
...[configuration]: __CheckOptionalClientConfig<CognitoIdentityClientConfig>
|
|
252
252
|
);
|
|
253
253
|
destroy(): void;
|
|
254
|
-
private getDefaultHttpAuthSchemeParametersProvider;
|
|
255
|
-
private getIdentityProviderConfigProvider;
|
|
256
254
|
}
|
|
@@ -34,6 +34,11 @@ export declare const getRuntimeConfig: (
|
|
|
34
34
|
serviceId: string;
|
|
35
35
|
logger: import("@smithy/types").Logger;
|
|
36
36
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
37
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
38
|
+
retryStrategy?:
|
|
39
|
+
| import("@smithy/types").RetryStrategy
|
|
40
|
+
| import("@smithy/types").RetryStrategyV2
|
|
41
|
+
| undefined;
|
|
37
42
|
endpoint?:
|
|
38
43
|
| ((
|
|
39
44
|
| string
|
|
@@ -58,11 +63,6 @@ export declare const getRuntimeConfig: (
|
|
|
58
63
|
}
|
|
59
64
|
) => import("@smithy/types").EndpointV2;
|
|
60
65
|
tls?: boolean | undefined;
|
|
61
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
62
|
-
retryStrategy?:
|
|
63
|
-
| import("@smithy/types").RetryStrategy
|
|
64
|
-
| import("@smithy/types").RetryStrategyV2
|
|
65
|
-
| undefined;
|
|
66
66
|
httpAuthSchemes:
|
|
67
67
|
| import("@smithy/types").HttpAuthScheme[]
|
|
68
68
|
| (
|
|
@@ -38,6 +38,11 @@ export declare const getRuntimeConfig: (
|
|
|
38
38
|
serviceId: string;
|
|
39
39
|
logger: import("@smithy/types").Logger;
|
|
40
40
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
41
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
42
|
+
retryStrategy?:
|
|
43
|
+
| import("@smithy/types").RetryStrategy
|
|
44
|
+
| import("@smithy/types").RetryStrategyV2
|
|
45
|
+
| undefined;
|
|
41
46
|
endpoint?:
|
|
42
47
|
| ((
|
|
43
48
|
| string
|
|
@@ -62,11 +67,6 @@ export declare const getRuntimeConfig: (
|
|
|
62
67
|
}
|
|
63
68
|
) => import("@smithy/types").EndpointV2;
|
|
64
69
|
tls?: boolean | undefined;
|
|
65
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
66
|
-
retryStrategy?:
|
|
67
|
-
| import("@smithy/types").RetryStrategy
|
|
68
|
-
| import("@smithy/types").RetryStrategyV2
|
|
69
|
-
| undefined;
|
|
70
70
|
httpAuthSchemes:
|
|
71
71
|
| import("@smithy/types").HttpAuthScheme[]
|
|
72
72
|
| (
|
|
@@ -38,6 +38,11 @@ export declare const getRuntimeConfig: (
|
|
|
38
38
|
| import("@smithy/types").Provider<
|
|
39
39
|
import("@smithy/smithy-client").DefaultsMode
|
|
40
40
|
>;
|
|
41
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
42
|
+
retryStrategy?:
|
|
43
|
+
| import("@smithy/types").RetryStrategy
|
|
44
|
+
| import("@smithy/types").RetryStrategyV2
|
|
45
|
+
| undefined;
|
|
41
46
|
endpoint?:
|
|
42
47
|
| string
|
|
43
48
|
| import("@smithy/types").Endpoint
|
|
@@ -52,11 +57,6 @@ export declare const getRuntimeConfig: (
|
|
|
52
57
|
}
|
|
53
58
|
) => import("@smithy/types").EndpointV2;
|
|
54
59
|
tls?: boolean | undefined;
|
|
55
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
56
|
-
retryStrategy?:
|
|
57
|
-
| import("@smithy/types").RetryStrategy
|
|
58
|
-
| import("@smithy/types").RetryStrategyV2
|
|
59
|
-
| undefined;
|
|
60
60
|
httpAuthSchemes:
|
|
61
61
|
| import("@smithy/types").HttpAuthScheme[]
|
|
62
62
|
| (
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cognito-identity",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cognito Identity Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.622.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-cognito-identity",
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
25
|
-
"@aws-sdk/client-sts": "3.
|
|
26
|
-
"@aws-sdk/core": "3.
|
|
27
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sso-oidc": "3.622.0",
|
|
25
|
+
"@aws-sdk/client-sts": "3.622.0",
|
|
26
|
+
"@aws-sdk/core": "3.622.0",
|
|
27
|
+
"@aws-sdk/credential-provider-node": "3.622.0",
|
|
28
28
|
"@aws-sdk/middleware-host-header": "3.620.0",
|
|
29
29
|
"@aws-sdk/middleware-logger": "3.609.0",
|
|
30
30
|
"@aws-sdk/middleware-recursion-detection": "3.620.0",
|
|
@@ -35,26 +35,26 @@
|
|
|
35
35
|
"@aws-sdk/util-user-agent-browser": "3.609.0",
|
|
36
36
|
"@aws-sdk/util-user-agent-node": "3.614.0",
|
|
37
37
|
"@smithy/config-resolver": "^3.0.5",
|
|
38
|
-
"@smithy/core": "^2.3.
|
|
39
|
-
"@smithy/fetch-http-handler": "^3.2.
|
|
38
|
+
"@smithy/core": "^2.3.2",
|
|
39
|
+
"@smithy/fetch-http-handler": "^3.2.4",
|
|
40
40
|
"@smithy/hash-node": "^3.0.3",
|
|
41
41
|
"@smithy/invalid-dependency": "^3.0.3",
|
|
42
42
|
"@smithy/middleware-content-length": "^3.0.5",
|
|
43
43
|
"@smithy/middleware-endpoint": "^3.1.0",
|
|
44
|
-
"@smithy/middleware-retry": "^3.0.
|
|
44
|
+
"@smithy/middleware-retry": "^3.0.14",
|
|
45
45
|
"@smithy/middleware-serde": "^3.0.3",
|
|
46
46
|
"@smithy/middleware-stack": "^3.0.3",
|
|
47
47
|
"@smithy/node-config-provider": "^3.1.4",
|
|
48
48
|
"@smithy/node-http-handler": "^3.1.4",
|
|
49
49
|
"@smithy/protocol-http": "^4.1.0",
|
|
50
|
-
"@smithy/smithy-client": "^3.1.
|
|
50
|
+
"@smithy/smithy-client": "^3.1.12",
|
|
51
51
|
"@smithy/types": "^3.3.0",
|
|
52
52
|
"@smithy/url-parser": "^3.0.3",
|
|
53
53
|
"@smithy/util-base64": "^3.0.0",
|
|
54
54
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
55
55
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
56
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
57
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
56
|
+
"@smithy/util-defaults-mode-browser": "^3.0.14",
|
|
57
|
+
"@smithy/util-defaults-mode-node": "^3.0.14",
|
|
58
58
|
"@smithy/util-endpoints": "^2.0.5",
|
|
59
59
|
"@smithy/util-middleware": "^3.0.3",
|
|
60
60
|
"@smithy/util-retry": "^3.0.3",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"tslib": "^2.6.2"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
|
-
"@aws-sdk/client-iam": "3.
|
|
65
|
+
"@aws-sdk/client-iam": "3.622.0",
|
|
66
66
|
"@tsconfig/node16": "16.1.3",
|
|
67
67
|
"@types/chai": "^4.2.11",
|
|
68
68
|
"@types/mocha": "^8.0.4",
|