@aws-sdk/client-kafka 3.1172.0 → 3.1173.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,6 +1,7 @@
1
1
  import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator } from "@smithy/types";
2
2
  import { type BatchAssociateScramSecretCommandInput, type BatchAssociateScramSecretCommandOutput } from "./commands/BatchAssociateScramSecretCommand";
3
3
  import { type BatchDisassociateScramSecretCommandInput, type BatchDisassociateScramSecretCommandOutput } from "./commands/BatchDisassociateScramSecretCommand";
4
+ import { type CreateAssessmentCommandInput, type CreateAssessmentCommandOutput } from "./commands/CreateAssessmentCommand";
4
5
  import { type CreateChannelCommandInput, type CreateChannelCommandOutput } from "./commands/CreateChannelCommand";
5
6
  import { type CreateClusterCommandInput, type CreateClusterCommandOutput } from "./commands/CreateClusterCommand";
6
7
  import { type CreateClusterV2CommandInput, type CreateClusterV2CommandOutput } from "./commands/CreateClusterV2Command";
@@ -8,6 +9,7 @@ import { type CreateConfigurationCommandInput, type CreateConfigurationCommandOu
8
9
  import { type CreateReplicatorCommandInput, type CreateReplicatorCommandOutput } from "./commands/CreateReplicatorCommand";
9
10
  import { type CreateTopicCommandInput, type CreateTopicCommandOutput } from "./commands/CreateTopicCommand";
10
11
  import { type CreateVpcConnectionCommandInput, type CreateVpcConnectionCommandOutput } from "./commands/CreateVpcConnectionCommand";
12
+ import { type DeleteAssessmentCommandInput, type DeleteAssessmentCommandOutput } from "./commands/DeleteAssessmentCommand";
11
13
  import { type DeleteChannelCommandInput, type DeleteChannelCommandOutput } from "./commands/DeleteChannelCommand";
12
14
  import { type DeleteClusterCommandInput, type DeleteClusterCommandOutput } from "./commands/DeleteClusterCommand";
13
15
  import { type DeleteClusterPolicyCommandInput, type DeleteClusterPolicyCommandOutput } from "./commands/DeleteClusterPolicyCommand";
@@ -15,6 +17,7 @@ import { type DeleteConfigurationCommandInput, type DeleteConfigurationCommandOu
15
17
  import { type DeleteReplicatorCommandInput, type DeleteReplicatorCommandOutput } from "./commands/DeleteReplicatorCommand";
16
18
  import { type DeleteTopicCommandInput, type DeleteTopicCommandOutput } from "./commands/DeleteTopicCommand";
17
19
  import { type DeleteVpcConnectionCommandInput, type DeleteVpcConnectionCommandOutput } from "./commands/DeleteVpcConnectionCommand";
20
+ import { type DescribeAssessmentCommandInput, type DescribeAssessmentCommandOutput } from "./commands/DescribeAssessmentCommand";
18
21
  import { type DescribeChannelCommandInput, type DescribeChannelCommandOutput } from "./commands/DescribeChannelCommand";
19
22
  import { type DescribeClusterCommandInput, type DescribeClusterCommandOutput } from "./commands/DescribeClusterCommand";
20
23
  import { type DescribeClusterOperationCommandInput, type DescribeClusterOperationCommandOutput } from "./commands/DescribeClusterOperationCommand";
@@ -25,10 +28,13 @@ import { type DescribeConfigurationRevisionCommandInput, type DescribeConfigurat
25
28
  import { type DescribeReplicatorCommandInput, type DescribeReplicatorCommandOutput } from "./commands/DescribeReplicatorCommand";
26
29
  import { type DescribeTopicCommandInput, type DescribeTopicCommandOutput } from "./commands/DescribeTopicCommand";
27
30
  import { type DescribeTopicPartitionsCommandInput, type DescribeTopicPartitionsCommandOutput } from "./commands/DescribeTopicPartitionsCommand";
31
+ import { type DescribeTopicReassignmentCommandInput, type DescribeTopicReassignmentCommandOutput } from "./commands/DescribeTopicReassignmentCommand";
28
32
  import { type DescribeVpcConnectionCommandInput, type DescribeVpcConnectionCommandOutput } from "./commands/DescribeVpcConnectionCommand";
29
33
  import { type GetBootstrapBrokersCommandInput, type GetBootstrapBrokersCommandOutput } from "./commands/GetBootstrapBrokersCommand";
30
34
  import { type GetClusterPolicyCommandInput, type GetClusterPolicyCommandOutput } from "./commands/GetClusterPolicyCommand";
31
35
  import { type GetCompatibleKafkaVersionsCommandInput, type GetCompatibleKafkaVersionsCommandOutput } from "./commands/GetCompatibleKafkaVersionsCommand";
36
+ import { type ListAssessmentFindingsCommandInput, type ListAssessmentFindingsCommandOutput } from "./commands/ListAssessmentFindingsCommand";
37
+ import { type ListAssessmentsCommandInput, type ListAssessmentsCommandOutput } from "./commands/ListAssessmentsCommand";
32
38
  import { type ListChannelsCommandInput, type ListChannelsCommandOutput } from "./commands/ListChannelsCommand";
33
39
  import { type ListClientVpcConnectionsCommandInput, type ListClientVpcConnectionsCommandOutput } from "./commands/ListClientVpcConnectionsCommand";
34
40
  import { type ListClusterOperationsCommandInput, type ListClusterOperationsCommandOutput } from "./commands/ListClusterOperationsCommand";
@@ -42,11 +48,14 @@ import { type ListNodesCommandInput, type ListNodesCommandOutput } from "./comma
42
48
  import { type ListReplicatorsCommandInput, type ListReplicatorsCommandOutput } from "./commands/ListReplicatorsCommand";
43
49
  import { type ListScramSecretsCommandInput, type ListScramSecretsCommandOutput } from "./commands/ListScramSecretsCommand";
44
50
  import { type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
51
+ import { type ListTopicReassignmentsCommandInput, type ListTopicReassignmentsCommandOutput } from "./commands/ListTopicReassignmentsCommand";
45
52
  import { type ListTopicsCommandInput, type ListTopicsCommandOutput } from "./commands/ListTopicsCommand";
46
53
  import { type ListVpcConnectionsCommandInput, type ListVpcConnectionsCommandOutput } from "./commands/ListVpcConnectionsCommand";
47
54
  import { type PutClusterPolicyCommandInput, type PutClusterPolicyCommandOutput } from "./commands/PutClusterPolicyCommand";
48
55
  import { type RebootBrokerCommandInput, type RebootBrokerCommandOutput } from "./commands/RebootBrokerCommand";
49
56
  import { type RejectClientVpcConnectionCommandInput, type RejectClientVpcConnectionCommandOutput } from "./commands/RejectClientVpcConnectionCommand";
57
+ import { type StartTopicReassignmentCommandInput, type StartTopicReassignmentCommandOutput } from "./commands/StartTopicReassignmentCommand";
58
+ import { type StopTopicReassignmentCommandInput, type StopTopicReassignmentCommandOutput } from "./commands/StopTopicReassignmentCommand";
50
59
  import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./commands/TagResourceCommand";
51
60
  import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
52
61
  import { type UpdateBrokerCountCommandInput, type UpdateBrokerCountCommandOutput } from "./commands/UpdateBrokerCountCommand";
@@ -83,6 +92,12 @@ export interface Kafka {
83
92
  batchDisassociateScramSecret(args: BatchDisassociateScramSecretCommandInput, options?: KafkaRequestOptions): Promise<BatchDisassociateScramSecretCommandOutput>;
84
93
  batchDisassociateScramSecret(args: BatchDisassociateScramSecretCommandInput, cb: (err: any, data?: BatchDisassociateScramSecretCommandOutput) => void): void;
85
94
  batchDisassociateScramSecret(args: BatchDisassociateScramSecretCommandInput, options: KafkaRequestOptions, cb: (err: any, data?: BatchDisassociateScramSecretCommandOutput) => void): void;
95
+ /**
96
+ * @see {@link CreateAssessmentCommand}
97
+ */
98
+ createAssessment(args: CreateAssessmentCommandInput, options?: KafkaRequestOptions): Promise<CreateAssessmentCommandOutput>;
99
+ createAssessment(args: CreateAssessmentCommandInput, cb: (err: any, data?: CreateAssessmentCommandOutput) => void): void;
100
+ createAssessment(args: CreateAssessmentCommandInput, options: KafkaRequestOptions, cb: (err: any, data?: CreateAssessmentCommandOutput) => void): void;
86
101
  /**
87
102
  * @see {@link CreateChannelCommand}
88
103
  */
@@ -125,6 +140,12 @@ export interface Kafka {
125
140
  createVpcConnection(args: CreateVpcConnectionCommandInput, options?: KafkaRequestOptions): Promise<CreateVpcConnectionCommandOutput>;
126
141
  createVpcConnection(args: CreateVpcConnectionCommandInput, cb: (err: any, data?: CreateVpcConnectionCommandOutput) => void): void;
127
142
  createVpcConnection(args: CreateVpcConnectionCommandInput, options: KafkaRequestOptions, cb: (err: any, data?: CreateVpcConnectionCommandOutput) => void): void;
143
+ /**
144
+ * @see {@link DeleteAssessmentCommand}
145
+ */
146
+ deleteAssessment(args: DeleteAssessmentCommandInput, options?: KafkaRequestOptions): Promise<DeleteAssessmentCommandOutput>;
147
+ deleteAssessment(args: DeleteAssessmentCommandInput, cb: (err: any, data?: DeleteAssessmentCommandOutput) => void): void;
148
+ deleteAssessment(args: DeleteAssessmentCommandInput, options: KafkaRequestOptions, cb: (err: any, data?: DeleteAssessmentCommandOutput) => void): void;
128
149
  /**
129
150
  * @see {@link DeleteChannelCommand}
130
151
  */
@@ -167,6 +188,12 @@ export interface Kafka {
167
188
  deleteVpcConnection(args: DeleteVpcConnectionCommandInput, options?: KafkaRequestOptions): Promise<DeleteVpcConnectionCommandOutput>;
168
189
  deleteVpcConnection(args: DeleteVpcConnectionCommandInput, cb: (err: any, data?: DeleteVpcConnectionCommandOutput) => void): void;
169
190
  deleteVpcConnection(args: DeleteVpcConnectionCommandInput, options: KafkaRequestOptions, cb: (err: any, data?: DeleteVpcConnectionCommandOutput) => void): void;
191
+ /**
192
+ * @see {@link DescribeAssessmentCommand}
193
+ */
194
+ describeAssessment(args: DescribeAssessmentCommandInput, options?: KafkaRequestOptions): Promise<DescribeAssessmentCommandOutput>;
195
+ describeAssessment(args: DescribeAssessmentCommandInput, cb: (err: any, data?: DescribeAssessmentCommandOutput) => void): void;
196
+ describeAssessment(args: DescribeAssessmentCommandInput, options: KafkaRequestOptions, cb: (err: any, data?: DescribeAssessmentCommandOutput) => void): void;
170
197
  /**
171
198
  * @see {@link DescribeChannelCommand}
172
199
  */
@@ -227,6 +254,12 @@ export interface Kafka {
227
254
  describeTopicPartitions(args: DescribeTopicPartitionsCommandInput, options?: KafkaRequestOptions): Promise<DescribeTopicPartitionsCommandOutput>;
228
255
  describeTopicPartitions(args: DescribeTopicPartitionsCommandInput, cb: (err: any, data?: DescribeTopicPartitionsCommandOutput) => void): void;
229
256
  describeTopicPartitions(args: DescribeTopicPartitionsCommandInput, options: KafkaRequestOptions, cb: (err: any, data?: DescribeTopicPartitionsCommandOutput) => void): void;
257
+ /**
258
+ * @see {@link DescribeTopicReassignmentCommand}
259
+ */
260
+ describeTopicReassignment(args: DescribeTopicReassignmentCommandInput, options?: KafkaRequestOptions): Promise<DescribeTopicReassignmentCommandOutput>;
261
+ describeTopicReassignment(args: DescribeTopicReassignmentCommandInput, cb: (err: any, data?: DescribeTopicReassignmentCommandOutput) => void): void;
262
+ describeTopicReassignment(args: DescribeTopicReassignmentCommandInput, options: KafkaRequestOptions, cb: (err: any, data?: DescribeTopicReassignmentCommandOutput) => void): void;
230
263
  /**
231
264
  * @see {@link DescribeVpcConnectionCommand}
232
265
  */
@@ -252,6 +285,18 @@ export interface Kafka {
252
285
  getCompatibleKafkaVersions(args: GetCompatibleKafkaVersionsCommandInput, options?: KafkaRequestOptions): Promise<GetCompatibleKafkaVersionsCommandOutput>;
253
286
  getCompatibleKafkaVersions(args: GetCompatibleKafkaVersionsCommandInput, cb: (err: any, data?: GetCompatibleKafkaVersionsCommandOutput) => void): void;
254
287
  getCompatibleKafkaVersions(args: GetCompatibleKafkaVersionsCommandInput, options: KafkaRequestOptions, cb: (err: any, data?: GetCompatibleKafkaVersionsCommandOutput) => void): void;
288
+ /**
289
+ * @see {@link ListAssessmentFindingsCommand}
290
+ */
291
+ listAssessmentFindings(args: ListAssessmentFindingsCommandInput, options?: KafkaRequestOptions): Promise<ListAssessmentFindingsCommandOutput>;
292
+ listAssessmentFindings(args: ListAssessmentFindingsCommandInput, cb: (err: any, data?: ListAssessmentFindingsCommandOutput) => void): void;
293
+ listAssessmentFindings(args: ListAssessmentFindingsCommandInput, options: KafkaRequestOptions, cb: (err: any, data?: ListAssessmentFindingsCommandOutput) => void): void;
294
+ /**
295
+ * @see {@link ListAssessmentsCommand}
296
+ */
297
+ listAssessments(args: ListAssessmentsCommandInput, options?: KafkaRequestOptions): Promise<ListAssessmentsCommandOutput>;
298
+ listAssessments(args: ListAssessmentsCommandInput, cb: (err: any, data?: ListAssessmentsCommandOutput) => void): void;
299
+ listAssessments(args: ListAssessmentsCommandInput, options: KafkaRequestOptions, cb: (err: any, data?: ListAssessmentsCommandOutput) => void): void;
255
300
  /**
256
301
  * @see {@link ListChannelsCommand}
257
302
  */
@@ -335,6 +380,12 @@ export interface Kafka {
335
380
  listTagsForResource(args: ListTagsForResourceCommandInput, options?: KafkaRequestOptions): Promise<ListTagsForResourceCommandOutput>;
336
381
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
337
382
  listTagsForResource(args: ListTagsForResourceCommandInput, options: KafkaRequestOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
383
+ /**
384
+ * @see {@link ListTopicReassignmentsCommand}
385
+ */
386
+ listTopicReassignments(args: ListTopicReassignmentsCommandInput, options?: KafkaRequestOptions): Promise<ListTopicReassignmentsCommandOutput>;
387
+ listTopicReassignments(args: ListTopicReassignmentsCommandInput, cb: (err: any, data?: ListTopicReassignmentsCommandOutput) => void): void;
388
+ listTopicReassignments(args: ListTopicReassignmentsCommandInput, options: KafkaRequestOptions, cb: (err: any, data?: ListTopicReassignmentsCommandOutput) => void): void;
338
389
  /**
339
390
  * @see {@link ListTopicsCommand}
340
391
  */
@@ -366,6 +417,18 @@ export interface Kafka {
366
417
  rejectClientVpcConnection(args: RejectClientVpcConnectionCommandInput, options?: KafkaRequestOptions): Promise<RejectClientVpcConnectionCommandOutput>;
367
418
  rejectClientVpcConnection(args: RejectClientVpcConnectionCommandInput, cb: (err: any, data?: RejectClientVpcConnectionCommandOutput) => void): void;
368
419
  rejectClientVpcConnection(args: RejectClientVpcConnectionCommandInput, options: KafkaRequestOptions, cb: (err: any, data?: RejectClientVpcConnectionCommandOutput) => void): void;
420
+ /**
421
+ * @see {@link StartTopicReassignmentCommand}
422
+ */
423
+ startTopicReassignment(args: StartTopicReassignmentCommandInput, options?: KafkaRequestOptions): Promise<StartTopicReassignmentCommandOutput>;
424
+ startTopicReassignment(args: StartTopicReassignmentCommandInput, cb: (err: any, data?: StartTopicReassignmentCommandOutput) => void): void;
425
+ startTopicReassignment(args: StartTopicReassignmentCommandInput, options: KafkaRequestOptions, cb: (err: any, data?: StartTopicReassignmentCommandOutput) => void): void;
426
+ /**
427
+ * @see {@link StopTopicReassignmentCommand}
428
+ */
429
+ stopTopicReassignment(args: StopTopicReassignmentCommandInput, options?: KafkaRequestOptions): Promise<StopTopicReassignmentCommandOutput>;
430
+ stopTopicReassignment(args: StopTopicReassignmentCommandInput, cb: (err: any, data?: StopTopicReassignmentCommandOutput) => void): void;
431
+ stopTopicReassignment(args: StopTopicReassignmentCommandInput, options: KafkaRequestOptions, cb: (err: any, data?: StopTopicReassignmentCommandOutput) => void): void;
369
432
  /**
370
433
  * @see {@link TagResourceCommand}
371
434
  */
@@ -469,6 +532,20 @@ export interface Kafka {
469
532
  * @returns AsyncIterable of {@link DescribeTopicPartitionsCommandOutput}.
470
533
  */
471
534
  paginateDescribeTopicPartitions(args: DescribeTopicPartitionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeTopicPartitionsCommandOutput>;
535
+ /**
536
+ * @see {@link ListAssessmentFindingsCommand}
537
+ * @param args - command input.
538
+ * @param paginationConfig - optional pagination config.
539
+ * @returns AsyncIterable of {@link ListAssessmentFindingsCommandOutput}.
540
+ */
541
+ paginateListAssessmentFindings(args: ListAssessmentFindingsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAssessmentFindingsCommandOutput>;
542
+ /**
543
+ * @see {@link ListAssessmentsCommand}
544
+ * @param args - command input.
545
+ * @param paginationConfig - optional pagination config.
546
+ * @returns AsyncIterable of {@link ListAssessmentsCommandOutput}.
547
+ */
548
+ paginateListAssessments(args: ListAssessmentsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAssessmentsCommandOutput>;
472
549
  /**
473
550
  * @see {@link ListClientVpcConnectionsCommand}
474
551
  * @param args - command input.
@@ -546,6 +623,13 @@ export interface Kafka {
546
623
  * @returns AsyncIterable of {@link ListScramSecretsCommandOutput}.
547
624
  */
548
625
  paginateListScramSecrets(args: ListScramSecretsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListScramSecretsCommandOutput>;
626
+ /**
627
+ * @see {@link ListTopicReassignmentsCommand}
628
+ * @param args - command input.
629
+ * @param paginationConfig - optional pagination config.
630
+ * @returns AsyncIterable of {@link ListTopicReassignmentsCommandOutput}.
631
+ */
632
+ paginateListTopicReassignments(args: ListTopicReassignmentsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListTopicReassignmentsCommandOutput>;
549
633
  /**
550
634
  * @see {@link ListTopicsCommand}
551
635
  * @param args - command input.
@@ -8,6 +8,7 @@ import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengt
8
8
  import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
9
9
  import type { BatchAssociateScramSecretCommandInput, BatchAssociateScramSecretCommandOutput } from "./commands/BatchAssociateScramSecretCommand";
10
10
  import type { BatchDisassociateScramSecretCommandInput, BatchDisassociateScramSecretCommandOutput } from "./commands/BatchDisassociateScramSecretCommand";
11
+ import type { CreateAssessmentCommandInput, CreateAssessmentCommandOutput } from "./commands/CreateAssessmentCommand";
11
12
  import type { CreateChannelCommandInput, CreateChannelCommandOutput } from "./commands/CreateChannelCommand";
12
13
  import type { CreateClusterCommandInput, CreateClusterCommandOutput } from "./commands/CreateClusterCommand";
13
14
  import type { CreateClusterV2CommandInput, CreateClusterV2CommandOutput } from "./commands/CreateClusterV2Command";
@@ -15,6 +16,7 @@ import type { CreateConfigurationCommandInput, CreateConfigurationCommandOutput
15
16
  import type { CreateReplicatorCommandInput, CreateReplicatorCommandOutput } from "./commands/CreateReplicatorCommand";
16
17
  import type { CreateTopicCommandInput, CreateTopicCommandOutput } from "./commands/CreateTopicCommand";
17
18
  import type { CreateVpcConnectionCommandInput, CreateVpcConnectionCommandOutput } from "./commands/CreateVpcConnectionCommand";
19
+ import type { DeleteAssessmentCommandInput, DeleteAssessmentCommandOutput } from "./commands/DeleteAssessmentCommand";
18
20
  import type { DeleteChannelCommandInput, DeleteChannelCommandOutput } from "./commands/DeleteChannelCommand";
19
21
  import type { DeleteClusterCommandInput, DeleteClusterCommandOutput } from "./commands/DeleteClusterCommand";
20
22
  import type { DeleteClusterPolicyCommandInput, DeleteClusterPolicyCommandOutput } from "./commands/DeleteClusterPolicyCommand";
@@ -22,6 +24,7 @@ import type { DeleteConfigurationCommandInput, DeleteConfigurationCommandOutput
22
24
  import type { DeleteReplicatorCommandInput, DeleteReplicatorCommandOutput } from "./commands/DeleteReplicatorCommand";
23
25
  import type { DeleteTopicCommandInput, DeleteTopicCommandOutput } from "./commands/DeleteTopicCommand";
24
26
  import type { DeleteVpcConnectionCommandInput, DeleteVpcConnectionCommandOutput } from "./commands/DeleteVpcConnectionCommand";
27
+ import type { DescribeAssessmentCommandInput, DescribeAssessmentCommandOutput } from "./commands/DescribeAssessmentCommand";
25
28
  import type { DescribeChannelCommandInput, DescribeChannelCommandOutput } from "./commands/DescribeChannelCommand";
26
29
  import type { DescribeClusterCommandInput, DescribeClusterCommandOutput } from "./commands/DescribeClusterCommand";
27
30
  import type { DescribeClusterOperationCommandInput, DescribeClusterOperationCommandOutput } from "./commands/DescribeClusterOperationCommand";
@@ -32,10 +35,13 @@ import type { DescribeConfigurationRevisionCommandInput, DescribeConfigurationRe
32
35
  import type { DescribeReplicatorCommandInput, DescribeReplicatorCommandOutput } from "./commands/DescribeReplicatorCommand";
33
36
  import type { DescribeTopicCommandInput, DescribeTopicCommandOutput } from "./commands/DescribeTopicCommand";
34
37
  import type { DescribeTopicPartitionsCommandInput, DescribeTopicPartitionsCommandOutput } from "./commands/DescribeTopicPartitionsCommand";
38
+ import type { DescribeTopicReassignmentCommandInput, DescribeTopicReassignmentCommandOutput } from "./commands/DescribeTopicReassignmentCommand";
35
39
  import type { DescribeVpcConnectionCommandInput, DescribeVpcConnectionCommandOutput } from "./commands/DescribeVpcConnectionCommand";
36
40
  import type { GetBootstrapBrokersCommandInput, GetBootstrapBrokersCommandOutput } from "./commands/GetBootstrapBrokersCommand";
37
41
  import type { GetClusterPolicyCommandInput, GetClusterPolicyCommandOutput } from "./commands/GetClusterPolicyCommand";
38
42
  import type { GetCompatibleKafkaVersionsCommandInput, GetCompatibleKafkaVersionsCommandOutput } from "./commands/GetCompatibleKafkaVersionsCommand";
43
+ import type { ListAssessmentFindingsCommandInput, ListAssessmentFindingsCommandOutput } from "./commands/ListAssessmentFindingsCommand";
44
+ import type { ListAssessmentsCommandInput, ListAssessmentsCommandOutput } from "./commands/ListAssessmentsCommand";
39
45
  import type { ListChannelsCommandInput, ListChannelsCommandOutput } from "./commands/ListChannelsCommand";
40
46
  import type { ListClientVpcConnectionsCommandInput, ListClientVpcConnectionsCommandOutput } from "./commands/ListClientVpcConnectionsCommand";
41
47
  import type { ListClusterOperationsCommandInput, ListClusterOperationsCommandOutput } from "./commands/ListClusterOperationsCommand";
@@ -49,11 +55,14 @@ import type { ListNodesCommandInput, ListNodesCommandOutput } from "./commands/L
49
55
  import type { ListReplicatorsCommandInput, ListReplicatorsCommandOutput } from "./commands/ListReplicatorsCommand";
50
56
  import type { ListScramSecretsCommandInput, ListScramSecretsCommandOutput } from "./commands/ListScramSecretsCommand";
51
57
  import type { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
58
+ import type { ListTopicReassignmentsCommandInput, ListTopicReassignmentsCommandOutput } from "./commands/ListTopicReassignmentsCommand";
52
59
  import type { ListTopicsCommandInput, ListTopicsCommandOutput } from "./commands/ListTopicsCommand";
53
60
  import type { ListVpcConnectionsCommandInput, ListVpcConnectionsCommandOutput } from "./commands/ListVpcConnectionsCommand";
54
61
  import type { PutClusterPolicyCommandInput, PutClusterPolicyCommandOutput } from "./commands/PutClusterPolicyCommand";
55
62
  import type { RebootBrokerCommandInput, RebootBrokerCommandOutput } from "./commands/RebootBrokerCommand";
56
63
  import type { RejectClientVpcConnectionCommandInput, RejectClientVpcConnectionCommandOutput } from "./commands/RejectClientVpcConnectionCommand";
64
+ import type { StartTopicReassignmentCommandInput, StartTopicReassignmentCommandOutput } from "./commands/StartTopicReassignmentCommand";
65
+ import type { StopTopicReassignmentCommandInput, StopTopicReassignmentCommandOutput } from "./commands/StopTopicReassignmentCommand";
57
66
  import type { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
58
67
  import type { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
59
68
  import type { UpdateBrokerCountCommandInput, UpdateBrokerCountCommandOutput } from "./commands/UpdateBrokerCountCommand";
@@ -76,11 +85,11 @@ export { __Client };
76
85
  /**
77
86
  * @public
78
87
  */
79
- export type ServiceInputTypes = BatchAssociateScramSecretCommandInput | BatchDisassociateScramSecretCommandInput | CreateChannelCommandInput | CreateClusterCommandInput | CreateClusterV2CommandInput | CreateConfigurationCommandInput | CreateReplicatorCommandInput | CreateTopicCommandInput | CreateVpcConnectionCommandInput | DeleteChannelCommandInput | DeleteClusterCommandInput | DeleteClusterPolicyCommandInput | DeleteConfigurationCommandInput | DeleteReplicatorCommandInput | DeleteTopicCommandInput | DeleteVpcConnectionCommandInput | DescribeChannelCommandInput | DescribeClusterCommandInput | DescribeClusterOperationCommandInput | DescribeClusterOperationV2CommandInput | DescribeClusterV2CommandInput | DescribeConfigurationCommandInput | DescribeConfigurationRevisionCommandInput | DescribeReplicatorCommandInput | DescribeTopicCommandInput | DescribeTopicPartitionsCommandInput | DescribeVpcConnectionCommandInput | GetBootstrapBrokersCommandInput | GetClusterPolicyCommandInput | GetCompatibleKafkaVersionsCommandInput | ListChannelsCommandInput | ListClientVpcConnectionsCommandInput | ListClusterOperationsCommandInput | ListClusterOperationsV2CommandInput | ListClustersCommandInput | ListClustersV2CommandInput | ListConfigurationRevisionsCommandInput | ListConfigurationsCommandInput | ListKafkaVersionsCommandInput | ListNodesCommandInput | ListReplicatorsCommandInput | ListScramSecretsCommandInput | ListTagsForResourceCommandInput | ListTopicsCommandInput | ListVpcConnectionsCommandInput | PutClusterPolicyCommandInput | RebootBrokerCommandInput | RejectClientVpcConnectionCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateBrokerCountCommandInput | UpdateBrokerStorageCommandInput | UpdateBrokerTypeCommandInput | UpdateChannelCommandInput | UpdateClusterConfigurationCommandInput | UpdateClusterKafkaVersionCommandInput | UpdateConfigurationCommandInput | UpdateConnectivityCommandInput | UpdateMonitoringCommandInput | UpdateRebalancingCommandInput | UpdateReplicationInfoCommandInput | UpdateSecurityCommandInput | UpdateStorageCommandInput | UpdateTopicCommandInput;
88
+ export type ServiceInputTypes = BatchAssociateScramSecretCommandInput | BatchDisassociateScramSecretCommandInput | CreateAssessmentCommandInput | CreateChannelCommandInput | CreateClusterCommandInput | CreateClusterV2CommandInput | CreateConfigurationCommandInput | CreateReplicatorCommandInput | CreateTopicCommandInput | CreateVpcConnectionCommandInput | DeleteAssessmentCommandInput | DeleteChannelCommandInput | DeleteClusterCommandInput | DeleteClusterPolicyCommandInput | DeleteConfigurationCommandInput | DeleteReplicatorCommandInput | DeleteTopicCommandInput | DeleteVpcConnectionCommandInput | DescribeAssessmentCommandInput | DescribeChannelCommandInput | DescribeClusterCommandInput | DescribeClusterOperationCommandInput | DescribeClusterOperationV2CommandInput | DescribeClusterV2CommandInput | DescribeConfigurationCommandInput | DescribeConfigurationRevisionCommandInput | DescribeReplicatorCommandInput | DescribeTopicCommandInput | DescribeTopicPartitionsCommandInput | DescribeTopicReassignmentCommandInput | DescribeVpcConnectionCommandInput | GetBootstrapBrokersCommandInput | GetClusterPolicyCommandInput | GetCompatibleKafkaVersionsCommandInput | ListAssessmentFindingsCommandInput | ListAssessmentsCommandInput | ListChannelsCommandInput | ListClientVpcConnectionsCommandInput | ListClusterOperationsCommandInput | ListClusterOperationsV2CommandInput | ListClustersCommandInput | ListClustersV2CommandInput | ListConfigurationRevisionsCommandInput | ListConfigurationsCommandInput | ListKafkaVersionsCommandInput | ListNodesCommandInput | ListReplicatorsCommandInput | ListScramSecretsCommandInput | ListTagsForResourceCommandInput | ListTopicReassignmentsCommandInput | ListTopicsCommandInput | ListVpcConnectionsCommandInput | PutClusterPolicyCommandInput | RebootBrokerCommandInput | RejectClientVpcConnectionCommandInput | StartTopicReassignmentCommandInput | StopTopicReassignmentCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateBrokerCountCommandInput | UpdateBrokerStorageCommandInput | UpdateBrokerTypeCommandInput | UpdateChannelCommandInput | UpdateClusterConfigurationCommandInput | UpdateClusterKafkaVersionCommandInput | UpdateConfigurationCommandInput | UpdateConnectivityCommandInput | UpdateMonitoringCommandInput | UpdateRebalancingCommandInput | UpdateReplicationInfoCommandInput | UpdateSecurityCommandInput | UpdateStorageCommandInput | UpdateTopicCommandInput;
80
89
  /**
81
90
  * @public
82
91
  */
83
- export type ServiceOutputTypes = BatchAssociateScramSecretCommandOutput | BatchDisassociateScramSecretCommandOutput | CreateChannelCommandOutput | CreateClusterCommandOutput | CreateClusterV2CommandOutput | CreateConfigurationCommandOutput | CreateReplicatorCommandOutput | CreateTopicCommandOutput | CreateVpcConnectionCommandOutput | DeleteChannelCommandOutput | DeleteClusterCommandOutput | DeleteClusterPolicyCommandOutput | DeleteConfigurationCommandOutput | DeleteReplicatorCommandOutput | DeleteTopicCommandOutput | DeleteVpcConnectionCommandOutput | DescribeChannelCommandOutput | DescribeClusterCommandOutput | DescribeClusterOperationCommandOutput | DescribeClusterOperationV2CommandOutput | DescribeClusterV2CommandOutput | DescribeConfigurationCommandOutput | DescribeConfigurationRevisionCommandOutput | DescribeReplicatorCommandOutput | DescribeTopicCommandOutput | DescribeTopicPartitionsCommandOutput | DescribeVpcConnectionCommandOutput | GetBootstrapBrokersCommandOutput | GetClusterPolicyCommandOutput | GetCompatibleKafkaVersionsCommandOutput | ListChannelsCommandOutput | ListClientVpcConnectionsCommandOutput | ListClusterOperationsCommandOutput | ListClusterOperationsV2CommandOutput | ListClustersCommandOutput | ListClustersV2CommandOutput | ListConfigurationRevisionsCommandOutput | ListConfigurationsCommandOutput | ListKafkaVersionsCommandOutput | ListNodesCommandOutput | ListReplicatorsCommandOutput | ListScramSecretsCommandOutput | ListTagsForResourceCommandOutput | ListTopicsCommandOutput | ListVpcConnectionsCommandOutput | PutClusterPolicyCommandOutput | RebootBrokerCommandOutput | RejectClientVpcConnectionCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateBrokerCountCommandOutput | UpdateBrokerStorageCommandOutput | UpdateBrokerTypeCommandOutput | UpdateChannelCommandOutput | UpdateClusterConfigurationCommandOutput | UpdateClusterKafkaVersionCommandOutput | UpdateConfigurationCommandOutput | UpdateConnectivityCommandOutput | UpdateMonitoringCommandOutput | UpdateRebalancingCommandOutput | UpdateReplicationInfoCommandOutput | UpdateSecurityCommandOutput | UpdateStorageCommandOutput | UpdateTopicCommandOutput;
92
+ export type ServiceOutputTypes = BatchAssociateScramSecretCommandOutput | BatchDisassociateScramSecretCommandOutput | CreateAssessmentCommandOutput | CreateChannelCommandOutput | CreateClusterCommandOutput | CreateClusterV2CommandOutput | CreateConfigurationCommandOutput | CreateReplicatorCommandOutput | CreateTopicCommandOutput | CreateVpcConnectionCommandOutput | DeleteAssessmentCommandOutput | DeleteChannelCommandOutput | DeleteClusterCommandOutput | DeleteClusterPolicyCommandOutput | DeleteConfigurationCommandOutput | DeleteReplicatorCommandOutput | DeleteTopicCommandOutput | DeleteVpcConnectionCommandOutput | DescribeAssessmentCommandOutput | DescribeChannelCommandOutput | DescribeClusterCommandOutput | DescribeClusterOperationCommandOutput | DescribeClusterOperationV2CommandOutput | DescribeClusterV2CommandOutput | DescribeConfigurationCommandOutput | DescribeConfigurationRevisionCommandOutput | DescribeReplicatorCommandOutput | DescribeTopicCommandOutput | DescribeTopicPartitionsCommandOutput | DescribeTopicReassignmentCommandOutput | DescribeVpcConnectionCommandOutput | GetBootstrapBrokersCommandOutput | GetClusterPolicyCommandOutput | GetCompatibleKafkaVersionsCommandOutput | ListAssessmentFindingsCommandOutput | ListAssessmentsCommandOutput | ListChannelsCommandOutput | ListClientVpcConnectionsCommandOutput | ListClusterOperationsCommandOutput | ListClusterOperationsV2CommandOutput | ListClustersCommandOutput | ListClustersV2CommandOutput | ListConfigurationRevisionsCommandOutput | ListConfigurationsCommandOutput | ListKafkaVersionsCommandOutput | ListNodesCommandOutput | ListReplicatorsCommandOutput | ListScramSecretsCommandOutput | ListTagsForResourceCommandOutput | ListTopicReassignmentsCommandOutput | ListTopicsCommandOutput | ListVpcConnectionsCommandOutput | PutClusterPolicyCommandOutput | RebootBrokerCommandOutput | RejectClientVpcConnectionCommandOutput | StartTopicReassignmentCommandOutput | StopTopicReassignmentCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateBrokerCountCommandOutput | UpdateBrokerStorageCommandOutput | UpdateBrokerTypeCommandOutput | UpdateChannelCommandOutput | UpdateClusterConfigurationCommandOutput | UpdateClusterKafkaVersionCommandOutput | UpdateConfigurationCommandOutput | UpdateConnectivityCommandOutput | UpdateMonitoringCommandOutput | UpdateRebalancingCommandOutput | UpdateReplicationInfoCommandOutput | UpdateSecurityCommandOutput | UpdateStorageCommandOutput | UpdateTopicCommandOutput;
84
93
  /**
85
94
  * @public
86
95
  */
@@ -0,0 +1,106 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { CreateAssessmentRequest, CreateAssessmentResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link CreateAssessmentCommand}.
11
+ */
12
+ export interface CreateAssessmentCommandInput extends CreateAssessmentRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link CreateAssessmentCommand}.
18
+ */
19
+ export interface CreateAssessmentCommandOutput extends CreateAssessmentResponse, __MetadataBearer {
20
+ }
21
+ declare const CreateAssessmentCommand_base: {
22
+ new (input: CreateAssessmentCommandInput): import("@smithy/core/client").CommandImpl<CreateAssessmentCommandInput, CreateAssessmentCommandOutput, import("..").KafkaClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateAssessmentCommandInput): import("@smithy/core/client").CommandImpl<CreateAssessmentCommandInput, CreateAssessmentCommandOutput, import("..").KafkaClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Creates a new assessment for the specified cluster. Kicks off an asynchronous scan.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { KafkaClient, CreateAssessmentCommand } from "@aws-sdk/client-kafka"; // ES Modules import
32
+ * // const { KafkaClient, CreateAssessmentCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
33
+ * // import type { KafkaClientConfig } from "@aws-sdk/client-kafka";
34
+ * const config = {}; // type is KafkaClientConfig
35
+ * const client = new KafkaClient(config);
36
+ * const input = { // CreateAssessmentRequest
37
+ * AssessmentParameters: { // AssessmentParameters
38
+ * TargetInstanceType: "STRING_VALUE",
39
+ * },
40
+ * AssessmentType: "UPDATE_BROKER_TYPE", // required
41
+ * ClusterArn: "STRING_VALUE", // required
42
+ * Tags: { // __mapOf__string
43
+ * "<keys>": "STRING_VALUE",
44
+ * },
45
+ * };
46
+ * const command = new CreateAssessmentCommand(input);
47
+ * const response = await client.send(command);
48
+ * // { // CreateAssessmentResponse
49
+ * // AssessmentArn: "STRING_VALUE",
50
+ * // AssessmentType: "UPDATE_BROKER_TYPE",
51
+ * // ClusterArn: "STRING_VALUE",
52
+ * // CreationTime: new Date("TIMESTAMP"),
53
+ * // Status: "IN_PROGRESS" || "COMPLETE" || "FAILED" || "DELETING",
54
+ * // };
55
+ *
56
+ * ```
57
+ *
58
+ * @param CreateAssessmentCommandInput - {@link CreateAssessmentCommandInput}
59
+ * @returns {@link CreateAssessmentCommandOutput}
60
+ * @see {@link CreateAssessmentCommandInput} for command's `input` shape.
61
+ * @see {@link CreateAssessmentCommandOutput} for command's `response` shape.
62
+ * @see {@link KafkaClientResolvedConfig | config} for KafkaClient's `config` shape.
63
+ *
64
+ * @throws {@link BadRequestException} (client fault)
65
+ * <p>Returns information about an error.</p>
66
+ *
67
+ * @throws {@link ConflictException} (client fault)
68
+ * <p>Returns information about an error.</p>
69
+ *
70
+ * @throws {@link ForbiddenException} (client fault)
71
+ * <p>Returns information about an error.</p>
72
+ *
73
+ * @throws {@link InternalServerErrorException} (server fault)
74
+ * <p>Returns information about an error.</p>
75
+ *
76
+ * @throws {@link NotFoundException} (client fault)
77
+ * <p>Returns information about an error.</p>
78
+ *
79
+ * @throws {@link ServiceUnavailableException} (server fault)
80
+ * <p>Returns information about an error.</p>
81
+ *
82
+ * @throws {@link TooManyRequestsException} (client fault)
83
+ * <p>Returns information about an error.</p>
84
+ *
85
+ * @throws {@link UnauthorizedException} (client fault)
86
+ * <p>Returns information about an error.</p>
87
+ *
88
+ * @throws {@link KafkaServiceException}
89
+ * <p>Base exception class for all service exceptions from Kafka service.</p>
90
+ *
91
+ *
92
+ * @public
93
+ */
94
+ export declare class CreateAssessmentCommand extends CreateAssessmentCommand_base {
95
+ /** @internal type navigation helper, not in runtime. */
96
+ protected static __types: {
97
+ api: {
98
+ input: CreateAssessmentRequest;
99
+ output: CreateAssessmentResponse;
100
+ };
101
+ sdk: {
102
+ input: CreateAssessmentCommandInput;
103
+ output: CreateAssessmentCommandOutput;
104
+ };
105
+ };
106
+ }
@@ -0,0 +1,97 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { DeleteAssessmentRequest, DeleteAssessmentResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link DeleteAssessmentCommand}.
11
+ */
12
+ export interface DeleteAssessmentCommandInput extends DeleteAssessmentRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link DeleteAssessmentCommand}.
18
+ */
19
+ export interface DeleteAssessmentCommandOutput extends DeleteAssessmentResponse, __MetadataBearer {
20
+ }
21
+ declare const DeleteAssessmentCommand_base: {
22
+ new (input: DeleteAssessmentCommandInput): import("@smithy/core/client").CommandImpl<DeleteAssessmentCommandInput, DeleteAssessmentCommandOutput, import("..").KafkaClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteAssessmentCommandInput): import("@smithy/core/client").CommandImpl<DeleteAssessmentCommandInput, DeleteAssessmentCommandOutput, import("..").KafkaClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Deletes an assessment and its findings. Frees one slot against the cluster's assessment quota.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { KafkaClient, DeleteAssessmentCommand } from "@aws-sdk/client-kafka"; // ES Modules import
32
+ * // const { KafkaClient, DeleteAssessmentCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
33
+ * // import type { KafkaClientConfig } from "@aws-sdk/client-kafka";
34
+ * const config = {}; // type is KafkaClientConfig
35
+ * const client = new KafkaClient(config);
36
+ * const input = { // DeleteAssessmentRequest
37
+ * AssessmentArn: "STRING_VALUE", // required
38
+ * ClusterArn: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new DeleteAssessmentCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // DeleteAssessmentResponse
43
+ * // AssessmentArn: "STRING_VALUE",
44
+ * // Status: "IN_PROGRESS" || "COMPLETE" || "FAILED" || "DELETING",
45
+ * // };
46
+ *
47
+ * ```
48
+ *
49
+ * @param DeleteAssessmentCommandInput - {@link DeleteAssessmentCommandInput}
50
+ * @returns {@link DeleteAssessmentCommandOutput}
51
+ * @see {@link DeleteAssessmentCommandInput} for command's `input` shape.
52
+ * @see {@link DeleteAssessmentCommandOutput} for command's `response` shape.
53
+ * @see {@link KafkaClientResolvedConfig | config} for KafkaClient's `config` shape.
54
+ *
55
+ * @throws {@link BadRequestException} (client fault)
56
+ * <p>Returns information about an error.</p>
57
+ *
58
+ * @throws {@link ConflictException} (client fault)
59
+ * <p>Returns information about an error.</p>
60
+ *
61
+ * @throws {@link ForbiddenException} (client fault)
62
+ * <p>Returns information about an error.</p>
63
+ *
64
+ * @throws {@link InternalServerErrorException} (server fault)
65
+ * <p>Returns information about an error.</p>
66
+ *
67
+ * @throws {@link NotFoundException} (client fault)
68
+ * <p>Returns information about an error.</p>
69
+ *
70
+ * @throws {@link ServiceUnavailableException} (server fault)
71
+ * <p>Returns information about an error.</p>
72
+ *
73
+ * @throws {@link TooManyRequestsException} (client fault)
74
+ * <p>Returns information about an error.</p>
75
+ *
76
+ * @throws {@link UnauthorizedException} (client fault)
77
+ * <p>Returns information about an error.</p>
78
+ *
79
+ * @throws {@link KafkaServiceException}
80
+ * <p>Base exception class for all service exceptions from Kafka service.</p>
81
+ *
82
+ *
83
+ * @public
84
+ */
85
+ export declare class DeleteAssessmentCommand extends DeleteAssessmentCommand_base {
86
+ /** @internal type navigation helper, not in runtime. */
87
+ protected static __types: {
88
+ api: {
89
+ input: DeleteAssessmentRequest;
90
+ output: DeleteAssessmentResponse;
91
+ };
92
+ sdk: {
93
+ input: DeleteAssessmentCommandInput;
94
+ output: DeleteAssessmentCommandOutput;
95
+ };
96
+ };
97
+ }
@@ -0,0 +1,116 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { DescribeAssessmentRequest, DescribeAssessmentResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link DescribeAssessmentCommand}.
11
+ */
12
+ export interface DescribeAssessmentCommandInput extends DescribeAssessmentRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link DescribeAssessmentCommand}.
18
+ */
19
+ export interface DescribeAssessmentCommandOutput extends DescribeAssessmentResponse, __MetadataBearer {
20
+ }
21
+ declare const DescribeAssessmentCommand_base: {
22
+ new (input: DescribeAssessmentCommandInput): import("@smithy/core/client").CommandImpl<DescribeAssessmentCommandInput, DescribeAssessmentCommandOutput, import("..").KafkaClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DescribeAssessmentCommandInput): import("@smithy/core/client").CommandImpl<DescribeAssessmentCommandInput, DescribeAssessmentCommandOutput, import("..").KafkaClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Returns the status and summary of an assessment.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { KafkaClient, DescribeAssessmentCommand } from "@aws-sdk/client-kafka"; // ES Modules import
32
+ * // const { KafkaClient, DescribeAssessmentCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
33
+ * // import type { KafkaClientConfig } from "@aws-sdk/client-kafka";
34
+ * const config = {}; // type is KafkaClientConfig
35
+ * const client = new KafkaClient(config);
36
+ * const input = { // DescribeAssessmentRequest
37
+ * AssessmentArn: "STRING_VALUE", // required
38
+ * ClusterArn: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new DescribeAssessmentCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // DescribeAssessmentResponse
43
+ * // AssessmentArn: "STRING_VALUE",
44
+ * // AssessmentParameters: { // AssessmentParameters
45
+ * // TargetInstanceType: "STRING_VALUE",
46
+ * // },
47
+ * // AssessmentType: "UPDATE_BROKER_TYPE",
48
+ * // ClusterArn: "STRING_VALUE",
49
+ * // CompletionTime: new Date("TIMESTAMP"),
50
+ * // CreationTime: new Date("TIMESTAMP"),
51
+ * // Status: "IN_PROGRESS" || "COMPLETE" || "FAILED" || "DELETING",
52
+ * // StatusMessage: "STRING_VALUE",
53
+ * // Summary: { // AssessmentSummary
54
+ * // ByCategory: { // __mapOf__integer
55
+ * // "<keys>": Number("int"),
56
+ * // },
57
+ * // BySeverity: {
58
+ * // "<keys>": Number("int"),
59
+ * // },
60
+ * // FindingsCapped: true || false,
61
+ * // HasBlockingFindings: true || false,
62
+ * // TotalFindings: Number("int"),
63
+ * // },
64
+ * // Tags: { // __mapOf__string
65
+ * // "<keys>": "STRING_VALUE",
66
+ * // },
67
+ * // };
68
+ *
69
+ * ```
70
+ *
71
+ * @param DescribeAssessmentCommandInput - {@link DescribeAssessmentCommandInput}
72
+ * @returns {@link DescribeAssessmentCommandOutput}
73
+ * @see {@link DescribeAssessmentCommandInput} for command's `input` shape.
74
+ * @see {@link DescribeAssessmentCommandOutput} for command's `response` shape.
75
+ * @see {@link KafkaClientResolvedConfig | config} for KafkaClient's `config` shape.
76
+ *
77
+ * @throws {@link BadRequestException} (client fault)
78
+ * <p>Returns information about an error.</p>
79
+ *
80
+ * @throws {@link ForbiddenException} (client fault)
81
+ * <p>Returns information about an error.</p>
82
+ *
83
+ * @throws {@link InternalServerErrorException} (server fault)
84
+ * <p>Returns information about an error.</p>
85
+ *
86
+ * @throws {@link NotFoundException} (client fault)
87
+ * <p>Returns information about an error.</p>
88
+ *
89
+ * @throws {@link ServiceUnavailableException} (server fault)
90
+ * <p>Returns information about an error.</p>
91
+ *
92
+ * @throws {@link TooManyRequestsException} (client fault)
93
+ * <p>Returns information about an error.</p>
94
+ *
95
+ * @throws {@link UnauthorizedException} (client fault)
96
+ * <p>Returns information about an error.</p>
97
+ *
98
+ * @throws {@link KafkaServiceException}
99
+ * <p>Base exception class for all service exceptions from Kafka service.</p>
100
+ *
101
+ *
102
+ * @public
103
+ */
104
+ export declare class DescribeAssessmentCommand extends DescribeAssessmentCommand_base {
105
+ /** @internal type navigation helper, not in runtime. */
106
+ protected static __types: {
107
+ api: {
108
+ input: DescribeAssessmentRequest;
109
+ output: DescribeAssessmentResponse;
110
+ };
111
+ sdk: {
112
+ input: DescribeAssessmentCommandInput;
113
+ output: DescribeAssessmentCommandOutput;
114
+ };
115
+ };
116
+ }
@@ -40,6 +40,10 @@ declare const DescribeClusterOperationCommand_base: {
40
40
  * const response = await client.send(command);
41
41
  * // { // DescribeClusterOperationResponse
42
42
  * // ClusterOperationInfo: { // ClusterOperationInfo
43
+ * // BrokerTypeUpgradeInfo: { // BrokerTypeUpgradeInfo
44
+ * // TopicReassignmentMode: "AUTO" || "MANUAL",
45
+ * // TopicReassignmentOperationArn: "STRING_VALUE",
46
+ * // },
43
47
  * // ClientRequestId: "STRING_VALUE",
44
48
  * // ClusterArn: "STRING_VALUE",
45
49
  * // CreationTime: new Date("TIMESTAMP"),
@@ -52,6 +52,10 @@ declare const DescribeClusterOperationV2Command_base: {
52
52
  * // OperationState: "STRING_VALUE",
53
53
  * // OperationType: "STRING_VALUE",
54
54
  * // Provisioned: { // ClusterOperationV2Provisioned
55
+ * // BrokerTypeUpgradeInfo: { // BrokerTypeUpgradeInfo
56
+ * // TopicReassignmentMode: "AUTO" || "MANUAL",
57
+ * // TopicReassignmentOperationArn: "STRING_VALUE",
58
+ * // },
55
59
  * // OperationSteps: [ // __listOfClusterOperationStep
56
60
  * // { // ClusterOperationStep
57
61
  * // StepInfo: { // ClusterOperationStepInfo
@@ -46,6 +46,9 @@ declare const DescribeTopicCommand_base: {
46
46
  * // PartitionCount: Number("int"),
47
47
  * // Configs: "STRING_VALUE",
48
48
  * // Status: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE",
49
+ * // ReplicaIds: [ // __listOf__integer
50
+ * // Number("int"),
51
+ * // ],
49
52
  * // };
50
53
  *
51
54
  * ```