@aws-sdk/client-kafkaconnect 3.726.1 → 3.730.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.
- package/README.md +16 -0
- package/dist-cjs/index.js +174 -3
- package/dist-es/KafkaConnect.js +4 -0
- package/dist-es/commands/DescribeConnectorOperationCommand.js +23 -0
- package/dist-es/commands/ListConnectorOperationsCommand.js +22 -0
- package/dist-es/commands/UpdateConnectorCommand.js +2 -1
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +38 -0
- package/dist-es/pagination/ListConnectorOperationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +81 -0
- package/dist-types/KafkaConnect.d.ts +14 -0
- package/dist-types/KafkaConnectClient.d.ts +4 -2
- package/dist-types/commands/CreateConnectorCommand.d.ts +1 -1
- package/dist-types/commands/DescribeConnectorCommand.d.ts +1 -1
- package/dist-types/commands/DescribeConnectorOperationCommand.d.ts +157 -0
- package/dist-types/commands/ListConnectorOperationsCommand.d.ts +109 -0
- package/dist-types/commands/UpdateConnectorCommand.d.ts +4 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +248 -1
- package/dist-types/pagination/ListConnectorOperationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/ts3.4/KafkaConnect.d.ts +34 -0
- package/dist-types/ts3.4/KafkaConnectClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/DescribeConnectorOperationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListConnectorOperationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +86 -1
- package/dist-types/ts3.4/pagination/ListConnectorOperationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/package.json +6 -8
|
@@ -1,5 +1,53 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { KafkaConnectServiceException as __BaseException } from "./KafkaConnectServiceException";
|
|
3
|
+
export declare const ConnectorOperationStepState: {
|
|
4
|
+
readonly CANCELLED: "CANCELLED";
|
|
5
|
+
readonly COMPLETED: "COMPLETED";
|
|
6
|
+
readonly FAILED: "FAILED";
|
|
7
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
8
|
+
readonly PENDING: "PENDING";
|
|
9
|
+
};
|
|
10
|
+
export type ConnectorOperationStepState =
|
|
11
|
+
(typeof ConnectorOperationStepState)[keyof typeof ConnectorOperationStepState];
|
|
12
|
+
export declare const ConnectorOperationStepType: {
|
|
13
|
+
readonly FINALIZE_UPDATE: "FINALIZE_UPDATE";
|
|
14
|
+
readonly INITIALIZE_UPDATE: "INITIALIZE_UPDATE";
|
|
15
|
+
readonly UPDATE_CONNECTOR_CONFIGURATION: "UPDATE_CONNECTOR_CONFIGURATION";
|
|
16
|
+
readonly UPDATE_WORKER_SETTING: "UPDATE_WORKER_SETTING";
|
|
17
|
+
readonly VALIDATE_UPDATE: "VALIDATE_UPDATE";
|
|
18
|
+
};
|
|
19
|
+
export type ConnectorOperationStepType =
|
|
20
|
+
(typeof ConnectorOperationStepType)[keyof typeof ConnectorOperationStepType];
|
|
21
|
+
export interface ConnectorOperationStep {
|
|
22
|
+
stepType?: ConnectorOperationStepType | undefined;
|
|
23
|
+
stepState?: ConnectorOperationStepState | undefined;
|
|
24
|
+
}
|
|
25
|
+
export declare const ConnectorOperationState: {
|
|
26
|
+
readonly PENDING: "PENDING";
|
|
27
|
+
readonly ROLLBACK_COMPLETE: "ROLLBACK_COMPLETE";
|
|
28
|
+
readonly ROLLBACK_FAILED: "ROLLBACK_FAILED";
|
|
29
|
+
readonly ROLLBACK_IN_PROGRESS: "ROLLBACK_IN_PROGRESS";
|
|
30
|
+
readonly UPDATE_COMPLETE: "UPDATE_COMPLETE";
|
|
31
|
+
readonly UPDATE_FAILED: "UPDATE_FAILED";
|
|
32
|
+
readonly UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS";
|
|
33
|
+
};
|
|
34
|
+
export type ConnectorOperationState =
|
|
35
|
+
(typeof ConnectorOperationState)[keyof typeof ConnectorOperationState];
|
|
36
|
+
export declare const ConnectorOperationType: {
|
|
37
|
+
readonly ISOLATE_CONNECTOR: "ISOLATE_CONNECTOR";
|
|
38
|
+
readonly RESTORE_CONNECTOR: "RESTORE_CONNECTOR";
|
|
39
|
+
readonly UPDATE_CONNECTOR_CONFIGURATION: "UPDATE_CONNECTOR_CONFIGURATION";
|
|
40
|
+
readonly UPDATE_WORKER_SETTING: "UPDATE_WORKER_SETTING";
|
|
41
|
+
};
|
|
42
|
+
export type ConnectorOperationType =
|
|
43
|
+
(typeof ConnectorOperationType)[keyof typeof ConnectorOperationType];
|
|
44
|
+
export interface ConnectorOperationSummary {
|
|
45
|
+
connectorOperationArn?: string | undefined;
|
|
46
|
+
connectorOperationType?: ConnectorOperationType | undefined;
|
|
47
|
+
connectorOperationState?: ConnectorOperationState | undefined;
|
|
48
|
+
creationTime?: Date | undefined;
|
|
49
|
+
endTime?: Date | undefined;
|
|
50
|
+
}
|
|
3
51
|
export interface ScaleInPolicyDescription {
|
|
4
52
|
cpuUtilizationPercentage?: number | undefined;
|
|
5
53
|
}
|
|
@@ -424,6 +472,26 @@ export interface DescribeConnectorResponse {
|
|
|
424
472
|
workerConfiguration?: WorkerConfigurationDescription | undefined;
|
|
425
473
|
stateDescription?: StateDescription | undefined;
|
|
426
474
|
}
|
|
475
|
+
export interface DescribeConnectorOperationRequest {
|
|
476
|
+
connectorOperationArn: string | undefined;
|
|
477
|
+
}
|
|
478
|
+
export interface WorkerSetting {
|
|
479
|
+
capacity?: CapacityDescription | undefined;
|
|
480
|
+
}
|
|
481
|
+
export interface DescribeConnectorOperationResponse {
|
|
482
|
+
connectorArn?: string | undefined;
|
|
483
|
+
connectorOperationArn?: string | undefined;
|
|
484
|
+
connectorOperationState?: ConnectorOperationState | undefined;
|
|
485
|
+
connectorOperationType?: ConnectorOperationType | undefined;
|
|
486
|
+
operationSteps?: ConnectorOperationStep[] | undefined;
|
|
487
|
+
originWorkerSetting?: WorkerSetting | undefined;
|
|
488
|
+
originConnectorConfiguration?: Record<string, string> | undefined;
|
|
489
|
+
targetWorkerSetting?: WorkerSetting | undefined;
|
|
490
|
+
targetConnectorConfiguration?: Record<string, string> | undefined;
|
|
491
|
+
errorInfo?: StateDescription | undefined;
|
|
492
|
+
creationTime?: Date | undefined;
|
|
493
|
+
endTime?: Date | undefined;
|
|
494
|
+
}
|
|
427
495
|
export interface DescribeCustomPluginRequest {
|
|
428
496
|
customPluginArn: string | undefined;
|
|
429
497
|
}
|
|
@@ -453,6 +521,15 @@ export interface DescribeWorkerConfigurationResponse {
|
|
|
453
521
|
workerConfigurationArn?: string | undefined;
|
|
454
522
|
workerConfigurationState?: WorkerConfigurationState | undefined;
|
|
455
523
|
}
|
|
524
|
+
export interface ListConnectorOperationsRequest {
|
|
525
|
+
connectorArn: string | undefined;
|
|
526
|
+
maxResults?: number | undefined;
|
|
527
|
+
nextToken?: string | undefined;
|
|
528
|
+
}
|
|
529
|
+
export interface ListConnectorOperationsResponse {
|
|
530
|
+
connectorOperations?: ConnectorOperationSummary[] | undefined;
|
|
531
|
+
nextToken?: string | undefined;
|
|
532
|
+
}
|
|
456
533
|
export interface ListConnectorsRequest {
|
|
457
534
|
connectorNamePrefix?: string | undefined;
|
|
458
535
|
maxResults?: number | undefined;
|
|
@@ -497,13 +574,15 @@ export interface UntagResourceRequest {
|
|
|
497
574
|
}
|
|
498
575
|
export interface UntagResourceResponse {}
|
|
499
576
|
export interface UpdateConnectorRequest {
|
|
500
|
-
capacity
|
|
577
|
+
capacity?: CapacityUpdate | undefined;
|
|
578
|
+
connectorConfiguration?: Record<string, string> | undefined;
|
|
501
579
|
connectorArn: string | undefined;
|
|
502
580
|
currentVersion: string | undefined;
|
|
503
581
|
}
|
|
504
582
|
export interface UpdateConnectorResponse {
|
|
505
583
|
connectorArn?: string | undefined;
|
|
506
584
|
connectorState?: ConnectorState | undefined;
|
|
585
|
+
connectorOperationArn?: string | undefined;
|
|
507
586
|
}
|
|
508
587
|
export declare const CreateConnectorRequestFilterSensitiveLog: (
|
|
509
588
|
obj: CreateConnectorRequest
|
|
@@ -514,9 +593,15 @@ export declare const CreateWorkerConfigurationRequestFilterSensitiveLog: (
|
|
|
514
593
|
export declare const DescribeConnectorResponseFilterSensitiveLog: (
|
|
515
594
|
obj: DescribeConnectorResponse
|
|
516
595
|
) => any;
|
|
596
|
+
export declare const DescribeConnectorOperationResponseFilterSensitiveLog: (
|
|
597
|
+
obj: DescribeConnectorOperationResponse
|
|
598
|
+
) => any;
|
|
517
599
|
export declare const WorkerConfigurationRevisionDescriptionFilterSensitiveLog: (
|
|
518
600
|
obj: WorkerConfigurationRevisionDescription
|
|
519
601
|
) => any;
|
|
520
602
|
export declare const DescribeWorkerConfigurationResponseFilterSensitiveLog: (
|
|
521
603
|
obj: DescribeWorkerConfigurationResponse
|
|
522
604
|
) => any;
|
|
605
|
+
export declare const UpdateConnectorRequestFilterSensitiveLog: (
|
|
606
|
+
obj: UpdateConnectorRequest
|
|
607
|
+
) => any;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListConnectorOperationsCommandInput,
|
|
4
|
+
ListConnectorOperationsCommandOutput,
|
|
5
|
+
} from "../commands/ListConnectorOperationsCommand";
|
|
6
|
+
import { KafkaConnectPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListConnectorOperations: (
|
|
8
|
+
config: KafkaConnectPaginationConfiguration,
|
|
9
|
+
input: ListConnectorOperationsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListConnectorOperationsCommandOutput>;
|
|
@@ -31,6 +31,10 @@ import {
|
|
|
31
31
|
DescribeConnectorCommandInput,
|
|
32
32
|
DescribeConnectorCommandOutput,
|
|
33
33
|
} from "../commands/DescribeConnectorCommand";
|
|
34
|
+
import {
|
|
35
|
+
DescribeConnectorOperationCommandInput,
|
|
36
|
+
DescribeConnectorOperationCommandOutput,
|
|
37
|
+
} from "../commands/DescribeConnectorOperationCommand";
|
|
34
38
|
import {
|
|
35
39
|
DescribeCustomPluginCommandInput,
|
|
36
40
|
DescribeCustomPluginCommandOutput,
|
|
@@ -39,6 +43,10 @@ import {
|
|
|
39
43
|
DescribeWorkerConfigurationCommandInput,
|
|
40
44
|
DescribeWorkerConfigurationCommandOutput,
|
|
41
45
|
} from "../commands/DescribeWorkerConfigurationCommand";
|
|
46
|
+
import {
|
|
47
|
+
ListConnectorOperationsCommandInput,
|
|
48
|
+
ListConnectorOperationsCommandOutput,
|
|
49
|
+
} from "../commands/ListConnectorOperationsCommand";
|
|
42
50
|
import {
|
|
43
51
|
ListConnectorsCommandInput,
|
|
44
52
|
ListConnectorsCommandOutput,
|
|
@@ -95,6 +103,10 @@ export declare const se_DescribeConnectorCommand: (
|
|
|
95
103
|
input: DescribeConnectorCommandInput,
|
|
96
104
|
context: __SerdeContext
|
|
97
105
|
) => Promise<__HttpRequest>;
|
|
106
|
+
export declare const se_DescribeConnectorOperationCommand: (
|
|
107
|
+
input: DescribeConnectorOperationCommandInput,
|
|
108
|
+
context: __SerdeContext
|
|
109
|
+
) => Promise<__HttpRequest>;
|
|
98
110
|
export declare const se_DescribeCustomPluginCommand: (
|
|
99
111
|
input: DescribeCustomPluginCommandInput,
|
|
100
112
|
context: __SerdeContext
|
|
@@ -103,6 +115,10 @@ export declare const se_DescribeWorkerConfigurationCommand: (
|
|
|
103
115
|
input: DescribeWorkerConfigurationCommandInput,
|
|
104
116
|
context: __SerdeContext
|
|
105
117
|
) => Promise<__HttpRequest>;
|
|
118
|
+
export declare const se_ListConnectorOperationsCommand: (
|
|
119
|
+
input: ListConnectorOperationsCommandInput,
|
|
120
|
+
context: __SerdeContext
|
|
121
|
+
) => Promise<__HttpRequest>;
|
|
106
122
|
export declare const se_ListConnectorsCommand: (
|
|
107
123
|
input: ListConnectorsCommandInput,
|
|
108
124
|
context: __SerdeContext
|
|
@@ -159,6 +175,10 @@ export declare const de_DescribeConnectorCommand: (
|
|
|
159
175
|
output: __HttpResponse,
|
|
160
176
|
context: __SerdeContext
|
|
161
177
|
) => Promise<DescribeConnectorCommandOutput>;
|
|
178
|
+
export declare const de_DescribeConnectorOperationCommand: (
|
|
179
|
+
output: __HttpResponse,
|
|
180
|
+
context: __SerdeContext
|
|
181
|
+
) => Promise<DescribeConnectorOperationCommandOutput>;
|
|
162
182
|
export declare const de_DescribeCustomPluginCommand: (
|
|
163
183
|
output: __HttpResponse,
|
|
164
184
|
context: __SerdeContext
|
|
@@ -167,6 +187,10 @@ export declare const de_DescribeWorkerConfigurationCommand: (
|
|
|
167
187
|
output: __HttpResponse,
|
|
168
188
|
context: __SerdeContext
|
|
169
189
|
) => Promise<DescribeWorkerConfigurationCommandOutput>;
|
|
190
|
+
export declare const de_ListConnectorOperationsCommand: (
|
|
191
|
+
output: __HttpResponse,
|
|
192
|
+
context: __SerdeContext
|
|
193
|
+
) => Promise<ListConnectorOperationsCommandOutput>;
|
|
170
194
|
export declare const de_ListConnectorsCommand: (
|
|
171
195
|
output: __HttpResponse,
|
|
172
196
|
context: __SerdeContext
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-kafkaconnect",
|
|
3
3
|
"description": "AWS SDK for JavaScript Kafkaconnect Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.730.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-kafkaconnect",
|
|
@@ -20,19 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/
|
|
24
|
-
"@aws-sdk/
|
|
25
|
-
"@aws-sdk/core": "3.723.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.726.0",
|
|
23
|
+
"@aws-sdk/core": "3.730.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.730.0",
|
|
27
25
|
"@aws-sdk/middleware-host-header": "3.723.0",
|
|
28
26
|
"@aws-sdk/middleware-logger": "3.723.0",
|
|
29
27
|
"@aws-sdk/middleware-recursion-detection": "3.723.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.730.0",
|
|
31
29
|
"@aws-sdk/region-config-resolver": "3.723.0",
|
|
32
30
|
"@aws-sdk/types": "3.723.0",
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.730.0",
|
|
34
32
|
"@aws-sdk/util-user-agent-browser": "3.723.0",
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.730.0",
|
|
36
34
|
"@smithy/config-resolver": "^4.0.0",
|
|
37
35
|
"@smithy/core": "^3.0.0",
|
|
38
36
|
"@smithy/fetch-http-handler": "^5.0.0",
|