@aws-sdk/client-kafka 3.1172.0 → 3.1174.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 (65) hide show
  1. package/README.md +63 -0
  2. package/dist-cjs/index.js +500 -91
  3. package/dist-es/Kafka.js +24 -0
  4. package/dist-es/commands/CreateAssessmentCommand.js +4 -0
  5. package/dist-es/commands/DeleteAssessmentCommand.js +4 -0
  6. package/dist-es/commands/DescribeAssessmentCommand.js +4 -0
  7. package/dist-es/commands/DescribeTopicReassignmentCommand.js +4 -0
  8. package/dist-es/commands/ListAssessmentFindingsCommand.js +4 -0
  9. package/dist-es/commands/ListAssessmentsCommand.js +4 -0
  10. package/dist-es/commands/ListTopicReassignmentsCommand.js +4 -0
  11. package/dist-es/commands/StartTopicReassignmentCommand.js +4 -0
  12. package/dist-es/commands/StopTopicReassignmentCommand.js +4 -0
  13. package/dist-es/commands/index.js +9 -0
  14. package/dist-es/models/enums.js +41 -0
  15. package/dist-es/pagination/ListAssessmentFindingsPaginator.js +4 -0
  16. package/dist-es/pagination/ListAssessmentsPaginator.js +4 -0
  17. package/dist-es/pagination/ListTopicReassignmentsPaginator.js +4 -0
  18. package/dist-es/pagination/index.js +3 -0
  19. package/dist-es/schemas/schemas_0.js +361 -90
  20. package/dist-types/Kafka.d.ts +84 -0
  21. package/dist-types/KafkaClient.d.ts +11 -2
  22. package/dist-types/commands/CreateAssessmentCommand.d.ts +106 -0
  23. package/dist-types/commands/DeleteAssessmentCommand.d.ts +97 -0
  24. package/dist-types/commands/DescribeAssessmentCommand.d.ts +116 -0
  25. package/dist-types/commands/DescribeClusterOperationCommand.d.ts +4 -0
  26. package/dist-types/commands/DescribeClusterOperationV2Command.d.ts +4 -0
  27. package/dist-types/commands/DescribeTopicCommand.d.ts +3 -0
  28. package/dist-types/commands/DescribeTopicReassignmentCommand.d.ts +112 -0
  29. package/dist-types/commands/ListAssessmentFindingsCommand.d.ts +113 -0
  30. package/dist-types/commands/ListAssessmentsCommand.d.ts +107 -0
  31. package/dist-types/commands/ListClusterOperationsCommand.d.ts +4 -0
  32. package/dist-types/commands/ListNodesCommand.d.ts +1 -0
  33. package/dist-types/commands/ListTopicReassignmentsCommand.d.ts +105 -0
  34. package/dist-types/commands/ListTopicsCommand.d.ts +3 -0
  35. package/dist-types/commands/StartTopicReassignmentCommand.d.ts +105 -0
  36. package/dist-types/commands/StopTopicReassignmentCommand.d.ts +94 -0
  37. package/dist-types/commands/UpdateBrokerTypeCommand.d.ts +1 -0
  38. package/dist-types/commands/index.d.ts +9 -0
  39. package/dist-types/models/enums.d.ts +105 -0
  40. package/dist-types/models/models_0.d.ts +675 -2
  41. package/dist-types/pagination/ListAssessmentFindingsPaginator.d.ts +7 -0
  42. package/dist-types/pagination/ListAssessmentsPaginator.d.ts +7 -0
  43. package/dist-types/pagination/ListTopicReassignmentsPaginator.d.ts +7 -0
  44. package/dist-types/pagination/index.d.ts +3 -0
  45. package/dist-types/schemas/schemas_0.d.ts +34 -0
  46. package/dist-types/ts3.4/Kafka.d.ts +174 -0
  47. package/dist-types/ts3.4/KafkaClient.d.ts +54 -0
  48. package/dist-types/ts3.4/commands/CreateAssessmentCommand.d.ts +38 -0
  49. package/dist-types/ts3.4/commands/DeleteAssessmentCommand.d.ts +38 -0
  50. package/dist-types/ts3.4/commands/DescribeAssessmentCommand.d.ts +39 -0
  51. package/dist-types/ts3.4/commands/DescribeTopicReassignmentCommand.d.ts +42 -0
  52. package/dist-types/ts3.4/commands/ListAssessmentFindingsCommand.d.ts +39 -0
  53. package/dist-types/ts3.4/commands/ListAssessmentsCommand.d.ts +38 -0
  54. package/dist-types/ts3.4/commands/ListTopicReassignmentsCommand.d.ts +39 -0
  55. package/dist-types/ts3.4/commands/StartTopicReassignmentCommand.d.ts +39 -0
  56. package/dist-types/ts3.4/commands/StopTopicReassignmentCommand.d.ts +39 -0
  57. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  58. package/dist-types/ts3.4/models/enums.d.ts +51 -0
  59. package/dist-types/ts3.4/models/models_0.d.ts +164 -0
  60. package/dist-types/ts3.4/pagination/ListAssessmentFindingsPaginator.d.ts +11 -0
  61. package/dist-types/ts3.4/pagination/ListAssessmentsPaginator.d.ts +11 -0
  62. package/dist-types/ts3.4/pagination/ListTopicReassignmentsPaginator.d.ts +11 -0
  63. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  64. package/dist-types/ts3.4/schemas/schemas_0.d.ts +34 -0
  65. package/package.json +1 -1
@@ -1,4 +1,92 @@
1
- import type { BrokerAZDistribution, ChannelDestinationType, ChannelStatus, ClientBroker, ClusterState, ClusterType, ConfigurationState, ConsumerGroupOffsetSyncMode, CustomerActionStatus, EnhancedMonitoring, IcebergCompressionType, JwtSigningAlgorithm, KafkaClusterEncryptionInTransitType, KafkaClusterSaslScramMechanism, KafkaVersionStatus, NetworkType, NodeType, PartitionStrategy, RebalancingStatus, ReplicationStartingPositionType, ReplicationTopicNameConfigurationType, ReplicatorState, S3CompressionType, S3StorageClass, StorageMode, TargetCompressionType, TokenEndpointAuthenticationMethod, TopicState, UserIdentityType, ValueConverter, VpcConnectionState } from "./enums";
1
+ import type { AssessmentStatus, AssessmentType, BrokerAZDistribution, BrokerNodeType, ChannelDestinationType, ChannelStatus, ClientBroker, ClusterState, ClusterType, ConfigurationState, ConsumerGroupOffsetSyncMode, CustomerActionStatus, EnhancedMonitoring, FindingCategory, FindingSeverity, IcebergCompressionType, JwtSigningAlgorithm, KafkaClusterEncryptionInTransitType, KafkaClusterSaslScramMechanism, KafkaVersionStatus, NetworkType, NodeType, PartitionStrategy, RebalancingStatus, ReplicationStartingPositionType, ReplicationTopicNameConfigurationType, ReplicatorState, S3CompressionType, S3StorageClass, StorageMode, TargetCompressionType, TokenEndpointAuthenticationMethod, TopicReassignment, TopicReassignmentMode, TopicReassignmentStatus, TopicState, UserIdentityType, ValueConverter, VpcConnectionState } from "./enums";
2
+ /**
3
+ * <p>Guidance for resolving a finding.</p>
4
+ * @public
5
+ */
6
+ export interface FindingRemediation {
7
+ /**
8
+ * <p>The recommended action to resolve this finding.</p>
9
+ * @public
10
+ */
11
+ Action?: string | undefined;
12
+ /**
13
+ * <p>A link to documentation with more detail about this finding and how to resolve it.</p>
14
+ * @public
15
+ */
16
+ DocumentationUrl?: string | undefined;
17
+ }
18
+ /**
19
+ * <p>A single finding from an assessment, describing a specific issue or observation.</p>
20
+ * @public
21
+ */
22
+ export interface AssessmentFinding {
23
+ /**
24
+ * <p>The category of this finding.</p>
25
+ * @public
26
+ */
27
+ Category: FindingCategory | undefined;
28
+ /**
29
+ * <p>A deterministic content-based identifier for this finding. Generated from hash(category + resource + check_type). The same resource with the same problem always produces the same findingId across assessment runs.</p>
30
+ * @public
31
+ */
32
+ FindingId: string | undefined;
33
+ /**
34
+ * <p>Human-readable description of what is wrong, why it matters, and what to do.</p>
35
+ * @public
36
+ */
37
+ Message: string | undefined;
38
+ /**
39
+ * <p>Guidance for resolving this finding. Absent when no specific remediation applies.</p>
40
+ * @public
41
+ */
42
+ Remediation?: FindingRemediation | undefined;
43
+ /**
44
+ * <p>The specific resource affected (e.g., topic name). Absent for cluster-level findings.</p>
45
+ * @public
46
+ */
47
+ Resource?: string | undefined;
48
+ /**
49
+ * <p>The severity of this finding.</p>
50
+ * @public
51
+ */
52
+ Severity: FindingSeverity | undefined;
53
+ }
54
+ /**
55
+ * <p>Summary information about an assessment, returned by ListAssessments.</p>
56
+ * @public
57
+ */
58
+ export interface AssessmentInfo {
59
+ /**
60
+ * <p>The Amazon Resource Name (ARN) of the assessment.</p>
61
+ * @public
62
+ */
63
+ AssessmentArn?: string | undefined;
64
+ /**
65
+ * <p>The type of assessment.</p>
66
+ * @public
67
+ */
68
+ AssessmentType?: AssessmentType | undefined;
69
+ /**
70
+ * <p>The Amazon Resource Name (ARN) of the cluster that was assessed.</p>
71
+ * @public
72
+ */
73
+ ClusterArn?: string | undefined;
74
+ /**
75
+ * <p>The time when the assessment was created.</p>
76
+ * @public
77
+ */
78
+ CreationTime?: Date | undefined;
79
+ /**
80
+ * <p>The current status of the assessment.</p>
81
+ * @public
82
+ */
83
+ Status?: AssessmentStatus | undefined;
84
+ /**
85
+ * <p>The tags attached to the assessment.</p>
86
+ * @public
87
+ */
88
+ Tags?: Record<string, string> | undefined;
89
+ }
2
90
  /**
3
91
  * <p>Contains information about provisioned throughput for EBS storage volumes attached to kafka broker nodes.</p>
4
92
  * @public
@@ -921,6 +1009,22 @@ export interface ClusterInfo {
921
1009
  */
922
1010
  CustomerActionStatus?: CustomerActionStatus | undefined;
923
1011
  }
1012
+ /**
1013
+ * <p>Information about the topic reassignment of an UpdateBrokerType operation that upgrades a cluster from Standard brokers to Express brokers. Present only on the operation that initiated the upgrade.</p>
1014
+ * @public
1015
+ */
1016
+ export interface BrokerTypeUpgradeInfo {
1017
+ /**
1018
+ * <p>How topics are reassigned to the Express brokers.</p>
1019
+ * @public
1020
+ */
1021
+ TopicReassignmentMode?: TopicReassignmentMode | undefined;
1022
+ /**
1023
+ * <p>The Amazon Resource Name (ARN) of the topic reassignment operation that Amazon MSK started for this upgrade. Present once that reassignment has started. Under MANUAL you start reassignments yourself, so Amazon MSK starts none.</p>
1024
+ * @public
1025
+ */
1026
+ TopicReassignmentOperationArn?: string | undefined;
1027
+ }
924
1028
  /**
925
1029
  * <p>Returns information about an error state of the cluster.</p>
926
1030
  * @public
@@ -1135,6 +1239,11 @@ export interface VpcConnectionInfo {
1135
1239
  * @public
1136
1240
  */
1137
1241
  export interface ClusterOperationInfo {
1242
+ /**
1243
+ * <p>Topic reassignment details of the UpdateBrokerType operation that started an upgrade from Standard brokers to Express brokers.</p>
1244
+ * @public
1245
+ */
1246
+ BrokerTypeUpgradeInfo?: BrokerTypeUpgradeInfo | undefined;
1138
1247
  /**
1139
1248
  * <p>The ID of the API request that triggered this operation.</p>
1140
1249
  * @public
@@ -1674,6 +1783,11 @@ export interface BrokerNodeInfo {
1674
1783
  * @public
1675
1784
  */
1676
1785
  BrokerId?: number | undefined;
1786
+ /**
1787
+ * <p>Whether this broker is a Standard broker or an Express broker. While an UpdateBrokerType operation upgrades a cluster in place from Standard brokers to Express brokers, the cluster contains brokers of both types and this field tells them apart.</p>
1788
+ * @public
1789
+ */
1790
+ BrokerNodeType?: BrokerNodeType | undefined;
1677
1791
  /**
1678
1792
  * <p>The client subnet to which this broker node belongs.</p>
1679
1793
  * @public
@@ -2084,6 +2198,11 @@ export interface TopicInfo {
2084
2198
  * @public
2085
2199
  */
2086
2200
  OutOfSyncReplicaCount?: number | undefined;
2201
+ /**
2202
+ * <p>The broker IDs hosting replicas of this topic's partitions.</p>
2203
+ * @public
2204
+ */
2205
+ ReplicaIds?: number[] | undefined;
2087
2206
  }
2088
2207
  /**
2089
2208
  * <p>Contains information about a topic partition.</p>
@@ -2111,6 +2230,42 @@ export interface TopicPartitionInfo {
2111
2230
  */
2112
2231
  Isr?: number[] | undefined;
2113
2232
  }
2233
+ /**
2234
+ * <p>Summary information about a topic reassignment operation.</p>
2235
+ * @public
2236
+ */
2237
+ export interface TopicReassignmentInfo {
2238
+ /**
2239
+ * <p>Number of topics fully migrated.</p>
2240
+ * @public
2241
+ */
2242
+ CompletedTopics?: number | undefined;
2243
+ /**
2244
+ * <p>When the operation was created.</p>
2245
+ * @public
2246
+ */
2247
+ CreationTime?: Date | undefined;
2248
+ /**
2249
+ * <p>The current status of the reassignment operation.</p>
2250
+ * @public
2251
+ */
2252
+ Status?: TopicReassignmentStatus | undefined;
2253
+ /**
2254
+ * <p>The target broker instance type for this reassignment.</p>
2255
+ * @public
2256
+ */
2257
+ TargetInstanceType?: string | undefined;
2258
+ /**
2259
+ * <p>The Amazon Resource Name (ARN) of the topic reassignment operation.</p>
2260
+ * @public
2261
+ */
2262
+ TopicReassignmentOperationArn?: string | undefined;
2263
+ /**
2264
+ * <p>Total number of topics matching the selector.</p>
2265
+ * @public
2266
+ */
2267
+ TotalTopics?: number | undefined;
2268
+ }
2114
2269
  /**
2115
2270
  * <p>Error info for scram secret associate/disassociate failure.</p>
2116
2271
  * @public
@@ -2168,6 +2323,48 @@ export interface VpcConnection {
2168
2323
  */
2169
2324
  State?: VpcConnectionState | undefined;
2170
2325
  }
2326
+ /**
2327
+ * <p>Type-specific parameters for the assessment. All fields are optional.</p>
2328
+ * @public
2329
+ */
2330
+ export interface AssessmentParameters {
2331
+ /**
2332
+ * <p>The target instance type to assess against (for example, express.m7g.large). Optional: when omitted, the assessment reports a recommended instance type as a CAPACITY finding. Supply it to assess readiness for a specific instance type.</p>
2333
+ * @public
2334
+ */
2335
+ TargetInstanceType?: string | undefined;
2336
+ }
2337
+ /**
2338
+ * <p>Summary of assessment findings broken down by category and severity.</p>
2339
+ * @public
2340
+ */
2341
+ export interface AssessmentSummary {
2342
+ /**
2343
+ * <p>Count of findings grouped by category.</p>
2344
+ * @public
2345
+ */
2346
+ ByCategory?: Record<string, number> | undefined;
2347
+ /**
2348
+ * <p>Count of findings grouped by severity.</p>
2349
+ * @public
2350
+ */
2351
+ BySeverity?: Record<string, number> | undefined;
2352
+ /**
2353
+ * <p>True when the assessment detected more findings than it stores. Resolve the reported findings and re-run the assessment to surface the remaining ones.</p>
2354
+ * @public
2355
+ */
2356
+ FindingsCapped?: boolean | undefined;
2357
+ /**
2358
+ * <p>True when the assessment detected at least one ERROR-severity finding. ERROR findings block the migration until resolved.</p>
2359
+ * @public
2360
+ */
2361
+ HasBlockingFindings?: boolean | undefined;
2362
+ /**
2363
+ * <p>The total number of findings detected by the assessment, including any findings beyond the stored-findings cap.</p>
2364
+ * @public
2365
+ */
2366
+ TotalFindings?: number | undefined;
2367
+ }
2171
2368
  /**
2172
2369
  * <p>Associates sasl scram secrets to cluster.</p>
2173
2370
  * @public
@@ -2288,6 +2485,11 @@ export interface ChannelStateInfo {
2288
2485
  * @public
2289
2486
  */
2290
2487
  export interface ClusterOperationV2Provisioned {
2488
+ /**
2489
+ * <p>Topic reassignment details of the UpdateBrokerType operation that started an upgrade from Standard brokers to Express brokers.</p>
2490
+ * @public
2491
+ */
2492
+ BrokerTypeUpgradeInfo?: BrokerTypeUpgradeInfo | undefined;
2291
2493
  /**
2292
2494
  * <p>Steps completed during the operation.</p>
2293
2495
  * @public
@@ -2438,6 +2640,63 @@ export interface ConsumerGroupReplicationUpdate {
2438
2640
  */
2439
2641
  SynchroniseConsumerGroupOffsets: boolean | undefined;
2440
2642
  }
2643
+ /**
2644
+ * <p>Creates a new assessment for a cluster. Kicks off an asynchronous scan and returns immediately with an assessment ARN and status.</p>
2645
+ * @public
2646
+ */
2647
+ export interface CreateAssessmentRequest {
2648
+ /**
2649
+ * <p>Optional type-specific parameters for the assessment.</p>
2650
+ * @public
2651
+ */
2652
+ AssessmentParameters?: AssessmentParameters | undefined;
2653
+ /**
2654
+ * <p>The type of assessment to perform.</p>
2655
+ * @public
2656
+ */
2657
+ AssessmentType: AssessmentType | undefined;
2658
+ /**
2659
+ * <p>The Amazon Resource Name (ARN) of the cluster to assess.</p>
2660
+ * @public
2661
+ */
2662
+ ClusterArn: string | undefined;
2663
+ /**
2664
+ * <p>The tags to attach to the assessment.</p>
2665
+ * @public
2666
+ */
2667
+ Tags?: Record<string, string> | undefined;
2668
+ }
2669
+ /**
2670
+ * <p>Returns information about the created assessment.</p>
2671
+ * @public
2672
+ */
2673
+ export interface CreateAssessmentResponse {
2674
+ /**
2675
+ * <p>The Amazon Resource Name (ARN) of the assessment.</p>
2676
+ * @public
2677
+ */
2678
+ AssessmentArn?: string | undefined;
2679
+ /**
2680
+ * <p>The type of assessment.</p>
2681
+ * @public
2682
+ */
2683
+ AssessmentType?: AssessmentType | undefined;
2684
+ /**
2685
+ * <p>The Amazon Resource Name (ARN) of the cluster being assessed.</p>
2686
+ * @public
2687
+ */
2688
+ ClusterArn?: string | undefined;
2689
+ /**
2690
+ * <p>The time when the assessment was created.</p>
2691
+ * @public
2692
+ */
2693
+ CreationTime?: Date | undefined;
2694
+ /**
2695
+ * <p>The current status of the assessment.</p>
2696
+ * @public
2697
+ */
2698
+ Status?: AssessmentStatus | undefined;
2699
+ }
2441
2700
  /**
2442
2701
  * <p>The AWS KMS encryption configuration applied to data at rest.</p>
2443
2702
  * @public
@@ -3212,6 +3471,37 @@ export interface CreateVpcConnectionResponse {
3212
3471
  */
3213
3472
  Tags?: Record<string, string> | undefined;
3214
3473
  }
3474
+ /**
3475
+ * @public
3476
+ */
3477
+ export interface DeleteAssessmentRequest {
3478
+ /**
3479
+ * <p>The Amazon Resource Name (ARN) of the assessment to delete.</p>
3480
+ * @public
3481
+ */
3482
+ AssessmentArn: string | undefined;
3483
+ /**
3484
+ * <p>The Amazon Resource Name (ARN) of the cluster.</p>
3485
+ * @public
3486
+ */
3487
+ ClusterArn: string | undefined;
3488
+ }
3489
+ /**
3490
+ * <p>Returns the result of deleting an assessment.</p>
3491
+ * @public
3492
+ */
3493
+ export interface DeleteAssessmentResponse {
3494
+ /**
3495
+ * <p>The Amazon Resource Name (ARN) of the assessment being deleted.</p>
3496
+ * @public
3497
+ */
3498
+ AssessmentArn?: string | undefined;
3499
+ /**
3500
+ * <p>The current status of the assessment. Will be DELETING.</p>
3501
+ * @public
3502
+ */
3503
+ Status?: AssessmentStatus | undefined;
3504
+ }
3215
3505
  /**
3216
3506
  * @public
3217
3507
  */
@@ -3403,6 +3693,77 @@ export interface DeleteVpcConnectionResponse {
3403
3693
  */
3404
3694
  State?: VpcConnectionState | undefined;
3405
3695
  }
3696
+ /**
3697
+ * @public
3698
+ */
3699
+ export interface DescribeAssessmentRequest {
3700
+ /**
3701
+ * <p>The Amazon Resource Name (ARN) of the assessment.</p>
3702
+ * @public
3703
+ */
3704
+ AssessmentArn: string | undefined;
3705
+ /**
3706
+ * <p>The Amazon Resource Name (ARN) of the cluster.</p>
3707
+ * @public
3708
+ */
3709
+ ClusterArn: string | undefined;
3710
+ }
3711
+ /**
3712
+ * <p>Returns the status and summary of an assessment.</p>
3713
+ * @public
3714
+ */
3715
+ export interface DescribeAssessmentResponse {
3716
+ /**
3717
+ * <p>The Amazon Resource Name (ARN) of the assessment.</p>
3718
+ * @public
3719
+ */
3720
+ AssessmentArn?: string | undefined;
3721
+ /**
3722
+ * <p>The parameters that were provided when creating the assessment.</p>
3723
+ * @public
3724
+ */
3725
+ AssessmentParameters?: AssessmentParameters | undefined;
3726
+ /**
3727
+ * <p>The type of assessment.</p>
3728
+ * @public
3729
+ */
3730
+ AssessmentType?: AssessmentType | undefined;
3731
+ /**
3732
+ * <p>The Amazon Resource Name (ARN) of the cluster that was assessed.</p>
3733
+ * @public
3734
+ */
3735
+ ClusterArn?: string | undefined;
3736
+ /**
3737
+ * <p>The time when the assessment completed. Present only when status is COMPLETE or FAILED.</p>
3738
+ * @public
3739
+ */
3740
+ CompletionTime?: Date | undefined;
3741
+ /**
3742
+ * <p>The time when the assessment was created.</p>
3743
+ * @public
3744
+ */
3745
+ CreationTime?: Date | undefined;
3746
+ /**
3747
+ * <p>The current status of the assessment.</p>
3748
+ * @public
3749
+ */
3750
+ Status?: AssessmentStatus | undefined;
3751
+ /**
3752
+ * <p>Additional information about the current status. Present when status is FAILED.</p>
3753
+ * @public
3754
+ */
3755
+ StatusMessage?: string | undefined;
3756
+ /**
3757
+ * <p>Summary of findings by category and severity. Present only when status is COMPLETE.</p>
3758
+ * @public
3759
+ */
3760
+ Summary?: AssessmentSummary | undefined;
3761
+ /**
3762
+ * <p>The tags attached to the assessment.</p>
3763
+ * @public
3764
+ */
3765
+ Tags?: Record<string, string> | undefined;
3766
+ }
3406
3767
  /**
3407
3768
  * @public
3408
3769
  */
@@ -3815,6 +4176,11 @@ export interface DescribeTopicResponse {
3815
4176
  * @public
3816
4177
  */
3817
4178
  Status?: TopicState | undefined;
4179
+ /**
4180
+ * <p>The broker IDs hosting replicas of this topic's partitions.</p>
4181
+ * @public
4182
+ */
4183
+ ReplicaIds?: number[] | undefined;
3818
4184
  }
3819
4185
  /**
3820
4186
  * @public
@@ -3858,6 +4224,92 @@ export interface DescribeTopicPartitionsResponse {
3858
4224
  */
3859
4225
  NextToken?: string | undefined;
3860
4226
  }
4227
+ /**
4228
+ * @public
4229
+ */
4230
+ export interface DescribeTopicReassignmentRequest {
4231
+ /**
4232
+ * <p>The Amazon Resource Name (ARN) of the cluster.</p>
4233
+ * @public
4234
+ */
4235
+ ClusterArn: string | undefined;
4236
+ /**
4237
+ * <p>The Amazon Resource Name (ARN) of the topic reassignment operation.</p>
4238
+ * @public
4239
+ */
4240
+ TopicReassignmentOperationArn: string | undefined;
4241
+ }
4242
+ /**
4243
+ * <p>Returns the status and progress of a topic reassignment operation.</p>
4244
+ * @public
4245
+ */
4246
+ export interface DescribeTopicReassignmentResponse {
4247
+ /**
4248
+ * <p>The Amazon Resource Name (ARN) of the cluster.</p>
4249
+ * @public
4250
+ */
4251
+ ClusterArn?: string | undefined;
4252
+ /**
4253
+ * <p>Number of topics fully migrated to the target broker type.</p>
4254
+ * @public
4255
+ */
4256
+ CompletedTopics?: number | undefined;
4257
+ /**
4258
+ * <p>When the operation was created.</p>
4259
+ * @public
4260
+ */
4261
+ CreationTime?: Date | undefined;
4262
+ /**
4263
+ * <p>Error details. Present only when status is FAILED.</p>
4264
+ * @public
4265
+ */
4266
+ ErrorInfo?: ErrorInfo | undefined;
4267
+ /**
4268
+ * <p>Last time the status or progress counters were updated.</p>
4269
+ * @public
4270
+ */
4271
+ LastUpdateTime?: Date | undefined;
4272
+ /**
4273
+ * <p>Number of partitions confirmed on the target broker type.</p>
4274
+ * @public
4275
+ */
4276
+ MigratedPartitions?: number | undefined;
4277
+ /**
4278
+ * <p>The current status of the reassignment operation.</p>
4279
+ * @public
4280
+ */
4281
+ Status?: TopicReassignmentStatus | undefined;
4282
+ /**
4283
+ * <p>The target broker instance type for this reassignment.</p>
4284
+ * @public
4285
+ */
4286
+ TargetInstanceType?: string | undefined;
4287
+ /**
4288
+ * <p>The Amazon Resource Name (ARN) of the topic reassignment operation.</p>
4289
+ * @public
4290
+ */
4291
+ TopicReassignmentOperationArn?: string | undefined;
4292
+ /**
4293
+ * <p>The original exclude patterns provided in the request.</p>
4294
+ * @public
4295
+ */
4296
+ TopicsToExclude?: string[] | undefined;
4297
+ /**
4298
+ * <p>The original include patterns provided in the request.</p>
4299
+ * @public
4300
+ */
4301
+ TopicsToInclude?: string[] | undefined;
4302
+ /**
4303
+ * <p>Total number of partitions across all matched topics.</p>
4304
+ * @public
4305
+ */
4306
+ TotalPartitions?: number | undefined;
4307
+ /**
4308
+ * <p>Total number of topics matching the selector at resolution time.</p>
4309
+ * @public
4310
+ */
4311
+ TotalTopics?: number | undefined;
4312
+ }
3861
4313
  /**
3862
4314
  * @public
3863
4315
  */
@@ -4059,6 +4511,98 @@ export interface IcebergDestinationUpdate {
4059
4511
  */
4060
4512
  DataFreshnessInSeconds: number | undefined;
4061
4513
  }
4514
+ /**
4515
+ * @public
4516
+ */
4517
+ export interface ListAssessmentFindingsRequest {
4518
+ /**
4519
+ * <p>The Amazon Resource Name (ARN) of the assessment.</p>
4520
+ * @public
4521
+ */
4522
+ AssessmentArn: string | undefined;
4523
+ /**
4524
+ * <p>Optional filter. Only return findings matching this category.</p>
4525
+ * @public
4526
+ */
4527
+ Category?: string | undefined;
4528
+ /**
4529
+ * <p>The Amazon Resource Name (ARN) of the cluster.</p>
4530
+ * @public
4531
+ */
4532
+ ClusterArn: string | undefined;
4533
+ /**
4534
+ * <p>Maximum number of findings to return. Default 100, maximum 500.</p>
4535
+ * @public
4536
+ */
4537
+ MaxResults?: number | undefined;
4538
+ /**
4539
+ * <p>If the response is truncated, it returns a nextToken. Send this in the subsequent request to get the remaining results.</p>
4540
+ * @public
4541
+ */
4542
+ NextToken?: string | undefined;
4543
+ /**
4544
+ * <p>Optional filter. Only return findings matching this severity.</p>
4545
+ * @public
4546
+ */
4547
+ Severity?: string | undefined;
4548
+ }
4549
+ /**
4550
+ * <p>Returns the findings for a completed assessment.</p>
4551
+ * @public
4552
+ */
4553
+ export interface ListAssessmentFindingsResponse {
4554
+ /**
4555
+ * <p>A list of findings from the assessment.</p>
4556
+ * @public
4557
+ */
4558
+ Findings?: AssessmentFinding[] | undefined;
4559
+ /**
4560
+ * <p>If the response is truncated, it returns a nextToken. Send this in the subsequent request to get the remaining results.</p>
4561
+ * @public
4562
+ */
4563
+ NextToken?: string | undefined;
4564
+ }
4565
+ /**
4566
+ * @public
4567
+ */
4568
+ export interface ListAssessmentsRequest {
4569
+ /**
4570
+ * <p>Optional filter. The type of assessment to filter by.</p>
4571
+ * @public
4572
+ */
4573
+ AssessmentType?: string | undefined;
4574
+ /**
4575
+ * <p>The Amazon Resource Name (ARN) of the cluster to list assessments for.</p>
4576
+ * @public
4577
+ */
4578
+ ClusterArn: string | undefined;
4579
+ /**
4580
+ * <p>Maximum number of assessments to return. Default 25, maximum 100.</p>
4581
+ * @public
4582
+ */
4583
+ MaxResults?: number | undefined;
4584
+ /**
4585
+ * <p>If the response is truncated, it returns a nextToken. Send this in the subsequent request to get the remaining results.</p>
4586
+ * @public
4587
+ */
4588
+ NextToken?: string | undefined;
4589
+ }
4590
+ /**
4591
+ * <p>Returns a list of assessments.</p>
4592
+ * @public
4593
+ */
4594
+ export interface ListAssessmentsResponse {
4595
+ /**
4596
+ * <p>A list of assessment summaries.</p>
4597
+ * @public
4598
+ */
4599
+ Assessments?: AssessmentInfo[] | undefined;
4600
+ /**
4601
+ * <p>If the response is truncated, it returns a nextToken. Send this in the subsequent request to get the remaining results.</p>
4602
+ * @public
4603
+ */
4604
+ NextToken?: string | undefined;
4605
+ }
4062
4606
  /**
4063
4607
  * @public
4064
4608
  */
@@ -4504,6 +5048,47 @@ export interface ListTagsForResourceResponse {
4504
5048
  */
4505
5049
  Tags?: Record<string, string> | undefined;
4506
5050
  }
5051
+ /**
5052
+ * @public
5053
+ */
5054
+ export interface ListTopicReassignmentsRequest {
5055
+ /**
5056
+ * <p>The Amazon Resource Name (ARN) of the cluster.</p>
5057
+ * @public
5058
+ */
5059
+ ClusterArn: string | undefined;
5060
+ /**
5061
+ * <p>Maximum number of reassignment operations to return. Default 50, maximum 100.</p>
5062
+ * @public
5063
+ */
5064
+ MaxResults?: number | undefined;
5065
+ /**
5066
+ * <p>If the response is truncated, it returns a nextToken. Send this in the subsequent request to get the remaining results.</p>
5067
+ * @public
5068
+ */
5069
+ NextToken?: string | undefined;
5070
+ /**
5071
+ * <p>Optional filter. Only return reassignments matching these statuses.</p>
5072
+ * @public
5073
+ */
5074
+ StatusFilter?: string | undefined;
5075
+ }
5076
+ /**
5077
+ * <p>Returns a list of topic reassignment operations for a cluster.</p>
5078
+ * @public
5079
+ */
5080
+ export interface ListTopicReassignmentsResponse {
5081
+ /**
5082
+ * <p>If the response is truncated, it returns a nextToken. Send this in the subsequent request to get the remaining results.</p>
5083
+ * @public
5084
+ */
5085
+ NextToken?: string | undefined;
5086
+ /**
5087
+ * <p>A list of topic reassignment operation summaries.</p>
5088
+ * @public
5089
+ */
5090
+ Reassignments?: TopicReassignmentInfo[] | undefined;
5091
+ }
4507
5092
  /**
4508
5093
  * @public
4509
5094
  */
@@ -4659,6 +5244,89 @@ export interface RejectClientVpcConnectionRequest {
4659
5244
  */
4660
5245
  export interface RejectClientVpcConnectionResponse {
4661
5246
  }
5247
+ /**
5248
+ * <p>Initiates topic partition reassignment between broker types in a mixed-mode cluster.</p>
5249
+ * @public
5250
+ */
5251
+ export interface StartTopicReassignmentRequest {
5252
+ /**
5253
+ * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request with the same client token within 24 hours, the API returns the original response without creating a duplicate operation.</p>
5254
+ * @public
5255
+ */
5256
+ ClientToken?: string | undefined;
5257
+ /**
5258
+ * <p>The Amazon Resource Name (ARN) of the cluster.</p>
5259
+ * @public
5260
+ */
5261
+ ClusterArn: string | undefined;
5262
+ /**
5263
+ * <p>Instance type of the target brokers. Must exist in the cluster. Use Express instance type (e.g., express.m7g.large) for Standard-to-Express migration. Use Standard instance type (e.g., kafka.m7g.large) to move topics back to Standard.</p>
5264
+ * @public
5265
+ */
5266
+ TargetInstanceType: string | undefined;
5267
+ /**
5268
+ * <p>Regex patterns for topics to exclude from reassignment. Evaluated after include patterns.</p>
5269
+ * @public
5270
+ */
5271
+ TopicsToExclude?: string[] | undefined;
5272
+ /**
5273
+ * <p>Regex patterns for topics to reassign. Use ['.*'] for all topics. Max 10 patterns.</p>
5274
+ * @public
5275
+ */
5276
+ TopicsToInclude: string[] | undefined;
5277
+ }
5278
+ /**
5279
+ * <p>Returns information about the initiated topic reassignment operation.</p>
5280
+ * @public
5281
+ */
5282
+ export interface StartTopicReassignmentResponse {
5283
+ /**
5284
+ * <p>The Amazon Resource Name (ARN) of the cluster.</p>
5285
+ * @public
5286
+ */
5287
+ ClusterArn?: string | undefined;
5288
+ /**
5289
+ * <p>The current status of the reassignment operation.</p>
5290
+ * @public
5291
+ */
5292
+ Status?: TopicReassignmentStatus | undefined;
5293
+ /**
5294
+ * <p>The Amazon Resource Name (ARN) of the topic reassignment operation.</p>
5295
+ * @public
5296
+ */
5297
+ TopicReassignmentOperationArn?: string | undefined;
5298
+ }
5299
+ /**
5300
+ * @public
5301
+ */
5302
+ export interface StopTopicReassignmentRequest {
5303
+ /**
5304
+ * <p>The Amazon Resource Name (ARN) of the cluster.</p>
5305
+ * @public
5306
+ */
5307
+ ClusterArn: string | undefined;
5308
+ /**
5309
+ * <p>The Amazon Resource Name (ARN) of the topic reassignment operation to stop.</p>
5310
+ * @public
5311
+ */
5312
+ TopicReassignmentOperationArn: string | undefined;
5313
+ }
5314
+ /**
5315
+ * <p>Returns the result of stopping a topic reassignment operation.</p>
5316
+ * @public
5317
+ */
5318
+ export interface StopTopicReassignmentResponse {
5319
+ /**
5320
+ * <p>The current status of the operation. Will be STOPPING.</p>
5321
+ * @public
5322
+ */
5323
+ Status?: TopicReassignmentStatus | undefined;
5324
+ /**
5325
+ * <p>The Amazon Resource Name (ARN) of the topic reassignment operation.</p>
5326
+ * @public
5327
+ */
5328
+ TopicReassignmentOperationArn?: string | undefined;
5329
+ }
4662
5330
  /**
4663
5331
  * @public
4664
5332
  */
@@ -4793,10 +5461,15 @@ export interface UpdateBrokerTypeRequest {
4793
5461
  */
4794
5462
  CurrentVersion: string | undefined;
4795
5463
  /**
4796
- * <p>The Amazon MSK broker type that you want all of the brokers in this cluster to be.</p>
5464
+ * <p>The type of Amazon EC2 instances to use for Kafka brokers. For in-place upgrades to Express, use the composite format to initiate mixed mode, the Express instance type to complete the upgrade, or the Standard instance type to rollback.</p>
4797
5465
  * @public
4798
5466
  */
4799
5467
  TargetInstanceType: string | undefined;
5468
+ /**
5469
+ * <p>Controls automatic topic reassignment when entering mixed broker mode. When set to AUTO, MSK automatically reassigns all topics to the target broker type after adding new brokers. When set to MANUAL (default), customers manage topic reassignment using the StartTopicReassignment API. Only valid when targetInstanceType is a composite mixed-mode value. Must be set to MANUAL before completing the upgrade or rolling back.</p>
5470
+ * @public
5471
+ */
5472
+ TopicReassignment?: TopicReassignment | undefined;
4800
5473
  }
4801
5474
  /**
4802
5475
  * @public