@aws-sdk/client-kafka 3.325.0 → 3.327.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 (46) hide show
  1. package/dist-types/commands/BatchAssociateScramSecretCommand.d.ts +13 -0
  2. package/dist-types/commands/BatchDisassociateScramSecretCommand.d.ts +13 -0
  3. package/dist-types/commands/CreateClusterCommand.d.ts +8 -0
  4. package/dist-types/commands/CreateClusterV2Command.d.ts +9 -0
  5. package/dist-types/commands/CreateConfigurationCommand.d.ts +14 -0
  6. package/dist-types/commands/CreateVpcConnectionCommand.d.ts +19 -0
  7. package/dist-types/commands/DeleteClusterCommand.d.ts +7 -0
  8. package/dist-types/commands/DeleteClusterPolicyCommand.d.ts +4 -0
  9. package/dist-types/commands/DeleteConfigurationCommand.d.ts +7 -0
  10. package/dist-types/commands/DeleteVpcConnectionCommand.d.ts +7 -0
  11. package/dist-types/commands/DescribeClusterCommand.d.ts +127 -0
  12. package/dist-types/commands/DescribeClusterOperationCommand.d.ts +227 -0
  13. package/dist-types/commands/DescribeClusterV2Command.d.ts +147 -0
  14. package/dist-types/commands/DescribeConfigurationCommand.d.ts +18 -0
  15. package/dist-types/commands/DescribeConfigurationRevisionCommand.d.ts +10 -0
  16. package/dist-types/commands/DescribeVpcConnectionCommand.d.ts +20 -0
  17. package/dist-types/commands/GetBootstrapBrokersCommand.d.ts +15 -0
  18. package/dist-types/commands/GetClusterPolicyCommand.d.ts +7 -0
  19. package/dist-types/commands/GetCompatibleKafkaVersionsCommand.d.ts +13 -0
  20. package/dist-types/commands/ListClientVpcConnectionsCommand.d.ts +15 -0
  21. package/dist-types/commands/ListClusterOperationsCommand.d.ts +230 -0
  22. package/dist-types/commands/ListClustersCommand.d.ts +130 -0
  23. package/dist-types/commands/ListClustersV2Command.d.ts +150 -0
  24. package/dist-types/commands/ListConfigurationRevisionsCommand.d.ts +13 -0
  25. package/dist-types/commands/ListConfigurationsCommand.d.ts +23 -0
  26. package/dist-types/commands/ListKafkaVersionsCommand.d.ts +12 -0
  27. package/dist-types/commands/ListNodesCommand.d.ts +37 -0
  28. package/dist-types/commands/ListScramSecretsCommand.d.ts +9 -0
  29. package/dist-types/commands/ListTagsForResourceCommand.d.ts +8 -0
  30. package/dist-types/commands/ListVpcConnectionsCommand.d.ts +16 -0
  31. package/dist-types/commands/PutClusterPolicyCommand.d.ts +6 -0
  32. package/dist-types/commands/RebootBrokerCommand.d.ts +7 -0
  33. package/dist-types/commands/RejectClientVpcConnectionCommand.d.ts +4 -0
  34. package/dist-types/commands/TagResourceCommand.d.ts +4 -0
  35. package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
  36. package/dist-types/commands/UpdateBrokerCountCommand.d.ts +7 -0
  37. package/dist-types/commands/UpdateBrokerStorageCommand.d.ts +7 -0
  38. package/dist-types/commands/UpdateBrokerTypeCommand.d.ts +7 -0
  39. package/dist-types/commands/UpdateClusterConfigurationCommand.d.ts +7 -0
  40. package/dist-types/commands/UpdateClusterKafkaVersionCommand.d.ts +7 -0
  41. package/dist-types/commands/UpdateConfigurationCommand.d.ts +11 -0
  42. package/dist-types/commands/UpdateConnectivityCommand.d.ts +7 -0
  43. package/dist-types/commands/UpdateMonitoringCommand.d.ts +7 -0
  44. package/dist-types/commands/UpdateSecurityCommand.d.ts +7 -0
  45. package/dist-types/commands/UpdateStorageCommand.d.ts +7 -0
  46. package/package.json +7 -7
@@ -42,6 +42,11 @@ export interface UpdateBrokerStorageCommandOutput extends UpdateBrokerStorageRes
42
42
  * };
43
43
  * const command = new UpdateBrokerStorageCommand(input);
44
44
  * const response = await client.send(command);
45
+ * // { // UpdateBrokerStorageResponse
46
+ * // ClusterArn: "STRING_VALUE",
47
+ * // ClusterOperationArn: "STRING_VALUE",
48
+ * // };
49
+ *
45
50
  * ```
46
51
  *
47
52
  * @param UpdateBrokerStorageCommandInput - {@link UpdateBrokerStorageCommandInput}
@@ -65,6 +70,8 @@ export interface UpdateBrokerStorageCommandOutput extends UpdateBrokerStorageRes
65
70
  * @throws {@link UnauthorizedException} (client fault)
66
71
  * <p>Returns information about an error.</p>
67
72
  *
73
+ * @throws {@link KafkaServiceException}
74
+ * <p>Base exception class for all service exceptions from Kafka service.</p>
68
75
  *
69
76
  */
70
77
  export declare class UpdateBrokerStorageCommand extends $Command<UpdateBrokerStorageCommandInput, UpdateBrokerStorageCommandOutput, KafkaClientResolvedConfig> {
@@ -33,6 +33,11 @@ export interface UpdateBrokerTypeCommandOutput extends UpdateBrokerTypeResponse,
33
33
  * };
34
34
  * const command = new UpdateBrokerTypeCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // UpdateBrokerTypeResponse
37
+ * // ClusterArn: "STRING_VALUE",
38
+ * // ClusterOperationArn: "STRING_VALUE",
39
+ * // };
40
+ *
36
41
  * ```
37
42
  *
38
43
  * @param UpdateBrokerTypeCommandInput - {@link UpdateBrokerTypeCommandInput}
@@ -62,6 +67,8 @@ export interface UpdateBrokerTypeCommandOutput extends UpdateBrokerTypeResponse,
62
67
  * @throws {@link UnauthorizedException} (client fault)
63
68
  * <p>Returns information about an error.</p>
64
69
  *
70
+ * @throws {@link KafkaServiceException}
71
+ * <p>Base exception class for all service exceptions from Kafka service.</p>
65
72
  *
66
73
  */
67
74
  export declare class UpdateBrokerTypeCommand extends $Command<UpdateBrokerTypeCommandInput, UpdateBrokerTypeCommandOutput, KafkaClientResolvedConfig> {
@@ -36,6 +36,11 @@ export interface UpdateClusterConfigurationCommandOutput extends UpdateClusterCo
36
36
  * };
37
37
  * const command = new UpdateClusterConfigurationCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // { // UpdateClusterConfigurationResponse
40
+ * // ClusterArn: "STRING_VALUE",
41
+ * // ClusterOperationArn: "STRING_VALUE",
42
+ * // };
43
+ *
39
44
  * ```
40
45
  *
41
46
  * @param UpdateClusterConfigurationCommandInput - {@link UpdateClusterConfigurationCommandInput}
@@ -62,6 +67,8 @@ export interface UpdateClusterConfigurationCommandOutput extends UpdateClusterCo
62
67
  * @throws {@link UnauthorizedException} (client fault)
63
68
  * <p>Returns information about an error.</p>
64
69
  *
70
+ * @throws {@link KafkaServiceException}
71
+ * <p>Base exception class for all service exceptions from Kafka service.</p>
65
72
  *
66
73
  */
67
74
  export declare class UpdateClusterConfigurationCommand extends $Command<UpdateClusterConfigurationCommandInput, UpdateClusterConfigurationCommandOutput, KafkaClientResolvedConfig> {
@@ -37,6 +37,11 @@ export interface UpdateClusterKafkaVersionCommandOutput extends UpdateClusterKaf
37
37
  * };
38
38
  * const command = new UpdateClusterKafkaVersionCommand(input);
39
39
  * const response = await client.send(command);
40
+ * // { // UpdateClusterKafkaVersionResponse
41
+ * // ClusterArn: "STRING_VALUE",
42
+ * // ClusterOperationArn: "STRING_VALUE",
43
+ * // };
44
+ *
40
45
  * ```
41
46
  *
42
47
  * @param UpdateClusterKafkaVersionCommandInput - {@link UpdateClusterKafkaVersionCommandInput}
@@ -66,6 +71,8 @@ export interface UpdateClusterKafkaVersionCommandOutput extends UpdateClusterKaf
66
71
  * @throws {@link UnauthorizedException} (client fault)
67
72
  * <p>Returns information about an error.</p>
68
73
  *
74
+ * @throws {@link KafkaServiceException}
75
+ * <p>Base exception class for all service exceptions from Kafka service.</p>
69
76
  *
70
77
  */
71
78
  export declare class UpdateClusterKafkaVersionCommand extends $Command<UpdateClusterKafkaVersionCommandInput, UpdateClusterKafkaVersionCommandOutput, KafkaClientResolvedConfig> {
@@ -33,6 +33,15 @@ export interface UpdateConfigurationCommandOutput extends UpdateConfigurationRes
33
33
  * };
34
34
  * const command = new UpdateConfigurationCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // UpdateConfigurationResponse
37
+ * // Arn: "STRING_VALUE",
38
+ * // LatestRevision: { // ConfigurationRevision
39
+ * // CreationTime: new Date("TIMESTAMP"), // required
40
+ * // Description: "STRING_VALUE",
41
+ * // Revision: Number("long"), // required
42
+ * // },
43
+ * // };
44
+ *
36
45
  * ```
37
46
  *
38
47
  * @param UpdateConfigurationCommandInput - {@link UpdateConfigurationCommandInput}
@@ -59,6 +68,8 @@ export interface UpdateConfigurationCommandOutput extends UpdateConfigurationRes
59
68
  * @throws {@link UnauthorizedException} (client fault)
60
69
  * <p>Returns information about an error.</p>
61
70
  *
71
+ * @throws {@link KafkaServiceException}
72
+ * <p>Base exception class for all service exceptions from Kafka service.</p>
62
73
  *
63
74
  */
64
75
  export declare class UpdateConfigurationCommand extends $Command<UpdateConfigurationCommandInput, UpdateConfigurationCommandOutput, KafkaClientResolvedConfig> {
@@ -52,6 +52,11 @@ export interface UpdateConnectivityCommandOutput extends UpdateConnectivityRespo
52
52
  * };
53
53
  * const command = new UpdateConnectivityCommand(input);
54
54
  * const response = await client.send(command);
55
+ * // { // UpdateConnectivityResponse
56
+ * // ClusterArn: "STRING_VALUE",
57
+ * // ClusterOperationArn: "STRING_VALUE",
58
+ * // };
59
+ *
55
60
  * ```
56
61
  *
57
62
  * @param UpdateConnectivityCommandInput - {@link UpdateConnectivityCommandInput}
@@ -78,6 +83,8 @@ export interface UpdateConnectivityCommandOutput extends UpdateConnectivityRespo
78
83
  * @throws {@link UnauthorizedException} (client fault)
79
84
  * <p>Returns information about an error.</p>
80
85
  *
86
+ * @throws {@link KafkaServiceException}
87
+ * <p>Base exception class for all service exceptions from Kafka service.</p>
81
88
  *
82
89
  */
83
90
  export declare class UpdateConnectivityCommand extends $Command<UpdateConnectivityCommandInput, UpdateConnectivityCommandOutput, KafkaClientResolvedConfig> {
@@ -60,6 +60,11 @@ export interface UpdateMonitoringCommandOutput extends UpdateMonitoringResponse,
60
60
  * };
61
61
  * const command = new UpdateMonitoringCommand(input);
62
62
  * const response = await client.send(command);
63
+ * // { // UpdateMonitoringResponse
64
+ * // ClusterArn: "STRING_VALUE",
65
+ * // ClusterOperationArn: "STRING_VALUE",
66
+ * // };
67
+ *
63
68
  * ```
64
69
  *
65
70
  * @param UpdateMonitoringCommandInput - {@link UpdateMonitoringCommandInput}
@@ -83,6 +88,8 @@ export interface UpdateMonitoringCommandOutput extends UpdateMonitoringResponse,
83
88
  * @throws {@link UnauthorizedException} (client fault)
84
89
  * <p>Returns information about an error.</p>
85
90
  *
91
+ * @throws {@link KafkaServiceException}
92
+ * <p>Base exception class for all service exceptions from Kafka service.</p>
86
93
  *
87
94
  */
88
95
  export declare class UpdateMonitoringCommand extends $Command<UpdateMonitoringCommandInput, UpdateMonitoringCommandOutput, KafkaClientResolvedConfig> {
@@ -60,6 +60,11 @@ export interface UpdateSecurityCommandOutput extends UpdateSecurityResponse, __M
60
60
  * };
61
61
  * const command = new UpdateSecurityCommand(input);
62
62
  * const response = await client.send(command);
63
+ * // { // UpdateSecurityResponse
64
+ * // ClusterArn: "STRING_VALUE",
65
+ * // ClusterOperationArn: "STRING_VALUE",
66
+ * // };
67
+ *
63
68
  * ```
64
69
  *
65
70
  * @param UpdateSecurityCommandInput - {@link UpdateSecurityCommandInput}
@@ -89,6 +94,8 @@ export interface UpdateSecurityCommandOutput extends UpdateSecurityResponse, __M
89
94
  * @throws {@link UnauthorizedException} (client fault)
90
95
  * <p>Returns information about an error.</p>
91
96
  *
97
+ * @throws {@link KafkaServiceException}
98
+ * <p>Base exception class for all service exceptions from Kafka service.</p>
92
99
  *
93
100
  */
94
101
  export declare class UpdateSecurityCommand extends $Command<UpdateSecurityCommandInput, UpdateSecurityCommandOutput, KafkaClientResolvedConfig> {
@@ -38,6 +38,11 @@ export interface UpdateStorageCommandOutput extends UpdateStorageResponse, __Met
38
38
  * };
39
39
  * const command = new UpdateStorageCommand(input);
40
40
  * const response = await client.send(command);
41
+ * // { // UpdateStorageResponse
42
+ * // ClusterArn: "STRING_VALUE",
43
+ * // ClusterOperationArn: "STRING_VALUE",
44
+ * // };
45
+ *
41
46
  * ```
42
47
  *
43
48
  * @param UpdateStorageCommandInput - {@link UpdateStorageCommandInput}
@@ -67,6 +72,8 @@ export interface UpdateStorageCommandOutput extends UpdateStorageResponse, __Met
67
72
  * @throws {@link UnauthorizedException} (client fault)
68
73
  * <p>Returns information about an error.</p>
69
74
  *
75
+ * @throws {@link KafkaServiceException}
76
+ * <p>Base exception class for all service exceptions from Kafka service.</p>
70
77
  *
71
78
  */
72
79
  export declare class UpdateStorageCommand extends $Command<UpdateStorageCommandInput, UpdateStorageCommandOutput, KafkaClientResolvedConfig> {
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.325.0",
4
+ "version": "3.327.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.325.0",
24
+ "@aws-sdk/client-sts": "3.327.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.325.0",
26
+ "@aws-sdk/credential-provider-node": "3.327.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",
@@ -32,11 +32,11 @@
32
32
  "@aws-sdk/middleware-host-header": "3.325.0",
33
33
  "@aws-sdk/middleware-logger": "3.325.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.325.0",
35
- "@aws-sdk/middleware-retry": "3.325.0",
35
+ "@aws-sdk/middleware-retry": "3.327.0",
36
36
  "@aws-sdk/middleware-serde": "3.325.0",
37
37
  "@aws-sdk/middleware-signing": "3.325.0",
38
38
  "@aws-sdk/middleware-stack": "3.325.0",
39
- "@aws-sdk/middleware-user-agent": "3.325.0",
39
+ "@aws-sdk/middleware-user-agent": "3.327.0",
40
40
  "@aws-sdk/node-config-provider": "3.310.0",
41
41
  "@aws-sdk/node-http-handler": "3.321.1",
42
42
  "@aws-sdk/protocol-http": "3.310.0",
@@ -48,8 +48,8 @@
48
48
  "@aws-sdk/util-body-length-node": "3.310.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.325.0",
50
50
  "@aws-sdk/util-defaults-mode-node": "3.325.0",
51
- "@aws-sdk/util-endpoints": "3.319.0",
52
- "@aws-sdk/util-retry": "3.310.0",
51
+ "@aws-sdk/util-endpoints": "3.327.0",
52
+ "@aws-sdk/util-retry": "3.327.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.310.0",
54
54
  "@aws-sdk/util-user-agent-node": "3.310.0",
55
55
  "@aws-sdk/util-utf8": "3.310.0",