@aws-sdk/client-mq 3.1070.0 → 3.1071.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/README.md +7 -0
- package/dist-cjs/index.js +43 -1
- package/dist-cjs/models/errors.js +12 -0
- package/dist-cjs/schemas/schemas_0.js +85 -16
- package/dist-es/Mq.js +4 -0
- package/dist-es/commands/DescribeSharedResourcesCommand.js +16 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/enums.js +21 -0
- package/dist-es/models/errors.js +12 -0
- package/dist-es/pagination/DescribeSharedResourcesPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +80 -16
- package/dist-types/Mq.d.ts +14 -0
- package/dist-types/MqClient.d.ts +3 -2
- package/dist-types/commands/DescribeSharedResourcesCommand.d.ts +107 -0
- package/dist-types/commands/UpdateBrokerCommand.d.ts +6 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +45 -0
- package/dist-types/models/errors.d.ts +31 -0
- package/dist-types/models/models_0.d.ts +119 -1
- package/dist-types/pagination/DescribeSharedResourcesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +6 -0
- package/dist-types/ts3.4/Mq.d.ts +24 -0
- package/dist-types/ts3.4/MqClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/DescribeSharedResourcesCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +27 -0
- package/dist-types/ts3.4/models/errors.d.ts +7 -0
- package/dist-types/ts3.4/models/models_0.d.ts +31 -0
- package/dist-types/ts3.4/pagination/DescribeSharedResourcesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +6 -0
- package/package.json +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AuthenticationStrategy, BrokerState, BrokerStorageType, ChangeType, DataReplicationMode, DayOfWeek, DeploymentMode, EngineType, PromoteMode, SanitizationWarningReason } from "./enums";
|
|
1
|
+
import type { AuthenticationStrategy, BrokerState, BrokerStorageType, ChangeType, DataReplicationMode, DayOfWeek, DeploymentMode, EngineType, PromoteMode, SanitizationWarningReason, SharedResourceErrorCode, SharedResourceStatus, SharedResourceType } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* <p>Action required for a broker.</p>
|
|
4
4
|
* @public
|
|
@@ -249,6 +249,27 @@ export interface ConfigurationId {
|
|
|
249
249
|
*/
|
|
250
250
|
Revision?: number | undefined;
|
|
251
251
|
}
|
|
252
|
+
/**
|
|
253
|
+
* <p>Returns info about the resource share error after updating the broker.</p>
|
|
254
|
+
* @public
|
|
255
|
+
*/
|
|
256
|
+
export interface ResourceShareError {
|
|
257
|
+
/**
|
|
258
|
+
* <p>The error code of the resource share.</p>
|
|
259
|
+
* @public
|
|
260
|
+
*/
|
|
261
|
+
ErrorCode?: string | undefined;
|
|
262
|
+
/**
|
|
263
|
+
* <p>The ARN of the resource share.</p>
|
|
264
|
+
* @public
|
|
265
|
+
*/
|
|
266
|
+
ResourceShareArn?: string | undefined;
|
|
267
|
+
/**
|
|
268
|
+
* <p>The status of the resource share.</p>
|
|
269
|
+
* @public
|
|
270
|
+
*/
|
|
271
|
+
Status?: string | undefined;
|
|
272
|
+
}
|
|
252
273
|
/**
|
|
253
274
|
* <p>Returns information about the configuration element or attribute that was sanitized in the configuration.</p>
|
|
254
275
|
* @public
|
|
@@ -270,6 +291,58 @@ export interface SanitizationWarning {
|
|
|
270
291
|
*/
|
|
271
292
|
Reason: SanitizationWarningReason | undefined;
|
|
272
293
|
}
|
|
294
|
+
/**
|
|
295
|
+
* <p>Information on the error encountered by the resource.</p>
|
|
296
|
+
* @public
|
|
297
|
+
*/
|
|
298
|
+
export interface SharedResourceError {
|
|
299
|
+
/**
|
|
300
|
+
* <p>The error code associated with the error.</p>
|
|
301
|
+
* @public
|
|
302
|
+
*/
|
|
303
|
+
Code: SharedResourceErrorCode | undefined;
|
|
304
|
+
/**
|
|
305
|
+
* <p>The error message.</p>
|
|
306
|
+
* @public
|
|
307
|
+
*/
|
|
308
|
+
Message: string | undefined;
|
|
309
|
+
}
|
|
310
|
+
/**
|
|
311
|
+
* <p>Represents a resource that is shared with the broker, including its type, ARN, and current status.</p>
|
|
312
|
+
* @public
|
|
313
|
+
*/
|
|
314
|
+
export interface SharedResource {
|
|
315
|
+
/**
|
|
316
|
+
* <p>The DNS names accessible by the broker.</p>
|
|
317
|
+
* @public
|
|
318
|
+
*/
|
|
319
|
+
DnsNames?: string[] | undefined;
|
|
320
|
+
/**
|
|
321
|
+
* <p>Information on the error encountered by the resource.</p>
|
|
322
|
+
* @public
|
|
323
|
+
*/
|
|
324
|
+
Error?: SharedResourceError | undefined;
|
|
325
|
+
/**
|
|
326
|
+
* <p>The ARN of the shared resource.</p>
|
|
327
|
+
* @public
|
|
328
|
+
*/
|
|
329
|
+
ResourceArn: string | undefined;
|
|
330
|
+
/**
|
|
331
|
+
* <p>The resource share ARNs to which the resource belongs.</p>
|
|
332
|
+
* @public
|
|
333
|
+
*/
|
|
334
|
+
ResourceShareArns?: string[] | undefined;
|
|
335
|
+
/**
|
|
336
|
+
* <p>The status of the shared resource.</p>
|
|
337
|
+
* @public
|
|
338
|
+
*/
|
|
339
|
+
Status: SharedResourceStatus | undefined;
|
|
340
|
+
/**
|
|
341
|
+
* <p>The type of shared resource.</p>
|
|
342
|
+
* @public
|
|
343
|
+
*/
|
|
344
|
+
Type: SharedResourceType | undefined;
|
|
345
|
+
}
|
|
273
346
|
/**
|
|
274
347
|
* <p>A user associated with the broker. For Amazon MQ for RabbitMQ brokers, one and only one administrative user is accepted and created when a broker is first provisioned. All subsequent broker users are created by making RabbitMQ API calls directly to brokers or via the RabbitMQ web console.</p>
|
|
275
348
|
* @public
|
|
@@ -1295,6 +1368,41 @@ export interface DescribeConfigurationRevisionResponse {
|
|
|
1295
1368
|
*/
|
|
1296
1369
|
Description?: string | undefined;
|
|
1297
1370
|
}
|
|
1371
|
+
/**
|
|
1372
|
+
* @public
|
|
1373
|
+
*/
|
|
1374
|
+
export interface DescribeSharedResourcesRequest {
|
|
1375
|
+
/**
|
|
1376
|
+
* <p>The unique ID that Amazon MQ generates for the broker.</p>
|
|
1377
|
+
* @public
|
|
1378
|
+
*/
|
|
1379
|
+
BrokerId: string | undefined;
|
|
1380
|
+
/**
|
|
1381
|
+
* <p>The maximum number of resources that Amazon MQ can return per page (20 by default). This value must be an integer from 5 to 100.</p>
|
|
1382
|
+
* @public
|
|
1383
|
+
*/
|
|
1384
|
+
MaxResults?: number | undefined;
|
|
1385
|
+
/**
|
|
1386
|
+
* <p>The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.</p>
|
|
1387
|
+
* @public
|
|
1388
|
+
*/
|
|
1389
|
+
NextToken?: string | undefined;
|
|
1390
|
+
}
|
|
1391
|
+
/**
|
|
1392
|
+
* @public
|
|
1393
|
+
*/
|
|
1394
|
+
export interface DescribeSharedResourcesResponse {
|
|
1395
|
+
/**
|
|
1396
|
+
* <p>The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.</p>
|
|
1397
|
+
* @public
|
|
1398
|
+
*/
|
|
1399
|
+
NextToken?: string | undefined;
|
|
1400
|
+
/**
|
|
1401
|
+
* <p>A list of resources shared to the broker.</p>
|
|
1402
|
+
* @public
|
|
1403
|
+
*/
|
|
1404
|
+
SharedResources?: SharedResource[] | undefined;
|
|
1405
|
+
}
|
|
1298
1406
|
/**
|
|
1299
1407
|
* @public
|
|
1300
1408
|
*/
|
|
@@ -1632,6 +1740,11 @@ export interface UpdateBrokerRequest {
|
|
|
1632
1740
|
* @public
|
|
1633
1741
|
*/
|
|
1634
1742
|
MaintenanceWindowStartTime?: WeeklyStartTime | undefined;
|
|
1743
|
+
/**
|
|
1744
|
+
* <p>The list of resource shares to update on the broker</p>
|
|
1745
|
+
* @public
|
|
1746
|
+
*/
|
|
1747
|
+
ResourceShareArns?: string[] | undefined;
|
|
1635
1748
|
/**
|
|
1636
1749
|
* <p>The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers.</p>
|
|
1637
1750
|
* @public
|
|
@@ -1692,6 +1805,11 @@ export interface UpdateBrokerResponse {
|
|
|
1692
1805
|
* @public
|
|
1693
1806
|
*/
|
|
1694
1807
|
MaintenanceWindowStartTime?: WeeklyStartTime | undefined;
|
|
1808
|
+
/**
|
|
1809
|
+
* <p>The pending broker's target list of resource shares</p>
|
|
1810
|
+
* @public
|
|
1811
|
+
*/
|
|
1812
|
+
ResourceShareArns?: string[] | undefined;
|
|
1695
1813
|
/**
|
|
1696
1814
|
* <p>The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers.</p>
|
|
1697
1815
|
* @public
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
|
+
import { DescribeSharedResourcesCommandInput, DescribeSharedResourcesCommandOutput } from "../commands/DescribeSharedResourcesCommand";
|
|
3
|
+
import type { MqPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateDescribeSharedResources: (config: MqPaginationConfiguration, input: DescribeSharedResourcesCommandInput, ...rest: any[]) => Paginator<DescribeSharedResourcesCommandOutput>;
|
|
@@ -49,6 +49,8 @@ export declare var DescribeConfigurationRequest$: StaticStructureSchema;
|
|
|
49
49
|
export declare var DescribeConfigurationResponse$: StaticStructureSchema;
|
|
50
50
|
export declare var DescribeConfigurationRevisionRequest$: StaticStructureSchema;
|
|
51
51
|
export declare var DescribeConfigurationRevisionResponse$: StaticStructureSchema;
|
|
52
|
+
export declare var DescribeSharedResourcesRequest$: StaticStructureSchema;
|
|
53
|
+
export declare var DescribeSharedResourcesResponse$: StaticStructureSchema;
|
|
52
54
|
export declare var DescribeUserRequest$: StaticStructureSchema;
|
|
53
55
|
export declare var DescribeUserResponse$: StaticStructureSchema;
|
|
54
56
|
export declare var EncryptionOptions$: StaticStructureSchema;
|
|
@@ -72,7 +74,10 @@ export declare var PromoteRequest$: StaticStructureSchema;
|
|
|
72
74
|
export declare var PromoteResponse$: StaticStructureSchema;
|
|
73
75
|
export declare var RebootBrokerRequest$: StaticStructureSchema;
|
|
74
76
|
export declare var RebootBrokerResponse$: StaticStructureSchema;
|
|
77
|
+
export declare var ResourceShareError$: StaticStructureSchema;
|
|
75
78
|
export declare var SanitizationWarning$: StaticStructureSchema;
|
|
79
|
+
export declare var SharedResource$: StaticStructureSchema;
|
|
80
|
+
export declare var SharedResourceError$: StaticStructureSchema;
|
|
76
81
|
export declare var UpdateBrokerRequest$: StaticStructureSchema;
|
|
77
82
|
export declare var UpdateBrokerResponse$: StaticStructureSchema;
|
|
78
83
|
export declare var UpdateConfigurationRequest$: StaticStructureSchema;
|
|
@@ -96,6 +101,7 @@ export declare var DescribeBrokerEngineTypes$: StaticOperationSchema;
|
|
|
96
101
|
export declare var DescribeBrokerInstanceOptions$: StaticOperationSchema;
|
|
97
102
|
export declare var DescribeConfiguration$: StaticOperationSchema;
|
|
98
103
|
export declare var DescribeConfigurationRevision$: StaticOperationSchema;
|
|
104
|
+
export declare var DescribeSharedResources$: StaticOperationSchema;
|
|
99
105
|
export declare var DescribeUser$: StaticOperationSchema;
|
|
100
106
|
export declare var ListBrokers$: StaticOperationSchema;
|
|
101
107
|
export declare var ListConfigurationRevisions$: StaticOperationSchema;
|
package/dist-types/ts3.4/Mq.d.ts
CHANGED
|
@@ -55,6 +55,10 @@ import {
|
|
|
55
55
|
DescribeConfigurationRevisionCommandInput,
|
|
56
56
|
DescribeConfigurationRevisionCommandOutput,
|
|
57
57
|
} from "./commands/DescribeConfigurationRevisionCommand";
|
|
58
|
+
import {
|
|
59
|
+
DescribeSharedResourcesCommandInput,
|
|
60
|
+
DescribeSharedResourcesCommandOutput,
|
|
61
|
+
} from "./commands/DescribeSharedResourcesCommand";
|
|
58
62
|
import {
|
|
59
63
|
DescribeUserCommandInput,
|
|
60
64
|
DescribeUserCommandOutput,
|
|
@@ -272,6 +276,19 @@ export interface Mq {
|
|
|
272
276
|
options: __HttpHandlerOptions,
|
|
273
277
|
cb: (err: any, data?: DescribeConfigurationRevisionCommandOutput) => void
|
|
274
278
|
): void;
|
|
279
|
+
describeSharedResources(
|
|
280
|
+
args: DescribeSharedResourcesCommandInput,
|
|
281
|
+
options?: __HttpHandlerOptions
|
|
282
|
+
): Promise<DescribeSharedResourcesCommandOutput>;
|
|
283
|
+
describeSharedResources(
|
|
284
|
+
args: DescribeSharedResourcesCommandInput,
|
|
285
|
+
cb: (err: any, data?: DescribeSharedResourcesCommandOutput) => void
|
|
286
|
+
): void;
|
|
287
|
+
describeSharedResources(
|
|
288
|
+
args: DescribeSharedResourcesCommandInput,
|
|
289
|
+
options: __HttpHandlerOptions,
|
|
290
|
+
cb: (err: any, data?: DescribeSharedResourcesCommandOutput) => void
|
|
291
|
+
): void;
|
|
275
292
|
describeUser(
|
|
276
293
|
args: DescribeUserCommandInput,
|
|
277
294
|
options?: __HttpHandlerOptions
|
|
@@ -417,6 +434,13 @@ export interface Mq {
|
|
|
417
434
|
options: __HttpHandlerOptions,
|
|
418
435
|
cb: (err: any, data?: UpdateUserCommandOutput) => void
|
|
419
436
|
): void;
|
|
437
|
+
paginateDescribeSharedResources(
|
|
438
|
+
args: DescribeSharedResourcesCommandInput,
|
|
439
|
+
paginationConfig?: Pick<
|
|
440
|
+
PaginationConfiguration,
|
|
441
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
442
|
+
>
|
|
443
|
+
): Paginator<DescribeSharedResourcesCommandOutput>;
|
|
420
444
|
paginateListBrokers(
|
|
421
445
|
args?: ListBrokersCommandInput,
|
|
422
446
|
paginationConfig?: Pick<
|
|
@@ -88,6 +88,10 @@ import {
|
|
|
88
88
|
DescribeConfigurationRevisionCommandInput,
|
|
89
89
|
DescribeConfigurationRevisionCommandOutput,
|
|
90
90
|
} from "./commands/DescribeConfigurationRevisionCommand";
|
|
91
|
+
import {
|
|
92
|
+
DescribeSharedResourcesCommandInput,
|
|
93
|
+
DescribeSharedResourcesCommandOutput,
|
|
94
|
+
} from "./commands/DescribeSharedResourcesCommand";
|
|
91
95
|
import {
|
|
92
96
|
DescribeUserCommandInput,
|
|
93
97
|
DescribeUserCommandOutput,
|
|
@@ -153,6 +157,7 @@ export type ServiceInputTypes =
|
|
|
153
157
|
| DescribeBrokerInstanceOptionsCommandInput
|
|
154
158
|
| DescribeConfigurationCommandInput
|
|
155
159
|
| DescribeConfigurationRevisionCommandInput
|
|
160
|
+
| DescribeSharedResourcesCommandInput
|
|
156
161
|
| DescribeUserCommandInput
|
|
157
162
|
| ListBrokersCommandInput
|
|
158
163
|
| ListConfigurationRevisionsCommandInput
|
|
@@ -178,6 +183,7 @@ export type ServiceOutputTypes =
|
|
|
178
183
|
| DescribeBrokerInstanceOptionsCommandOutput
|
|
179
184
|
| DescribeConfigurationCommandOutput
|
|
180
185
|
| DescribeConfigurationRevisionCommandOutput
|
|
186
|
+
| DescribeSharedResourcesCommandOutput
|
|
181
187
|
| DescribeUserCommandOutput
|
|
182
188
|
| ListBrokersCommandOutput
|
|
183
189
|
| ListConfigurationRevisionsCommandOutput
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
DescribeSharedResourcesRequest,
|
|
5
|
+
DescribeSharedResourcesResponse,
|
|
6
|
+
} from "../models/models_0";
|
|
7
|
+
import {
|
|
8
|
+
MqClientResolvedConfig,
|
|
9
|
+
ServiceInputTypes,
|
|
10
|
+
ServiceOutputTypes,
|
|
11
|
+
} from "../MqClient";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface DescribeSharedResourcesCommandInput
|
|
15
|
+
extends DescribeSharedResourcesRequest {}
|
|
16
|
+
export interface DescribeSharedResourcesCommandOutput
|
|
17
|
+
extends DescribeSharedResourcesResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const DescribeSharedResourcesCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: DescribeSharedResourcesCommandInput
|
|
22
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
|
+
DescribeSharedResourcesCommandInput,
|
|
24
|
+
DescribeSharedResourcesCommandOutput,
|
|
25
|
+
MqClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: DescribeSharedResourcesCommandInput
|
|
31
|
+
): import("@smithy/core/client").CommandImpl<
|
|
32
|
+
DescribeSharedResourcesCommandInput,
|
|
33
|
+
DescribeSharedResourcesCommandOutput,
|
|
34
|
+
MqClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
export declare class DescribeSharedResourcesCommand extends DescribeSharedResourcesCommand_base {
|
|
43
|
+
protected static __types: {
|
|
44
|
+
api: {
|
|
45
|
+
input: DescribeSharedResourcesRequest;
|
|
46
|
+
output: DescribeSharedResourcesResponse;
|
|
47
|
+
};
|
|
48
|
+
sdk: {
|
|
49
|
+
input: DescribeSharedResourcesCommandInput;
|
|
50
|
+
output: DescribeSharedResourcesCommandOutput;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
}
|
|
@@ -11,6 +11,7 @@ export * from "./DescribeBrokerEngineTypesCommand";
|
|
|
11
11
|
export * from "./DescribeBrokerInstanceOptionsCommand";
|
|
12
12
|
export * from "./DescribeConfigurationCommand";
|
|
13
13
|
export * from "./DescribeConfigurationRevisionCommand";
|
|
14
|
+
export * from "./DescribeSharedResourcesCommand";
|
|
14
15
|
export * from "./DescribeUserCommand";
|
|
15
16
|
export * from "./ListBrokersCommand";
|
|
16
17
|
export * from "./ListConfigurationRevisionsCommand";
|
|
@@ -40,6 +40,33 @@ export declare const SanitizationWarningReason: {
|
|
|
40
40
|
};
|
|
41
41
|
export type SanitizationWarningReason =
|
|
42
42
|
(typeof SanitizationWarningReason)[keyof typeof SanitizationWarningReason];
|
|
43
|
+
export declare const SharedResourceErrorCode: {
|
|
44
|
+
readonly AZ_MISMATCH: "AZ_MISMATCH";
|
|
45
|
+
readonly INTERNAL_ERROR: "INTERNAL_ERROR";
|
|
46
|
+
readonly INVITE_FAILED: "INVITE_FAILED";
|
|
47
|
+
readonly QUOTA_EXCEEDED: "QUOTA_EXCEEDED";
|
|
48
|
+
readonly RESOURCE_CONFIGURATION_NOT_FOUND: "RESOURCE_CONFIGURATION_NOT_FOUND";
|
|
49
|
+
readonly SETUP_INCOMPLETE: "SETUP_INCOMPLETE";
|
|
50
|
+
readonly SHARE_NOT_FOUND: "SHARE_NOT_FOUND";
|
|
51
|
+
};
|
|
52
|
+
export type SharedResourceErrorCode =
|
|
53
|
+
(typeof SharedResourceErrorCode)[keyof typeof SharedResourceErrorCode];
|
|
54
|
+
export declare const SharedResourceStatus: {
|
|
55
|
+
readonly AVAILABLE: "AVAILABLE";
|
|
56
|
+
readonly DELETION_IN_PROGRESS: "DELETION_IN_PROGRESS";
|
|
57
|
+
readonly ERROR: "ERROR";
|
|
58
|
+
readonly PENDING_CREATE: "PENDING_CREATE";
|
|
59
|
+
readonly PENDING_DELETE: "PENDING_DELETE";
|
|
60
|
+
readonly SETUP_IN_PROGRESS: "SETUP_IN_PROGRESS";
|
|
61
|
+
};
|
|
62
|
+
export type SharedResourceStatus =
|
|
63
|
+
(typeof SharedResourceStatus)[keyof typeof SharedResourceStatus];
|
|
64
|
+
export declare const SharedResourceType: {
|
|
65
|
+
readonly RESOURCE: "RESOURCE";
|
|
66
|
+
readonly RESOURCE_SHARE: "RESOURCE_SHARE";
|
|
67
|
+
};
|
|
68
|
+
export type SharedResourceType =
|
|
69
|
+
(typeof SharedResourceType)[keyof typeof SharedResourceType];
|
|
43
70
|
export declare const ChangeType: {
|
|
44
71
|
readonly CREATE: "CREATE";
|
|
45
72
|
readonly DELETE: "DELETE";
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
|
|
2
|
+
import { ResourceShareError } from "./models_0";
|
|
2
3
|
import { MqServiceException as __BaseException } from "./MqServiceException";
|
|
3
4
|
export declare class BadRequestException extends __BaseException {
|
|
4
5
|
readonly name: "BadRequestException";
|
|
5
6
|
readonly $fault: "client";
|
|
6
7
|
ErrorAttribute?: string | undefined;
|
|
7
8
|
Message?: string | undefined;
|
|
9
|
+
ResourceShareErrors?: ResourceShareError[] | undefined;
|
|
8
10
|
constructor(
|
|
9
11
|
opts: __ExceptionOptionType<BadRequestException, __BaseException>
|
|
10
12
|
);
|
|
@@ -14,6 +16,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
14
16
|
readonly $fault: "client";
|
|
15
17
|
ErrorAttribute?: string | undefined;
|
|
16
18
|
Message?: string | undefined;
|
|
19
|
+
ResourceShareErrors?: ResourceShareError[] | undefined;
|
|
17
20
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
18
21
|
}
|
|
19
22
|
export declare class ForbiddenException extends __BaseException {
|
|
@@ -21,6 +24,7 @@ export declare class ForbiddenException extends __BaseException {
|
|
|
21
24
|
readonly $fault: "client";
|
|
22
25
|
ErrorAttribute?: string | undefined;
|
|
23
26
|
Message?: string | undefined;
|
|
27
|
+
ResourceShareErrors?: ResourceShareError[] | undefined;
|
|
24
28
|
constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
|
|
25
29
|
}
|
|
26
30
|
export declare class InternalServerErrorException extends __BaseException {
|
|
@@ -28,6 +32,7 @@ export declare class InternalServerErrorException extends __BaseException {
|
|
|
28
32
|
readonly $fault: "server";
|
|
29
33
|
ErrorAttribute?: string | undefined;
|
|
30
34
|
Message?: string | undefined;
|
|
35
|
+
ResourceShareErrors?: ResourceShareError[] | undefined;
|
|
31
36
|
constructor(
|
|
32
37
|
opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>
|
|
33
38
|
);
|
|
@@ -37,6 +42,7 @@ export declare class UnauthorizedException extends __BaseException {
|
|
|
37
42
|
readonly $fault: "client";
|
|
38
43
|
ErrorAttribute?: string | undefined;
|
|
39
44
|
Message?: string | undefined;
|
|
45
|
+
ResourceShareErrors?: ResourceShareError[] | undefined;
|
|
40
46
|
constructor(
|
|
41
47
|
opts: __ExceptionOptionType<UnauthorizedException, __BaseException>
|
|
42
48
|
);
|
|
@@ -46,5 +52,6 @@ export declare class NotFoundException extends __BaseException {
|
|
|
46
52
|
readonly $fault: "client";
|
|
47
53
|
ErrorAttribute?: string | undefined;
|
|
48
54
|
Message?: string | undefined;
|
|
55
|
+
ResourceShareErrors?: ResourceShareError[] | undefined;
|
|
49
56
|
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
50
57
|
}
|
|
@@ -9,6 +9,9 @@ import {
|
|
|
9
9
|
EngineType,
|
|
10
10
|
PromoteMode,
|
|
11
11
|
SanitizationWarningReason,
|
|
12
|
+
SharedResourceErrorCode,
|
|
13
|
+
SharedResourceStatus,
|
|
14
|
+
SharedResourceType,
|
|
12
15
|
} from "./enums";
|
|
13
16
|
export interface ActionRequired {
|
|
14
17
|
ActionRequiredCode?: string | undefined;
|
|
@@ -68,11 +71,28 @@ export interface ConfigurationId {
|
|
|
68
71
|
Id: string | undefined;
|
|
69
72
|
Revision?: number | undefined;
|
|
70
73
|
}
|
|
74
|
+
export interface ResourceShareError {
|
|
75
|
+
ErrorCode?: string | undefined;
|
|
76
|
+
ResourceShareArn?: string | undefined;
|
|
77
|
+
Status?: string | undefined;
|
|
78
|
+
}
|
|
71
79
|
export interface SanitizationWarning {
|
|
72
80
|
AttributeName?: string | undefined;
|
|
73
81
|
ElementName?: string | undefined;
|
|
74
82
|
Reason: SanitizationWarningReason | undefined;
|
|
75
83
|
}
|
|
84
|
+
export interface SharedResourceError {
|
|
85
|
+
Code: SharedResourceErrorCode | undefined;
|
|
86
|
+
Message: string | undefined;
|
|
87
|
+
}
|
|
88
|
+
export interface SharedResource {
|
|
89
|
+
DnsNames?: string[] | undefined;
|
|
90
|
+
Error?: SharedResourceError | undefined;
|
|
91
|
+
ResourceArn: string | undefined;
|
|
92
|
+
ResourceShareArns?: string[] | undefined;
|
|
93
|
+
Status: SharedResourceStatus | undefined;
|
|
94
|
+
Type: SharedResourceType | undefined;
|
|
95
|
+
}
|
|
76
96
|
export interface User {
|
|
77
97
|
ConsoleAccess?: boolean | undefined;
|
|
78
98
|
Groups?: string[] | undefined;
|
|
@@ -307,6 +327,15 @@ export interface DescribeConfigurationRevisionResponse {
|
|
|
307
327
|
Data?: string | undefined;
|
|
308
328
|
Description?: string | undefined;
|
|
309
329
|
}
|
|
330
|
+
export interface DescribeSharedResourcesRequest {
|
|
331
|
+
BrokerId: string | undefined;
|
|
332
|
+
MaxResults?: number | undefined;
|
|
333
|
+
NextToken?: string | undefined;
|
|
334
|
+
}
|
|
335
|
+
export interface DescribeSharedResourcesResponse {
|
|
336
|
+
NextToken?: string | undefined;
|
|
337
|
+
SharedResources?: SharedResource[] | undefined;
|
|
338
|
+
}
|
|
310
339
|
export interface DescribeUserRequest {
|
|
311
340
|
BrokerId: string | undefined;
|
|
312
341
|
Username: string | undefined;
|
|
@@ -390,6 +419,7 @@ export interface UpdateBrokerRequest {
|
|
|
390
419
|
LdapServerMetadata?: LdapServerMetadataInput | undefined;
|
|
391
420
|
Logs?: Logs | undefined;
|
|
392
421
|
MaintenanceWindowStartTime?: WeeklyStartTime | undefined;
|
|
422
|
+
ResourceShareArns?: string[] | undefined;
|
|
393
423
|
SecurityGroups?: string[] | undefined;
|
|
394
424
|
DataReplicationMode?: DataReplicationMode | undefined;
|
|
395
425
|
}
|
|
@@ -403,6 +433,7 @@ export interface UpdateBrokerResponse {
|
|
|
403
433
|
LdapServerMetadata?: LdapServerMetadataOutput | undefined;
|
|
404
434
|
Logs?: Logs | undefined;
|
|
405
435
|
MaintenanceWindowStartTime?: WeeklyStartTime | undefined;
|
|
436
|
+
ResourceShareArns?: string[] | undefined;
|
|
406
437
|
SecurityGroups?: string[] | undefined;
|
|
407
438
|
DataReplicationMetadata?: DataReplicationMetadataOutput | undefined;
|
|
408
439
|
DataReplicationMode?: DataReplicationMode | undefined;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
DescribeSharedResourcesCommandInput,
|
|
4
|
+
DescribeSharedResourcesCommandOutput,
|
|
5
|
+
} from "../commands/DescribeSharedResourcesCommand";
|
|
6
|
+
import { MqPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateDescribeSharedResources: (
|
|
8
|
+
config: MqPaginationConfiguration,
|
|
9
|
+
input: DescribeSharedResourcesCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<DescribeSharedResourcesCommandOutput>;
|
|
@@ -48,6 +48,8 @@ export declare var DescribeConfigurationRequest$: StaticStructureSchema;
|
|
|
48
48
|
export declare var DescribeConfigurationResponse$: StaticStructureSchema;
|
|
49
49
|
export declare var DescribeConfigurationRevisionRequest$: StaticStructureSchema;
|
|
50
50
|
export declare var DescribeConfigurationRevisionResponse$: StaticStructureSchema;
|
|
51
|
+
export declare var DescribeSharedResourcesRequest$: StaticStructureSchema;
|
|
52
|
+
export declare var DescribeSharedResourcesResponse$: StaticStructureSchema;
|
|
51
53
|
export declare var DescribeUserRequest$: StaticStructureSchema;
|
|
52
54
|
export declare var DescribeUserResponse$: StaticStructureSchema;
|
|
53
55
|
export declare var EncryptionOptions$: StaticStructureSchema;
|
|
@@ -71,7 +73,10 @@ export declare var PromoteRequest$: StaticStructureSchema;
|
|
|
71
73
|
export declare var PromoteResponse$: StaticStructureSchema;
|
|
72
74
|
export declare var RebootBrokerRequest$: StaticStructureSchema;
|
|
73
75
|
export declare var RebootBrokerResponse$: StaticStructureSchema;
|
|
76
|
+
export declare var ResourceShareError$: StaticStructureSchema;
|
|
74
77
|
export declare var SanitizationWarning$: StaticStructureSchema;
|
|
78
|
+
export declare var SharedResource$: StaticStructureSchema;
|
|
79
|
+
export declare var SharedResourceError$: StaticStructureSchema;
|
|
75
80
|
export declare var UpdateBrokerRequest$: StaticStructureSchema;
|
|
76
81
|
export declare var UpdateBrokerResponse$: StaticStructureSchema;
|
|
77
82
|
export declare var UpdateConfigurationRequest$: StaticStructureSchema;
|
|
@@ -95,6 +100,7 @@ export declare var DescribeBrokerEngineTypes$: StaticOperationSchema;
|
|
|
95
100
|
export declare var DescribeBrokerInstanceOptions$: StaticOperationSchema;
|
|
96
101
|
export declare var DescribeConfiguration$: StaticOperationSchema;
|
|
97
102
|
export declare var DescribeConfigurationRevision$: StaticOperationSchema;
|
|
103
|
+
export declare var DescribeSharedResources$: StaticOperationSchema;
|
|
98
104
|
export declare var DescribeUser$: StaticOperationSchema;
|
|
99
105
|
export declare var ListBrokers$: StaticOperationSchema;
|
|
100
106
|
export declare var ListConfigurationRevisions$: StaticOperationSchema;
|
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.
|
|
4
|
+
"version": "3.1071.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.974.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.974.22",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.57",
|
|
26
26
|
"@aws-sdk/types": "^3.973.13",
|
|
27
27
|
"@smithy/core": "^3.24.6",
|
|
28
28
|
"@smithy/fetch-http-handler": "^5.4.6",
|