@aws-sdk/client-sqs 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 +40 -39
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +39 -0
- package/dist-es/models/errors.js +337 -0
- package/dist-es/models/models_0.js +1 -376
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +63 -0
- package/dist-types/models/errors.d.ts +374 -0
- package/dist-types/models/models_0.d.ts +1 -437
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +45 -0
- package/dist-types/ts3.4/models/errors.d.ts +166 -0
- package/dist-types/ts3.4/models/models_0.d.ts +5 -211
- package/package.json +13 -13
- 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
|
@@ -276,30 +276,6 @@ let TooManyEntriesInBatchRequest$1 = class TooManyEntriesInBatchRequest extends
|
|
|
276
276
|
Object.setPrototypeOf(this, TooManyEntriesInBatchRequest.prototype);
|
|
277
277
|
}
|
|
278
278
|
};
|
|
279
|
-
const QueueAttributeName = {
|
|
280
|
-
All: "All",
|
|
281
|
-
ApproximateNumberOfMessages: "ApproximateNumberOfMessages",
|
|
282
|
-
ApproximateNumberOfMessagesDelayed: "ApproximateNumberOfMessagesDelayed",
|
|
283
|
-
ApproximateNumberOfMessagesNotVisible: "ApproximateNumberOfMessagesNotVisible",
|
|
284
|
-
ContentBasedDeduplication: "ContentBasedDeduplication",
|
|
285
|
-
CreatedTimestamp: "CreatedTimestamp",
|
|
286
|
-
DeduplicationScope: "DeduplicationScope",
|
|
287
|
-
DelaySeconds: "DelaySeconds",
|
|
288
|
-
FifoQueue: "FifoQueue",
|
|
289
|
-
FifoThroughputLimit: "FifoThroughputLimit",
|
|
290
|
-
KmsDataKeyReusePeriodSeconds: "KmsDataKeyReusePeriodSeconds",
|
|
291
|
-
KmsMasterKeyId: "KmsMasterKeyId",
|
|
292
|
-
LastModifiedTimestamp: "LastModifiedTimestamp",
|
|
293
|
-
MaximumMessageSize: "MaximumMessageSize",
|
|
294
|
-
MessageRetentionPeriod: "MessageRetentionPeriod",
|
|
295
|
-
Policy: "Policy",
|
|
296
|
-
QueueArn: "QueueArn",
|
|
297
|
-
ReceiveMessageWaitTimeSeconds: "ReceiveMessageWaitTimeSeconds",
|
|
298
|
-
RedriveAllowPolicy: "RedriveAllowPolicy",
|
|
299
|
-
RedrivePolicy: "RedrivePolicy",
|
|
300
|
-
SqsManagedSseEnabled: "SqsManagedSseEnabled",
|
|
301
|
-
VisibilityTimeout: "VisibilityTimeout",
|
|
302
|
-
};
|
|
303
279
|
let InvalidAttributeName$1 = class InvalidAttributeName extends SQSServiceException$1 {
|
|
304
280
|
name = "InvalidAttributeName";
|
|
305
281
|
$fault = "client";
|
|
@@ -456,18 +432,6 @@ let KmsThrottled$1 = class KmsThrottled extends SQSServiceException$1 {
|
|
|
456
432
|
Object.setPrototypeOf(this, KmsThrottled.prototype);
|
|
457
433
|
}
|
|
458
434
|
};
|
|
459
|
-
const MessageSystemAttributeName = {
|
|
460
|
-
AWSTraceHeader: "AWSTraceHeader",
|
|
461
|
-
All: "All",
|
|
462
|
-
ApproximateFirstReceiveTimestamp: "ApproximateFirstReceiveTimestamp",
|
|
463
|
-
ApproximateReceiveCount: "ApproximateReceiveCount",
|
|
464
|
-
DeadLetterQueueSourceArn: "DeadLetterQueueSourceArn",
|
|
465
|
-
MessageDeduplicationId: "MessageDeduplicationId",
|
|
466
|
-
MessageGroupId: "MessageGroupId",
|
|
467
|
-
SenderId: "SenderId",
|
|
468
|
-
SentTimestamp: "SentTimestamp",
|
|
469
|
-
SequenceNumber: "SequenceNumber",
|
|
470
|
-
};
|
|
471
435
|
let InvalidMessageContents$1 = class InvalidMessageContents extends SQSServiceException$1 {
|
|
472
436
|
name = "InvalidMessageContents";
|
|
473
437
|
$fault = "client";
|
|
@@ -480,9 +444,6 @@ let InvalidMessageContents$1 = class InvalidMessageContents extends SQSServiceEx
|
|
|
480
444
|
Object.setPrototypeOf(this, InvalidMessageContents.prototype);
|
|
481
445
|
}
|
|
482
446
|
};
|
|
483
|
-
const MessageSystemAttributeNameForSends = {
|
|
484
|
-
AWSTraceHeader: "AWSTraceHeader",
|
|
485
|
-
};
|
|
486
447
|
let BatchRequestTooLong$1 = class BatchRequestTooLong extends SQSServiceException$1 {
|
|
487
448
|
name = "BatchRequestTooLong";
|
|
488
449
|
$fault = "client";
|
|
@@ -2180,6 +2141,46 @@ const paginateListDeadLetterSourceQueues = core.createPaginator(SQSClient, ListD
|
|
|
2180
2141
|
|
|
2181
2142
|
const paginateListQueues = core.createPaginator(SQSClient, ListQueuesCommand, "NextToken", "NextToken", "MaxResults");
|
|
2182
2143
|
|
|
2144
|
+
const QueueAttributeName = {
|
|
2145
|
+
All: "All",
|
|
2146
|
+
ApproximateNumberOfMessages: "ApproximateNumberOfMessages",
|
|
2147
|
+
ApproximateNumberOfMessagesDelayed: "ApproximateNumberOfMessagesDelayed",
|
|
2148
|
+
ApproximateNumberOfMessagesNotVisible: "ApproximateNumberOfMessagesNotVisible",
|
|
2149
|
+
ContentBasedDeduplication: "ContentBasedDeduplication",
|
|
2150
|
+
CreatedTimestamp: "CreatedTimestamp",
|
|
2151
|
+
DeduplicationScope: "DeduplicationScope",
|
|
2152
|
+
DelaySeconds: "DelaySeconds",
|
|
2153
|
+
FifoQueue: "FifoQueue",
|
|
2154
|
+
FifoThroughputLimit: "FifoThroughputLimit",
|
|
2155
|
+
KmsDataKeyReusePeriodSeconds: "KmsDataKeyReusePeriodSeconds",
|
|
2156
|
+
KmsMasterKeyId: "KmsMasterKeyId",
|
|
2157
|
+
LastModifiedTimestamp: "LastModifiedTimestamp",
|
|
2158
|
+
MaximumMessageSize: "MaximumMessageSize",
|
|
2159
|
+
MessageRetentionPeriod: "MessageRetentionPeriod",
|
|
2160
|
+
Policy: "Policy",
|
|
2161
|
+
QueueArn: "QueueArn",
|
|
2162
|
+
ReceiveMessageWaitTimeSeconds: "ReceiveMessageWaitTimeSeconds",
|
|
2163
|
+
RedriveAllowPolicy: "RedriveAllowPolicy",
|
|
2164
|
+
RedrivePolicy: "RedrivePolicy",
|
|
2165
|
+
SqsManagedSseEnabled: "SqsManagedSseEnabled",
|
|
2166
|
+
VisibilityTimeout: "VisibilityTimeout",
|
|
2167
|
+
};
|
|
2168
|
+
const MessageSystemAttributeName = {
|
|
2169
|
+
AWSTraceHeader: "AWSTraceHeader",
|
|
2170
|
+
All: "All",
|
|
2171
|
+
ApproximateFirstReceiveTimestamp: "ApproximateFirstReceiveTimestamp",
|
|
2172
|
+
ApproximateReceiveCount: "ApproximateReceiveCount",
|
|
2173
|
+
DeadLetterQueueSourceArn: "DeadLetterQueueSourceArn",
|
|
2174
|
+
MessageDeduplicationId: "MessageDeduplicationId",
|
|
2175
|
+
MessageGroupId: "MessageGroupId",
|
|
2176
|
+
SenderId: "SenderId",
|
|
2177
|
+
SentTimestamp: "SentTimestamp",
|
|
2178
|
+
SequenceNumber: "SequenceNumber",
|
|
2179
|
+
};
|
|
2180
|
+
const MessageSystemAttributeNameForSends = {
|
|
2181
|
+
AWSTraceHeader: "AWSTraceHeader",
|
|
2182
|
+
};
|
|
2183
|
+
|
|
2183
2184
|
Object.defineProperty(exports, "$Command", {
|
|
2184
2185
|
enumerable: true,
|
|
2185
2186
|
get: function () { return smithyClient.Command; }
|
package/dist-es/index.js
CHANGED
|
@@ -2,5 +2,6 @@ export * from "./SQSClient";
|
|
|
2
2
|
export * from "./SQS";
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
|
-
export * from "./models";
|
|
5
|
+
export * from "./models/enums";
|
|
6
|
+
export * from "./models/errors";
|
|
6
7
|
export { SQSServiceException } from "./models/SQSServiceException";
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export const QueueAttributeName = {
|
|
2
|
+
All: "All",
|
|
3
|
+
ApproximateNumberOfMessages: "ApproximateNumberOfMessages",
|
|
4
|
+
ApproximateNumberOfMessagesDelayed: "ApproximateNumberOfMessagesDelayed",
|
|
5
|
+
ApproximateNumberOfMessagesNotVisible: "ApproximateNumberOfMessagesNotVisible",
|
|
6
|
+
ContentBasedDeduplication: "ContentBasedDeduplication",
|
|
7
|
+
CreatedTimestamp: "CreatedTimestamp",
|
|
8
|
+
DeduplicationScope: "DeduplicationScope",
|
|
9
|
+
DelaySeconds: "DelaySeconds",
|
|
10
|
+
FifoQueue: "FifoQueue",
|
|
11
|
+
FifoThroughputLimit: "FifoThroughputLimit",
|
|
12
|
+
KmsDataKeyReusePeriodSeconds: "KmsDataKeyReusePeriodSeconds",
|
|
13
|
+
KmsMasterKeyId: "KmsMasterKeyId",
|
|
14
|
+
LastModifiedTimestamp: "LastModifiedTimestamp",
|
|
15
|
+
MaximumMessageSize: "MaximumMessageSize",
|
|
16
|
+
MessageRetentionPeriod: "MessageRetentionPeriod",
|
|
17
|
+
Policy: "Policy",
|
|
18
|
+
QueueArn: "QueueArn",
|
|
19
|
+
ReceiveMessageWaitTimeSeconds: "ReceiveMessageWaitTimeSeconds",
|
|
20
|
+
RedriveAllowPolicy: "RedriveAllowPolicy",
|
|
21
|
+
RedrivePolicy: "RedrivePolicy",
|
|
22
|
+
SqsManagedSseEnabled: "SqsManagedSseEnabled",
|
|
23
|
+
VisibilityTimeout: "VisibilityTimeout",
|
|
24
|
+
};
|
|
25
|
+
export const MessageSystemAttributeName = {
|
|
26
|
+
AWSTraceHeader: "AWSTraceHeader",
|
|
27
|
+
All: "All",
|
|
28
|
+
ApproximateFirstReceiveTimestamp: "ApproximateFirstReceiveTimestamp",
|
|
29
|
+
ApproximateReceiveCount: "ApproximateReceiveCount",
|
|
30
|
+
DeadLetterQueueSourceArn: "DeadLetterQueueSourceArn",
|
|
31
|
+
MessageDeduplicationId: "MessageDeduplicationId",
|
|
32
|
+
MessageGroupId: "MessageGroupId",
|
|
33
|
+
SenderId: "SenderId",
|
|
34
|
+
SentTimestamp: "SentTimestamp",
|
|
35
|
+
SequenceNumber: "SequenceNumber",
|
|
36
|
+
};
|
|
37
|
+
export const MessageSystemAttributeNameForSends = {
|
|
38
|
+
AWSTraceHeader: "AWSTraceHeader",
|
|
39
|
+
};
|
|
@@ -0,0 +1,337 @@
|
|
|
1
|
+
import { SQSServiceException as __BaseException } from "./SQSServiceException";
|
|
2
|
+
export class InvalidAddress extends __BaseException {
|
|
3
|
+
name = "InvalidAddress";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
constructor(opts) {
|
|
6
|
+
super({
|
|
7
|
+
name: "InvalidAddress",
|
|
8
|
+
$fault: "client",
|
|
9
|
+
...opts,
|
|
10
|
+
});
|
|
11
|
+
Object.setPrototypeOf(this, InvalidAddress.prototype);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export class InvalidSecurity extends __BaseException {
|
|
15
|
+
name = "InvalidSecurity";
|
|
16
|
+
$fault = "client";
|
|
17
|
+
constructor(opts) {
|
|
18
|
+
super({
|
|
19
|
+
name: "InvalidSecurity",
|
|
20
|
+
$fault: "client",
|
|
21
|
+
...opts,
|
|
22
|
+
});
|
|
23
|
+
Object.setPrototypeOf(this, InvalidSecurity.prototype);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
export class OverLimit extends __BaseException {
|
|
27
|
+
name = "OverLimit";
|
|
28
|
+
$fault = "client";
|
|
29
|
+
constructor(opts) {
|
|
30
|
+
super({
|
|
31
|
+
name: "OverLimit",
|
|
32
|
+
$fault: "client",
|
|
33
|
+
...opts,
|
|
34
|
+
});
|
|
35
|
+
Object.setPrototypeOf(this, OverLimit.prototype);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
export class QueueDoesNotExist extends __BaseException {
|
|
39
|
+
name = "QueueDoesNotExist";
|
|
40
|
+
$fault = "client";
|
|
41
|
+
constructor(opts) {
|
|
42
|
+
super({
|
|
43
|
+
name: "QueueDoesNotExist",
|
|
44
|
+
$fault: "client",
|
|
45
|
+
...opts,
|
|
46
|
+
});
|
|
47
|
+
Object.setPrototypeOf(this, QueueDoesNotExist.prototype);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
export class RequestThrottled extends __BaseException {
|
|
51
|
+
name = "RequestThrottled";
|
|
52
|
+
$fault = "client";
|
|
53
|
+
constructor(opts) {
|
|
54
|
+
super({
|
|
55
|
+
name: "RequestThrottled",
|
|
56
|
+
$fault: "client",
|
|
57
|
+
...opts,
|
|
58
|
+
});
|
|
59
|
+
Object.setPrototypeOf(this, RequestThrottled.prototype);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
export class UnsupportedOperation extends __BaseException {
|
|
63
|
+
name = "UnsupportedOperation";
|
|
64
|
+
$fault = "client";
|
|
65
|
+
constructor(opts) {
|
|
66
|
+
super({
|
|
67
|
+
name: "UnsupportedOperation",
|
|
68
|
+
$fault: "client",
|
|
69
|
+
...opts,
|
|
70
|
+
});
|
|
71
|
+
Object.setPrototypeOf(this, UnsupportedOperation.prototype);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
75
|
+
name = "ResourceNotFoundException";
|
|
76
|
+
$fault = "client";
|
|
77
|
+
constructor(opts) {
|
|
78
|
+
super({
|
|
79
|
+
name: "ResourceNotFoundException",
|
|
80
|
+
$fault: "client",
|
|
81
|
+
...opts,
|
|
82
|
+
});
|
|
83
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
export class MessageNotInflight extends __BaseException {
|
|
87
|
+
name = "MessageNotInflight";
|
|
88
|
+
$fault = "client";
|
|
89
|
+
constructor(opts) {
|
|
90
|
+
super({
|
|
91
|
+
name: "MessageNotInflight",
|
|
92
|
+
$fault: "client",
|
|
93
|
+
...opts,
|
|
94
|
+
});
|
|
95
|
+
Object.setPrototypeOf(this, MessageNotInflight.prototype);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
export class ReceiptHandleIsInvalid extends __BaseException {
|
|
99
|
+
name = "ReceiptHandleIsInvalid";
|
|
100
|
+
$fault = "client";
|
|
101
|
+
constructor(opts) {
|
|
102
|
+
super({
|
|
103
|
+
name: "ReceiptHandleIsInvalid",
|
|
104
|
+
$fault: "client",
|
|
105
|
+
...opts,
|
|
106
|
+
});
|
|
107
|
+
Object.setPrototypeOf(this, ReceiptHandleIsInvalid.prototype);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
export class BatchEntryIdsNotDistinct extends __BaseException {
|
|
111
|
+
name = "BatchEntryIdsNotDistinct";
|
|
112
|
+
$fault = "client";
|
|
113
|
+
constructor(opts) {
|
|
114
|
+
super({
|
|
115
|
+
name: "BatchEntryIdsNotDistinct",
|
|
116
|
+
$fault: "client",
|
|
117
|
+
...opts,
|
|
118
|
+
});
|
|
119
|
+
Object.setPrototypeOf(this, BatchEntryIdsNotDistinct.prototype);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
export class EmptyBatchRequest extends __BaseException {
|
|
123
|
+
name = "EmptyBatchRequest";
|
|
124
|
+
$fault = "client";
|
|
125
|
+
constructor(opts) {
|
|
126
|
+
super({
|
|
127
|
+
name: "EmptyBatchRequest",
|
|
128
|
+
$fault: "client",
|
|
129
|
+
...opts,
|
|
130
|
+
});
|
|
131
|
+
Object.setPrototypeOf(this, EmptyBatchRequest.prototype);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
export class InvalidBatchEntryId extends __BaseException {
|
|
135
|
+
name = "InvalidBatchEntryId";
|
|
136
|
+
$fault = "client";
|
|
137
|
+
constructor(opts) {
|
|
138
|
+
super({
|
|
139
|
+
name: "InvalidBatchEntryId",
|
|
140
|
+
$fault: "client",
|
|
141
|
+
...opts,
|
|
142
|
+
});
|
|
143
|
+
Object.setPrototypeOf(this, InvalidBatchEntryId.prototype);
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
export class TooManyEntriesInBatchRequest extends __BaseException {
|
|
147
|
+
name = "TooManyEntriesInBatchRequest";
|
|
148
|
+
$fault = "client";
|
|
149
|
+
constructor(opts) {
|
|
150
|
+
super({
|
|
151
|
+
name: "TooManyEntriesInBatchRequest",
|
|
152
|
+
$fault: "client",
|
|
153
|
+
...opts,
|
|
154
|
+
});
|
|
155
|
+
Object.setPrototypeOf(this, TooManyEntriesInBatchRequest.prototype);
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
export class InvalidAttributeName extends __BaseException {
|
|
159
|
+
name = "InvalidAttributeName";
|
|
160
|
+
$fault = "client";
|
|
161
|
+
constructor(opts) {
|
|
162
|
+
super({
|
|
163
|
+
name: "InvalidAttributeName",
|
|
164
|
+
$fault: "client",
|
|
165
|
+
...opts,
|
|
166
|
+
});
|
|
167
|
+
Object.setPrototypeOf(this, InvalidAttributeName.prototype);
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
export class InvalidAttributeValue extends __BaseException {
|
|
171
|
+
name = "InvalidAttributeValue";
|
|
172
|
+
$fault = "client";
|
|
173
|
+
constructor(opts) {
|
|
174
|
+
super({
|
|
175
|
+
name: "InvalidAttributeValue",
|
|
176
|
+
$fault: "client",
|
|
177
|
+
...opts,
|
|
178
|
+
});
|
|
179
|
+
Object.setPrototypeOf(this, InvalidAttributeValue.prototype);
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
export class QueueDeletedRecently extends __BaseException {
|
|
183
|
+
name = "QueueDeletedRecently";
|
|
184
|
+
$fault = "client";
|
|
185
|
+
constructor(opts) {
|
|
186
|
+
super({
|
|
187
|
+
name: "QueueDeletedRecently",
|
|
188
|
+
$fault: "client",
|
|
189
|
+
...opts,
|
|
190
|
+
});
|
|
191
|
+
Object.setPrototypeOf(this, QueueDeletedRecently.prototype);
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
export class QueueNameExists extends __BaseException {
|
|
195
|
+
name = "QueueNameExists";
|
|
196
|
+
$fault = "client";
|
|
197
|
+
constructor(opts) {
|
|
198
|
+
super({
|
|
199
|
+
name: "QueueNameExists",
|
|
200
|
+
$fault: "client",
|
|
201
|
+
...opts,
|
|
202
|
+
});
|
|
203
|
+
Object.setPrototypeOf(this, QueueNameExists.prototype);
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
export class InvalidIdFormat extends __BaseException {
|
|
207
|
+
name = "InvalidIdFormat";
|
|
208
|
+
$fault = "client";
|
|
209
|
+
constructor(opts) {
|
|
210
|
+
super({
|
|
211
|
+
name: "InvalidIdFormat",
|
|
212
|
+
$fault: "client",
|
|
213
|
+
...opts,
|
|
214
|
+
});
|
|
215
|
+
Object.setPrototypeOf(this, InvalidIdFormat.prototype);
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
export class PurgeQueueInProgress extends __BaseException {
|
|
219
|
+
name = "PurgeQueueInProgress";
|
|
220
|
+
$fault = "client";
|
|
221
|
+
constructor(opts) {
|
|
222
|
+
super({
|
|
223
|
+
name: "PurgeQueueInProgress",
|
|
224
|
+
$fault: "client",
|
|
225
|
+
...opts,
|
|
226
|
+
});
|
|
227
|
+
Object.setPrototypeOf(this, PurgeQueueInProgress.prototype);
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
export class KmsAccessDenied extends __BaseException {
|
|
231
|
+
name = "KmsAccessDenied";
|
|
232
|
+
$fault = "client";
|
|
233
|
+
constructor(opts) {
|
|
234
|
+
super({
|
|
235
|
+
name: "KmsAccessDenied",
|
|
236
|
+
$fault: "client",
|
|
237
|
+
...opts,
|
|
238
|
+
});
|
|
239
|
+
Object.setPrototypeOf(this, KmsAccessDenied.prototype);
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
export class KmsDisabled extends __BaseException {
|
|
243
|
+
name = "KmsDisabled";
|
|
244
|
+
$fault = "client";
|
|
245
|
+
constructor(opts) {
|
|
246
|
+
super({
|
|
247
|
+
name: "KmsDisabled",
|
|
248
|
+
$fault: "client",
|
|
249
|
+
...opts,
|
|
250
|
+
});
|
|
251
|
+
Object.setPrototypeOf(this, KmsDisabled.prototype);
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
export class KmsInvalidKeyUsage extends __BaseException {
|
|
255
|
+
name = "KmsInvalidKeyUsage";
|
|
256
|
+
$fault = "client";
|
|
257
|
+
constructor(opts) {
|
|
258
|
+
super({
|
|
259
|
+
name: "KmsInvalidKeyUsage",
|
|
260
|
+
$fault: "client",
|
|
261
|
+
...opts,
|
|
262
|
+
});
|
|
263
|
+
Object.setPrototypeOf(this, KmsInvalidKeyUsage.prototype);
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
export class KmsInvalidState extends __BaseException {
|
|
267
|
+
name = "KmsInvalidState";
|
|
268
|
+
$fault = "client";
|
|
269
|
+
constructor(opts) {
|
|
270
|
+
super({
|
|
271
|
+
name: "KmsInvalidState",
|
|
272
|
+
$fault: "client",
|
|
273
|
+
...opts,
|
|
274
|
+
});
|
|
275
|
+
Object.setPrototypeOf(this, KmsInvalidState.prototype);
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
export class KmsNotFound extends __BaseException {
|
|
279
|
+
name = "KmsNotFound";
|
|
280
|
+
$fault = "client";
|
|
281
|
+
constructor(opts) {
|
|
282
|
+
super({
|
|
283
|
+
name: "KmsNotFound",
|
|
284
|
+
$fault: "client",
|
|
285
|
+
...opts,
|
|
286
|
+
});
|
|
287
|
+
Object.setPrototypeOf(this, KmsNotFound.prototype);
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
export class KmsOptInRequired extends __BaseException {
|
|
291
|
+
name = "KmsOptInRequired";
|
|
292
|
+
$fault = "client";
|
|
293
|
+
constructor(opts) {
|
|
294
|
+
super({
|
|
295
|
+
name: "KmsOptInRequired",
|
|
296
|
+
$fault: "client",
|
|
297
|
+
...opts,
|
|
298
|
+
});
|
|
299
|
+
Object.setPrototypeOf(this, KmsOptInRequired.prototype);
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
export class KmsThrottled extends __BaseException {
|
|
303
|
+
name = "KmsThrottled";
|
|
304
|
+
$fault = "client";
|
|
305
|
+
constructor(opts) {
|
|
306
|
+
super({
|
|
307
|
+
name: "KmsThrottled",
|
|
308
|
+
$fault: "client",
|
|
309
|
+
...opts,
|
|
310
|
+
});
|
|
311
|
+
Object.setPrototypeOf(this, KmsThrottled.prototype);
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
export class InvalidMessageContents extends __BaseException {
|
|
315
|
+
name = "InvalidMessageContents";
|
|
316
|
+
$fault = "client";
|
|
317
|
+
constructor(opts) {
|
|
318
|
+
super({
|
|
319
|
+
name: "InvalidMessageContents",
|
|
320
|
+
$fault: "client",
|
|
321
|
+
...opts,
|
|
322
|
+
});
|
|
323
|
+
Object.setPrototypeOf(this, InvalidMessageContents.prototype);
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
export class BatchRequestTooLong extends __BaseException {
|
|
327
|
+
name = "BatchRequestTooLong";
|
|
328
|
+
$fault = "client";
|
|
329
|
+
constructor(opts) {
|
|
330
|
+
super({
|
|
331
|
+
name: "BatchRequestTooLong",
|
|
332
|
+
$fault: "client",
|
|
333
|
+
...opts,
|
|
334
|
+
});
|
|
335
|
+
Object.setPrototypeOf(this, BatchRequestTooLong.prototype);
|
|
336
|
+
}
|
|
337
|
+
}
|