@aws-sdk/client-cognito-sync 3.295.0 → 3.297.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-types/CognitoSync.d.ts +114 -96
- package/dist-types/CognitoSyncClient.d.ts +24 -4
- package/dist-types/commands/BulkPublishCommand.d.ts +16 -0
- package/dist-types/commands/DeleteDatasetCommand.d.ts +16 -0
- package/dist-types/commands/DescribeDatasetCommand.d.ts +16 -0
- package/dist-types/commands/DescribeIdentityPoolUsageCommand.d.ts +26 -10
- package/dist-types/commands/DescribeIdentityUsageCommand.d.ts +26 -10
- package/dist-types/commands/GetBulkPublishDetailsCommand.d.ts +16 -0
- package/dist-types/commands/GetCognitoEventsCommand.d.ts +16 -0
- package/dist-types/commands/GetIdentityPoolConfigurationCommand.d.ts +26 -10
- package/dist-types/commands/ListDatasetsCommand.d.ts +26 -10
- package/dist-types/commands/ListIdentityPoolUsageCommand.d.ts +28 -12
- package/dist-types/commands/ListRecordsCommand.d.ts +24 -8
- package/dist-types/commands/RegisterDeviceCommand.d.ts +24 -8
- package/dist-types/commands/SetCognitoEventsCommand.d.ts +16 -0
- package/dist-types/commands/SetIdentityPoolConfigurationCommand.d.ts +28 -12
- package/dist-types/commands/SubscribeToDatasetCommand.d.ts +24 -8
- package/dist-types/commands/UnsubscribeFromDatasetCommand.d.ts +24 -8
- package/dist-types/commands/UpdateRecordsCommand.d.ts +16 -0
- package/dist-types/models/CognitoSyncServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +67 -0
- package/package.json +29 -29
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CognitoSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoSyncClient";
|
|
5
5
|
import { UpdateRecordsRequest, UpdateRecordsResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link UpdateRecordsCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface UpdateRecordsCommandInput extends UpdateRecordsRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link UpdateRecordsCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface UpdateRecordsCommandOutput extends UpdateRecordsResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Posts updates to records and adds and deletes records for a dataset and user.</p>
|
|
18
23
|
* <p>The sync count in the record patch is your last known sync count for that record. The server will reject an UpdateRecords request with a ResourceConflictException if you try to patch a record with a new value but a stale sync count.</p><p>For example, if the sync count on the server is 5 for a key called highScore and you try and submit a new highScore with sync count of 4, the request will be rejected. To obtain the current sync count for a record, call ListRecords. On a successful update of the record, the response returns the new sync count for that record. You should present that sync count the next time you try to update that same record. When the record does not exist, specify the sync count as 0.</p>
|
|
19
24
|
* <p>This API can be called with temporary user credentials provided by Cognito Identity or with developer credentials.</p>
|
|
@@ -27,6 +32,8 @@ export interface UpdateRecordsCommandOutput extends UpdateRecordsResponse, __Met
|
|
|
27
32
|
* const response = await client.send(command);
|
|
28
33
|
* ```
|
|
29
34
|
*
|
|
35
|
+
* @param UpdateRecordsCommandInput - {@link UpdateRecordsCommandInput}
|
|
36
|
+
* @returns {@link UpdateRecordsCommandOutput}
|
|
30
37
|
* @see {@link UpdateRecordsCommandInput} for command's `input` shape.
|
|
31
38
|
* @see {@link UpdateRecordsCommandOutput} for command's `response` shape.
|
|
32
39
|
* @see {@link CognitoSyncClientResolvedConfig | config} for CognitoSyncClient's `config` shape.
|
|
@@ -70,11 +77,20 @@ export interface UpdateRecordsCommandOutput extends UpdateRecordsResponse, __Met
|
|
|
70
77
|
export declare class UpdateRecordsCommand extends $Command<UpdateRecordsCommandInput, UpdateRecordsCommandOutput, CognitoSyncClientResolvedConfig> {
|
|
71
78
|
readonly input: UpdateRecordsCommandInput;
|
|
72
79
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
80
|
+
/**
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
73
83
|
constructor(input: UpdateRecordsCommandInput);
|
|
74
84
|
/**
|
|
75
85
|
* @internal
|
|
76
86
|
*/
|
|
77
87
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CognitoSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateRecordsCommandInput, UpdateRecordsCommandOutput>;
|
|
88
|
+
/**
|
|
89
|
+
* @internal
|
|
90
|
+
*/
|
|
78
91
|
private serialize;
|
|
92
|
+
/**
|
|
93
|
+
* @internal
|
|
94
|
+
*/
|
|
79
95
|
private deserialize;
|
|
80
96
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
2
|
/**
|
|
3
|
+
* @public
|
|
4
|
+
*
|
|
3
5
|
* Base exception class for all service exceptions from CognitoSync service.
|
|
4
6
|
*/
|
|
5
7
|
export declare class CognitoSyncServiceException extends __ServiceException {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { CognitoSyncServiceException as __BaseException } from "./CognitoSyncServiceException";
|
|
3
3
|
/**
|
|
4
|
+
* @public
|
|
4
5
|
* An exception thrown when a bulk publish operation is requested less than 24 hours after a previous bulk publish operation completed successfully.
|
|
5
6
|
*/
|
|
6
7
|
export declare class AlreadyStreamedException extends __BaseException {
|
|
@@ -12,6 +13,7 @@ export declare class AlreadyStreamedException extends __BaseException {
|
|
|
12
13
|
constructor(opts: __ExceptionOptionType<AlreadyStreamedException, __BaseException>);
|
|
13
14
|
}
|
|
14
15
|
/**
|
|
16
|
+
* @public
|
|
15
17
|
* The input for the BulkPublish operation.
|
|
16
18
|
*/
|
|
17
19
|
export interface BulkPublishRequest {
|
|
@@ -23,6 +25,7 @@ export interface BulkPublishRequest {
|
|
|
23
25
|
IdentityPoolId: string | undefined;
|
|
24
26
|
}
|
|
25
27
|
/**
|
|
28
|
+
* @public
|
|
26
29
|
* The output for the BulkPublish operation.
|
|
27
30
|
*/
|
|
28
31
|
export interface BulkPublishResponse {
|
|
@@ -34,6 +37,7 @@ export interface BulkPublishResponse {
|
|
|
34
37
|
IdentityPoolId?: string;
|
|
35
38
|
}
|
|
36
39
|
/**
|
|
40
|
+
* @public
|
|
37
41
|
* An exception thrown when there is an IN_PROGRESS bulk publish operation for the given identity pool.
|
|
38
42
|
*/
|
|
39
43
|
export declare class DuplicateRequestException extends __BaseException {
|
|
@@ -45,6 +49,7 @@ export declare class DuplicateRequestException extends __BaseException {
|
|
|
45
49
|
constructor(opts: __ExceptionOptionType<DuplicateRequestException, __BaseException>);
|
|
46
50
|
}
|
|
47
51
|
/**
|
|
52
|
+
* @public
|
|
48
53
|
* Indicates an internal service
|
|
49
54
|
* error.
|
|
50
55
|
*/
|
|
@@ -57,6 +62,7 @@ export declare class InternalErrorException extends __BaseException {
|
|
|
57
62
|
constructor(opts: __ExceptionOptionType<InternalErrorException, __BaseException>);
|
|
58
63
|
}
|
|
59
64
|
/**
|
|
65
|
+
* @public
|
|
60
66
|
* Thrown when a request parameter does not comply
|
|
61
67
|
* with the associated constraints.
|
|
62
68
|
*/
|
|
@@ -69,6 +75,7 @@ export declare class InvalidParameterException extends __BaseException {
|
|
|
69
75
|
constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
|
|
70
76
|
}
|
|
71
77
|
/**
|
|
78
|
+
* @public
|
|
72
79
|
* Thrown when a user is not authorized to access the
|
|
73
80
|
* requested resource.
|
|
74
81
|
*/
|
|
@@ -81,6 +88,7 @@ export declare class NotAuthorizedException extends __BaseException {
|
|
|
81
88
|
constructor(opts: __ExceptionOptionType<NotAuthorizedException, __BaseException>);
|
|
82
89
|
}
|
|
83
90
|
/**
|
|
91
|
+
* @public
|
|
84
92
|
* Thrown if the resource doesn't
|
|
85
93
|
* exist.
|
|
86
94
|
*/
|
|
@@ -93,6 +101,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
93
101
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
94
102
|
}
|
|
95
103
|
/**
|
|
104
|
+
* @public
|
|
96
105
|
* A request to delete the specific
|
|
97
106
|
* dataset.
|
|
98
107
|
*/
|
|
@@ -117,6 +126,7 @@ export interface DeleteDatasetRequest {
|
|
|
117
126
|
DatasetName: string | undefined;
|
|
118
127
|
}
|
|
119
128
|
/**
|
|
129
|
+
* @public
|
|
120
130
|
* A collection of data for an identity pool. An identity pool can
|
|
121
131
|
* have multiple datasets. A dataset is per identity and can be general or associated with a
|
|
122
132
|
* particular entity in an application (like a saved game). Datasets are automatically created if
|
|
@@ -161,6 +171,7 @@ export interface Dataset {
|
|
|
161
171
|
NumRecords?: number;
|
|
162
172
|
}
|
|
163
173
|
/**
|
|
174
|
+
* @public
|
|
164
175
|
* Response to a successful DeleteDataset
|
|
165
176
|
* request.
|
|
166
177
|
*/
|
|
@@ -175,6 +186,7 @@ export interface DeleteDatasetResponse {
|
|
|
175
186
|
Dataset?: Dataset;
|
|
176
187
|
}
|
|
177
188
|
/**
|
|
189
|
+
* @public
|
|
178
190
|
* Thrown if an update can't be applied because
|
|
179
191
|
* the resource was changed by another call and this would result in a conflict.
|
|
180
192
|
*/
|
|
@@ -187,6 +199,7 @@ export declare class ResourceConflictException extends __BaseException {
|
|
|
187
199
|
constructor(opts: __ExceptionOptionType<ResourceConflictException, __BaseException>);
|
|
188
200
|
}
|
|
189
201
|
/**
|
|
202
|
+
* @public
|
|
190
203
|
* Thrown if the request is
|
|
191
204
|
* throttled.
|
|
192
205
|
*/
|
|
@@ -199,6 +212,7 @@ export declare class TooManyRequestsException extends __BaseException {
|
|
|
199
212
|
constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
|
|
200
213
|
}
|
|
201
214
|
/**
|
|
215
|
+
* @public
|
|
202
216
|
* A request for meta data about a dataset (creation
|
|
203
217
|
* date, number of records, size) by owner and dataset name.
|
|
204
218
|
*/
|
|
@@ -223,6 +237,7 @@ export interface DescribeDatasetRequest {
|
|
|
223
237
|
DatasetName: string | undefined;
|
|
224
238
|
}
|
|
225
239
|
/**
|
|
240
|
+
* @public
|
|
226
241
|
* Response to a successful DescribeDataset
|
|
227
242
|
* request.
|
|
228
243
|
*/
|
|
@@ -237,6 +252,7 @@ export interface DescribeDatasetResponse {
|
|
|
237
252
|
Dataset?: Dataset;
|
|
238
253
|
}
|
|
239
254
|
/**
|
|
255
|
+
* @public
|
|
240
256
|
* A request for usage information about
|
|
241
257
|
* the identity pool.
|
|
242
258
|
*/
|
|
@@ -249,6 +265,7 @@ export interface DescribeIdentityPoolUsageRequest {
|
|
|
249
265
|
IdentityPoolId: string | undefined;
|
|
250
266
|
}
|
|
251
267
|
/**
|
|
268
|
+
* @public
|
|
252
269
|
* Usage information for the identity
|
|
253
270
|
* pool.
|
|
254
271
|
*/
|
|
@@ -276,6 +293,7 @@ export interface IdentityPoolUsage {
|
|
|
276
293
|
LastModifiedDate?: Date;
|
|
277
294
|
}
|
|
278
295
|
/**
|
|
296
|
+
* @public
|
|
279
297
|
* Response to a successful
|
|
280
298
|
* DescribeIdentityPoolUsage request.
|
|
281
299
|
*/
|
|
@@ -287,6 +305,7 @@ export interface DescribeIdentityPoolUsageResponse {
|
|
|
287
305
|
IdentityPoolUsage?: IdentityPoolUsage;
|
|
288
306
|
}
|
|
289
307
|
/**
|
|
308
|
+
* @public
|
|
290
309
|
* A request for information about the usage of
|
|
291
310
|
* an identity pool.
|
|
292
311
|
*/
|
|
@@ -305,6 +324,7 @@ export interface DescribeIdentityUsageRequest {
|
|
|
305
324
|
IdentityId: string | undefined;
|
|
306
325
|
}
|
|
307
326
|
/**
|
|
327
|
+
* @public
|
|
308
328
|
* Usage information for the identity.
|
|
309
329
|
*/
|
|
310
330
|
export interface IdentityUsage {
|
|
@@ -337,6 +357,7 @@ export interface IdentityUsage {
|
|
|
337
357
|
DataStorage?: number;
|
|
338
358
|
}
|
|
339
359
|
/**
|
|
360
|
+
* @public
|
|
340
361
|
* The response to a successful
|
|
341
362
|
* DescribeIdentityUsage request.
|
|
342
363
|
*/
|
|
@@ -348,6 +369,7 @@ export interface DescribeIdentityUsageResponse {
|
|
|
348
369
|
IdentityUsage?: IdentityUsage;
|
|
349
370
|
}
|
|
350
371
|
/**
|
|
372
|
+
* @public
|
|
351
373
|
* The input for the GetBulkPublishDetails operation.
|
|
352
374
|
*/
|
|
353
375
|
export interface GetBulkPublishDetailsRequest {
|
|
@@ -358,6 +380,9 @@ export interface GetBulkPublishDetailsRequest {
|
|
|
358
380
|
*/
|
|
359
381
|
IdentityPoolId: string | undefined;
|
|
360
382
|
}
|
|
383
|
+
/**
|
|
384
|
+
* @public
|
|
385
|
+
*/
|
|
361
386
|
export declare enum BulkPublishStatus {
|
|
362
387
|
FAILED = "FAILED",
|
|
363
388
|
IN_PROGRESS = "IN_PROGRESS",
|
|
@@ -365,6 +390,7 @@ export declare enum BulkPublishStatus {
|
|
|
365
390
|
SUCCEEDED = "SUCCEEDED"
|
|
366
391
|
}
|
|
367
392
|
/**
|
|
393
|
+
* @public
|
|
368
394
|
* The output for the GetBulkPublishDetails operation.
|
|
369
395
|
*/
|
|
370
396
|
export interface GetBulkPublishDetailsResponse {
|
|
@@ -396,6 +422,7 @@ export interface GetBulkPublishDetailsResponse {
|
|
|
396
422
|
FailureMessage?: string;
|
|
397
423
|
}
|
|
398
424
|
/**
|
|
425
|
+
* @public
|
|
399
426
|
* <p>A request for a list of the configured Cognito Events</p>
|
|
400
427
|
*/
|
|
401
428
|
export interface GetCognitoEventsRequest {
|
|
@@ -405,6 +432,7 @@ export interface GetCognitoEventsRequest {
|
|
|
405
432
|
IdentityPoolId: string | undefined;
|
|
406
433
|
}
|
|
407
434
|
/**
|
|
435
|
+
* @public
|
|
408
436
|
* <p>The response from the GetCognitoEvents request</p>
|
|
409
437
|
*/
|
|
410
438
|
export interface GetCognitoEventsResponse {
|
|
@@ -414,6 +442,7 @@ export interface GetCognitoEventsResponse {
|
|
|
414
442
|
Events?: Record<string, string>;
|
|
415
443
|
}
|
|
416
444
|
/**
|
|
445
|
+
* @public
|
|
417
446
|
* <p>The input for the GetIdentityPoolConfiguration operation.</p>
|
|
418
447
|
*/
|
|
419
448
|
export interface GetIdentityPoolConfigurationRequest {
|
|
@@ -423,8 +452,12 @@ export interface GetIdentityPoolConfigurationRequest {
|
|
|
423
452
|
*/
|
|
424
453
|
IdentityPoolId: string | undefined;
|
|
425
454
|
}
|
|
455
|
+
/**
|
|
456
|
+
* @public
|
|
457
|
+
*/
|
|
426
458
|
export type StreamingStatus = "DISABLED" | "ENABLED";
|
|
427
459
|
/**
|
|
460
|
+
* @public
|
|
428
461
|
* Configuration options for configure Cognito streams.
|
|
429
462
|
*/
|
|
430
463
|
export interface CognitoStreams {
|
|
@@ -444,6 +477,7 @@ export interface CognitoStreams {
|
|
|
444
477
|
StreamingStatus?: StreamingStatus | string;
|
|
445
478
|
}
|
|
446
479
|
/**
|
|
480
|
+
* @public
|
|
447
481
|
* <p>Configuration options to be applied to the identity pool.</p>
|
|
448
482
|
*/
|
|
449
483
|
export interface PushSync {
|
|
@@ -457,6 +491,7 @@ export interface PushSync {
|
|
|
457
491
|
RoleArn?: string;
|
|
458
492
|
}
|
|
459
493
|
/**
|
|
494
|
+
* @public
|
|
460
495
|
* <p>The output for the GetIdentityPoolConfiguration operation.</p>
|
|
461
496
|
*/
|
|
462
497
|
export interface GetIdentityPoolConfigurationResponse {
|
|
@@ -475,6 +510,7 @@ export interface GetIdentityPoolConfigurationResponse {
|
|
|
475
510
|
CognitoStreams?: CognitoStreams;
|
|
476
511
|
}
|
|
477
512
|
/**
|
|
513
|
+
* @public
|
|
478
514
|
* Request for a list of datasets for an
|
|
479
515
|
* identity.
|
|
480
516
|
*/
|
|
@@ -503,6 +539,7 @@ export interface ListDatasetsRequest {
|
|
|
503
539
|
MaxResults?: number;
|
|
504
540
|
}
|
|
505
541
|
/**
|
|
542
|
+
* @public
|
|
506
543
|
* Returned for a successful ListDatasets
|
|
507
544
|
* request.
|
|
508
545
|
*/
|
|
@@ -522,6 +559,7 @@ export interface ListDatasetsResponse {
|
|
|
522
559
|
NextToken?: string;
|
|
523
560
|
}
|
|
524
561
|
/**
|
|
562
|
+
* @public
|
|
525
563
|
* A request for usage information on an
|
|
526
564
|
* identity pool.
|
|
527
565
|
*/
|
|
@@ -538,6 +576,7 @@ export interface ListIdentityPoolUsageRequest {
|
|
|
538
576
|
MaxResults?: number;
|
|
539
577
|
}
|
|
540
578
|
/**
|
|
579
|
+
* @public
|
|
541
580
|
* Returned for a successful
|
|
542
581
|
* ListIdentityPoolUsage request.
|
|
543
582
|
*/
|
|
@@ -564,6 +603,7 @@ export interface ListIdentityPoolUsageResponse {
|
|
|
564
603
|
NextToken?: string;
|
|
565
604
|
}
|
|
566
605
|
/**
|
|
606
|
+
* @public
|
|
567
607
|
* A request for a list of records.
|
|
568
608
|
*/
|
|
569
609
|
export interface ListRecordsRequest {
|
|
@@ -606,6 +646,7 @@ export interface ListRecordsRequest {
|
|
|
606
646
|
SyncSessionToken?: string;
|
|
607
647
|
}
|
|
608
648
|
/**
|
|
649
|
+
* @public
|
|
609
650
|
* The basic data structure of a dataset.
|
|
610
651
|
*/
|
|
611
652
|
export interface _Record {
|
|
@@ -638,6 +679,7 @@ export interface _Record {
|
|
|
638
679
|
DeviceLastModifiedDate?: Date;
|
|
639
680
|
}
|
|
640
681
|
/**
|
|
682
|
+
* @public
|
|
641
683
|
* Returned for a successful
|
|
642
684
|
* ListRecordsRequest.
|
|
643
685
|
*/
|
|
@@ -686,6 +728,9 @@ export interface ListRecordsResponse {
|
|
|
686
728
|
*/
|
|
687
729
|
SyncSessionToken?: string;
|
|
688
730
|
}
|
|
731
|
+
/**
|
|
732
|
+
* @public
|
|
733
|
+
*/
|
|
689
734
|
export declare class InvalidConfigurationException extends __BaseException {
|
|
690
735
|
readonly name: "InvalidConfigurationException";
|
|
691
736
|
readonly $fault: "client";
|
|
@@ -694,8 +739,12 @@ export declare class InvalidConfigurationException extends __BaseException {
|
|
|
694
739
|
*/
|
|
695
740
|
constructor(opts: __ExceptionOptionType<InvalidConfigurationException, __BaseException>);
|
|
696
741
|
}
|
|
742
|
+
/**
|
|
743
|
+
* @public
|
|
744
|
+
*/
|
|
697
745
|
export type Platform = "ADM" | "APNS" | "APNS_SANDBOX" | "GCM";
|
|
698
746
|
/**
|
|
747
|
+
* @public
|
|
699
748
|
* <p>A request to RegisterDevice.</p>
|
|
700
749
|
*/
|
|
701
750
|
export interface RegisterDeviceRequest {
|
|
@@ -718,6 +767,7 @@ export interface RegisterDeviceRequest {
|
|
|
718
767
|
Token: string | undefined;
|
|
719
768
|
}
|
|
720
769
|
/**
|
|
770
|
+
* @public
|
|
721
771
|
* <p>Response to a RegisterDevice request.</p>
|
|
722
772
|
*/
|
|
723
773
|
export interface RegisterDeviceResponse {
|
|
@@ -727,6 +777,7 @@ export interface RegisterDeviceResponse {
|
|
|
727
777
|
DeviceId?: string;
|
|
728
778
|
}
|
|
729
779
|
/**
|
|
780
|
+
* @public
|
|
730
781
|
* <p>A request to configure Cognito Events"</p>"
|
|
731
782
|
*/
|
|
732
783
|
export interface SetCognitoEventsRequest {
|
|
@@ -740,6 +791,7 @@ export interface SetCognitoEventsRequest {
|
|
|
740
791
|
Events: Record<string, string> | undefined;
|
|
741
792
|
}
|
|
742
793
|
/**
|
|
794
|
+
* @public
|
|
743
795
|
* <p>Thrown if there are parallel requests to modify a resource.</p>
|
|
744
796
|
*/
|
|
745
797
|
export declare class ConcurrentModificationException extends __BaseException {
|
|
@@ -751,6 +803,7 @@ export declare class ConcurrentModificationException extends __BaseException {
|
|
|
751
803
|
constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
|
|
752
804
|
}
|
|
753
805
|
/**
|
|
806
|
+
* @public
|
|
754
807
|
* <p>The input for the SetIdentityPoolConfiguration operation.</p>
|
|
755
808
|
*/
|
|
756
809
|
export interface SetIdentityPoolConfigurationRequest {
|
|
@@ -769,6 +822,7 @@ export interface SetIdentityPoolConfigurationRequest {
|
|
|
769
822
|
CognitoStreams?: CognitoStreams;
|
|
770
823
|
}
|
|
771
824
|
/**
|
|
825
|
+
* @public
|
|
772
826
|
* <p>The output for the SetIdentityPoolConfiguration operation</p>
|
|
773
827
|
*/
|
|
774
828
|
export interface SetIdentityPoolConfigurationResponse {
|
|
@@ -787,6 +841,7 @@ export interface SetIdentityPoolConfigurationResponse {
|
|
|
787
841
|
CognitoStreams?: CognitoStreams;
|
|
788
842
|
}
|
|
789
843
|
/**
|
|
844
|
+
* @public
|
|
790
845
|
* <p>A request to SubscribeToDatasetRequest.</p>
|
|
791
846
|
*/
|
|
792
847
|
export interface SubscribeToDatasetRequest {
|
|
@@ -809,11 +864,13 @@ export interface SubscribeToDatasetRequest {
|
|
|
809
864
|
DeviceId: string | undefined;
|
|
810
865
|
}
|
|
811
866
|
/**
|
|
867
|
+
* @public
|
|
812
868
|
* <p>Response to a SubscribeToDataset request.</p>
|
|
813
869
|
*/
|
|
814
870
|
export interface SubscribeToDatasetResponse {
|
|
815
871
|
}
|
|
816
872
|
/**
|
|
873
|
+
* @public
|
|
817
874
|
* <p>A request to UnsubscribeFromDataset.</p>
|
|
818
875
|
*/
|
|
819
876
|
export interface UnsubscribeFromDatasetRequest {
|
|
@@ -836,11 +893,13 @@ export interface UnsubscribeFromDatasetRequest {
|
|
|
836
893
|
DeviceId: string | undefined;
|
|
837
894
|
}
|
|
838
895
|
/**
|
|
896
|
+
* @public
|
|
839
897
|
* <p>Response to an UnsubscribeFromDataset request.</p>
|
|
840
898
|
*/
|
|
841
899
|
export interface UnsubscribeFromDatasetResponse {
|
|
842
900
|
}
|
|
843
901
|
/**
|
|
902
|
+
* @public
|
|
844
903
|
* <p>The AWS Lambda function returned invalid output or an exception.</p>
|
|
845
904
|
*/
|
|
846
905
|
export declare class InvalidLambdaFunctionOutputException extends __BaseException {
|
|
@@ -852,6 +911,7 @@ export declare class InvalidLambdaFunctionOutputException extends __BaseExceptio
|
|
|
852
911
|
constructor(opts: __ExceptionOptionType<InvalidLambdaFunctionOutputException, __BaseException>);
|
|
853
912
|
}
|
|
854
913
|
/**
|
|
914
|
+
* @public
|
|
855
915
|
* <p>AWS Lambda throttled your account, please contact AWS Support</p>
|
|
856
916
|
*/
|
|
857
917
|
export declare class LambdaThrottledException extends __BaseException {
|
|
@@ -863,6 +923,7 @@ export declare class LambdaThrottledException extends __BaseException {
|
|
|
863
923
|
constructor(opts: __ExceptionOptionType<LambdaThrottledException, __BaseException>);
|
|
864
924
|
}
|
|
865
925
|
/**
|
|
926
|
+
* @public
|
|
866
927
|
* Thrown when the limit on the number of objects or
|
|
867
928
|
* operations has been exceeded.
|
|
868
929
|
*/
|
|
@@ -874,8 +935,12 @@ export declare class LimitExceededException extends __BaseException {
|
|
|
874
935
|
*/
|
|
875
936
|
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
876
937
|
}
|
|
938
|
+
/**
|
|
939
|
+
* @public
|
|
940
|
+
*/
|
|
877
941
|
export type Operation = "remove" | "replace";
|
|
878
942
|
/**
|
|
943
|
+
* @public
|
|
879
944
|
* An update operation for a record.
|
|
880
945
|
*/
|
|
881
946
|
export interface RecordPatch {
|
|
@@ -904,6 +969,7 @@ export interface RecordPatch {
|
|
|
904
969
|
DeviceLastModifiedDate?: Date;
|
|
905
970
|
}
|
|
906
971
|
/**
|
|
972
|
+
* @public
|
|
907
973
|
* A request to post updates to records or add and
|
|
908
974
|
* delete records for a dataset and user.
|
|
909
975
|
*/
|
|
@@ -948,6 +1014,7 @@ export interface UpdateRecordsRequest {
|
|
|
948
1014
|
ClientContext?: string;
|
|
949
1015
|
}
|
|
950
1016
|
/**
|
|
1017
|
+
* @public
|
|
951
1018
|
* Returned for a successful
|
|
952
1019
|
* UpdateRecordsRequest.
|
|
953
1020
|
*/
|
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.297.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",
|
|
@@ -20,37 +20,37 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
27
|
-
"@aws-sdk/hash-node": "3.
|
|
28
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
34
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
-
"@aws-sdk/middleware-serde": "3.
|
|
36
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
-
"@aws-sdk/middleware-stack": "3.
|
|
38
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
-
"@aws-sdk/node-http-handler": "3.
|
|
41
|
-
"@aws-sdk/protocol-http": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.297.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.296.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.297.0",
|
|
26
|
+
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
27
|
+
"@aws-sdk/hash-node": "3.296.0",
|
|
28
|
+
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
29
|
+
"@aws-sdk/middleware-content-length": "3.296.0",
|
|
30
|
+
"@aws-sdk/middleware-endpoint": "3.296.0",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.296.0",
|
|
33
|
+
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
34
|
+
"@aws-sdk/middleware-retry": "3.296.0",
|
|
35
|
+
"@aws-sdk/middleware-serde": "3.296.0",
|
|
36
|
+
"@aws-sdk/middleware-signing": "3.296.0",
|
|
37
|
+
"@aws-sdk/middleware-stack": "3.296.0",
|
|
38
|
+
"@aws-sdk/middleware-user-agent": "3.296.0",
|
|
39
|
+
"@aws-sdk/node-config-provider": "3.296.0",
|
|
40
|
+
"@aws-sdk/node-http-handler": "3.296.0",
|
|
41
|
+
"@aws-sdk/protocol-http": "3.296.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.296.0",
|
|
43
|
+
"@aws-sdk/types": "3.296.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.296.0",
|
|
45
45
|
"@aws-sdk/util-base64": "3.295.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.296.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.296.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.296.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.296.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.296.0",
|
|
54
54
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
55
55
|
"tslib": "^2.5.0"
|
|
56
56
|
},
|