@aws-sdk/client-cognito-sync 3.928.0 → 3.930.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +803 -928
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/CognitoSyncClient.js +2 -0
- package/dist-es/commands/BulkPublishCommand.js +3 -9
- package/dist-es/commands/DeleteDatasetCommand.js +3 -9
- package/dist-es/commands/DescribeDatasetCommand.js +3 -9
- package/dist-es/commands/DescribeIdentityPoolUsageCommand.js +3 -9
- package/dist-es/commands/DescribeIdentityUsageCommand.js +3 -9
- package/dist-es/commands/GetBulkPublishDetailsCommand.js +3 -9
- package/dist-es/commands/GetCognitoEventsCommand.js +3 -9
- package/dist-es/commands/GetIdentityPoolConfigurationCommand.js +3 -9
- package/dist-es/commands/ListDatasetsCommand.js +3 -9
- package/dist-es/commands/ListIdentityPoolUsageCommand.js +3 -9
- package/dist-es/commands/ListRecordsCommand.js +3 -9
- package/dist-es/commands/RegisterDeviceCommand.js +3 -9
- package/dist-es/commands/SetCognitoEventsCommand.js +3 -9
- package/dist-es/commands/SetIdentityPoolConfigurationCommand.js +3 -9
- package/dist-es/commands/SubscribeToDatasetCommand.js +3 -9
- package/dist-es/commands/UnsubscribeFromDatasetCommand.js +3 -9
- package/dist-es/commands/UpdateRecordsCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +740 -0
- package/dist-types/CognitoSyncClient.d.ts +10 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +80 -0
- package/dist-types/ts3.4/CognitoSyncClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +85 -0
- package/package.json +33 -33
- package/dist-es/protocols/Aws_restJson1.js +0 -780
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -155
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -209
|
@@ -0,0 +1,740 @@
|
|
|
1
|
+
const _AA = "ApplicationArns";
|
|
2
|
+
const _ASE = "AlreadyStreamedException";
|
|
3
|
+
const _BP = "BulkPublish";
|
|
4
|
+
const _BPCT = "BulkPublishCompleteTime";
|
|
5
|
+
const _BPR = "BulkPublishRequest";
|
|
6
|
+
const _BPRu = "BulkPublishResponse";
|
|
7
|
+
const _BPS = "BulkPublishStatus";
|
|
8
|
+
const _BPST = "BulkPublishStartTime";
|
|
9
|
+
const _C = "Count";
|
|
10
|
+
const _CC = "ClientContext";
|
|
11
|
+
const _CD = "CreationDate";
|
|
12
|
+
const _CME = "ConcurrentModificationException";
|
|
13
|
+
const _CS = "CognitoStreams";
|
|
14
|
+
const _D = "Dataset";
|
|
15
|
+
const _DC = "DatasetCount";
|
|
16
|
+
const _DD = "DeleteDataset";
|
|
17
|
+
const _DDARSC = "DatasetDeletedAfterRequestedSyncCount";
|
|
18
|
+
const _DDR = "DeleteDatasetRequest";
|
|
19
|
+
const _DDRe = "DeleteDatasetResponse";
|
|
20
|
+
const _DDRes = "DescribeDatasetRequest";
|
|
21
|
+
const _DDResc = "DescribeDatasetResponse";
|
|
22
|
+
const _DDe = "DescribeDataset";
|
|
23
|
+
const _DE = "DatasetExists";
|
|
24
|
+
const _DI = "DeviceId";
|
|
25
|
+
const _DIPU = "DescribeIdentityPoolUsage";
|
|
26
|
+
const _DIPUR = "DescribeIdentityPoolUsageRequest";
|
|
27
|
+
const _DIPURe = "DescribeIdentityPoolUsageResponse";
|
|
28
|
+
const _DIU = "DescribeIdentityUsage";
|
|
29
|
+
const _DIUR = "DescribeIdentityUsageRequest";
|
|
30
|
+
const _DIURe = "DescribeIdentityUsageResponse";
|
|
31
|
+
const _DL = "DatasetList";
|
|
32
|
+
const _DLMD = "DeviceLastModifiedDate";
|
|
33
|
+
const _DN = "DatasetName";
|
|
34
|
+
const _DRE = "DuplicateRequestException";
|
|
35
|
+
const _DS = "DataStorage";
|
|
36
|
+
const _DSC = "DatasetSyncCount";
|
|
37
|
+
const _Da = "Datasets";
|
|
38
|
+
const _E = "Events";
|
|
39
|
+
const _FM = "FailureMessage";
|
|
40
|
+
const _GBPD = "GetBulkPublishDetails";
|
|
41
|
+
const _GBPDR = "GetBulkPublishDetailsRequest";
|
|
42
|
+
const _GBPDRe = "GetBulkPublishDetailsResponse";
|
|
43
|
+
const _GCE = "GetCognitoEvents";
|
|
44
|
+
const _GCER = "GetCognitoEventsRequest";
|
|
45
|
+
const _GCERe = "GetCognitoEventsResponse";
|
|
46
|
+
const _GIPC = "GetIdentityPoolConfiguration";
|
|
47
|
+
const _GIPCR = "GetIdentityPoolConfigurationRequest";
|
|
48
|
+
const _GIPCRe = "GetIdentityPoolConfigurationResponse";
|
|
49
|
+
const _ICE = "InvalidConfigurationException";
|
|
50
|
+
const _IEE = "InternalErrorException";
|
|
51
|
+
const _II = "IdentityId";
|
|
52
|
+
const _ILFOE = "InvalidLambdaFunctionOutputException";
|
|
53
|
+
const _IPE = "InvalidParameterException";
|
|
54
|
+
const _IPI = "IdentityPoolId";
|
|
55
|
+
const _IPU = "IdentityPoolUsage";
|
|
56
|
+
const _IPUL = "IdentityPoolUsageList";
|
|
57
|
+
const _IPUd = "IdentityPoolUsages";
|
|
58
|
+
const _IU = "IdentityUsage";
|
|
59
|
+
const _K = "Key";
|
|
60
|
+
const _LD = "ListDatasets";
|
|
61
|
+
const _LDR = "ListDatasetsRequest";
|
|
62
|
+
const _LDRi = "ListDatasetsResponse";
|
|
63
|
+
const _LEE = "LimitExceededException";
|
|
64
|
+
const _LIPU = "ListIdentityPoolUsage";
|
|
65
|
+
const _LIPUR = "ListIdentityPoolUsageRequest";
|
|
66
|
+
const _LIPURi = "ListIdentityPoolUsageResponse";
|
|
67
|
+
const _LMB = "LastModifiedBy";
|
|
68
|
+
const _LMD = "LastModifiedDate";
|
|
69
|
+
const _LR = "ListRecords";
|
|
70
|
+
const _LRR = "ListRecordsRequest";
|
|
71
|
+
const _LRRi = "ListRecordsResponse";
|
|
72
|
+
const _LSC = "LastSyncCount";
|
|
73
|
+
const _LTE = "LambdaThrottledException";
|
|
74
|
+
const _MDN = "MergedDatasetNames";
|
|
75
|
+
const _MR = "MaxResults";
|
|
76
|
+
const _NAE = "NotAuthorizedException";
|
|
77
|
+
const _NR = "NumRecords";
|
|
78
|
+
const _NT = "NextToken";
|
|
79
|
+
const _O = "Op";
|
|
80
|
+
const _P = "Platform";
|
|
81
|
+
const _PS = "PushSync";
|
|
82
|
+
const _R = "Records";
|
|
83
|
+
const _RA = "RoleArn";
|
|
84
|
+
const _RCE = "ResourceConflictException";
|
|
85
|
+
const _RD = "RegisterDevice";
|
|
86
|
+
const _RDR = "RegisterDeviceRequest";
|
|
87
|
+
const _RDRe = "RegisterDeviceResponse";
|
|
88
|
+
const _RL = "RecordList";
|
|
89
|
+
const _RNFE = "ResourceNotFoundException";
|
|
90
|
+
const _RP = "RecordPatch";
|
|
91
|
+
const _RPL = "RecordPatchList";
|
|
92
|
+
const _RPe = "RecordPatches";
|
|
93
|
+
const _Re = "Record";
|
|
94
|
+
const _SC = "SyncCount";
|
|
95
|
+
const _SCE = "SetCognitoEvents";
|
|
96
|
+
const _SCER = "SetCognitoEventsRequest";
|
|
97
|
+
const _SIPC = "SetIdentityPoolConfiguration";
|
|
98
|
+
const _SIPCR = "SetIdentityPoolConfigurationRequest";
|
|
99
|
+
const _SIPCRe = "SetIdentityPoolConfigurationResponse";
|
|
100
|
+
const _SN = "StreamName";
|
|
101
|
+
const _SS = "StreamingStatus";
|
|
102
|
+
const _SSC = "SyncSessionsCount";
|
|
103
|
+
const _SST = "SyncSessionToken";
|
|
104
|
+
const _STD = "SubscribeToDataset";
|
|
105
|
+
const _STDR = "SubscribeToDatasetRequest";
|
|
106
|
+
const _STDRu = "SubscribeToDatasetResponse";
|
|
107
|
+
const _T = "Token";
|
|
108
|
+
const _TMRE = "TooManyRequestsException";
|
|
109
|
+
const _UFD = "UnsubscribeFromDataset";
|
|
110
|
+
const _UFDR = "UnsubscribeFromDatasetRequest";
|
|
111
|
+
const _UFDRn = "UnsubscribeFromDatasetResponse";
|
|
112
|
+
const _UR = "UpdateRecords";
|
|
113
|
+
const _URR = "UpdateRecordsRequest";
|
|
114
|
+
const _URRp = "UpdateRecordsResponse";
|
|
115
|
+
const _V = "Value";
|
|
116
|
+
const _aQE = "awsQueryError";
|
|
117
|
+
const _c = "client";
|
|
118
|
+
const _e = "error";
|
|
119
|
+
const _h = "http";
|
|
120
|
+
const _hE = "httpError";
|
|
121
|
+
const _hH = "httpHeader";
|
|
122
|
+
const _hQ = "httpQuery";
|
|
123
|
+
const _lSC = "lastSyncCount";
|
|
124
|
+
const _m = "message";
|
|
125
|
+
const _mR = "maxResults";
|
|
126
|
+
const _nT = "nextToken";
|
|
127
|
+
const _s = "server";
|
|
128
|
+
const _sST = "syncSessionToken";
|
|
129
|
+
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.cognitosync";
|
|
130
|
+
const _xaCC = "x-amz-Client-Context";
|
|
131
|
+
const n0 = "com.amazonaws.cognitosync";
|
|
132
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
133
|
+
import { CognitoSyncServiceException as __CognitoSyncServiceException } from "../models/CognitoSyncServiceException";
|
|
134
|
+
import { AlreadyStreamedException as __AlreadyStreamedException, ConcurrentModificationException as __ConcurrentModificationException, DuplicateRequestException as __DuplicateRequestException, InternalErrorException as __InternalErrorException, InvalidConfigurationException as __InvalidConfigurationException, InvalidLambdaFunctionOutputException as __InvalidLambdaFunctionOutputException, InvalidParameterException as __InvalidParameterException, LambdaThrottledException as __LambdaThrottledException, LimitExceededException as __LimitExceededException, NotAuthorizedException as __NotAuthorizedException, ResourceConflictException as __ResourceConflictException, ResourceNotFoundException as __ResourceNotFoundException, TooManyRequestsException as __TooManyRequestsException, } from "../models/index";
|
|
135
|
+
export var AlreadyStreamedException = [
|
|
136
|
+
-3,
|
|
137
|
+
n0,
|
|
138
|
+
_ASE,
|
|
139
|
+
{
|
|
140
|
+
[_e]: _c,
|
|
141
|
+
[_hE]: 400,
|
|
142
|
+
[_aQE]: [`AlreadyStreamed`, 400],
|
|
143
|
+
},
|
|
144
|
+
[_m],
|
|
145
|
+
[0],
|
|
146
|
+
];
|
|
147
|
+
TypeRegistry.for(n0).registerError(AlreadyStreamedException, __AlreadyStreamedException);
|
|
148
|
+
export var BulkPublishRequest = [3, n0, _BPR, 0, [_IPI], [[0, 1]]];
|
|
149
|
+
export var BulkPublishResponse = [3, n0, _BPRu, 0, [_IPI], [0]];
|
|
150
|
+
export var CognitoStreams = [3, n0, _CS, 0, [_SN, _RA, _SS], [0, 0, 0]];
|
|
151
|
+
export var ConcurrentModificationException = [
|
|
152
|
+
-3,
|
|
153
|
+
n0,
|
|
154
|
+
_CME,
|
|
155
|
+
{
|
|
156
|
+
[_e]: _c,
|
|
157
|
+
[_hE]: 400,
|
|
158
|
+
[_aQE]: [`ConcurrentModification`, 400],
|
|
159
|
+
},
|
|
160
|
+
[_m],
|
|
161
|
+
[0],
|
|
162
|
+
];
|
|
163
|
+
TypeRegistry.for(n0).registerError(ConcurrentModificationException, __ConcurrentModificationException);
|
|
164
|
+
export var Dataset = [
|
|
165
|
+
3,
|
|
166
|
+
n0,
|
|
167
|
+
_D,
|
|
168
|
+
0,
|
|
169
|
+
[_II, _DN, _CD, _LMD, _LMB, _DS, _NR],
|
|
170
|
+
[0, 0, 4, 4, 0, 1, 1],
|
|
171
|
+
];
|
|
172
|
+
export var DeleteDatasetRequest = [
|
|
173
|
+
3,
|
|
174
|
+
n0,
|
|
175
|
+
_DDR,
|
|
176
|
+
0,
|
|
177
|
+
[_IPI, _II, _DN],
|
|
178
|
+
[
|
|
179
|
+
[0, 1],
|
|
180
|
+
[0, 1],
|
|
181
|
+
[0, 1],
|
|
182
|
+
],
|
|
183
|
+
];
|
|
184
|
+
export var DeleteDatasetResponse = [3, n0, _DDRe, 0, [_D], [() => Dataset]];
|
|
185
|
+
export var DescribeDatasetRequest = [
|
|
186
|
+
3,
|
|
187
|
+
n0,
|
|
188
|
+
_DDRes,
|
|
189
|
+
0,
|
|
190
|
+
[_IPI, _II, _DN],
|
|
191
|
+
[
|
|
192
|
+
[0, 1],
|
|
193
|
+
[0, 1],
|
|
194
|
+
[0, 1],
|
|
195
|
+
],
|
|
196
|
+
];
|
|
197
|
+
export var DescribeDatasetResponse = [3, n0, _DDResc, 0, [_D], [() => Dataset]];
|
|
198
|
+
export var DescribeIdentityPoolUsageRequest = [3, n0, _DIPUR, 0, [_IPI], [[0, 1]]];
|
|
199
|
+
export var DescribeIdentityPoolUsageResponse = [
|
|
200
|
+
3,
|
|
201
|
+
n0,
|
|
202
|
+
_DIPURe,
|
|
203
|
+
0,
|
|
204
|
+
[_IPU],
|
|
205
|
+
[() => IdentityPoolUsage],
|
|
206
|
+
];
|
|
207
|
+
export var DescribeIdentityUsageRequest = [
|
|
208
|
+
3,
|
|
209
|
+
n0,
|
|
210
|
+
_DIUR,
|
|
211
|
+
0,
|
|
212
|
+
[_IPI, _II],
|
|
213
|
+
[
|
|
214
|
+
[0, 1],
|
|
215
|
+
[0, 1],
|
|
216
|
+
],
|
|
217
|
+
];
|
|
218
|
+
export var DescribeIdentityUsageResponse = [3, n0, _DIURe, 0, [_IU], [() => IdentityUsage]];
|
|
219
|
+
export var DuplicateRequestException = [
|
|
220
|
+
-3,
|
|
221
|
+
n0,
|
|
222
|
+
_DRE,
|
|
223
|
+
{
|
|
224
|
+
[_e]: _c,
|
|
225
|
+
[_hE]: 400,
|
|
226
|
+
[_aQE]: [`DuplicateRequest`, 400],
|
|
227
|
+
},
|
|
228
|
+
[_m],
|
|
229
|
+
[0],
|
|
230
|
+
];
|
|
231
|
+
TypeRegistry.for(n0).registerError(DuplicateRequestException, __DuplicateRequestException);
|
|
232
|
+
export var GetBulkPublishDetailsRequest = [3, n0, _GBPDR, 0, [_IPI], [[0, 1]]];
|
|
233
|
+
export var GetBulkPublishDetailsResponse = [
|
|
234
|
+
3,
|
|
235
|
+
n0,
|
|
236
|
+
_GBPDRe,
|
|
237
|
+
0,
|
|
238
|
+
[_IPI, _BPST, _BPCT, _BPS, _FM],
|
|
239
|
+
[0, 4, 4, 0, 0],
|
|
240
|
+
];
|
|
241
|
+
export var GetCognitoEventsRequest = [3, n0, _GCER, 0, [_IPI], [[0, 1]]];
|
|
242
|
+
export var GetCognitoEventsResponse = [3, n0, _GCERe, 0, [_E], [128 | 0]];
|
|
243
|
+
export var GetIdentityPoolConfigurationRequest = [3, n0, _GIPCR, 0, [_IPI], [[0, 1]]];
|
|
244
|
+
export var GetIdentityPoolConfigurationResponse = [
|
|
245
|
+
3,
|
|
246
|
+
n0,
|
|
247
|
+
_GIPCRe,
|
|
248
|
+
0,
|
|
249
|
+
[_IPI, _PS, _CS],
|
|
250
|
+
[0, () => PushSync, () => CognitoStreams],
|
|
251
|
+
];
|
|
252
|
+
export var IdentityPoolUsage = [3, n0, _IPU, 0, [_IPI, _SSC, _DS, _LMD], [0, 1, 1, 4]];
|
|
253
|
+
export var IdentityUsage = [3, n0, _IU, 0, [_II, _IPI, _LMD, _DC, _DS], [0, 0, 4, 1, 1]];
|
|
254
|
+
export var InternalErrorException = [
|
|
255
|
+
-3,
|
|
256
|
+
n0,
|
|
257
|
+
_IEE,
|
|
258
|
+
{
|
|
259
|
+
[_e]: _s,
|
|
260
|
+
[_hE]: 500,
|
|
261
|
+
[_aQE]: [`InternalError`, 500],
|
|
262
|
+
},
|
|
263
|
+
[_m],
|
|
264
|
+
[0],
|
|
265
|
+
];
|
|
266
|
+
TypeRegistry.for(n0).registerError(InternalErrorException, __InternalErrorException);
|
|
267
|
+
export var InvalidConfigurationException = [
|
|
268
|
+
-3,
|
|
269
|
+
n0,
|
|
270
|
+
_ICE,
|
|
271
|
+
{
|
|
272
|
+
[_e]: _c,
|
|
273
|
+
[_hE]: 400,
|
|
274
|
+
[_aQE]: [`InvalidConfiguration`, 400],
|
|
275
|
+
},
|
|
276
|
+
[_m],
|
|
277
|
+
[0],
|
|
278
|
+
];
|
|
279
|
+
TypeRegistry.for(n0).registerError(InvalidConfigurationException, __InvalidConfigurationException);
|
|
280
|
+
export var InvalidLambdaFunctionOutputException = [
|
|
281
|
+
-3,
|
|
282
|
+
n0,
|
|
283
|
+
_ILFOE,
|
|
284
|
+
{
|
|
285
|
+
[_e]: _c,
|
|
286
|
+
[_hE]: 400,
|
|
287
|
+
[_aQE]: [`InvalidLambdaFunctionOutput`, 400],
|
|
288
|
+
},
|
|
289
|
+
[_m],
|
|
290
|
+
[0],
|
|
291
|
+
];
|
|
292
|
+
TypeRegistry.for(n0).registerError(InvalidLambdaFunctionOutputException, __InvalidLambdaFunctionOutputException);
|
|
293
|
+
export var InvalidParameterException = [
|
|
294
|
+
-3,
|
|
295
|
+
n0,
|
|
296
|
+
_IPE,
|
|
297
|
+
{
|
|
298
|
+
[_e]: _c,
|
|
299
|
+
[_hE]: 400,
|
|
300
|
+
[_aQE]: [`InvalidParameter`, 400],
|
|
301
|
+
},
|
|
302
|
+
[_m],
|
|
303
|
+
[0],
|
|
304
|
+
];
|
|
305
|
+
TypeRegistry.for(n0).registerError(InvalidParameterException, __InvalidParameterException);
|
|
306
|
+
export var LambdaThrottledException = [
|
|
307
|
+
-3,
|
|
308
|
+
n0,
|
|
309
|
+
_LTE,
|
|
310
|
+
{
|
|
311
|
+
[_e]: _c,
|
|
312
|
+
[_hE]: 429,
|
|
313
|
+
[_aQE]: [`LambdaThrottled`, 429],
|
|
314
|
+
},
|
|
315
|
+
[_m],
|
|
316
|
+
[0],
|
|
317
|
+
];
|
|
318
|
+
TypeRegistry.for(n0).registerError(LambdaThrottledException, __LambdaThrottledException);
|
|
319
|
+
export var LimitExceededException = [
|
|
320
|
+
-3,
|
|
321
|
+
n0,
|
|
322
|
+
_LEE,
|
|
323
|
+
{
|
|
324
|
+
[_e]: _c,
|
|
325
|
+
[_hE]: 400,
|
|
326
|
+
[_aQE]: [`LimitExceeded`, 400],
|
|
327
|
+
},
|
|
328
|
+
[_m],
|
|
329
|
+
[0],
|
|
330
|
+
];
|
|
331
|
+
TypeRegistry.for(n0).registerError(LimitExceededException, __LimitExceededException);
|
|
332
|
+
export var ListDatasetsRequest = [
|
|
333
|
+
3,
|
|
334
|
+
n0,
|
|
335
|
+
_LDR,
|
|
336
|
+
0,
|
|
337
|
+
[_IPI, _II, _NT, _MR],
|
|
338
|
+
[
|
|
339
|
+
[0, 1],
|
|
340
|
+
[0, 1],
|
|
341
|
+
[
|
|
342
|
+
0,
|
|
343
|
+
{
|
|
344
|
+
[_hQ]: _nT,
|
|
345
|
+
},
|
|
346
|
+
],
|
|
347
|
+
[
|
|
348
|
+
1,
|
|
349
|
+
{
|
|
350
|
+
[_hQ]: _mR,
|
|
351
|
+
},
|
|
352
|
+
],
|
|
353
|
+
],
|
|
354
|
+
];
|
|
355
|
+
export var ListDatasetsResponse = [3, n0, _LDRi, 0, [_Da, _C, _NT], [() => DatasetList, 1, 0]];
|
|
356
|
+
export var ListIdentityPoolUsageRequest = [
|
|
357
|
+
3,
|
|
358
|
+
n0,
|
|
359
|
+
_LIPUR,
|
|
360
|
+
0,
|
|
361
|
+
[_NT, _MR],
|
|
362
|
+
[
|
|
363
|
+
[
|
|
364
|
+
0,
|
|
365
|
+
{
|
|
366
|
+
[_hQ]: _nT,
|
|
367
|
+
},
|
|
368
|
+
],
|
|
369
|
+
[
|
|
370
|
+
1,
|
|
371
|
+
{
|
|
372
|
+
[_hQ]: _mR,
|
|
373
|
+
},
|
|
374
|
+
],
|
|
375
|
+
],
|
|
376
|
+
];
|
|
377
|
+
export var ListIdentityPoolUsageResponse = [
|
|
378
|
+
3,
|
|
379
|
+
n0,
|
|
380
|
+
_LIPURi,
|
|
381
|
+
0,
|
|
382
|
+
[_IPUd, _MR, _C, _NT],
|
|
383
|
+
[() => IdentityPoolUsageList, 1, 1, 0],
|
|
384
|
+
];
|
|
385
|
+
export var ListRecordsRequest = [
|
|
386
|
+
3,
|
|
387
|
+
n0,
|
|
388
|
+
_LRR,
|
|
389
|
+
0,
|
|
390
|
+
[_IPI, _II, _DN, _LSC, _NT, _MR, _SST],
|
|
391
|
+
[
|
|
392
|
+
[0, 1],
|
|
393
|
+
[0, 1],
|
|
394
|
+
[0, 1],
|
|
395
|
+
[
|
|
396
|
+
1,
|
|
397
|
+
{
|
|
398
|
+
[_hQ]: _lSC,
|
|
399
|
+
},
|
|
400
|
+
],
|
|
401
|
+
[
|
|
402
|
+
0,
|
|
403
|
+
{
|
|
404
|
+
[_hQ]: _nT,
|
|
405
|
+
},
|
|
406
|
+
],
|
|
407
|
+
[
|
|
408
|
+
1,
|
|
409
|
+
{
|
|
410
|
+
[_hQ]: _mR,
|
|
411
|
+
},
|
|
412
|
+
],
|
|
413
|
+
[
|
|
414
|
+
0,
|
|
415
|
+
{
|
|
416
|
+
[_hQ]: _sST,
|
|
417
|
+
},
|
|
418
|
+
],
|
|
419
|
+
],
|
|
420
|
+
];
|
|
421
|
+
export var ListRecordsResponse = [
|
|
422
|
+
3,
|
|
423
|
+
n0,
|
|
424
|
+
_LRRi,
|
|
425
|
+
0,
|
|
426
|
+
[_R, _NT, _C, _DSC, _LMB, _MDN, _DE, _DDARSC, _SST],
|
|
427
|
+
[() => RecordList, 0, 1, 1, 0, 64 | 0, 2, 2, 0],
|
|
428
|
+
];
|
|
429
|
+
export var NotAuthorizedException = [
|
|
430
|
+
-3,
|
|
431
|
+
n0,
|
|
432
|
+
_NAE,
|
|
433
|
+
{
|
|
434
|
+
[_e]: _c,
|
|
435
|
+
[_hE]: 403,
|
|
436
|
+
[_aQE]: [`NotAuthorizedError`, 403],
|
|
437
|
+
},
|
|
438
|
+
[_m],
|
|
439
|
+
[0],
|
|
440
|
+
];
|
|
441
|
+
TypeRegistry.for(n0).registerError(NotAuthorizedException, __NotAuthorizedException);
|
|
442
|
+
export var PushSync = [3, n0, _PS, 0, [_AA, _RA], [64 | 0, 0]];
|
|
443
|
+
export var _Record = [3, n0, _Re, 0, [_K, _V, _SC, _LMD, _LMB, _DLMD], [0, 0, 1, 4, 0, 4]];
|
|
444
|
+
export var RecordPatch = [3, n0, _RP, 0, [_O, _K, _V, _SC, _DLMD], [0, 0, 0, 1, 4]];
|
|
445
|
+
export var RegisterDeviceRequest = [3, n0, _RDR, 0, [_IPI, _II, _P, _T], [[0, 1], [0, 1], 0, 0]];
|
|
446
|
+
export var RegisterDeviceResponse = [3, n0, _RDRe, 0, [_DI], [0]];
|
|
447
|
+
export var ResourceConflictException = [
|
|
448
|
+
-3,
|
|
449
|
+
n0,
|
|
450
|
+
_RCE,
|
|
451
|
+
{
|
|
452
|
+
[_e]: _c,
|
|
453
|
+
[_hE]: 409,
|
|
454
|
+
[_aQE]: [`ResourceConflict`, 409],
|
|
455
|
+
},
|
|
456
|
+
[_m],
|
|
457
|
+
[0],
|
|
458
|
+
];
|
|
459
|
+
TypeRegistry.for(n0).registerError(ResourceConflictException, __ResourceConflictException);
|
|
460
|
+
export var ResourceNotFoundException = [
|
|
461
|
+
-3,
|
|
462
|
+
n0,
|
|
463
|
+
_RNFE,
|
|
464
|
+
{
|
|
465
|
+
[_e]: _c,
|
|
466
|
+
[_hE]: 404,
|
|
467
|
+
[_aQE]: [`ResourceNotFound`, 404],
|
|
468
|
+
},
|
|
469
|
+
[_m],
|
|
470
|
+
[0],
|
|
471
|
+
];
|
|
472
|
+
TypeRegistry.for(n0).registerError(ResourceNotFoundException, __ResourceNotFoundException);
|
|
473
|
+
export var SetCognitoEventsRequest = [3, n0, _SCER, 0, [_IPI, _E], [[0, 1], 128 | 0]];
|
|
474
|
+
export var SetIdentityPoolConfigurationRequest = [
|
|
475
|
+
3,
|
|
476
|
+
n0,
|
|
477
|
+
_SIPCR,
|
|
478
|
+
0,
|
|
479
|
+
[_IPI, _PS, _CS],
|
|
480
|
+
[[0, 1], () => PushSync, () => CognitoStreams],
|
|
481
|
+
];
|
|
482
|
+
export var SetIdentityPoolConfigurationResponse = [
|
|
483
|
+
3,
|
|
484
|
+
n0,
|
|
485
|
+
_SIPCRe,
|
|
486
|
+
0,
|
|
487
|
+
[_IPI, _PS, _CS],
|
|
488
|
+
[0, () => PushSync, () => CognitoStreams],
|
|
489
|
+
];
|
|
490
|
+
export var SubscribeToDatasetRequest = [
|
|
491
|
+
3,
|
|
492
|
+
n0,
|
|
493
|
+
_STDR,
|
|
494
|
+
0,
|
|
495
|
+
[_IPI, _II, _DN, _DI],
|
|
496
|
+
[
|
|
497
|
+
[0, 1],
|
|
498
|
+
[0, 1],
|
|
499
|
+
[0, 1],
|
|
500
|
+
[0, 1],
|
|
501
|
+
],
|
|
502
|
+
];
|
|
503
|
+
export var SubscribeToDatasetResponse = [3, n0, _STDRu, 0, [], []];
|
|
504
|
+
export var TooManyRequestsException = [
|
|
505
|
+
-3,
|
|
506
|
+
n0,
|
|
507
|
+
_TMRE,
|
|
508
|
+
{
|
|
509
|
+
[_e]: _c,
|
|
510
|
+
[_hE]: 429,
|
|
511
|
+
[_aQE]: [`TooManyRequests`, 429],
|
|
512
|
+
},
|
|
513
|
+
[_m],
|
|
514
|
+
[0],
|
|
515
|
+
];
|
|
516
|
+
TypeRegistry.for(n0).registerError(TooManyRequestsException, __TooManyRequestsException);
|
|
517
|
+
export var UnsubscribeFromDatasetRequest = [
|
|
518
|
+
3,
|
|
519
|
+
n0,
|
|
520
|
+
_UFDR,
|
|
521
|
+
0,
|
|
522
|
+
[_IPI, _II, _DN, _DI],
|
|
523
|
+
[
|
|
524
|
+
[0, 1],
|
|
525
|
+
[0, 1],
|
|
526
|
+
[0, 1],
|
|
527
|
+
[0, 1],
|
|
528
|
+
],
|
|
529
|
+
];
|
|
530
|
+
export var UnsubscribeFromDatasetResponse = [3, n0, _UFDRn, 0, [], []];
|
|
531
|
+
export var UpdateRecordsRequest = [
|
|
532
|
+
3,
|
|
533
|
+
n0,
|
|
534
|
+
_URR,
|
|
535
|
+
0,
|
|
536
|
+
[_IPI, _II, _DN, _DI, _RPe, _SST, _CC],
|
|
537
|
+
[
|
|
538
|
+
[0, 1],
|
|
539
|
+
[0, 1],
|
|
540
|
+
[0, 1],
|
|
541
|
+
0,
|
|
542
|
+
() => RecordPatchList,
|
|
543
|
+
0,
|
|
544
|
+
[
|
|
545
|
+
0,
|
|
546
|
+
{
|
|
547
|
+
[_hH]: _xaCC,
|
|
548
|
+
},
|
|
549
|
+
],
|
|
550
|
+
],
|
|
551
|
+
];
|
|
552
|
+
export var UpdateRecordsResponse = [3, n0, _URRp, 0, [_R], [() => RecordList]];
|
|
553
|
+
export var __Unit = "unit";
|
|
554
|
+
export var CognitoSyncServiceException = [-3, _sm, "CognitoSyncServiceException", 0, [], []];
|
|
555
|
+
TypeRegistry.for(_sm).registerError(CognitoSyncServiceException, __CognitoSyncServiceException);
|
|
556
|
+
export var ApplicationArnList = 64 | 0;
|
|
557
|
+
export var DatasetList = [1, n0, _DL, 0, () => Dataset];
|
|
558
|
+
export var IdentityPoolUsageList = [1, n0, _IPUL, 0, () => IdentityPoolUsage];
|
|
559
|
+
export var MergedDatasetNameList = 64 | 0;
|
|
560
|
+
export var RecordList = [1, n0, _RL, 0, () => _Record];
|
|
561
|
+
export var RecordPatchList = [1, n0, _RPL, 0, () => RecordPatch];
|
|
562
|
+
export var Events = 128 | 0;
|
|
563
|
+
export var BulkPublish = [
|
|
564
|
+
9,
|
|
565
|
+
n0,
|
|
566
|
+
_BP,
|
|
567
|
+
{
|
|
568
|
+
[_h]: ["POST", "/identitypools/{IdentityPoolId}/bulkpublish", 200],
|
|
569
|
+
},
|
|
570
|
+
() => BulkPublishRequest,
|
|
571
|
+
() => BulkPublishResponse,
|
|
572
|
+
];
|
|
573
|
+
export var DeleteDataset = [
|
|
574
|
+
9,
|
|
575
|
+
n0,
|
|
576
|
+
_DD,
|
|
577
|
+
{
|
|
578
|
+
[_h]: ["DELETE", "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}", 200],
|
|
579
|
+
},
|
|
580
|
+
() => DeleteDatasetRequest,
|
|
581
|
+
() => DeleteDatasetResponse,
|
|
582
|
+
];
|
|
583
|
+
export var DescribeDataset = [
|
|
584
|
+
9,
|
|
585
|
+
n0,
|
|
586
|
+
_DDe,
|
|
587
|
+
{
|
|
588
|
+
[_h]: ["GET", "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}", 200],
|
|
589
|
+
},
|
|
590
|
+
() => DescribeDatasetRequest,
|
|
591
|
+
() => DescribeDatasetResponse,
|
|
592
|
+
];
|
|
593
|
+
export var DescribeIdentityPoolUsage = [
|
|
594
|
+
9,
|
|
595
|
+
n0,
|
|
596
|
+
_DIPU,
|
|
597
|
+
{
|
|
598
|
+
[_h]: ["GET", "/identitypools/{IdentityPoolId}", 200],
|
|
599
|
+
},
|
|
600
|
+
() => DescribeIdentityPoolUsageRequest,
|
|
601
|
+
() => DescribeIdentityPoolUsageResponse,
|
|
602
|
+
];
|
|
603
|
+
export var DescribeIdentityUsage = [
|
|
604
|
+
9,
|
|
605
|
+
n0,
|
|
606
|
+
_DIU,
|
|
607
|
+
{
|
|
608
|
+
[_h]: ["GET", "/identitypools/{IdentityPoolId}/identities/{IdentityId}", 200],
|
|
609
|
+
},
|
|
610
|
+
() => DescribeIdentityUsageRequest,
|
|
611
|
+
() => DescribeIdentityUsageResponse,
|
|
612
|
+
];
|
|
613
|
+
export var GetBulkPublishDetails = [
|
|
614
|
+
9,
|
|
615
|
+
n0,
|
|
616
|
+
_GBPD,
|
|
617
|
+
{
|
|
618
|
+
[_h]: ["POST", "/identitypools/{IdentityPoolId}/getBulkPublishDetails", 200],
|
|
619
|
+
},
|
|
620
|
+
() => GetBulkPublishDetailsRequest,
|
|
621
|
+
() => GetBulkPublishDetailsResponse,
|
|
622
|
+
];
|
|
623
|
+
export var GetCognitoEvents = [
|
|
624
|
+
9,
|
|
625
|
+
n0,
|
|
626
|
+
_GCE,
|
|
627
|
+
{
|
|
628
|
+
[_h]: ["GET", "/identitypools/{IdentityPoolId}/events", 200],
|
|
629
|
+
},
|
|
630
|
+
() => GetCognitoEventsRequest,
|
|
631
|
+
() => GetCognitoEventsResponse,
|
|
632
|
+
];
|
|
633
|
+
export var GetIdentityPoolConfiguration = [
|
|
634
|
+
9,
|
|
635
|
+
n0,
|
|
636
|
+
_GIPC,
|
|
637
|
+
{
|
|
638
|
+
[_h]: ["GET", "/identitypools/{IdentityPoolId}/configuration", 200],
|
|
639
|
+
},
|
|
640
|
+
() => GetIdentityPoolConfigurationRequest,
|
|
641
|
+
() => GetIdentityPoolConfigurationResponse,
|
|
642
|
+
];
|
|
643
|
+
export var ListDatasets = [
|
|
644
|
+
9,
|
|
645
|
+
n0,
|
|
646
|
+
_LD,
|
|
647
|
+
{
|
|
648
|
+
[_h]: ["GET", "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets", 200],
|
|
649
|
+
},
|
|
650
|
+
() => ListDatasetsRequest,
|
|
651
|
+
() => ListDatasetsResponse,
|
|
652
|
+
];
|
|
653
|
+
export var ListIdentityPoolUsage = [
|
|
654
|
+
9,
|
|
655
|
+
n0,
|
|
656
|
+
_LIPU,
|
|
657
|
+
{
|
|
658
|
+
[_h]: ["GET", "/identitypools", 200],
|
|
659
|
+
},
|
|
660
|
+
() => ListIdentityPoolUsageRequest,
|
|
661
|
+
() => ListIdentityPoolUsageResponse,
|
|
662
|
+
];
|
|
663
|
+
export var ListRecords = [
|
|
664
|
+
9,
|
|
665
|
+
n0,
|
|
666
|
+
_LR,
|
|
667
|
+
{
|
|
668
|
+
[_h]: ["GET", "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}/records", 200],
|
|
669
|
+
},
|
|
670
|
+
() => ListRecordsRequest,
|
|
671
|
+
() => ListRecordsResponse,
|
|
672
|
+
];
|
|
673
|
+
export var RegisterDevice = [
|
|
674
|
+
9,
|
|
675
|
+
n0,
|
|
676
|
+
_RD,
|
|
677
|
+
{
|
|
678
|
+
[_h]: ["POST", "/identitypools/{IdentityPoolId}/identity/{IdentityId}/device", 200],
|
|
679
|
+
},
|
|
680
|
+
() => RegisterDeviceRequest,
|
|
681
|
+
() => RegisterDeviceResponse,
|
|
682
|
+
];
|
|
683
|
+
export var SetCognitoEvents = [
|
|
684
|
+
9,
|
|
685
|
+
n0,
|
|
686
|
+
_SCE,
|
|
687
|
+
{
|
|
688
|
+
[_h]: ["POST", "/identitypools/{IdentityPoolId}/events", 200],
|
|
689
|
+
},
|
|
690
|
+
() => SetCognitoEventsRequest,
|
|
691
|
+
() => __Unit,
|
|
692
|
+
];
|
|
693
|
+
export var SetIdentityPoolConfiguration = [
|
|
694
|
+
9,
|
|
695
|
+
n0,
|
|
696
|
+
_SIPC,
|
|
697
|
+
{
|
|
698
|
+
[_h]: ["POST", "/identitypools/{IdentityPoolId}/configuration", 200],
|
|
699
|
+
},
|
|
700
|
+
() => SetIdentityPoolConfigurationRequest,
|
|
701
|
+
() => SetIdentityPoolConfigurationResponse,
|
|
702
|
+
];
|
|
703
|
+
export var SubscribeToDataset = [
|
|
704
|
+
9,
|
|
705
|
+
n0,
|
|
706
|
+
_STD,
|
|
707
|
+
{
|
|
708
|
+
[_h]: [
|
|
709
|
+
"POST",
|
|
710
|
+
"/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}/subscriptions/{DeviceId}",
|
|
711
|
+
200,
|
|
712
|
+
],
|
|
713
|
+
},
|
|
714
|
+
() => SubscribeToDatasetRequest,
|
|
715
|
+
() => SubscribeToDatasetResponse,
|
|
716
|
+
];
|
|
717
|
+
export var UnsubscribeFromDataset = [
|
|
718
|
+
9,
|
|
719
|
+
n0,
|
|
720
|
+
_UFD,
|
|
721
|
+
{
|
|
722
|
+
[_h]: [
|
|
723
|
+
"DELETE",
|
|
724
|
+
"/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}/subscriptions/{DeviceId}",
|
|
725
|
+
200,
|
|
726
|
+
],
|
|
727
|
+
},
|
|
728
|
+
() => UnsubscribeFromDatasetRequest,
|
|
729
|
+
() => UnsubscribeFromDatasetResponse,
|
|
730
|
+
];
|
|
731
|
+
export var UpdateRecords = [
|
|
732
|
+
9,
|
|
733
|
+
n0,
|
|
734
|
+
_UR,
|
|
735
|
+
{
|
|
736
|
+
[_h]: ["POST", "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}", 200],
|
|
737
|
+
},
|
|
738
|
+
() => UpdateRecordsRequest,
|
|
739
|
+
() => UpdateRecordsResponse,
|
|
740
|
+
];
|