@aws-sdk/client-cognito-sync 3.50.0 → 3.51.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist-types/ts3.4/CognitoSync.d.ts +90 -0
- package/dist-types/ts3.4/CognitoSyncClient.d.ts +90 -0
- package/dist-types/ts3.4/commands/BulkPublishCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteDatasetCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeDatasetCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeIdentityPoolUsageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeIdentityUsageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBulkPublishDetailsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetCognitoEventsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetIdentityPoolConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListDatasetsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListIdentityPoolUsageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListRecordsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RegisterDeviceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SetCognitoEventsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SetIdentityPoolConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SubscribeToDatasetCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UnsubscribeFromDatasetCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateRecordsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +17 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +4 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +618 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +53 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +8 -8
|
@@ -0,0 +1,618 @@
|
|
|
1
|
+
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
|
|
2
|
+
|
|
3
|
+
export interface AlreadyStreamedException extends __SmithyException, $MetadataBearer {
|
|
4
|
+
name: "AlreadyStreamedException";
|
|
5
|
+
$fault: "client";
|
|
6
|
+
|
|
7
|
+
message: string | undefined;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export interface BulkPublishRequest {
|
|
11
|
+
|
|
12
|
+
IdentityPoolId: string | undefined;
|
|
13
|
+
}
|
|
14
|
+
export declare namespace BulkPublishRequest {
|
|
15
|
+
|
|
16
|
+
const filterSensitiveLog: (obj: BulkPublishRequest) => any;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export interface BulkPublishResponse {
|
|
20
|
+
|
|
21
|
+
IdentityPoolId?: string;
|
|
22
|
+
}
|
|
23
|
+
export declare namespace BulkPublishResponse {
|
|
24
|
+
|
|
25
|
+
const filterSensitiveLog: (obj: BulkPublishResponse) => any;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export interface DuplicateRequestException extends __SmithyException, $MetadataBearer {
|
|
29
|
+
name: "DuplicateRequestException";
|
|
30
|
+
$fault: "client";
|
|
31
|
+
|
|
32
|
+
message: string | undefined;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export interface InternalErrorException extends __SmithyException, $MetadataBearer {
|
|
36
|
+
name: "InternalErrorException";
|
|
37
|
+
$fault: "server";
|
|
38
|
+
|
|
39
|
+
message: string | undefined;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export interface InvalidParameterException extends __SmithyException, $MetadataBearer {
|
|
43
|
+
name: "InvalidParameterException";
|
|
44
|
+
$fault: "client";
|
|
45
|
+
|
|
46
|
+
message: string | undefined;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export interface NotAuthorizedException extends __SmithyException, $MetadataBearer {
|
|
50
|
+
name: "NotAuthorizedException";
|
|
51
|
+
$fault: "client";
|
|
52
|
+
|
|
53
|
+
message: string | undefined;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
|
|
57
|
+
name: "ResourceNotFoundException";
|
|
58
|
+
$fault: "client";
|
|
59
|
+
|
|
60
|
+
message: string | undefined;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export interface DeleteDatasetRequest {
|
|
64
|
+
|
|
65
|
+
IdentityPoolId: string | undefined;
|
|
66
|
+
|
|
67
|
+
IdentityId: string | undefined;
|
|
68
|
+
|
|
69
|
+
DatasetName: string | undefined;
|
|
70
|
+
}
|
|
71
|
+
export declare namespace DeleteDatasetRequest {
|
|
72
|
+
|
|
73
|
+
const filterSensitiveLog: (obj: DeleteDatasetRequest) => any;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export interface Dataset {
|
|
77
|
+
|
|
78
|
+
IdentityId?: string;
|
|
79
|
+
|
|
80
|
+
DatasetName?: string;
|
|
81
|
+
|
|
82
|
+
CreationDate?: Date;
|
|
83
|
+
|
|
84
|
+
LastModifiedDate?: Date;
|
|
85
|
+
|
|
86
|
+
LastModifiedBy?: string;
|
|
87
|
+
|
|
88
|
+
DataStorage?: number;
|
|
89
|
+
|
|
90
|
+
NumRecords?: number;
|
|
91
|
+
}
|
|
92
|
+
export declare namespace Dataset {
|
|
93
|
+
|
|
94
|
+
const filterSensitiveLog: (obj: Dataset) => any;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
export interface DeleteDatasetResponse {
|
|
98
|
+
|
|
99
|
+
Dataset?: Dataset;
|
|
100
|
+
}
|
|
101
|
+
export declare namespace DeleteDatasetResponse {
|
|
102
|
+
|
|
103
|
+
const filterSensitiveLog: (obj: DeleteDatasetResponse) => any;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export interface ResourceConflictException extends __SmithyException, $MetadataBearer {
|
|
107
|
+
name: "ResourceConflictException";
|
|
108
|
+
$fault: "client";
|
|
109
|
+
|
|
110
|
+
message: string | undefined;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
export interface TooManyRequestsException extends __SmithyException, $MetadataBearer {
|
|
114
|
+
name: "TooManyRequestsException";
|
|
115
|
+
$fault: "client";
|
|
116
|
+
|
|
117
|
+
message: string | undefined;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
export interface DescribeDatasetRequest {
|
|
121
|
+
|
|
122
|
+
IdentityPoolId: string | undefined;
|
|
123
|
+
|
|
124
|
+
IdentityId: string | undefined;
|
|
125
|
+
|
|
126
|
+
DatasetName: string | undefined;
|
|
127
|
+
}
|
|
128
|
+
export declare namespace DescribeDatasetRequest {
|
|
129
|
+
|
|
130
|
+
const filterSensitiveLog: (obj: DescribeDatasetRequest) => any;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
export interface DescribeDatasetResponse {
|
|
134
|
+
|
|
135
|
+
Dataset?: Dataset;
|
|
136
|
+
}
|
|
137
|
+
export declare namespace DescribeDatasetResponse {
|
|
138
|
+
|
|
139
|
+
const filterSensitiveLog: (obj: DescribeDatasetResponse) => any;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
export interface DescribeIdentityPoolUsageRequest {
|
|
143
|
+
|
|
144
|
+
IdentityPoolId: string | undefined;
|
|
145
|
+
}
|
|
146
|
+
export declare namespace DescribeIdentityPoolUsageRequest {
|
|
147
|
+
|
|
148
|
+
const filterSensitiveLog: (obj: DescribeIdentityPoolUsageRequest) => any;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
export interface IdentityPoolUsage {
|
|
152
|
+
|
|
153
|
+
IdentityPoolId?: string;
|
|
154
|
+
|
|
155
|
+
SyncSessionsCount?: number;
|
|
156
|
+
|
|
157
|
+
DataStorage?: number;
|
|
158
|
+
|
|
159
|
+
LastModifiedDate?: Date;
|
|
160
|
+
}
|
|
161
|
+
export declare namespace IdentityPoolUsage {
|
|
162
|
+
|
|
163
|
+
const filterSensitiveLog: (obj: IdentityPoolUsage) => any;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
export interface DescribeIdentityPoolUsageResponse {
|
|
167
|
+
|
|
168
|
+
IdentityPoolUsage?: IdentityPoolUsage;
|
|
169
|
+
}
|
|
170
|
+
export declare namespace DescribeIdentityPoolUsageResponse {
|
|
171
|
+
|
|
172
|
+
const filterSensitiveLog: (obj: DescribeIdentityPoolUsageResponse) => any;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
export interface DescribeIdentityUsageRequest {
|
|
176
|
+
|
|
177
|
+
IdentityPoolId: string | undefined;
|
|
178
|
+
|
|
179
|
+
IdentityId: string | undefined;
|
|
180
|
+
}
|
|
181
|
+
export declare namespace DescribeIdentityUsageRequest {
|
|
182
|
+
|
|
183
|
+
const filterSensitiveLog: (obj: DescribeIdentityUsageRequest) => any;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
export interface IdentityUsage {
|
|
187
|
+
|
|
188
|
+
IdentityId?: string;
|
|
189
|
+
|
|
190
|
+
IdentityPoolId?: string;
|
|
191
|
+
|
|
192
|
+
LastModifiedDate?: Date;
|
|
193
|
+
|
|
194
|
+
DatasetCount?: number;
|
|
195
|
+
|
|
196
|
+
DataStorage?: number;
|
|
197
|
+
}
|
|
198
|
+
export declare namespace IdentityUsage {
|
|
199
|
+
|
|
200
|
+
const filterSensitiveLog: (obj: IdentityUsage) => any;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
export interface DescribeIdentityUsageResponse {
|
|
204
|
+
|
|
205
|
+
IdentityUsage?: IdentityUsage;
|
|
206
|
+
}
|
|
207
|
+
export declare namespace DescribeIdentityUsageResponse {
|
|
208
|
+
|
|
209
|
+
const filterSensitiveLog: (obj: DescribeIdentityUsageResponse) => any;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
export interface GetBulkPublishDetailsRequest {
|
|
213
|
+
|
|
214
|
+
IdentityPoolId: string | undefined;
|
|
215
|
+
}
|
|
216
|
+
export declare namespace GetBulkPublishDetailsRequest {
|
|
217
|
+
|
|
218
|
+
const filterSensitiveLog: (obj: GetBulkPublishDetailsRequest) => any;
|
|
219
|
+
}
|
|
220
|
+
export declare enum BulkPublishStatus {
|
|
221
|
+
FAILED = "FAILED",
|
|
222
|
+
IN_PROGRESS = "IN_PROGRESS",
|
|
223
|
+
NOT_STARTED = "NOT_STARTED",
|
|
224
|
+
SUCCEEDED = "SUCCEEDED"
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
export interface GetBulkPublishDetailsResponse {
|
|
228
|
+
|
|
229
|
+
IdentityPoolId?: string;
|
|
230
|
+
|
|
231
|
+
BulkPublishStartTime?: Date;
|
|
232
|
+
|
|
233
|
+
BulkPublishCompleteTime?: Date;
|
|
234
|
+
|
|
235
|
+
BulkPublishStatus?: BulkPublishStatus | string;
|
|
236
|
+
|
|
237
|
+
FailureMessage?: string;
|
|
238
|
+
}
|
|
239
|
+
export declare namespace GetBulkPublishDetailsResponse {
|
|
240
|
+
|
|
241
|
+
const filterSensitiveLog: (obj: GetBulkPublishDetailsResponse) => any;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
export interface GetCognitoEventsRequest {
|
|
245
|
+
|
|
246
|
+
IdentityPoolId: string | undefined;
|
|
247
|
+
}
|
|
248
|
+
export declare namespace GetCognitoEventsRequest {
|
|
249
|
+
|
|
250
|
+
const filterSensitiveLog: (obj: GetCognitoEventsRequest) => any;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
export interface GetCognitoEventsResponse {
|
|
254
|
+
|
|
255
|
+
Events?: {
|
|
256
|
+
[key: string]: string;
|
|
257
|
+
};
|
|
258
|
+
}
|
|
259
|
+
export declare namespace GetCognitoEventsResponse {
|
|
260
|
+
|
|
261
|
+
const filterSensitiveLog: (obj: GetCognitoEventsResponse) => any;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
export interface GetIdentityPoolConfigurationRequest {
|
|
265
|
+
|
|
266
|
+
IdentityPoolId: string | undefined;
|
|
267
|
+
}
|
|
268
|
+
export declare namespace GetIdentityPoolConfigurationRequest {
|
|
269
|
+
|
|
270
|
+
const filterSensitiveLog: (obj: GetIdentityPoolConfigurationRequest) => any;
|
|
271
|
+
}
|
|
272
|
+
export declare type StreamingStatus = "DISABLED" | "ENABLED";
|
|
273
|
+
|
|
274
|
+
export interface CognitoStreams {
|
|
275
|
+
|
|
276
|
+
StreamName?: string;
|
|
277
|
+
|
|
278
|
+
RoleArn?: string;
|
|
279
|
+
|
|
280
|
+
StreamingStatus?: StreamingStatus | string;
|
|
281
|
+
}
|
|
282
|
+
export declare namespace CognitoStreams {
|
|
283
|
+
|
|
284
|
+
const filterSensitiveLog: (obj: CognitoStreams) => any;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
export interface PushSync {
|
|
288
|
+
|
|
289
|
+
ApplicationArns?: string[];
|
|
290
|
+
|
|
291
|
+
RoleArn?: string;
|
|
292
|
+
}
|
|
293
|
+
export declare namespace PushSync {
|
|
294
|
+
|
|
295
|
+
const filterSensitiveLog: (obj: PushSync) => any;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
export interface GetIdentityPoolConfigurationResponse {
|
|
299
|
+
|
|
300
|
+
IdentityPoolId?: string;
|
|
301
|
+
|
|
302
|
+
PushSync?: PushSync;
|
|
303
|
+
|
|
304
|
+
CognitoStreams?: CognitoStreams;
|
|
305
|
+
}
|
|
306
|
+
export declare namespace GetIdentityPoolConfigurationResponse {
|
|
307
|
+
|
|
308
|
+
const filterSensitiveLog: (obj: GetIdentityPoolConfigurationResponse) => any;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
export interface ListDatasetsRequest {
|
|
312
|
+
|
|
313
|
+
IdentityPoolId: string | undefined;
|
|
314
|
+
|
|
315
|
+
IdentityId: string | undefined;
|
|
316
|
+
|
|
317
|
+
NextToken?: string;
|
|
318
|
+
|
|
319
|
+
MaxResults?: number;
|
|
320
|
+
}
|
|
321
|
+
export declare namespace ListDatasetsRequest {
|
|
322
|
+
|
|
323
|
+
const filterSensitiveLog: (obj: ListDatasetsRequest) => any;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
export interface ListDatasetsResponse {
|
|
327
|
+
|
|
328
|
+
Datasets?: Dataset[];
|
|
329
|
+
|
|
330
|
+
Count?: number;
|
|
331
|
+
|
|
332
|
+
NextToken?: string;
|
|
333
|
+
}
|
|
334
|
+
export declare namespace ListDatasetsResponse {
|
|
335
|
+
|
|
336
|
+
const filterSensitiveLog: (obj: ListDatasetsResponse) => any;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
export interface ListIdentityPoolUsageRequest {
|
|
340
|
+
|
|
341
|
+
NextToken?: string;
|
|
342
|
+
|
|
343
|
+
MaxResults?: number;
|
|
344
|
+
}
|
|
345
|
+
export declare namespace ListIdentityPoolUsageRequest {
|
|
346
|
+
|
|
347
|
+
const filterSensitiveLog: (obj: ListIdentityPoolUsageRequest) => any;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
export interface ListIdentityPoolUsageResponse {
|
|
351
|
+
|
|
352
|
+
IdentityPoolUsages?: IdentityPoolUsage[];
|
|
353
|
+
|
|
354
|
+
MaxResults?: number;
|
|
355
|
+
|
|
356
|
+
Count?: number;
|
|
357
|
+
|
|
358
|
+
NextToken?: string;
|
|
359
|
+
}
|
|
360
|
+
export declare namespace ListIdentityPoolUsageResponse {
|
|
361
|
+
|
|
362
|
+
const filterSensitiveLog: (obj: ListIdentityPoolUsageResponse) => any;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
export interface ListRecordsRequest {
|
|
366
|
+
|
|
367
|
+
IdentityPoolId: string | undefined;
|
|
368
|
+
|
|
369
|
+
IdentityId: string | undefined;
|
|
370
|
+
|
|
371
|
+
DatasetName: string | undefined;
|
|
372
|
+
|
|
373
|
+
LastSyncCount?: number;
|
|
374
|
+
|
|
375
|
+
NextToken?: string;
|
|
376
|
+
|
|
377
|
+
MaxResults?: number;
|
|
378
|
+
|
|
379
|
+
SyncSessionToken?: string;
|
|
380
|
+
}
|
|
381
|
+
export declare namespace ListRecordsRequest {
|
|
382
|
+
|
|
383
|
+
const filterSensitiveLog: (obj: ListRecordsRequest) => any;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
export interface _Record {
|
|
387
|
+
|
|
388
|
+
Key?: string;
|
|
389
|
+
|
|
390
|
+
Value?: string;
|
|
391
|
+
|
|
392
|
+
SyncCount?: number;
|
|
393
|
+
|
|
394
|
+
LastModifiedDate?: Date;
|
|
395
|
+
|
|
396
|
+
LastModifiedBy?: string;
|
|
397
|
+
|
|
398
|
+
DeviceLastModifiedDate?: Date;
|
|
399
|
+
}
|
|
400
|
+
export declare namespace _Record {
|
|
401
|
+
|
|
402
|
+
const filterSensitiveLog: (obj: _Record) => any;
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
export interface ListRecordsResponse {
|
|
406
|
+
|
|
407
|
+
Records?: _Record[];
|
|
408
|
+
|
|
409
|
+
NextToken?: string;
|
|
410
|
+
|
|
411
|
+
Count?: number;
|
|
412
|
+
|
|
413
|
+
DatasetSyncCount?: number;
|
|
414
|
+
|
|
415
|
+
LastModifiedBy?: string;
|
|
416
|
+
|
|
417
|
+
MergedDatasetNames?: string[];
|
|
418
|
+
|
|
419
|
+
DatasetExists?: boolean;
|
|
420
|
+
|
|
421
|
+
DatasetDeletedAfterRequestedSyncCount?: boolean;
|
|
422
|
+
|
|
423
|
+
SyncSessionToken?: string;
|
|
424
|
+
}
|
|
425
|
+
export declare namespace ListRecordsResponse {
|
|
426
|
+
|
|
427
|
+
const filterSensitiveLog: (obj: ListRecordsResponse) => any;
|
|
428
|
+
}
|
|
429
|
+
export interface InvalidConfigurationException extends __SmithyException, $MetadataBearer {
|
|
430
|
+
name: "InvalidConfigurationException";
|
|
431
|
+
$fault: "client";
|
|
432
|
+
|
|
433
|
+
message: string | undefined;
|
|
434
|
+
}
|
|
435
|
+
export declare type Platform = "ADM" | "APNS" | "APNS_SANDBOX" | "GCM";
|
|
436
|
+
|
|
437
|
+
export interface RegisterDeviceRequest {
|
|
438
|
+
|
|
439
|
+
IdentityPoolId: string | undefined;
|
|
440
|
+
|
|
441
|
+
IdentityId: string | undefined;
|
|
442
|
+
|
|
443
|
+
Platform: Platform | string | undefined;
|
|
444
|
+
|
|
445
|
+
Token: string | undefined;
|
|
446
|
+
}
|
|
447
|
+
export declare namespace RegisterDeviceRequest {
|
|
448
|
+
|
|
449
|
+
const filterSensitiveLog: (obj: RegisterDeviceRequest) => any;
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
export interface RegisterDeviceResponse {
|
|
453
|
+
|
|
454
|
+
DeviceId?: string;
|
|
455
|
+
}
|
|
456
|
+
export declare namespace RegisterDeviceResponse {
|
|
457
|
+
|
|
458
|
+
const filterSensitiveLog: (obj: RegisterDeviceResponse) => any;
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
export interface SetCognitoEventsRequest {
|
|
462
|
+
|
|
463
|
+
IdentityPoolId: string | undefined;
|
|
464
|
+
|
|
465
|
+
Events: {
|
|
466
|
+
[key: string]: string;
|
|
467
|
+
} | undefined;
|
|
468
|
+
}
|
|
469
|
+
export declare namespace SetCognitoEventsRequest {
|
|
470
|
+
|
|
471
|
+
const filterSensitiveLog: (obj: SetCognitoEventsRequest) => any;
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
export interface ConcurrentModificationException extends __SmithyException, $MetadataBearer {
|
|
475
|
+
name: "ConcurrentModificationException";
|
|
476
|
+
$fault: "client";
|
|
477
|
+
|
|
478
|
+
message: string | undefined;
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
export interface SetIdentityPoolConfigurationRequest {
|
|
482
|
+
|
|
483
|
+
IdentityPoolId: string | undefined;
|
|
484
|
+
|
|
485
|
+
PushSync?: PushSync;
|
|
486
|
+
|
|
487
|
+
CognitoStreams?: CognitoStreams;
|
|
488
|
+
}
|
|
489
|
+
export declare namespace SetIdentityPoolConfigurationRequest {
|
|
490
|
+
|
|
491
|
+
const filterSensitiveLog: (obj: SetIdentityPoolConfigurationRequest) => any;
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
export interface SetIdentityPoolConfigurationResponse {
|
|
495
|
+
|
|
496
|
+
IdentityPoolId?: string;
|
|
497
|
+
|
|
498
|
+
PushSync?: PushSync;
|
|
499
|
+
|
|
500
|
+
CognitoStreams?: CognitoStreams;
|
|
501
|
+
}
|
|
502
|
+
export declare namespace SetIdentityPoolConfigurationResponse {
|
|
503
|
+
|
|
504
|
+
const filterSensitiveLog: (obj: SetIdentityPoolConfigurationResponse) => any;
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
export interface SubscribeToDatasetRequest {
|
|
508
|
+
|
|
509
|
+
IdentityPoolId: string | undefined;
|
|
510
|
+
|
|
511
|
+
IdentityId: string | undefined;
|
|
512
|
+
|
|
513
|
+
DatasetName: string | undefined;
|
|
514
|
+
|
|
515
|
+
DeviceId: string | undefined;
|
|
516
|
+
}
|
|
517
|
+
export declare namespace SubscribeToDatasetRequest {
|
|
518
|
+
|
|
519
|
+
const filterSensitiveLog: (obj: SubscribeToDatasetRequest) => any;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
export interface SubscribeToDatasetResponse {
|
|
523
|
+
}
|
|
524
|
+
export declare namespace SubscribeToDatasetResponse {
|
|
525
|
+
|
|
526
|
+
const filterSensitiveLog: (obj: SubscribeToDatasetResponse) => any;
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
export interface UnsubscribeFromDatasetRequest {
|
|
530
|
+
|
|
531
|
+
IdentityPoolId: string | undefined;
|
|
532
|
+
|
|
533
|
+
IdentityId: string | undefined;
|
|
534
|
+
|
|
535
|
+
DatasetName: string | undefined;
|
|
536
|
+
|
|
537
|
+
DeviceId: string | undefined;
|
|
538
|
+
}
|
|
539
|
+
export declare namespace UnsubscribeFromDatasetRequest {
|
|
540
|
+
|
|
541
|
+
const filterSensitiveLog: (obj: UnsubscribeFromDatasetRequest) => any;
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
export interface UnsubscribeFromDatasetResponse {
|
|
545
|
+
}
|
|
546
|
+
export declare namespace UnsubscribeFromDatasetResponse {
|
|
547
|
+
|
|
548
|
+
const filterSensitiveLog: (obj: UnsubscribeFromDatasetResponse) => any;
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
export interface InvalidLambdaFunctionOutputException extends __SmithyException, $MetadataBearer {
|
|
552
|
+
name: "InvalidLambdaFunctionOutputException";
|
|
553
|
+
$fault: "client";
|
|
554
|
+
|
|
555
|
+
message: string | undefined;
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
export interface LambdaThrottledException extends __SmithyException, $MetadataBearer {
|
|
559
|
+
name: "LambdaThrottledException";
|
|
560
|
+
$fault: "client";
|
|
561
|
+
|
|
562
|
+
message: string | undefined;
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
export interface LimitExceededException extends __SmithyException, $MetadataBearer {
|
|
566
|
+
name: "LimitExceededException";
|
|
567
|
+
$fault: "client";
|
|
568
|
+
|
|
569
|
+
message: string | undefined;
|
|
570
|
+
}
|
|
571
|
+
export declare type Operation = "remove" | "replace";
|
|
572
|
+
|
|
573
|
+
export interface RecordPatch {
|
|
574
|
+
|
|
575
|
+
Op: Operation | string | undefined;
|
|
576
|
+
|
|
577
|
+
Key: string | undefined;
|
|
578
|
+
|
|
579
|
+
Value?: string;
|
|
580
|
+
|
|
581
|
+
SyncCount: number | undefined;
|
|
582
|
+
|
|
583
|
+
DeviceLastModifiedDate?: Date;
|
|
584
|
+
}
|
|
585
|
+
export declare namespace RecordPatch {
|
|
586
|
+
|
|
587
|
+
const filterSensitiveLog: (obj: RecordPatch) => any;
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
export interface UpdateRecordsRequest {
|
|
591
|
+
|
|
592
|
+
IdentityPoolId: string | undefined;
|
|
593
|
+
|
|
594
|
+
IdentityId: string | undefined;
|
|
595
|
+
|
|
596
|
+
DatasetName: string | undefined;
|
|
597
|
+
|
|
598
|
+
DeviceId?: string;
|
|
599
|
+
|
|
600
|
+
RecordPatches?: RecordPatch[];
|
|
601
|
+
|
|
602
|
+
SyncSessionToken: string | undefined;
|
|
603
|
+
|
|
604
|
+
ClientContext?: string;
|
|
605
|
+
}
|
|
606
|
+
export declare namespace UpdateRecordsRequest {
|
|
607
|
+
|
|
608
|
+
const filterSensitiveLog: (obj: UpdateRecordsRequest) => any;
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
export interface UpdateRecordsResponse {
|
|
612
|
+
|
|
613
|
+
Records?: _Record[];
|
|
614
|
+
}
|
|
615
|
+
export declare namespace UpdateRecordsResponse {
|
|
616
|
+
|
|
617
|
+
const filterSensitiveLog: (obj: UpdateRecordsResponse) => any;
|
|
618
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
2
|
+
import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
3
|
+
import { BulkPublishCommandInput, BulkPublishCommandOutput } from "../commands/BulkPublishCommand";
|
|
4
|
+
import { DeleteDatasetCommandInput, DeleteDatasetCommandOutput } from "../commands/DeleteDatasetCommand";
|
|
5
|
+
import { DescribeDatasetCommandInput, DescribeDatasetCommandOutput } from "../commands/DescribeDatasetCommand";
|
|
6
|
+
import { DescribeIdentityPoolUsageCommandInput, DescribeIdentityPoolUsageCommandOutput } from "../commands/DescribeIdentityPoolUsageCommand";
|
|
7
|
+
import { DescribeIdentityUsageCommandInput, DescribeIdentityUsageCommandOutput } from "../commands/DescribeIdentityUsageCommand";
|
|
8
|
+
import { GetBulkPublishDetailsCommandInput, GetBulkPublishDetailsCommandOutput } from "../commands/GetBulkPublishDetailsCommand";
|
|
9
|
+
import { GetCognitoEventsCommandInput, GetCognitoEventsCommandOutput } from "../commands/GetCognitoEventsCommand";
|
|
10
|
+
import { GetIdentityPoolConfigurationCommandInput, GetIdentityPoolConfigurationCommandOutput } from "../commands/GetIdentityPoolConfigurationCommand";
|
|
11
|
+
import { ListDatasetsCommandInput, ListDatasetsCommandOutput } from "../commands/ListDatasetsCommand";
|
|
12
|
+
import { ListIdentityPoolUsageCommandInput, ListIdentityPoolUsageCommandOutput } from "../commands/ListIdentityPoolUsageCommand";
|
|
13
|
+
import { ListRecordsCommandInput, ListRecordsCommandOutput } from "../commands/ListRecordsCommand";
|
|
14
|
+
import { RegisterDeviceCommandInput, RegisterDeviceCommandOutput } from "../commands/RegisterDeviceCommand";
|
|
15
|
+
import { SetCognitoEventsCommandInput, SetCognitoEventsCommandOutput } from "../commands/SetCognitoEventsCommand";
|
|
16
|
+
import { SetIdentityPoolConfigurationCommandInput, SetIdentityPoolConfigurationCommandOutput } from "../commands/SetIdentityPoolConfigurationCommand";
|
|
17
|
+
import { SubscribeToDatasetCommandInput, SubscribeToDatasetCommandOutput } from "../commands/SubscribeToDatasetCommand";
|
|
18
|
+
import { UnsubscribeFromDatasetCommandInput, UnsubscribeFromDatasetCommandOutput } from "../commands/UnsubscribeFromDatasetCommand";
|
|
19
|
+
import { UpdateRecordsCommandInput, UpdateRecordsCommandOutput } from "../commands/UpdateRecordsCommand";
|
|
20
|
+
export declare const serializeAws_restJson1BulkPublishCommand: (input: BulkPublishCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
21
|
+
export declare const serializeAws_restJson1DeleteDatasetCommand: (input: DeleteDatasetCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
22
|
+
export declare const serializeAws_restJson1DescribeDatasetCommand: (input: DescribeDatasetCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
23
|
+
export declare const serializeAws_restJson1DescribeIdentityPoolUsageCommand: (input: DescribeIdentityPoolUsageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
24
|
+
export declare const serializeAws_restJson1DescribeIdentityUsageCommand: (input: DescribeIdentityUsageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
25
|
+
export declare const serializeAws_restJson1GetBulkPublishDetailsCommand: (input: GetBulkPublishDetailsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
26
|
+
export declare const serializeAws_restJson1GetCognitoEventsCommand: (input: GetCognitoEventsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
27
|
+
export declare const serializeAws_restJson1GetIdentityPoolConfigurationCommand: (input: GetIdentityPoolConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
28
|
+
export declare const serializeAws_restJson1ListDatasetsCommand: (input: ListDatasetsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
29
|
+
export declare const serializeAws_restJson1ListIdentityPoolUsageCommand: (input: ListIdentityPoolUsageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
30
|
+
export declare const serializeAws_restJson1ListRecordsCommand: (input: ListRecordsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
31
|
+
export declare const serializeAws_restJson1RegisterDeviceCommand: (input: RegisterDeviceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
32
|
+
export declare const serializeAws_restJson1SetCognitoEventsCommand: (input: SetCognitoEventsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
33
|
+
export declare const serializeAws_restJson1SetIdentityPoolConfigurationCommand: (input: SetIdentityPoolConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
34
|
+
export declare const serializeAws_restJson1SubscribeToDatasetCommand: (input: SubscribeToDatasetCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
35
|
+
export declare const serializeAws_restJson1UnsubscribeFromDatasetCommand: (input: UnsubscribeFromDatasetCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
36
|
+
export declare const serializeAws_restJson1UpdateRecordsCommand: (input: UpdateRecordsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
37
|
+
export declare const deserializeAws_restJson1BulkPublishCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BulkPublishCommandOutput>;
|
|
38
|
+
export declare const deserializeAws_restJson1DeleteDatasetCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteDatasetCommandOutput>;
|
|
39
|
+
export declare const deserializeAws_restJson1DescribeDatasetCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeDatasetCommandOutput>;
|
|
40
|
+
export declare const deserializeAws_restJson1DescribeIdentityPoolUsageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeIdentityPoolUsageCommandOutput>;
|
|
41
|
+
export declare const deserializeAws_restJson1DescribeIdentityUsageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeIdentityUsageCommandOutput>;
|
|
42
|
+
export declare const deserializeAws_restJson1GetBulkPublishDetailsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetBulkPublishDetailsCommandOutput>;
|
|
43
|
+
export declare const deserializeAws_restJson1GetCognitoEventsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetCognitoEventsCommandOutput>;
|
|
44
|
+
export declare const deserializeAws_restJson1GetIdentityPoolConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetIdentityPoolConfigurationCommandOutput>;
|
|
45
|
+
export declare const deserializeAws_restJson1ListDatasetsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListDatasetsCommandOutput>;
|
|
46
|
+
export declare const deserializeAws_restJson1ListIdentityPoolUsageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListIdentityPoolUsageCommandOutput>;
|
|
47
|
+
export declare const deserializeAws_restJson1ListRecordsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListRecordsCommandOutput>;
|
|
48
|
+
export declare const deserializeAws_restJson1RegisterDeviceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RegisterDeviceCommandOutput>;
|
|
49
|
+
export declare const deserializeAws_restJson1SetCognitoEventsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SetCognitoEventsCommandOutput>;
|
|
50
|
+
export declare const deserializeAws_restJson1SetIdentityPoolConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SetIdentityPoolConfigurationCommandOutput>;
|
|
51
|
+
export declare const deserializeAws_restJson1SubscribeToDatasetCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SubscribeToDatasetCommandOutput>;
|
|
52
|
+
export declare const deserializeAws_restJson1UnsubscribeFromDatasetCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UnsubscribeFromDatasetCommandOutput>;
|
|
53
|
+
export declare const deserializeAws_restJson1UpdateRecordsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateRecordsCommandOutput>;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
|
+
import { CognitoSyncClientConfig } from "./CognitoSyncClient";
|
|
3
|
+
|
|
4
|
+
export declare const getRuntimeConfig: (config: CognitoSyncClientConfig) => {
|
|
5
|
+
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
+
bodyLengthChecker: (body: any) => number | undefined;
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
|
+
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
13
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
15
|
+
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
16
|
+
sha256: import("@aws-sdk/types").HashConstructor;
|
|
17
|
+
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
18
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
19
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
21
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
22
|
+
apiVersion: string;
|
|
23
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
24
|
+
disableHostPrefix: boolean;
|
|
25
|
+
logger: import("@aws-sdk/types").Logger;
|
|
26
|
+
serviceId: string;
|
|
27
|
+
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
28
|
+
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
29
|
+
tls?: boolean | undefined;
|
|
30
|
+
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
31
|
+
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
32
|
+
signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
|
|
33
|
+
signingEscapePath?: boolean | undefined;
|
|
34
|
+
systemClockOffset?: number | undefined;
|
|
35
|
+
signingRegion?: string | undefined;
|
|
36
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
37
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
38
|
+
};
|