@aws-sdk/client-kafka 3.299.0 → 3.300.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 (37) hide show
  1. package/dist-types/commands/BatchAssociateScramSecretCommand.d.ts +6 -0
  2. package/dist-types/commands/BatchDisassociateScramSecretCommand.d.ts +6 -0
  3. package/dist-types/commands/CreateClusterCommand.d.ts +93 -0
  4. package/dist-types/commands/CreateClusterV2Command.d.ts +114 -0
  5. package/dist-types/commands/CreateConfigurationCommand.d.ts +8 -0
  6. package/dist-types/commands/DeleteClusterCommand.d.ts +4 -0
  7. package/dist-types/commands/DeleteConfigurationCommand.d.ts +3 -0
  8. package/dist-types/commands/DescribeClusterCommand.d.ts +3 -0
  9. package/dist-types/commands/DescribeClusterOperationCommand.d.ts +3 -0
  10. package/dist-types/commands/DescribeClusterV2Command.d.ts +3 -0
  11. package/dist-types/commands/DescribeConfigurationCommand.d.ts +3 -0
  12. package/dist-types/commands/DescribeConfigurationRevisionCommand.d.ts +4 -0
  13. package/dist-types/commands/GetBootstrapBrokersCommand.d.ts +3 -0
  14. package/dist-types/commands/GetCompatibleKafkaVersionsCommand.d.ts +3 -0
  15. package/dist-types/commands/ListClusterOperationsCommand.d.ts +5 -0
  16. package/dist-types/commands/ListClustersCommand.d.ts +5 -0
  17. package/dist-types/commands/ListClustersV2Command.d.ts +6 -0
  18. package/dist-types/commands/ListConfigurationRevisionsCommand.d.ts +5 -0
  19. package/dist-types/commands/ListConfigurationsCommand.d.ts +4 -0
  20. package/dist-types/commands/ListKafkaVersionsCommand.d.ts +4 -0
  21. package/dist-types/commands/ListNodesCommand.d.ts +5 -0
  22. package/dist-types/commands/ListScramSecretsCommand.d.ts +5 -0
  23. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
  24. package/dist-types/commands/RebootBrokerCommand.d.ts +6 -0
  25. package/dist-types/commands/TagResourceCommand.d.ts +6 -0
  26. package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
  27. package/dist-types/commands/UpdateBrokerCountCommand.d.ts +5 -0
  28. package/dist-types/commands/UpdateBrokerStorageCommand.d.ts +14 -0
  29. package/dist-types/commands/UpdateBrokerTypeCommand.d.ts +5 -0
  30. package/dist-types/commands/UpdateClusterConfigurationCommand.d.ts +8 -0
  31. package/dist-types/commands/UpdateClusterKafkaVersionCommand.d.ts +9 -0
  32. package/dist-types/commands/UpdateConfigurationCommand.d.ts +5 -0
  33. package/dist-types/commands/UpdateConnectivityCommand.d.ts +9 -0
  34. package/dist-types/commands/UpdateMonitoringCommand.d.ts +32 -0
  35. package/dist-types/commands/UpdateSecurityCommand.d.ts +32 -0
  36. package/dist-types/commands/UpdateStorageCommand.d.ts +10 -0
  37. package/package.json +8 -8
@@ -26,6 +26,12 @@ export interface BatchAssociateScramSecretCommandOutput extends BatchAssociateSc
26
26
  * import { KafkaClient, BatchAssociateScramSecretCommand } from "@aws-sdk/client-kafka"; // ES Modules import
27
27
  * // const { KafkaClient, BatchAssociateScramSecretCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
28
28
  * const client = new KafkaClient(config);
29
+ * const input = {
30
+ * ClusterArn: "STRING_VALUE", // required
31
+ * SecretArnList: [ // required
32
+ * "STRING_VALUE",
33
+ * ],
34
+ * };
29
35
  * const command = new BatchAssociateScramSecretCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -26,6 +26,12 @@ export interface BatchDisassociateScramSecretCommandOutput extends BatchDisassoc
26
26
  * import { KafkaClient, BatchDisassociateScramSecretCommand } from "@aws-sdk/client-kafka"; // ES Modules import
27
27
  * // const { KafkaClient, BatchDisassociateScramSecretCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
28
28
  * const client = new KafkaClient(config);
29
+ * const input = {
30
+ * ClusterArn: "STRING_VALUE", // required
31
+ * SecretArnList: [ // required
32
+ * "STRING_VALUE",
33
+ * ],
34
+ * };
29
35
  * const command = new BatchDisassociateScramSecretCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -26,6 +26,99 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
26
26
  * import { KafkaClient, CreateClusterCommand } from "@aws-sdk/client-kafka"; // ES Modules import
27
27
  * // const { KafkaClient, CreateClusterCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
28
28
  * const client = new KafkaClient(config);
29
+ * const input = {
30
+ * BrokerNodeGroupInfo: {
31
+ * BrokerAZDistribution: "DEFAULT",
32
+ * ClientSubnets: [ // required
33
+ * "STRING_VALUE",
34
+ * ],
35
+ * InstanceType: "STRING_VALUE", // required
36
+ * SecurityGroups: [
37
+ * "STRING_VALUE",
38
+ * ],
39
+ * StorageInfo: {
40
+ * EbsStorageInfo: {
41
+ * ProvisionedThroughput: {
42
+ * Enabled: true || false,
43
+ * VolumeThroughput: Number("int"),
44
+ * },
45
+ * VolumeSize: Number("int"),
46
+ * },
47
+ * },
48
+ * ConnectivityInfo: {
49
+ * PublicAccess: {
50
+ * Type: "STRING_VALUE",
51
+ * },
52
+ * },
53
+ * },
54
+ * ClientAuthentication: {
55
+ * Sasl: {
56
+ * Scram: {
57
+ * Enabled: true || false,
58
+ * },
59
+ * Iam: {
60
+ * Enabled: true || false,
61
+ * },
62
+ * },
63
+ * Tls: {
64
+ * CertificateAuthorityArnList: [
65
+ * "STRING_VALUE",
66
+ * ],
67
+ * Enabled: true || false,
68
+ * },
69
+ * Unauthenticated: {
70
+ * Enabled: true || false,
71
+ * },
72
+ * },
73
+ * ClusterName: "STRING_VALUE", // required
74
+ * ConfigurationInfo: {
75
+ * Arn: "STRING_VALUE", // required
76
+ * Revision: Number("long"), // required
77
+ * },
78
+ * EncryptionInfo: {
79
+ * EncryptionAtRest: {
80
+ * DataVolumeKMSKeyId: "STRING_VALUE", // required
81
+ * },
82
+ * EncryptionInTransit: {
83
+ * ClientBroker: "TLS" || "TLS_PLAINTEXT" || "PLAINTEXT",
84
+ * InCluster: true || false,
85
+ * },
86
+ * },
87
+ * EnhancedMonitoring: "DEFAULT" || "PER_BROKER" || "PER_TOPIC_PER_BROKER" || "PER_TOPIC_PER_PARTITION",
88
+ * OpenMonitoring: {
89
+ * Prometheus: {
90
+ * JmxExporter: {
91
+ * EnabledInBroker: true || false, // required
92
+ * },
93
+ * NodeExporter: {
94
+ * EnabledInBroker: true || false, // required
95
+ * },
96
+ * },
97
+ * },
98
+ * KafkaVersion: "STRING_VALUE", // required
99
+ * LoggingInfo: {
100
+ * BrokerLogs: {
101
+ * CloudWatchLogs: {
102
+ * Enabled: true || false, // required
103
+ * LogGroup: "STRING_VALUE",
104
+ * },
105
+ * Firehose: {
106
+ * DeliveryStream: "STRING_VALUE",
107
+ * Enabled: true || false, // required
108
+ * },
109
+ * S3: {
110
+ * Bucket: "STRING_VALUE",
111
+ * Enabled: true || false, // required
112
+ * Prefix: "STRING_VALUE",
113
+ * },
114
+ * },
115
+ * },
116
+ * NumberOfBrokerNodes: Number("int"), // required
117
+ * Tags: {
118
+ * "<keys>": "STRING_VALUE",
119
+ * },
120
+ * StorageMode: "LOCAL" || "TIERED",
121
+ * };
29
122
  * const command = new CreateClusterCommand(input);
30
123
  * const response = await client.send(command);
31
124
  * ```
@@ -26,6 +26,120 @@ export interface CreateClusterV2CommandOutput extends CreateClusterV2Response, _
26
26
  * import { KafkaClient, CreateClusterV2Command } from "@aws-sdk/client-kafka"; // ES Modules import
27
27
  * // const { KafkaClient, CreateClusterV2Command } = require("@aws-sdk/client-kafka"); // CommonJS import
28
28
  * const client = new KafkaClient(config);
29
+ * const input = {
30
+ * ClusterName: "STRING_VALUE", // required
31
+ * Tags: {
32
+ * "<keys>": "STRING_VALUE",
33
+ * },
34
+ * Provisioned: {
35
+ * BrokerNodeGroupInfo: {
36
+ * BrokerAZDistribution: "DEFAULT",
37
+ * ClientSubnets: [ // required
38
+ * "STRING_VALUE",
39
+ * ],
40
+ * InstanceType: "STRING_VALUE", // required
41
+ * SecurityGroups: [
42
+ * "STRING_VALUE",
43
+ * ],
44
+ * StorageInfo: {
45
+ * EbsStorageInfo: {
46
+ * ProvisionedThroughput: {
47
+ * Enabled: true || false,
48
+ * VolumeThroughput: Number("int"),
49
+ * },
50
+ * VolumeSize: Number("int"),
51
+ * },
52
+ * },
53
+ * ConnectivityInfo: {
54
+ * PublicAccess: {
55
+ * Type: "STRING_VALUE",
56
+ * },
57
+ * },
58
+ * },
59
+ * ClientAuthentication: {
60
+ * Sasl: {
61
+ * Scram: {
62
+ * Enabled: true || false,
63
+ * },
64
+ * Iam: {
65
+ * Enabled: true || false,
66
+ * },
67
+ * },
68
+ * Tls: {
69
+ * CertificateAuthorityArnList: [
70
+ * "STRING_VALUE",
71
+ * ],
72
+ * Enabled: true || false,
73
+ * },
74
+ * Unauthenticated: {
75
+ * Enabled: true || false,
76
+ * },
77
+ * },
78
+ * ConfigurationInfo: {
79
+ * Arn: "STRING_VALUE", // required
80
+ * Revision: Number("long"), // required
81
+ * },
82
+ * EncryptionInfo: {
83
+ * EncryptionAtRest: {
84
+ * DataVolumeKMSKeyId: "STRING_VALUE", // required
85
+ * },
86
+ * EncryptionInTransit: {
87
+ * ClientBroker: "TLS" || "TLS_PLAINTEXT" || "PLAINTEXT",
88
+ * InCluster: true || false,
89
+ * },
90
+ * },
91
+ * EnhancedMonitoring: "DEFAULT" || "PER_BROKER" || "PER_TOPIC_PER_BROKER" || "PER_TOPIC_PER_PARTITION",
92
+ * OpenMonitoring: {
93
+ * Prometheus: {
94
+ * JmxExporter: {
95
+ * EnabledInBroker: true || false, // required
96
+ * },
97
+ * NodeExporter: {
98
+ * EnabledInBroker: true || false, // required
99
+ * },
100
+ * },
101
+ * },
102
+ * KafkaVersion: "STRING_VALUE", // required
103
+ * LoggingInfo: {
104
+ * BrokerLogs: {
105
+ * CloudWatchLogs: {
106
+ * Enabled: true || false, // required
107
+ * LogGroup: "STRING_VALUE",
108
+ * },
109
+ * Firehose: {
110
+ * DeliveryStream: "STRING_VALUE",
111
+ * Enabled: true || false, // required
112
+ * },
113
+ * S3: {
114
+ * Bucket: "STRING_VALUE",
115
+ * Enabled: true || false, // required
116
+ * Prefix: "STRING_VALUE",
117
+ * },
118
+ * },
119
+ * },
120
+ * NumberOfBrokerNodes: Number("int"), // required
121
+ * StorageMode: "LOCAL" || "TIERED",
122
+ * },
123
+ * Serverless: {
124
+ * VpcConfigs: [ // required
125
+ * {
126
+ * SubnetIds: [ // required
127
+ * "STRING_VALUE",
128
+ * ],
129
+ * SecurityGroupIds: [
130
+ * "STRING_VALUE",
131
+ * ],
132
+ * },
133
+ * ],
134
+ * ClientAuthentication: {
135
+ * Sasl: {
136
+ * Iam: {
137
+ * Enabled: true || false,
138
+ * },
139
+ * },
140
+ * },
141
+ * },
142
+ * };
29
143
  * const command = new CreateClusterV2Command(input);
30
144
  * const response = await client.send(command);
31
145
  * ```
@@ -26,6 +26,14 @@ export interface CreateConfigurationCommandOutput extends CreateConfigurationRes
26
26
  * import { KafkaClient, CreateConfigurationCommand } from "@aws-sdk/client-kafka"; // ES Modules import
27
27
  * // const { KafkaClient, CreateConfigurationCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
28
28
  * const client = new KafkaClient(config);
29
+ * const input = {
30
+ * Description: "STRING_VALUE",
31
+ * KafkaVersions: [
32
+ * "STRING_VALUE",
33
+ * ],
34
+ * Name: "STRING_VALUE", // required
35
+ * ServerProperties: "BLOB_VALUE", // required
36
+ * };
29
37
  * const command = new CreateConfigurationCommand(input);
30
38
  * const response = await client.send(command);
31
39
  * ```
@@ -26,6 +26,10 @@ export interface DeleteClusterCommandOutput extends DeleteClusterResponse, __Met
26
26
  * import { KafkaClient, DeleteClusterCommand } from "@aws-sdk/client-kafka"; // ES Modules import
27
27
  * // const { KafkaClient, DeleteClusterCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
28
28
  * const client = new KafkaClient(config);
29
+ * const input = {
30
+ * ClusterArn: "STRING_VALUE", // required
31
+ * CurrentVersion: "STRING_VALUE",
32
+ * };
29
33
  * const command = new DeleteClusterCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,9 @@ export interface DeleteConfigurationCommandOutput extends DeleteConfigurationRes
26
26
  * import { KafkaClient, DeleteConfigurationCommand } from "@aws-sdk/client-kafka"; // ES Modules import
27
27
  * // const { KafkaClient, DeleteConfigurationCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
28
28
  * const client = new KafkaClient(config);
29
+ * const input = {
30
+ * Arn: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DeleteConfigurationCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,9 @@ export interface DescribeClusterCommandOutput extends DescribeClusterResponse, _
26
26
  * import { KafkaClient, DescribeClusterCommand } from "@aws-sdk/client-kafka"; // ES Modules import
27
27
  * // const { KafkaClient, DescribeClusterCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
28
28
  * const client = new KafkaClient(config);
29
+ * const input = {
30
+ * ClusterArn: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DescribeClusterCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,9 @@ export interface DescribeClusterOperationCommandOutput extends DescribeClusterOp
26
26
  * import { KafkaClient, DescribeClusterOperationCommand } from "@aws-sdk/client-kafka"; // ES Modules import
27
27
  * // const { KafkaClient, DescribeClusterOperationCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
28
28
  * const client = new KafkaClient(config);
29
+ * const input = {
30
+ * ClusterOperationArn: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DescribeClusterOperationCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,9 @@ export interface DescribeClusterV2CommandOutput extends DescribeClusterV2Respons
26
26
  * import { KafkaClient, DescribeClusterV2Command } from "@aws-sdk/client-kafka"; // ES Modules import
27
27
  * // const { KafkaClient, DescribeClusterV2Command } = require("@aws-sdk/client-kafka"); // CommonJS import
28
28
  * const client = new KafkaClient(config);
29
+ * const input = {
30
+ * ClusterArn: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DescribeClusterV2Command(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,9 @@ export interface DescribeConfigurationCommandOutput extends DescribeConfiguratio
26
26
  * import { KafkaClient, DescribeConfigurationCommand } from "@aws-sdk/client-kafka"; // ES Modules import
27
27
  * // const { KafkaClient, DescribeConfigurationCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
28
28
  * const client = new KafkaClient(config);
29
+ * const input = {
30
+ * Arn: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DescribeConfigurationCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,10 @@ export interface DescribeConfigurationRevisionCommandOutput extends DescribeConf
26
26
  * import { KafkaClient, DescribeConfigurationRevisionCommand } from "@aws-sdk/client-kafka"; // ES Modules import
27
27
  * // const { KafkaClient, DescribeConfigurationRevisionCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
28
28
  * const client = new KafkaClient(config);
29
+ * const input = {
30
+ * Arn: "STRING_VALUE", // required
31
+ * Revision: Number("long"), // required
32
+ * };
29
33
  * const command = new DescribeConfigurationRevisionCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,9 @@ export interface GetBootstrapBrokersCommandOutput extends GetBootstrapBrokersRes
26
26
  * import { KafkaClient, GetBootstrapBrokersCommand } from "@aws-sdk/client-kafka"; // ES Modules import
27
27
  * // const { KafkaClient, GetBootstrapBrokersCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
28
28
  * const client = new KafkaClient(config);
29
+ * const input = {
30
+ * ClusterArn: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new GetBootstrapBrokersCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,9 @@ export interface GetCompatibleKafkaVersionsCommandOutput extends GetCompatibleKa
26
26
  * import { KafkaClient, GetCompatibleKafkaVersionsCommand } from "@aws-sdk/client-kafka"; // ES Modules import
27
27
  * // const { KafkaClient, GetCompatibleKafkaVersionsCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
28
28
  * const client = new KafkaClient(config);
29
+ * const input = {
30
+ * ClusterArn: "STRING_VALUE",
31
+ * };
29
32
  * const command = new GetCompatibleKafkaVersionsCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,11 @@ export interface ListClusterOperationsCommandOutput extends ListClusterOperation
26
26
  * import { KafkaClient, ListClusterOperationsCommand } from "@aws-sdk/client-kafka"; // ES Modules import
27
27
  * // const { KafkaClient, ListClusterOperationsCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
28
28
  * const client = new KafkaClient(config);
29
+ * const input = {
30
+ * ClusterArn: "STRING_VALUE", // required
31
+ * MaxResults: Number("int"),
32
+ * NextToken: "STRING_VALUE",
33
+ * };
29
34
  * const command = new ListClusterOperationsCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,11 @@ export interface ListClustersCommandOutput extends ListClustersResponse, __Metad
26
26
  * import { KafkaClient, ListClustersCommand } from "@aws-sdk/client-kafka"; // ES Modules import
27
27
  * // const { KafkaClient, ListClustersCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
28
28
  * const client = new KafkaClient(config);
29
+ * const input = {
30
+ * ClusterNameFilter: "STRING_VALUE",
31
+ * MaxResults: Number("int"),
32
+ * NextToken: "STRING_VALUE",
33
+ * };
29
34
  * const command = new ListClustersCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,12 @@ export interface ListClustersV2CommandOutput extends ListClustersV2Response, __M
26
26
  * import { KafkaClient, ListClustersV2Command } from "@aws-sdk/client-kafka"; // ES Modules import
27
27
  * // const { KafkaClient, ListClustersV2Command } = require("@aws-sdk/client-kafka"); // CommonJS import
28
28
  * const client = new KafkaClient(config);
29
+ * const input = {
30
+ * ClusterNameFilter: "STRING_VALUE",
31
+ * ClusterTypeFilter: "STRING_VALUE",
32
+ * MaxResults: Number("int"),
33
+ * NextToken: "STRING_VALUE",
34
+ * };
29
35
  * const command = new ListClustersV2Command(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -26,6 +26,11 @@ export interface ListConfigurationRevisionsCommandOutput extends ListConfigurati
26
26
  * import { KafkaClient, ListConfigurationRevisionsCommand } from "@aws-sdk/client-kafka"; // ES Modules import
27
27
  * // const { KafkaClient, ListConfigurationRevisionsCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
28
28
  * const client = new KafkaClient(config);
29
+ * const input = {
30
+ * Arn: "STRING_VALUE", // required
31
+ * MaxResults: Number("int"),
32
+ * NextToken: "STRING_VALUE",
33
+ * };
29
34
  * const command = new ListConfigurationRevisionsCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,10 @@ export interface ListConfigurationsCommandOutput extends ListConfigurationsRespo
26
26
  * import { KafkaClient, ListConfigurationsCommand } from "@aws-sdk/client-kafka"; // ES Modules import
27
27
  * // const { KafkaClient, ListConfigurationsCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
28
28
  * const client = new KafkaClient(config);
29
+ * const input = {
30
+ * MaxResults: Number("int"),
31
+ * NextToken: "STRING_VALUE",
32
+ * };
29
33
  * const command = new ListConfigurationsCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,10 @@ export interface ListKafkaVersionsCommandOutput extends ListKafkaVersionsRespons
26
26
  * import { KafkaClient, ListKafkaVersionsCommand } from "@aws-sdk/client-kafka"; // ES Modules import
27
27
  * // const { KafkaClient, ListKafkaVersionsCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
28
28
  * const client = new KafkaClient(config);
29
+ * const input = {
30
+ * MaxResults: Number("int"),
31
+ * NextToken: "STRING_VALUE",
32
+ * };
29
33
  * const command = new ListKafkaVersionsCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,11 @@ export interface ListNodesCommandOutput extends ListNodesResponse, __MetadataBea
26
26
  * import { KafkaClient, ListNodesCommand } from "@aws-sdk/client-kafka"; // ES Modules import
27
27
  * // const { KafkaClient, ListNodesCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
28
28
  * const client = new KafkaClient(config);
29
+ * const input = {
30
+ * ClusterArn: "STRING_VALUE", // required
31
+ * MaxResults: Number("int"),
32
+ * NextToken: "STRING_VALUE",
33
+ * };
29
34
  * const command = new ListNodesCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,11 @@ export interface ListScramSecretsCommandOutput extends ListScramSecretsResponse,
26
26
  * import { KafkaClient, ListScramSecretsCommand } from "@aws-sdk/client-kafka"; // ES Modules import
27
27
  * // const { KafkaClient, ListScramSecretsCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
28
28
  * const client = new KafkaClient(config);
29
+ * const input = {
30
+ * ClusterArn: "STRING_VALUE", // required
31
+ * MaxResults: Number("int"),
32
+ * NextToken: "STRING_VALUE",
33
+ * };
29
34
  * const command = new ListScramSecretsCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
26
26
  * import { KafkaClient, ListTagsForResourceCommand } from "@aws-sdk/client-kafka"; // ES Modules import
27
27
  * // const { KafkaClient, ListTagsForResourceCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
28
28
  * const client = new KafkaClient(config);
29
+ * const input = {
30
+ * ResourceArn: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new ListTagsForResourceCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,12 @@ export interface RebootBrokerCommandOutput extends RebootBrokerResponse, __Metad
26
26
  * import { KafkaClient, RebootBrokerCommand } from "@aws-sdk/client-kafka"; // ES Modules import
27
27
  * // const { KafkaClient, RebootBrokerCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
28
28
  * const client = new KafkaClient(config);
29
+ * const input = {
30
+ * BrokerIds: [ // required
31
+ * "STRING_VALUE",
32
+ * ],
33
+ * ClusterArn: "STRING_VALUE", // required
34
+ * };
29
35
  * const command = new RebootBrokerCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -26,6 +26,12 @@ export interface TagResourceCommandOutput extends __MetadataBearer {
26
26
  * import { KafkaClient, TagResourceCommand } from "@aws-sdk/client-kafka"; // ES Modules import
27
27
  * // const { KafkaClient, TagResourceCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
28
28
  * const client = new KafkaClient(config);
29
+ * const input = {
30
+ * ResourceArn: "STRING_VALUE", // required
31
+ * Tags: { // required
32
+ * "<keys>": "STRING_VALUE",
33
+ * },
34
+ * };
29
35
  * const command = new TagResourceCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -26,6 +26,12 @@ export interface UntagResourceCommandOutput extends __MetadataBearer {
26
26
  * import { KafkaClient, UntagResourceCommand } from "@aws-sdk/client-kafka"; // ES Modules import
27
27
  * // const { KafkaClient, UntagResourceCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
28
28
  * const client = new KafkaClient(config);
29
+ * const input = {
30
+ * ResourceArn: "STRING_VALUE", // required
31
+ * TagKeys: [ // required
32
+ * "STRING_VALUE",
33
+ * ],
34
+ * };
29
35
  * const command = new UntagResourceCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -26,6 +26,11 @@ export interface UpdateBrokerCountCommandOutput extends UpdateBrokerCountRespons
26
26
  * import { KafkaClient, UpdateBrokerCountCommand } from "@aws-sdk/client-kafka"; // ES Modules import
27
27
  * // const { KafkaClient, UpdateBrokerCountCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
28
28
  * const client = new KafkaClient(config);
29
+ * const input = {
30
+ * ClusterArn: "STRING_VALUE", // required
31
+ * CurrentVersion: "STRING_VALUE", // required
32
+ * TargetNumberOfBrokerNodes: Number("int"), // required
33
+ * };
29
34
  * const command = new UpdateBrokerCountCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,20 @@ export interface UpdateBrokerStorageCommandOutput extends UpdateBrokerStorageRes
26
26
  * import { KafkaClient, UpdateBrokerStorageCommand } from "@aws-sdk/client-kafka"; // ES Modules import
27
27
  * // const { KafkaClient, UpdateBrokerStorageCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
28
28
  * const client = new KafkaClient(config);
29
+ * const input = {
30
+ * ClusterArn: "STRING_VALUE", // required
31
+ * CurrentVersion: "STRING_VALUE", // required
32
+ * TargetBrokerEBSVolumeInfo: [ // required
33
+ * {
34
+ * KafkaBrokerNodeId: "STRING_VALUE", // required
35
+ * ProvisionedThroughput: {
36
+ * Enabled: true || false,
37
+ * VolumeThroughput: Number("int"),
38
+ * },
39
+ * VolumeSizeGB: Number("int"),
40
+ * },
41
+ * ],
42
+ * };
29
43
  * const command = new UpdateBrokerStorageCommand(input);
30
44
  * const response = await client.send(command);
31
45
  * ```
@@ -26,6 +26,11 @@ export interface UpdateBrokerTypeCommandOutput extends UpdateBrokerTypeResponse,
26
26
  * import { KafkaClient, UpdateBrokerTypeCommand } from "@aws-sdk/client-kafka"; // ES Modules import
27
27
  * // const { KafkaClient, UpdateBrokerTypeCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
28
28
  * const client = new KafkaClient(config);
29
+ * const input = {
30
+ * ClusterArn: "STRING_VALUE", // required
31
+ * CurrentVersion: "STRING_VALUE", // required
32
+ * TargetInstanceType: "STRING_VALUE", // required
33
+ * };
29
34
  * const command = new UpdateBrokerTypeCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,14 @@ export interface UpdateClusterConfigurationCommandOutput extends UpdateClusterCo
26
26
  * import { KafkaClient, UpdateClusterConfigurationCommand } from "@aws-sdk/client-kafka"; // ES Modules import
27
27
  * // const { KafkaClient, UpdateClusterConfigurationCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
28
28
  * const client = new KafkaClient(config);
29
+ * const input = {
30
+ * ClusterArn: "STRING_VALUE", // required
31
+ * ConfigurationInfo: {
32
+ * Arn: "STRING_VALUE", // required
33
+ * Revision: Number("long"), // required
34
+ * },
35
+ * CurrentVersion: "STRING_VALUE", // required
36
+ * };
29
37
  * const command = new UpdateClusterConfigurationCommand(input);
30
38
  * const response = await client.send(command);
31
39
  * ```
@@ -26,6 +26,15 @@ export interface UpdateClusterKafkaVersionCommandOutput extends UpdateClusterKaf
26
26
  * import { KafkaClient, UpdateClusterKafkaVersionCommand } from "@aws-sdk/client-kafka"; // ES Modules import
27
27
  * // const { KafkaClient, UpdateClusterKafkaVersionCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
28
28
  * const client = new KafkaClient(config);
29
+ * const input = {
30
+ * ClusterArn: "STRING_VALUE", // required
31
+ * ConfigurationInfo: {
32
+ * Arn: "STRING_VALUE", // required
33
+ * Revision: Number("long"), // required
34
+ * },
35
+ * CurrentVersion: "STRING_VALUE", // required
36
+ * TargetKafkaVersion: "STRING_VALUE", // required
37
+ * };
29
38
  * const command = new UpdateClusterKafkaVersionCommand(input);
30
39
  * const response = await client.send(command);
31
40
  * ```
@@ -26,6 +26,11 @@ export interface UpdateConfigurationCommandOutput extends UpdateConfigurationRes
26
26
  * import { KafkaClient, UpdateConfigurationCommand } from "@aws-sdk/client-kafka"; // ES Modules import
27
27
  * // const { KafkaClient, UpdateConfigurationCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
28
28
  * const client = new KafkaClient(config);
29
+ * const input = {
30
+ * Arn: "STRING_VALUE", // required
31
+ * Description: "STRING_VALUE",
32
+ * ServerProperties: "BLOB_VALUE", // required
33
+ * };
29
34
  * const command = new UpdateConfigurationCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,15 @@ export interface UpdateConnectivityCommandOutput extends UpdateConnectivityRespo
26
26
  * import { KafkaClient, UpdateConnectivityCommand } from "@aws-sdk/client-kafka"; // ES Modules import
27
27
  * // const { KafkaClient, UpdateConnectivityCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
28
28
  * const client = new KafkaClient(config);
29
+ * const input = {
30
+ * ClusterArn: "STRING_VALUE", // required
31
+ * ConnectivityInfo: {
32
+ * PublicAccess: {
33
+ * Type: "STRING_VALUE",
34
+ * },
35
+ * },
36
+ * CurrentVersion: "STRING_VALUE", // required
37
+ * };
29
38
  * const command = new UpdateConnectivityCommand(input);
30
39
  * const response = await client.send(command);
31
40
  * ```
@@ -26,6 +26,38 @@ export interface UpdateMonitoringCommandOutput extends UpdateMonitoringResponse,
26
26
  * import { KafkaClient, UpdateMonitoringCommand } from "@aws-sdk/client-kafka"; // ES Modules import
27
27
  * // const { KafkaClient, UpdateMonitoringCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
28
28
  * const client = new KafkaClient(config);
29
+ * const input = {
30
+ * ClusterArn: "STRING_VALUE", // required
31
+ * CurrentVersion: "STRING_VALUE", // required
32
+ * EnhancedMonitoring: "DEFAULT" || "PER_BROKER" || "PER_TOPIC_PER_BROKER" || "PER_TOPIC_PER_PARTITION",
33
+ * OpenMonitoring: {
34
+ * Prometheus: {
35
+ * JmxExporter: {
36
+ * EnabledInBroker: true || false, // required
37
+ * },
38
+ * NodeExporter: {
39
+ * EnabledInBroker: true || false, // required
40
+ * },
41
+ * },
42
+ * },
43
+ * LoggingInfo: {
44
+ * BrokerLogs: {
45
+ * CloudWatchLogs: {
46
+ * Enabled: true || false, // required
47
+ * LogGroup: "STRING_VALUE",
48
+ * },
49
+ * Firehose: {
50
+ * DeliveryStream: "STRING_VALUE",
51
+ * Enabled: true || false, // required
52
+ * },
53
+ * S3: {
54
+ * Bucket: "STRING_VALUE",
55
+ * Enabled: true || false, // required
56
+ * Prefix: "STRING_VALUE",
57
+ * },
58
+ * },
59
+ * },
60
+ * };
29
61
  * const command = new UpdateMonitoringCommand(input);
30
62
  * const response = await client.send(command);
31
63
  * ```
@@ -26,6 +26,38 @@ export interface UpdateSecurityCommandOutput extends UpdateSecurityResponse, __M
26
26
  * import { KafkaClient, UpdateSecurityCommand } from "@aws-sdk/client-kafka"; // ES Modules import
27
27
  * // const { KafkaClient, UpdateSecurityCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
28
28
  * const client = new KafkaClient(config);
29
+ * const input = {
30
+ * ClientAuthentication: {
31
+ * Sasl: {
32
+ * Scram: {
33
+ * Enabled: true || false,
34
+ * },
35
+ * Iam: {
36
+ * Enabled: true || false,
37
+ * },
38
+ * },
39
+ * Tls: {
40
+ * CertificateAuthorityArnList: [
41
+ * "STRING_VALUE",
42
+ * ],
43
+ * Enabled: true || false,
44
+ * },
45
+ * Unauthenticated: {
46
+ * Enabled: true || false,
47
+ * },
48
+ * },
49
+ * ClusterArn: "STRING_VALUE", // required
50
+ * CurrentVersion: "STRING_VALUE", // required
51
+ * EncryptionInfo: {
52
+ * EncryptionAtRest: {
53
+ * DataVolumeKMSKeyId: "STRING_VALUE", // required
54
+ * },
55
+ * EncryptionInTransit: {
56
+ * ClientBroker: "TLS" || "TLS_PLAINTEXT" || "PLAINTEXT",
57
+ * InCluster: true || false,
58
+ * },
59
+ * },
60
+ * };
29
61
  * const command = new UpdateSecurityCommand(input);
30
62
  * const response = await client.send(command);
31
63
  * ```
@@ -26,6 +26,16 @@ export interface UpdateStorageCommandOutput extends UpdateStorageResponse, __Met
26
26
  * import { KafkaClient, UpdateStorageCommand } from "@aws-sdk/client-kafka"; // ES Modules import
27
27
  * // const { KafkaClient, UpdateStorageCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
28
28
  * const client = new KafkaClient(config);
29
+ * const input = {
30
+ * ClusterArn: "STRING_VALUE", // required
31
+ * CurrentVersion: "STRING_VALUE", // required
32
+ * ProvisionedThroughput: {
33
+ * Enabled: true || false,
34
+ * VolumeThroughput: Number("int"),
35
+ * },
36
+ * StorageMode: "LOCAL" || "TIERED",
37
+ * VolumeSizeGB: Number("int"),
38
+ * };
29
39
  * const command = new UpdateStorageCommand(input);
30
40
  * const response = await client.send(command);
31
41
  * ```
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.299.0",
4
+ "version": "3.300.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.299.0",
25
- "@aws-sdk/config-resolver": "3.299.0",
26
- "@aws-sdk/credential-provider-node": "3.299.0",
24
+ "@aws-sdk/client-sts": "3.300.0",
25
+ "@aws-sdk/config-resolver": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.300.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.296.0",
28
28
  "@aws-sdk/hash-node": "3.296.0",
29
29
  "@aws-sdk/invalid-dependency": "3.296.0",
@@ -32,12 +32,12 @@
32
32
  "@aws-sdk/middleware-host-header": "3.296.0",
33
33
  "@aws-sdk/middleware-logger": "3.296.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.296.0",
35
+ "@aws-sdk/middleware-retry": "3.300.0",
36
36
  "@aws-sdk/middleware-serde": "3.296.0",
37
37
  "@aws-sdk/middleware-signing": "3.299.0",
38
38
  "@aws-sdk/middleware-stack": "3.296.0",
39
39
  "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.296.0",
40
+ "@aws-sdk/node-config-provider": "3.300.0",
41
41
  "@aws-sdk/node-http-handler": "3.296.0",
42
42
  "@aws-sdk/protocol-http": "3.296.0",
43
43
  "@aws-sdk/smithy-client": "3.296.0",
@@ -47,11 +47,11 @@
47
47
  "@aws-sdk/util-body-length-browser": "3.295.0",
48
48
  "@aws-sdk/util-body-length-node": "3.295.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.299.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
51
  "@aws-sdk/util-endpoints": "3.296.0",
52
52
  "@aws-sdk/util-retry": "3.296.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.299.0",
54
+ "@aws-sdk/util-user-agent-node": "3.300.0",
55
55
  "@aws-sdk/util-utf8": "3.295.0",
56
56
  "tslib": "^2.5.0"
57
57
  },