@aws-sdk/client-kafka 3.637.0 → 3.648.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 +18 -0
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +12 -0
- package/dist-types/commands/CreateReplicatorCommand.d.ts +3 -0
- package/dist-types/commands/DescribeReplicatorCommand.d.ts +3 -0
- package/dist-types/commands/GetBootstrapBrokersCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +28 -0
- package/dist-types/ts3.4/models/models_0.d.ts +10 -0
- package/package.json +6 -6
package/dist-cjs/index.js
CHANGED
|
@@ -78,6 +78,7 @@ __export(src_exports, {
|
|
|
78
78
|
RebootBrokerCommand: () => RebootBrokerCommand,
|
|
79
79
|
RejectClientVpcConnectionCommand: () => RejectClientVpcConnectionCommand,
|
|
80
80
|
ReplicationStartingPositionType: () => ReplicationStartingPositionType,
|
|
81
|
+
ReplicationTopicNameConfigurationType: () => ReplicationTopicNameConfigurationType,
|
|
81
82
|
ReplicatorState: () => ReplicatorState,
|
|
82
83
|
ServiceUnavailableException: () => ServiceUnavailableException,
|
|
83
84
|
StorageMode: () => StorageMode,
|
|
@@ -354,6 +355,10 @@ var ReplicationStartingPositionType = {
|
|
|
354
355
|
EARLIEST: "EARLIEST",
|
|
355
356
|
LATEST: "LATEST"
|
|
356
357
|
};
|
|
358
|
+
var ReplicationTopicNameConfigurationType = {
|
|
359
|
+
IDENTICAL: "IDENTICAL",
|
|
360
|
+
PREFIXED_WITH_SOURCE_CLUSTER_ALIAS: "PREFIXED_WITH_SOURCE_CLUSTER_ALIAS"
|
|
361
|
+
};
|
|
357
362
|
var ReplicatorState = {
|
|
358
363
|
CREATING: "CREATING",
|
|
359
364
|
DELETING: "DELETING",
|
|
@@ -2396,6 +2401,11 @@ var se_ReplicationStartingPosition = /* @__PURE__ */ __name((input, context) =>
|
|
|
2396
2401
|
type: [, , `Type`]
|
|
2397
2402
|
});
|
|
2398
2403
|
}, "se_ReplicationStartingPosition");
|
|
2404
|
+
var se_ReplicationTopicNameConfiguration = /* @__PURE__ */ __name((input, context) => {
|
|
2405
|
+
return (0, import_smithy_client.take)(input, {
|
|
2406
|
+
type: [, , `Type`]
|
|
2407
|
+
});
|
|
2408
|
+
}, "se_ReplicationTopicNameConfiguration");
|
|
2399
2409
|
var se_S3 = /* @__PURE__ */ __name((input, context) => {
|
|
2400
2410
|
return (0, import_smithy_client.take)(input, {
|
|
2401
2411
|
bucket: [, , `Bucket`],
|
|
@@ -2447,6 +2457,7 @@ var se_TopicReplication = /* @__PURE__ */ __name((input, context) => {
|
|
|
2447
2457
|
copyTopicConfigurations: [, , `CopyTopicConfigurations`],
|
|
2448
2458
|
detectAndCopyNewTopics: [, , `DetectAndCopyNewTopics`],
|
|
2449
2459
|
startingPosition: [, (_) => se_ReplicationStartingPosition(_, context), `StartingPosition`],
|
|
2460
|
+
topicNameConfiguration: [, (_) => se_ReplicationTopicNameConfiguration(_, context), `TopicNameConfiguration`],
|
|
2450
2461
|
topicsToExclude: [, import_smithy_client._json, `TopicsToExclude`],
|
|
2451
2462
|
topicsToReplicate: [, import_smithy_client._json, `TopicsToReplicate`]
|
|
2452
2463
|
});
|
|
@@ -3050,6 +3061,11 @@ var de_ReplicationStateInfo = /* @__PURE__ */ __name((output, context) => {
|
|
|
3050
3061
|
Message: [, import_smithy_client.expectString, `message`]
|
|
3051
3062
|
});
|
|
3052
3063
|
}, "de_ReplicationStateInfo");
|
|
3064
|
+
var de_ReplicationTopicNameConfiguration = /* @__PURE__ */ __name((output, context) => {
|
|
3065
|
+
return (0, import_smithy_client.take)(output, {
|
|
3066
|
+
Type: [, import_smithy_client.expectString, `type`]
|
|
3067
|
+
});
|
|
3068
|
+
}, "de_ReplicationTopicNameConfiguration");
|
|
3053
3069
|
var de_ReplicatorSummary = /* @__PURE__ */ __name((output, context) => {
|
|
3054
3070
|
return (0, import_smithy_client.take)(output, {
|
|
3055
3071
|
CreationTime: [, (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), `creationTime`],
|
|
@@ -3124,6 +3140,7 @@ var de_TopicReplication = /* @__PURE__ */ __name((output, context) => {
|
|
|
3124
3140
|
CopyTopicConfigurations: [, import_smithy_client.expectBoolean, `copyTopicConfigurations`],
|
|
3125
3141
|
DetectAndCopyNewTopics: [, import_smithy_client.expectBoolean, `detectAndCopyNewTopics`],
|
|
3126
3142
|
StartingPosition: [, (_) => de_ReplicationStartingPosition(_, context), `startingPosition`],
|
|
3143
|
+
TopicNameConfiguration: [, (_) => de_ReplicationTopicNameConfiguration(_, context), `topicNameConfiguration`],
|
|
3127
3144
|
TopicsToExclude: [, import_smithy_client._json, `topicsToExclude`],
|
|
3128
3145
|
TopicsToReplicate: [, import_smithy_client._json, `topicsToReplicate`]
|
|
3129
3146
|
});
|
|
@@ -4265,6 +4282,7 @@ var paginateListVpcConnections = (0, import_core.createPaginator)(KafkaClient, L
|
|
|
4265
4282
|
NodeType,
|
|
4266
4283
|
TargetCompressionType,
|
|
4267
4284
|
ReplicationStartingPositionType,
|
|
4285
|
+
ReplicationTopicNameConfigurationType,
|
|
4268
4286
|
ReplicatorState,
|
|
4269
4287
|
BadRequestException,
|
|
4270
4288
|
ForbiddenException,
|
|
@@ -73,6 +73,10 @@ export const ReplicationStartingPositionType = {
|
|
|
73
73
|
EARLIEST: "EARLIEST",
|
|
74
74
|
LATEST: "LATEST",
|
|
75
75
|
};
|
|
76
|
+
export const ReplicationTopicNameConfigurationType = {
|
|
77
|
+
IDENTICAL: "IDENTICAL",
|
|
78
|
+
PREFIXED_WITH_SOURCE_CLUSTER_ALIAS: "PREFIXED_WITH_SOURCE_CLUSTER_ALIAS",
|
|
79
|
+
};
|
|
76
80
|
export const ReplicatorState = {
|
|
77
81
|
CREATING: "CREATING",
|
|
78
82
|
DELETING: "DELETING",
|
|
@@ -1848,6 +1848,11 @@ const se_ReplicationStartingPosition = (input, context) => {
|
|
|
1848
1848
|
type: [, , `Type`],
|
|
1849
1849
|
});
|
|
1850
1850
|
};
|
|
1851
|
+
const se_ReplicationTopicNameConfiguration = (input, context) => {
|
|
1852
|
+
return take(input, {
|
|
1853
|
+
type: [, , `Type`],
|
|
1854
|
+
});
|
|
1855
|
+
};
|
|
1851
1856
|
const se_S3 = (input, context) => {
|
|
1852
1857
|
return take(input, {
|
|
1853
1858
|
bucket: [, , `Bucket`],
|
|
@@ -1899,6 +1904,7 @@ const se_TopicReplication = (input, context) => {
|
|
|
1899
1904
|
copyTopicConfigurations: [, , `CopyTopicConfigurations`],
|
|
1900
1905
|
detectAndCopyNewTopics: [, , `DetectAndCopyNewTopics`],
|
|
1901
1906
|
startingPosition: [, (_) => se_ReplicationStartingPosition(_, context), `StartingPosition`],
|
|
1907
|
+
topicNameConfiguration: [, (_) => se_ReplicationTopicNameConfiguration(_, context), `TopicNameConfiguration`],
|
|
1902
1908
|
topicsToExclude: [, _json, `TopicsToExclude`],
|
|
1903
1909
|
topicsToReplicate: [, _json, `TopicsToReplicate`],
|
|
1904
1910
|
});
|
|
@@ -2544,6 +2550,11 @@ const de_ReplicationStateInfo = (output, context) => {
|
|
|
2544
2550
|
Message: [, __expectString, `message`],
|
|
2545
2551
|
});
|
|
2546
2552
|
};
|
|
2553
|
+
const de_ReplicationTopicNameConfiguration = (output, context) => {
|
|
2554
|
+
return take(output, {
|
|
2555
|
+
Type: [, __expectString, `type`],
|
|
2556
|
+
});
|
|
2557
|
+
};
|
|
2547
2558
|
const de_ReplicatorSummary = (output, context) => {
|
|
2548
2559
|
return take(output, {
|
|
2549
2560
|
CreationTime: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `creationTime`],
|
|
@@ -2618,6 +2629,7 @@ const de_TopicReplication = (output, context) => {
|
|
|
2618
2629
|
CopyTopicConfigurations: [, __expectBoolean, `copyTopicConfigurations`],
|
|
2619
2630
|
DetectAndCopyNewTopics: [, __expectBoolean, `detectAndCopyNewTopics`],
|
|
2620
2631
|
StartingPosition: [, (_) => de_ReplicationStartingPosition(_, context), `startingPosition`],
|
|
2632
|
+
TopicNameConfiguration: [, (_) => de_ReplicationTopicNameConfiguration(_, context), `topicNameConfiguration`],
|
|
2621
2633
|
TopicsToExclude: [, _json, `topicsToExclude`],
|
|
2622
2634
|
TopicsToReplicate: [, _json, `topicsToReplicate`],
|
|
2623
2635
|
});
|
|
@@ -73,6 +73,9 @@ declare const CreateReplicatorCommand_base: {
|
|
|
73
73
|
* StartingPosition: { // ReplicationStartingPosition
|
|
74
74
|
* Type: "LATEST" || "EARLIEST",
|
|
75
75
|
* },
|
|
76
|
+
* TopicNameConfiguration: { // ReplicationTopicNameConfiguration
|
|
77
|
+
* Type: "PREFIXED_WITH_SOURCE_CLUSTER_ALIAS" || "IDENTICAL",
|
|
78
|
+
* },
|
|
76
79
|
* TopicsToExclude: [ // __listOf__stringMax249
|
|
77
80
|
* "STRING_VALUE",
|
|
78
81
|
* ],
|
|
@@ -81,6 +81,9 @@ declare const DescribeReplicatorCommand_base: {
|
|
|
81
81
|
* // StartingPosition: { // ReplicationStartingPosition
|
|
82
82
|
* // Type: "LATEST" || "EARLIEST",
|
|
83
83
|
* // },
|
|
84
|
+
* // TopicNameConfiguration: { // ReplicationTopicNameConfiguration
|
|
85
|
+
* // Type: "PREFIXED_WITH_SOURCE_CLUSTER_ALIAS" || "IDENTICAL",
|
|
86
|
+
* // },
|
|
84
87
|
* // TopicsToExclude: [ // __listOf__stringMax249
|
|
85
88
|
* // "STRING_VALUE",
|
|
86
89
|
* // ],
|
|
@@ -27,7 +27,7 @@ declare const GetBootstrapBrokersCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>A list of brokers that a client application can use to bootstrap.</p>
|
|
30
|
+
* <p>A list of brokers that a client application can use to bootstrap. This list doesn't necessarily include all of the brokers in the cluster. The following Python 3.6 example shows how you can use the Amazon Resource Name (ARN) of a cluster to get its bootstrap brokers. If you don't know the ARN of your cluster, you can use the <code>ListClusters</code> operation to get the ARNs of all the clusters in this account and Region.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -1620,6 +1620,29 @@ export interface ReplicationStartingPosition {
|
|
|
1620
1620
|
*/
|
|
1621
1621
|
Type?: ReplicationStartingPositionType;
|
|
1622
1622
|
}
|
|
1623
|
+
/**
|
|
1624
|
+
* @public
|
|
1625
|
+
* @enum
|
|
1626
|
+
*/
|
|
1627
|
+
export declare const ReplicationTopicNameConfigurationType: {
|
|
1628
|
+
readonly IDENTICAL: "IDENTICAL";
|
|
1629
|
+
readonly PREFIXED_WITH_SOURCE_CLUSTER_ALIAS: "PREFIXED_WITH_SOURCE_CLUSTER_ALIAS";
|
|
1630
|
+
};
|
|
1631
|
+
/**
|
|
1632
|
+
* @public
|
|
1633
|
+
*/
|
|
1634
|
+
export type ReplicationTopicNameConfigurationType = (typeof ReplicationTopicNameConfigurationType)[keyof typeof ReplicationTopicNameConfigurationType];
|
|
1635
|
+
/**
|
|
1636
|
+
* <p>Configuration for specifying replicated topic names should be the same as their corresponding upstream topics or prefixed with source cluster alias.</p>
|
|
1637
|
+
* @public
|
|
1638
|
+
*/
|
|
1639
|
+
export interface ReplicationTopicNameConfiguration {
|
|
1640
|
+
/**
|
|
1641
|
+
* <p>The type of replicated topic name.</p>
|
|
1642
|
+
* @public
|
|
1643
|
+
*/
|
|
1644
|
+
Type?: ReplicationTopicNameConfigurationType;
|
|
1645
|
+
}
|
|
1623
1646
|
/**
|
|
1624
1647
|
* <p>Details about topic replication.</p>
|
|
1625
1648
|
* @public
|
|
@@ -1645,6 +1668,11 @@ export interface TopicReplication {
|
|
|
1645
1668
|
* @public
|
|
1646
1669
|
*/
|
|
1647
1670
|
StartingPosition?: ReplicationStartingPosition;
|
|
1671
|
+
/**
|
|
1672
|
+
* <p>Configuration for specifying replicated topic names should be the same as their corresponding upstream topics or prefixed with source cluster alias.</p>
|
|
1673
|
+
* @public
|
|
1674
|
+
*/
|
|
1675
|
+
TopicNameConfiguration?: ReplicationTopicNameConfiguration;
|
|
1648
1676
|
/**
|
|
1649
1677
|
* <p>List of regular expression patterns indicating the topics that should not be replicated.</p>
|
|
1650
1678
|
* @public
|
|
@@ -453,11 +453,21 @@ export type ReplicationStartingPositionType =
|
|
|
453
453
|
export interface ReplicationStartingPosition {
|
|
454
454
|
Type?: ReplicationStartingPositionType;
|
|
455
455
|
}
|
|
456
|
+
export declare const ReplicationTopicNameConfigurationType: {
|
|
457
|
+
readonly IDENTICAL: "IDENTICAL";
|
|
458
|
+
readonly PREFIXED_WITH_SOURCE_CLUSTER_ALIAS: "PREFIXED_WITH_SOURCE_CLUSTER_ALIAS";
|
|
459
|
+
};
|
|
460
|
+
export type ReplicationTopicNameConfigurationType =
|
|
461
|
+
(typeof ReplicationTopicNameConfigurationType)[keyof typeof ReplicationTopicNameConfigurationType];
|
|
462
|
+
export interface ReplicationTopicNameConfiguration {
|
|
463
|
+
Type?: ReplicationTopicNameConfigurationType;
|
|
464
|
+
}
|
|
456
465
|
export interface TopicReplication {
|
|
457
466
|
CopyAccessControlListsForTopics?: boolean;
|
|
458
467
|
CopyTopicConfigurations?: boolean;
|
|
459
468
|
DetectAndCopyNewTopics?: boolean;
|
|
460
469
|
StartingPosition?: ReplicationStartingPosition;
|
|
470
|
+
TopicNameConfiguration?: ReplicationTopicNameConfiguration;
|
|
461
471
|
TopicsToExclude?: string[];
|
|
462
472
|
TopicsToReplicate: string[] | undefined;
|
|
463
473
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-kafka",
|
|
3
3
|
"description": "AWS SDK for JavaScript Kafka Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.648.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-kafka",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.645.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.645.0",
|
|
25
25
|
"@aws-sdk/core": "3.635.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.645.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.620.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.609.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.620.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.645.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.614.0",
|
|
32
32
|
"@aws-sdk/types": "3.609.0",
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.645.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.609.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-node": "3.614.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.5",
|