@aws-sdk/client-cognito-sync 3.686.0 → 3.691.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.
|
@@ -36,7 +36,7 @@ export interface BulkPublishResponse {
|
|
|
36
36
|
* unique within a region.
|
|
37
37
|
* @public
|
|
38
38
|
*/
|
|
39
|
-
IdentityPoolId?: string;
|
|
39
|
+
IdentityPoolId?: string | undefined;
|
|
40
40
|
}
|
|
41
41
|
/**
|
|
42
42
|
* An exception thrown when there is an IN_PROGRESS bulk publish operation for the given identity pool.
|
|
@@ -145,42 +145,42 @@ export interface Dataset {
|
|
|
145
145
|
* unique within a region.
|
|
146
146
|
* @public
|
|
147
147
|
*/
|
|
148
|
-
IdentityId?: string;
|
|
148
|
+
IdentityId?: string | undefined;
|
|
149
149
|
/**
|
|
150
150
|
* A string of up to 128 characters. Allowed characters
|
|
151
151
|
* are a-z, A-Z, 0-9, '_' (underscore), '-' (dash), and '.' (dot).
|
|
152
152
|
* @public
|
|
153
153
|
*/
|
|
154
|
-
DatasetName?: string;
|
|
154
|
+
DatasetName?: string | undefined;
|
|
155
155
|
/**
|
|
156
156
|
* Date on which the dataset was
|
|
157
157
|
* created.
|
|
158
158
|
* @public
|
|
159
159
|
*/
|
|
160
|
-
CreationDate?: Date;
|
|
160
|
+
CreationDate?: Date | undefined;
|
|
161
161
|
/**
|
|
162
162
|
* Date when the dataset was last
|
|
163
163
|
* modified.
|
|
164
164
|
* @public
|
|
165
165
|
*/
|
|
166
|
-
LastModifiedDate?: Date;
|
|
166
|
+
LastModifiedDate?: Date | undefined;
|
|
167
167
|
/**
|
|
168
168
|
* The device that made the last change to this
|
|
169
169
|
* dataset.
|
|
170
170
|
* @public
|
|
171
171
|
*/
|
|
172
|
-
LastModifiedBy?: string;
|
|
172
|
+
LastModifiedBy?: string | undefined;
|
|
173
173
|
/**
|
|
174
174
|
* Total size in bytes of the records in this
|
|
175
175
|
* dataset.
|
|
176
176
|
* @public
|
|
177
177
|
*/
|
|
178
|
-
DataStorage?: number;
|
|
178
|
+
DataStorage?: number | undefined;
|
|
179
179
|
/**
|
|
180
180
|
* Number of records in this dataset.
|
|
181
181
|
* @public
|
|
182
182
|
*/
|
|
183
|
-
NumRecords?: number;
|
|
183
|
+
NumRecords?: number | undefined;
|
|
184
184
|
}
|
|
185
185
|
/**
|
|
186
186
|
* Response to a successful DeleteDataset
|
|
@@ -196,7 +196,7 @@ export interface DeleteDatasetResponse {
|
|
|
196
196
|
* up to 1MB of key-value pairs.
|
|
197
197
|
* @public
|
|
198
198
|
*/
|
|
199
|
-
Dataset?: Dataset;
|
|
199
|
+
Dataset?: Dataset | undefined;
|
|
200
200
|
}
|
|
201
201
|
/**
|
|
202
202
|
* Thrown if an update can't be applied because
|
|
@@ -266,7 +266,7 @@ export interface DescribeDatasetResponse {
|
|
|
266
266
|
* pairs.
|
|
267
267
|
* @public
|
|
268
268
|
*/
|
|
269
|
-
Dataset?: Dataset;
|
|
269
|
+
Dataset?: Dataset | undefined;
|
|
270
270
|
}
|
|
271
271
|
/**
|
|
272
272
|
* A request for usage information about
|
|
@@ -294,25 +294,25 @@ export interface IdentityPoolUsage {
|
|
|
294
294
|
* unique within a region.
|
|
295
295
|
* @public
|
|
296
296
|
*/
|
|
297
|
-
IdentityPoolId?: string;
|
|
297
|
+
IdentityPoolId?: string | undefined;
|
|
298
298
|
/**
|
|
299
299
|
* Number of sync sessions for the
|
|
300
300
|
* identity pool.
|
|
301
301
|
* @public
|
|
302
302
|
*/
|
|
303
|
-
SyncSessionsCount?: number;
|
|
303
|
+
SyncSessionsCount?: number | undefined;
|
|
304
304
|
/**
|
|
305
305
|
* Data storage information for the identity
|
|
306
306
|
* pool.
|
|
307
307
|
* @public
|
|
308
308
|
*/
|
|
309
|
-
DataStorage?: number;
|
|
309
|
+
DataStorage?: number | undefined;
|
|
310
310
|
/**
|
|
311
311
|
* Date on which the identity pool was
|
|
312
312
|
* last modified.
|
|
313
313
|
* @public
|
|
314
314
|
*/
|
|
315
|
-
LastModifiedDate?: Date;
|
|
315
|
+
LastModifiedDate?: Date | undefined;
|
|
316
316
|
}
|
|
317
317
|
/**
|
|
318
318
|
* Response to a successful
|
|
@@ -325,7 +325,7 @@ export interface DescribeIdentityPoolUsageResponse {
|
|
|
325
325
|
* usage of the identity pool.
|
|
326
326
|
* @public
|
|
327
327
|
*/
|
|
328
|
-
IdentityPoolUsage?: IdentityPoolUsage;
|
|
328
|
+
IdentityPoolUsage?: IdentityPoolUsage | undefined;
|
|
329
329
|
}
|
|
330
330
|
/**
|
|
331
331
|
* A request for information about the usage of
|
|
@@ -359,32 +359,32 @@ export interface IdentityUsage {
|
|
|
359
359
|
* unique within a region.
|
|
360
360
|
* @public
|
|
361
361
|
*/
|
|
362
|
-
IdentityId?: string;
|
|
362
|
+
IdentityId?: string | undefined;
|
|
363
363
|
/**
|
|
364
364
|
* A name-spaced GUID (for example,
|
|
365
365
|
* us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is
|
|
366
366
|
* unique within a region.
|
|
367
367
|
* @public
|
|
368
368
|
*/
|
|
369
|
-
IdentityPoolId?: string;
|
|
369
|
+
IdentityPoolId?: string | undefined;
|
|
370
370
|
/**
|
|
371
371
|
* Date on which the identity was last
|
|
372
372
|
* modified.
|
|
373
373
|
* @public
|
|
374
374
|
*/
|
|
375
|
-
LastModifiedDate?: Date;
|
|
375
|
+
LastModifiedDate?: Date | undefined;
|
|
376
376
|
/**
|
|
377
377
|
* Number of datasets for the
|
|
378
378
|
* identity.
|
|
379
379
|
* @public
|
|
380
380
|
*/
|
|
381
|
-
DatasetCount?: number;
|
|
381
|
+
DatasetCount?: number | undefined;
|
|
382
382
|
/**
|
|
383
383
|
* Total data storage for this
|
|
384
384
|
* identity.
|
|
385
385
|
* @public
|
|
386
386
|
*/
|
|
387
|
-
DataStorage?: number;
|
|
387
|
+
DataStorage?: number | undefined;
|
|
388
388
|
}
|
|
389
389
|
/**
|
|
390
390
|
* The response to a successful
|
|
@@ -397,7 +397,7 @@ export interface DescribeIdentityUsageResponse {
|
|
|
397
397
|
* identity.
|
|
398
398
|
* @public
|
|
399
399
|
*/
|
|
400
|
-
IdentityUsage?: IdentityUsage;
|
|
400
|
+
IdentityUsage?: IdentityUsage | undefined;
|
|
401
401
|
}
|
|
402
402
|
/**
|
|
403
403
|
* The input for the GetBulkPublishDetails operation.
|
|
@@ -437,17 +437,17 @@ export interface GetBulkPublishDetailsResponse {
|
|
|
437
437
|
* unique within a region.
|
|
438
438
|
* @public
|
|
439
439
|
*/
|
|
440
|
-
IdentityPoolId?: string;
|
|
440
|
+
IdentityPoolId?: string | undefined;
|
|
441
441
|
/**
|
|
442
442
|
* The date/time at which the last bulk publish was initiated.
|
|
443
443
|
* @public
|
|
444
444
|
*/
|
|
445
|
-
BulkPublishStartTime?: Date;
|
|
445
|
+
BulkPublishStartTime?: Date | undefined;
|
|
446
446
|
/**
|
|
447
447
|
* If BulkPublishStatus is SUCCEEDED, the time the last bulk publish operation completed.
|
|
448
448
|
* @public
|
|
449
449
|
*/
|
|
450
|
-
BulkPublishCompleteTime?: Date;
|
|
450
|
+
BulkPublishCompleteTime?: Date | undefined;
|
|
451
451
|
/**
|
|
452
452
|
* Status of the last bulk publish operation, valid values are:
|
|
453
453
|
* <p>NOT_STARTED - No bulk publish has been requested for this identity pool</p>
|
|
@@ -456,12 +456,12 @@ export interface GetBulkPublishDetailsResponse {
|
|
|
456
456
|
* <p>FAILED - Some portion of the data has failed to publish, check FailureMessage for the cause.</p>
|
|
457
457
|
* @public
|
|
458
458
|
*/
|
|
459
|
-
BulkPublishStatus?: BulkPublishStatus;
|
|
459
|
+
BulkPublishStatus?: BulkPublishStatus | undefined;
|
|
460
460
|
/**
|
|
461
461
|
* If BulkPublishStatus is FAILED this field will contain the error message that caused the bulk publish to fail.
|
|
462
462
|
* @public
|
|
463
463
|
*/
|
|
464
|
-
FailureMessage?: string;
|
|
464
|
+
FailureMessage?: string | undefined;
|
|
465
465
|
}
|
|
466
466
|
/**
|
|
467
467
|
* <p>A request for a list of the configured Cognito Events</p>
|
|
@@ -483,7 +483,7 @@ export interface GetCognitoEventsResponse {
|
|
|
483
483
|
* <p>The Cognito Events returned from the GetCognitoEvents request</p>
|
|
484
484
|
* @public
|
|
485
485
|
*/
|
|
486
|
-
Events?: Record<string, string
|
|
486
|
+
Events?: Record<string, string> | undefined;
|
|
487
487
|
}
|
|
488
488
|
/**
|
|
489
489
|
* <p>The input for the GetIdentityPoolConfiguration operation.</p>
|
|
@@ -518,19 +518,19 @@ export interface CognitoStreams {
|
|
|
518
518
|
* The name of the Cognito stream to receive updates. This stream must be in the developers account and in the same region as the identity pool.
|
|
519
519
|
* @public
|
|
520
520
|
*/
|
|
521
|
-
StreamName?: string;
|
|
521
|
+
StreamName?: string | undefined;
|
|
522
522
|
/**
|
|
523
523
|
* The ARN of the role Amazon Cognito can assume in order to publish to the stream. This role must grant access to Amazon Cognito (cognito-sync) to invoke PutRecord on your Cognito stream.
|
|
524
524
|
* @public
|
|
525
525
|
*/
|
|
526
|
-
RoleArn?: string;
|
|
526
|
+
RoleArn?: string | undefined;
|
|
527
527
|
/**
|
|
528
528
|
* Status of the Cognito streams. Valid values are:
|
|
529
529
|
* <p>ENABLED - Streaming of updates to identity pool is enabled.</p>
|
|
530
530
|
* <p>DISABLED - Streaming of updates to identity pool is disabled. Bulk publish will also fail if StreamingStatus is DISABLED.</p>
|
|
531
531
|
* @public
|
|
532
532
|
*/
|
|
533
|
-
StreamingStatus?: StreamingStatus;
|
|
533
|
+
StreamingStatus?: StreamingStatus | undefined;
|
|
534
534
|
}
|
|
535
535
|
/**
|
|
536
536
|
* <p>Configuration options to be applied to the identity pool.</p>
|
|
@@ -541,12 +541,12 @@ export interface PushSync {
|
|
|
541
541
|
* <p>List of SNS platform application ARNs that could be used by clients.</p>
|
|
542
542
|
* @public
|
|
543
543
|
*/
|
|
544
|
-
ApplicationArns?: string[];
|
|
544
|
+
ApplicationArns?: string[] | undefined;
|
|
545
545
|
/**
|
|
546
546
|
* <p>A role configured to allow Cognito to call SNS on behalf of the developer.</p>
|
|
547
547
|
* @public
|
|
548
548
|
*/
|
|
549
|
-
RoleArn?: string;
|
|
549
|
+
RoleArn?: string | undefined;
|
|
550
550
|
}
|
|
551
551
|
/**
|
|
552
552
|
* <p>The output for the GetIdentityPoolConfiguration operation.</p>
|
|
@@ -558,17 +558,17 @@ export interface GetIdentityPoolConfigurationResponse {
|
|
|
558
558
|
* Amazon Cognito.</p>
|
|
559
559
|
* @public
|
|
560
560
|
*/
|
|
561
|
-
IdentityPoolId?: string;
|
|
561
|
+
IdentityPoolId?: string | undefined;
|
|
562
562
|
/**
|
|
563
563
|
* <p>Options to apply to this identity pool for push synchronization.</p>
|
|
564
564
|
* @public
|
|
565
565
|
*/
|
|
566
|
-
PushSync?: PushSync;
|
|
566
|
+
PushSync?: PushSync | undefined;
|
|
567
567
|
/**
|
|
568
568
|
* Options to apply to this identity pool for Amazon Cognito streams.
|
|
569
569
|
* @public
|
|
570
570
|
*/
|
|
571
|
-
CognitoStreams?: CognitoStreams;
|
|
571
|
+
CognitoStreams?: CognitoStreams | undefined;
|
|
572
572
|
}
|
|
573
573
|
/**
|
|
574
574
|
* Request for a list of datasets for an
|
|
@@ -595,13 +595,13 @@ export interface ListDatasetsRequest {
|
|
|
595
595
|
* page of results.
|
|
596
596
|
* @public
|
|
597
597
|
*/
|
|
598
|
-
NextToken?: string;
|
|
598
|
+
NextToken?: string | undefined;
|
|
599
599
|
/**
|
|
600
600
|
* The maximum number of results to be
|
|
601
601
|
* returned.
|
|
602
602
|
* @public
|
|
603
603
|
*/
|
|
604
|
-
MaxResults?: number;
|
|
604
|
+
MaxResults?: number | undefined;
|
|
605
605
|
}
|
|
606
606
|
/**
|
|
607
607
|
* Returned for a successful ListDatasets
|
|
@@ -613,18 +613,18 @@ export interface ListDatasetsResponse {
|
|
|
613
613
|
* A set of datasets.
|
|
614
614
|
* @public
|
|
615
615
|
*/
|
|
616
|
-
Datasets?: Dataset[];
|
|
616
|
+
Datasets?: Dataset[] | undefined;
|
|
617
617
|
/**
|
|
618
618
|
* Number of datasets returned.
|
|
619
619
|
* @public
|
|
620
620
|
*/
|
|
621
|
-
Count?: number;
|
|
621
|
+
Count?: number | undefined;
|
|
622
622
|
/**
|
|
623
623
|
* A pagination token for obtaining the next
|
|
624
624
|
* page of results.
|
|
625
625
|
* @public
|
|
626
626
|
*/
|
|
627
|
-
NextToken?: string;
|
|
627
|
+
NextToken?: string | undefined;
|
|
628
628
|
}
|
|
629
629
|
/**
|
|
630
630
|
* A request for usage information on an
|
|
@@ -637,13 +637,13 @@ export interface ListIdentityPoolUsageRequest {
|
|
|
637
637
|
* the next page of results.
|
|
638
638
|
* @public
|
|
639
639
|
*/
|
|
640
|
-
NextToken?: string;
|
|
640
|
+
NextToken?: string | undefined;
|
|
641
641
|
/**
|
|
642
642
|
* The maximum number of results to
|
|
643
643
|
* be returned.
|
|
644
644
|
* @public
|
|
645
645
|
*/
|
|
646
|
-
MaxResults?: number;
|
|
646
|
+
MaxResults?: number | undefined;
|
|
647
647
|
}
|
|
648
648
|
/**
|
|
649
649
|
* Returned for a successful
|
|
@@ -656,25 +656,25 @@ export interface ListIdentityPoolUsageResponse {
|
|
|
656
656
|
* the identity pools.
|
|
657
657
|
* @public
|
|
658
658
|
*/
|
|
659
|
-
IdentityPoolUsages?: IdentityPoolUsage[];
|
|
659
|
+
IdentityPoolUsages?: IdentityPoolUsage[] | undefined;
|
|
660
660
|
/**
|
|
661
661
|
* The maximum number of results to
|
|
662
662
|
* be returned.
|
|
663
663
|
* @public
|
|
664
664
|
*/
|
|
665
|
-
MaxResults?: number;
|
|
665
|
+
MaxResults?: number | undefined;
|
|
666
666
|
/**
|
|
667
667
|
* Total number of identities for the
|
|
668
668
|
* identity pool.
|
|
669
669
|
* @public
|
|
670
670
|
*/
|
|
671
|
-
Count?: number;
|
|
671
|
+
Count?: number | undefined;
|
|
672
672
|
/**
|
|
673
673
|
* A pagination token for obtaining
|
|
674
674
|
* the next page of results.
|
|
675
675
|
* @public
|
|
676
676
|
*/
|
|
677
|
-
NextToken?: string;
|
|
677
|
+
NextToken?: string | undefined;
|
|
678
678
|
}
|
|
679
679
|
/**
|
|
680
680
|
* A request for a list of records.
|
|
@@ -706,25 +706,25 @@ export interface ListRecordsRequest {
|
|
|
706
706
|
* record.
|
|
707
707
|
* @public
|
|
708
708
|
*/
|
|
709
|
-
LastSyncCount?: number;
|
|
709
|
+
LastSyncCount?: number | undefined;
|
|
710
710
|
/**
|
|
711
711
|
* A pagination token for obtaining the next
|
|
712
712
|
* page of results.
|
|
713
713
|
* @public
|
|
714
714
|
*/
|
|
715
|
-
NextToken?: string;
|
|
715
|
+
NextToken?: string | undefined;
|
|
716
716
|
/**
|
|
717
717
|
* The maximum number of results to be
|
|
718
718
|
* returned.
|
|
719
719
|
* @public
|
|
720
720
|
*/
|
|
721
|
-
MaxResults?: number;
|
|
721
|
+
MaxResults?: number | undefined;
|
|
722
722
|
/**
|
|
723
723
|
* A token containing a session ID,
|
|
724
724
|
* identity ID, and expiration.
|
|
725
725
|
* @public
|
|
726
726
|
*/
|
|
727
|
-
SyncSessionToken?: string;
|
|
727
|
+
SyncSessionToken?: string | undefined;
|
|
728
728
|
}
|
|
729
729
|
/**
|
|
730
730
|
* The basic data structure of a dataset.
|
|
@@ -735,35 +735,35 @@ export interface _Record {
|
|
|
735
735
|
* The key for the record.
|
|
736
736
|
* @public
|
|
737
737
|
*/
|
|
738
|
-
Key?: string;
|
|
738
|
+
Key?: string | undefined;
|
|
739
739
|
/**
|
|
740
740
|
* The value for the record.
|
|
741
741
|
* @public
|
|
742
742
|
*/
|
|
743
|
-
Value?: string;
|
|
743
|
+
Value?: string | undefined;
|
|
744
744
|
/**
|
|
745
745
|
* The server sync count for this record.
|
|
746
746
|
* @public
|
|
747
747
|
*/
|
|
748
|
-
SyncCount?: number;
|
|
748
|
+
SyncCount?: number | undefined;
|
|
749
749
|
/**
|
|
750
750
|
* The date on which the record was last
|
|
751
751
|
* modified.
|
|
752
752
|
* @public
|
|
753
753
|
*/
|
|
754
|
-
LastModifiedDate?: Date;
|
|
754
|
+
LastModifiedDate?: Date | undefined;
|
|
755
755
|
/**
|
|
756
756
|
* The user/device that made the last change to this
|
|
757
757
|
* record.
|
|
758
758
|
* @public
|
|
759
759
|
*/
|
|
760
|
-
LastModifiedBy?: string;
|
|
760
|
+
LastModifiedBy?: string | undefined;
|
|
761
761
|
/**
|
|
762
762
|
* The last modified date of the client
|
|
763
763
|
* device.
|
|
764
764
|
* @public
|
|
765
765
|
*/
|
|
766
|
-
DeviceLastModifiedDate?: Date;
|
|
766
|
+
DeviceLastModifiedDate?: Date | undefined;
|
|
767
767
|
}
|
|
768
768
|
/**
|
|
769
769
|
* Returned for a successful
|
|
@@ -775,54 +775,54 @@ export interface ListRecordsResponse {
|
|
|
775
775
|
* A list of all records.
|
|
776
776
|
* @public
|
|
777
777
|
*/
|
|
778
|
-
Records?: _Record[];
|
|
778
|
+
Records?: _Record[] | undefined;
|
|
779
779
|
/**
|
|
780
780
|
* A pagination token for obtaining the next
|
|
781
781
|
* page of results.
|
|
782
782
|
* @public
|
|
783
783
|
*/
|
|
784
|
-
NextToken?: string;
|
|
784
|
+
NextToken?: string | undefined;
|
|
785
785
|
/**
|
|
786
786
|
* Total number of records.
|
|
787
787
|
* @public
|
|
788
788
|
*/
|
|
789
|
-
Count?: number;
|
|
789
|
+
Count?: number | undefined;
|
|
790
790
|
/**
|
|
791
791
|
* Server sync count for this
|
|
792
792
|
* dataset.
|
|
793
793
|
* @public
|
|
794
794
|
*/
|
|
795
|
-
DatasetSyncCount?: number;
|
|
795
|
+
DatasetSyncCount?: number | undefined;
|
|
796
796
|
/**
|
|
797
797
|
* The user/device that made the last
|
|
798
798
|
* change to this record.
|
|
799
799
|
* @public
|
|
800
800
|
*/
|
|
801
|
-
LastModifiedBy?: string;
|
|
801
|
+
LastModifiedBy?: string | undefined;
|
|
802
802
|
/**
|
|
803
803
|
* Names of merged
|
|
804
804
|
* datasets.
|
|
805
805
|
* @public
|
|
806
806
|
*/
|
|
807
|
-
MergedDatasetNames?: string[];
|
|
807
|
+
MergedDatasetNames?: string[] | undefined;
|
|
808
808
|
/**
|
|
809
809
|
* Indicates whether the dataset
|
|
810
810
|
* exists.
|
|
811
811
|
* @public
|
|
812
812
|
*/
|
|
813
|
-
DatasetExists?: boolean;
|
|
813
|
+
DatasetExists?: boolean | undefined;
|
|
814
814
|
/**
|
|
815
815
|
* A boolean value
|
|
816
816
|
* specifying whether to delete the dataset locally.
|
|
817
817
|
* @public
|
|
818
818
|
*/
|
|
819
|
-
DatasetDeletedAfterRequestedSyncCount?: boolean;
|
|
819
|
+
DatasetDeletedAfterRequestedSyncCount?: boolean | undefined;
|
|
820
820
|
/**
|
|
821
821
|
* A token containing a session ID,
|
|
822
822
|
* identity ID, and expiration.
|
|
823
823
|
* @public
|
|
824
824
|
*/
|
|
825
|
-
SyncSessionToken?: string;
|
|
825
|
+
SyncSessionToken?: string | undefined;
|
|
826
826
|
}
|
|
827
827
|
/**
|
|
828
828
|
* @public
|
|
@@ -885,7 +885,7 @@ export interface RegisterDeviceResponse {
|
|
|
885
885
|
* <p>The unique ID generated for this device by Cognito.</p>
|
|
886
886
|
* @public
|
|
887
887
|
*/
|
|
888
|
-
DeviceId?: string;
|
|
888
|
+
DeviceId?: string | undefined;
|
|
889
889
|
}
|
|
890
890
|
/**
|
|
891
891
|
* <p>A request to configure Cognito Events"</p>"
|
|
@@ -930,12 +930,12 @@ export interface SetIdentityPoolConfigurationRequest {
|
|
|
930
930
|
* <p>Options to apply to this identity pool for push synchronization.</p>
|
|
931
931
|
* @public
|
|
932
932
|
*/
|
|
933
|
-
PushSync?: PushSync;
|
|
933
|
+
PushSync?: PushSync | undefined;
|
|
934
934
|
/**
|
|
935
935
|
* Options to apply to this identity pool for Amazon Cognito streams.
|
|
936
936
|
* @public
|
|
937
937
|
*/
|
|
938
|
-
CognitoStreams?: CognitoStreams;
|
|
938
|
+
CognitoStreams?: CognitoStreams | undefined;
|
|
939
939
|
}
|
|
940
940
|
/**
|
|
941
941
|
* <p>The output for the SetIdentityPoolConfiguration operation</p>
|
|
@@ -947,17 +947,17 @@ export interface SetIdentityPoolConfigurationResponse {
|
|
|
947
947
|
* Amazon Cognito.</p>
|
|
948
948
|
* @public
|
|
949
949
|
*/
|
|
950
|
-
IdentityPoolId?: string;
|
|
950
|
+
IdentityPoolId?: string | undefined;
|
|
951
951
|
/**
|
|
952
952
|
* <p>Options to apply to this identity pool for push synchronization.</p>
|
|
953
953
|
* @public
|
|
954
954
|
*/
|
|
955
|
-
PushSync?: PushSync;
|
|
955
|
+
PushSync?: PushSync | undefined;
|
|
956
956
|
/**
|
|
957
957
|
* Options to apply to this identity pool for Amazon Cognito streams.
|
|
958
958
|
* @public
|
|
959
959
|
*/
|
|
960
|
-
CognitoStreams?: CognitoStreams;
|
|
960
|
+
CognitoStreams?: CognitoStreams | undefined;
|
|
961
961
|
}
|
|
962
962
|
/**
|
|
963
963
|
* <p>A request to SubscribeToDatasetRequest.</p>
|
|
@@ -1094,7 +1094,7 @@ export interface RecordPatch {
|
|
|
1094
1094
|
* patch.
|
|
1095
1095
|
* @public
|
|
1096
1096
|
*/
|
|
1097
|
-
Value?: string;
|
|
1097
|
+
Value?: string | undefined;
|
|
1098
1098
|
/**
|
|
1099
1099
|
* Last known server sync count for this record. Set
|
|
1100
1100
|
* to 0 if unknown.
|
|
@@ -1106,7 +1106,7 @@ export interface RecordPatch {
|
|
|
1106
1106
|
* device.
|
|
1107
1107
|
* @public
|
|
1108
1108
|
*/
|
|
1109
|
-
DeviceLastModifiedDate?: Date;
|
|
1109
|
+
DeviceLastModifiedDate?: Date | undefined;
|
|
1110
1110
|
}
|
|
1111
1111
|
/**
|
|
1112
1112
|
* A request to post updates to records or add and
|
|
@@ -1139,13 +1139,13 @@ export interface UpdateRecordsRequest {
|
|
|
1139
1139
|
* <p>The unique ID generated for this device by Cognito.</p>
|
|
1140
1140
|
* @public
|
|
1141
1141
|
*/
|
|
1142
|
-
DeviceId?: string;
|
|
1142
|
+
DeviceId?: string | undefined;
|
|
1143
1143
|
/**
|
|
1144
1144
|
* A list of patch
|
|
1145
1145
|
* operations.
|
|
1146
1146
|
* @public
|
|
1147
1147
|
*/
|
|
1148
|
-
RecordPatches?: RecordPatch[];
|
|
1148
|
+
RecordPatches?: RecordPatch[] | undefined;
|
|
1149
1149
|
/**
|
|
1150
1150
|
* The SyncSessionToken returned by a
|
|
1151
1151
|
* previous call to ListRecords for this dataset and identity.
|
|
@@ -1158,7 +1158,7 @@ export interface UpdateRecordsRequest {
|
|
|
1158
1158
|
* ClientContext field is not yet implemented.
|
|
1159
1159
|
* @public
|
|
1160
1160
|
*/
|
|
1161
|
-
ClientContext?: string;
|
|
1161
|
+
ClientContext?: string | undefined;
|
|
1162
1162
|
}
|
|
1163
1163
|
/**
|
|
1164
1164
|
* Returned for a successful
|
|
@@ -1171,5 +1171,5 @@ export interface UpdateRecordsResponse {
|
|
|
1171
1171
|
* updated.
|
|
1172
1172
|
* @public
|
|
1173
1173
|
*/
|
|
1174
|
-
Records?: _Record[];
|
|
1174
|
+
Records?: _Record[] | undefined;
|
|
1175
1175
|
}
|
|
@@ -11,7 +11,7 @@ export interface BulkPublishRequest {
|
|
|
11
11
|
IdentityPoolId: string | undefined;
|
|
12
12
|
}
|
|
13
13
|
export interface BulkPublishResponse {
|
|
14
|
-
IdentityPoolId?: string;
|
|
14
|
+
IdentityPoolId?: string | undefined;
|
|
15
15
|
}
|
|
16
16
|
export declare class DuplicateRequestException extends __BaseException {
|
|
17
17
|
readonly name: "DuplicateRequestException";
|
|
@@ -54,16 +54,16 @@ export interface DeleteDatasetRequest {
|
|
|
54
54
|
DatasetName: string | undefined;
|
|
55
55
|
}
|
|
56
56
|
export interface Dataset {
|
|
57
|
-
IdentityId?: string;
|
|
58
|
-
DatasetName?: string;
|
|
59
|
-
CreationDate?: Date;
|
|
60
|
-
LastModifiedDate?: Date;
|
|
61
|
-
LastModifiedBy?: string;
|
|
62
|
-
DataStorage?: number;
|
|
63
|
-
NumRecords?: number;
|
|
57
|
+
IdentityId?: string | undefined;
|
|
58
|
+
DatasetName?: string | undefined;
|
|
59
|
+
CreationDate?: Date | undefined;
|
|
60
|
+
LastModifiedDate?: Date | undefined;
|
|
61
|
+
LastModifiedBy?: string | undefined;
|
|
62
|
+
DataStorage?: number | undefined;
|
|
63
|
+
NumRecords?: number | undefined;
|
|
64
64
|
}
|
|
65
65
|
export interface DeleteDatasetResponse {
|
|
66
|
-
Dataset?: Dataset;
|
|
66
|
+
Dataset?: Dataset | undefined;
|
|
67
67
|
}
|
|
68
68
|
export declare class ResourceConflictException extends __BaseException {
|
|
69
69
|
readonly name: "ResourceConflictException";
|
|
@@ -85,33 +85,33 @@ export interface DescribeDatasetRequest {
|
|
|
85
85
|
DatasetName: string | undefined;
|
|
86
86
|
}
|
|
87
87
|
export interface DescribeDatasetResponse {
|
|
88
|
-
Dataset?: Dataset;
|
|
88
|
+
Dataset?: Dataset | undefined;
|
|
89
89
|
}
|
|
90
90
|
export interface DescribeIdentityPoolUsageRequest {
|
|
91
91
|
IdentityPoolId: string | undefined;
|
|
92
92
|
}
|
|
93
93
|
export interface IdentityPoolUsage {
|
|
94
|
-
IdentityPoolId?: string;
|
|
95
|
-
SyncSessionsCount?: number;
|
|
96
|
-
DataStorage?: number;
|
|
97
|
-
LastModifiedDate?: Date;
|
|
94
|
+
IdentityPoolId?: string | undefined;
|
|
95
|
+
SyncSessionsCount?: number | undefined;
|
|
96
|
+
DataStorage?: number | undefined;
|
|
97
|
+
LastModifiedDate?: Date | undefined;
|
|
98
98
|
}
|
|
99
99
|
export interface DescribeIdentityPoolUsageResponse {
|
|
100
|
-
IdentityPoolUsage?: IdentityPoolUsage;
|
|
100
|
+
IdentityPoolUsage?: IdentityPoolUsage | undefined;
|
|
101
101
|
}
|
|
102
102
|
export interface DescribeIdentityUsageRequest {
|
|
103
103
|
IdentityPoolId: string | undefined;
|
|
104
104
|
IdentityId: string | undefined;
|
|
105
105
|
}
|
|
106
106
|
export interface IdentityUsage {
|
|
107
|
-
IdentityId?: string;
|
|
108
|
-
IdentityPoolId?: string;
|
|
109
|
-
LastModifiedDate?: Date;
|
|
110
|
-
DatasetCount?: number;
|
|
111
|
-
DataStorage?: number;
|
|
107
|
+
IdentityId?: string | undefined;
|
|
108
|
+
IdentityPoolId?: string | undefined;
|
|
109
|
+
LastModifiedDate?: Date | undefined;
|
|
110
|
+
DatasetCount?: number | undefined;
|
|
111
|
+
DataStorage?: number | undefined;
|
|
112
112
|
}
|
|
113
113
|
export interface DescribeIdentityUsageResponse {
|
|
114
|
-
IdentityUsage?: IdentityUsage;
|
|
114
|
+
IdentityUsage?: IdentityUsage | undefined;
|
|
115
115
|
}
|
|
116
116
|
export interface GetBulkPublishDetailsRequest {
|
|
117
117
|
IdentityPoolId: string | undefined;
|
|
@@ -125,17 +125,17 @@ export declare const BulkPublishStatus: {
|
|
|
125
125
|
export type BulkPublishStatus =
|
|
126
126
|
(typeof BulkPublishStatus)[keyof typeof BulkPublishStatus];
|
|
127
127
|
export interface GetBulkPublishDetailsResponse {
|
|
128
|
-
IdentityPoolId?: string;
|
|
129
|
-
BulkPublishStartTime?: Date;
|
|
130
|
-
BulkPublishCompleteTime?: Date;
|
|
131
|
-
BulkPublishStatus?: BulkPublishStatus;
|
|
132
|
-
FailureMessage?: string;
|
|
128
|
+
IdentityPoolId?: string | undefined;
|
|
129
|
+
BulkPublishStartTime?: Date | undefined;
|
|
130
|
+
BulkPublishCompleteTime?: Date | undefined;
|
|
131
|
+
BulkPublishStatus?: BulkPublishStatus | undefined;
|
|
132
|
+
FailureMessage?: string | undefined;
|
|
133
133
|
}
|
|
134
134
|
export interface GetCognitoEventsRequest {
|
|
135
135
|
IdentityPoolId: string | undefined;
|
|
136
136
|
}
|
|
137
137
|
export interface GetCognitoEventsResponse {
|
|
138
|
-
Events?: Record<string, string
|
|
138
|
+
Events?: Record<string, string> | undefined;
|
|
139
139
|
}
|
|
140
140
|
export interface GetIdentityPoolConfigurationRequest {
|
|
141
141
|
IdentityPoolId: string | undefined;
|
|
@@ -147,67 +147,67 @@ export declare const StreamingStatus: {
|
|
|
147
147
|
export type StreamingStatus =
|
|
148
148
|
(typeof StreamingStatus)[keyof typeof StreamingStatus];
|
|
149
149
|
export interface CognitoStreams {
|
|
150
|
-
StreamName?: string;
|
|
151
|
-
RoleArn?: string;
|
|
152
|
-
StreamingStatus?: StreamingStatus;
|
|
150
|
+
StreamName?: string | undefined;
|
|
151
|
+
RoleArn?: string | undefined;
|
|
152
|
+
StreamingStatus?: StreamingStatus | undefined;
|
|
153
153
|
}
|
|
154
154
|
export interface PushSync {
|
|
155
|
-
ApplicationArns?: string[];
|
|
156
|
-
RoleArn?: string;
|
|
155
|
+
ApplicationArns?: string[] | undefined;
|
|
156
|
+
RoleArn?: string | undefined;
|
|
157
157
|
}
|
|
158
158
|
export interface GetIdentityPoolConfigurationResponse {
|
|
159
|
-
IdentityPoolId?: string;
|
|
160
|
-
PushSync?: PushSync;
|
|
161
|
-
CognitoStreams?: CognitoStreams;
|
|
159
|
+
IdentityPoolId?: string | undefined;
|
|
160
|
+
PushSync?: PushSync | undefined;
|
|
161
|
+
CognitoStreams?: CognitoStreams | undefined;
|
|
162
162
|
}
|
|
163
163
|
export interface ListDatasetsRequest {
|
|
164
164
|
IdentityPoolId: string | undefined;
|
|
165
165
|
IdentityId: string | undefined;
|
|
166
|
-
NextToken?: string;
|
|
167
|
-
MaxResults?: number;
|
|
166
|
+
NextToken?: string | undefined;
|
|
167
|
+
MaxResults?: number | undefined;
|
|
168
168
|
}
|
|
169
169
|
export interface ListDatasetsResponse {
|
|
170
|
-
Datasets?: Dataset[];
|
|
171
|
-
Count?: number;
|
|
172
|
-
NextToken?: string;
|
|
170
|
+
Datasets?: Dataset[] | undefined;
|
|
171
|
+
Count?: number | undefined;
|
|
172
|
+
NextToken?: string | undefined;
|
|
173
173
|
}
|
|
174
174
|
export interface ListIdentityPoolUsageRequest {
|
|
175
|
-
NextToken?: string;
|
|
176
|
-
MaxResults?: number;
|
|
175
|
+
NextToken?: string | undefined;
|
|
176
|
+
MaxResults?: number | undefined;
|
|
177
177
|
}
|
|
178
178
|
export interface ListIdentityPoolUsageResponse {
|
|
179
|
-
IdentityPoolUsages?: IdentityPoolUsage[];
|
|
180
|
-
MaxResults?: number;
|
|
181
|
-
Count?: number;
|
|
182
|
-
NextToken?: string;
|
|
179
|
+
IdentityPoolUsages?: IdentityPoolUsage[] | undefined;
|
|
180
|
+
MaxResults?: number | undefined;
|
|
181
|
+
Count?: number | undefined;
|
|
182
|
+
NextToken?: string | undefined;
|
|
183
183
|
}
|
|
184
184
|
export interface ListRecordsRequest {
|
|
185
185
|
IdentityPoolId: string | undefined;
|
|
186
186
|
IdentityId: string | undefined;
|
|
187
187
|
DatasetName: string | undefined;
|
|
188
|
-
LastSyncCount?: number;
|
|
189
|
-
NextToken?: string;
|
|
190
|
-
MaxResults?: number;
|
|
191
|
-
SyncSessionToken?: string;
|
|
188
|
+
LastSyncCount?: number | undefined;
|
|
189
|
+
NextToken?: string | undefined;
|
|
190
|
+
MaxResults?: number | undefined;
|
|
191
|
+
SyncSessionToken?: string | undefined;
|
|
192
192
|
}
|
|
193
193
|
export interface _Record {
|
|
194
|
-
Key?: string;
|
|
195
|
-
Value?: string;
|
|
196
|
-
SyncCount?: number;
|
|
197
|
-
LastModifiedDate?: Date;
|
|
198
|
-
LastModifiedBy?: string;
|
|
199
|
-
DeviceLastModifiedDate?: Date;
|
|
194
|
+
Key?: string | undefined;
|
|
195
|
+
Value?: string | undefined;
|
|
196
|
+
SyncCount?: number | undefined;
|
|
197
|
+
LastModifiedDate?: Date | undefined;
|
|
198
|
+
LastModifiedBy?: string | undefined;
|
|
199
|
+
DeviceLastModifiedDate?: Date | undefined;
|
|
200
200
|
}
|
|
201
201
|
export interface ListRecordsResponse {
|
|
202
|
-
Records?: _Record[];
|
|
203
|
-
NextToken?: string;
|
|
204
|
-
Count?: number;
|
|
205
|
-
DatasetSyncCount?: number;
|
|
206
|
-
LastModifiedBy?: string;
|
|
207
|
-
MergedDatasetNames?: string[];
|
|
208
|
-
DatasetExists?: boolean;
|
|
209
|
-
DatasetDeletedAfterRequestedSyncCount?: boolean;
|
|
210
|
-
SyncSessionToken?: string;
|
|
202
|
+
Records?: _Record[] | undefined;
|
|
203
|
+
NextToken?: string | undefined;
|
|
204
|
+
Count?: number | undefined;
|
|
205
|
+
DatasetSyncCount?: number | undefined;
|
|
206
|
+
LastModifiedBy?: string | undefined;
|
|
207
|
+
MergedDatasetNames?: string[] | undefined;
|
|
208
|
+
DatasetExists?: boolean | undefined;
|
|
209
|
+
DatasetDeletedAfterRequestedSyncCount?: boolean | undefined;
|
|
210
|
+
SyncSessionToken?: string | undefined;
|
|
211
211
|
}
|
|
212
212
|
export declare class InvalidConfigurationException extends __BaseException {
|
|
213
213
|
readonly name: "InvalidConfigurationException";
|
|
@@ -230,7 +230,7 @@ export interface RegisterDeviceRequest {
|
|
|
230
230
|
Token: string | undefined;
|
|
231
231
|
}
|
|
232
232
|
export interface RegisterDeviceResponse {
|
|
233
|
-
DeviceId?: string;
|
|
233
|
+
DeviceId?: string | undefined;
|
|
234
234
|
}
|
|
235
235
|
export interface SetCognitoEventsRequest {
|
|
236
236
|
IdentityPoolId: string | undefined;
|
|
@@ -248,13 +248,13 @@ export declare class ConcurrentModificationException extends __BaseException {
|
|
|
248
248
|
}
|
|
249
249
|
export interface SetIdentityPoolConfigurationRequest {
|
|
250
250
|
IdentityPoolId: string | undefined;
|
|
251
|
-
PushSync?: PushSync;
|
|
252
|
-
CognitoStreams?: CognitoStreams;
|
|
251
|
+
PushSync?: PushSync | undefined;
|
|
252
|
+
CognitoStreams?: CognitoStreams | undefined;
|
|
253
253
|
}
|
|
254
254
|
export interface SetIdentityPoolConfigurationResponse {
|
|
255
|
-
IdentityPoolId?: string;
|
|
256
|
-
PushSync?: PushSync;
|
|
257
|
-
CognitoStreams?: CognitoStreams;
|
|
255
|
+
IdentityPoolId?: string | undefined;
|
|
256
|
+
PushSync?: PushSync | undefined;
|
|
257
|
+
CognitoStreams?: CognitoStreams | undefined;
|
|
258
258
|
}
|
|
259
259
|
export interface SubscribeToDatasetRequest {
|
|
260
260
|
IdentityPoolId: string | undefined;
|
|
@@ -302,19 +302,19 @@ export type Operation = (typeof Operation)[keyof typeof Operation];
|
|
|
302
302
|
export interface RecordPatch {
|
|
303
303
|
Op: Operation | undefined;
|
|
304
304
|
Key: string | undefined;
|
|
305
|
-
Value?: string;
|
|
305
|
+
Value?: string | undefined;
|
|
306
306
|
SyncCount: number | undefined;
|
|
307
|
-
DeviceLastModifiedDate?: Date;
|
|
307
|
+
DeviceLastModifiedDate?: Date | undefined;
|
|
308
308
|
}
|
|
309
309
|
export interface UpdateRecordsRequest {
|
|
310
310
|
IdentityPoolId: string | undefined;
|
|
311
311
|
IdentityId: string | undefined;
|
|
312
312
|
DatasetName: string | undefined;
|
|
313
|
-
DeviceId?: string;
|
|
314
|
-
RecordPatches?: RecordPatch[];
|
|
313
|
+
DeviceId?: string | undefined;
|
|
314
|
+
RecordPatches?: RecordPatch[] | undefined;
|
|
315
315
|
SyncSessionToken: string | undefined;
|
|
316
|
-
ClientContext?: string;
|
|
316
|
+
ClientContext?: string | undefined;
|
|
317
317
|
}
|
|
318
318
|
export interface UpdateRecordsResponse {
|
|
319
|
-
Records?: _Record[];
|
|
319
|
+
Records?: _Record[] | undefined;
|
|
320
320
|
}
|
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.691.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-sync",
|
|
@@ -20,19 +20,19 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.691.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.691.0",
|
|
25
|
+
"@aws-sdk/core": "3.691.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.691.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.686.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.686.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.686.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.691.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.686.0",
|
|
32
32
|
"@aws-sdk/types": "3.686.0",
|
|
33
33
|
"@aws-sdk/util-endpoints": "3.686.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.686.0",
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.691.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.10",
|
|
37
37
|
"@smithy/core": "^2.5.1",
|
|
38
38
|
"@smithy/fetch-http-handler": "^4.0.0",
|