@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.
@@ -0,0 +1,134 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { MqServiceException as __BaseException } from "./MqServiceException";
3
+ /**
4
+ * <p>Returns information about an error.</p>
5
+ * @public
6
+ */
7
+ export declare class BadRequestException extends __BaseException {
8
+ readonly name: "BadRequestException";
9
+ readonly $fault: "client";
10
+ /**
11
+ * <p>The attribute which caused the error.</p>
12
+ * @public
13
+ */
14
+ ErrorAttribute?: string | undefined;
15
+ /**
16
+ * <p>The explanation of the error.</p>
17
+ * @public
18
+ */
19
+ Message?: string | undefined;
20
+ /**
21
+ * @internal
22
+ */
23
+ constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
24
+ }
25
+ /**
26
+ * <p>Returns information about an error.</p>
27
+ * @public
28
+ */
29
+ export declare class ConflictException extends __BaseException {
30
+ readonly name: "ConflictException";
31
+ readonly $fault: "client";
32
+ /**
33
+ * <p>The attribute which caused the error.</p>
34
+ * @public
35
+ */
36
+ ErrorAttribute?: string | undefined;
37
+ /**
38
+ * <p>The explanation of the error.</p>
39
+ * @public
40
+ */
41
+ Message?: string | undefined;
42
+ /**
43
+ * @internal
44
+ */
45
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
46
+ }
47
+ /**
48
+ * <p>Returns information about an error.</p>
49
+ * @public
50
+ */
51
+ export declare class ForbiddenException extends __BaseException {
52
+ readonly name: "ForbiddenException";
53
+ readonly $fault: "client";
54
+ /**
55
+ * <p>The attribute which caused the error.</p>
56
+ * @public
57
+ */
58
+ ErrorAttribute?: string | undefined;
59
+ /**
60
+ * <p>The explanation of the error.</p>
61
+ * @public
62
+ */
63
+ Message?: string | undefined;
64
+ /**
65
+ * @internal
66
+ */
67
+ constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
68
+ }
69
+ /**
70
+ * <p>Returns information about an error.</p>
71
+ * @public
72
+ */
73
+ export declare class InternalServerErrorException extends __BaseException {
74
+ readonly name: "InternalServerErrorException";
75
+ readonly $fault: "server";
76
+ /**
77
+ * <p>The attribute which caused the error.</p>
78
+ * @public
79
+ */
80
+ ErrorAttribute?: string | undefined;
81
+ /**
82
+ * <p>The explanation of the error.</p>
83
+ * @public
84
+ */
85
+ Message?: string | undefined;
86
+ /**
87
+ * @internal
88
+ */
89
+ constructor(opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>);
90
+ }
91
+ /**
92
+ * <p>Returns information about an error.</p>
93
+ * @public
94
+ */
95
+ export declare class UnauthorizedException extends __BaseException {
96
+ readonly name: "UnauthorizedException";
97
+ readonly $fault: "client";
98
+ /**
99
+ * <p>The attribute which caused the error.</p>
100
+ * @public
101
+ */
102
+ ErrorAttribute?: string | undefined;
103
+ /**
104
+ * <p>The explanation of the error.</p>
105
+ * @public
106
+ */
107
+ Message?: string | undefined;
108
+ /**
109
+ * @internal
110
+ */
111
+ constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
112
+ }
113
+ /**
114
+ * <p>Returns information about an error.</p>
115
+ * @public
116
+ */
117
+ export declare class NotFoundException extends __BaseException {
118
+ readonly name: "NotFoundException";
119
+ readonly $fault: "client";
120
+ /**
121
+ * <p>The attribute which caused the error.</p>
122
+ * @public
123
+ */
124
+ ErrorAttribute?: string | undefined;
125
+ /**
126
+ * <p>The explanation of the error.</p>
127
+ * @public
128
+ */
129
+ Message?: string | undefined;
130
+ /**
131
+ * @internal
132
+ */
133
+ constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
134
+ }
@@ -1,5 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { MqServiceException as __BaseException } from "./MqServiceException";
1
+ import { AuthenticationStrategy, BrokerState, BrokerStorageType, ChangeType, DataReplicationMode, DayOfWeek, DeploymentMode, EngineType, PromoteMode, SanitizationWarningReason } from "./enums";
3
2
  /**
4
3
  * <p>Action required for a broker.</p>
5
4
  * @public
@@ -27,18 +26,6 @@ export interface AvailabilityZone {
27
26
  */
28
27
  Name?: string | undefined;
29
28
  }
30
- /**
31
- * @public
32
- * @enum
33
- */
34
- export declare const EngineType: {
35
- readonly ACTIVEMQ: "ACTIVEMQ";
36
- readonly RABBITMQ: "RABBITMQ";
37
- };
38
- /**
39
- * @public
40
- */
41
- export type EngineType = (typeof EngineType)[keyof typeof EngineType];
42
29
  /**
43
30
  * <p>Id of the engine version.</p>
44
31
  * @public
@@ -87,31 +74,6 @@ export interface BrokerInstance {
87
74
  */
88
75
  IpAddress?: string | undefined;
89
76
  }
90
- /**
91
- * @public
92
- * @enum
93
- */
94
- export declare const BrokerStorageType: {
95
- readonly EBS: "EBS";
96
- readonly EFS: "EFS";
97
- };
98
- /**
99
- * @public
100
- */
101
- export type BrokerStorageType = (typeof BrokerStorageType)[keyof typeof BrokerStorageType];
102
- /**
103
- * @public
104
- * @enum
105
- */
106
- export declare const DeploymentMode: {
107
- readonly ACTIVE_STANDBY_MULTI_AZ: "ACTIVE_STANDBY_MULTI_AZ";
108
- readonly CLUSTER_MULTI_AZ: "CLUSTER_MULTI_AZ";
109
- readonly SINGLE_INSTANCE: "SINGLE_INSTANCE";
110
- };
111
- /**
112
- * @public
113
- */
114
- export type DeploymentMode = (typeof DeploymentMode)[keyof typeof DeploymentMode];
115
77
  /**
116
78
  * <p>Option for host instance type.</p>
117
79
  * @public
@@ -148,23 +110,6 @@ export interface BrokerInstanceOption {
148
110
  */
149
111
  SupportedEngineVersions?: string[] | undefined;
150
112
  }
151
- /**
152
- * @public
153
- * @enum
154
- */
155
- export declare const BrokerState: {
156
- readonly CREATION_FAILED: "CREATION_FAILED";
157
- readonly CREATION_IN_PROGRESS: "CREATION_IN_PROGRESS";
158
- readonly CRITICAL_ACTION_REQUIRED: "CRITICAL_ACTION_REQUIRED";
159
- readonly DELETION_IN_PROGRESS: "DELETION_IN_PROGRESS";
160
- readonly REBOOT_IN_PROGRESS: "REBOOT_IN_PROGRESS";
161
- readonly REPLICA: "REPLICA";
162
- readonly RUNNING: "RUNNING";
163
- };
164
- /**
165
- * @public
166
- */
167
- export type BrokerState = (typeof BrokerState)[keyof typeof BrokerState];
168
113
  /**
169
114
  * <p>Returns information about all brokers.</p>
170
115
  * @public
@@ -211,19 +156,6 @@ export interface BrokerSummary {
211
156
  */
212
157
  HostInstanceType?: string | undefined;
213
158
  }
214
- /**
215
- * @public
216
- * @enum
217
- */
218
- export declare const AuthenticationStrategy: {
219
- readonly CONFIG_MANAGED: "CONFIG_MANAGED";
220
- readonly LDAP: "LDAP";
221
- readonly SIMPLE: "SIMPLE";
222
- };
223
- /**
224
- * @public
225
- */
226
- export type AuthenticationStrategy = (typeof AuthenticationStrategy)[keyof typeof AuthenticationStrategy];
227
159
  /**
228
160
  * <p>Returns information about the specified configuration revision.</p>
229
161
  * @public
@@ -317,19 +249,6 @@ export interface ConfigurationId {
317
249
  */
318
250
  Revision?: number | undefined;
319
251
  }
320
- /**
321
- * @public
322
- * @enum
323
- */
324
- export declare const SanitizationWarningReason: {
325
- readonly DISALLOWED_ATTRIBUTE_REMOVED: "DISALLOWED_ATTRIBUTE_REMOVED";
326
- readonly DISALLOWED_ELEMENT_REMOVED: "DISALLOWED_ELEMENT_REMOVED";
327
- readonly INVALID_ATTRIBUTE_VALUE_REMOVED: "INVALID_ATTRIBUTE_VALUE_REMOVED";
328
- };
329
- /**
330
- * @public
331
- */
332
- export type SanitizationWarningReason = (typeof SanitizationWarningReason)[keyof typeof SanitizationWarningReason];
333
252
  /**
334
253
  * <p>Returns information about the configuration element or attribute that was sanitized in the configuration.</p>
335
254
  * @public
@@ -382,19 +301,6 @@ export interface User {
382
301
  */
383
302
  ReplicationUser?: boolean | undefined;
384
303
  }
385
- /**
386
- * @public
387
- * @enum
388
- */
389
- export declare const ChangeType: {
390
- readonly CREATE: "CREATE";
391
- readonly DELETE: "DELETE";
392
- readonly UPDATE: "UPDATE";
393
- };
394
- /**
395
- * @public
396
- */
397
- export type ChangeType = (typeof ChangeType)[keyof typeof ChangeType];
398
304
  /**
399
305
  * <p>Returns a list of all broker users. Does not apply to RabbitMQ brokers.</p>
400
306
  * @public
@@ -411,28 +317,6 @@ export interface UserSummary {
411
317
  */
412
318
  Username: string | undefined;
413
319
  }
414
- /**
415
- * <p>Returns information about an error.</p>
416
- * @public
417
- */
418
- export declare class BadRequestException extends __BaseException {
419
- readonly name: "BadRequestException";
420
- readonly $fault: "client";
421
- /**
422
- * <p>The attribute which caused the error.</p>
423
- * @public
424
- */
425
- ErrorAttribute?: string | undefined;
426
- /**
427
- * <p>The explanation of the error.</p>
428
- * @public
429
- */
430
- Message?: string | undefined;
431
- /**
432
- * @internal
433
- */
434
- constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
435
- }
436
320
  /**
437
321
  * <p>Broker configuration information</p>
438
322
  * @public
@@ -454,40 +338,6 @@ export interface Configurations {
454
338
  */
455
339
  Pending?: ConfigurationId | undefined;
456
340
  }
457
- /**
458
- * <p>Returns information about an error.</p>
459
- * @public
460
- */
461
- export declare class ConflictException extends __BaseException {
462
- readonly name: "ConflictException";
463
- readonly $fault: "client";
464
- /**
465
- * <p>The attribute which caused the error.</p>
466
- * @public
467
- */
468
- ErrorAttribute?: string | undefined;
469
- /**
470
- * <p>The explanation of the error.</p>
471
- * @public
472
- */
473
- Message?: string | undefined;
474
- /**
475
- * @internal
476
- */
477
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
478
- }
479
- /**
480
- * @public
481
- * @enum
482
- */
483
- export declare const DataReplicationMode: {
484
- readonly CRDR: "CRDR";
485
- readonly NONE: "NONE";
486
- };
487
- /**
488
- * @public
489
- */
490
- export type DataReplicationMode = (typeof DataReplicationMode)[keyof typeof DataReplicationMode];
491
341
  /**
492
342
  * <p>Encryption options for the broker.</p>
493
343
  * @public
@@ -586,23 +436,6 @@ export interface Logs {
586
436
  */
587
437
  General?: boolean | undefined;
588
438
  }
589
- /**
590
- * @public
591
- * @enum
592
- */
593
- export declare const DayOfWeek: {
594
- readonly FRIDAY: "FRIDAY";
595
- readonly MONDAY: "MONDAY";
596
- readonly SATURDAY: "SATURDAY";
597
- readonly SUNDAY: "SUNDAY";
598
- readonly THURSDAY: "THURSDAY";
599
- readonly TUESDAY: "TUESDAY";
600
- readonly WEDNESDAY: "WEDNESDAY";
601
- };
602
- /**
603
- * @public
604
- */
605
- export type DayOfWeek = (typeof DayOfWeek)[keyof typeof DayOfWeek];
606
439
  /**
607
440
  * <p>The scheduled time period relative to UTC during which Amazon MQ begins to apply pending updates or patches to the broker.</p>
608
441
  * @public
@@ -750,72 +583,6 @@ export interface CreateBrokerResponse {
750
583
  */
751
584
  BrokerId?: string | undefined;
752
585
  }
753
- /**
754
- * <p>Returns information about an error.</p>
755
- * @public
756
- */
757
- export declare class ForbiddenException extends __BaseException {
758
- readonly name: "ForbiddenException";
759
- readonly $fault: "client";
760
- /**
761
- * <p>The attribute which caused the error.</p>
762
- * @public
763
- */
764
- ErrorAttribute?: string | undefined;
765
- /**
766
- * <p>The explanation of the error.</p>
767
- * @public
768
- */
769
- Message?: string | undefined;
770
- /**
771
- * @internal
772
- */
773
- constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
774
- }
775
- /**
776
- * <p>Returns information about an error.</p>
777
- * @public
778
- */
779
- export declare class InternalServerErrorException extends __BaseException {
780
- readonly name: "InternalServerErrorException";
781
- readonly $fault: "server";
782
- /**
783
- * <p>The attribute which caused the error.</p>
784
- * @public
785
- */
786
- ErrorAttribute?: string | undefined;
787
- /**
788
- * <p>The explanation of the error.</p>
789
- * @public
790
- */
791
- Message?: string | undefined;
792
- /**
793
- * @internal
794
- */
795
- constructor(opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>);
796
- }
797
- /**
798
- * <p>Returns information about an error.</p>
799
- * @public
800
- */
801
- export declare class UnauthorizedException extends __BaseException {
802
- readonly name: "UnauthorizedException";
803
- readonly $fault: "client";
804
- /**
805
- * <p>The attribute which caused the error.</p>
806
- * @public
807
- */
808
- ErrorAttribute?: string | undefined;
809
- /**
810
- * <p>The explanation of the error.</p>
811
- * @public
812
- */
813
- Message?: string | undefined;
814
- /**
815
- * @internal
816
- */
817
- constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
818
- }
819
586
  /**
820
587
  * <p>Creates a new configuration for the specified configuration name. Amazon MQ uses the default configuration (the engine type and version).</p>
821
588
  * @public
@@ -898,28 +665,6 @@ export interface CreateTagsRequest {
898
665
  */
899
666
  Tags?: Record<string, string> | undefined;
900
667
  }
901
- /**
902
- * <p>Returns information about an error.</p>
903
- * @public
904
- */
905
- export declare class NotFoundException extends __BaseException {
906
- readonly name: "NotFoundException";
907
- readonly $fault: "client";
908
- /**
909
- * <p>The attribute which caused the error.</p>
910
- * @public
911
- */
912
- ErrorAttribute?: string | undefined;
913
- /**
914
- * <p>The explanation of the error.</p>
915
- * @public
916
- */
917
- Message?: string | undefined;
918
- /**
919
- * @internal
920
- */
921
- constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
922
- }
923
668
  /**
924
669
  * <p>Creates a new ActiveMQ user.</p>
925
670
  * @public
@@ -1796,18 +1541,6 @@ export interface ListUsersResponse {
1796
1541
  */
1797
1542
  Users?: UserSummary[] | undefined;
1798
1543
  }
1799
- /**
1800
- * @public
1801
- * @enum
1802
- */
1803
- export declare const PromoteMode: {
1804
- readonly FAILOVER: "FAILOVER";
1805
- readonly SWITCHOVER: "SWITCHOVER";
1806
- };
1807
- /**
1808
- * @public
1809
- */
1810
- export type PromoteMode = (typeof PromoteMode)[keyof typeof PromoteMode];
1811
1544
  /**
1812
1545
  * <p>Promotes a data replication replica broker to the primary broker role.</p>
1813
1546
  * @public
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { MqExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
- export * from "./models";
8
+ export * from "./models/enums";
9
+ export * from "./models/errors";
10
+ export * from "./models/models_0";
9
11
  export { MqServiceException } from "./models/MqServiceException";
@@ -0,0 +1,69 @@
1
+ export declare const EngineType: {
2
+ readonly ACTIVEMQ: "ACTIVEMQ";
3
+ readonly RABBITMQ: "RABBITMQ";
4
+ };
5
+ export type EngineType = (typeof EngineType)[keyof typeof EngineType];
6
+ export declare const BrokerStorageType: {
7
+ readonly EBS: "EBS";
8
+ readonly EFS: "EFS";
9
+ };
10
+ export type BrokerStorageType =
11
+ (typeof BrokerStorageType)[keyof typeof BrokerStorageType];
12
+ export declare const DeploymentMode: {
13
+ readonly ACTIVE_STANDBY_MULTI_AZ: "ACTIVE_STANDBY_MULTI_AZ";
14
+ readonly CLUSTER_MULTI_AZ: "CLUSTER_MULTI_AZ";
15
+ readonly SINGLE_INSTANCE: "SINGLE_INSTANCE";
16
+ };
17
+ export type DeploymentMode =
18
+ (typeof DeploymentMode)[keyof typeof DeploymentMode];
19
+ export declare const BrokerState: {
20
+ readonly CREATION_FAILED: "CREATION_FAILED";
21
+ readonly CREATION_IN_PROGRESS: "CREATION_IN_PROGRESS";
22
+ readonly CRITICAL_ACTION_REQUIRED: "CRITICAL_ACTION_REQUIRED";
23
+ readonly DELETION_IN_PROGRESS: "DELETION_IN_PROGRESS";
24
+ readonly REBOOT_IN_PROGRESS: "REBOOT_IN_PROGRESS";
25
+ readonly REPLICA: "REPLICA";
26
+ readonly RUNNING: "RUNNING";
27
+ };
28
+ export type BrokerState = (typeof BrokerState)[keyof typeof BrokerState];
29
+ export declare const AuthenticationStrategy: {
30
+ readonly CONFIG_MANAGED: "CONFIG_MANAGED";
31
+ readonly LDAP: "LDAP";
32
+ readonly SIMPLE: "SIMPLE";
33
+ };
34
+ export type AuthenticationStrategy =
35
+ (typeof AuthenticationStrategy)[keyof typeof AuthenticationStrategy];
36
+ export declare const SanitizationWarningReason: {
37
+ readonly DISALLOWED_ATTRIBUTE_REMOVED: "DISALLOWED_ATTRIBUTE_REMOVED";
38
+ readonly DISALLOWED_ELEMENT_REMOVED: "DISALLOWED_ELEMENT_REMOVED";
39
+ readonly INVALID_ATTRIBUTE_VALUE_REMOVED: "INVALID_ATTRIBUTE_VALUE_REMOVED";
40
+ };
41
+ export type SanitizationWarningReason =
42
+ (typeof SanitizationWarningReason)[keyof typeof SanitizationWarningReason];
43
+ export declare const ChangeType: {
44
+ readonly CREATE: "CREATE";
45
+ readonly DELETE: "DELETE";
46
+ readonly UPDATE: "UPDATE";
47
+ };
48
+ export type ChangeType = (typeof ChangeType)[keyof typeof ChangeType];
49
+ export declare const DataReplicationMode: {
50
+ readonly CRDR: "CRDR";
51
+ readonly NONE: "NONE";
52
+ };
53
+ export type DataReplicationMode =
54
+ (typeof DataReplicationMode)[keyof typeof DataReplicationMode];
55
+ export declare const DayOfWeek: {
56
+ readonly FRIDAY: "FRIDAY";
57
+ readonly MONDAY: "MONDAY";
58
+ readonly SATURDAY: "SATURDAY";
59
+ readonly SUNDAY: "SUNDAY";
60
+ readonly THURSDAY: "THURSDAY";
61
+ readonly TUESDAY: "TUESDAY";
62
+ readonly WEDNESDAY: "WEDNESDAY";
63
+ };
64
+ export type DayOfWeek = (typeof DayOfWeek)[keyof typeof DayOfWeek];
65
+ export declare const PromoteMode: {
66
+ readonly FAILOVER: "FAILOVER";
67
+ readonly SWITCHOVER: "SWITCHOVER";
68
+ };
69
+ export type PromoteMode = (typeof PromoteMode)[keyof typeof PromoteMode];
@@ -0,0 +1,50 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { MqServiceException as __BaseException } from "./MqServiceException";
3
+ export declare class BadRequestException extends __BaseException {
4
+ readonly name: "BadRequestException";
5
+ readonly $fault: "client";
6
+ ErrorAttribute?: string | undefined;
7
+ Message?: string | undefined;
8
+ constructor(
9
+ opts: __ExceptionOptionType<BadRequestException, __BaseException>
10
+ );
11
+ }
12
+ export declare class ConflictException extends __BaseException {
13
+ readonly name: "ConflictException";
14
+ readonly $fault: "client";
15
+ ErrorAttribute?: string | undefined;
16
+ Message?: string | undefined;
17
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
18
+ }
19
+ export declare class ForbiddenException extends __BaseException {
20
+ readonly name: "ForbiddenException";
21
+ readonly $fault: "client";
22
+ ErrorAttribute?: string | undefined;
23
+ Message?: string | undefined;
24
+ constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
25
+ }
26
+ export declare class InternalServerErrorException extends __BaseException {
27
+ readonly name: "InternalServerErrorException";
28
+ readonly $fault: "server";
29
+ ErrorAttribute?: string | undefined;
30
+ Message?: string | undefined;
31
+ constructor(
32
+ opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>
33
+ );
34
+ }
35
+ export declare class UnauthorizedException extends __BaseException {
36
+ readonly name: "UnauthorizedException";
37
+ readonly $fault: "client";
38
+ ErrorAttribute?: string | undefined;
39
+ Message?: string | undefined;
40
+ constructor(
41
+ opts: __ExceptionOptionType<UnauthorizedException, __BaseException>
42
+ );
43
+ }
44
+ export declare class NotFoundException extends __BaseException {
45
+ readonly name: "NotFoundException";
46
+ readonly $fault: "client";
47
+ ErrorAttribute?: string | undefined;
48
+ Message?: string | undefined;
49
+ constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
50
+ }