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