@aws-sdk/client-kafka 3.299.0 → 3.301.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 = { // BatchAssociateScramSecretRequest
30
+ * ClusterArn: "STRING_VALUE", // required
31
+ * SecretArnList: [ // __listOf__string // 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 = { // BatchDisassociateScramSecretRequest
30
+ * ClusterArn: "STRING_VALUE", // required
31
+ * SecretArnList: [ // __listOf__string // 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 = { // CreateClusterRequest
30
+ * BrokerNodeGroupInfo: { // BrokerNodeGroupInfo
31
+ * BrokerAZDistribution: "DEFAULT",
32
+ * ClientSubnets: [ // __listOf__string // required
33
+ * "STRING_VALUE",
34
+ * ],
35
+ * InstanceType: "STRING_VALUE", // required
36
+ * SecurityGroups: [
37
+ * "STRING_VALUE",
38
+ * ],
39
+ * StorageInfo: { // StorageInfo
40
+ * EbsStorageInfo: { // EBSStorageInfo
41
+ * ProvisionedThroughput: { // ProvisionedThroughput
42
+ * Enabled: true || false,
43
+ * VolumeThroughput: Number("int"),
44
+ * },
45
+ * VolumeSize: Number("int"),
46
+ * },
47
+ * },
48
+ * ConnectivityInfo: { // ConnectivityInfo
49
+ * PublicAccess: { // PublicAccess
50
+ * Type: "STRING_VALUE",
51
+ * },
52
+ * },
53
+ * },
54
+ * ClientAuthentication: { // ClientAuthentication
55
+ * Sasl: { // Sasl
56
+ * Scram: { // Scram
57
+ * Enabled: true || false,
58
+ * },
59
+ * Iam: { // Iam
60
+ * Enabled: true || false,
61
+ * },
62
+ * },
63
+ * Tls: { // Tls
64
+ * CertificateAuthorityArnList: [
65
+ * "STRING_VALUE",
66
+ * ],
67
+ * Enabled: true || false,
68
+ * },
69
+ * Unauthenticated: { // Unauthenticated
70
+ * Enabled: true || false,
71
+ * },
72
+ * },
73
+ * ClusterName: "STRING_VALUE", // required
74
+ * ConfigurationInfo: { // ConfigurationInfo
75
+ * Arn: "STRING_VALUE", // required
76
+ * Revision: Number("long"), // required
77
+ * },
78
+ * EncryptionInfo: { // EncryptionInfo
79
+ * EncryptionAtRest: { // EncryptionAtRest
80
+ * DataVolumeKMSKeyId: "STRING_VALUE", // required
81
+ * },
82
+ * EncryptionInTransit: { // 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: { // OpenMonitoringInfo
89
+ * Prometheus: { // PrometheusInfo
90
+ * JmxExporter: { // JmxExporterInfo
91
+ * EnabledInBroker: true || false, // required
92
+ * },
93
+ * NodeExporter: { // NodeExporterInfo
94
+ * EnabledInBroker: true || false, // required
95
+ * },
96
+ * },
97
+ * },
98
+ * KafkaVersion: "STRING_VALUE", // required
99
+ * LoggingInfo: { // LoggingInfo
100
+ * BrokerLogs: { // BrokerLogs
101
+ * CloudWatchLogs: { // CloudWatchLogs
102
+ * Enabled: true || false, // required
103
+ * LogGroup: "STRING_VALUE",
104
+ * },
105
+ * Firehose: { // Firehose
106
+ * DeliveryStream: "STRING_VALUE",
107
+ * Enabled: true || false, // required
108
+ * },
109
+ * S3: { // S3
110
+ * Bucket: "STRING_VALUE",
111
+ * Enabled: true || false, // required
112
+ * Prefix: "STRING_VALUE",
113
+ * },
114
+ * },
115
+ * },
116
+ * NumberOfBrokerNodes: Number("int"), // required
117
+ * Tags: { // __mapOf__string
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 = { // CreateClusterV2Request
30
+ * ClusterName: "STRING_VALUE", // required
31
+ * Tags: { // __mapOf__string
32
+ * "<keys>": "STRING_VALUE",
33
+ * },
34
+ * Provisioned: { // ProvisionedRequest
35
+ * BrokerNodeGroupInfo: { // BrokerNodeGroupInfo
36
+ * BrokerAZDistribution: "DEFAULT",
37
+ * ClientSubnets: [ // __listOf__string // required
38
+ * "STRING_VALUE",
39
+ * ],
40
+ * InstanceType: "STRING_VALUE", // required
41
+ * SecurityGroups: [
42
+ * "STRING_VALUE",
43
+ * ],
44
+ * StorageInfo: { // StorageInfo
45
+ * EbsStorageInfo: { // EBSStorageInfo
46
+ * ProvisionedThroughput: { // ProvisionedThroughput
47
+ * Enabled: true || false,
48
+ * VolumeThroughput: Number("int"),
49
+ * },
50
+ * VolumeSize: Number("int"),
51
+ * },
52
+ * },
53
+ * ConnectivityInfo: { // ConnectivityInfo
54
+ * PublicAccess: { // PublicAccess
55
+ * Type: "STRING_VALUE",
56
+ * },
57
+ * },
58
+ * },
59
+ * ClientAuthentication: { // ClientAuthentication
60
+ * Sasl: { // Sasl
61
+ * Scram: { // Scram
62
+ * Enabled: true || false,
63
+ * },
64
+ * Iam: { // Iam
65
+ * Enabled: true || false,
66
+ * },
67
+ * },
68
+ * Tls: { // Tls
69
+ * CertificateAuthorityArnList: [
70
+ * "STRING_VALUE",
71
+ * ],
72
+ * Enabled: true || false,
73
+ * },
74
+ * Unauthenticated: { // Unauthenticated
75
+ * Enabled: true || false,
76
+ * },
77
+ * },
78
+ * ConfigurationInfo: { // ConfigurationInfo
79
+ * Arn: "STRING_VALUE", // required
80
+ * Revision: Number("long"), // required
81
+ * },
82
+ * EncryptionInfo: { // EncryptionInfo
83
+ * EncryptionAtRest: { // EncryptionAtRest
84
+ * DataVolumeKMSKeyId: "STRING_VALUE", // required
85
+ * },
86
+ * EncryptionInTransit: { // 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: { // OpenMonitoringInfo
93
+ * Prometheus: { // PrometheusInfo
94
+ * JmxExporter: { // JmxExporterInfo
95
+ * EnabledInBroker: true || false, // required
96
+ * },
97
+ * NodeExporter: { // NodeExporterInfo
98
+ * EnabledInBroker: true || false, // required
99
+ * },
100
+ * },
101
+ * },
102
+ * KafkaVersion: "STRING_VALUE", // required
103
+ * LoggingInfo: { // LoggingInfo
104
+ * BrokerLogs: { // BrokerLogs
105
+ * CloudWatchLogs: { // CloudWatchLogs
106
+ * Enabled: true || false, // required
107
+ * LogGroup: "STRING_VALUE",
108
+ * },
109
+ * Firehose: { // Firehose
110
+ * DeliveryStream: "STRING_VALUE",
111
+ * Enabled: true || false, // required
112
+ * },
113
+ * S3: { // 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: { // ServerlessRequest
124
+ * VpcConfigs: [ // __listOfVpcConfig // required
125
+ * { // VpcConfig
126
+ * SubnetIds: [ // required
127
+ * "STRING_VALUE",
128
+ * ],
129
+ * SecurityGroupIds: [
130
+ * "STRING_VALUE",
131
+ * ],
132
+ * },
133
+ * ],
134
+ * ClientAuthentication: { // ServerlessClientAuthentication
135
+ * Sasl: { // ServerlessSasl
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 = { // CreateConfigurationRequest
30
+ * Description: "STRING_VALUE",
31
+ * KafkaVersions: [ // __listOf__string
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 = { // DeleteClusterRequest
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 = { // DeleteConfigurationRequest
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 = { // DescribeClusterRequest
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 = { // DescribeClusterOperationRequest
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 = { // DescribeClusterV2Request
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 = { // DescribeConfigurationRequest
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 = { // DescribeConfigurationRevisionRequest
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 = { // GetBootstrapBrokersRequest
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 = { // GetCompatibleKafkaVersionsRequest
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 = { // ListClusterOperationsRequest
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 = { // ListClustersRequest
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 = { // ListClustersV2Request
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 = { // ListConfigurationRevisionsRequest
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 = { // ListConfigurationsRequest
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 = { // ListKafkaVersionsRequest
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 = { // ListNodesRequest
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 = { // ListScramSecretsRequest
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 = { // ListTagsForResourceRequest
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 = { // RebootBrokerRequest
30
+ * BrokerIds: [ // __listOf__string // 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 = { // TagResourceRequest
30
+ * ResourceArn: "STRING_VALUE", // required
31
+ * Tags: { // __mapOf__string // 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 = { // UntagResourceRequest
30
+ * ResourceArn: "STRING_VALUE", // required
31
+ * TagKeys: [ // __listOf__string // 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 = { // UpdateBrokerCountRequest
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 = { // UpdateBrokerStorageRequest
30
+ * ClusterArn: "STRING_VALUE", // required
31
+ * CurrentVersion: "STRING_VALUE", // required
32
+ * TargetBrokerEBSVolumeInfo: [ // __listOfBrokerEBSVolumeInfo // required
33
+ * { // BrokerEBSVolumeInfo
34
+ * KafkaBrokerNodeId: "STRING_VALUE", // required
35
+ * ProvisionedThroughput: { // 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 = { // UpdateBrokerTypeRequest
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 = { // UpdateClusterConfigurationRequest
30
+ * ClusterArn: "STRING_VALUE", // required
31
+ * ConfigurationInfo: { // 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 = { // UpdateClusterKafkaVersionRequest
30
+ * ClusterArn: "STRING_VALUE", // required
31
+ * ConfigurationInfo: { // 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 = { // UpdateConfigurationRequest
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 = { // UpdateConnectivityRequest
30
+ * ClusterArn: "STRING_VALUE", // required
31
+ * ConnectivityInfo: { // ConnectivityInfo
32
+ * PublicAccess: { // 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 = { // UpdateMonitoringRequest
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: { // OpenMonitoringInfo
34
+ * Prometheus: { // PrometheusInfo
35
+ * JmxExporter: { // JmxExporterInfo
36
+ * EnabledInBroker: true || false, // required
37
+ * },
38
+ * NodeExporter: { // NodeExporterInfo
39
+ * EnabledInBroker: true || false, // required
40
+ * },
41
+ * },
42
+ * },
43
+ * LoggingInfo: { // LoggingInfo
44
+ * BrokerLogs: { // BrokerLogs
45
+ * CloudWatchLogs: { // CloudWatchLogs
46
+ * Enabled: true || false, // required
47
+ * LogGroup: "STRING_VALUE",
48
+ * },
49
+ * Firehose: { // Firehose
50
+ * DeliveryStream: "STRING_VALUE",
51
+ * Enabled: true || false, // required
52
+ * },
53
+ * S3: { // 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 = { // UpdateSecurityRequest
30
+ * ClientAuthentication: { // ClientAuthentication
31
+ * Sasl: { // Sasl
32
+ * Scram: { // Scram
33
+ * Enabled: true || false,
34
+ * },
35
+ * Iam: { // Iam
36
+ * Enabled: true || false,
37
+ * },
38
+ * },
39
+ * Tls: { // Tls
40
+ * CertificateAuthorityArnList: [ // __listOf__string
41
+ * "STRING_VALUE",
42
+ * ],
43
+ * Enabled: true || false,
44
+ * },
45
+ * Unauthenticated: { // Unauthenticated
46
+ * Enabled: true || false,
47
+ * },
48
+ * },
49
+ * ClusterArn: "STRING_VALUE", // required
50
+ * CurrentVersion: "STRING_VALUE", // required
51
+ * EncryptionInfo: { // EncryptionInfo
52
+ * EncryptionAtRest: { // EncryptionAtRest
53
+ * DataVolumeKMSKeyId: "STRING_VALUE", // required
54
+ * },
55
+ * EncryptionInTransit: { // 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 = { // UpdateStorageRequest
30
+ * ClusterArn: "STRING_VALUE", // required
31
+ * CurrentVersion: "STRING_VALUE", // required
32
+ * ProvisionedThroughput: { // 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.301.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.301.0",
25
+ "@aws-sdk/config-resolver": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.301.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
  },