@aws-sdk/client-cognito-sync 3.1044.0 → 3.1046.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/auth/httpAuthSchemeProvider.js +4 -4
- package/dist-cjs/endpoint/bdd.js +2 -2
- package/dist-cjs/endpoint/endpointResolver.js +4 -4
- package/dist-cjs/index.js +50 -51
- package/dist-cjs/models/CognitoSyncServiceException.js +3 -3
- package/dist-cjs/runtimeConfig.browser.js +12 -14
- package/dist-cjs/runtimeConfig.js +18 -22
- package/dist-cjs/runtimeConfig.shared.js +9 -10
- package/dist-es/CognitoSync.js +1 -1
- package/dist-es/CognitoSyncClient.js +5 -5
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
- package/dist-es/commands/BulkPublishCommand.js +2 -2
- package/dist-es/commands/DeleteDatasetCommand.js +2 -2
- package/dist-es/commands/DescribeDatasetCommand.js +2 -2
- package/dist-es/commands/DescribeIdentityPoolUsageCommand.js +2 -2
- package/dist-es/commands/DescribeIdentityUsageCommand.js +2 -2
- package/dist-es/commands/GetBulkPublishDetailsCommand.js +2 -2
- package/dist-es/commands/GetCognitoEventsCommand.js +2 -2
- package/dist-es/commands/GetIdentityPoolConfigurationCommand.js +2 -2
- package/dist-es/commands/ListDatasetsCommand.js +2 -2
- package/dist-es/commands/ListIdentityPoolUsageCommand.js +2 -2
- package/dist-es/commands/ListRecordsCommand.js +2 -2
- package/dist-es/commands/RegisterDeviceCommand.js +2 -2
- package/dist-es/commands/SetCognitoEventsCommand.js +2 -2
- package/dist-es/commands/SetIdentityPoolConfigurationCommand.js +2 -2
- package/dist-es/commands/SubscribeToDatasetCommand.js +2 -2
- package/dist-es/commands/UnsubscribeFromDatasetCommand.js +2 -2
- package/dist-es/commands/UpdateRecordsCommand.js +2 -2
- package/dist-es/endpoint/bdd.js +1 -1
- package/dist-es/endpoint/endpointResolver.js +1 -1
- package/dist-es/models/CognitoSyncServiceException.js +1 -1
- package/dist-es/runtimeConfig.browser.js +4 -6
- package/dist-es/runtimeConfig.js +4 -8
- package/dist-es/runtimeConfig.shared.js +3 -4
- package/dist-es/runtimeExtensions.js +2 -2
- package/dist-types/CognitoSyncClient.d.ts +5 -5
- package/dist-types/commands/BulkPublishCommand.d.ts +6 -4
- package/dist-types/commands/DeleteDatasetCommand.d.ts +6 -4
- package/dist-types/commands/DescribeDatasetCommand.d.ts +6 -4
- package/dist-types/commands/DescribeIdentityPoolUsageCommand.d.ts +6 -4
- package/dist-types/commands/DescribeIdentityUsageCommand.d.ts +6 -4
- package/dist-types/commands/GetBulkPublishDetailsCommand.d.ts +6 -4
- package/dist-types/commands/GetCognitoEventsCommand.d.ts +6 -4
- package/dist-types/commands/GetIdentityPoolConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/ListDatasetsCommand.d.ts +6 -4
- package/dist-types/commands/ListIdentityPoolUsageCommand.d.ts +6 -4
- package/dist-types/commands/ListRecordsCommand.d.ts +6 -4
- package/dist-types/commands/RegisterDeviceCommand.d.ts +6 -4
- package/dist-types/commands/SetCognitoEventsCommand.d.ts +6 -4
- package/dist-types/commands/SetIdentityPoolConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/SubscribeToDatasetCommand.d.ts +6 -4
- package/dist-types/commands/UnsubscribeFromDatasetCommand.d.ts +6 -4
- package/dist-types/commands/UpdateRecordsCommand.d.ts +6 -4
- package/dist-types/endpoint/bdd.d.ts +1 -1
- package/dist-types/extensionConfiguration.d.ts +1 -1
- package/dist-types/models/CognitoSyncServiceException.d.ts +1 -1
- package/dist-types/models/errors.d.ts +1 -1
- 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/CognitoSyncClient.d.ts +8 -14
- package/dist-types/ts3.4/commands/BulkPublishCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteDatasetCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeDatasetCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeIdentityPoolUsageCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeIdentityUsageCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetBulkPublishDetailsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetCognitoEventsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetIdentityPoolConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListDatasetsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListIdentityPoolUsageCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListRecordsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/RegisterDeviceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/SetCognitoEventsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/SetIdentityPoolConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/SubscribeToDatasetCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UnsubscribeFromDatasetCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateRecordsCommand.d.ts +6 -4
- package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/CognitoSyncServiceException.d.ts +1 -1
- package/dist-types/ts3.4/models/errors.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +13 -34
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import {
|
|
4
4
|
CognitoSyncClientResolvedConfig,
|
|
@@ -19,7 +19,7 @@ export interface SubscribeToDatasetCommandOutput
|
|
|
19
19
|
declare const SubscribeToDatasetCommand_base: {
|
|
20
20
|
new (
|
|
21
21
|
input: SubscribeToDatasetCommandInput
|
|
22
|
-
): import("@smithy/
|
|
22
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
23
|
SubscribeToDatasetCommandInput,
|
|
24
24
|
SubscribeToDatasetCommandOutput,
|
|
25
25
|
CognitoSyncClientResolvedConfig,
|
|
@@ -28,14 +28,16 @@ declare const SubscribeToDatasetCommand_base: {
|
|
|
28
28
|
>;
|
|
29
29
|
new (
|
|
30
30
|
input: SubscribeToDatasetCommandInput
|
|
31
|
-
): import("@smithy/
|
|
31
|
+
): import("@smithy/core/client").CommandImpl<
|
|
32
32
|
SubscribeToDatasetCommandInput,
|
|
33
33
|
SubscribeToDatasetCommandOutput,
|
|
34
34
|
CognitoSyncClientResolvedConfig,
|
|
35
35
|
ServiceInputTypes,
|
|
36
36
|
ServiceOutputTypes
|
|
37
37
|
>;
|
|
38
|
-
getEndpointParameterInstructions():
|
|
38
|
+
getEndpointParameterInstructions(): {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
};
|
|
39
41
|
};
|
|
40
42
|
export declare class SubscribeToDatasetCommand extends SubscribeToDatasetCommand_base {
|
|
41
43
|
protected static __types: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import {
|
|
4
4
|
CognitoSyncClientResolvedConfig,
|
|
@@ -19,7 +19,7 @@ export interface UnsubscribeFromDatasetCommandOutput
|
|
|
19
19
|
declare const UnsubscribeFromDatasetCommand_base: {
|
|
20
20
|
new (
|
|
21
21
|
input: UnsubscribeFromDatasetCommandInput
|
|
22
|
-
): import("@smithy/
|
|
22
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
23
|
UnsubscribeFromDatasetCommandInput,
|
|
24
24
|
UnsubscribeFromDatasetCommandOutput,
|
|
25
25
|
CognitoSyncClientResolvedConfig,
|
|
@@ -28,14 +28,16 @@ declare const UnsubscribeFromDatasetCommand_base: {
|
|
|
28
28
|
>;
|
|
29
29
|
new (
|
|
30
30
|
input: UnsubscribeFromDatasetCommandInput
|
|
31
|
-
): import("@smithy/
|
|
31
|
+
): import("@smithy/core/client").CommandImpl<
|
|
32
32
|
UnsubscribeFromDatasetCommandInput,
|
|
33
33
|
UnsubscribeFromDatasetCommandOutput,
|
|
34
34
|
CognitoSyncClientResolvedConfig,
|
|
35
35
|
ServiceInputTypes,
|
|
36
36
|
ServiceOutputTypes
|
|
37
37
|
>;
|
|
38
|
-
getEndpointParameterInstructions():
|
|
38
|
+
getEndpointParameterInstructions(): {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
};
|
|
39
41
|
};
|
|
40
42
|
export declare class UnsubscribeFromDatasetCommand extends UnsubscribeFromDatasetCommand_base {
|
|
41
43
|
protected static __types: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import {
|
|
4
4
|
CognitoSyncClientResolvedConfig,
|
|
@@ -18,7 +18,7 @@ export interface UpdateRecordsCommandOutput
|
|
|
18
18
|
declare const UpdateRecordsCommand_base: {
|
|
19
19
|
new (
|
|
20
20
|
input: UpdateRecordsCommandInput
|
|
21
|
-
): import("@smithy/
|
|
21
|
+
): import("@smithy/core/client").CommandImpl<
|
|
22
22
|
UpdateRecordsCommandInput,
|
|
23
23
|
UpdateRecordsCommandOutput,
|
|
24
24
|
CognitoSyncClientResolvedConfig,
|
|
@@ -27,14 +27,16 @@ declare const UpdateRecordsCommand_base: {
|
|
|
27
27
|
>;
|
|
28
28
|
new (
|
|
29
29
|
input: UpdateRecordsCommandInput
|
|
30
|
-
): import("@smithy/
|
|
30
|
+
): import("@smithy/core/client").CommandImpl<
|
|
31
31
|
UpdateRecordsCommandInput,
|
|
32
32
|
UpdateRecordsCommandOutput,
|
|
33
33
|
CognitoSyncClientResolvedConfig,
|
|
34
34
|
ServiceInputTypes,
|
|
35
35
|
ServiceOutputTypes
|
|
36
36
|
>;
|
|
37
|
-
getEndpointParameterInstructions():
|
|
37
|
+
getEndpointParameterInstructions(): {
|
|
38
|
+
[x: string]: unknown;
|
|
39
|
+
};
|
|
38
40
|
};
|
|
39
41
|
export declare class UpdateRecordsCommand extends UpdateRecordsCommand_base {
|
|
40
42
|
protected static __types: {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { BinaryDecisionDiagram } from "@smithy/
|
|
1
|
+
import { BinaryDecisionDiagram } from "@smithy/core/endpoints";
|
|
2
2
|
export declare const bdd: BinaryDecisionDiagram;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
-
import { HttpHandlerExtensionConfiguration } from "@smithy/
|
|
2
|
+
import { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
|
|
3
3
|
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
4
|
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
5
|
export interface CognitoSyncExtensionConfiguration
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ServiceExceptionOptions as __ServiceExceptionOptions,
|
|
3
3
|
ServiceException as __ServiceException,
|
|
4
|
-
} from "@smithy/
|
|
4
|
+
} from "@smithy/core/client";
|
|
5
5
|
export { __ServiceExceptionOptions };
|
|
6
6
|
export { __ServiceException };
|
|
7
7
|
export declare class CognitoSyncServiceException extends __ServiceException {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
|
|
2
2
|
import { CognitoSyncServiceException as __BaseException } from "./CognitoSyncServiceException";
|
|
3
3
|
export declare class AlreadyStreamedException extends __BaseException {
|
|
4
4
|
readonly name: "AlreadyStreamedException";
|
|
@@ -3,7 +3,7 @@ import { CognitoSyncClientConfig } from "./CognitoSyncClient";
|
|
|
3
3
|
export declare const getRuntimeConfig: (config: CognitoSyncClientConfig) => {
|
|
4
4
|
runtime: string;
|
|
5
5
|
defaultsMode: import("@smithy/types").Provider<
|
|
6
|
-
import("@smithy/
|
|
6
|
+
import("@smithy/core/client").ResolvedDefaultsMode
|
|
7
7
|
>;
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
9
|
credentialDefaultProvider:
|
|
@@ -17,7 +17,7 @@ export declare const getRuntimeConfig: (config: CognitoSyncClientConfig) => {
|
|
|
17
17
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
18
18
|
region: string | import("@smithy/types").Provider<any>;
|
|
19
19
|
requestHandler:
|
|
20
|
-
| import("@smithy/
|
|
20
|
+
| import("@smithy/core/protocols").HttpHandler<any>
|
|
21
21
|
| RequestHandler;
|
|
22
22
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
23
23
|
sha256: import("@smithy/types").HashConstructor;
|
|
@@ -3,7 +3,7 @@ import { CognitoSyncClientConfig } from "./CognitoSyncClient";
|
|
|
3
3
|
export declare const getRuntimeConfig: (config: CognitoSyncClientConfig) => {
|
|
4
4
|
runtime: string;
|
|
5
5
|
defaultsMode: import("@smithy/types").Provider<
|
|
6
|
-
import("@smithy/
|
|
6
|
+
import("@smithy/core/client").ResolvedDefaultsMode
|
|
7
7
|
>;
|
|
8
8
|
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
@@ -19,7 +19,7 @@ export declare const getRuntimeConfig: (config: CognitoSyncClientConfig) => {
|
|
|
19
19
|
region: string | import("@smithy/types").Provider<string>;
|
|
20
20
|
requestHandler:
|
|
21
21
|
| RequestHandler
|
|
22
|
-
| import("@smithy/
|
|
22
|
+
| import("@smithy/core/protocols").HttpHandler<any>;
|
|
23
23
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
24
24
|
sha256: import("@smithy/types").HashConstructor;
|
|
25
25
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: CognitoSyncClientConfig) => {
|
|
|
6
6
|
| import("@smithy/types").NodeHttpHandlerOptions
|
|
7
7
|
| import("@smithy/types").FetchHttpHandlerOptions
|
|
8
8
|
| Record<string, unknown>
|
|
9
|
-
| import("@smithy/
|
|
9
|
+
| import("@smithy/core/protocols").HttpHandler<any>
|
|
10
10
|
| import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
11
11
|
cacheMiddleware?: boolean;
|
|
12
12
|
protocol:
|
|
@@ -46,9 +46,9 @@ export declare const getRuntimeConfig: (config: CognitoSyncClientConfig) => {
|
|
|
46
46
|
logger: import("@smithy/types").Logger;
|
|
47
47
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
48
48
|
defaultsMode:
|
|
49
|
-
| import("@smithy/
|
|
49
|
+
| import("@smithy/core/client").DefaultsMode
|
|
50
50
|
| import("@smithy/types").Provider<
|
|
51
|
-
import("@smithy/
|
|
51
|
+
import("@smithy/core/client").DefaultsMode
|
|
52
52
|
>;
|
|
53
53
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
54
54
|
userAgentAppId?:
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cognito-sync",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cognito Sync Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1046.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-cognito-sync",
|
|
@@ -25,42 +25,21 @@
|
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
27
27
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
28
|
-
"@aws-sdk/core": "^3.974.
|
|
29
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
30
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
28
|
+
"@aws-sdk/core": "^3.974.9",
|
|
29
|
+
"@aws-sdk/credential-provider-node": "^3.972.40",
|
|
30
|
+
"@aws-sdk/middleware-host-header": "^3.972.11",
|
|
31
31
|
"@aws-sdk/middleware-logger": "^3.972.10",
|
|
32
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
33
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
34
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
32
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.12",
|
|
33
|
+
"@aws-sdk/middleware-user-agent": "^3.972.39",
|
|
34
|
+
"@aws-sdk/region-config-resolver": "^3.972.14",
|
|
35
35
|
"@aws-sdk/types": "^3.973.8",
|
|
36
|
-
"@aws-sdk/util-endpoints": "^3.996.
|
|
37
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
38
|
-
"@aws-sdk/util-user-agent-node": "^3.973.
|
|
39
|
-
"@smithy/
|
|
40
|
-
"@smithy/
|
|
41
|
-
"@smithy/
|
|
42
|
-
"@smithy/hash-node": "^4.2.14",
|
|
43
|
-
"@smithy/invalid-dependency": "^4.2.14",
|
|
44
|
-
"@smithy/middleware-content-length": "^4.2.14",
|
|
45
|
-
"@smithy/middleware-endpoint": "^4.4.32",
|
|
46
|
-
"@smithy/middleware-retry": "^4.5.7",
|
|
47
|
-
"@smithy/middleware-serde": "^4.2.20",
|
|
48
|
-
"@smithy/middleware-stack": "^4.2.14",
|
|
49
|
-
"@smithy/node-config-provider": "^4.3.14",
|
|
50
|
-
"@smithy/node-http-handler": "^4.6.1",
|
|
51
|
-
"@smithy/protocol-http": "^5.3.14",
|
|
52
|
-
"@smithy/smithy-client": "^4.12.13",
|
|
36
|
+
"@aws-sdk/util-endpoints": "^3.996.9",
|
|
37
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.11",
|
|
38
|
+
"@aws-sdk/util-user-agent-node": "^3.973.25",
|
|
39
|
+
"@smithy/core": "^3.24.1",
|
|
40
|
+
"@smithy/fetch-http-handler": "^5.4.1",
|
|
41
|
+
"@smithy/node-http-handler": "^4.7.1",
|
|
53
42
|
"@smithy/types": "^4.14.1",
|
|
54
|
-
"@smithy/url-parser": "^4.2.14",
|
|
55
|
-
"@smithy/util-base64": "^4.3.2",
|
|
56
|
-
"@smithy/util-body-length-browser": "^4.2.2",
|
|
57
|
-
"@smithy/util-body-length-node": "^4.2.3",
|
|
58
|
-
"@smithy/util-defaults-mode-browser": "^4.3.49",
|
|
59
|
-
"@smithy/util-defaults-mode-node": "^4.2.54",
|
|
60
|
-
"@smithy/util-endpoints": "^3.4.2",
|
|
61
|
-
"@smithy/util-middleware": "^4.2.14",
|
|
62
|
-
"@smithy/util-retry": "^4.3.6",
|
|
63
|
-
"@smithy/util-utf8": "^4.2.2",
|
|
64
43
|
"tslib": "^2.6.2"
|
|
65
44
|
},
|
|
66
45
|
"devDependencies": {
|