@aws-sdk/client-mq 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.
@@ -1,5 +1,15 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { MqServiceException as __BaseException } from "./MqServiceException";
1
+ import {
2
+ AuthenticationStrategy,
3
+ BrokerState,
4
+ BrokerStorageType,
5
+ ChangeType,
6
+ DataReplicationMode,
7
+ DayOfWeek,
8
+ DeploymentMode,
9
+ EngineType,
10
+ PromoteMode,
11
+ SanitizationWarningReason,
12
+ } from "./enums";
3
13
  export interface ActionRequired {
4
14
  ActionRequiredCode?: string | undefined;
5
15
  ActionRequiredInfo?: string | undefined;
@@ -7,11 +17,6 @@ export interface ActionRequired {
7
17
  export interface AvailabilityZone {
8
18
  Name?: string | undefined;
9
19
  }
10
- export declare const EngineType: {
11
- readonly ACTIVEMQ: "ACTIVEMQ";
12
- readonly RABBITMQ: "RABBITMQ";
13
- };
14
- export type EngineType = (typeof EngineType)[keyof typeof EngineType];
15
20
  export interface EngineVersion {
16
21
  Name?: string | undefined;
17
22
  }
@@ -24,19 +29,6 @@ export interface BrokerInstance {
24
29
  Endpoints?: string[] | undefined;
25
30
  IpAddress?: string | undefined;
26
31
  }
27
- export declare const BrokerStorageType: {
28
- readonly EBS: "EBS";
29
- readonly EFS: "EFS";
30
- };
31
- export type BrokerStorageType =
32
- (typeof BrokerStorageType)[keyof typeof BrokerStorageType];
33
- export declare const DeploymentMode: {
34
- readonly ACTIVE_STANDBY_MULTI_AZ: "ACTIVE_STANDBY_MULTI_AZ";
35
- readonly CLUSTER_MULTI_AZ: "CLUSTER_MULTI_AZ";
36
- readonly SINGLE_INSTANCE: "SINGLE_INSTANCE";
37
- };
38
- export type DeploymentMode =
39
- (typeof DeploymentMode)[keyof typeof DeploymentMode];
40
32
  export interface BrokerInstanceOption {
41
33
  AvailabilityZones?: AvailabilityZone[] | undefined;
42
34
  EngineType?: EngineType | undefined;
@@ -45,16 +37,6 @@ export interface BrokerInstanceOption {
45
37
  SupportedDeploymentModes?: DeploymentMode[] | undefined;
46
38
  SupportedEngineVersions?: string[] | undefined;
47
39
  }
48
- export declare const BrokerState: {
49
- readonly CREATION_FAILED: "CREATION_FAILED";
50
- readonly CREATION_IN_PROGRESS: "CREATION_IN_PROGRESS";
51
- readonly CRITICAL_ACTION_REQUIRED: "CRITICAL_ACTION_REQUIRED";
52
- readonly DELETION_IN_PROGRESS: "DELETION_IN_PROGRESS";
53
- readonly REBOOT_IN_PROGRESS: "REBOOT_IN_PROGRESS";
54
- readonly REPLICA: "REPLICA";
55
- readonly RUNNING: "RUNNING";
56
- };
57
- export type BrokerState = (typeof BrokerState)[keyof typeof BrokerState];
58
40
  export interface BrokerSummary {
59
41
  BrokerArn?: string | undefined;
60
42
  BrokerId?: string | undefined;
@@ -65,13 +47,6 @@ export interface BrokerSummary {
65
47
  EngineType: EngineType | undefined;
66
48
  HostInstanceType?: string | undefined;
67
49
  }
68
- export declare const AuthenticationStrategy: {
69
- readonly CONFIG_MANAGED: "CONFIG_MANAGED";
70
- readonly LDAP: "LDAP";
71
- readonly SIMPLE: "SIMPLE";
72
- };
73
- export type AuthenticationStrategy =
74
- (typeof AuthenticationStrategy)[keyof typeof AuthenticationStrategy];
75
50
  export interface ConfigurationRevision {
76
51
  Created: Date | undefined;
77
52
  Description?: string | undefined;
@@ -93,13 +68,6 @@ export interface ConfigurationId {
93
68
  Id: string | undefined;
94
69
  Revision?: number | undefined;
95
70
  }
96
- export declare const SanitizationWarningReason: {
97
- readonly DISALLOWED_ATTRIBUTE_REMOVED: "DISALLOWED_ATTRIBUTE_REMOVED";
98
- readonly DISALLOWED_ELEMENT_REMOVED: "DISALLOWED_ELEMENT_REMOVED";
99
- readonly INVALID_ATTRIBUTE_VALUE_REMOVED: "INVALID_ATTRIBUTE_VALUE_REMOVED";
100
- };
101
- export type SanitizationWarningReason =
102
- (typeof SanitizationWarningReason)[keyof typeof SanitizationWarningReason];
103
71
  export interface SanitizationWarning {
104
72
  AttributeName?: string | undefined;
105
73
  ElementName?: string | undefined;
@@ -112,43 +80,15 @@ export interface User {
112
80
  Username: string | undefined;
113
81
  ReplicationUser?: boolean | undefined;
114
82
  }
115
- export declare const ChangeType: {
116
- readonly CREATE: "CREATE";
117
- readonly DELETE: "DELETE";
118
- readonly UPDATE: "UPDATE";
119
- };
120
- export type ChangeType = (typeof ChangeType)[keyof typeof ChangeType];
121
83
  export interface UserSummary {
122
84
  PendingChange?: ChangeType | undefined;
123
85
  Username: string | undefined;
124
86
  }
125
- export declare class BadRequestException extends __BaseException {
126
- readonly name: "BadRequestException";
127
- readonly $fault: "client";
128
- ErrorAttribute?: string | undefined;
129
- Message?: string | undefined;
130
- constructor(
131
- opts: __ExceptionOptionType<BadRequestException, __BaseException>
132
- );
133
- }
134
87
  export interface Configurations {
135
88
  Current?: ConfigurationId | undefined;
136
89
  History?: ConfigurationId[] | undefined;
137
90
  Pending?: ConfigurationId | undefined;
138
91
  }
139
- export declare class ConflictException extends __BaseException {
140
- readonly name: "ConflictException";
141
- readonly $fault: "client";
142
- ErrorAttribute?: string | undefined;
143
- Message?: string | undefined;
144
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
145
- }
146
- export declare const DataReplicationMode: {
147
- readonly CRDR: "CRDR";
148
- readonly NONE: "NONE";
149
- };
150
- export type DataReplicationMode =
151
- (typeof DataReplicationMode)[keyof typeof DataReplicationMode];
152
92
  export interface EncryptionOptions {
153
93
  KmsKeyId?: string | undefined;
154
94
  UseAwsOwnedKey: boolean | undefined;
@@ -170,16 +110,6 @@ export interface Logs {
170
110
  Audit?: boolean | undefined;
171
111
  General?: boolean | undefined;
172
112
  }
173
- export declare const DayOfWeek: {
174
- readonly FRIDAY: "FRIDAY";
175
- readonly MONDAY: "MONDAY";
176
- readonly SATURDAY: "SATURDAY";
177
- readonly SUNDAY: "SUNDAY";
178
- readonly THURSDAY: "THURSDAY";
179
- readonly TUESDAY: "TUESDAY";
180
- readonly WEDNESDAY: "WEDNESDAY";
181
- };
182
- export type DayOfWeek = (typeof DayOfWeek)[keyof typeof DayOfWeek];
183
113
  export interface WeeklyStartTime {
184
114
  DayOfWeek: DayOfWeek | undefined;
185
115
  TimeOfDay: string | undefined;
@@ -212,31 +142,6 @@ export interface CreateBrokerResponse {
212
142
  BrokerArn?: string | undefined;
213
143
  BrokerId?: string | undefined;
214
144
  }
215
- export declare class ForbiddenException extends __BaseException {
216
- readonly name: "ForbiddenException";
217
- readonly $fault: "client";
218
- ErrorAttribute?: string | undefined;
219
- Message?: string | undefined;
220
- constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
221
- }
222
- export declare class InternalServerErrorException extends __BaseException {
223
- readonly name: "InternalServerErrorException";
224
- readonly $fault: "server";
225
- ErrorAttribute?: string | undefined;
226
- Message?: string | undefined;
227
- constructor(
228
- opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>
229
- );
230
- }
231
- export declare class UnauthorizedException extends __BaseException {
232
- readonly name: "UnauthorizedException";
233
- readonly $fault: "client";
234
- ErrorAttribute?: string | undefined;
235
- Message?: string | undefined;
236
- constructor(
237
- opts: __ExceptionOptionType<UnauthorizedException, __BaseException>
238
- );
239
- }
240
145
  export interface CreateConfigurationRequest {
241
146
  AuthenticationStrategy?: AuthenticationStrategy | undefined;
242
147
  EngineType: EngineType | undefined;
@@ -256,13 +161,6 @@ export interface CreateTagsRequest {
256
161
  ResourceArn: string | undefined;
257
162
  Tags?: Record<string, string> | undefined;
258
163
  }
259
- export declare class NotFoundException extends __BaseException {
260
- readonly name: "NotFoundException";
261
- readonly $fault: "client";
262
- ErrorAttribute?: string | undefined;
263
- Message?: string | undefined;
264
- constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
265
- }
266
164
  export interface CreateUserRequest {
267
165
  BrokerId: string | undefined;
268
166
  ConsoleAccess?: boolean | undefined;
@@ -471,11 +369,6 @@ export interface ListUsersResponse {
471
369
  NextToken?: string | undefined;
472
370
  Users?: UserSummary[] | undefined;
473
371
  }
474
- export declare const PromoteMode: {
475
- readonly FAILOVER: "FAILOVER";
476
- readonly SWITCHOVER: "SWITCHOVER";
477
- };
478
- export type PromoteMode = (typeof PromoteMode)[keyof typeof PromoteMode];
479
372
  export interface PromoteRequest {
480
373
  BrokerId: string | undefined;
481
374
  Mode: PromoteMode | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-mq",
3
3
  "description": "AWS SDK for JavaScript Mq Client for Node.js, Browser and React Native",
4
- "version": "3.933.0",
4
+ "version": "3.935.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-mq",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.932.0",
24
- "@aws-sdk/credential-provider-node": "3.933.0",
23
+ "@aws-sdk/core": "3.935.0",
24
+ "@aws-sdk/credential-provider-node": "3.935.0",
25
25
  "@aws-sdk/middleware-host-header": "3.930.0",
26
26
  "@aws-sdk/middleware-logger": "3.930.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.932.0",
28
+ "@aws-sdk/middleware-user-agent": "3.935.0",
29
29
  "@aws-sdk/region-config-resolver": "3.930.0",
30
30
  "@aws-sdk/types": "3.930.0",
31
31
  "@aws-sdk/util-endpoints": "3.930.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.932.0",
33
+ "@aws-sdk/util-user-agent-node": "3.935.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";