@aws-sdk/client-cognito-sync 3.933.0 → 3.935.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 +21 -20
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +20 -0
- package/dist-es/models/errors.js +157 -0
- package/dist-es/models/models_0.js +1 -177
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +52 -0
- package/dist-types/models/errors.d.ts +164 -0
- package/dist-types/models/models_0.d.ts +1 -216
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +26 -0
- package/dist-types/ts3.4/models/errors.d.ts +99 -0
- package/dist-types/ts3.4/models/models_0.d.ts +6 -125
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -213,16 +213,6 @@ let TooManyRequestsException$1 = class TooManyRequestsException extends CognitoS
|
|
|
213
213
|
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
214
214
|
}
|
|
215
215
|
};
|
|
216
|
-
const BulkPublishStatus = {
|
|
217
|
-
FAILED: "FAILED",
|
|
218
|
-
IN_PROGRESS: "IN_PROGRESS",
|
|
219
|
-
NOT_STARTED: "NOT_STARTED",
|
|
220
|
-
SUCCEEDED: "SUCCEEDED",
|
|
221
|
-
};
|
|
222
|
-
const StreamingStatus = {
|
|
223
|
-
DISABLED: "DISABLED",
|
|
224
|
-
ENABLED: "ENABLED",
|
|
225
|
-
};
|
|
226
216
|
let InvalidConfigurationException$1 = class InvalidConfigurationException extends CognitoSyncServiceException$1 {
|
|
227
217
|
name = "InvalidConfigurationException";
|
|
228
218
|
$fault = "client";
|
|
@@ -235,12 +225,6 @@ let InvalidConfigurationException$1 = class InvalidConfigurationException extend
|
|
|
235
225
|
Object.setPrototypeOf(this, InvalidConfigurationException.prototype);
|
|
236
226
|
}
|
|
237
227
|
};
|
|
238
|
-
const Platform = {
|
|
239
|
-
ADM: "ADM",
|
|
240
|
-
APNS: "APNS",
|
|
241
|
-
APNS_SANDBOX: "APNS_SANDBOX",
|
|
242
|
-
GCM: "GCM",
|
|
243
|
-
};
|
|
244
228
|
let ConcurrentModificationException$1 = class ConcurrentModificationException extends CognitoSyncServiceException$1 {
|
|
245
229
|
name = "ConcurrentModificationException";
|
|
246
230
|
$fault = "client";
|
|
@@ -289,10 +273,6 @@ let LimitExceededException$1 = class LimitExceededException extends CognitoSyncS
|
|
|
289
273
|
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
290
274
|
}
|
|
291
275
|
};
|
|
292
|
-
const Operation = {
|
|
293
|
-
remove: "remove",
|
|
294
|
-
replace: "replace",
|
|
295
|
-
};
|
|
296
276
|
|
|
297
277
|
const _AA = "ApplicationArns";
|
|
298
278
|
const _ASE = "AlreadyStreamedException";
|
|
@@ -1256,6 +1236,27 @@ class CognitoSync extends CognitoSyncClient {
|
|
|
1256
1236
|
}
|
|
1257
1237
|
smithyClient.createAggregatedClient(commands, CognitoSync);
|
|
1258
1238
|
|
|
1239
|
+
const BulkPublishStatus = {
|
|
1240
|
+
FAILED: "FAILED",
|
|
1241
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
1242
|
+
NOT_STARTED: "NOT_STARTED",
|
|
1243
|
+
SUCCEEDED: "SUCCEEDED",
|
|
1244
|
+
};
|
|
1245
|
+
const StreamingStatus = {
|
|
1246
|
+
DISABLED: "DISABLED",
|
|
1247
|
+
ENABLED: "ENABLED",
|
|
1248
|
+
};
|
|
1249
|
+
const Platform = {
|
|
1250
|
+
ADM: "ADM",
|
|
1251
|
+
APNS: "APNS",
|
|
1252
|
+
APNS_SANDBOX: "APNS_SANDBOX",
|
|
1253
|
+
GCM: "GCM",
|
|
1254
|
+
};
|
|
1255
|
+
const Operation = {
|
|
1256
|
+
remove: "remove",
|
|
1257
|
+
replace: "replace",
|
|
1258
|
+
};
|
|
1259
|
+
|
|
1259
1260
|
Object.defineProperty(exports, "$Command", {
|
|
1260
1261
|
enumerable: true,
|
|
1261
1262
|
get: function () { return smithyClient.Command; }
|
package/dist-es/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from "./CognitoSyncClient";
|
|
2
2
|
export * from "./CognitoSync";
|
|
3
3
|
export * from "./commands";
|
|
4
|
-
export * from "./models";
|
|
4
|
+
export * from "./models/enums";
|
|
5
|
+
export * from "./models/errors";
|
|
5
6
|
export { CognitoSyncServiceException } from "./models/CognitoSyncServiceException";
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export const BulkPublishStatus = {
|
|
2
|
+
FAILED: "FAILED",
|
|
3
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
4
|
+
NOT_STARTED: "NOT_STARTED",
|
|
5
|
+
SUCCEEDED: "SUCCEEDED",
|
|
6
|
+
};
|
|
7
|
+
export const StreamingStatus = {
|
|
8
|
+
DISABLED: "DISABLED",
|
|
9
|
+
ENABLED: "ENABLED",
|
|
10
|
+
};
|
|
11
|
+
export const Platform = {
|
|
12
|
+
ADM: "ADM",
|
|
13
|
+
APNS: "APNS",
|
|
14
|
+
APNS_SANDBOX: "APNS_SANDBOX",
|
|
15
|
+
GCM: "GCM",
|
|
16
|
+
};
|
|
17
|
+
export const Operation = {
|
|
18
|
+
remove: "remove",
|
|
19
|
+
replace: "replace",
|
|
20
|
+
};
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
import { CognitoSyncServiceException as __BaseException } from "./CognitoSyncServiceException";
|
|
2
|
+
export class AlreadyStreamedException extends __BaseException {
|
|
3
|
+
name = "AlreadyStreamedException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
constructor(opts) {
|
|
6
|
+
super({
|
|
7
|
+
name: "AlreadyStreamedException",
|
|
8
|
+
$fault: "client",
|
|
9
|
+
...opts,
|
|
10
|
+
});
|
|
11
|
+
Object.setPrototypeOf(this, AlreadyStreamedException.prototype);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export class DuplicateRequestException extends __BaseException {
|
|
15
|
+
name = "DuplicateRequestException";
|
|
16
|
+
$fault = "client";
|
|
17
|
+
constructor(opts) {
|
|
18
|
+
super({
|
|
19
|
+
name: "DuplicateRequestException",
|
|
20
|
+
$fault: "client",
|
|
21
|
+
...opts,
|
|
22
|
+
});
|
|
23
|
+
Object.setPrototypeOf(this, DuplicateRequestException.prototype);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
export class InternalErrorException extends __BaseException {
|
|
27
|
+
name = "InternalErrorException";
|
|
28
|
+
$fault = "server";
|
|
29
|
+
constructor(opts) {
|
|
30
|
+
super({
|
|
31
|
+
name: "InternalErrorException",
|
|
32
|
+
$fault: "server",
|
|
33
|
+
...opts,
|
|
34
|
+
});
|
|
35
|
+
Object.setPrototypeOf(this, InternalErrorException.prototype);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
export class InvalidParameterException extends __BaseException {
|
|
39
|
+
name = "InvalidParameterException";
|
|
40
|
+
$fault = "client";
|
|
41
|
+
constructor(opts) {
|
|
42
|
+
super({
|
|
43
|
+
name: "InvalidParameterException",
|
|
44
|
+
$fault: "client",
|
|
45
|
+
...opts,
|
|
46
|
+
});
|
|
47
|
+
Object.setPrototypeOf(this, InvalidParameterException.prototype);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
export class NotAuthorizedException extends __BaseException {
|
|
51
|
+
name = "NotAuthorizedException";
|
|
52
|
+
$fault = "client";
|
|
53
|
+
constructor(opts) {
|
|
54
|
+
super({
|
|
55
|
+
name: "NotAuthorizedException",
|
|
56
|
+
$fault: "client",
|
|
57
|
+
...opts,
|
|
58
|
+
});
|
|
59
|
+
Object.setPrototypeOf(this, NotAuthorizedException.prototype);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
63
|
+
name = "ResourceNotFoundException";
|
|
64
|
+
$fault = "client";
|
|
65
|
+
constructor(opts) {
|
|
66
|
+
super({
|
|
67
|
+
name: "ResourceNotFoundException",
|
|
68
|
+
$fault: "client",
|
|
69
|
+
...opts,
|
|
70
|
+
});
|
|
71
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
export class ResourceConflictException extends __BaseException {
|
|
75
|
+
name = "ResourceConflictException";
|
|
76
|
+
$fault = "client";
|
|
77
|
+
constructor(opts) {
|
|
78
|
+
super({
|
|
79
|
+
name: "ResourceConflictException",
|
|
80
|
+
$fault: "client",
|
|
81
|
+
...opts,
|
|
82
|
+
});
|
|
83
|
+
Object.setPrototypeOf(this, ResourceConflictException.prototype);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
export class TooManyRequestsException extends __BaseException {
|
|
87
|
+
name = "TooManyRequestsException";
|
|
88
|
+
$fault = "client";
|
|
89
|
+
constructor(opts) {
|
|
90
|
+
super({
|
|
91
|
+
name: "TooManyRequestsException",
|
|
92
|
+
$fault: "client",
|
|
93
|
+
...opts,
|
|
94
|
+
});
|
|
95
|
+
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
export class InvalidConfigurationException extends __BaseException {
|
|
99
|
+
name = "InvalidConfigurationException";
|
|
100
|
+
$fault = "client";
|
|
101
|
+
constructor(opts) {
|
|
102
|
+
super({
|
|
103
|
+
name: "InvalidConfigurationException",
|
|
104
|
+
$fault: "client",
|
|
105
|
+
...opts,
|
|
106
|
+
});
|
|
107
|
+
Object.setPrototypeOf(this, InvalidConfigurationException.prototype);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
export class ConcurrentModificationException extends __BaseException {
|
|
111
|
+
name = "ConcurrentModificationException";
|
|
112
|
+
$fault = "client";
|
|
113
|
+
constructor(opts) {
|
|
114
|
+
super({
|
|
115
|
+
name: "ConcurrentModificationException",
|
|
116
|
+
$fault: "client",
|
|
117
|
+
...opts,
|
|
118
|
+
});
|
|
119
|
+
Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
export class InvalidLambdaFunctionOutputException extends __BaseException {
|
|
123
|
+
name = "InvalidLambdaFunctionOutputException";
|
|
124
|
+
$fault = "client";
|
|
125
|
+
constructor(opts) {
|
|
126
|
+
super({
|
|
127
|
+
name: "InvalidLambdaFunctionOutputException",
|
|
128
|
+
$fault: "client",
|
|
129
|
+
...opts,
|
|
130
|
+
});
|
|
131
|
+
Object.setPrototypeOf(this, InvalidLambdaFunctionOutputException.prototype);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
export class LambdaThrottledException extends __BaseException {
|
|
135
|
+
name = "LambdaThrottledException";
|
|
136
|
+
$fault = "client";
|
|
137
|
+
constructor(opts) {
|
|
138
|
+
super({
|
|
139
|
+
name: "LambdaThrottledException",
|
|
140
|
+
$fault: "client",
|
|
141
|
+
...opts,
|
|
142
|
+
});
|
|
143
|
+
Object.setPrototypeOf(this, LambdaThrottledException.prototype);
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
export class LimitExceededException extends __BaseException {
|
|
147
|
+
name = "LimitExceededException";
|
|
148
|
+
$fault = "client";
|
|
149
|
+
constructor(opts) {
|
|
150
|
+
super({
|
|
151
|
+
name: "LimitExceededException",
|
|
152
|
+
$fault: "client",
|
|
153
|
+
...opts,
|
|
154
|
+
});
|
|
155
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
156
|
+
}
|
|
157
|
+
}
|
|
@@ -1,177 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export class AlreadyStreamedException extends __BaseException {
|
|
3
|
-
name = "AlreadyStreamedException";
|
|
4
|
-
$fault = "client";
|
|
5
|
-
constructor(opts) {
|
|
6
|
-
super({
|
|
7
|
-
name: "AlreadyStreamedException",
|
|
8
|
-
$fault: "client",
|
|
9
|
-
...opts,
|
|
10
|
-
});
|
|
11
|
-
Object.setPrototypeOf(this, AlreadyStreamedException.prototype);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
export class DuplicateRequestException extends __BaseException {
|
|
15
|
-
name = "DuplicateRequestException";
|
|
16
|
-
$fault = "client";
|
|
17
|
-
constructor(opts) {
|
|
18
|
-
super({
|
|
19
|
-
name: "DuplicateRequestException",
|
|
20
|
-
$fault: "client",
|
|
21
|
-
...opts,
|
|
22
|
-
});
|
|
23
|
-
Object.setPrototypeOf(this, DuplicateRequestException.prototype);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
export class InternalErrorException extends __BaseException {
|
|
27
|
-
name = "InternalErrorException";
|
|
28
|
-
$fault = "server";
|
|
29
|
-
constructor(opts) {
|
|
30
|
-
super({
|
|
31
|
-
name: "InternalErrorException",
|
|
32
|
-
$fault: "server",
|
|
33
|
-
...opts,
|
|
34
|
-
});
|
|
35
|
-
Object.setPrototypeOf(this, InternalErrorException.prototype);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
export class InvalidParameterException extends __BaseException {
|
|
39
|
-
name = "InvalidParameterException";
|
|
40
|
-
$fault = "client";
|
|
41
|
-
constructor(opts) {
|
|
42
|
-
super({
|
|
43
|
-
name: "InvalidParameterException",
|
|
44
|
-
$fault: "client",
|
|
45
|
-
...opts,
|
|
46
|
-
});
|
|
47
|
-
Object.setPrototypeOf(this, InvalidParameterException.prototype);
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
export class NotAuthorizedException extends __BaseException {
|
|
51
|
-
name = "NotAuthorizedException";
|
|
52
|
-
$fault = "client";
|
|
53
|
-
constructor(opts) {
|
|
54
|
-
super({
|
|
55
|
-
name: "NotAuthorizedException",
|
|
56
|
-
$fault: "client",
|
|
57
|
-
...opts,
|
|
58
|
-
});
|
|
59
|
-
Object.setPrototypeOf(this, NotAuthorizedException.prototype);
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
63
|
-
name = "ResourceNotFoundException";
|
|
64
|
-
$fault = "client";
|
|
65
|
-
constructor(opts) {
|
|
66
|
-
super({
|
|
67
|
-
name: "ResourceNotFoundException",
|
|
68
|
-
$fault: "client",
|
|
69
|
-
...opts,
|
|
70
|
-
});
|
|
71
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
export class ResourceConflictException extends __BaseException {
|
|
75
|
-
name = "ResourceConflictException";
|
|
76
|
-
$fault = "client";
|
|
77
|
-
constructor(opts) {
|
|
78
|
-
super({
|
|
79
|
-
name: "ResourceConflictException",
|
|
80
|
-
$fault: "client",
|
|
81
|
-
...opts,
|
|
82
|
-
});
|
|
83
|
-
Object.setPrototypeOf(this, ResourceConflictException.prototype);
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
export class TooManyRequestsException extends __BaseException {
|
|
87
|
-
name = "TooManyRequestsException";
|
|
88
|
-
$fault = "client";
|
|
89
|
-
constructor(opts) {
|
|
90
|
-
super({
|
|
91
|
-
name: "TooManyRequestsException",
|
|
92
|
-
$fault: "client",
|
|
93
|
-
...opts,
|
|
94
|
-
});
|
|
95
|
-
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
export const BulkPublishStatus = {
|
|
99
|
-
FAILED: "FAILED",
|
|
100
|
-
IN_PROGRESS: "IN_PROGRESS",
|
|
101
|
-
NOT_STARTED: "NOT_STARTED",
|
|
102
|
-
SUCCEEDED: "SUCCEEDED",
|
|
103
|
-
};
|
|
104
|
-
export const StreamingStatus = {
|
|
105
|
-
DISABLED: "DISABLED",
|
|
106
|
-
ENABLED: "ENABLED",
|
|
107
|
-
};
|
|
108
|
-
export class InvalidConfigurationException extends __BaseException {
|
|
109
|
-
name = "InvalidConfigurationException";
|
|
110
|
-
$fault = "client";
|
|
111
|
-
constructor(opts) {
|
|
112
|
-
super({
|
|
113
|
-
name: "InvalidConfigurationException",
|
|
114
|
-
$fault: "client",
|
|
115
|
-
...opts,
|
|
116
|
-
});
|
|
117
|
-
Object.setPrototypeOf(this, InvalidConfigurationException.prototype);
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
export const Platform = {
|
|
121
|
-
ADM: "ADM",
|
|
122
|
-
APNS: "APNS",
|
|
123
|
-
APNS_SANDBOX: "APNS_SANDBOX",
|
|
124
|
-
GCM: "GCM",
|
|
125
|
-
};
|
|
126
|
-
export class ConcurrentModificationException extends __BaseException {
|
|
127
|
-
name = "ConcurrentModificationException";
|
|
128
|
-
$fault = "client";
|
|
129
|
-
constructor(opts) {
|
|
130
|
-
super({
|
|
131
|
-
name: "ConcurrentModificationException",
|
|
132
|
-
$fault: "client",
|
|
133
|
-
...opts,
|
|
134
|
-
});
|
|
135
|
-
Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
export class InvalidLambdaFunctionOutputException extends __BaseException {
|
|
139
|
-
name = "InvalidLambdaFunctionOutputException";
|
|
140
|
-
$fault = "client";
|
|
141
|
-
constructor(opts) {
|
|
142
|
-
super({
|
|
143
|
-
name: "InvalidLambdaFunctionOutputException",
|
|
144
|
-
$fault: "client",
|
|
145
|
-
...opts,
|
|
146
|
-
});
|
|
147
|
-
Object.setPrototypeOf(this, InvalidLambdaFunctionOutputException.prototype);
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
export class LambdaThrottledException extends __BaseException {
|
|
151
|
-
name = "LambdaThrottledException";
|
|
152
|
-
$fault = "client";
|
|
153
|
-
constructor(opts) {
|
|
154
|
-
super({
|
|
155
|
-
name: "LambdaThrottledException",
|
|
156
|
-
$fault: "client",
|
|
157
|
-
...opts,
|
|
158
|
-
});
|
|
159
|
-
Object.setPrototypeOf(this, LambdaThrottledException.prototype);
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
export class LimitExceededException extends __BaseException {
|
|
163
|
-
name = "LimitExceededException";
|
|
164
|
-
$fault = "client";
|
|
165
|
-
constructor(opts) {
|
|
166
|
-
super({
|
|
167
|
-
name: "LimitExceededException",
|
|
168
|
-
$fault: "client",
|
|
169
|
-
...opts,
|
|
170
|
-
});
|
|
171
|
-
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
export const Operation = {
|
|
175
|
-
remove: "remove",
|
|
176
|
-
replace: "replace",
|
|
177
|
-
};
|
|
1
|
+
export {};
|
|
@@ -131,7 +131,7 @@ const _xaCC = "x-amz-Client-Context";
|
|
|
131
131
|
const n0 = "com.amazonaws.cognitosync";
|
|
132
132
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
133
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/
|
|
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/errors";
|
|
135
135
|
export var AlreadyStreamedException = [
|
|
136
136
|
-3,
|
|
137
137
|
n0,
|
package/dist-types/index.d.ts
CHANGED
|
@@ -21,5 +21,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
21
21
|
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
22
22
|
export type { CognitoSyncExtensionConfiguration } from "./extensionConfiguration";
|
|
23
23
|
export * from "./commands";
|
|
24
|
-
export * from "./models";
|
|
24
|
+
export * from "./models/enums";
|
|
25
|
+
export * from "./models/errors";
|
|
26
|
+
export type * from "./models/models_0";
|
|
25
27
|
export { CognitoSyncServiceException } from "./models/CognitoSyncServiceException";
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const BulkPublishStatus: {
|
|
6
|
+
readonly FAILED: "FAILED";
|
|
7
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
8
|
+
readonly NOT_STARTED: "NOT_STARTED";
|
|
9
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
export type BulkPublishStatus = (typeof BulkPublishStatus)[keyof typeof BulkPublishStatus];
|
|
15
|
+
/**
|
|
16
|
+
* @public
|
|
17
|
+
* @enum
|
|
18
|
+
*/
|
|
19
|
+
export declare const StreamingStatus: {
|
|
20
|
+
readonly DISABLED: "DISABLED";
|
|
21
|
+
readonly ENABLED: "ENABLED";
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
export type StreamingStatus = (typeof StreamingStatus)[keyof typeof StreamingStatus];
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
* @enum
|
|
30
|
+
*/
|
|
31
|
+
export declare const Platform: {
|
|
32
|
+
readonly ADM: "ADM";
|
|
33
|
+
readonly APNS: "APNS";
|
|
34
|
+
readonly APNS_SANDBOX: "APNS_SANDBOX";
|
|
35
|
+
readonly GCM: "GCM";
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* @public
|
|
39
|
+
*/
|
|
40
|
+
export type Platform = (typeof Platform)[keyof typeof Platform];
|
|
41
|
+
/**
|
|
42
|
+
* @public
|
|
43
|
+
* @enum
|
|
44
|
+
*/
|
|
45
|
+
export declare const Operation: {
|
|
46
|
+
readonly remove: "remove";
|
|
47
|
+
readonly replace: "replace";
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* @public
|
|
51
|
+
*/
|
|
52
|
+
export type Operation = (typeof Operation)[keyof typeof Operation];
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { CognitoSyncServiceException as __BaseException } from "./CognitoSyncServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* An exception thrown when a bulk publish operation is requested less than 24 hours after a previous bulk publish operation completed successfully.
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare class AlreadyStreamedException extends __BaseException {
|
|
8
|
+
readonly name: "AlreadyStreamedException";
|
|
9
|
+
readonly $fault: "client";
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
constructor(opts: __ExceptionOptionType<AlreadyStreamedException, __BaseException>);
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* An exception thrown when there is an IN_PROGRESS bulk publish operation for the given identity pool.
|
|
17
|
+
* @public
|
|
18
|
+
*/
|
|
19
|
+
export declare class DuplicateRequestException extends __BaseException {
|
|
20
|
+
readonly name: "DuplicateRequestException";
|
|
21
|
+
readonly $fault: "client";
|
|
22
|
+
/**
|
|
23
|
+
* @internal
|
|
24
|
+
*/
|
|
25
|
+
constructor(opts: __ExceptionOptionType<DuplicateRequestException, __BaseException>);
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Indicates an internal service
|
|
29
|
+
* error.
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
32
|
+
export declare class InternalErrorException extends __BaseException {
|
|
33
|
+
readonly name: "InternalErrorException";
|
|
34
|
+
readonly $fault: "server";
|
|
35
|
+
/**
|
|
36
|
+
* @internal
|
|
37
|
+
*/
|
|
38
|
+
constructor(opts: __ExceptionOptionType<InternalErrorException, __BaseException>);
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Thrown when a request parameter does not comply
|
|
42
|
+
* with the associated constraints.
|
|
43
|
+
* @public
|
|
44
|
+
*/
|
|
45
|
+
export declare class InvalidParameterException extends __BaseException {
|
|
46
|
+
readonly name: "InvalidParameterException";
|
|
47
|
+
readonly $fault: "client";
|
|
48
|
+
/**
|
|
49
|
+
* @internal
|
|
50
|
+
*/
|
|
51
|
+
constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Thrown when a user is not authorized to access the
|
|
55
|
+
* requested resource.
|
|
56
|
+
* @public
|
|
57
|
+
*/
|
|
58
|
+
export declare class NotAuthorizedException extends __BaseException {
|
|
59
|
+
readonly name: "NotAuthorizedException";
|
|
60
|
+
readonly $fault: "client";
|
|
61
|
+
/**
|
|
62
|
+
* @internal
|
|
63
|
+
*/
|
|
64
|
+
constructor(opts: __ExceptionOptionType<NotAuthorizedException, __BaseException>);
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Thrown if the resource doesn't
|
|
68
|
+
* exist.
|
|
69
|
+
* @public
|
|
70
|
+
*/
|
|
71
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
72
|
+
readonly name: "ResourceNotFoundException";
|
|
73
|
+
readonly $fault: "client";
|
|
74
|
+
/**
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
77
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Thrown if an update can't be applied because
|
|
81
|
+
* the resource was changed by another call and this would result in a conflict.
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
export declare class ResourceConflictException extends __BaseException {
|
|
85
|
+
readonly name: "ResourceConflictException";
|
|
86
|
+
readonly $fault: "client";
|
|
87
|
+
/**
|
|
88
|
+
* @internal
|
|
89
|
+
*/
|
|
90
|
+
constructor(opts: __ExceptionOptionType<ResourceConflictException, __BaseException>);
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Thrown if the request is
|
|
94
|
+
* throttled.
|
|
95
|
+
* @public
|
|
96
|
+
*/
|
|
97
|
+
export declare class TooManyRequestsException extends __BaseException {
|
|
98
|
+
readonly name: "TooManyRequestsException";
|
|
99
|
+
readonly $fault: "client";
|
|
100
|
+
/**
|
|
101
|
+
* @internal
|
|
102
|
+
*/
|
|
103
|
+
constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
108
|
+
export declare class InvalidConfigurationException extends __BaseException {
|
|
109
|
+
readonly name: "InvalidConfigurationException";
|
|
110
|
+
readonly $fault: "client";
|
|
111
|
+
/**
|
|
112
|
+
* @internal
|
|
113
|
+
*/
|
|
114
|
+
constructor(opts: __ExceptionOptionType<InvalidConfigurationException, __BaseException>);
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* <p>Thrown if there are parallel requests to modify a resource.</p>
|
|
118
|
+
* @public
|
|
119
|
+
*/
|
|
120
|
+
export declare class ConcurrentModificationException extends __BaseException {
|
|
121
|
+
readonly name: "ConcurrentModificationException";
|
|
122
|
+
readonly $fault: "client";
|
|
123
|
+
/**
|
|
124
|
+
* @internal
|
|
125
|
+
*/
|
|
126
|
+
constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* <p>The AWS Lambda function returned invalid output or an exception.</p>
|
|
130
|
+
* @public
|
|
131
|
+
*/
|
|
132
|
+
export declare class InvalidLambdaFunctionOutputException extends __BaseException {
|
|
133
|
+
readonly name: "InvalidLambdaFunctionOutputException";
|
|
134
|
+
readonly $fault: "client";
|
|
135
|
+
/**
|
|
136
|
+
* @internal
|
|
137
|
+
*/
|
|
138
|
+
constructor(opts: __ExceptionOptionType<InvalidLambdaFunctionOutputException, __BaseException>);
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* <p>AWS Lambda throttled your account, please contact AWS Support</p>
|
|
142
|
+
* @public
|
|
143
|
+
*/
|
|
144
|
+
export declare class LambdaThrottledException extends __BaseException {
|
|
145
|
+
readonly name: "LambdaThrottledException";
|
|
146
|
+
readonly $fault: "client";
|
|
147
|
+
/**
|
|
148
|
+
* @internal
|
|
149
|
+
*/
|
|
150
|
+
constructor(opts: __ExceptionOptionType<LambdaThrottledException, __BaseException>);
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* Thrown when the limit on the number of objects or
|
|
154
|
+
* operations has been exceeded.
|
|
155
|
+
* @public
|
|
156
|
+
*/
|
|
157
|
+
export declare class LimitExceededException extends __BaseException {
|
|
158
|
+
readonly name: "LimitExceededException";
|
|
159
|
+
readonly $fault: "client";
|
|
160
|
+
/**
|
|
161
|
+
* @internal
|
|
162
|
+
*/
|
|
163
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
164
|
+
}
|
|
@@ -1,17 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { CognitoSyncServiceException as __BaseException } from "./CognitoSyncServiceException";
|
|
3
|
-
/**
|
|
4
|
-
* An exception thrown when a bulk publish operation is requested less than 24 hours after a previous bulk publish operation completed successfully.
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export declare class AlreadyStreamedException extends __BaseException {
|
|
8
|
-
readonly name: "AlreadyStreamedException";
|
|
9
|
-
readonly $fault: "client";
|
|
10
|
-
/**
|
|
11
|
-
* @internal
|
|
12
|
-
*/
|
|
13
|
-
constructor(opts: __ExceptionOptionType<AlreadyStreamedException, __BaseException>);
|
|
14
|
-
}
|
|
1
|
+
import { BulkPublishStatus, Operation, Platform, StreamingStatus } from "./enums";
|
|
15
2
|
/**
|
|
16
3
|
* The input for the BulkPublish operation.
|
|
17
4
|
* @public
|
|
@@ -38,70 +25,6 @@ export interface BulkPublishResponse {
|
|
|
38
25
|
*/
|
|
39
26
|
IdentityPoolId?: string | undefined;
|
|
40
27
|
}
|
|
41
|
-
/**
|
|
42
|
-
* An exception thrown when there is an IN_PROGRESS bulk publish operation for the given identity pool.
|
|
43
|
-
* @public
|
|
44
|
-
*/
|
|
45
|
-
export declare class DuplicateRequestException extends __BaseException {
|
|
46
|
-
readonly name: "DuplicateRequestException";
|
|
47
|
-
readonly $fault: "client";
|
|
48
|
-
/**
|
|
49
|
-
* @internal
|
|
50
|
-
*/
|
|
51
|
-
constructor(opts: __ExceptionOptionType<DuplicateRequestException, __BaseException>);
|
|
52
|
-
}
|
|
53
|
-
/**
|
|
54
|
-
* Indicates an internal service
|
|
55
|
-
* error.
|
|
56
|
-
* @public
|
|
57
|
-
*/
|
|
58
|
-
export declare class InternalErrorException extends __BaseException {
|
|
59
|
-
readonly name: "InternalErrorException";
|
|
60
|
-
readonly $fault: "server";
|
|
61
|
-
/**
|
|
62
|
-
* @internal
|
|
63
|
-
*/
|
|
64
|
-
constructor(opts: __ExceptionOptionType<InternalErrorException, __BaseException>);
|
|
65
|
-
}
|
|
66
|
-
/**
|
|
67
|
-
* Thrown when a request parameter does not comply
|
|
68
|
-
* with the associated constraints.
|
|
69
|
-
* @public
|
|
70
|
-
*/
|
|
71
|
-
export declare class InvalidParameterException extends __BaseException {
|
|
72
|
-
readonly name: "InvalidParameterException";
|
|
73
|
-
readonly $fault: "client";
|
|
74
|
-
/**
|
|
75
|
-
* @internal
|
|
76
|
-
*/
|
|
77
|
-
constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
|
|
78
|
-
}
|
|
79
|
-
/**
|
|
80
|
-
* Thrown when a user is not authorized to access the
|
|
81
|
-
* requested resource.
|
|
82
|
-
* @public
|
|
83
|
-
*/
|
|
84
|
-
export declare class NotAuthorizedException extends __BaseException {
|
|
85
|
-
readonly name: "NotAuthorizedException";
|
|
86
|
-
readonly $fault: "client";
|
|
87
|
-
/**
|
|
88
|
-
* @internal
|
|
89
|
-
*/
|
|
90
|
-
constructor(opts: __ExceptionOptionType<NotAuthorizedException, __BaseException>);
|
|
91
|
-
}
|
|
92
|
-
/**
|
|
93
|
-
* Thrown if the resource doesn't
|
|
94
|
-
* exist.
|
|
95
|
-
* @public
|
|
96
|
-
*/
|
|
97
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
98
|
-
readonly name: "ResourceNotFoundException";
|
|
99
|
-
readonly $fault: "client";
|
|
100
|
-
/**
|
|
101
|
-
* @internal
|
|
102
|
-
*/
|
|
103
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
104
|
-
}
|
|
105
28
|
/**
|
|
106
29
|
* A request to delete the specific
|
|
107
30
|
* dataset.
|
|
@@ -198,32 +121,6 @@ export interface DeleteDatasetResponse {
|
|
|
198
121
|
*/
|
|
199
122
|
Dataset?: Dataset | undefined;
|
|
200
123
|
}
|
|
201
|
-
/**
|
|
202
|
-
* Thrown if an update can't be applied because
|
|
203
|
-
* the resource was changed by another call and this would result in a conflict.
|
|
204
|
-
* @public
|
|
205
|
-
*/
|
|
206
|
-
export declare class ResourceConflictException extends __BaseException {
|
|
207
|
-
readonly name: "ResourceConflictException";
|
|
208
|
-
readonly $fault: "client";
|
|
209
|
-
/**
|
|
210
|
-
* @internal
|
|
211
|
-
*/
|
|
212
|
-
constructor(opts: __ExceptionOptionType<ResourceConflictException, __BaseException>);
|
|
213
|
-
}
|
|
214
|
-
/**
|
|
215
|
-
* Thrown if the request is
|
|
216
|
-
* throttled.
|
|
217
|
-
* @public
|
|
218
|
-
*/
|
|
219
|
-
export declare class TooManyRequestsException extends __BaseException {
|
|
220
|
-
readonly name: "TooManyRequestsException";
|
|
221
|
-
readonly $fault: "client";
|
|
222
|
-
/**
|
|
223
|
-
* @internal
|
|
224
|
-
*/
|
|
225
|
-
constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
|
|
226
|
-
}
|
|
227
124
|
/**
|
|
228
125
|
* A request for meta data about a dataset (creation
|
|
229
126
|
* date, number of records, size) by owner and dataset name.
|
|
@@ -412,20 +309,6 @@ export interface GetBulkPublishDetailsRequest {
|
|
|
412
309
|
*/
|
|
413
310
|
IdentityPoolId: string | undefined;
|
|
414
311
|
}
|
|
415
|
-
/**
|
|
416
|
-
* @public
|
|
417
|
-
* @enum
|
|
418
|
-
*/
|
|
419
|
-
export declare const BulkPublishStatus: {
|
|
420
|
-
readonly FAILED: "FAILED";
|
|
421
|
-
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
422
|
-
readonly NOT_STARTED: "NOT_STARTED";
|
|
423
|
-
readonly SUCCEEDED: "SUCCEEDED";
|
|
424
|
-
};
|
|
425
|
-
/**
|
|
426
|
-
* @public
|
|
427
|
-
*/
|
|
428
|
-
export type BulkPublishStatus = (typeof BulkPublishStatus)[keyof typeof BulkPublishStatus];
|
|
429
312
|
/**
|
|
430
313
|
* The output for the GetBulkPublishDetails operation.
|
|
431
314
|
* @public
|
|
@@ -497,18 +380,6 @@ export interface GetIdentityPoolConfigurationRequest {
|
|
|
497
380
|
*/
|
|
498
381
|
IdentityPoolId: string | undefined;
|
|
499
382
|
}
|
|
500
|
-
/**
|
|
501
|
-
* @public
|
|
502
|
-
* @enum
|
|
503
|
-
*/
|
|
504
|
-
export declare const StreamingStatus: {
|
|
505
|
-
readonly DISABLED: "DISABLED";
|
|
506
|
-
readonly ENABLED: "ENABLED";
|
|
507
|
-
};
|
|
508
|
-
/**
|
|
509
|
-
* @public
|
|
510
|
-
*/
|
|
511
|
-
export type StreamingStatus = (typeof StreamingStatus)[keyof typeof StreamingStatus];
|
|
512
383
|
/**
|
|
513
384
|
* Configuration options for configure Cognito streams.
|
|
514
385
|
* @public
|
|
@@ -824,31 +695,6 @@ export interface ListRecordsResponse {
|
|
|
824
695
|
*/
|
|
825
696
|
SyncSessionToken?: string | undefined;
|
|
826
697
|
}
|
|
827
|
-
/**
|
|
828
|
-
* @public
|
|
829
|
-
*/
|
|
830
|
-
export declare class InvalidConfigurationException extends __BaseException {
|
|
831
|
-
readonly name: "InvalidConfigurationException";
|
|
832
|
-
readonly $fault: "client";
|
|
833
|
-
/**
|
|
834
|
-
* @internal
|
|
835
|
-
*/
|
|
836
|
-
constructor(opts: __ExceptionOptionType<InvalidConfigurationException, __BaseException>);
|
|
837
|
-
}
|
|
838
|
-
/**
|
|
839
|
-
* @public
|
|
840
|
-
* @enum
|
|
841
|
-
*/
|
|
842
|
-
export declare const Platform: {
|
|
843
|
-
readonly ADM: "ADM";
|
|
844
|
-
readonly APNS: "APNS";
|
|
845
|
-
readonly APNS_SANDBOX: "APNS_SANDBOX";
|
|
846
|
-
readonly GCM: "GCM";
|
|
847
|
-
};
|
|
848
|
-
/**
|
|
849
|
-
* @public
|
|
850
|
-
*/
|
|
851
|
-
export type Platform = (typeof Platform)[keyof typeof Platform];
|
|
852
698
|
/**
|
|
853
699
|
* <p>A request to RegisterDevice.</p>
|
|
854
700
|
* @public
|
|
@@ -903,18 +749,6 @@ export interface SetCognitoEventsRequest {
|
|
|
903
749
|
*/
|
|
904
750
|
Events: Record<string, string> | undefined;
|
|
905
751
|
}
|
|
906
|
-
/**
|
|
907
|
-
* <p>Thrown if there are parallel requests to modify a resource.</p>
|
|
908
|
-
* @public
|
|
909
|
-
*/
|
|
910
|
-
export declare class ConcurrentModificationException extends __BaseException {
|
|
911
|
-
readonly name: "ConcurrentModificationException";
|
|
912
|
-
readonly $fault: "client";
|
|
913
|
-
/**
|
|
914
|
-
* @internal
|
|
915
|
-
*/
|
|
916
|
-
constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
|
|
917
|
-
}
|
|
918
752
|
/**
|
|
919
753
|
* <p>The input for the SetIdentityPoolConfiguration operation.</p>
|
|
920
754
|
* @public
|
|
@@ -1025,55 +859,6 @@ export interface UnsubscribeFromDatasetRequest {
|
|
|
1025
859
|
*/
|
|
1026
860
|
export interface UnsubscribeFromDatasetResponse {
|
|
1027
861
|
}
|
|
1028
|
-
/**
|
|
1029
|
-
* <p>The AWS Lambda function returned invalid output or an exception.</p>
|
|
1030
|
-
* @public
|
|
1031
|
-
*/
|
|
1032
|
-
export declare class InvalidLambdaFunctionOutputException extends __BaseException {
|
|
1033
|
-
readonly name: "InvalidLambdaFunctionOutputException";
|
|
1034
|
-
readonly $fault: "client";
|
|
1035
|
-
/**
|
|
1036
|
-
* @internal
|
|
1037
|
-
*/
|
|
1038
|
-
constructor(opts: __ExceptionOptionType<InvalidLambdaFunctionOutputException, __BaseException>);
|
|
1039
|
-
}
|
|
1040
|
-
/**
|
|
1041
|
-
* <p>AWS Lambda throttled your account, please contact AWS Support</p>
|
|
1042
|
-
* @public
|
|
1043
|
-
*/
|
|
1044
|
-
export declare class LambdaThrottledException extends __BaseException {
|
|
1045
|
-
readonly name: "LambdaThrottledException";
|
|
1046
|
-
readonly $fault: "client";
|
|
1047
|
-
/**
|
|
1048
|
-
* @internal
|
|
1049
|
-
*/
|
|
1050
|
-
constructor(opts: __ExceptionOptionType<LambdaThrottledException, __BaseException>);
|
|
1051
|
-
}
|
|
1052
|
-
/**
|
|
1053
|
-
* Thrown when the limit on the number of objects or
|
|
1054
|
-
* operations has been exceeded.
|
|
1055
|
-
* @public
|
|
1056
|
-
*/
|
|
1057
|
-
export declare class LimitExceededException extends __BaseException {
|
|
1058
|
-
readonly name: "LimitExceededException";
|
|
1059
|
-
readonly $fault: "client";
|
|
1060
|
-
/**
|
|
1061
|
-
* @internal
|
|
1062
|
-
*/
|
|
1063
|
-
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
1064
|
-
}
|
|
1065
|
-
/**
|
|
1066
|
-
* @public
|
|
1067
|
-
* @enum
|
|
1068
|
-
*/
|
|
1069
|
-
export declare const Operation: {
|
|
1070
|
-
readonly remove: "remove";
|
|
1071
|
-
readonly replace: "replace";
|
|
1072
|
-
};
|
|
1073
|
-
/**
|
|
1074
|
-
* @public
|
|
1075
|
-
*/
|
|
1076
|
-
export type Operation = (typeof Operation)[keyof typeof Operation];
|
|
1077
862
|
/**
|
|
1078
863
|
* An update operation for a record.
|
|
1079
864
|
* @public
|
|
@@ -4,5 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
4
4
|
export { RuntimeExtension } from "./runtimeExtensions";
|
|
5
5
|
export { CognitoSyncExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
|
-
export * from "./models";
|
|
7
|
+
export * from "./models/enums";
|
|
8
|
+
export * from "./models/errors";
|
|
9
|
+
export * from "./models/models_0";
|
|
8
10
|
export { CognitoSyncServiceException } from "./models/CognitoSyncServiceException";
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare const BulkPublishStatus: {
|
|
2
|
+
readonly FAILED: "FAILED";
|
|
3
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
4
|
+
readonly NOT_STARTED: "NOT_STARTED";
|
|
5
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
6
|
+
};
|
|
7
|
+
export type BulkPublishStatus =
|
|
8
|
+
(typeof BulkPublishStatus)[keyof typeof BulkPublishStatus];
|
|
9
|
+
export declare const StreamingStatus: {
|
|
10
|
+
readonly DISABLED: "DISABLED";
|
|
11
|
+
readonly ENABLED: "ENABLED";
|
|
12
|
+
};
|
|
13
|
+
export type StreamingStatus =
|
|
14
|
+
(typeof StreamingStatus)[keyof typeof StreamingStatus];
|
|
15
|
+
export declare const Platform: {
|
|
16
|
+
readonly ADM: "ADM";
|
|
17
|
+
readonly APNS: "APNS";
|
|
18
|
+
readonly APNS_SANDBOX: "APNS_SANDBOX";
|
|
19
|
+
readonly GCM: "GCM";
|
|
20
|
+
};
|
|
21
|
+
export type Platform = (typeof Platform)[keyof typeof Platform];
|
|
22
|
+
export declare const Operation: {
|
|
23
|
+
readonly remove: "remove";
|
|
24
|
+
readonly replace: "replace";
|
|
25
|
+
};
|
|
26
|
+
export type Operation = (typeof Operation)[keyof typeof Operation];
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { CognitoSyncServiceException as __BaseException } from "./CognitoSyncServiceException";
|
|
3
|
+
export declare class AlreadyStreamedException extends __BaseException {
|
|
4
|
+
readonly name: "AlreadyStreamedException";
|
|
5
|
+
readonly $fault: "client";
|
|
6
|
+
constructor(
|
|
7
|
+
opts: __ExceptionOptionType<AlreadyStreamedException, __BaseException>
|
|
8
|
+
);
|
|
9
|
+
}
|
|
10
|
+
export declare class DuplicateRequestException extends __BaseException {
|
|
11
|
+
readonly name: "DuplicateRequestException";
|
|
12
|
+
readonly $fault: "client";
|
|
13
|
+
constructor(
|
|
14
|
+
opts: __ExceptionOptionType<DuplicateRequestException, __BaseException>
|
|
15
|
+
);
|
|
16
|
+
}
|
|
17
|
+
export declare class InternalErrorException extends __BaseException {
|
|
18
|
+
readonly name: "InternalErrorException";
|
|
19
|
+
readonly $fault: "server";
|
|
20
|
+
constructor(
|
|
21
|
+
opts: __ExceptionOptionType<InternalErrorException, __BaseException>
|
|
22
|
+
);
|
|
23
|
+
}
|
|
24
|
+
export declare class InvalidParameterException extends __BaseException {
|
|
25
|
+
readonly name: "InvalidParameterException";
|
|
26
|
+
readonly $fault: "client";
|
|
27
|
+
constructor(
|
|
28
|
+
opts: __ExceptionOptionType<InvalidParameterException, __BaseException>
|
|
29
|
+
);
|
|
30
|
+
}
|
|
31
|
+
export declare class NotAuthorizedException extends __BaseException {
|
|
32
|
+
readonly name: "NotAuthorizedException";
|
|
33
|
+
readonly $fault: "client";
|
|
34
|
+
constructor(
|
|
35
|
+
opts: __ExceptionOptionType<NotAuthorizedException, __BaseException>
|
|
36
|
+
);
|
|
37
|
+
}
|
|
38
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
39
|
+
readonly name: "ResourceNotFoundException";
|
|
40
|
+
readonly $fault: "client";
|
|
41
|
+
constructor(
|
|
42
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
43
|
+
);
|
|
44
|
+
}
|
|
45
|
+
export declare class ResourceConflictException extends __BaseException {
|
|
46
|
+
readonly name: "ResourceConflictException";
|
|
47
|
+
readonly $fault: "client";
|
|
48
|
+
constructor(
|
|
49
|
+
opts: __ExceptionOptionType<ResourceConflictException, __BaseException>
|
|
50
|
+
);
|
|
51
|
+
}
|
|
52
|
+
export declare class TooManyRequestsException extends __BaseException {
|
|
53
|
+
readonly name: "TooManyRequestsException";
|
|
54
|
+
readonly $fault: "client";
|
|
55
|
+
constructor(
|
|
56
|
+
opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
|
|
57
|
+
);
|
|
58
|
+
}
|
|
59
|
+
export declare class InvalidConfigurationException extends __BaseException {
|
|
60
|
+
readonly name: "InvalidConfigurationException";
|
|
61
|
+
readonly $fault: "client";
|
|
62
|
+
constructor(
|
|
63
|
+
opts: __ExceptionOptionType<InvalidConfigurationException, __BaseException>
|
|
64
|
+
);
|
|
65
|
+
}
|
|
66
|
+
export declare class ConcurrentModificationException extends __BaseException {
|
|
67
|
+
readonly name: "ConcurrentModificationException";
|
|
68
|
+
readonly $fault: "client";
|
|
69
|
+
constructor(
|
|
70
|
+
opts: __ExceptionOptionType<
|
|
71
|
+
ConcurrentModificationException,
|
|
72
|
+
__BaseException
|
|
73
|
+
>
|
|
74
|
+
);
|
|
75
|
+
}
|
|
76
|
+
export declare class InvalidLambdaFunctionOutputException extends __BaseException {
|
|
77
|
+
readonly name: "InvalidLambdaFunctionOutputException";
|
|
78
|
+
readonly $fault: "client";
|
|
79
|
+
constructor(
|
|
80
|
+
opts: __ExceptionOptionType<
|
|
81
|
+
InvalidLambdaFunctionOutputException,
|
|
82
|
+
__BaseException
|
|
83
|
+
>
|
|
84
|
+
);
|
|
85
|
+
}
|
|
86
|
+
export declare class LambdaThrottledException extends __BaseException {
|
|
87
|
+
readonly name: "LambdaThrottledException";
|
|
88
|
+
readonly $fault: "client";
|
|
89
|
+
constructor(
|
|
90
|
+
opts: __ExceptionOptionType<LambdaThrottledException, __BaseException>
|
|
91
|
+
);
|
|
92
|
+
}
|
|
93
|
+
export declare class LimitExceededException extends __BaseException {
|
|
94
|
+
readonly name: "LimitExceededException";
|
|
95
|
+
readonly $fault: "client";
|
|
96
|
+
constructor(
|
|
97
|
+
opts: __ExceptionOptionType<LimitExceededException, __BaseException>
|
|
98
|
+
);
|
|
99
|
+
}
|
|
@@ -1,53 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
opts: __ExceptionOptionType<AlreadyStreamedException, __BaseException>
|
|
8
|
-
);
|
|
9
|
-
}
|
|
1
|
+
import {
|
|
2
|
+
BulkPublishStatus,
|
|
3
|
+
Operation,
|
|
4
|
+
Platform,
|
|
5
|
+
StreamingStatus,
|
|
6
|
+
} from "./enums";
|
|
10
7
|
export interface BulkPublishRequest {
|
|
11
8
|
IdentityPoolId: string | undefined;
|
|
12
9
|
}
|
|
13
10
|
export interface BulkPublishResponse {
|
|
14
11
|
IdentityPoolId?: string | undefined;
|
|
15
12
|
}
|
|
16
|
-
export declare class DuplicateRequestException extends __BaseException {
|
|
17
|
-
readonly name: "DuplicateRequestException";
|
|
18
|
-
readonly $fault: "client";
|
|
19
|
-
constructor(
|
|
20
|
-
opts: __ExceptionOptionType<DuplicateRequestException, __BaseException>
|
|
21
|
-
);
|
|
22
|
-
}
|
|
23
|
-
export declare class InternalErrorException extends __BaseException {
|
|
24
|
-
readonly name: "InternalErrorException";
|
|
25
|
-
readonly $fault: "server";
|
|
26
|
-
constructor(
|
|
27
|
-
opts: __ExceptionOptionType<InternalErrorException, __BaseException>
|
|
28
|
-
);
|
|
29
|
-
}
|
|
30
|
-
export declare class InvalidParameterException extends __BaseException {
|
|
31
|
-
readonly name: "InvalidParameterException";
|
|
32
|
-
readonly $fault: "client";
|
|
33
|
-
constructor(
|
|
34
|
-
opts: __ExceptionOptionType<InvalidParameterException, __BaseException>
|
|
35
|
-
);
|
|
36
|
-
}
|
|
37
|
-
export declare class NotAuthorizedException extends __BaseException {
|
|
38
|
-
readonly name: "NotAuthorizedException";
|
|
39
|
-
readonly $fault: "client";
|
|
40
|
-
constructor(
|
|
41
|
-
opts: __ExceptionOptionType<NotAuthorizedException, __BaseException>
|
|
42
|
-
);
|
|
43
|
-
}
|
|
44
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
45
|
-
readonly name: "ResourceNotFoundException";
|
|
46
|
-
readonly $fault: "client";
|
|
47
|
-
constructor(
|
|
48
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
49
|
-
);
|
|
50
|
-
}
|
|
51
13
|
export interface DeleteDatasetRequest {
|
|
52
14
|
IdentityPoolId: string | undefined;
|
|
53
15
|
IdentityId: string | undefined;
|
|
@@ -65,20 +27,6 @@ export interface Dataset {
|
|
|
65
27
|
export interface DeleteDatasetResponse {
|
|
66
28
|
Dataset?: Dataset | undefined;
|
|
67
29
|
}
|
|
68
|
-
export declare class ResourceConflictException extends __BaseException {
|
|
69
|
-
readonly name: "ResourceConflictException";
|
|
70
|
-
readonly $fault: "client";
|
|
71
|
-
constructor(
|
|
72
|
-
opts: __ExceptionOptionType<ResourceConflictException, __BaseException>
|
|
73
|
-
);
|
|
74
|
-
}
|
|
75
|
-
export declare class TooManyRequestsException extends __BaseException {
|
|
76
|
-
readonly name: "TooManyRequestsException";
|
|
77
|
-
readonly $fault: "client";
|
|
78
|
-
constructor(
|
|
79
|
-
opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
|
|
80
|
-
);
|
|
81
|
-
}
|
|
82
30
|
export interface DescribeDatasetRequest {
|
|
83
31
|
IdentityPoolId: string | undefined;
|
|
84
32
|
IdentityId: string | undefined;
|
|
@@ -116,14 +64,6 @@ export interface DescribeIdentityUsageResponse {
|
|
|
116
64
|
export interface GetBulkPublishDetailsRequest {
|
|
117
65
|
IdentityPoolId: string | undefined;
|
|
118
66
|
}
|
|
119
|
-
export declare const BulkPublishStatus: {
|
|
120
|
-
readonly FAILED: "FAILED";
|
|
121
|
-
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
122
|
-
readonly NOT_STARTED: "NOT_STARTED";
|
|
123
|
-
readonly SUCCEEDED: "SUCCEEDED";
|
|
124
|
-
};
|
|
125
|
-
export type BulkPublishStatus =
|
|
126
|
-
(typeof BulkPublishStatus)[keyof typeof BulkPublishStatus];
|
|
127
67
|
export interface GetBulkPublishDetailsResponse {
|
|
128
68
|
IdentityPoolId?: string | undefined;
|
|
129
69
|
BulkPublishStartTime?: Date | undefined;
|
|
@@ -140,12 +80,6 @@ export interface GetCognitoEventsResponse {
|
|
|
140
80
|
export interface GetIdentityPoolConfigurationRequest {
|
|
141
81
|
IdentityPoolId: string | undefined;
|
|
142
82
|
}
|
|
143
|
-
export declare const StreamingStatus: {
|
|
144
|
-
readonly DISABLED: "DISABLED";
|
|
145
|
-
readonly ENABLED: "ENABLED";
|
|
146
|
-
};
|
|
147
|
-
export type StreamingStatus =
|
|
148
|
-
(typeof StreamingStatus)[keyof typeof StreamingStatus];
|
|
149
83
|
export interface CognitoStreams {
|
|
150
84
|
StreamName?: string | undefined;
|
|
151
85
|
RoleArn?: string | undefined;
|
|
@@ -209,20 +143,6 @@ export interface ListRecordsResponse {
|
|
|
209
143
|
DatasetDeletedAfterRequestedSyncCount?: boolean | undefined;
|
|
210
144
|
SyncSessionToken?: string | undefined;
|
|
211
145
|
}
|
|
212
|
-
export declare class InvalidConfigurationException extends __BaseException {
|
|
213
|
-
readonly name: "InvalidConfigurationException";
|
|
214
|
-
readonly $fault: "client";
|
|
215
|
-
constructor(
|
|
216
|
-
opts: __ExceptionOptionType<InvalidConfigurationException, __BaseException>
|
|
217
|
-
);
|
|
218
|
-
}
|
|
219
|
-
export declare const Platform: {
|
|
220
|
-
readonly ADM: "ADM";
|
|
221
|
-
readonly APNS: "APNS";
|
|
222
|
-
readonly APNS_SANDBOX: "APNS_SANDBOX";
|
|
223
|
-
readonly GCM: "GCM";
|
|
224
|
-
};
|
|
225
|
-
export type Platform = (typeof Platform)[keyof typeof Platform];
|
|
226
146
|
export interface RegisterDeviceRequest {
|
|
227
147
|
IdentityPoolId: string | undefined;
|
|
228
148
|
IdentityId: string | undefined;
|
|
@@ -236,16 +156,6 @@ export interface SetCognitoEventsRequest {
|
|
|
236
156
|
IdentityPoolId: string | undefined;
|
|
237
157
|
Events: Record<string, string> | undefined;
|
|
238
158
|
}
|
|
239
|
-
export declare class ConcurrentModificationException extends __BaseException {
|
|
240
|
-
readonly name: "ConcurrentModificationException";
|
|
241
|
-
readonly $fault: "client";
|
|
242
|
-
constructor(
|
|
243
|
-
opts: __ExceptionOptionType<
|
|
244
|
-
ConcurrentModificationException,
|
|
245
|
-
__BaseException
|
|
246
|
-
>
|
|
247
|
-
);
|
|
248
|
-
}
|
|
249
159
|
export interface SetIdentityPoolConfigurationRequest {
|
|
250
160
|
IdentityPoolId: string | undefined;
|
|
251
161
|
PushSync?: PushSync | undefined;
|
|
@@ -270,35 +180,6 @@ export interface UnsubscribeFromDatasetRequest {
|
|
|
270
180
|
DeviceId: string | undefined;
|
|
271
181
|
}
|
|
272
182
|
export interface UnsubscribeFromDatasetResponse {}
|
|
273
|
-
export declare class InvalidLambdaFunctionOutputException extends __BaseException {
|
|
274
|
-
readonly name: "InvalidLambdaFunctionOutputException";
|
|
275
|
-
readonly $fault: "client";
|
|
276
|
-
constructor(
|
|
277
|
-
opts: __ExceptionOptionType<
|
|
278
|
-
InvalidLambdaFunctionOutputException,
|
|
279
|
-
__BaseException
|
|
280
|
-
>
|
|
281
|
-
);
|
|
282
|
-
}
|
|
283
|
-
export declare class LambdaThrottledException extends __BaseException {
|
|
284
|
-
readonly name: "LambdaThrottledException";
|
|
285
|
-
readonly $fault: "client";
|
|
286
|
-
constructor(
|
|
287
|
-
opts: __ExceptionOptionType<LambdaThrottledException, __BaseException>
|
|
288
|
-
);
|
|
289
|
-
}
|
|
290
|
-
export declare class LimitExceededException extends __BaseException {
|
|
291
|
-
readonly name: "LimitExceededException";
|
|
292
|
-
readonly $fault: "client";
|
|
293
|
-
constructor(
|
|
294
|
-
opts: __ExceptionOptionType<LimitExceededException, __BaseException>
|
|
295
|
-
);
|
|
296
|
-
}
|
|
297
|
-
export declare const Operation: {
|
|
298
|
-
readonly remove: "remove";
|
|
299
|
-
readonly replace: "replace";
|
|
300
|
-
};
|
|
301
|
-
export type Operation = (typeof Operation)[keyof typeof Operation];
|
|
302
183
|
export interface RecordPatch {
|
|
303
184
|
Op: Operation | undefined;
|
|
304
185
|
Key: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cognito-sync",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cognito Sync Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.935.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-cognito-sync",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.935.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.935.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.930.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.930.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.933.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.935.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.930.0",
|
|
30
30
|
"@aws-sdk/types": "3.930.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.930.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.930.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.935.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
35
|
+
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
37
|
"@smithy/hash-node": "^4.2.5",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.12",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.6",
|
|
43
43
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
44
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
45
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
46
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
47
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
48
48
|
"@smithy/types": "^4.9.0",
|
|
49
49
|
"@smithy/url-parser": "^4.2.5",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.11",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.14",
|
|
55
55
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
56
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
57
|
"@smithy/util-retry": "^4.2.5",
|
package/dist-es/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|