@aws-sdk/client-cognito-sync 3.987.0 → 3.989.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.
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CognitoSyncServiceException = exports.__ServiceException = void 0;
4
+ const smithy_client_1 = require("@smithy/smithy-client");
5
+ Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
+ class CognitoSyncServiceException extends smithy_client_1.ServiceException {
7
+ constructor(options) {
8
+ super(options);
9
+ Object.setPrototypeOf(this, CognitoSyncServiceException.prototype);
10
+ }
11
+ }
12
+ exports.CognitoSyncServiceException = CognitoSyncServiceException;
@@ -0,0 +1,173 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LimitExceededException = exports.LambdaThrottledException = exports.InvalidLambdaFunctionOutputException = exports.ConcurrentModificationException = exports.InvalidConfigurationException = exports.TooManyRequestsException = exports.ResourceConflictException = exports.ResourceNotFoundException = exports.NotAuthorizedException = exports.InvalidParameterException = exports.InternalErrorException = exports.DuplicateRequestException = exports.AlreadyStreamedException = void 0;
4
+ const CognitoSyncServiceException_1 = require("./CognitoSyncServiceException");
5
+ class AlreadyStreamedException extends CognitoSyncServiceException_1.CognitoSyncServiceException {
6
+ name = "AlreadyStreamedException";
7
+ $fault = "client";
8
+ constructor(opts) {
9
+ super({
10
+ name: "AlreadyStreamedException",
11
+ $fault: "client",
12
+ ...opts,
13
+ });
14
+ Object.setPrototypeOf(this, AlreadyStreamedException.prototype);
15
+ }
16
+ }
17
+ exports.AlreadyStreamedException = AlreadyStreamedException;
18
+ class DuplicateRequestException extends CognitoSyncServiceException_1.CognitoSyncServiceException {
19
+ name = "DuplicateRequestException";
20
+ $fault = "client";
21
+ constructor(opts) {
22
+ super({
23
+ name: "DuplicateRequestException",
24
+ $fault: "client",
25
+ ...opts,
26
+ });
27
+ Object.setPrototypeOf(this, DuplicateRequestException.prototype);
28
+ }
29
+ }
30
+ exports.DuplicateRequestException = DuplicateRequestException;
31
+ class InternalErrorException extends CognitoSyncServiceException_1.CognitoSyncServiceException {
32
+ name = "InternalErrorException";
33
+ $fault = "server";
34
+ constructor(opts) {
35
+ super({
36
+ name: "InternalErrorException",
37
+ $fault: "server",
38
+ ...opts,
39
+ });
40
+ Object.setPrototypeOf(this, InternalErrorException.prototype);
41
+ }
42
+ }
43
+ exports.InternalErrorException = InternalErrorException;
44
+ class InvalidParameterException extends CognitoSyncServiceException_1.CognitoSyncServiceException {
45
+ name = "InvalidParameterException";
46
+ $fault = "client";
47
+ constructor(opts) {
48
+ super({
49
+ name: "InvalidParameterException",
50
+ $fault: "client",
51
+ ...opts,
52
+ });
53
+ Object.setPrototypeOf(this, InvalidParameterException.prototype);
54
+ }
55
+ }
56
+ exports.InvalidParameterException = InvalidParameterException;
57
+ class NotAuthorizedException extends CognitoSyncServiceException_1.CognitoSyncServiceException {
58
+ name = "NotAuthorizedException";
59
+ $fault = "client";
60
+ constructor(opts) {
61
+ super({
62
+ name: "NotAuthorizedException",
63
+ $fault: "client",
64
+ ...opts,
65
+ });
66
+ Object.setPrototypeOf(this, NotAuthorizedException.prototype);
67
+ }
68
+ }
69
+ exports.NotAuthorizedException = NotAuthorizedException;
70
+ class ResourceNotFoundException extends CognitoSyncServiceException_1.CognitoSyncServiceException {
71
+ name = "ResourceNotFoundException";
72
+ $fault = "client";
73
+ constructor(opts) {
74
+ super({
75
+ name: "ResourceNotFoundException",
76
+ $fault: "client",
77
+ ...opts,
78
+ });
79
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
80
+ }
81
+ }
82
+ exports.ResourceNotFoundException = ResourceNotFoundException;
83
+ class ResourceConflictException extends CognitoSyncServiceException_1.CognitoSyncServiceException {
84
+ name = "ResourceConflictException";
85
+ $fault = "client";
86
+ constructor(opts) {
87
+ super({
88
+ name: "ResourceConflictException",
89
+ $fault: "client",
90
+ ...opts,
91
+ });
92
+ Object.setPrototypeOf(this, ResourceConflictException.prototype);
93
+ }
94
+ }
95
+ exports.ResourceConflictException = ResourceConflictException;
96
+ class TooManyRequestsException extends CognitoSyncServiceException_1.CognitoSyncServiceException {
97
+ name = "TooManyRequestsException";
98
+ $fault = "client";
99
+ constructor(opts) {
100
+ super({
101
+ name: "TooManyRequestsException",
102
+ $fault: "client",
103
+ ...opts,
104
+ });
105
+ Object.setPrototypeOf(this, TooManyRequestsException.prototype);
106
+ }
107
+ }
108
+ exports.TooManyRequestsException = TooManyRequestsException;
109
+ class InvalidConfigurationException extends CognitoSyncServiceException_1.CognitoSyncServiceException {
110
+ name = "InvalidConfigurationException";
111
+ $fault = "client";
112
+ constructor(opts) {
113
+ super({
114
+ name: "InvalidConfigurationException",
115
+ $fault: "client",
116
+ ...opts,
117
+ });
118
+ Object.setPrototypeOf(this, InvalidConfigurationException.prototype);
119
+ }
120
+ }
121
+ exports.InvalidConfigurationException = InvalidConfigurationException;
122
+ class ConcurrentModificationException extends CognitoSyncServiceException_1.CognitoSyncServiceException {
123
+ name = "ConcurrentModificationException";
124
+ $fault = "client";
125
+ constructor(opts) {
126
+ super({
127
+ name: "ConcurrentModificationException",
128
+ $fault: "client",
129
+ ...opts,
130
+ });
131
+ Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
132
+ }
133
+ }
134
+ exports.ConcurrentModificationException = ConcurrentModificationException;
135
+ class InvalidLambdaFunctionOutputException extends CognitoSyncServiceException_1.CognitoSyncServiceException {
136
+ name = "InvalidLambdaFunctionOutputException";
137
+ $fault = "client";
138
+ constructor(opts) {
139
+ super({
140
+ name: "InvalidLambdaFunctionOutputException",
141
+ $fault: "client",
142
+ ...opts,
143
+ });
144
+ Object.setPrototypeOf(this, InvalidLambdaFunctionOutputException.prototype);
145
+ }
146
+ }
147
+ exports.InvalidLambdaFunctionOutputException = InvalidLambdaFunctionOutputException;
148
+ class LambdaThrottledException extends CognitoSyncServiceException_1.CognitoSyncServiceException {
149
+ name = "LambdaThrottledException";
150
+ $fault = "client";
151
+ constructor(opts) {
152
+ super({
153
+ name: "LambdaThrottledException",
154
+ $fault: "client",
155
+ ...opts,
156
+ });
157
+ Object.setPrototypeOf(this, LambdaThrottledException.prototype);
158
+ }
159
+ }
160
+ exports.LambdaThrottledException = LambdaThrottledException;
161
+ class LimitExceededException extends CognitoSyncServiceException_1.CognitoSyncServiceException {
162
+ name = "LimitExceededException";
163
+ $fault = "client";
164
+ constructor(opts) {
165
+ super({
166
+ name: "LimitExceededException",
167
+ $fault: "client",
168
+ ...opts,
169
+ });
170
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
171
+ }
172
+ }
173
+ exports.LimitExceededException = LimitExceededException;
@@ -9,6 +9,7 @@ const util_base64_1 = require("@smithy/util-base64");
9
9
  const util_utf8_1 = require("@smithy/util-utf8");
10
10
  const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
11
11
  const endpointResolver_1 = require("./endpoint/endpointResolver");
12
+ const schemas_0_1 = require("./schemas/schemas_0");
12
13
  const getRuntimeConfig = (config) => {
13
14
  return {
14
15
  apiVersion: "2014-06-30",
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
29
30
  protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
30
31
  protocolSettings: config?.protocolSettings ?? {
31
32
  defaultNamespace: "com.amazonaws.cognitosync",
33
+ errorTypeRegistries: schemas_0_1.errorTypeRegistries,
32
34
  xmlNamespace: "http://cognito-sync.amazonaws.com/doc/2014-06-30/",
33
35
  version: "2014-06-30",
34
36
  serviceTarget: "AWSCognitoSyncService",
@@ -0,0 +1,491 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SubscribeToDatasetRequest$ = exports.SetIdentityPoolConfigurationResponse$ = exports.SetIdentityPoolConfigurationRequest$ = exports.SetCognitoEventsRequest$ = exports.RegisterDeviceResponse$ = exports.RegisterDeviceRequest$ = exports.RecordPatch$ = exports._Record$ = exports.PushSync$ = exports.ListRecordsResponse$ = exports.ListRecordsRequest$ = exports.ListIdentityPoolUsageResponse$ = exports.ListIdentityPoolUsageRequest$ = exports.ListDatasetsResponse$ = exports.ListDatasetsRequest$ = exports.IdentityUsage$ = exports.IdentityPoolUsage$ = exports.GetIdentityPoolConfigurationResponse$ = exports.GetIdentityPoolConfigurationRequest$ = exports.GetCognitoEventsResponse$ = exports.GetCognitoEventsRequest$ = exports.GetBulkPublishDetailsResponse$ = exports.GetBulkPublishDetailsRequest$ = exports.DescribeIdentityUsageResponse$ = exports.DescribeIdentityUsageRequest$ = exports.DescribeIdentityPoolUsageResponse$ = exports.DescribeIdentityPoolUsageRequest$ = exports.DescribeDatasetResponse$ = exports.DescribeDatasetRequest$ = exports.DeleteDatasetResponse$ = exports.DeleteDatasetRequest$ = exports.Dataset$ = exports.CognitoStreams$ = exports.BulkPublishResponse$ = exports.BulkPublishRequest$ = exports.errorTypeRegistries = exports.TooManyRequestsException$ = exports.ResourceNotFoundException$ = exports.ResourceConflictException$ = exports.NotAuthorizedException$ = exports.LimitExceededException$ = exports.LambdaThrottledException$ = exports.InvalidParameterException$ = exports.InvalidLambdaFunctionOutputException$ = exports.InvalidConfigurationException$ = exports.InternalErrorException$ = exports.DuplicateRequestException$ = exports.ConcurrentModificationException$ = exports.AlreadyStreamedException$ = exports.CognitoSyncServiceException$ = void 0;
4
+ exports.UpdateRecords$ = exports.UnsubscribeFromDataset$ = exports.SubscribeToDataset$ = exports.SetIdentityPoolConfiguration$ = exports.SetCognitoEvents$ = exports.RegisterDevice$ = exports.ListRecords$ = exports.ListIdentityPoolUsage$ = exports.ListDatasets$ = exports.GetIdentityPoolConfiguration$ = exports.GetCognitoEvents$ = exports.GetBulkPublishDetails$ = exports.DescribeIdentityUsage$ = exports.DescribeIdentityPoolUsage$ = exports.DescribeDataset$ = exports.DeleteDataset$ = exports.BulkPublish$ = exports.UpdateRecordsResponse$ = exports.UpdateRecordsRequest$ = exports.UnsubscribeFromDatasetResponse$ = exports.UnsubscribeFromDatasetRequest$ = exports.SubscribeToDatasetResponse$ = void 0;
5
+ const _AA = "ApplicationArns";
6
+ const _ASE = "AlreadyStreamedException";
7
+ const _BP = "BulkPublish";
8
+ const _BPCT = "BulkPublishCompleteTime";
9
+ const _BPR = "BulkPublishRequest";
10
+ const _BPRu = "BulkPublishResponse";
11
+ const _BPS = "BulkPublishStatus";
12
+ const _BPST = "BulkPublishStartTime";
13
+ const _C = "Count";
14
+ const _CC = "ClientContext";
15
+ const _CD = "CreationDate";
16
+ const _CME = "ConcurrentModificationException";
17
+ const _CS = "CognitoStreams";
18
+ const _D = "Dataset";
19
+ const _DC = "DatasetCount";
20
+ const _DD = "DeleteDataset";
21
+ const _DDARSC = "DatasetDeletedAfterRequestedSyncCount";
22
+ const _DDR = "DeleteDatasetRequest";
23
+ const _DDRe = "DeleteDatasetResponse";
24
+ const _DDRes = "DescribeDatasetRequest";
25
+ const _DDResc = "DescribeDatasetResponse";
26
+ const _DDe = "DescribeDataset";
27
+ const _DE = "DatasetExists";
28
+ const _DI = "DeviceId";
29
+ const _DIPU = "DescribeIdentityPoolUsage";
30
+ const _DIPUR = "DescribeIdentityPoolUsageRequest";
31
+ const _DIPURe = "DescribeIdentityPoolUsageResponse";
32
+ const _DIU = "DescribeIdentityUsage";
33
+ const _DIUR = "DescribeIdentityUsageRequest";
34
+ const _DIURe = "DescribeIdentityUsageResponse";
35
+ const _DL = "DatasetList";
36
+ const _DLMD = "DeviceLastModifiedDate";
37
+ const _DN = "DatasetName";
38
+ const _DRE = "DuplicateRequestException";
39
+ const _DS = "DataStorage";
40
+ const _DSC = "DatasetSyncCount";
41
+ const _Da = "Datasets";
42
+ const _E = "Events";
43
+ const _FM = "FailureMessage";
44
+ const _GBPD = "GetBulkPublishDetails";
45
+ const _GBPDR = "GetBulkPublishDetailsRequest";
46
+ const _GBPDRe = "GetBulkPublishDetailsResponse";
47
+ const _GCE = "GetCognitoEvents";
48
+ const _GCER = "GetCognitoEventsRequest";
49
+ const _GCERe = "GetCognitoEventsResponse";
50
+ const _GIPC = "GetIdentityPoolConfiguration";
51
+ const _GIPCR = "GetIdentityPoolConfigurationRequest";
52
+ const _GIPCRe = "GetIdentityPoolConfigurationResponse";
53
+ const _ICE = "InvalidConfigurationException";
54
+ const _IEE = "InternalErrorException";
55
+ const _II = "IdentityId";
56
+ const _ILFOE = "InvalidLambdaFunctionOutputException";
57
+ const _IPE = "InvalidParameterException";
58
+ const _IPI = "IdentityPoolId";
59
+ const _IPU = "IdentityPoolUsage";
60
+ const _IPUL = "IdentityPoolUsageList";
61
+ const _IPUd = "IdentityPoolUsages";
62
+ const _IU = "IdentityUsage";
63
+ const _K = "Key";
64
+ const _LD = "ListDatasets";
65
+ const _LDR = "ListDatasetsRequest";
66
+ const _LDRi = "ListDatasetsResponse";
67
+ const _LEE = "LimitExceededException";
68
+ const _LIPU = "ListIdentityPoolUsage";
69
+ const _LIPUR = "ListIdentityPoolUsageRequest";
70
+ const _LIPURi = "ListIdentityPoolUsageResponse";
71
+ const _LMB = "LastModifiedBy";
72
+ const _LMD = "LastModifiedDate";
73
+ const _LR = "ListRecords";
74
+ const _LRR = "ListRecordsRequest";
75
+ const _LRRi = "ListRecordsResponse";
76
+ const _LSC = "LastSyncCount";
77
+ const _LTE = "LambdaThrottledException";
78
+ const _MDN = "MergedDatasetNames";
79
+ const _MR = "MaxResults";
80
+ const _NAE = "NotAuthorizedException";
81
+ const _NR = "NumRecords";
82
+ const _NT = "NextToken";
83
+ const _O = "Op";
84
+ const _P = "Platform";
85
+ const _PS = "PushSync";
86
+ const _R = "Records";
87
+ const _RA = "RoleArn";
88
+ const _RCE = "ResourceConflictException";
89
+ const _RD = "RegisterDevice";
90
+ const _RDR = "RegisterDeviceRequest";
91
+ const _RDRe = "RegisterDeviceResponse";
92
+ const _RL = "RecordList";
93
+ const _RNFE = "ResourceNotFoundException";
94
+ const _RP = "RecordPatch";
95
+ const _RPL = "RecordPatchList";
96
+ const _RPe = "RecordPatches";
97
+ const _Re = "Record";
98
+ const _SC = "SyncCount";
99
+ const _SCE = "SetCognitoEvents";
100
+ const _SCER = "SetCognitoEventsRequest";
101
+ const _SIPC = "SetIdentityPoolConfiguration";
102
+ const _SIPCR = "SetIdentityPoolConfigurationRequest";
103
+ const _SIPCRe = "SetIdentityPoolConfigurationResponse";
104
+ const _SN = "StreamName";
105
+ const _SS = "StreamingStatus";
106
+ const _SSC = "SyncSessionsCount";
107
+ const _SST = "SyncSessionToken";
108
+ const _STD = "SubscribeToDataset";
109
+ const _STDR = "SubscribeToDatasetRequest";
110
+ const _STDRu = "SubscribeToDatasetResponse";
111
+ const _T = "Token";
112
+ const _TMRE = "TooManyRequestsException";
113
+ const _UFD = "UnsubscribeFromDataset";
114
+ const _UFDR = "UnsubscribeFromDatasetRequest";
115
+ const _UFDRn = "UnsubscribeFromDatasetResponse";
116
+ const _UR = "UpdateRecords";
117
+ const _URR = "UpdateRecordsRequest";
118
+ const _URRp = "UpdateRecordsResponse";
119
+ const _V = "Value";
120
+ const _aQE = "awsQueryError";
121
+ const _c = "client";
122
+ const _e = "error";
123
+ const _h = "http";
124
+ const _hE = "httpError";
125
+ const _hH = "httpHeader";
126
+ const _hQ = "httpQuery";
127
+ const _lSC = "lastSyncCount";
128
+ const _m = "message";
129
+ const _mR = "maxResults";
130
+ const _nT = "nextToken";
131
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.cognitosync";
132
+ const _sST = "syncSessionToken";
133
+ const _se = "server";
134
+ const _xaCC = "x-amz-Client-Context";
135
+ const n0 = "com.amazonaws.cognitosync";
136
+ const schema_1 = require("@smithy/core/schema");
137
+ const CognitoSyncServiceException_1 = require("../models/CognitoSyncServiceException");
138
+ const errors_1 = require("../models/errors");
139
+ const _s_registry = schema_1.TypeRegistry.for(_s);
140
+ exports.CognitoSyncServiceException$ = [-3, _s, "CognitoSyncServiceException", 0, [], []];
141
+ _s_registry.registerError(exports.CognitoSyncServiceException$, CognitoSyncServiceException_1.CognitoSyncServiceException);
142
+ const n0_registry = schema_1.TypeRegistry.for(n0);
143
+ exports.AlreadyStreamedException$ = [-3, n0, _ASE,
144
+ { [_aQE]: [`AlreadyStreamed`, 400], [_e]: _c, [_hE]: 400 },
145
+ [_m],
146
+ [0], 1
147
+ ];
148
+ n0_registry.registerError(exports.AlreadyStreamedException$, errors_1.AlreadyStreamedException);
149
+ exports.ConcurrentModificationException$ = [-3, n0, _CME,
150
+ { [_aQE]: [`ConcurrentModification`, 400], [_e]: _c, [_hE]: 400 },
151
+ [_m],
152
+ [0], 1
153
+ ];
154
+ n0_registry.registerError(exports.ConcurrentModificationException$, errors_1.ConcurrentModificationException);
155
+ exports.DuplicateRequestException$ = [-3, n0, _DRE,
156
+ { [_aQE]: [`DuplicateRequest`, 400], [_e]: _c, [_hE]: 400 },
157
+ [_m],
158
+ [0], 1
159
+ ];
160
+ n0_registry.registerError(exports.DuplicateRequestException$, errors_1.DuplicateRequestException);
161
+ exports.InternalErrorException$ = [-3, n0, _IEE,
162
+ { [_aQE]: [`InternalError`, 500], [_e]: _se, [_hE]: 500 },
163
+ [_m],
164
+ [0], 1
165
+ ];
166
+ n0_registry.registerError(exports.InternalErrorException$, errors_1.InternalErrorException);
167
+ exports.InvalidConfigurationException$ = [-3, n0, _ICE,
168
+ { [_aQE]: [`InvalidConfiguration`, 400], [_e]: _c, [_hE]: 400 },
169
+ [_m],
170
+ [0], 1
171
+ ];
172
+ n0_registry.registerError(exports.InvalidConfigurationException$, errors_1.InvalidConfigurationException);
173
+ exports.InvalidLambdaFunctionOutputException$ = [-3, n0, _ILFOE,
174
+ { [_aQE]: [`InvalidLambdaFunctionOutput`, 400], [_e]: _c, [_hE]: 400 },
175
+ [_m],
176
+ [0], 1
177
+ ];
178
+ n0_registry.registerError(exports.InvalidLambdaFunctionOutputException$, errors_1.InvalidLambdaFunctionOutputException);
179
+ exports.InvalidParameterException$ = [-3, n0, _IPE,
180
+ { [_aQE]: [`InvalidParameter`, 400], [_e]: _c, [_hE]: 400 },
181
+ [_m],
182
+ [0], 1
183
+ ];
184
+ n0_registry.registerError(exports.InvalidParameterException$, errors_1.InvalidParameterException);
185
+ exports.LambdaThrottledException$ = [-3, n0, _LTE,
186
+ { [_aQE]: [`LambdaThrottled`, 429], [_e]: _c, [_hE]: 429 },
187
+ [_m],
188
+ [0], 1
189
+ ];
190
+ n0_registry.registerError(exports.LambdaThrottledException$, errors_1.LambdaThrottledException);
191
+ exports.LimitExceededException$ = [-3, n0, _LEE,
192
+ { [_aQE]: [`LimitExceeded`, 400], [_e]: _c, [_hE]: 400 },
193
+ [_m],
194
+ [0], 1
195
+ ];
196
+ n0_registry.registerError(exports.LimitExceededException$, errors_1.LimitExceededException);
197
+ exports.NotAuthorizedException$ = [-3, n0, _NAE,
198
+ { [_aQE]: [`NotAuthorizedError`, 403], [_e]: _c, [_hE]: 403 },
199
+ [_m],
200
+ [0], 1
201
+ ];
202
+ n0_registry.registerError(exports.NotAuthorizedException$, errors_1.NotAuthorizedException);
203
+ exports.ResourceConflictException$ = [-3, n0, _RCE,
204
+ { [_aQE]: [`ResourceConflict`, 409], [_e]: _c, [_hE]: 409 },
205
+ [_m],
206
+ [0], 1
207
+ ];
208
+ n0_registry.registerError(exports.ResourceConflictException$, errors_1.ResourceConflictException);
209
+ exports.ResourceNotFoundException$ = [-3, n0, _RNFE,
210
+ { [_aQE]: [`ResourceNotFound`, 404], [_e]: _c, [_hE]: 404 },
211
+ [_m],
212
+ [0], 1
213
+ ];
214
+ n0_registry.registerError(exports.ResourceNotFoundException$, errors_1.ResourceNotFoundException);
215
+ exports.TooManyRequestsException$ = [-3, n0, _TMRE,
216
+ { [_aQE]: [`TooManyRequests`, 429], [_e]: _c, [_hE]: 429 },
217
+ [_m],
218
+ [0], 1
219
+ ];
220
+ n0_registry.registerError(exports.TooManyRequestsException$, errors_1.TooManyRequestsException);
221
+ exports.errorTypeRegistries = [
222
+ _s_registry,
223
+ n0_registry,
224
+ ];
225
+ exports.BulkPublishRequest$ = [3, n0, _BPR,
226
+ 0,
227
+ [_IPI],
228
+ [[0, 1]], 1
229
+ ];
230
+ exports.BulkPublishResponse$ = [3, n0, _BPRu,
231
+ 0,
232
+ [_IPI],
233
+ [0]
234
+ ];
235
+ exports.CognitoStreams$ = [3, n0, _CS,
236
+ 0,
237
+ [_SN, _RA, _SS],
238
+ [0, 0, 0]
239
+ ];
240
+ exports.Dataset$ = [3, n0, _D,
241
+ 0,
242
+ [_II, _DN, _CD, _LMD, _LMB, _DS, _NR],
243
+ [0, 0, 4, 4, 0, 1, 1]
244
+ ];
245
+ exports.DeleteDatasetRequest$ = [3, n0, _DDR,
246
+ 0,
247
+ [_IPI, _II, _DN],
248
+ [[0, 1], [0, 1], [0, 1]], 3
249
+ ];
250
+ exports.DeleteDatasetResponse$ = [3, n0, _DDRe,
251
+ 0,
252
+ [_D],
253
+ [() => exports.Dataset$]
254
+ ];
255
+ exports.DescribeDatasetRequest$ = [3, n0, _DDRes,
256
+ 0,
257
+ [_IPI, _II, _DN],
258
+ [[0, 1], [0, 1], [0, 1]], 3
259
+ ];
260
+ exports.DescribeDatasetResponse$ = [3, n0, _DDResc,
261
+ 0,
262
+ [_D],
263
+ [() => exports.Dataset$]
264
+ ];
265
+ exports.DescribeIdentityPoolUsageRequest$ = [3, n0, _DIPUR,
266
+ 0,
267
+ [_IPI],
268
+ [[0, 1]], 1
269
+ ];
270
+ exports.DescribeIdentityPoolUsageResponse$ = [3, n0, _DIPURe,
271
+ 0,
272
+ [_IPU],
273
+ [() => exports.IdentityPoolUsage$]
274
+ ];
275
+ exports.DescribeIdentityUsageRequest$ = [3, n0, _DIUR,
276
+ 0,
277
+ [_IPI, _II],
278
+ [[0, 1], [0, 1]], 2
279
+ ];
280
+ exports.DescribeIdentityUsageResponse$ = [3, n0, _DIURe,
281
+ 0,
282
+ [_IU],
283
+ [() => exports.IdentityUsage$]
284
+ ];
285
+ exports.GetBulkPublishDetailsRequest$ = [3, n0, _GBPDR,
286
+ 0,
287
+ [_IPI],
288
+ [[0, 1]], 1
289
+ ];
290
+ exports.GetBulkPublishDetailsResponse$ = [3, n0, _GBPDRe,
291
+ 0,
292
+ [_IPI, _BPST, _BPCT, _BPS, _FM],
293
+ [0, 4, 4, 0, 0]
294
+ ];
295
+ exports.GetCognitoEventsRequest$ = [3, n0, _GCER,
296
+ 0,
297
+ [_IPI],
298
+ [[0, 1]], 1
299
+ ];
300
+ exports.GetCognitoEventsResponse$ = [3, n0, _GCERe,
301
+ 0,
302
+ [_E],
303
+ [128 | 0]
304
+ ];
305
+ exports.GetIdentityPoolConfigurationRequest$ = [3, n0, _GIPCR,
306
+ 0,
307
+ [_IPI],
308
+ [[0, 1]], 1
309
+ ];
310
+ exports.GetIdentityPoolConfigurationResponse$ = [3, n0, _GIPCRe,
311
+ 0,
312
+ [_IPI, _PS, _CS],
313
+ [0, () => exports.PushSync$, () => exports.CognitoStreams$]
314
+ ];
315
+ exports.IdentityPoolUsage$ = [3, n0, _IPU,
316
+ 0,
317
+ [_IPI, _SSC, _DS, _LMD],
318
+ [0, 1, 1, 4]
319
+ ];
320
+ exports.IdentityUsage$ = [3, n0, _IU,
321
+ 0,
322
+ [_II, _IPI, _LMD, _DC, _DS],
323
+ [0, 0, 4, 1, 1]
324
+ ];
325
+ exports.ListDatasetsRequest$ = [3, n0, _LDR,
326
+ 0,
327
+ [_IPI, _II, _NT, _MR],
328
+ [[0, 1], [0, 1], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]], 2
329
+ ];
330
+ exports.ListDatasetsResponse$ = [3, n0, _LDRi,
331
+ 0,
332
+ [_Da, _C, _NT],
333
+ [() => DatasetList, 1, 0]
334
+ ];
335
+ exports.ListIdentityPoolUsageRequest$ = [3, n0, _LIPUR,
336
+ 0,
337
+ [_NT, _MR],
338
+ [[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]]
339
+ ];
340
+ exports.ListIdentityPoolUsageResponse$ = [3, n0, _LIPURi,
341
+ 0,
342
+ [_IPUd, _MR, _C, _NT],
343
+ [() => IdentityPoolUsageList, 1, 1, 0]
344
+ ];
345
+ exports.ListRecordsRequest$ = [3, n0, _LRR,
346
+ 0,
347
+ [_IPI, _II, _DN, _LSC, _NT, _MR, _SST],
348
+ [[0, 1], [0, 1], [0, 1], [1, { [_hQ]: _lSC }], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _sST }]], 3
349
+ ];
350
+ exports.ListRecordsResponse$ = [3, n0, _LRRi,
351
+ 0,
352
+ [_R, _NT, _C, _DSC, _LMB, _MDN, _DE, _DDARSC, _SST],
353
+ [() => RecordList, 0, 1, 1, 0, 64 | 0, 2, 2, 0]
354
+ ];
355
+ exports.PushSync$ = [3, n0, _PS,
356
+ 0,
357
+ [_AA, _RA],
358
+ [64 | 0, 0]
359
+ ];
360
+ exports._Record$ = [3, n0, _Re,
361
+ 0,
362
+ [_K, _V, _SC, _LMD, _LMB, _DLMD],
363
+ [0, 0, 1, 4, 0, 4]
364
+ ];
365
+ exports.RecordPatch$ = [3, n0, _RP,
366
+ 0,
367
+ [_O, _K, _SC, _V, _DLMD],
368
+ [0, 0, 1, 0, 4], 3
369
+ ];
370
+ exports.RegisterDeviceRequest$ = [3, n0, _RDR,
371
+ 0,
372
+ [_IPI, _II, _P, _T],
373
+ [[0, 1], [0, 1], 0, 0], 4
374
+ ];
375
+ exports.RegisterDeviceResponse$ = [3, n0, _RDRe,
376
+ 0,
377
+ [_DI],
378
+ [0]
379
+ ];
380
+ exports.SetCognitoEventsRequest$ = [3, n0, _SCER,
381
+ 0,
382
+ [_IPI, _E],
383
+ [[0, 1], 128 | 0], 2
384
+ ];
385
+ exports.SetIdentityPoolConfigurationRequest$ = [3, n0, _SIPCR,
386
+ 0,
387
+ [_IPI, _PS, _CS],
388
+ [[0, 1], () => exports.PushSync$, () => exports.CognitoStreams$], 1
389
+ ];
390
+ exports.SetIdentityPoolConfigurationResponse$ = [3, n0, _SIPCRe,
391
+ 0,
392
+ [_IPI, _PS, _CS],
393
+ [0, () => exports.PushSync$, () => exports.CognitoStreams$]
394
+ ];
395
+ exports.SubscribeToDatasetRequest$ = [3, n0, _STDR,
396
+ 0,
397
+ [_IPI, _II, _DN, _DI],
398
+ [[0, 1], [0, 1], [0, 1], [0, 1]], 4
399
+ ];
400
+ exports.SubscribeToDatasetResponse$ = [3, n0, _STDRu,
401
+ 0,
402
+ [],
403
+ []
404
+ ];
405
+ exports.UnsubscribeFromDatasetRequest$ = [3, n0, _UFDR,
406
+ 0,
407
+ [_IPI, _II, _DN, _DI],
408
+ [[0, 1], [0, 1], [0, 1], [0, 1]], 4
409
+ ];
410
+ exports.UnsubscribeFromDatasetResponse$ = [3, n0, _UFDRn,
411
+ 0,
412
+ [],
413
+ []
414
+ ];
415
+ exports.UpdateRecordsRequest$ = [3, n0, _URR,
416
+ 0,
417
+ [_IPI, _II, _DN, _SST, _DI, _RPe, _CC],
418
+ [[0, 1], [0, 1], [0, 1], 0, 0, () => RecordPatchList, [0, { [_hH]: _xaCC }]], 4
419
+ ];
420
+ exports.UpdateRecordsResponse$ = [3, n0, _URRp,
421
+ 0,
422
+ [_R],
423
+ [() => RecordList]
424
+ ];
425
+ var __Unit = "unit";
426
+ var ApplicationArnList = 64 | 0;
427
+ var DatasetList = [1, n0, _DL,
428
+ 0, () => exports.Dataset$
429
+ ];
430
+ var IdentityPoolUsageList = [1, n0, _IPUL,
431
+ 0, () => exports.IdentityPoolUsage$
432
+ ];
433
+ var MergedDatasetNameList = 64 | 0;
434
+ var RecordList = [1, n0, _RL,
435
+ 0, () => exports._Record$
436
+ ];
437
+ var RecordPatchList = [1, n0, _RPL,
438
+ 0, () => exports.RecordPatch$
439
+ ];
440
+ var Events = 128 | 0;
441
+ exports.BulkPublish$ = [9, n0, _BP,
442
+ { [_h]: ["POST", "/identitypools/{IdentityPoolId}/bulkpublish", 200] }, () => exports.BulkPublishRequest$, () => exports.BulkPublishResponse$
443
+ ];
444
+ exports.DeleteDataset$ = [9, n0, _DD,
445
+ { [_h]: ["DELETE", "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}", 200] }, () => exports.DeleteDatasetRequest$, () => exports.DeleteDatasetResponse$
446
+ ];
447
+ exports.DescribeDataset$ = [9, n0, _DDe,
448
+ { [_h]: ["GET", "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}", 200] }, () => exports.DescribeDatasetRequest$, () => exports.DescribeDatasetResponse$
449
+ ];
450
+ exports.DescribeIdentityPoolUsage$ = [9, n0, _DIPU,
451
+ { [_h]: ["GET", "/identitypools/{IdentityPoolId}", 200] }, () => exports.DescribeIdentityPoolUsageRequest$, () => exports.DescribeIdentityPoolUsageResponse$
452
+ ];
453
+ exports.DescribeIdentityUsage$ = [9, n0, _DIU,
454
+ { [_h]: ["GET", "/identitypools/{IdentityPoolId}/identities/{IdentityId}", 200] }, () => exports.DescribeIdentityUsageRequest$, () => exports.DescribeIdentityUsageResponse$
455
+ ];
456
+ exports.GetBulkPublishDetails$ = [9, n0, _GBPD,
457
+ { [_h]: ["POST", "/identitypools/{IdentityPoolId}/getBulkPublishDetails", 200] }, () => exports.GetBulkPublishDetailsRequest$, () => exports.GetBulkPublishDetailsResponse$
458
+ ];
459
+ exports.GetCognitoEvents$ = [9, n0, _GCE,
460
+ { [_h]: ["GET", "/identitypools/{IdentityPoolId}/events", 200] }, () => exports.GetCognitoEventsRequest$, () => exports.GetCognitoEventsResponse$
461
+ ];
462
+ exports.GetIdentityPoolConfiguration$ = [9, n0, _GIPC,
463
+ { [_h]: ["GET", "/identitypools/{IdentityPoolId}/configuration", 200] }, () => exports.GetIdentityPoolConfigurationRequest$, () => exports.GetIdentityPoolConfigurationResponse$
464
+ ];
465
+ exports.ListDatasets$ = [9, n0, _LD,
466
+ { [_h]: ["GET", "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets", 200] }, () => exports.ListDatasetsRequest$, () => exports.ListDatasetsResponse$
467
+ ];
468
+ exports.ListIdentityPoolUsage$ = [9, n0, _LIPU,
469
+ { [_h]: ["GET", "/identitypools", 200] }, () => exports.ListIdentityPoolUsageRequest$, () => exports.ListIdentityPoolUsageResponse$
470
+ ];
471
+ exports.ListRecords$ = [9, n0, _LR,
472
+ { [_h]: ["GET", "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}/records", 200] }, () => exports.ListRecordsRequest$, () => exports.ListRecordsResponse$
473
+ ];
474
+ exports.RegisterDevice$ = [9, n0, _RD,
475
+ { [_h]: ["POST", "/identitypools/{IdentityPoolId}/identity/{IdentityId}/device", 200] }, () => exports.RegisterDeviceRequest$, () => exports.RegisterDeviceResponse$
476
+ ];
477
+ exports.SetCognitoEvents$ = [9, n0, _SCE,
478
+ { [_h]: ["POST", "/identitypools/{IdentityPoolId}/events", 200] }, () => exports.SetCognitoEventsRequest$, () => __Unit
479
+ ];
480
+ exports.SetIdentityPoolConfiguration$ = [9, n0, _SIPC,
481
+ { [_h]: ["POST", "/identitypools/{IdentityPoolId}/configuration", 200] }, () => exports.SetIdentityPoolConfigurationRequest$, () => exports.SetIdentityPoolConfigurationResponse$
482
+ ];
483
+ exports.SubscribeToDataset$ = [9, n0, _STD,
484
+ { [_h]: ["POST", "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}/subscriptions/{DeviceId}", 200] }, () => exports.SubscribeToDatasetRequest$, () => exports.SubscribeToDatasetResponse$
485
+ ];
486
+ exports.UnsubscribeFromDataset$ = [9, n0, _UFD,
487
+ { [_h]: ["DELETE", "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}/subscriptions/{DeviceId}", 200] }, () => exports.UnsubscribeFromDatasetRequest$, () => exports.UnsubscribeFromDatasetResponse$
488
+ ];
489
+ exports.UpdateRecords$ = [9, n0, _UR,
490
+ { [_h]: ["POST", "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}", 200] }, () => exports.UpdateRecordsRequest$, () => exports.UpdateRecordsResponse$
491
+ ];