@aws-sdk/client-cognito-sync 3.490.0 → 3.495.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/CognitoSync.js +1 -45
- package/dist-cjs/CognitoSyncClient.js +1 -43
- package/dist-cjs/commands/BulkPublishCommand.js +1 -28
- package/dist-cjs/commands/DeleteDatasetCommand.js +1 -28
- package/dist-cjs/commands/DescribeDatasetCommand.js +1 -28
- package/dist-cjs/commands/DescribeIdentityPoolUsageCommand.js +1 -28
- package/dist-cjs/commands/DescribeIdentityUsageCommand.js +1 -28
- package/dist-cjs/commands/GetBulkPublishDetailsCommand.js +1 -28
- package/dist-cjs/commands/GetCognitoEventsCommand.js +1 -28
- package/dist-cjs/commands/GetIdentityPoolConfigurationCommand.js +1 -28
- package/dist-cjs/commands/ListDatasetsCommand.js +1 -28
- package/dist-cjs/commands/ListIdentityPoolUsageCommand.js +1 -28
- package/dist-cjs/commands/ListRecordsCommand.js +1 -28
- package/dist-cjs/commands/RegisterDeviceCommand.js +1 -28
- package/dist-cjs/commands/SetCognitoEventsCommand.js +1 -28
- package/dist-cjs/commands/SetIdentityPoolConfigurationCommand.js +1 -28
- package/dist-cjs/commands/SubscribeToDatasetCommand.js +1 -28
- package/dist-cjs/commands/UnsubscribeFromDatasetCommand.js +1 -28
- package/dist-cjs/commands/UpdateRecordsCommand.js +1 -28
- package/dist-cjs/commands/index.js +1 -20
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +2080 -10
- package/dist-cjs/models/CognitoSyncServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -193
- package/dist-cjs/protocols/Aws_restJson1.js +1 -1351
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/package.json +40 -40
|
@@ -1,12 +1 @@
|
|
|
1
|
-
|
|
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;
|
|
1
|
+
module.exports = require("../index.js");
|
package/dist-cjs/models/index.js
CHANGED
|
@@ -1,193 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Operation = exports.LimitExceededException = exports.LambdaThrottledException = exports.InvalidLambdaFunctionOutputException = exports.ConcurrentModificationException = exports.Platform = exports.InvalidConfigurationException = exports.StreamingStatus = exports.BulkPublishStatus = 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
|
-
constructor(opts) {
|
|
7
|
-
super({
|
|
8
|
-
name: "AlreadyStreamedException",
|
|
9
|
-
$fault: "client",
|
|
10
|
-
...opts,
|
|
11
|
-
});
|
|
12
|
-
this.name = "AlreadyStreamedException";
|
|
13
|
-
this.$fault = "client";
|
|
14
|
-
Object.setPrototypeOf(this, AlreadyStreamedException.prototype);
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
exports.AlreadyStreamedException = AlreadyStreamedException;
|
|
18
|
-
class DuplicateRequestException extends CognitoSyncServiceException_1.CognitoSyncServiceException {
|
|
19
|
-
constructor(opts) {
|
|
20
|
-
super({
|
|
21
|
-
name: "DuplicateRequestException",
|
|
22
|
-
$fault: "client",
|
|
23
|
-
...opts,
|
|
24
|
-
});
|
|
25
|
-
this.name = "DuplicateRequestException";
|
|
26
|
-
this.$fault = "client";
|
|
27
|
-
Object.setPrototypeOf(this, DuplicateRequestException.prototype);
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
exports.DuplicateRequestException = DuplicateRequestException;
|
|
31
|
-
class InternalErrorException extends CognitoSyncServiceException_1.CognitoSyncServiceException {
|
|
32
|
-
constructor(opts) {
|
|
33
|
-
super({
|
|
34
|
-
name: "InternalErrorException",
|
|
35
|
-
$fault: "server",
|
|
36
|
-
...opts,
|
|
37
|
-
});
|
|
38
|
-
this.name = "InternalErrorException";
|
|
39
|
-
this.$fault = "server";
|
|
40
|
-
Object.setPrototypeOf(this, InternalErrorException.prototype);
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
exports.InternalErrorException = InternalErrorException;
|
|
44
|
-
class InvalidParameterException extends CognitoSyncServiceException_1.CognitoSyncServiceException {
|
|
45
|
-
constructor(opts) {
|
|
46
|
-
super({
|
|
47
|
-
name: "InvalidParameterException",
|
|
48
|
-
$fault: "client",
|
|
49
|
-
...opts,
|
|
50
|
-
});
|
|
51
|
-
this.name = "InvalidParameterException";
|
|
52
|
-
this.$fault = "client";
|
|
53
|
-
Object.setPrototypeOf(this, InvalidParameterException.prototype);
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
exports.InvalidParameterException = InvalidParameterException;
|
|
57
|
-
class NotAuthorizedException extends CognitoSyncServiceException_1.CognitoSyncServiceException {
|
|
58
|
-
constructor(opts) {
|
|
59
|
-
super({
|
|
60
|
-
name: "NotAuthorizedException",
|
|
61
|
-
$fault: "client",
|
|
62
|
-
...opts,
|
|
63
|
-
});
|
|
64
|
-
this.name = "NotAuthorizedException";
|
|
65
|
-
this.$fault = "client";
|
|
66
|
-
Object.setPrototypeOf(this, NotAuthorizedException.prototype);
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
exports.NotAuthorizedException = NotAuthorizedException;
|
|
70
|
-
class ResourceNotFoundException extends CognitoSyncServiceException_1.CognitoSyncServiceException {
|
|
71
|
-
constructor(opts) {
|
|
72
|
-
super({
|
|
73
|
-
name: "ResourceNotFoundException",
|
|
74
|
-
$fault: "client",
|
|
75
|
-
...opts,
|
|
76
|
-
});
|
|
77
|
-
this.name = "ResourceNotFoundException";
|
|
78
|
-
this.$fault = "client";
|
|
79
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
83
|
-
class ResourceConflictException extends CognitoSyncServiceException_1.CognitoSyncServiceException {
|
|
84
|
-
constructor(opts) {
|
|
85
|
-
super({
|
|
86
|
-
name: "ResourceConflictException",
|
|
87
|
-
$fault: "client",
|
|
88
|
-
...opts,
|
|
89
|
-
});
|
|
90
|
-
this.name = "ResourceConflictException";
|
|
91
|
-
this.$fault = "client";
|
|
92
|
-
Object.setPrototypeOf(this, ResourceConflictException.prototype);
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
exports.ResourceConflictException = ResourceConflictException;
|
|
96
|
-
class TooManyRequestsException extends CognitoSyncServiceException_1.CognitoSyncServiceException {
|
|
97
|
-
constructor(opts) {
|
|
98
|
-
super({
|
|
99
|
-
name: "TooManyRequestsException",
|
|
100
|
-
$fault: "client",
|
|
101
|
-
...opts,
|
|
102
|
-
});
|
|
103
|
-
this.name = "TooManyRequestsException";
|
|
104
|
-
this.$fault = "client";
|
|
105
|
-
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
exports.TooManyRequestsException = TooManyRequestsException;
|
|
109
|
-
exports.BulkPublishStatus = {
|
|
110
|
-
FAILED: "FAILED",
|
|
111
|
-
IN_PROGRESS: "IN_PROGRESS",
|
|
112
|
-
NOT_STARTED: "NOT_STARTED",
|
|
113
|
-
SUCCEEDED: "SUCCEEDED",
|
|
114
|
-
};
|
|
115
|
-
exports.StreamingStatus = {
|
|
116
|
-
DISABLED: "DISABLED",
|
|
117
|
-
ENABLED: "ENABLED",
|
|
118
|
-
};
|
|
119
|
-
class InvalidConfigurationException extends CognitoSyncServiceException_1.CognitoSyncServiceException {
|
|
120
|
-
constructor(opts) {
|
|
121
|
-
super({
|
|
122
|
-
name: "InvalidConfigurationException",
|
|
123
|
-
$fault: "client",
|
|
124
|
-
...opts,
|
|
125
|
-
});
|
|
126
|
-
this.name = "InvalidConfigurationException";
|
|
127
|
-
this.$fault = "client";
|
|
128
|
-
Object.setPrototypeOf(this, InvalidConfigurationException.prototype);
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
exports.InvalidConfigurationException = InvalidConfigurationException;
|
|
132
|
-
exports.Platform = {
|
|
133
|
-
ADM: "ADM",
|
|
134
|
-
APNS: "APNS",
|
|
135
|
-
APNS_SANDBOX: "APNS_SANDBOX",
|
|
136
|
-
GCM: "GCM",
|
|
137
|
-
};
|
|
138
|
-
class ConcurrentModificationException extends CognitoSyncServiceException_1.CognitoSyncServiceException {
|
|
139
|
-
constructor(opts) {
|
|
140
|
-
super({
|
|
141
|
-
name: "ConcurrentModificationException",
|
|
142
|
-
$fault: "client",
|
|
143
|
-
...opts,
|
|
144
|
-
});
|
|
145
|
-
this.name = "ConcurrentModificationException";
|
|
146
|
-
this.$fault = "client";
|
|
147
|
-
Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
exports.ConcurrentModificationException = ConcurrentModificationException;
|
|
151
|
-
class InvalidLambdaFunctionOutputException extends CognitoSyncServiceException_1.CognitoSyncServiceException {
|
|
152
|
-
constructor(opts) {
|
|
153
|
-
super({
|
|
154
|
-
name: "InvalidLambdaFunctionOutputException",
|
|
155
|
-
$fault: "client",
|
|
156
|
-
...opts,
|
|
157
|
-
});
|
|
158
|
-
this.name = "InvalidLambdaFunctionOutputException";
|
|
159
|
-
this.$fault = "client";
|
|
160
|
-
Object.setPrototypeOf(this, InvalidLambdaFunctionOutputException.prototype);
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
exports.InvalidLambdaFunctionOutputException = InvalidLambdaFunctionOutputException;
|
|
164
|
-
class LambdaThrottledException extends CognitoSyncServiceException_1.CognitoSyncServiceException {
|
|
165
|
-
constructor(opts) {
|
|
166
|
-
super({
|
|
167
|
-
name: "LambdaThrottledException",
|
|
168
|
-
$fault: "client",
|
|
169
|
-
...opts,
|
|
170
|
-
});
|
|
171
|
-
this.name = "LambdaThrottledException";
|
|
172
|
-
this.$fault = "client";
|
|
173
|
-
Object.setPrototypeOf(this, LambdaThrottledException.prototype);
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
exports.LambdaThrottledException = LambdaThrottledException;
|
|
177
|
-
class LimitExceededException extends CognitoSyncServiceException_1.CognitoSyncServiceException {
|
|
178
|
-
constructor(opts) {
|
|
179
|
-
super({
|
|
180
|
-
name: "LimitExceededException",
|
|
181
|
-
$fault: "client",
|
|
182
|
-
...opts,
|
|
183
|
-
});
|
|
184
|
-
this.name = "LimitExceededException";
|
|
185
|
-
this.$fault = "client";
|
|
186
|
-
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
exports.LimitExceededException = LimitExceededException;
|
|
190
|
-
exports.Operation = {
|
|
191
|
-
remove: "remove",
|
|
192
|
-
replace: "replace",
|
|
193
|
-
};
|
|
1
|
+
module.exports = require("../index.js");
|