@aws-sdk/client-mq 3.934.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 +55 -54
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +54 -0
- package/dist-es/models/errors.js +97 -0
- package/dist-es/models/models_0.js +1 -151
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +134 -0
- package/dist-types/models/errors.d.ts +134 -0
- package/dist-types/models/models_0.d.ts +1 -268
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +69 -0
- package/dist-types/ts3.4/models/errors.d.ts +50 -0
- package/dist-types/ts3.4/models/models_0.d.ts +12 -119
- 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
|
@@ -117,43 +117,6 @@ let MqServiceException$1 = class MqServiceException extends smithyClient.Service
|
|
|
117
117
|
}
|
|
118
118
|
};
|
|
119
119
|
|
|
120
|
-
const EngineType = {
|
|
121
|
-
ACTIVEMQ: "ACTIVEMQ",
|
|
122
|
-
RABBITMQ: "RABBITMQ",
|
|
123
|
-
};
|
|
124
|
-
const BrokerStorageType = {
|
|
125
|
-
EBS: "EBS",
|
|
126
|
-
EFS: "EFS",
|
|
127
|
-
};
|
|
128
|
-
const DeploymentMode = {
|
|
129
|
-
ACTIVE_STANDBY_MULTI_AZ: "ACTIVE_STANDBY_MULTI_AZ",
|
|
130
|
-
CLUSTER_MULTI_AZ: "CLUSTER_MULTI_AZ",
|
|
131
|
-
SINGLE_INSTANCE: "SINGLE_INSTANCE",
|
|
132
|
-
};
|
|
133
|
-
const BrokerState = {
|
|
134
|
-
CREATION_FAILED: "CREATION_FAILED",
|
|
135
|
-
CREATION_IN_PROGRESS: "CREATION_IN_PROGRESS",
|
|
136
|
-
CRITICAL_ACTION_REQUIRED: "CRITICAL_ACTION_REQUIRED",
|
|
137
|
-
DELETION_IN_PROGRESS: "DELETION_IN_PROGRESS",
|
|
138
|
-
REBOOT_IN_PROGRESS: "REBOOT_IN_PROGRESS",
|
|
139
|
-
REPLICA: "REPLICA",
|
|
140
|
-
RUNNING: "RUNNING",
|
|
141
|
-
};
|
|
142
|
-
const AuthenticationStrategy = {
|
|
143
|
-
CONFIG_MANAGED: "CONFIG_MANAGED",
|
|
144
|
-
LDAP: "LDAP",
|
|
145
|
-
SIMPLE: "SIMPLE",
|
|
146
|
-
};
|
|
147
|
-
const SanitizationWarningReason = {
|
|
148
|
-
DISALLOWED_ATTRIBUTE_REMOVED: "DISALLOWED_ATTRIBUTE_REMOVED",
|
|
149
|
-
DISALLOWED_ELEMENT_REMOVED: "DISALLOWED_ELEMENT_REMOVED",
|
|
150
|
-
INVALID_ATTRIBUTE_VALUE_REMOVED: "INVALID_ATTRIBUTE_VALUE_REMOVED",
|
|
151
|
-
};
|
|
152
|
-
const ChangeType = {
|
|
153
|
-
CREATE: "CREATE",
|
|
154
|
-
DELETE: "DELETE",
|
|
155
|
-
UPDATE: "UPDATE",
|
|
156
|
-
};
|
|
157
120
|
let BadRequestException$1 = class BadRequestException extends MqServiceException$1 {
|
|
158
121
|
name = "BadRequestException";
|
|
159
122
|
$fault = "client";
|
|
@@ -186,19 +149,6 @@ let ConflictException$1 = class ConflictException extends MqServiceException$1 {
|
|
|
186
149
|
this.Message = opts.Message;
|
|
187
150
|
}
|
|
188
151
|
};
|
|
189
|
-
const DataReplicationMode = {
|
|
190
|
-
CRDR: "CRDR",
|
|
191
|
-
NONE: "NONE",
|
|
192
|
-
};
|
|
193
|
-
const DayOfWeek = {
|
|
194
|
-
FRIDAY: "FRIDAY",
|
|
195
|
-
MONDAY: "MONDAY",
|
|
196
|
-
SATURDAY: "SATURDAY",
|
|
197
|
-
SUNDAY: "SUNDAY",
|
|
198
|
-
THURSDAY: "THURSDAY",
|
|
199
|
-
TUESDAY: "TUESDAY",
|
|
200
|
-
WEDNESDAY: "WEDNESDAY",
|
|
201
|
-
};
|
|
202
152
|
let ForbiddenException$1 = class ForbiddenException extends MqServiceException$1 {
|
|
203
153
|
name = "ForbiddenException";
|
|
204
154
|
$fault = "client";
|
|
@@ -263,10 +213,6 @@ let NotFoundException$1 = class NotFoundException extends MqServiceException$1 {
|
|
|
263
213
|
this.Message = opts.Message;
|
|
264
214
|
}
|
|
265
215
|
};
|
|
266
|
-
const PromoteMode = {
|
|
267
|
-
FAILOVER: "FAILOVER",
|
|
268
|
-
SWITCHOVER: "SWITCHOVER",
|
|
269
|
-
};
|
|
270
216
|
|
|
271
217
|
const _A = "Arn";
|
|
272
218
|
const _ALG = "AuditLogGroup";
|
|
@@ -3484,6 +3430,61 @@ smithyClient.createAggregatedClient(commands, Mq);
|
|
|
3484
3430
|
|
|
3485
3431
|
const paginateListBrokers = core.createPaginator(MqClient, ListBrokersCommand, "NextToken", "NextToken", "MaxResults");
|
|
3486
3432
|
|
|
3433
|
+
const EngineType = {
|
|
3434
|
+
ACTIVEMQ: "ACTIVEMQ",
|
|
3435
|
+
RABBITMQ: "RABBITMQ",
|
|
3436
|
+
};
|
|
3437
|
+
const BrokerStorageType = {
|
|
3438
|
+
EBS: "EBS",
|
|
3439
|
+
EFS: "EFS",
|
|
3440
|
+
};
|
|
3441
|
+
const DeploymentMode = {
|
|
3442
|
+
ACTIVE_STANDBY_MULTI_AZ: "ACTIVE_STANDBY_MULTI_AZ",
|
|
3443
|
+
CLUSTER_MULTI_AZ: "CLUSTER_MULTI_AZ",
|
|
3444
|
+
SINGLE_INSTANCE: "SINGLE_INSTANCE",
|
|
3445
|
+
};
|
|
3446
|
+
const BrokerState = {
|
|
3447
|
+
CREATION_FAILED: "CREATION_FAILED",
|
|
3448
|
+
CREATION_IN_PROGRESS: "CREATION_IN_PROGRESS",
|
|
3449
|
+
CRITICAL_ACTION_REQUIRED: "CRITICAL_ACTION_REQUIRED",
|
|
3450
|
+
DELETION_IN_PROGRESS: "DELETION_IN_PROGRESS",
|
|
3451
|
+
REBOOT_IN_PROGRESS: "REBOOT_IN_PROGRESS",
|
|
3452
|
+
REPLICA: "REPLICA",
|
|
3453
|
+
RUNNING: "RUNNING",
|
|
3454
|
+
};
|
|
3455
|
+
const AuthenticationStrategy = {
|
|
3456
|
+
CONFIG_MANAGED: "CONFIG_MANAGED",
|
|
3457
|
+
LDAP: "LDAP",
|
|
3458
|
+
SIMPLE: "SIMPLE",
|
|
3459
|
+
};
|
|
3460
|
+
const SanitizationWarningReason = {
|
|
3461
|
+
DISALLOWED_ATTRIBUTE_REMOVED: "DISALLOWED_ATTRIBUTE_REMOVED",
|
|
3462
|
+
DISALLOWED_ELEMENT_REMOVED: "DISALLOWED_ELEMENT_REMOVED",
|
|
3463
|
+
INVALID_ATTRIBUTE_VALUE_REMOVED: "INVALID_ATTRIBUTE_VALUE_REMOVED",
|
|
3464
|
+
};
|
|
3465
|
+
const ChangeType = {
|
|
3466
|
+
CREATE: "CREATE",
|
|
3467
|
+
DELETE: "DELETE",
|
|
3468
|
+
UPDATE: "UPDATE",
|
|
3469
|
+
};
|
|
3470
|
+
const DataReplicationMode = {
|
|
3471
|
+
CRDR: "CRDR",
|
|
3472
|
+
NONE: "NONE",
|
|
3473
|
+
};
|
|
3474
|
+
const DayOfWeek = {
|
|
3475
|
+
FRIDAY: "FRIDAY",
|
|
3476
|
+
MONDAY: "MONDAY",
|
|
3477
|
+
SATURDAY: "SATURDAY",
|
|
3478
|
+
SUNDAY: "SUNDAY",
|
|
3479
|
+
THURSDAY: "THURSDAY",
|
|
3480
|
+
TUESDAY: "TUESDAY",
|
|
3481
|
+
WEDNESDAY: "WEDNESDAY",
|
|
3482
|
+
};
|
|
3483
|
+
const PromoteMode = {
|
|
3484
|
+
FAILOVER: "FAILOVER",
|
|
3485
|
+
SWITCHOVER: "SWITCHOVER",
|
|
3486
|
+
};
|
|
3487
|
+
|
|
3487
3488
|
Object.defineProperty(exports, "$Command", {
|
|
3488
3489
|
enumerable: true,
|
|
3489
3490
|
get: function () { return smithyClient.Command; }
|
package/dist-es/index.js
CHANGED
|
@@ -2,5 +2,6 @@ export * from "./MqClient";
|
|
|
2
2
|
export * from "./Mq";
|
|
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 { MqServiceException } from "./models/MqServiceException";
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
export const EngineType = {
|
|
2
|
+
ACTIVEMQ: "ACTIVEMQ",
|
|
3
|
+
RABBITMQ: "RABBITMQ",
|
|
4
|
+
};
|
|
5
|
+
export const BrokerStorageType = {
|
|
6
|
+
EBS: "EBS",
|
|
7
|
+
EFS: "EFS",
|
|
8
|
+
};
|
|
9
|
+
export const DeploymentMode = {
|
|
10
|
+
ACTIVE_STANDBY_MULTI_AZ: "ACTIVE_STANDBY_MULTI_AZ",
|
|
11
|
+
CLUSTER_MULTI_AZ: "CLUSTER_MULTI_AZ",
|
|
12
|
+
SINGLE_INSTANCE: "SINGLE_INSTANCE",
|
|
13
|
+
};
|
|
14
|
+
export const BrokerState = {
|
|
15
|
+
CREATION_FAILED: "CREATION_FAILED",
|
|
16
|
+
CREATION_IN_PROGRESS: "CREATION_IN_PROGRESS",
|
|
17
|
+
CRITICAL_ACTION_REQUIRED: "CRITICAL_ACTION_REQUIRED",
|
|
18
|
+
DELETION_IN_PROGRESS: "DELETION_IN_PROGRESS",
|
|
19
|
+
REBOOT_IN_PROGRESS: "REBOOT_IN_PROGRESS",
|
|
20
|
+
REPLICA: "REPLICA",
|
|
21
|
+
RUNNING: "RUNNING",
|
|
22
|
+
};
|
|
23
|
+
export const AuthenticationStrategy = {
|
|
24
|
+
CONFIG_MANAGED: "CONFIG_MANAGED",
|
|
25
|
+
LDAP: "LDAP",
|
|
26
|
+
SIMPLE: "SIMPLE",
|
|
27
|
+
};
|
|
28
|
+
export const SanitizationWarningReason = {
|
|
29
|
+
DISALLOWED_ATTRIBUTE_REMOVED: "DISALLOWED_ATTRIBUTE_REMOVED",
|
|
30
|
+
DISALLOWED_ELEMENT_REMOVED: "DISALLOWED_ELEMENT_REMOVED",
|
|
31
|
+
INVALID_ATTRIBUTE_VALUE_REMOVED: "INVALID_ATTRIBUTE_VALUE_REMOVED",
|
|
32
|
+
};
|
|
33
|
+
export const ChangeType = {
|
|
34
|
+
CREATE: "CREATE",
|
|
35
|
+
DELETE: "DELETE",
|
|
36
|
+
UPDATE: "UPDATE",
|
|
37
|
+
};
|
|
38
|
+
export const DataReplicationMode = {
|
|
39
|
+
CRDR: "CRDR",
|
|
40
|
+
NONE: "NONE",
|
|
41
|
+
};
|
|
42
|
+
export const DayOfWeek = {
|
|
43
|
+
FRIDAY: "FRIDAY",
|
|
44
|
+
MONDAY: "MONDAY",
|
|
45
|
+
SATURDAY: "SATURDAY",
|
|
46
|
+
SUNDAY: "SUNDAY",
|
|
47
|
+
THURSDAY: "THURSDAY",
|
|
48
|
+
TUESDAY: "TUESDAY",
|
|
49
|
+
WEDNESDAY: "WEDNESDAY",
|
|
50
|
+
};
|
|
51
|
+
export const PromoteMode = {
|
|
52
|
+
FAILOVER: "FAILOVER",
|
|
53
|
+
SWITCHOVER: "SWITCHOVER",
|
|
54
|
+
};
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { MqServiceException as __BaseException } from "./MqServiceException";
|
|
2
|
+
export class BadRequestException extends __BaseException {
|
|
3
|
+
name = "BadRequestException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
ErrorAttribute;
|
|
6
|
+
Message;
|
|
7
|
+
constructor(opts) {
|
|
8
|
+
super({
|
|
9
|
+
name: "BadRequestException",
|
|
10
|
+
$fault: "client",
|
|
11
|
+
...opts,
|
|
12
|
+
});
|
|
13
|
+
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
14
|
+
this.ErrorAttribute = opts.ErrorAttribute;
|
|
15
|
+
this.Message = opts.Message;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
export class ConflictException extends __BaseException {
|
|
19
|
+
name = "ConflictException";
|
|
20
|
+
$fault = "client";
|
|
21
|
+
ErrorAttribute;
|
|
22
|
+
Message;
|
|
23
|
+
constructor(opts) {
|
|
24
|
+
super({
|
|
25
|
+
name: "ConflictException",
|
|
26
|
+
$fault: "client",
|
|
27
|
+
...opts,
|
|
28
|
+
});
|
|
29
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
30
|
+
this.ErrorAttribute = opts.ErrorAttribute;
|
|
31
|
+
this.Message = opts.Message;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
export class ForbiddenException extends __BaseException {
|
|
35
|
+
name = "ForbiddenException";
|
|
36
|
+
$fault = "client";
|
|
37
|
+
ErrorAttribute;
|
|
38
|
+
Message;
|
|
39
|
+
constructor(opts) {
|
|
40
|
+
super({
|
|
41
|
+
name: "ForbiddenException",
|
|
42
|
+
$fault: "client",
|
|
43
|
+
...opts,
|
|
44
|
+
});
|
|
45
|
+
Object.setPrototypeOf(this, ForbiddenException.prototype);
|
|
46
|
+
this.ErrorAttribute = opts.ErrorAttribute;
|
|
47
|
+
this.Message = opts.Message;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
export class InternalServerErrorException extends __BaseException {
|
|
51
|
+
name = "InternalServerErrorException";
|
|
52
|
+
$fault = "server";
|
|
53
|
+
ErrorAttribute;
|
|
54
|
+
Message;
|
|
55
|
+
constructor(opts) {
|
|
56
|
+
super({
|
|
57
|
+
name: "InternalServerErrorException",
|
|
58
|
+
$fault: "server",
|
|
59
|
+
...opts,
|
|
60
|
+
});
|
|
61
|
+
Object.setPrototypeOf(this, InternalServerErrorException.prototype);
|
|
62
|
+
this.ErrorAttribute = opts.ErrorAttribute;
|
|
63
|
+
this.Message = opts.Message;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
export class UnauthorizedException extends __BaseException {
|
|
67
|
+
name = "UnauthorizedException";
|
|
68
|
+
$fault = "client";
|
|
69
|
+
ErrorAttribute;
|
|
70
|
+
Message;
|
|
71
|
+
constructor(opts) {
|
|
72
|
+
super({
|
|
73
|
+
name: "UnauthorizedException",
|
|
74
|
+
$fault: "client",
|
|
75
|
+
...opts,
|
|
76
|
+
});
|
|
77
|
+
Object.setPrototypeOf(this, UnauthorizedException.prototype);
|
|
78
|
+
this.ErrorAttribute = opts.ErrorAttribute;
|
|
79
|
+
this.Message = opts.Message;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
export class NotFoundException extends __BaseException {
|
|
83
|
+
name = "NotFoundException";
|
|
84
|
+
$fault = "client";
|
|
85
|
+
ErrorAttribute;
|
|
86
|
+
Message;
|
|
87
|
+
constructor(opts) {
|
|
88
|
+
super({
|
|
89
|
+
name: "NotFoundException",
|
|
90
|
+
$fault: "client",
|
|
91
|
+
...opts,
|
|
92
|
+
});
|
|
93
|
+
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
94
|
+
this.ErrorAttribute = opts.ErrorAttribute;
|
|
95
|
+
this.Message = opts.Message;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
@@ -1,151 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export const EngineType = {
|
|
3
|
-
ACTIVEMQ: "ACTIVEMQ",
|
|
4
|
-
RABBITMQ: "RABBITMQ",
|
|
5
|
-
};
|
|
6
|
-
export const BrokerStorageType = {
|
|
7
|
-
EBS: "EBS",
|
|
8
|
-
EFS: "EFS",
|
|
9
|
-
};
|
|
10
|
-
export const DeploymentMode = {
|
|
11
|
-
ACTIVE_STANDBY_MULTI_AZ: "ACTIVE_STANDBY_MULTI_AZ",
|
|
12
|
-
CLUSTER_MULTI_AZ: "CLUSTER_MULTI_AZ",
|
|
13
|
-
SINGLE_INSTANCE: "SINGLE_INSTANCE",
|
|
14
|
-
};
|
|
15
|
-
export const BrokerState = {
|
|
16
|
-
CREATION_FAILED: "CREATION_FAILED",
|
|
17
|
-
CREATION_IN_PROGRESS: "CREATION_IN_PROGRESS",
|
|
18
|
-
CRITICAL_ACTION_REQUIRED: "CRITICAL_ACTION_REQUIRED",
|
|
19
|
-
DELETION_IN_PROGRESS: "DELETION_IN_PROGRESS",
|
|
20
|
-
REBOOT_IN_PROGRESS: "REBOOT_IN_PROGRESS",
|
|
21
|
-
REPLICA: "REPLICA",
|
|
22
|
-
RUNNING: "RUNNING",
|
|
23
|
-
};
|
|
24
|
-
export const AuthenticationStrategy = {
|
|
25
|
-
CONFIG_MANAGED: "CONFIG_MANAGED",
|
|
26
|
-
LDAP: "LDAP",
|
|
27
|
-
SIMPLE: "SIMPLE",
|
|
28
|
-
};
|
|
29
|
-
export const SanitizationWarningReason = {
|
|
30
|
-
DISALLOWED_ATTRIBUTE_REMOVED: "DISALLOWED_ATTRIBUTE_REMOVED",
|
|
31
|
-
DISALLOWED_ELEMENT_REMOVED: "DISALLOWED_ELEMENT_REMOVED",
|
|
32
|
-
INVALID_ATTRIBUTE_VALUE_REMOVED: "INVALID_ATTRIBUTE_VALUE_REMOVED",
|
|
33
|
-
};
|
|
34
|
-
export const ChangeType = {
|
|
35
|
-
CREATE: "CREATE",
|
|
36
|
-
DELETE: "DELETE",
|
|
37
|
-
UPDATE: "UPDATE",
|
|
38
|
-
};
|
|
39
|
-
export class BadRequestException extends __BaseException {
|
|
40
|
-
name = "BadRequestException";
|
|
41
|
-
$fault = "client";
|
|
42
|
-
ErrorAttribute;
|
|
43
|
-
Message;
|
|
44
|
-
constructor(opts) {
|
|
45
|
-
super({
|
|
46
|
-
name: "BadRequestException",
|
|
47
|
-
$fault: "client",
|
|
48
|
-
...opts,
|
|
49
|
-
});
|
|
50
|
-
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
51
|
-
this.ErrorAttribute = opts.ErrorAttribute;
|
|
52
|
-
this.Message = opts.Message;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
export class ConflictException extends __BaseException {
|
|
56
|
-
name = "ConflictException";
|
|
57
|
-
$fault = "client";
|
|
58
|
-
ErrorAttribute;
|
|
59
|
-
Message;
|
|
60
|
-
constructor(opts) {
|
|
61
|
-
super({
|
|
62
|
-
name: "ConflictException",
|
|
63
|
-
$fault: "client",
|
|
64
|
-
...opts,
|
|
65
|
-
});
|
|
66
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
67
|
-
this.ErrorAttribute = opts.ErrorAttribute;
|
|
68
|
-
this.Message = opts.Message;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
export const DataReplicationMode = {
|
|
72
|
-
CRDR: "CRDR",
|
|
73
|
-
NONE: "NONE",
|
|
74
|
-
};
|
|
75
|
-
export const DayOfWeek = {
|
|
76
|
-
FRIDAY: "FRIDAY",
|
|
77
|
-
MONDAY: "MONDAY",
|
|
78
|
-
SATURDAY: "SATURDAY",
|
|
79
|
-
SUNDAY: "SUNDAY",
|
|
80
|
-
THURSDAY: "THURSDAY",
|
|
81
|
-
TUESDAY: "TUESDAY",
|
|
82
|
-
WEDNESDAY: "WEDNESDAY",
|
|
83
|
-
};
|
|
84
|
-
export class ForbiddenException extends __BaseException {
|
|
85
|
-
name = "ForbiddenException";
|
|
86
|
-
$fault = "client";
|
|
87
|
-
ErrorAttribute;
|
|
88
|
-
Message;
|
|
89
|
-
constructor(opts) {
|
|
90
|
-
super({
|
|
91
|
-
name: "ForbiddenException",
|
|
92
|
-
$fault: "client",
|
|
93
|
-
...opts,
|
|
94
|
-
});
|
|
95
|
-
Object.setPrototypeOf(this, ForbiddenException.prototype);
|
|
96
|
-
this.ErrorAttribute = opts.ErrorAttribute;
|
|
97
|
-
this.Message = opts.Message;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
export class InternalServerErrorException extends __BaseException {
|
|
101
|
-
name = "InternalServerErrorException";
|
|
102
|
-
$fault = "server";
|
|
103
|
-
ErrorAttribute;
|
|
104
|
-
Message;
|
|
105
|
-
constructor(opts) {
|
|
106
|
-
super({
|
|
107
|
-
name: "InternalServerErrorException",
|
|
108
|
-
$fault: "server",
|
|
109
|
-
...opts,
|
|
110
|
-
});
|
|
111
|
-
Object.setPrototypeOf(this, InternalServerErrorException.prototype);
|
|
112
|
-
this.ErrorAttribute = opts.ErrorAttribute;
|
|
113
|
-
this.Message = opts.Message;
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
export class UnauthorizedException extends __BaseException {
|
|
117
|
-
name = "UnauthorizedException";
|
|
118
|
-
$fault = "client";
|
|
119
|
-
ErrorAttribute;
|
|
120
|
-
Message;
|
|
121
|
-
constructor(opts) {
|
|
122
|
-
super({
|
|
123
|
-
name: "UnauthorizedException",
|
|
124
|
-
$fault: "client",
|
|
125
|
-
...opts,
|
|
126
|
-
});
|
|
127
|
-
Object.setPrototypeOf(this, UnauthorizedException.prototype);
|
|
128
|
-
this.ErrorAttribute = opts.ErrorAttribute;
|
|
129
|
-
this.Message = opts.Message;
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
export class NotFoundException extends __BaseException {
|
|
133
|
-
name = "NotFoundException";
|
|
134
|
-
$fault = "client";
|
|
135
|
-
ErrorAttribute;
|
|
136
|
-
Message;
|
|
137
|
-
constructor(opts) {
|
|
138
|
-
super({
|
|
139
|
-
name: "NotFoundException",
|
|
140
|
-
$fault: "client",
|
|
141
|
-
...opts,
|
|
142
|
-
});
|
|
143
|
-
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
144
|
-
this.ErrorAttribute = opts.ErrorAttribute;
|
|
145
|
-
this.Message = opts.Message;
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
export const PromoteMode = {
|
|
149
|
-
FAILOVER: "FAILOVER",
|
|
150
|
-
SWITCHOVER: "SWITCHOVER",
|
|
151
|
-
};
|
|
1
|
+
export {};
|
|
@@ -314,7 +314,7 @@ const _us = "username";
|
|
|
314
314
|
const _w = "warnings";
|
|
315
315
|
const n0 = "com.amazonaws.mq";
|
|
316
316
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
317
|
-
import { BadRequestException as __BadRequestException, ConflictException as __ConflictException, ForbiddenException as __ForbiddenException, InternalServerErrorException as __InternalServerErrorException, NotFoundException as __NotFoundException, UnauthorizedException as __UnauthorizedException, } from "../models/
|
|
317
|
+
import { BadRequestException as __BadRequestException, ConflictException as __ConflictException, ForbiddenException as __ForbiddenException, InternalServerErrorException as __InternalServerErrorException, NotFoundException as __NotFoundException, UnauthorizedException as __UnauthorizedException, } from "../models/errors";
|
|
318
318
|
import { MqServiceException as __MqServiceException } from "../models/MqServiceException";
|
|
319
319
|
export var ActionRequired = [
|
|
320
320
|
3,
|
package/dist-types/index.d.ts
CHANGED
|
@@ -10,5 +10,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
10
10
|
export type { MqExtensionConfiguration } from "./extensionConfiguration";
|
|
11
11
|
export * from "./commands";
|
|
12
12
|
export * from "./pagination";
|
|
13
|
-
export * from "./models";
|
|
13
|
+
export * from "./models/enums";
|
|
14
|
+
export * from "./models/errors";
|
|
15
|
+
export type * from "./models/models_0";
|
|
14
16
|
export { MqServiceException } from "./models/MqServiceException";
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const EngineType: {
|
|
6
|
+
readonly ACTIVEMQ: "ACTIVEMQ";
|
|
7
|
+
readonly RABBITMQ: "RABBITMQ";
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
export type EngineType = (typeof EngineType)[keyof typeof EngineType];
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
* @enum
|
|
16
|
+
*/
|
|
17
|
+
export declare const BrokerStorageType: {
|
|
18
|
+
readonly EBS: "EBS";
|
|
19
|
+
readonly EFS: "EFS";
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* @public
|
|
23
|
+
*/
|
|
24
|
+
export type BrokerStorageType = (typeof BrokerStorageType)[keyof typeof BrokerStorageType];
|
|
25
|
+
/**
|
|
26
|
+
* @public
|
|
27
|
+
* @enum
|
|
28
|
+
*/
|
|
29
|
+
export declare const DeploymentMode: {
|
|
30
|
+
readonly ACTIVE_STANDBY_MULTI_AZ: "ACTIVE_STANDBY_MULTI_AZ";
|
|
31
|
+
readonly CLUSTER_MULTI_AZ: "CLUSTER_MULTI_AZ";
|
|
32
|
+
readonly SINGLE_INSTANCE: "SINGLE_INSTANCE";
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
export type DeploymentMode = (typeof DeploymentMode)[keyof typeof DeploymentMode];
|
|
38
|
+
/**
|
|
39
|
+
* @public
|
|
40
|
+
* @enum
|
|
41
|
+
*/
|
|
42
|
+
export declare const BrokerState: {
|
|
43
|
+
readonly CREATION_FAILED: "CREATION_FAILED";
|
|
44
|
+
readonly CREATION_IN_PROGRESS: "CREATION_IN_PROGRESS";
|
|
45
|
+
readonly CRITICAL_ACTION_REQUIRED: "CRITICAL_ACTION_REQUIRED";
|
|
46
|
+
readonly DELETION_IN_PROGRESS: "DELETION_IN_PROGRESS";
|
|
47
|
+
readonly REBOOT_IN_PROGRESS: "REBOOT_IN_PROGRESS";
|
|
48
|
+
readonly REPLICA: "REPLICA";
|
|
49
|
+
readonly RUNNING: "RUNNING";
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* @public
|
|
53
|
+
*/
|
|
54
|
+
export type BrokerState = (typeof BrokerState)[keyof typeof BrokerState];
|
|
55
|
+
/**
|
|
56
|
+
* @public
|
|
57
|
+
* @enum
|
|
58
|
+
*/
|
|
59
|
+
export declare const AuthenticationStrategy: {
|
|
60
|
+
readonly CONFIG_MANAGED: "CONFIG_MANAGED";
|
|
61
|
+
readonly LDAP: "LDAP";
|
|
62
|
+
readonly SIMPLE: "SIMPLE";
|
|
63
|
+
};
|
|
64
|
+
/**
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
export type AuthenticationStrategy = (typeof AuthenticationStrategy)[keyof typeof AuthenticationStrategy];
|
|
68
|
+
/**
|
|
69
|
+
* @public
|
|
70
|
+
* @enum
|
|
71
|
+
*/
|
|
72
|
+
export declare const SanitizationWarningReason: {
|
|
73
|
+
readonly DISALLOWED_ATTRIBUTE_REMOVED: "DISALLOWED_ATTRIBUTE_REMOVED";
|
|
74
|
+
readonly DISALLOWED_ELEMENT_REMOVED: "DISALLOWED_ELEMENT_REMOVED";
|
|
75
|
+
readonly INVALID_ATTRIBUTE_VALUE_REMOVED: "INVALID_ATTRIBUTE_VALUE_REMOVED";
|
|
76
|
+
};
|
|
77
|
+
/**
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
export type SanitizationWarningReason = (typeof SanitizationWarningReason)[keyof typeof SanitizationWarningReason];
|
|
81
|
+
/**
|
|
82
|
+
* @public
|
|
83
|
+
* @enum
|
|
84
|
+
*/
|
|
85
|
+
export declare const ChangeType: {
|
|
86
|
+
readonly CREATE: "CREATE";
|
|
87
|
+
readonly DELETE: "DELETE";
|
|
88
|
+
readonly UPDATE: "UPDATE";
|
|
89
|
+
};
|
|
90
|
+
/**
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
export type ChangeType = (typeof ChangeType)[keyof typeof ChangeType];
|
|
94
|
+
/**
|
|
95
|
+
* @public
|
|
96
|
+
* @enum
|
|
97
|
+
*/
|
|
98
|
+
export declare const DataReplicationMode: {
|
|
99
|
+
readonly CRDR: "CRDR";
|
|
100
|
+
readonly NONE: "NONE";
|
|
101
|
+
};
|
|
102
|
+
/**
|
|
103
|
+
* @public
|
|
104
|
+
*/
|
|
105
|
+
export type DataReplicationMode = (typeof DataReplicationMode)[keyof typeof DataReplicationMode];
|
|
106
|
+
/**
|
|
107
|
+
* @public
|
|
108
|
+
* @enum
|
|
109
|
+
*/
|
|
110
|
+
export declare const DayOfWeek: {
|
|
111
|
+
readonly FRIDAY: "FRIDAY";
|
|
112
|
+
readonly MONDAY: "MONDAY";
|
|
113
|
+
readonly SATURDAY: "SATURDAY";
|
|
114
|
+
readonly SUNDAY: "SUNDAY";
|
|
115
|
+
readonly THURSDAY: "THURSDAY";
|
|
116
|
+
readonly TUESDAY: "TUESDAY";
|
|
117
|
+
readonly WEDNESDAY: "WEDNESDAY";
|
|
118
|
+
};
|
|
119
|
+
/**
|
|
120
|
+
* @public
|
|
121
|
+
*/
|
|
122
|
+
export type DayOfWeek = (typeof DayOfWeek)[keyof typeof DayOfWeek];
|
|
123
|
+
/**
|
|
124
|
+
* @public
|
|
125
|
+
* @enum
|
|
126
|
+
*/
|
|
127
|
+
export declare const PromoteMode: {
|
|
128
|
+
readonly FAILOVER: "FAILOVER";
|
|
129
|
+
readonly SWITCHOVER: "SWITCHOVER";
|
|
130
|
+
};
|
|
131
|
+
/**
|
|
132
|
+
* @public
|
|
133
|
+
*/
|
|
134
|
+
export type PromoteMode = (typeof PromoteMode)[keyof typeof PromoteMode];
|