@aws-sdk/client-cognito-sync 3.299.0 → 3.301.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.
@@ -26,6 +26,9 @@ export interface BulkPublishCommandOutput extends BulkPublishResponse, __Metadat
26
26
  * import { CognitoSyncClient, BulkPublishCommand } from "@aws-sdk/client-cognito-sync"; // ES Modules import
27
27
  * // const { CognitoSyncClient, BulkPublishCommand } = require("@aws-sdk/client-cognito-sync"); // CommonJS import
28
28
  * const client = new CognitoSyncClient(config);
29
+ * const input = { // BulkPublishRequest
30
+ * IdentityPoolId: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new BulkPublishCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -30,6 +30,11 @@ export interface DeleteDatasetCommandOutput extends DeleteDatasetResponse, __Met
30
30
  * import { CognitoSyncClient, DeleteDatasetCommand } from "@aws-sdk/client-cognito-sync"; // ES Modules import
31
31
  * // const { CognitoSyncClient, DeleteDatasetCommand } = require("@aws-sdk/client-cognito-sync"); // CommonJS import
32
32
  * const client = new CognitoSyncClient(config);
33
+ * const input = { // DeleteDatasetRequest
34
+ * IdentityPoolId: "STRING_VALUE", // required
35
+ * IdentityId: "STRING_VALUE", // required
36
+ * DatasetName: "STRING_VALUE", // required
37
+ * };
33
38
  * const command = new DeleteDatasetCommand(input);
34
39
  * const response = await client.send(command);
35
40
  * ```
@@ -29,6 +29,11 @@ export interface DescribeDatasetCommandOutput extends DescribeDatasetResponse, _
29
29
  * import { CognitoSyncClient, DescribeDatasetCommand } from "@aws-sdk/client-cognito-sync"; // ES Modules import
30
30
  * // const { CognitoSyncClient, DescribeDatasetCommand } = require("@aws-sdk/client-cognito-sync"); // CommonJS import
31
31
  * const client = new CognitoSyncClient(config);
32
+ * const input = { // DescribeDatasetRequest
33
+ * IdentityPoolId: "STRING_VALUE", // required
34
+ * IdentityId: "STRING_VALUE", // required
35
+ * DatasetName: "STRING_VALUE", // required
36
+ * };
32
37
  * const command = new DescribeDatasetCommand(input);
33
38
  * const response = await client.send(command);
34
39
  * ```
@@ -74,6 +74,9 @@ export interface DescribeIdentityPoolUsageCommandOutput extends DescribeIdentity
74
74
  * import { CognitoSyncClient, DescribeIdentityPoolUsageCommand } from "@aws-sdk/client-cognito-sync"; // ES Modules import
75
75
  * // const { CognitoSyncClient, DescribeIdentityPoolUsageCommand } = require("@aws-sdk/client-cognito-sync"); // CommonJS import
76
76
  * const client = new CognitoSyncClient(config);
77
+ * const input = { // DescribeIdentityPoolUsageRequest
78
+ * IdentityPoolId: "STRING_VALUE", // required
79
+ * };
77
80
  * const command = new DescribeIdentityPoolUsageCommand(input);
78
81
  * const response = await client.send(command);
79
82
  * ```
@@ -75,6 +75,10 @@ export interface DescribeIdentityUsageCommandOutput extends DescribeIdentityUsag
75
75
  * import { CognitoSyncClient, DescribeIdentityUsageCommand } from "@aws-sdk/client-cognito-sync"; // ES Modules import
76
76
  * // const { CognitoSyncClient, DescribeIdentityUsageCommand } = require("@aws-sdk/client-cognito-sync"); // CommonJS import
77
77
  * const client = new CognitoSyncClient(config);
78
+ * const input = { // DescribeIdentityUsageRequest
79
+ * IdentityPoolId: "STRING_VALUE", // required
80
+ * IdentityId: "STRING_VALUE", // required
81
+ * };
78
82
  * const command = new DescribeIdentityUsageCommand(input);
79
83
  * const response = await client.send(command);
80
84
  * ```
@@ -26,6 +26,9 @@ export interface GetBulkPublishDetailsCommandOutput extends GetBulkPublishDetail
26
26
  * import { CognitoSyncClient, GetBulkPublishDetailsCommand } from "@aws-sdk/client-cognito-sync"; // ES Modules import
27
27
  * // const { CognitoSyncClient, GetBulkPublishDetailsCommand } = require("@aws-sdk/client-cognito-sync"); // CommonJS import
28
28
  * const client = new CognitoSyncClient(config);
29
+ * const input = { // GetBulkPublishDetailsRequest
30
+ * IdentityPoolId: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new GetBulkPublishDetailsCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,9 @@ export interface GetCognitoEventsCommandOutput extends GetCognitoEventsResponse,
26
26
  * import { CognitoSyncClient, GetCognitoEventsCommand } from "@aws-sdk/client-cognito-sync"; // ES Modules import
27
27
  * // const { CognitoSyncClient, GetCognitoEventsCommand } = require("@aws-sdk/client-cognito-sync"); // CommonJS import
28
28
  * const client = new CognitoSyncClient(config);
29
+ * const input = { // GetCognitoEventsRequest
30
+ * IdentityPoolId: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new GetCognitoEventsCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -72,6 +72,9 @@ export interface GetIdentityPoolConfigurationCommandOutput extends GetIdentityPo
72
72
  * import { CognitoSyncClient, GetIdentityPoolConfigurationCommand } from "@aws-sdk/client-cognito-sync"; // ES Modules import
73
73
  * // const { CognitoSyncClient, GetIdentityPoolConfigurationCommand } = require("@aws-sdk/client-cognito-sync"); // CommonJS import
74
74
  * const client = new CognitoSyncClient(config);
75
+ * const input = { // GetIdentityPoolConfigurationRequest
76
+ * IdentityPoolId: "STRING_VALUE", // required
77
+ * };
75
78
  * const command = new GetIdentityPoolConfigurationCommand(input);
76
79
  * const response = await client.send(command);
77
80
  * ```
@@ -84,6 +84,12 @@ export interface ListDatasetsCommandOutput extends ListDatasetsResponse, __Metad
84
84
  * import { CognitoSyncClient, ListDatasetsCommand } from "@aws-sdk/client-cognito-sync"; // ES Modules import
85
85
  * // const { CognitoSyncClient, ListDatasetsCommand } = require("@aws-sdk/client-cognito-sync"); // CommonJS import
86
86
  * const client = new CognitoSyncClient(config);
87
+ * const input = { // ListDatasetsRequest
88
+ * IdentityPoolId: "STRING_VALUE", // required
89
+ * IdentityId: "STRING_VALUE", // required
90
+ * NextToken: "STRING_VALUE",
91
+ * MaxResults: Number("int"),
92
+ * };
87
93
  * const command = new ListDatasetsCommand(input);
88
94
  * const response = await client.send(command);
89
95
  * ```
@@ -84,6 +84,10 @@ export interface ListIdentityPoolUsageCommandOutput extends ListIdentityPoolUsag
84
84
  * import { CognitoSyncClient, ListIdentityPoolUsageCommand } from "@aws-sdk/client-cognito-sync"; // ES Modules import
85
85
  * // const { CognitoSyncClient, ListIdentityPoolUsageCommand } = require("@aws-sdk/client-cognito-sync"); // CommonJS import
86
86
  * const client = new CognitoSyncClient(config);
87
+ * const input = { // ListIdentityPoolUsageRequest
88
+ * NextToken: "STRING_VALUE",
89
+ * MaxResults: Number("int"),
90
+ * };
87
91
  * const command = new ListIdentityPoolUsageCommand(input);
88
92
  * const response = await client.send(command);
89
93
  * ```
@@ -81,6 +81,15 @@ export interface ListRecordsCommandOutput extends ListRecordsResponse, __Metadat
81
81
  * import { CognitoSyncClient, ListRecordsCommand } from "@aws-sdk/client-cognito-sync"; // ES Modules import
82
82
  * // const { CognitoSyncClient, ListRecordsCommand } = require("@aws-sdk/client-cognito-sync"); // CommonJS import
83
83
  * const client = new CognitoSyncClient(config);
84
+ * const input = { // ListRecordsRequest
85
+ * IdentityPoolId: "STRING_VALUE", // required
86
+ * IdentityId: "STRING_VALUE", // required
87
+ * DatasetName: "STRING_VALUE", // required
88
+ * LastSyncCount: Number("long"),
89
+ * NextToken: "STRING_VALUE",
90
+ * MaxResults: Number("int"),
91
+ * SyncSessionToken: "STRING_VALUE",
92
+ * };
84
93
  * const command = new ListRecordsCommand(input);
85
94
  * const response = await client.send(command);
86
95
  * ```
@@ -70,6 +70,12 @@ export interface RegisterDeviceCommandOutput extends RegisterDeviceResponse, __M
70
70
  * import { CognitoSyncClient, RegisterDeviceCommand } from "@aws-sdk/client-cognito-sync"; // ES Modules import
71
71
  * // const { CognitoSyncClient, RegisterDeviceCommand } = require("@aws-sdk/client-cognito-sync"); // CommonJS import
72
72
  * const client = new CognitoSyncClient(config);
73
+ * const input = { // RegisterDeviceRequest
74
+ * IdentityPoolId: "STRING_VALUE", // required
75
+ * IdentityId: "STRING_VALUE", // required
76
+ * Platform: "STRING_VALUE", // required
77
+ * Token: "STRING_VALUE", // required
78
+ * };
73
79
  * const command = new RegisterDeviceCommand(input);
74
80
  * const response = await client.send(command);
75
81
  * ```
@@ -26,6 +26,12 @@ export interface SetCognitoEventsCommandOutput extends __MetadataBearer {
26
26
  * import { CognitoSyncClient, SetCognitoEventsCommand } from "@aws-sdk/client-cognito-sync"; // ES Modules import
27
27
  * // const { CognitoSyncClient, SetCognitoEventsCommand } = require("@aws-sdk/client-cognito-sync"); // CommonJS import
28
28
  * const client = new CognitoSyncClient(config);
29
+ * const input = { // SetCognitoEventsRequest
30
+ * IdentityPoolId: "STRING_VALUE", // required
31
+ * Events: { // Events // required
32
+ * "<keys>": "STRING_VALUE",
33
+ * },
34
+ * };
29
35
  * const command = new SetCognitoEventsCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -76,6 +76,20 @@ export interface SetIdentityPoolConfigurationCommandOutput extends SetIdentityPo
76
76
  * import { CognitoSyncClient, SetIdentityPoolConfigurationCommand } from "@aws-sdk/client-cognito-sync"; // ES Modules import
77
77
  * // const { CognitoSyncClient, SetIdentityPoolConfigurationCommand } = require("@aws-sdk/client-cognito-sync"); // CommonJS import
78
78
  * const client = new CognitoSyncClient(config);
79
+ * const input = { // SetIdentityPoolConfigurationRequest
80
+ * IdentityPoolId: "STRING_VALUE", // required
81
+ * PushSync: { // PushSync
82
+ * ApplicationArns: [ // ApplicationArnList
83
+ * "STRING_VALUE",
84
+ * ],
85
+ * RoleArn: "STRING_VALUE",
86
+ * },
87
+ * CognitoStreams: { // CognitoStreams
88
+ * StreamName: "STRING_VALUE",
89
+ * RoleArn: "STRING_VALUE",
90
+ * StreamingStatus: "STRING_VALUE",
91
+ * },
92
+ * };
79
93
  * const command = new SetIdentityPoolConfigurationCommand(input);
80
94
  * const response = await client.send(command);
81
95
  * ```
@@ -69,6 +69,12 @@ export interface SubscribeToDatasetCommandOutput extends SubscribeToDatasetRespo
69
69
  * import { CognitoSyncClient, SubscribeToDatasetCommand } from "@aws-sdk/client-cognito-sync"; // ES Modules import
70
70
  * // const { CognitoSyncClient, SubscribeToDatasetCommand } = require("@aws-sdk/client-cognito-sync"); // CommonJS import
71
71
  * const client = new CognitoSyncClient(config);
72
+ * const input = { // SubscribeToDatasetRequest
73
+ * IdentityPoolId: "STRING_VALUE", // required
74
+ * IdentityId: "STRING_VALUE", // required
75
+ * DatasetName: "STRING_VALUE", // required
76
+ * DeviceId: "STRING_VALUE", // required
77
+ * };
72
78
  * const command = new SubscribeToDatasetCommand(input);
73
79
  * const response = await client.send(command);
74
80
  * ```
@@ -70,6 +70,12 @@ export interface UnsubscribeFromDatasetCommandOutput extends UnsubscribeFromData
70
70
  * import { CognitoSyncClient, UnsubscribeFromDatasetCommand } from "@aws-sdk/client-cognito-sync"; // ES Modules import
71
71
  * // const { CognitoSyncClient, UnsubscribeFromDatasetCommand } = require("@aws-sdk/client-cognito-sync"); // CommonJS import
72
72
  * const client = new CognitoSyncClient(config);
73
+ * const input = { // UnsubscribeFromDatasetRequest
74
+ * IdentityPoolId: "STRING_VALUE", // required
75
+ * IdentityId: "STRING_VALUE", // required
76
+ * DatasetName: "STRING_VALUE", // required
77
+ * DeviceId: "STRING_VALUE", // required
78
+ * };
73
79
  * const command = new UnsubscribeFromDatasetCommand(input);
74
80
  * const response = await client.send(command);
75
81
  * ```
@@ -28,6 +28,23 @@ export interface UpdateRecordsCommandOutput extends UpdateRecordsResponse, __Met
28
28
  * import { CognitoSyncClient, UpdateRecordsCommand } from "@aws-sdk/client-cognito-sync"; // ES Modules import
29
29
  * // const { CognitoSyncClient, UpdateRecordsCommand } = require("@aws-sdk/client-cognito-sync"); // CommonJS import
30
30
  * const client = new CognitoSyncClient(config);
31
+ * const input = { // UpdateRecordsRequest
32
+ * IdentityPoolId: "STRING_VALUE", // required
33
+ * IdentityId: "STRING_VALUE", // required
34
+ * DatasetName: "STRING_VALUE", // required
35
+ * DeviceId: "STRING_VALUE",
36
+ * RecordPatches: [ // RecordPatchList
37
+ * { // RecordPatch
38
+ * Op: "STRING_VALUE", // required
39
+ * Key: "STRING_VALUE", // required
40
+ * Value: "STRING_VALUE",
41
+ * SyncCount: Number("long"), // required
42
+ * DeviceLastModifiedDate: new Date("TIMESTAMP"),
43
+ * },
44
+ * ],
45
+ * SyncSessionToken: "STRING_VALUE", // required
46
+ * ClientContext: "STRING_VALUE",
47
+ * };
31
48
  * const command = new UpdateRecordsCommand(input);
32
49
  * const response = await client.send(command);
33
50
  * ```
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.299.0",
4
+ "version": "3.301.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.299.0",
25
- "@aws-sdk/config-resolver": "3.299.0",
26
- "@aws-sdk/credential-provider-node": "3.299.0",
24
+ "@aws-sdk/client-sts": "3.301.0",
25
+ "@aws-sdk/config-resolver": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.301.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.296.0",
28
28
  "@aws-sdk/hash-node": "3.296.0",
29
29
  "@aws-sdk/invalid-dependency": "3.296.0",
@@ -32,12 +32,12 @@
32
32
  "@aws-sdk/middleware-host-header": "3.296.0",
33
33
  "@aws-sdk/middleware-logger": "3.296.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.296.0",
35
+ "@aws-sdk/middleware-retry": "3.300.0",
36
36
  "@aws-sdk/middleware-serde": "3.296.0",
37
37
  "@aws-sdk/middleware-signing": "3.299.0",
38
38
  "@aws-sdk/middleware-stack": "3.296.0",
39
39
  "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.296.0",
40
+ "@aws-sdk/node-config-provider": "3.300.0",
41
41
  "@aws-sdk/node-http-handler": "3.296.0",
42
42
  "@aws-sdk/protocol-http": "3.296.0",
43
43
  "@aws-sdk/smithy-client": "3.296.0",
@@ -47,11 +47,11 @@
47
47
  "@aws-sdk/util-body-length-browser": "3.295.0",
48
48
  "@aws-sdk/util-body-length-node": "3.295.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.299.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
51
  "@aws-sdk/util-endpoints": "3.296.0",
52
52
  "@aws-sdk/util-retry": "3.296.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.299.0",
54
+ "@aws-sdk/util-user-agent-node": "3.300.0",
55
55
  "@aws-sdk/util-utf8": "3.295.0",
56
56
  "tslib": "^2.5.0"
57
57
  },