@aws-sdk/client-kafka 3.379.1 → 3.380.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 (34) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/Kafka.js +4 -0
  3. package/dist-cjs/commands/DescribeClusterOperationV2Command.js +46 -0
  4. package/dist-cjs/commands/ListClusterOperationsV2Command.js +46 -0
  5. package/dist-cjs/commands/index.js +2 -0
  6. package/dist-cjs/pagination/ListClusterOperationsV2Paginator.js +29 -0
  7. package/dist-cjs/pagination/index.js +1 -0
  8. package/dist-cjs/protocols/Aws_restJson1.js +200 -2
  9. package/dist-es/Kafka.js +4 -0
  10. package/dist-es/commands/DescribeClusterOperationV2Command.js +42 -0
  11. package/dist-es/commands/ListClusterOperationsV2Command.js +42 -0
  12. package/dist-es/commands/index.js +2 -0
  13. package/dist-es/pagination/ListClusterOperationsV2Paginator.js +25 -0
  14. package/dist-es/pagination/index.js +1 -0
  15. package/dist-es/protocols/Aws_restJson1.js +194 -0
  16. package/dist-types/Kafka.d.ts +14 -0
  17. package/dist-types/KafkaClient.d.ts +4 -2
  18. package/dist-types/commands/DescribeClusterOperationV2Command.d.ts +328 -0
  19. package/dist-types/commands/ListClusterOperationsV2Command.d.ts +107 -0
  20. package/dist-types/commands/index.d.ts +2 -0
  21. package/dist-types/models/models_0.d.ts +182 -0
  22. package/dist-types/pagination/ListClusterOperationsV2Paginator.d.ts +7 -0
  23. package/dist-types/pagination/index.d.ts +1 -0
  24. package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
  25. package/dist-types/ts3.4/Kafka.d.ts +34 -0
  26. package/dist-types/ts3.4/KafkaClient.d.ts +12 -0
  27. package/dist-types/ts3.4/commands/DescribeClusterOperationV2Command.d.ts +42 -0
  28. package/dist-types/ts3.4/commands/ListClusterOperationsV2Command.d.ts +42 -0
  29. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  30. package/dist-types/ts3.4/models/models_0.d.ts +51 -0
  31. package/dist-types/ts3.4/pagination/ListClusterOperationsV2Paginator.d.ts +11 -0
  32. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  33. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
  34. package/package.json +1 -1
@@ -320,6 +320,15 @@ export interface ClusterOperationInfo {
320
320
  TargetClusterInfo?: MutableClusterInfo;
321
321
  VpcConnectionInfo?: VpcConnectionInfo;
322
322
  }
323
+ export interface ClusterOperationV2Summary {
324
+ ClusterArn?: string;
325
+ ClusterType?: ClusterType | string;
326
+ StartTime?: Date;
327
+ EndTime?: Date;
328
+ OperationArn?: string;
329
+ OperationState?: string;
330
+ OperationType?: string;
331
+ }
323
332
  export interface CompatibleKafkaVersion {
324
333
  SourceVersion?: string;
325
334
  TargetVersions?: string[];
@@ -470,6 +479,33 @@ export interface BatchDisassociateScramSecretResponse {
470
479
  ClusterArn?: string;
471
480
  UnprocessedScramSecrets?: UnprocessedScramSecret[];
472
481
  }
482
+ export interface ClusterOperationV2Provisioned {
483
+ OperationSteps?: ClusterOperationStep[];
484
+ SourceClusterInfo?: MutableClusterInfo;
485
+ TargetClusterInfo?: MutableClusterInfo;
486
+ VpcConnectionInfo?: VpcConnectionInfo;
487
+ }
488
+ export interface VpcConnectionInfoServerless {
489
+ CreationTime?: Date;
490
+ Owner?: string;
491
+ UserIdentity?: UserIdentity;
492
+ VpcConnectionArn?: string;
493
+ }
494
+ export interface ClusterOperationV2Serverless {
495
+ VpcConnectionInfo?: VpcConnectionInfoServerless;
496
+ }
497
+ export interface ClusterOperationV2 {
498
+ ClusterArn?: string;
499
+ ClusterType?: ClusterType | string;
500
+ StartTime?: Date;
501
+ EndTime?: Date;
502
+ ErrorInfo?: ErrorInfo;
503
+ OperationArn?: string;
504
+ OperationState?: string;
505
+ OperationType?: string;
506
+ Provisioned?: ClusterOperationV2Provisioned;
507
+ Serverless?: ClusterOperationV2Serverless;
508
+ }
473
509
  export declare class ConflictException extends __BaseException {
474
510
  readonly name: "ConflictException";
475
511
  readonly $fault: "client";
@@ -593,6 +629,12 @@ export interface DescribeClusterOperationRequest {
593
629
  export interface DescribeClusterOperationResponse {
594
630
  ClusterOperationInfo?: ClusterOperationInfo;
595
631
  }
632
+ export interface DescribeClusterOperationV2Request {
633
+ ClusterOperationArn: string | undefined;
634
+ }
635
+ export interface DescribeClusterOperationV2Response {
636
+ ClusterOperationInfo?: ClusterOperationV2;
637
+ }
596
638
  export interface DescribeClusterV2Request {
597
639
  ClusterArn: string | undefined;
598
640
  }
@@ -682,6 +724,15 @@ export interface ListClusterOperationsResponse {
682
724
  ClusterOperationInfoList?: ClusterOperationInfo[];
683
725
  NextToken?: string;
684
726
  }
727
+ export interface ListClusterOperationsV2Request {
728
+ ClusterArn: string | undefined;
729
+ MaxResults?: number;
730
+ NextToken?: string;
731
+ }
732
+ export interface ListClusterOperationsV2Response {
733
+ ClusterOperationInfoList?: ClusterOperationV2Summary[];
734
+ NextToken?: string;
735
+ }
685
736
  export interface ListClustersRequest {
686
737
  ClusterNameFilter?: string;
687
738
  MaxResults?: number;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListClusterOperationsV2CommandInput,
4
+ ListClusterOperationsV2CommandOutput,
5
+ } from "../commands/ListClusterOperationsV2Command";
6
+ import { KafkaPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListClusterOperationsV2(
8
+ config: KafkaPaginationConfiguration,
9
+ input: ListClusterOperationsV2CommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListClusterOperationsV2CommandOutput>;
@@ -1,6 +1,7 @@
1
1
  export * from "./Interfaces";
2
2
  export * from "./ListClientVpcConnectionsPaginator";
3
3
  export * from "./ListClusterOperationsPaginator";
4
+ export * from "./ListClusterOperationsV2Paginator";
4
5
  export * from "./ListClustersPaginator";
5
6
  export * from "./ListClustersV2Paginator";
6
7
  export * from "./ListConfigurationRevisionsPaginator";
@@ -51,6 +51,10 @@ import {
51
51
  DescribeClusterOperationCommandInput,
52
52
  DescribeClusterOperationCommandOutput,
53
53
  } from "../commands/DescribeClusterOperationCommand";
54
+ import {
55
+ DescribeClusterOperationV2CommandInput,
56
+ DescribeClusterOperationV2CommandOutput,
57
+ } from "../commands/DescribeClusterOperationV2Command";
54
58
  import {
55
59
  DescribeClusterV2CommandInput,
56
60
  DescribeClusterV2CommandOutput,
@@ -87,6 +91,10 @@ import {
87
91
  ListClusterOperationsCommandInput,
88
92
  ListClusterOperationsCommandOutput,
89
93
  } from "../commands/ListClusterOperationsCommand";
94
+ import {
95
+ ListClusterOperationsV2CommandInput,
96
+ ListClusterOperationsV2CommandOutput,
97
+ } from "../commands/ListClusterOperationsV2Command";
90
98
  import {
91
99
  ListClustersCommandInput,
92
100
  ListClustersCommandOutput,
@@ -231,6 +239,10 @@ export declare const se_DescribeClusterOperationCommand: (
231
239
  input: DescribeClusterOperationCommandInput,
232
240
  context: __SerdeContext
233
241
  ) => Promise<__HttpRequest>;
242
+ export declare const se_DescribeClusterOperationV2Command: (
243
+ input: DescribeClusterOperationV2CommandInput,
244
+ context: __SerdeContext
245
+ ) => Promise<__HttpRequest>;
234
246
  export declare const se_DescribeClusterV2Command: (
235
247
  input: DescribeClusterV2CommandInput,
236
248
  context: __SerdeContext
@@ -267,6 +279,10 @@ export declare const se_ListClusterOperationsCommand: (
267
279
  input: ListClusterOperationsCommandInput,
268
280
  context: __SerdeContext
269
281
  ) => Promise<__HttpRequest>;
282
+ export declare const se_ListClusterOperationsV2Command: (
283
+ input: ListClusterOperationsV2CommandInput,
284
+ context: __SerdeContext
285
+ ) => Promise<__HttpRequest>;
270
286
  export declare const se_ListClustersCommand: (
271
287
  input: ListClustersCommandInput,
272
288
  context: __SerdeContext
@@ -411,6 +427,10 @@ export declare const de_DescribeClusterOperationCommand: (
411
427
  output: __HttpResponse,
412
428
  context: __SerdeContext
413
429
  ) => Promise<DescribeClusterOperationCommandOutput>;
430
+ export declare const de_DescribeClusterOperationV2Command: (
431
+ output: __HttpResponse,
432
+ context: __SerdeContext
433
+ ) => Promise<DescribeClusterOperationV2CommandOutput>;
414
434
  export declare const de_DescribeClusterV2Command: (
415
435
  output: __HttpResponse,
416
436
  context: __SerdeContext
@@ -447,6 +467,10 @@ export declare const de_ListClusterOperationsCommand: (
447
467
  output: __HttpResponse,
448
468
  context: __SerdeContext
449
469
  ) => Promise<ListClusterOperationsCommandOutput>;
470
+ export declare const de_ListClusterOperationsV2Command: (
471
+ output: __HttpResponse,
472
+ context: __SerdeContext
473
+ ) => Promise<ListClusterOperationsV2CommandOutput>;
450
474
  export declare const de_ListClustersCommand: (
451
475
  output: __HttpResponse,
452
476
  context: __SerdeContext
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.379.1",
4
+ "version": "3.380.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",