@aws-sdk/client-cognito-sync 3.169.0 → 3.171.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.
Files changed (32) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist-types/ts3.4/CognitoSync.d.ts +293 -90
  3. package/dist-types/ts3.4/CognitoSyncClient.d.ts +206 -90
  4. package/dist-types/ts3.4/commands/BulkPublishCommand.d.ts +32 -17
  5. package/dist-types/ts3.4/commands/DeleteDatasetCommand.d.ts +35 -17
  6. package/dist-types/ts3.4/commands/DescribeDatasetCommand.d.ts +35 -17
  7. package/dist-types/ts3.4/commands/DescribeIdentityPoolUsageCommand.d.ts +39 -17
  8. package/dist-types/ts3.4/commands/DescribeIdentityUsageCommand.d.ts +39 -17
  9. package/dist-types/ts3.4/commands/GetBulkPublishDetailsCommand.d.ts +39 -17
  10. package/dist-types/ts3.4/commands/GetCognitoEventsCommand.d.ts +35 -17
  11. package/dist-types/ts3.4/commands/GetIdentityPoolConfigurationCommand.d.ts +39 -17
  12. package/dist-types/ts3.4/commands/ListDatasetsCommand.d.ts +32 -17
  13. package/dist-types/ts3.4/commands/ListIdentityPoolUsageCommand.d.ts +39 -17
  14. package/dist-types/ts3.4/commands/ListRecordsCommand.d.ts +32 -17
  15. package/dist-types/ts3.4/commands/RegisterDeviceCommand.d.ts +35 -17
  16. package/dist-types/ts3.4/commands/SetCognitoEventsCommand.d.ts +30 -17
  17. package/dist-types/ts3.4/commands/SetIdentityPoolConfigurationCommand.d.ts +39 -17
  18. package/dist-types/ts3.4/commands/SubscribeToDatasetCommand.d.ts +36 -17
  19. package/dist-types/ts3.4/commands/UnsubscribeFromDatasetCommand.d.ts +39 -17
  20. package/dist-types/ts3.4/commands/UpdateRecordsCommand.d.ts +35 -17
  21. package/dist-types/ts3.4/commands/index.d.ts +17 -17
  22. package/dist-types/ts3.4/endpoints.d.ts +2 -2
  23. package/dist-types/ts3.4/index.d.ts +5 -5
  24. package/dist-types/ts3.4/models/CognitoSyncServiceException.d.ts +7 -6
  25. package/dist-types/ts3.4/models/index.d.ts +1 -1
  26. package/dist-types/ts3.4/models/models_0.d.ts +415 -535
  27. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +209 -53
  28. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +65 -38
  29. package/dist-types/ts3.4/runtimeConfig.d.ts +65 -38
  30. package/dist-types/ts3.4/runtimeConfig.native.d.ts +66 -37
  31. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +10 -11
  32. package/package.json +34 -34
@@ -1,535 +1,415 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
- import { CognitoSyncServiceException as __BaseException } from "./CognitoSyncServiceException";
3
-
4
- export declare class AlreadyStreamedException extends __BaseException {
5
- readonly name: "AlreadyStreamedException";
6
- readonly $fault: "client";
7
-
8
- constructor(opts: __ExceptionOptionType<AlreadyStreamedException, __BaseException>);
9
- }
10
-
11
- export interface BulkPublishRequest {
12
-
13
- IdentityPoolId: string | undefined;
14
- }
15
-
16
- export interface BulkPublishResponse {
17
-
18
- IdentityPoolId?: string;
19
- }
20
-
21
- export declare class DuplicateRequestException extends __BaseException {
22
- readonly name: "DuplicateRequestException";
23
- readonly $fault: "client";
24
-
25
- constructor(opts: __ExceptionOptionType<DuplicateRequestException, __BaseException>);
26
- }
27
-
28
- export declare class InternalErrorException extends __BaseException {
29
- readonly name: "InternalErrorException";
30
- readonly $fault: "server";
31
-
32
- constructor(opts: __ExceptionOptionType<InternalErrorException, __BaseException>);
33
- }
34
-
35
- export declare class InvalidParameterException extends __BaseException {
36
- readonly name: "InvalidParameterException";
37
- readonly $fault: "client";
38
-
39
- constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
40
- }
41
-
42
- export declare class NotAuthorizedException extends __BaseException {
43
- readonly name: "NotAuthorizedException";
44
- readonly $fault: "client";
45
-
46
- constructor(opts: __ExceptionOptionType<NotAuthorizedException, __BaseException>);
47
- }
48
-
49
- export declare class ResourceNotFoundException extends __BaseException {
50
- readonly name: "ResourceNotFoundException";
51
- readonly $fault: "client";
52
-
53
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
54
- }
55
-
56
- export interface DeleteDatasetRequest {
57
-
58
- IdentityPoolId: string | undefined;
59
-
60
- IdentityId: string | undefined;
61
-
62
- DatasetName: string | undefined;
63
- }
64
-
65
- export interface Dataset {
66
-
67
- IdentityId?: string;
68
-
69
- DatasetName?: string;
70
-
71
- CreationDate?: Date;
72
-
73
- LastModifiedDate?: Date;
74
-
75
- LastModifiedBy?: string;
76
-
77
- DataStorage?: number;
78
-
79
- NumRecords?: number;
80
- }
81
-
82
- export interface DeleteDatasetResponse {
83
-
84
- Dataset?: Dataset;
85
- }
86
-
87
- export declare class ResourceConflictException extends __BaseException {
88
- readonly name: "ResourceConflictException";
89
- readonly $fault: "client";
90
-
91
- constructor(opts: __ExceptionOptionType<ResourceConflictException, __BaseException>);
92
- }
93
-
94
- export declare class TooManyRequestsException extends __BaseException {
95
- readonly name: "TooManyRequestsException";
96
- readonly $fault: "client";
97
-
98
- constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
99
- }
100
-
101
- export interface DescribeDatasetRequest {
102
-
103
- IdentityPoolId: string | undefined;
104
-
105
- IdentityId: string | undefined;
106
-
107
- DatasetName: string | undefined;
108
- }
109
-
110
- export interface DescribeDatasetResponse {
111
-
112
- Dataset?: Dataset;
113
- }
114
-
115
- export interface DescribeIdentityPoolUsageRequest {
116
-
117
- IdentityPoolId: string | undefined;
118
- }
119
-
120
- export interface IdentityPoolUsage {
121
-
122
- IdentityPoolId?: string;
123
-
124
- SyncSessionsCount?: number;
125
-
126
- DataStorage?: number;
127
-
128
- LastModifiedDate?: Date;
129
- }
130
-
131
- export interface DescribeIdentityPoolUsageResponse {
132
-
133
- IdentityPoolUsage?: IdentityPoolUsage;
134
- }
135
-
136
- export interface DescribeIdentityUsageRequest {
137
-
138
- IdentityPoolId: string | undefined;
139
-
140
- IdentityId: string | undefined;
141
- }
142
-
143
- export interface IdentityUsage {
144
-
145
- IdentityId?: string;
146
-
147
- IdentityPoolId?: string;
148
-
149
- LastModifiedDate?: Date;
150
-
151
- DatasetCount?: number;
152
-
153
- DataStorage?: number;
154
- }
155
-
156
- export interface DescribeIdentityUsageResponse {
157
-
158
- IdentityUsage?: IdentityUsage;
159
- }
160
-
161
- export interface GetBulkPublishDetailsRequest {
162
-
163
- IdentityPoolId: string | undefined;
164
- }
165
- export declare enum BulkPublishStatus {
166
- FAILED = "FAILED",
167
- IN_PROGRESS = "IN_PROGRESS",
168
- NOT_STARTED = "NOT_STARTED",
169
- SUCCEEDED = "SUCCEEDED"
170
- }
171
-
172
- export interface GetBulkPublishDetailsResponse {
173
-
174
- IdentityPoolId?: string;
175
-
176
- BulkPublishStartTime?: Date;
177
-
178
- BulkPublishCompleteTime?: Date;
179
-
180
- BulkPublishStatus?: BulkPublishStatus | string;
181
-
182
- FailureMessage?: string;
183
- }
184
-
185
- export interface GetCognitoEventsRequest {
186
-
187
- IdentityPoolId: string | undefined;
188
- }
189
-
190
- export interface GetCognitoEventsResponse {
191
-
192
- Events?: Record<string, string>;
193
- }
194
-
195
- export interface GetIdentityPoolConfigurationRequest {
196
-
197
- IdentityPoolId: string | undefined;
198
- }
199
- export declare type StreamingStatus = "DISABLED" | "ENABLED";
200
-
201
- export interface CognitoStreams {
202
-
203
- StreamName?: string;
204
-
205
- RoleArn?: string;
206
-
207
- StreamingStatus?: StreamingStatus | string;
208
- }
209
-
210
- export interface PushSync {
211
-
212
- ApplicationArns?: string[];
213
-
214
- RoleArn?: string;
215
- }
216
-
217
- export interface GetIdentityPoolConfigurationResponse {
218
-
219
- IdentityPoolId?: string;
220
-
221
- PushSync?: PushSync;
222
-
223
- CognitoStreams?: CognitoStreams;
224
- }
225
-
226
- export interface ListDatasetsRequest {
227
-
228
- IdentityPoolId: string | undefined;
229
-
230
- IdentityId: string | undefined;
231
-
232
- NextToken?: string;
233
-
234
- MaxResults?: number;
235
- }
236
-
237
- export interface ListDatasetsResponse {
238
-
239
- Datasets?: Dataset[];
240
-
241
- Count?: number;
242
-
243
- NextToken?: string;
244
- }
245
-
246
- export interface ListIdentityPoolUsageRequest {
247
-
248
- NextToken?: string;
249
-
250
- MaxResults?: number;
251
- }
252
-
253
- export interface ListIdentityPoolUsageResponse {
254
-
255
- IdentityPoolUsages?: IdentityPoolUsage[];
256
-
257
- MaxResults?: number;
258
-
259
- Count?: number;
260
-
261
- NextToken?: string;
262
- }
263
-
264
- export interface ListRecordsRequest {
265
-
266
- IdentityPoolId: string | undefined;
267
-
268
- IdentityId: string | undefined;
269
-
270
- DatasetName: string | undefined;
271
-
272
- LastSyncCount?: number;
273
-
274
- NextToken?: string;
275
-
276
- MaxResults?: number;
277
-
278
- SyncSessionToken?: string;
279
- }
280
-
281
- export interface _Record {
282
-
283
- Key?: string;
284
-
285
- Value?: string;
286
-
287
- SyncCount?: number;
288
-
289
- LastModifiedDate?: Date;
290
-
291
- LastModifiedBy?: string;
292
-
293
- DeviceLastModifiedDate?: Date;
294
- }
295
-
296
- export interface ListRecordsResponse {
297
-
298
- Records?: _Record[];
299
-
300
- NextToken?: string;
301
-
302
- Count?: number;
303
-
304
- DatasetSyncCount?: number;
305
-
306
- LastModifiedBy?: string;
307
-
308
- MergedDatasetNames?: string[];
309
-
310
- DatasetExists?: boolean;
311
-
312
- DatasetDeletedAfterRequestedSyncCount?: boolean;
313
-
314
- SyncSessionToken?: string;
315
- }
316
- export declare class InvalidConfigurationException extends __BaseException {
317
- readonly name: "InvalidConfigurationException";
318
- readonly $fault: "client";
319
-
320
- constructor(opts: __ExceptionOptionType<InvalidConfigurationException, __BaseException>);
321
- }
322
- export declare type Platform = "ADM" | "APNS" | "APNS_SANDBOX" | "GCM";
323
-
324
- export interface RegisterDeviceRequest {
325
-
326
- IdentityPoolId: string | undefined;
327
-
328
- IdentityId: string | undefined;
329
-
330
- Platform: Platform | string | undefined;
331
-
332
- Token: string | undefined;
333
- }
334
-
335
- export interface RegisterDeviceResponse {
336
-
337
- DeviceId?: string;
338
- }
339
-
340
- export interface SetCognitoEventsRequest {
341
-
342
- IdentityPoolId: string | undefined;
343
-
344
- Events: Record<string, string> | undefined;
345
- }
346
-
347
- export declare class ConcurrentModificationException extends __BaseException {
348
- readonly name: "ConcurrentModificationException";
349
- readonly $fault: "client";
350
-
351
- constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
352
- }
353
-
354
- export interface SetIdentityPoolConfigurationRequest {
355
-
356
- IdentityPoolId: string | undefined;
357
-
358
- PushSync?: PushSync;
359
-
360
- CognitoStreams?: CognitoStreams;
361
- }
362
-
363
- export interface SetIdentityPoolConfigurationResponse {
364
-
365
- IdentityPoolId?: string;
366
-
367
- PushSync?: PushSync;
368
-
369
- CognitoStreams?: CognitoStreams;
370
- }
371
-
372
- export interface SubscribeToDatasetRequest {
373
-
374
- IdentityPoolId: string | undefined;
375
-
376
- IdentityId: string | undefined;
377
-
378
- DatasetName: string | undefined;
379
-
380
- DeviceId: string | undefined;
381
- }
382
-
383
- export interface SubscribeToDatasetResponse {
384
- }
385
-
386
- export interface UnsubscribeFromDatasetRequest {
387
-
388
- IdentityPoolId: string | undefined;
389
-
390
- IdentityId: string | undefined;
391
-
392
- DatasetName: string | undefined;
393
-
394
- DeviceId: string | undefined;
395
- }
396
-
397
- export interface UnsubscribeFromDatasetResponse {
398
- }
399
-
400
- export declare class InvalidLambdaFunctionOutputException extends __BaseException {
401
- readonly name: "InvalidLambdaFunctionOutputException";
402
- readonly $fault: "client";
403
-
404
- constructor(opts: __ExceptionOptionType<InvalidLambdaFunctionOutputException, __BaseException>);
405
- }
406
-
407
- export declare class LambdaThrottledException extends __BaseException {
408
- readonly name: "LambdaThrottledException";
409
- readonly $fault: "client";
410
-
411
- constructor(opts: __ExceptionOptionType<LambdaThrottledException, __BaseException>);
412
- }
413
-
414
- export declare class LimitExceededException extends __BaseException {
415
- readonly name: "LimitExceededException";
416
- readonly $fault: "client";
417
-
418
- constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
419
- }
420
- export declare type Operation = "remove" | "replace";
421
-
422
- export interface RecordPatch {
423
-
424
- Op: Operation | string | undefined;
425
-
426
- Key: string | undefined;
427
-
428
- Value?: string;
429
-
430
- SyncCount: number | undefined;
431
-
432
- DeviceLastModifiedDate?: Date;
433
- }
434
-
435
- export interface UpdateRecordsRequest {
436
-
437
- IdentityPoolId: string | undefined;
438
-
439
- IdentityId: string | undefined;
440
-
441
- DatasetName: string | undefined;
442
-
443
- DeviceId?: string;
444
-
445
- RecordPatches?: RecordPatch[];
446
-
447
- SyncSessionToken: string | undefined;
448
-
449
- ClientContext?: string;
450
- }
451
-
452
- export interface UpdateRecordsResponse {
453
-
454
- Records?: _Record[];
455
- }
456
-
457
- export declare const BulkPublishRequestFilterSensitiveLog: (obj: BulkPublishRequest) => any;
458
-
459
- export declare const BulkPublishResponseFilterSensitiveLog: (obj: BulkPublishResponse) => any;
460
-
461
- export declare const DeleteDatasetRequestFilterSensitiveLog: (obj: DeleteDatasetRequest) => any;
462
-
463
- export declare const DatasetFilterSensitiveLog: (obj: Dataset) => any;
464
-
465
- export declare const DeleteDatasetResponseFilterSensitiveLog: (obj: DeleteDatasetResponse) => any;
466
-
467
- export declare const DescribeDatasetRequestFilterSensitiveLog: (obj: DescribeDatasetRequest) => any;
468
-
469
- export declare const DescribeDatasetResponseFilterSensitiveLog: (obj: DescribeDatasetResponse) => any;
470
-
471
- export declare const DescribeIdentityPoolUsageRequestFilterSensitiveLog: (obj: DescribeIdentityPoolUsageRequest) => any;
472
-
473
- export declare const IdentityPoolUsageFilterSensitiveLog: (obj: IdentityPoolUsage) => any;
474
-
475
- export declare const DescribeIdentityPoolUsageResponseFilterSensitiveLog: (obj: DescribeIdentityPoolUsageResponse) => any;
476
-
477
- export declare const DescribeIdentityUsageRequestFilterSensitiveLog: (obj: DescribeIdentityUsageRequest) => any;
478
-
479
- export declare const IdentityUsageFilterSensitiveLog: (obj: IdentityUsage) => any;
480
-
481
- export declare const DescribeIdentityUsageResponseFilterSensitiveLog: (obj: DescribeIdentityUsageResponse) => any;
482
-
483
- export declare const GetBulkPublishDetailsRequestFilterSensitiveLog: (obj: GetBulkPublishDetailsRequest) => any;
484
-
485
- export declare const GetBulkPublishDetailsResponseFilterSensitiveLog: (obj: GetBulkPublishDetailsResponse) => any;
486
-
487
- export declare const GetCognitoEventsRequestFilterSensitiveLog: (obj: GetCognitoEventsRequest) => any;
488
-
489
- export declare const GetCognitoEventsResponseFilterSensitiveLog: (obj: GetCognitoEventsResponse) => any;
490
-
491
- export declare const GetIdentityPoolConfigurationRequestFilterSensitiveLog: (obj: GetIdentityPoolConfigurationRequest) => any;
492
-
493
- export declare const CognitoStreamsFilterSensitiveLog: (obj: CognitoStreams) => any;
494
-
495
- export declare const PushSyncFilterSensitiveLog: (obj: PushSync) => any;
496
-
497
- export declare const GetIdentityPoolConfigurationResponseFilterSensitiveLog: (obj: GetIdentityPoolConfigurationResponse) => any;
498
-
499
- export declare const ListDatasetsRequestFilterSensitiveLog: (obj: ListDatasetsRequest) => any;
500
-
501
- export declare const ListDatasetsResponseFilterSensitiveLog: (obj: ListDatasetsResponse) => any;
502
-
503
- export declare const ListIdentityPoolUsageRequestFilterSensitiveLog: (obj: ListIdentityPoolUsageRequest) => any;
504
-
505
- export declare const ListIdentityPoolUsageResponseFilterSensitiveLog: (obj: ListIdentityPoolUsageResponse) => any;
506
-
507
- export declare const ListRecordsRequestFilterSensitiveLog: (obj: ListRecordsRequest) => any;
508
-
509
- export declare const _RecordFilterSensitiveLog: (obj: _Record) => any;
510
-
511
- export declare const ListRecordsResponseFilterSensitiveLog: (obj: ListRecordsResponse) => any;
512
-
513
- export declare const RegisterDeviceRequestFilterSensitiveLog: (obj: RegisterDeviceRequest) => any;
514
-
515
- export declare const RegisterDeviceResponseFilterSensitiveLog: (obj: RegisterDeviceResponse) => any;
516
-
517
- export declare const SetCognitoEventsRequestFilterSensitiveLog: (obj: SetCognitoEventsRequest) => any;
518
-
519
- export declare const SetIdentityPoolConfigurationRequestFilterSensitiveLog: (obj: SetIdentityPoolConfigurationRequest) => any;
520
-
521
- export declare const SetIdentityPoolConfigurationResponseFilterSensitiveLog: (obj: SetIdentityPoolConfigurationResponse) => any;
522
-
523
- export declare const SubscribeToDatasetRequestFilterSensitiveLog: (obj: SubscribeToDatasetRequest) => any;
524
-
525
- export declare const SubscribeToDatasetResponseFilterSensitiveLog: (obj: SubscribeToDatasetResponse) => any;
526
-
527
- export declare const UnsubscribeFromDatasetRequestFilterSensitiveLog: (obj: UnsubscribeFromDatasetRequest) => any;
528
-
529
- export declare const UnsubscribeFromDatasetResponseFilterSensitiveLog: (obj: UnsubscribeFromDatasetResponse) => any;
530
-
531
- export declare const RecordPatchFilterSensitiveLog: (obj: RecordPatch) => any;
532
-
533
- export declare const UpdateRecordsRequestFilterSensitiveLog: (obj: UpdateRecordsRequest) => any;
534
-
535
- export declare const UpdateRecordsResponseFilterSensitiveLog: (obj: UpdateRecordsResponse) => any;
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { CognitoSyncServiceException as __BaseException } from "./CognitoSyncServiceException";
3
+ export declare class AlreadyStreamedException extends __BaseException {
4
+ readonly name: "AlreadyStreamedException";
5
+ readonly $fault: "client";
6
+ constructor(
7
+ opts: __ExceptionOptionType<AlreadyStreamedException, __BaseException>
8
+ );
9
+ }
10
+ export interface BulkPublishRequest {
11
+ IdentityPoolId: string | undefined;
12
+ }
13
+ export interface BulkPublishResponse {
14
+ IdentityPoolId?: string;
15
+ }
16
+ export declare class DuplicateRequestException extends __BaseException {
17
+ readonly name: "DuplicateRequestException";
18
+ readonly $fault: "client";
19
+ constructor(
20
+ opts: __ExceptionOptionType<DuplicateRequestException, __BaseException>
21
+ );
22
+ }
23
+ export declare class InternalErrorException extends __BaseException {
24
+ readonly name: "InternalErrorException";
25
+ readonly $fault: "server";
26
+ constructor(
27
+ opts: __ExceptionOptionType<InternalErrorException, __BaseException>
28
+ );
29
+ }
30
+ export declare class InvalidParameterException extends __BaseException {
31
+ readonly name: "InvalidParameterException";
32
+ readonly $fault: "client";
33
+ constructor(
34
+ opts: __ExceptionOptionType<InvalidParameterException, __BaseException>
35
+ );
36
+ }
37
+ export declare class NotAuthorizedException extends __BaseException {
38
+ readonly name: "NotAuthorizedException";
39
+ readonly $fault: "client";
40
+ constructor(
41
+ opts: __ExceptionOptionType<NotAuthorizedException, __BaseException>
42
+ );
43
+ }
44
+ export declare class ResourceNotFoundException extends __BaseException {
45
+ readonly name: "ResourceNotFoundException";
46
+ readonly $fault: "client";
47
+ constructor(
48
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
49
+ );
50
+ }
51
+ export interface DeleteDatasetRequest {
52
+ IdentityPoolId: string | undefined;
53
+ IdentityId: string | undefined;
54
+ DatasetName: string | undefined;
55
+ }
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;
64
+ }
65
+ export interface DeleteDatasetResponse {
66
+ Dataset?: Dataset;
67
+ }
68
+ export declare class ResourceConflictException extends __BaseException {
69
+ readonly name: "ResourceConflictException";
70
+ readonly $fault: "client";
71
+ constructor(
72
+ opts: __ExceptionOptionType<ResourceConflictException, __BaseException>
73
+ );
74
+ }
75
+ export declare class TooManyRequestsException extends __BaseException {
76
+ readonly name: "TooManyRequestsException";
77
+ readonly $fault: "client";
78
+ constructor(
79
+ opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
80
+ );
81
+ }
82
+ export interface DescribeDatasetRequest {
83
+ IdentityPoolId: string | undefined;
84
+ IdentityId: string | undefined;
85
+ DatasetName: string | undefined;
86
+ }
87
+ export interface DescribeDatasetResponse {
88
+ Dataset?: Dataset;
89
+ }
90
+ export interface DescribeIdentityPoolUsageRequest {
91
+ IdentityPoolId: string | undefined;
92
+ }
93
+ export interface IdentityPoolUsage {
94
+ IdentityPoolId?: string;
95
+ SyncSessionsCount?: number;
96
+ DataStorage?: number;
97
+ LastModifiedDate?: Date;
98
+ }
99
+ export interface DescribeIdentityPoolUsageResponse {
100
+ IdentityPoolUsage?: IdentityPoolUsage;
101
+ }
102
+ export interface DescribeIdentityUsageRequest {
103
+ IdentityPoolId: string | undefined;
104
+ IdentityId: string | undefined;
105
+ }
106
+ export interface IdentityUsage {
107
+ IdentityId?: string;
108
+ IdentityPoolId?: string;
109
+ LastModifiedDate?: Date;
110
+ DatasetCount?: number;
111
+ DataStorage?: number;
112
+ }
113
+ export interface DescribeIdentityUsageResponse {
114
+ IdentityUsage?: IdentityUsage;
115
+ }
116
+ export interface GetBulkPublishDetailsRequest {
117
+ IdentityPoolId: string | undefined;
118
+ }
119
+ export declare enum BulkPublishStatus {
120
+ FAILED = "FAILED",
121
+ IN_PROGRESS = "IN_PROGRESS",
122
+ NOT_STARTED = "NOT_STARTED",
123
+ SUCCEEDED = "SUCCEEDED",
124
+ }
125
+ export interface GetBulkPublishDetailsResponse {
126
+ IdentityPoolId?: string;
127
+ BulkPublishStartTime?: Date;
128
+ BulkPublishCompleteTime?: Date;
129
+ BulkPublishStatus?: BulkPublishStatus | string;
130
+ FailureMessage?: string;
131
+ }
132
+ export interface GetCognitoEventsRequest {
133
+ IdentityPoolId: string | undefined;
134
+ }
135
+ export interface GetCognitoEventsResponse {
136
+ Events?: Record<string, string>;
137
+ }
138
+ export interface GetIdentityPoolConfigurationRequest {
139
+ IdentityPoolId: string | undefined;
140
+ }
141
+ export declare type StreamingStatus = "DISABLED" | "ENABLED";
142
+ export interface CognitoStreams {
143
+ StreamName?: string;
144
+ RoleArn?: string;
145
+ StreamingStatus?: StreamingStatus | string;
146
+ }
147
+ export interface PushSync {
148
+ ApplicationArns?: string[];
149
+ RoleArn?: string;
150
+ }
151
+ export interface GetIdentityPoolConfigurationResponse {
152
+ IdentityPoolId?: string;
153
+ PushSync?: PushSync;
154
+ CognitoStreams?: CognitoStreams;
155
+ }
156
+ export interface ListDatasetsRequest {
157
+ IdentityPoolId: string | undefined;
158
+ IdentityId: string | undefined;
159
+ NextToken?: string;
160
+ MaxResults?: number;
161
+ }
162
+ export interface ListDatasetsResponse {
163
+ Datasets?: Dataset[];
164
+ Count?: number;
165
+ NextToken?: string;
166
+ }
167
+ export interface ListIdentityPoolUsageRequest {
168
+ NextToken?: string;
169
+ MaxResults?: number;
170
+ }
171
+ export interface ListIdentityPoolUsageResponse {
172
+ IdentityPoolUsages?: IdentityPoolUsage[];
173
+ MaxResults?: number;
174
+ Count?: number;
175
+ NextToken?: string;
176
+ }
177
+ export interface ListRecordsRequest {
178
+ IdentityPoolId: string | undefined;
179
+ IdentityId: string | undefined;
180
+ DatasetName: string | undefined;
181
+ LastSyncCount?: number;
182
+ NextToken?: string;
183
+ MaxResults?: number;
184
+ SyncSessionToken?: string;
185
+ }
186
+ export interface _Record {
187
+ Key?: string;
188
+ Value?: string;
189
+ SyncCount?: number;
190
+ LastModifiedDate?: Date;
191
+ LastModifiedBy?: string;
192
+ DeviceLastModifiedDate?: Date;
193
+ }
194
+ export interface ListRecordsResponse {
195
+ Records?: _Record[];
196
+ NextToken?: string;
197
+ Count?: number;
198
+ DatasetSyncCount?: number;
199
+ LastModifiedBy?: string;
200
+ MergedDatasetNames?: string[];
201
+ DatasetExists?: boolean;
202
+ DatasetDeletedAfterRequestedSyncCount?: boolean;
203
+ SyncSessionToken?: string;
204
+ }
205
+ export declare class InvalidConfigurationException extends __BaseException {
206
+ readonly name: "InvalidConfigurationException";
207
+ readonly $fault: "client";
208
+ constructor(
209
+ opts: __ExceptionOptionType<InvalidConfigurationException, __BaseException>
210
+ );
211
+ }
212
+ export declare type Platform = "ADM" | "APNS" | "APNS_SANDBOX" | "GCM";
213
+ export interface RegisterDeviceRequest {
214
+ IdentityPoolId: string | undefined;
215
+ IdentityId: string | undefined;
216
+ Platform: Platform | string | undefined;
217
+ Token: string | undefined;
218
+ }
219
+ export interface RegisterDeviceResponse {
220
+ DeviceId?: string;
221
+ }
222
+ export interface SetCognitoEventsRequest {
223
+ IdentityPoolId: string | undefined;
224
+ Events: Record<string, string> | undefined;
225
+ }
226
+ export declare class ConcurrentModificationException extends __BaseException {
227
+ readonly name: "ConcurrentModificationException";
228
+ readonly $fault: "client";
229
+ constructor(
230
+ opts: __ExceptionOptionType<
231
+ ConcurrentModificationException,
232
+ __BaseException
233
+ >
234
+ );
235
+ }
236
+ export interface SetIdentityPoolConfigurationRequest {
237
+ IdentityPoolId: string | undefined;
238
+ PushSync?: PushSync;
239
+ CognitoStreams?: CognitoStreams;
240
+ }
241
+ export interface SetIdentityPoolConfigurationResponse {
242
+ IdentityPoolId?: string;
243
+ PushSync?: PushSync;
244
+ CognitoStreams?: CognitoStreams;
245
+ }
246
+ export interface SubscribeToDatasetRequest {
247
+ IdentityPoolId: string | undefined;
248
+ IdentityId: string | undefined;
249
+ DatasetName: string | undefined;
250
+ DeviceId: string | undefined;
251
+ }
252
+ export interface SubscribeToDatasetResponse {}
253
+ export interface UnsubscribeFromDatasetRequest {
254
+ IdentityPoolId: string | undefined;
255
+ IdentityId: string | undefined;
256
+ DatasetName: string | undefined;
257
+ DeviceId: string | undefined;
258
+ }
259
+ export interface UnsubscribeFromDatasetResponse {}
260
+ export declare class InvalidLambdaFunctionOutputException extends __BaseException {
261
+ readonly name: "InvalidLambdaFunctionOutputException";
262
+ readonly $fault: "client";
263
+ constructor(
264
+ opts: __ExceptionOptionType<
265
+ InvalidLambdaFunctionOutputException,
266
+ __BaseException
267
+ >
268
+ );
269
+ }
270
+ export declare class LambdaThrottledException extends __BaseException {
271
+ readonly name: "LambdaThrottledException";
272
+ readonly $fault: "client";
273
+ constructor(
274
+ opts: __ExceptionOptionType<LambdaThrottledException, __BaseException>
275
+ );
276
+ }
277
+ export declare class LimitExceededException extends __BaseException {
278
+ readonly name: "LimitExceededException";
279
+ readonly $fault: "client";
280
+ constructor(
281
+ opts: __ExceptionOptionType<LimitExceededException, __BaseException>
282
+ );
283
+ }
284
+ export declare type Operation = "remove" | "replace";
285
+ export interface RecordPatch {
286
+ Op: Operation | string | undefined;
287
+ Key: string | undefined;
288
+ Value?: string;
289
+ SyncCount: number | undefined;
290
+ DeviceLastModifiedDate?: Date;
291
+ }
292
+ export interface UpdateRecordsRequest {
293
+ IdentityPoolId: string | undefined;
294
+ IdentityId: string | undefined;
295
+ DatasetName: string | undefined;
296
+ DeviceId?: string;
297
+ RecordPatches?: RecordPatch[];
298
+ SyncSessionToken: string | undefined;
299
+ ClientContext?: string;
300
+ }
301
+ export interface UpdateRecordsResponse {
302
+ Records?: _Record[];
303
+ }
304
+ export declare const BulkPublishRequestFilterSensitiveLog: (
305
+ obj: BulkPublishRequest
306
+ ) => any;
307
+ export declare const BulkPublishResponseFilterSensitiveLog: (
308
+ obj: BulkPublishResponse
309
+ ) => any;
310
+ export declare const DeleteDatasetRequestFilterSensitiveLog: (
311
+ obj: DeleteDatasetRequest
312
+ ) => any;
313
+ export declare const DatasetFilterSensitiveLog: (obj: Dataset) => any;
314
+ export declare const DeleteDatasetResponseFilterSensitiveLog: (
315
+ obj: DeleteDatasetResponse
316
+ ) => any;
317
+ export declare const DescribeDatasetRequestFilterSensitiveLog: (
318
+ obj: DescribeDatasetRequest
319
+ ) => any;
320
+ export declare const DescribeDatasetResponseFilterSensitiveLog: (
321
+ obj: DescribeDatasetResponse
322
+ ) => any;
323
+ export declare const DescribeIdentityPoolUsageRequestFilterSensitiveLog: (
324
+ obj: DescribeIdentityPoolUsageRequest
325
+ ) => any;
326
+ export declare const IdentityPoolUsageFilterSensitiveLog: (
327
+ obj: IdentityPoolUsage
328
+ ) => any;
329
+ export declare const DescribeIdentityPoolUsageResponseFilterSensitiveLog: (
330
+ obj: DescribeIdentityPoolUsageResponse
331
+ ) => any;
332
+ export declare const DescribeIdentityUsageRequestFilterSensitiveLog: (
333
+ obj: DescribeIdentityUsageRequest
334
+ ) => any;
335
+ export declare const IdentityUsageFilterSensitiveLog: (
336
+ obj: IdentityUsage
337
+ ) => any;
338
+ export declare const DescribeIdentityUsageResponseFilterSensitiveLog: (
339
+ obj: DescribeIdentityUsageResponse
340
+ ) => any;
341
+ export declare const GetBulkPublishDetailsRequestFilterSensitiveLog: (
342
+ obj: GetBulkPublishDetailsRequest
343
+ ) => any;
344
+ export declare const GetBulkPublishDetailsResponseFilterSensitiveLog: (
345
+ obj: GetBulkPublishDetailsResponse
346
+ ) => any;
347
+ export declare const GetCognitoEventsRequestFilterSensitiveLog: (
348
+ obj: GetCognitoEventsRequest
349
+ ) => any;
350
+ export declare const GetCognitoEventsResponseFilterSensitiveLog: (
351
+ obj: GetCognitoEventsResponse
352
+ ) => any;
353
+ export declare const GetIdentityPoolConfigurationRequestFilterSensitiveLog: (
354
+ obj: GetIdentityPoolConfigurationRequest
355
+ ) => any;
356
+ export declare const CognitoStreamsFilterSensitiveLog: (
357
+ obj: CognitoStreams
358
+ ) => any;
359
+ export declare const PushSyncFilterSensitiveLog: (obj: PushSync) => any;
360
+ export declare const GetIdentityPoolConfigurationResponseFilterSensitiveLog: (
361
+ obj: GetIdentityPoolConfigurationResponse
362
+ ) => any;
363
+ export declare const ListDatasetsRequestFilterSensitiveLog: (
364
+ obj: ListDatasetsRequest
365
+ ) => any;
366
+ export declare const ListDatasetsResponseFilterSensitiveLog: (
367
+ obj: ListDatasetsResponse
368
+ ) => any;
369
+ export declare const ListIdentityPoolUsageRequestFilterSensitiveLog: (
370
+ obj: ListIdentityPoolUsageRequest
371
+ ) => any;
372
+ export declare const ListIdentityPoolUsageResponseFilterSensitiveLog: (
373
+ obj: ListIdentityPoolUsageResponse
374
+ ) => any;
375
+ export declare const ListRecordsRequestFilterSensitiveLog: (
376
+ obj: ListRecordsRequest
377
+ ) => any;
378
+ export declare const _RecordFilterSensitiveLog: (obj: _Record) => any;
379
+ export declare const ListRecordsResponseFilterSensitiveLog: (
380
+ obj: ListRecordsResponse
381
+ ) => any;
382
+ export declare const RegisterDeviceRequestFilterSensitiveLog: (
383
+ obj: RegisterDeviceRequest
384
+ ) => any;
385
+ export declare const RegisterDeviceResponseFilterSensitiveLog: (
386
+ obj: RegisterDeviceResponse
387
+ ) => any;
388
+ export declare const SetCognitoEventsRequestFilterSensitiveLog: (
389
+ obj: SetCognitoEventsRequest
390
+ ) => any;
391
+ export declare const SetIdentityPoolConfigurationRequestFilterSensitiveLog: (
392
+ obj: SetIdentityPoolConfigurationRequest
393
+ ) => any;
394
+ export declare const SetIdentityPoolConfigurationResponseFilterSensitiveLog: (
395
+ obj: SetIdentityPoolConfigurationResponse
396
+ ) => any;
397
+ export declare const SubscribeToDatasetRequestFilterSensitiveLog: (
398
+ obj: SubscribeToDatasetRequest
399
+ ) => any;
400
+ export declare const SubscribeToDatasetResponseFilterSensitiveLog: (
401
+ obj: SubscribeToDatasetResponse
402
+ ) => any;
403
+ export declare const UnsubscribeFromDatasetRequestFilterSensitiveLog: (
404
+ obj: UnsubscribeFromDatasetRequest
405
+ ) => any;
406
+ export declare const UnsubscribeFromDatasetResponseFilterSensitiveLog: (
407
+ obj: UnsubscribeFromDatasetResponse
408
+ ) => any;
409
+ export declare const RecordPatchFilterSensitiveLog: (obj: RecordPatch) => any;
410
+ export declare const UpdateRecordsRequestFilterSensitiveLog: (
411
+ obj: UpdateRecordsRequest
412
+ ) => any;
413
+ export declare const UpdateRecordsResponseFilterSensitiveLog: (
414
+ obj: UpdateRecordsResponse
415
+ ) => any;