@aws-sdk/client-cognito-sync 3.50.0 → 3.53.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 (43) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/CognitoSyncServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +172 -1
  5. package/dist-cjs/protocols/Aws_restJson1.js +249 -812
  6. package/dist-es/index.js +1 -0
  7. package/dist-es/models/CognitoSyncServiceException.js +12 -0
  8. package/dist-es/models/models_0.js +158 -1
  9. package/dist-es/protocols/Aws_restJson1.js +451 -894
  10. package/dist-types/index.d.ts +1 -0
  11. package/dist-types/models/CognitoSyncServiceException.d.ts +10 -0
  12. package/dist-types/models/models_0.d.ts +67 -74
  13. package/dist-types/ts3.4/CognitoSync.d.ts +90 -0
  14. package/dist-types/ts3.4/CognitoSyncClient.d.ts +90 -0
  15. package/dist-types/ts3.4/commands/BulkPublishCommand.d.ts +17 -0
  16. package/dist-types/ts3.4/commands/DeleteDatasetCommand.d.ts +17 -0
  17. package/dist-types/ts3.4/commands/DescribeDatasetCommand.d.ts +17 -0
  18. package/dist-types/ts3.4/commands/DescribeIdentityPoolUsageCommand.d.ts +17 -0
  19. package/dist-types/ts3.4/commands/DescribeIdentityUsageCommand.d.ts +17 -0
  20. package/dist-types/ts3.4/commands/GetBulkPublishDetailsCommand.d.ts +17 -0
  21. package/dist-types/ts3.4/commands/GetCognitoEventsCommand.d.ts +17 -0
  22. package/dist-types/ts3.4/commands/GetIdentityPoolConfigurationCommand.d.ts +17 -0
  23. package/dist-types/ts3.4/commands/ListDatasetsCommand.d.ts +17 -0
  24. package/dist-types/ts3.4/commands/ListIdentityPoolUsageCommand.d.ts +17 -0
  25. package/dist-types/ts3.4/commands/ListRecordsCommand.d.ts +17 -0
  26. package/dist-types/ts3.4/commands/RegisterDeviceCommand.d.ts +17 -0
  27. package/dist-types/ts3.4/commands/SetCognitoEventsCommand.d.ts +17 -0
  28. package/dist-types/ts3.4/commands/SetIdentityPoolConfigurationCommand.d.ts +17 -0
  29. package/dist-types/ts3.4/commands/SubscribeToDatasetCommand.d.ts +17 -0
  30. package/dist-types/ts3.4/commands/UnsubscribeFromDatasetCommand.d.ts +17 -0
  31. package/dist-types/ts3.4/commands/UpdateRecordsCommand.d.ts +17 -0
  32. package/dist-types/ts3.4/commands/index.d.ts +17 -0
  33. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  34. package/dist-types/ts3.4/index.d.ts +5 -0
  35. package/dist-types/ts3.4/models/CognitoSyncServiceException.d.ts +6 -0
  36. package/dist-types/ts3.4/models/index.d.ts +1 -0
  37. package/dist-types/ts3.4/models/models_0.d.ts +619 -0
  38. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +53 -0
  39. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  40. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  41. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  42. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  43. package/package.json +33 -33
package/dist-es/index.js CHANGED
@@ -2,3 +2,4 @@ export * from "./CognitoSync";
2
2
  export * from "./CognitoSyncClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
+ export { CognitoSyncServiceException } from "./models/CognitoSyncServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var CognitoSyncServiceException = (function (_super) {
4
+ __extends(CognitoSyncServiceException, _super);
5
+ function CognitoSyncServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, CognitoSyncServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return CognitoSyncServiceException;
11
+ }(__ServiceException));
12
+ export { CognitoSyncServiceException };
@@ -1,4 +1,17 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
+ import { CognitoSyncServiceException as __BaseException } from "./CognitoSyncServiceException";
3
+ var AlreadyStreamedException = (function (_super) {
4
+ __extends(AlreadyStreamedException, _super);
5
+ function AlreadyStreamedException(opts) {
6
+ var _this = _super.call(this, __assign({ name: "AlreadyStreamedException", $fault: "client" }, opts)) || this;
7
+ _this.name = "AlreadyStreamedException";
8
+ _this.$fault = "client";
9
+ Object.setPrototypeOf(_this, AlreadyStreamedException.prototype);
10
+ return _this;
11
+ }
12
+ return AlreadyStreamedException;
13
+ }(__BaseException));
14
+ export { AlreadyStreamedException };
2
15
  export var BulkPublishRequest;
3
16
  (function (BulkPublishRequest) {
4
17
  BulkPublishRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -7,6 +20,66 @@ export var BulkPublishResponse;
7
20
  (function (BulkPublishResponse) {
8
21
  BulkPublishResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
9
22
  })(BulkPublishResponse || (BulkPublishResponse = {}));
23
+ var DuplicateRequestException = (function (_super) {
24
+ __extends(DuplicateRequestException, _super);
25
+ function DuplicateRequestException(opts) {
26
+ var _this = _super.call(this, __assign({ name: "DuplicateRequestException", $fault: "client" }, opts)) || this;
27
+ _this.name = "DuplicateRequestException";
28
+ _this.$fault = "client";
29
+ Object.setPrototypeOf(_this, DuplicateRequestException.prototype);
30
+ return _this;
31
+ }
32
+ return DuplicateRequestException;
33
+ }(__BaseException));
34
+ export { DuplicateRequestException };
35
+ var InternalErrorException = (function (_super) {
36
+ __extends(InternalErrorException, _super);
37
+ function InternalErrorException(opts) {
38
+ var _this = _super.call(this, __assign({ name: "InternalErrorException", $fault: "server" }, opts)) || this;
39
+ _this.name = "InternalErrorException";
40
+ _this.$fault = "server";
41
+ Object.setPrototypeOf(_this, InternalErrorException.prototype);
42
+ return _this;
43
+ }
44
+ return InternalErrorException;
45
+ }(__BaseException));
46
+ export { InternalErrorException };
47
+ var InvalidParameterException = (function (_super) {
48
+ __extends(InvalidParameterException, _super);
49
+ function InvalidParameterException(opts) {
50
+ var _this = _super.call(this, __assign({ name: "InvalidParameterException", $fault: "client" }, opts)) || this;
51
+ _this.name = "InvalidParameterException";
52
+ _this.$fault = "client";
53
+ Object.setPrototypeOf(_this, InvalidParameterException.prototype);
54
+ return _this;
55
+ }
56
+ return InvalidParameterException;
57
+ }(__BaseException));
58
+ export { InvalidParameterException };
59
+ var NotAuthorizedException = (function (_super) {
60
+ __extends(NotAuthorizedException, _super);
61
+ function NotAuthorizedException(opts) {
62
+ var _this = _super.call(this, __assign({ name: "NotAuthorizedException", $fault: "client" }, opts)) || this;
63
+ _this.name = "NotAuthorizedException";
64
+ _this.$fault = "client";
65
+ Object.setPrototypeOf(_this, NotAuthorizedException.prototype);
66
+ return _this;
67
+ }
68
+ return NotAuthorizedException;
69
+ }(__BaseException));
70
+ export { NotAuthorizedException };
71
+ var ResourceNotFoundException = (function (_super) {
72
+ __extends(ResourceNotFoundException, _super);
73
+ function ResourceNotFoundException(opts) {
74
+ var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
75
+ _this.name = "ResourceNotFoundException";
76
+ _this.$fault = "client";
77
+ Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
78
+ return _this;
79
+ }
80
+ return ResourceNotFoundException;
81
+ }(__BaseException));
82
+ export { ResourceNotFoundException };
10
83
  export var DeleteDatasetRequest;
11
84
  (function (DeleteDatasetRequest) {
12
85
  DeleteDatasetRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -19,6 +92,30 @@ export var DeleteDatasetResponse;
19
92
  (function (DeleteDatasetResponse) {
20
93
  DeleteDatasetResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
21
94
  })(DeleteDatasetResponse || (DeleteDatasetResponse = {}));
95
+ var ResourceConflictException = (function (_super) {
96
+ __extends(ResourceConflictException, _super);
97
+ function ResourceConflictException(opts) {
98
+ var _this = _super.call(this, __assign({ name: "ResourceConflictException", $fault: "client" }, opts)) || this;
99
+ _this.name = "ResourceConflictException";
100
+ _this.$fault = "client";
101
+ Object.setPrototypeOf(_this, ResourceConflictException.prototype);
102
+ return _this;
103
+ }
104
+ return ResourceConflictException;
105
+ }(__BaseException));
106
+ export { ResourceConflictException };
107
+ var TooManyRequestsException = (function (_super) {
108
+ __extends(TooManyRequestsException, _super);
109
+ function TooManyRequestsException(opts) {
110
+ var _this = _super.call(this, __assign({ name: "TooManyRequestsException", $fault: "client" }, opts)) || this;
111
+ _this.name = "TooManyRequestsException";
112
+ _this.$fault = "client";
113
+ Object.setPrototypeOf(_this, TooManyRequestsException.prototype);
114
+ return _this;
115
+ }
116
+ return TooManyRequestsException;
117
+ }(__BaseException));
118
+ export { TooManyRequestsException };
22
119
  export var DescribeDatasetRequest;
23
120
  (function (DescribeDatasetRequest) {
24
121
  DescribeDatasetRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -118,6 +215,18 @@ export var ListRecordsResponse;
118
215
  (function (ListRecordsResponse) {
119
216
  ListRecordsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
120
217
  })(ListRecordsResponse || (ListRecordsResponse = {}));
218
+ var InvalidConfigurationException = (function (_super) {
219
+ __extends(InvalidConfigurationException, _super);
220
+ function InvalidConfigurationException(opts) {
221
+ var _this = _super.call(this, __assign({ name: "InvalidConfigurationException", $fault: "client" }, opts)) || this;
222
+ _this.name = "InvalidConfigurationException";
223
+ _this.$fault = "client";
224
+ Object.setPrototypeOf(_this, InvalidConfigurationException.prototype);
225
+ return _this;
226
+ }
227
+ return InvalidConfigurationException;
228
+ }(__BaseException));
229
+ export { InvalidConfigurationException };
121
230
  export var RegisterDeviceRequest;
122
231
  (function (RegisterDeviceRequest) {
123
232
  RegisterDeviceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -130,6 +239,18 @@ export var SetCognitoEventsRequest;
130
239
  (function (SetCognitoEventsRequest) {
131
240
  SetCognitoEventsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
132
241
  })(SetCognitoEventsRequest || (SetCognitoEventsRequest = {}));
242
+ var ConcurrentModificationException = (function (_super) {
243
+ __extends(ConcurrentModificationException, _super);
244
+ function ConcurrentModificationException(opts) {
245
+ var _this = _super.call(this, __assign({ name: "ConcurrentModificationException", $fault: "client" }, opts)) || this;
246
+ _this.name = "ConcurrentModificationException";
247
+ _this.$fault = "client";
248
+ Object.setPrototypeOf(_this, ConcurrentModificationException.prototype);
249
+ return _this;
250
+ }
251
+ return ConcurrentModificationException;
252
+ }(__BaseException));
253
+ export { ConcurrentModificationException };
133
254
  export var SetIdentityPoolConfigurationRequest;
134
255
  (function (SetIdentityPoolConfigurationRequest) {
135
256
  SetIdentityPoolConfigurationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -154,6 +275,42 @@ export var UnsubscribeFromDatasetResponse;
154
275
  (function (UnsubscribeFromDatasetResponse) {
155
276
  UnsubscribeFromDatasetResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
156
277
  })(UnsubscribeFromDatasetResponse || (UnsubscribeFromDatasetResponse = {}));
278
+ var InvalidLambdaFunctionOutputException = (function (_super) {
279
+ __extends(InvalidLambdaFunctionOutputException, _super);
280
+ function InvalidLambdaFunctionOutputException(opts) {
281
+ var _this = _super.call(this, __assign({ name: "InvalidLambdaFunctionOutputException", $fault: "client" }, opts)) || this;
282
+ _this.name = "InvalidLambdaFunctionOutputException";
283
+ _this.$fault = "client";
284
+ Object.setPrototypeOf(_this, InvalidLambdaFunctionOutputException.prototype);
285
+ return _this;
286
+ }
287
+ return InvalidLambdaFunctionOutputException;
288
+ }(__BaseException));
289
+ export { InvalidLambdaFunctionOutputException };
290
+ var LambdaThrottledException = (function (_super) {
291
+ __extends(LambdaThrottledException, _super);
292
+ function LambdaThrottledException(opts) {
293
+ var _this = _super.call(this, __assign({ name: "LambdaThrottledException", $fault: "client" }, opts)) || this;
294
+ _this.name = "LambdaThrottledException";
295
+ _this.$fault = "client";
296
+ Object.setPrototypeOf(_this, LambdaThrottledException.prototype);
297
+ return _this;
298
+ }
299
+ return LambdaThrottledException;
300
+ }(__BaseException));
301
+ export { LambdaThrottledException };
302
+ var LimitExceededException = (function (_super) {
303
+ __extends(LimitExceededException, _super);
304
+ function LimitExceededException(opts) {
305
+ var _this = _super.call(this, __assign({ name: "LimitExceededException", $fault: "client" }, opts)) || this;
306
+ _this.name = "LimitExceededException";
307
+ _this.$fault = "client";
308
+ Object.setPrototypeOf(_this, LimitExceededException.prototype);
309
+ return _this;
310
+ }
311
+ return LimitExceededException;
312
+ }(__BaseException));
313
+ export { LimitExceededException };
157
314
  export var RecordPatch;
158
315
  (function (RecordPatch) {
159
316
  RecordPatch.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };