@aws-sdk/client-mq 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.
Files changed (38) hide show
  1. package/dist-cjs/Mq.js +1 -57
  2. package/dist-cjs/MqClient.js +1 -43
  3. package/dist-cjs/commands/CreateBrokerCommand.js +1 -28
  4. package/dist-cjs/commands/CreateConfigurationCommand.js +1 -28
  5. package/dist-cjs/commands/CreateTagsCommand.js +1 -28
  6. package/dist-cjs/commands/CreateUserCommand.js +1 -28
  7. package/dist-cjs/commands/DeleteBrokerCommand.js +1 -28
  8. package/dist-cjs/commands/DeleteTagsCommand.js +1 -28
  9. package/dist-cjs/commands/DeleteUserCommand.js +1 -28
  10. package/dist-cjs/commands/DescribeBrokerCommand.js +1 -28
  11. package/dist-cjs/commands/DescribeBrokerEngineTypesCommand.js +1 -28
  12. package/dist-cjs/commands/DescribeBrokerInstanceOptionsCommand.js +1 -28
  13. package/dist-cjs/commands/DescribeConfigurationCommand.js +1 -28
  14. package/dist-cjs/commands/DescribeConfigurationRevisionCommand.js +1 -28
  15. package/dist-cjs/commands/DescribeUserCommand.js +1 -28
  16. package/dist-cjs/commands/ListBrokersCommand.js +1 -28
  17. package/dist-cjs/commands/ListConfigurationRevisionsCommand.js +1 -28
  18. package/dist-cjs/commands/ListConfigurationsCommand.js +1 -28
  19. package/dist-cjs/commands/ListTagsCommand.js +1 -28
  20. package/dist-cjs/commands/ListUsersCommand.js +1 -28
  21. package/dist-cjs/commands/PromoteCommand.js +1 -28
  22. package/dist-cjs/commands/RebootBrokerCommand.js +1 -28
  23. package/dist-cjs/commands/UpdateBrokerCommand.js +1 -28
  24. package/dist-cjs/commands/UpdateConfigurationCommand.js +1 -28
  25. package/dist-cjs/commands/UpdateUserCommand.js +1 -28
  26. package/dist-cjs/commands/index.js +1 -26
  27. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  28. package/dist-cjs/extensionConfiguration.js +1 -2
  29. package/dist-cjs/index.js +2635 -11
  30. package/dist-cjs/models/MqServiceException.js +1 -12
  31. package/dist-cjs/models/index.js +1 -4
  32. package/dist-cjs/models/models_0.js +1 -147
  33. package/dist-cjs/pagination/Interfaces.js +1 -2
  34. package/dist-cjs/pagination/ListBrokersPaginator.js +1 -7
  35. package/dist-cjs/pagination/index.js +1 -5
  36. package/dist-cjs/protocols/Aws_restJson1.js +1 -1879
  37. package/dist-cjs/runtimeExtensions.js +1 -22
  38. package/package.json +40 -40
@@ -1,12 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MqServiceException = 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 MqServiceException extends smithy_client_1.ServiceException {
7
- constructor(options) {
8
- super(options);
9
- Object.setPrototypeOf(this, MqServiceException.prototype);
10
- }
11
- }
12
- exports.MqServiceException = MqServiceException;
1
+ module.exports = require("../index.js");
@@ -1,4 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./models_0"), exports);
1
+ module.exports = require("../index.js");
@@ -1,147 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PromoteMode = exports.NotFoundException = exports.UnauthorizedException = exports.InternalServerErrorException = exports.ForbiddenException = exports.DayOfWeek = exports.DataReplicationMode = exports.ConflictException = exports.BadRequestException = exports.ChangeType = exports.SanitizationWarningReason = exports.AuthenticationStrategy = exports.BrokerState = exports.DeploymentMode = exports.BrokerStorageType = exports.EngineType = void 0;
4
- const MqServiceException_1 = require("./MqServiceException");
5
- exports.EngineType = {
6
- ACTIVEMQ: "ACTIVEMQ",
7
- RABBITMQ: "RABBITMQ",
8
- };
9
- exports.BrokerStorageType = {
10
- EBS: "EBS",
11
- EFS: "EFS",
12
- };
13
- exports.DeploymentMode = {
14
- ACTIVE_STANDBY_MULTI_AZ: "ACTIVE_STANDBY_MULTI_AZ",
15
- CLUSTER_MULTI_AZ: "CLUSTER_MULTI_AZ",
16
- SINGLE_INSTANCE: "SINGLE_INSTANCE",
17
- };
18
- exports.BrokerState = {
19
- CREATION_FAILED: "CREATION_FAILED",
20
- CREATION_IN_PROGRESS: "CREATION_IN_PROGRESS",
21
- CRITICAL_ACTION_REQUIRED: "CRITICAL_ACTION_REQUIRED",
22
- DELETION_IN_PROGRESS: "DELETION_IN_PROGRESS",
23
- REBOOT_IN_PROGRESS: "REBOOT_IN_PROGRESS",
24
- REPLICA: "REPLICA",
25
- RUNNING: "RUNNING",
26
- };
27
- exports.AuthenticationStrategy = {
28
- LDAP: "LDAP",
29
- SIMPLE: "SIMPLE",
30
- };
31
- exports.SanitizationWarningReason = {
32
- DISALLOWED_ATTRIBUTE_REMOVED: "DISALLOWED_ATTRIBUTE_REMOVED",
33
- DISALLOWED_ELEMENT_REMOVED: "DISALLOWED_ELEMENT_REMOVED",
34
- INVALID_ATTRIBUTE_VALUE_REMOVED: "INVALID_ATTRIBUTE_VALUE_REMOVED",
35
- };
36
- exports.ChangeType = {
37
- CREATE: "CREATE",
38
- DELETE: "DELETE",
39
- UPDATE: "UPDATE",
40
- };
41
- class BadRequestException extends MqServiceException_1.MqServiceException {
42
- constructor(opts) {
43
- super({
44
- name: "BadRequestException",
45
- $fault: "client",
46
- ...opts,
47
- });
48
- this.name = "BadRequestException";
49
- this.$fault = "client";
50
- Object.setPrototypeOf(this, BadRequestException.prototype);
51
- this.ErrorAttribute = opts.ErrorAttribute;
52
- this.Message = opts.Message;
53
- }
54
- }
55
- exports.BadRequestException = BadRequestException;
56
- class ConflictException extends MqServiceException_1.MqServiceException {
57
- constructor(opts) {
58
- super({
59
- name: "ConflictException",
60
- $fault: "client",
61
- ...opts,
62
- });
63
- this.name = "ConflictException";
64
- this.$fault = "client";
65
- Object.setPrototypeOf(this, ConflictException.prototype);
66
- this.ErrorAttribute = opts.ErrorAttribute;
67
- this.Message = opts.Message;
68
- }
69
- }
70
- exports.ConflictException = ConflictException;
71
- exports.DataReplicationMode = {
72
- CRDR: "CRDR",
73
- NONE: "NONE",
74
- };
75
- exports.DayOfWeek = {
76
- FRIDAY: "FRIDAY",
77
- MONDAY: "MONDAY",
78
- SATURDAY: "SATURDAY",
79
- SUNDAY: "SUNDAY",
80
- THURSDAY: "THURSDAY",
81
- TUESDAY: "TUESDAY",
82
- WEDNESDAY: "WEDNESDAY",
83
- };
84
- class ForbiddenException extends MqServiceException_1.MqServiceException {
85
- constructor(opts) {
86
- super({
87
- name: "ForbiddenException",
88
- $fault: "client",
89
- ...opts,
90
- });
91
- this.name = "ForbiddenException";
92
- this.$fault = "client";
93
- Object.setPrototypeOf(this, ForbiddenException.prototype);
94
- this.ErrorAttribute = opts.ErrorAttribute;
95
- this.Message = opts.Message;
96
- }
97
- }
98
- exports.ForbiddenException = ForbiddenException;
99
- class InternalServerErrorException extends MqServiceException_1.MqServiceException {
100
- constructor(opts) {
101
- super({
102
- name: "InternalServerErrorException",
103
- $fault: "server",
104
- ...opts,
105
- });
106
- this.name = "InternalServerErrorException";
107
- this.$fault = "server";
108
- Object.setPrototypeOf(this, InternalServerErrorException.prototype);
109
- this.ErrorAttribute = opts.ErrorAttribute;
110
- this.Message = opts.Message;
111
- }
112
- }
113
- exports.InternalServerErrorException = InternalServerErrorException;
114
- class UnauthorizedException extends MqServiceException_1.MqServiceException {
115
- constructor(opts) {
116
- super({
117
- name: "UnauthorizedException",
118
- $fault: "client",
119
- ...opts,
120
- });
121
- this.name = "UnauthorizedException";
122
- this.$fault = "client";
123
- Object.setPrototypeOf(this, UnauthorizedException.prototype);
124
- this.ErrorAttribute = opts.ErrorAttribute;
125
- this.Message = opts.Message;
126
- }
127
- }
128
- exports.UnauthorizedException = UnauthorizedException;
129
- class NotFoundException extends MqServiceException_1.MqServiceException {
130
- constructor(opts) {
131
- super({
132
- name: "NotFoundException",
133
- $fault: "client",
134
- ...opts,
135
- });
136
- this.name = "NotFoundException";
137
- this.$fault = "client";
138
- Object.setPrototypeOf(this, NotFoundException.prototype);
139
- this.ErrorAttribute = opts.ErrorAttribute;
140
- this.Message = opts.Message;
141
- }
142
- }
143
- exports.NotFoundException = NotFoundException;
144
- exports.PromoteMode = {
145
- FAILOVER: "FAILOVER",
146
- SWITCHOVER: "SWITCHOVER",
147
- };
1
+ module.exports = require("../index.js");
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListBrokers = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListBrokersCommand_1 = require("../commands/ListBrokersCommand");
6
- const MqClient_1 = require("../MqClient");
7
- exports.paginateListBrokers = (0, core_1.createPaginator)(MqClient_1.MqClient, ListBrokersCommand_1.ListBrokersCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,5 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./Interfaces"), exports);
5
- tslib_1.__exportStar(require("./ListBrokersPaginator"), exports);
1
+ module.exports = require("../index.js");