@aws-sdk/client-kafka 3.1171.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
@@ -0,0 +1,112 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { DescribeTopicReassignmentRequest, DescribeTopicReassignmentResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link DescribeTopicReassignmentCommand}.
11
+ */
12
+ export interface DescribeTopicReassignmentCommandInput extends DescribeTopicReassignmentRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link DescribeTopicReassignmentCommand}.
18
+ */
19
+ export interface DescribeTopicReassignmentCommandOutput extends DescribeTopicReassignmentResponse, __MetadataBearer {
20
+ }
21
+ declare const DescribeTopicReassignmentCommand_base: {
22
+ new (input: DescribeTopicReassignmentCommandInput): import("@smithy/core/client").CommandImpl<DescribeTopicReassignmentCommandInput, DescribeTopicReassignmentCommandOutput, import("..").KafkaClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DescribeTopicReassignmentCommandInput): import("@smithy/core/client").CommandImpl<DescribeTopicReassignmentCommandInput, DescribeTopicReassignmentCommandOutput, import("..").KafkaClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Returns the status and progress of a topic reassignment operation.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { KafkaClient, DescribeTopicReassignmentCommand } from "@aws-sdk/client-kafka"; // ES Modules import
32
+ * // const { KafkaClient, DescribeTopicReassignmentCommand } = 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 = { // DescribeTopicReassignmentRequest
37
+ * ClusterArn: "STRING_VALUE", // required
38
+ * TopicReassignmentOperationArn: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new DescribeTopicReassignmentCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // DescribeTopicReassignmentResponse
43
+ * // ClusterArn: "STRING_VALUE",
44
+ * // CompletedTopics: Number("int"),
45
+ * // CreationTime: new Date("TIMESTAMP"),
46
+ * // ErrorInfo: { // ErrorInfo
47
+ * // ErrorCode: "STRING_VALUE",
48
+ * // ErrorString: "STRING_VALUE",
49
+ * // },
50
+ * // LastUpdateTime: new Date("TIMESTAMP"),
51
+ * // MigratedPartitions: Number("int"),
52
+ * // Status: "PENDING" || "IN_PROGRESS" || "STOPPING" || "COMPLETE" || "FAILED" || "STOPPED",
53
+ * // TargetInstanceType: "STRING_VALUE",
54
+ * // TopicReassignmentOperationArn: "STRING_VALUE",
55
+ * // TopicsToExclude: [ // __listOf__string
56
+ * // "STRING_VALUE",
57
+ * // ],
58
+ * // TopicsToInclude: [
59
+ * // "STRING_VALUE",
60
+ * // ],
61
+ * // TotalPartitions: Number("int"),
62
+ * // TotalTopics: Number("int"),
63
+ * // };
64
+ *
65
+ * ```
66
+ *
67
+ * @param DescribeTopicReassignmentCommandInput - {@link DescribeTopicReassignmentCommandInput}
68
+ * @returns {@link DescribeTopicReassignmentCommandOutput}
69
+ * @see {@link DescribeTopicReassignmentCommandInput} for command's `input` shape.
70
+ * @see {@link DescribeTopicReassignmentCommandOutput} for command's `response` shape.
71
+ * @see {@link KafkaClientResolvedConfig | config} for KafkaClient's `config` shape.
72
+ *
73
+ * @throws {@link BadRequestException} (client fault)
74
+ * <p>Returns information about an error.</p>
75
+ *
76
+ * @throws {@link ForbiddenException} (client fault)
77
+ * <p>Returns information about an error.</p>
78
+ *
79
+ * @throws {@link InternalServerErrorException} (server fault)
80
+ * <p>Returns information about an error.</p>
81
+ *
82
+ * @throws {@link NotFoundException} (client fault)
83
+ * <p>Returns information about an error.</p>
84
+ *
85
+ * @throws {@link ServiceUnavailableException} (server fault)
86
+ * <p>Returns information about an error.</p>
87
+ *
88
+ * @throws {@link TooManyRequestsException} (client fault)
89
+ * <p>Returns information about an error.</p>
90
+ *
91
+ * @throws {@link UnauthorizedException} (client fault)
92
+ * <p>Returns information about an error.</p>
93
+ *
94
+ * @throws {@link KafkaServiceException}
95
+ * <p>Base exception class for all service exceptions from Kafka service.</p>
96
+ *
97
+ *
98
+ * @public
99
+ */
100
+ export declare class DescribeTopicReassignmentCommand extends DescribeTopicReassignmentCommand_base {
101
+ /** @internal type navigation helper, not in runtime. */
102
+ protected static __types: {
103
+ api: {
104
+ input: DescribeTopicReassignmentRequest;
105
+ output: DescribeTopicReassignmentResponse;
106
+ };
107
+ sdk: {
108
+ input: DescribeTopicReassignmentCommandInput;
109
+ output: DescribeTopicReassignmentCommandOutput;
110
+ };
111
+ };
112
+ }
@@ -0,0 +1,113 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ListAssessmentFindingsRequest, ListAssessmentFindingsResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ListAssessmentFindingsCommand}.
11
+ */
12
+ export interface ListAssessmentFindingsCommandInput extends ListAssessmentFindingsRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ListAssessmentFindingsCommand}.
18
+ */
19
+ export interface ListAssessmentFindingsCommandOutput extends ListAssessmentFindingsResponse, __MetadataBearer {
20
+ }
21
+ declare const ListAssessmentFindingsCommand_base: {
22
+ new (input: ListAssessmentFindingsCommandInput): import("@smithy/core/client").CommandImpl<ListAssessmentFindingsCommandInput, ListAssessmentFindingsCommandOutput, import("..").KafkaClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ListAssessmentFindingsCommandInput): import("@smithy/core/client").CommandImpl<ListAssessmentFindingsCommandInput, ListAssessmentFindingsCommandOutput, import("..").KafkaClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Returns the findings for a completed assessment. Paginated.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { KafkaClient, ListAssessmentFindingsCommand } from "@aws-sdk/client-kafka"; // ES Modules import
32
+ * // const { KafkaClient, ListAssessmentFindingsCommand } = 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 = { // ListAssessmentFindingsRequest
37
+ * AssessmentArn: "STRING_VALUE", // required
38
+ * Category: "STRING_VALUE",
39
+ * ClusterArn: "STRING_VALUE", // required
40
+ * MaxResults: Number("int"),
41
+ * NextToken: "STRING_VALUE",
42
+ * Severity: "STRING_VALUE",
43
+ * };
44
+ * const command = new ListAssessmentFindingsCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // ListAssessmentFindingsResponse
47
+ * // Findings: [ // __listOfAssessmentFinding
48
+ * // { // AssessmentFinding
49
+ * // Category: "INFRASTRUCTURE" || "BROKER_CONFIGURATION" || "TOPIC_CONFIGURATION" || "CAPACITY" || "HEALTH", // required
50
+ * // FindingId: "STRING_VALUE", // required
51
+ * // Message: "STRING_VALUE", // required
52
+ * // Remediation: { // FindingRemediation
53
+ * // Action: "STRING_VALUE",
54
+ * // DocumentationUrl: "STRING_VALUE",
55
+ * // },
56
+ * // Resource: "STRING_VALUE",
57
+ * // Severity: "ERROR" || "WARNING" || "INFO", // required
58
+ * // },
59
+ * // ],
60
+ * // NextToken: "STRING_VALUE",
61
+ * // };
62
+ *
63
+ * ```
64
+ *
65
+ * @param ListAssessmentFindingsCommandInput - {@link ListAssessmentFindingsCommandInput}
66
+ * @returns {@link ListAssessmentFindingsCommandOutput}
67
+ * @see {@link ListAssessmentFindingsCommandInput} for command's `input` shape.
68
+ * @see {@link ListAssessmentFindingsCommandOutput} for command's `response` shape.
69
+ * @see {@link KafkaClientResolvedConfig | config} for KafkaClient's `config` shape.
70
+ *
71
+ * @throws {@link BadRequestException} (client fault)
72
+ * <p>Returns information about an error.</p>
73
+ *
74
+ * @throws {@link ConflictException} (client fault)
75
+ * <p>Returns information about an error.</p>
76
+ *
77
+ * @throws {@link ForbiddenException} (client fault)
78
+ * <p>Returns information about an error.</p>
79
+ *
80
+ * @throws {@link InternalServerErrorException} (server fault)
81
+ * <p>Returns information about an error.</p>
82
+ *
83
+ * @throws {@link NotFoundException} (client fault)
84
+ * <p>Returns information about an error.</p>
85
+ *
86
+ * @throws {@link ServiceUnavailableException} (server fault)
87
+ * <p>Returns information about an error.</p>
88
+ *
89
+ * @throws {@link TooManyRequestsException} (client fault)
90
+ * <p>Returns information about an error.</p>
91
+ *
92
+ * @throws {@link UnauthorizedException} (client fault)
93
+ * <p>Returns information about an error.</p>
94
+ *
95
+ * @throws {@link KafkaServiceException}
96
+ * <p>Base exception class for all service exceptions from Kafka service.</p>
97
+ *
98
+ *
99
+ * @public
100
+ */
101
+ export declare class ListAssessmentFindingsCommand extends ListAssessmentFindingsCommand_base {
102
+ /** @internal type navigation helper, not in runtime. */
103
+ protected static __types: {
104
+ api: {
105
+ input: ListAssessmentFindingsRequest;
106
+ output: ListAssessmentFindingsResponse;
107
+ };
108
+ sdk: {
109
+ input: ListAssessmentFindingsCommandInput;
110
+ output: ListAssessmentFindingsCommandOutput;
111
+ };
112
+ };
113
+ }
@@ -0,0 +1,107 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ListAssessmentsRequest, ListAssessmentsResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ListAssessmentsCommand}.
11
+ */
12
+ export interface ListAssessmentsCommandInput extends ListAssessmentsRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ListAssessmentsCommand}.
18
+ */
19
+ export interface ListAssessmentsCommandOutput extends ListAssessmentsResponse, __MetadataBearer {
20
+ }
21
+ declare const ListAssessmentsCommand_base: {
22
+ new (input: ListAssessmentsCommandInput): import("@smithy/core/client").CommandImpl<ListAssessmentsCommandInput, ListAssessmentsCommandOutput, import("..").KafkaClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ListAssessmentsCommandInput): import("@smithy/core/client").CommandImpl<ListAssessmentsCommandInput, ListAssessmentsCommandOutput, import("..").KafkaClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Returns a list of assessments for the specified cluster. Optionally filterable by assessment type.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { KafkaClient, ListAssessmentsCommand } from "@aws-sdk/client-kafka"; // ES Modules import
32
+ * // const { KafkaClient, ListAssessmentsCommand } = 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 = { // ListAssessmentsRequest
37
+ * AssessmentType: "STRING_VALUE",
38
+ * ClusterArn: "STRING_VALUE", // required
39
+ * MaxResults: Number("int"),
40
+ * NextToken: "STRING_VALUE",
41
+ * };
42
+ * const command = new ListAssessmentsCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // ListAssessmentsResponse
45
+ * // Assessments: [ // __listOfAssessmentInfo
46
+ * // { // AssessmentInfo
47
+ * // AssessmentArn: "STRING_VALUE",
48
+ * // AssessmentType: "UPDATE_BROKER_TYPE",
49
+ * // ClusterArn: "STRING_VALUE",
50
+ * // CreationTime: new Date("TIMESTAMP"),
51
+ * // Status: "IN_PROGRESS" || "COMPLETE" || "FAILED" || "DELETING",
52
+ * // Tags: { // __mapOf__string
53
+ * // "<keys>": "STRING_VALUE",
54
+ * // },
55
+ * // },
56
+ * // ],
57
+ * // NextToken: "STRING_VALUE",
58
+ * // };
59
+ *
60
+ * ```
61
+ *
62
+ * @param ListAssessmentsCommandInput - {@link ListAssessmentsCommandInput}
63
+ * @returns {@link ListAssessmentsCommandOutput}
64
+ * @see {@link ListAssessmentsCommandInput} for command's `input` shape.
65
+ * @see {@link ListAssessmentsCommandOutput} for command's `response` shape.
66
+ * @see {@link KafkaClientResolvedConfig | config} for KafkaClient's `config` shape.
67
+ *
68
+ * @throws {@link BadRequestException} (client fault)
69
+ * <p>Returns information about an error.</p>
70
+ *
71
+ * @throws {@link ForbiddenException} (client fault)
72
+ * <p>Returns information about an error.</p>
73
+ *
74
+ * @throws {@link InternalServerErrorException} (server fault)
75
+ * <p>Returns information about an error.</p>
76
+ *
77
+ * @throws {@link NotFoundException} (client fault)
78
+ * <p>Returns information about an error.</p>
79
+ *
80
+ * @throws {@link ServiceUnavailableException} (server fault)
81
+ * <p>Returns information about an error.</p>
82
+ *
83
+ * @throws {@link TooManyRequestsException} (client fault)
84
+ * <p>Returns information about an error.</p>
85
+ *
86
+ * @throws {@link UnauthorizedException} (client fault)
87
+ * <p>Returns information about an error.</p>
88
+ *
89
+ * @throws {@link KafkaServiceException}
90
+ * <p>Base exception class for all service exceptions from Kafka service.</p>
91
+ *
92
+ *
93
+ * @public
94
+ */
95
+ export declare class ListAssessmentsCommand extends ListAssessmentsCommand_base {
96
+ /** @internal type navigation helper, not in runtime. */
97
+ protected static __types: {
98
+ api: {
99
+ input: ListAssessmentsRequest;
100
+ output: ListAssessmentsResponse;
101
+ };
102
+ sdk: {
103
+ input: ListAssessmentsCommandInput;
104
+ output: ListAssessmentsCommandOutput;
105
+ };
106
+ };
107
+ }
@@ -43,6 +43,10 @@ declare const ListClusterOperationsCommand_base: {
43
43
  * // { // ListClusterOperationsResponse
44
44
  * // ClusterOperationInfoList: [ // __listOfClusterOperationInfo
45
45
  * // { // ClusterOperationInfo
46
+ * // BrokerTypeUpgradeInfo: { // BrokerTypeUpgradeInfo
47
+ * // TopicReassignmentMode: "AUTO" || "MANUAL",
48
+ * // TopicReassignmentOperationArn: "STRING_VALUE",
49
+ * // },
46
50
  * // ClientRequestId: "STRING_VALUE",
47
51
  * // ClusterArn: "STRING_VALUE",
48
52
  * // CreationTime: new Date("TIMESTAMP"),
@@ -48,6 +48,7 @@ declare const ListNodesCommand_base: {
48
48
  * // BrokerNodeInfo: { // BrokerNodeInfo
49
49
  * // AttachedENIId: "STRING_VALUE",
50
50
  * // BrokerId: Number("double"),
51
+ * // BrokerNodeType: "STANDARD" || "EXPRESS",
51
52
  * // ClientSubnet: "STRING_VALUE",
52
53
  * // ClientVpcIpAddress: "STRING_VALUE",
53
54
  * // CurrentBrokerSoftwareInfo: { // BrokerSoftwareInfo
@@ -0,0 +1,105 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ListTopicReassignmentsRequest, ListTopicReassignmentsResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ListTopicReassignmentsCommand}.
11
+ */
12
+ export interface ListTopicReassignmentsCommandInput extends ListTopicReassignmentsRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ListTopicReassignmentsCommand}.
18
+ */
19
+ export interface ListTopicReassignmentsCommandOutput extends ListTopicReassignmentsResponse, __MetadataBearer {
20
+ }
21
+ declare const ListTopicReassignmentsCommand_base: {
22
+ new (input: ListTopicReassignmentsCommandInput): import("@smithy/core/client").CommandImpl<ListTopicReassignmentsCommandInput, ListTopicReassignmentsCommandOutput, import("..").KafkaClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ListTopicReassignmentsCommandInput): import("@smithy/core/client").CommandImpl<ListTopicReassignmentsCommandInput, ListTopicReassignmentsCommandOutput, import("..").KafkaClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Lists topic reassignment operations for a cluster.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { KafkaClient, ListTopicReassignmentsCommand } from "@aws-sdk/client-kafka"; // ES Modules import
32
+ * // const { KafkaClient, ListTopicReassignmentsCommand } = 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 = { // ListTopicReassignmentsRequest
37
+ * ClusterArn: "STRING_VALUE", // required
38
+ * MaxResults: Number("int"),
39
+ * NextToken: "STRING_VALUE",
40
+ * StatusFilter: "STRING_VALUE",
41
+ * };
42
+ * const command = new ListTopicReassignmentsCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // ListTopicReassignmentsResponse
45
+ * // NextToken: "STRING_VALUE",
46
+ * // Reassignments: [ // __listOfTopicReassignmentInfo
47
+ * // { // TopicReassignmentInfo
48
+ * // CompletedTopics: Number("int"),
49
+ * // CreationTime: new Date("TIMESTAMP"),
50
+ * // Status: "PENDING" || "IN_PROGRESS" || "STOPPING" || "COMPLETE" || "FAILED" || "STOPPED",
51
+ * // TargetInstanceType: "STRING_VALUE",
52
+ * // TopicReassignmentOperationArn: "STRING_VALUE",
53
+ * // TotalTopics: Number("int"),
54
+ * // },
55
+ * // ],
56
+ * // };
57
+ *
58
+ * ```
59
+ *
60
+ * @param ListTopicReassignmentsCommandInput - {@link ListTopicReassignmentsCommandInput}
61
+ * @returns {@link ListTopicReassignmentsCommandOutput}
62
+ * @see {@link ListTopicReassignmentsCommandInput} for command's `input` shape.
63
+ * @see {@link ListTopicReassignmentsCommandOutput} for command's `response` shape.
64
+ * @see {@link KafkaClientResolvedConfig | config} for KafkaClient's `config` shape.
65
+ *
66
+ * @throws {@link BadRequestException} (client fault)
67
+ * <p>Returns information about an error.</p>
68
+ *
69
+ * @throws {@link ForbiddenException} (client fault)
70
+ * <p>Returns information about an error.</p>
71
+ *
72
+ * @throws {@link InternalServerErrorException} (server fault)
73
+ * <p>Returns information about an error.</p>
74
+ *
75
+ * @throws {@link NotFoundException} (client fault)
76
+ * <p>Returns information about an error.</p>
77
+ *
78
+ * @throws {@link ServiceUnavailableException} (server fault)
79
+ * <p>Returns information about an error.</p>
80
+ *
81
+ * @throws {@link TooManyRequestsException} (client fault)
82
+ * <p>Returns information about an error.</p>
83
+ *
84
+ * @throws {@link UnauthorizedException} (client fault)
85
+ * <p>Returns information about an error.</p>
86
+ *
87
+ * @throws {@link KafkaServiceException}
88
+ * <p>Base exception class for all service exceptions from Kafka service.</p>
89
+ *
90
+ *
91
+ * @public
92
+ */
93
+ export declare class ListTopicReassignmentsCommand extends ListTopicReassignmentsCommand_base {
94
+ /** @internal type navigation helper, not in runtime. */
95
+ protected static __types: {
96
+ api: {
97
+ input: ListTopicReassignmentsRequest;
98
+ output: ListTopicReassignmentsResponse;
99
+ };
100
+ sdk: {
101
+ input: ListTopicReassignmentsCommandInput;
102
+ output: ListTopicReassignmentsCommandOutput;
103
+ };
104
+ };
105
+ }
@@ -49,6 +49,9 @@ declare const ListTopicsCommand_base: {
49
49
  * // ReplicationFactor: Number("int"),
50
50
  * // PartitionCount: Number("int"),
51
51
  * // OutOfSyncReplicaCount: Number("int"),
52
+ * // ReplicaIds: [ // __listOf__integer
53
+ * // Number("int"),
54
+ * // ],
52
55
  * // },
53
56
  * // ],
54
57
  * // NextToken: "STRING_VALUE",
@@ -0,0 +1,105 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { StartTopicReassignmentRequest, StartTopicReassignmentResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link StartTopicReassignmentCommand}.
11
+ */
12
+ export interface StartTopicReassignmentCommandInput extends StartTopicReassignmentRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link StartTopicReassignmentCommand}.
18
+ */
19
+ export interface StartTopicReassignmentCommandOutput extends StartTopicReassignmentResponse, __MetadataBearer {
20
+ }
21
+ declare const StartTopicReassignmentCommand_base: {
22
+ new (input: StartTopicReassignmentCommandInput): import("@smithy/core/client").CommandImpl<StartTopicReassignmentCommandInput, StartTopicReassignmentCommandOutput, import("..").KafkaClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: StartTopicReassignmentCommandInput): import("@smithy/core/client").CommandImpl<StartTopicReassignmentCommandInput, StartTopicReassignmentCommandOutput, import("..").KafkaClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Initiates topic partition reassignment between broker types in a mixed-mode cluster.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { KafkaClient, StartTopicReassignmentCommand } from "@aws-sdk/client-kafka"; // ES Modules import
32
+ * // const { KafkaClient, StartTopicReassignmentCommand } = 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 = { // StartTopicReassignmentRequest
37
+ * ClientToken: "STRING_VALUE",
38
+ * ClusterArn: "STRING_VALUE", // required
39
+ * TargetInstanceType: "STRING_VALUE", // required
40
+ * TopicsToExclude: [ // __listOf__stringMin1Max256
41
+ * "STRING_VALUE",
42
+ * ],
43
+ * TopicsToInclude: [ // required
44
+ * "STRING_VALUE",
45
+ * ],
46
+ * };
47
+ * const command = new StartTopicReassignmentCommand(input);
48
+ * const response = await client.send(command);
49
+ * // { // StartTopicReassignmentResponse
50
+ * // ClusterArn: "STRING_VALUE",
51
+ * // Status: "PENDING" || "IN_PROGRESS" || "STOPPING" || "COMPLETE" || "FAILED" || "STOPPED",
52
+ * // TopicReassignmentOperationArn: "STRING_VALUE",
53
+ * // };
54
+ *
55
+ * ```
56
+ *
57
+ * @param StartTopicReassignmentCommandInput - {@link StartTopicReassignmentCommandInput}
58
+ * @returns {@link StartTopicReassignmentCommandOutput}
59
+ * @see {@link StartTopicReassignmentCommandInput} for command's `input` shape.
60
+ * @see {@link StartTopicReassignmentCommandOutput} for command's `response` shape.
61
+ * @see {@link KafkaClientResolvedConfig | config} for KafkaClient's `config` shape.
62
+ *
63
+ * @throws {@link BadRequestException} (client fault)
64
+ * <p>Returns information about an error.</p>
65
+ *
66
+ * @throws {@link ConflictException} (client fault)
67
+ * <p>Returns information about an error.</p>
68
+ *
69
+ * @throws {@link ForbiddenException} (client fault)
70
+ * <p>Returns information about an error.</p>
71
+ *
72
+ * @throws {@link InternalServerErrorException} (server fault)
73
+ * <p>Returns information about an error.</p>
74
+ *
75
+ * @throws {@link NotFoundException} (client fault)
76
+ * <p>Returns information about an error.</p>
77
+ *
78
+ * @throws {@link ServiceUnavailableException} (server fault)
79
+ * <p>Returns information about an error.</p>
80
+ *
81
+ * @throws {@link TooManyRequestsException} (client fault)
82
+ * <p>Returns information about an error.</p>
83
+ *
84
+ * @throws {@link UnauthorizedException} (client fault)
85
+ * <p>Returns information about an error.</p>
86
+ *
87
+ * @throws {@link KafkaServiceException}
88
+ * <p>Base exception class for all service exceptions from Kafka service.</p>
89
+ *
90
+ *
91
+ * @public
92
+ */
93
+ export declare class StartTopicReassignmentCommand extends StartTopicReassignmentCommand_base {
94
+ /** @internal type navigation helper, not in runtime. */
95
+ protected static __types: {
96
+ api: {
97
+ input: StartTopicReassignmentRequest;
98
+ output: StartTopicReassignmentResponse;
99
+ };
100
+ sdk: {
101
+ input: StartTopicReassignmentCommandInput;
102
+ output: StartTopicReassignmentCommandOutput;
103
+ };
104
+ };
105
+ }
@@ -0,0 +1,94 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { StopTopicReassignmentRequest, StopTopicReassignmentResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link StopTopicReassignmentCommand}.
11
+ */
12
+ export interface StopTopicReassignmentCommandInput extends StopTopicReassignmentRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link StopTopicReassignmentCommand}.
18
+ */
19
+ export interface StopTopicReassignmentCommandOutput extends StopTopicReassignmentResponse, __MetadataBearer {
20
+ }
21
+ declare const StopTopicReassignmentCommand_base: {
22
+ new (input: StopTopicReassignmentCommandInput): import("@smithy/core/client").CommandImpl<StopTopicReassignmentCommandInput, StopTopicReassignmentCommandOutput, import("..").KafkaClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: StopTopicReassignmentCommandInput): import("@smithy/core/client").CommandImpl<StopTopicReassignmentCommandInput, StopTopicReassignmentCommandOutput, import("..").KafkaClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Stops an active topic reassignment operation.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { KafkaClient, StopTopicReassignmentCommand } from "@aws-sdk/client-kafka"; // ES Modules import
32
+ * // const { KafkaClient, StopTopicReassignmentCommand } = 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 = { // StopTopicReassignmentRequest
37
+ * ClusterArn: "STRING_VALUE", // required
38
+ * TopicReassignmentOperationArn: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new StopTopicReassignmentCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // StopTopicReassignmentResponse
43
+ * // Status: "PENDING" || "IN_PROGRESS" || "STOPPING" || "COMPLETE" || "FAILED" || "STOPPED",
44
+ * // TopicReassignmentOperationArn: "STRING_VALUE",
45
+ * // };
46
+ *
47
+ * ```
48
+ *
49
+ * @param StopTopicReassignmentCommandInput - {@link StopTopicReassignmentCommandInput}
50
+ * @returns {@link StopTopicReassignmentCommandOutput}
51
+ * @see {@link StopTopicReassignmentCommandInput} for command's `input` shape.
52
+ * @see {@link StopTopicReassignmentCommandOutput} 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 ForbiddenException} (client fault)
59
+ * <p>Returns information about an error.</p>
60
+ *
61
+ * @throws {@link InternalServerErrorException} (server fault)
62
+ * <p>Returns information about an error.</p>
63
+ *
64
+ * @throws {@link NotFoundException} (client fault)
65
+ * <p>Returns information about an error.</p>
66
+ *
67
+ * @throws {@link ServiceUnavailableException} (server fault)
68
+ * <p>Returns information about an error.</p>
69
+ *
70
+ * @throws {@link TooManyRequestsException} (client fault)
71
+ * <p>Returns information about an error.</p>
72
+ *
73
+ * @throws {@link UnauthorizedException} (client fault)
74
+ * <p>Returns information about an error.</p>
75
+ *
76
+ * @throws {@link KafkaServiceException}
77
+ * <p>Base exception class for all service exceptions from Kafka service.</p>
78
+ *
79
+ *
80
+ * @public
81
+ */
82
+ export declare class StopTopicReassignmentCommand extends StopTopicReassignmentCommand_base {
83
+ /** @internal type navigation helper, not in runtime. */
84
+ protected static __types: {
85
+ api: {
86
+ input: StopTopicReassignmentRequest;
87
+ output: StopTopicReassignmentResponse;
88
+ };
89
+ sdk: {
90
+ input: StopTopicReassignmentCommandInput;
91
+ output: StopTopicReassignmentCommandOutput;
92
+ };
93
+ };
94
+ }