@aws-sdk/client-kafkaconnect 3.53.0 → 3.54.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/CHANGELOG.md +11 -0
- package/dist-cjs/KafkaConnect.js +15 -0
- package/dist-cjs/commands/DeleteCustomPluginCommand.js +36 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +27 -1
- package/dist-cjs/protocols/Aws_restJson1.js +100 -1
- package/dist-es/KafkaConnect.js +15 -0
- package/dist-es/commands/DeleteCustomPluginCommand.js +39 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +20 -5
- package/dist-es/protocols/Aws_restJson1.js +129 -0
- package/dist-types/KafkaConnect.d.ts +10 -1
- package/dist-types/KafkaConnectClient.d.ts +5 -4
- package/dist-types/commands/DeleteCustomPluginCommand.d.ts +35 -0
- package/dist-types/commands/ListConnectorsCommand.d.ts +3 -1
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +179 -58
- package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/KafkaConnect.d.ts +5 -0
- package/dist-types/ts3.4/KafkaConnectClient.d.ts +5 -4
- package/dist-types/ts3.4/commands/DeleteCustomPluginCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +33 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +3 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +27 -27
|
@@ -5,7 +5,8 @@ import { KafkaConnectServiceException as __BaseException } from "./KafkaConnectS
|
|
|
5
5
|
*/
|
|
6
6
|
export interface ScaleInPolicyDescription {
|
|
7
7
|
/**
|
|
8
|
-
* <p>Specifies the CPU utilization percentage threshold at which you want connector scale in
|
|
8
|
+
* <p>Specifies the CPU utilization percentage threshold at which you want connector scale in
|
|
9
|
+
* to be triggered.</p>
|
|
9
10
|
*/
|
|
10
11
|
cpuUtilizationPercentage?: number;
|
|
11
12
|
}
|
|
@@ -20,7 +21,8 @@ export declare namespace ScaleInPolicyDescription {
|
|
|
20
21
|
*/
|
|
21
22
|
export interface ScaleOutPolicyDescription {
|
|
22
23
|
/**
|
|
23
|
-
* <p>The CPU utilization percentage threshold at which you want connector scale out to be
|
|
24
|
+
* <p>The CPU utilization percentage threshold at which you want connector scale out to be
|
|
25
|
+
* triggered.</p>
|
|
24
26
|
*/
|
|
25
27
|
cpuUtilizationPercentage?: number;
|
|
26
28
|
}
|
|
@@ -39,7 +41,8 @@ export interface AutoScalingDescription {
|
|
|
39
41
|
*/
|
|
40
42
|
maxWorkerCount?: number;
|
|
41
43
|
/**
|
|
42
|
-
* <p>The number of microcontroller units (MCUs) allocated to each connector worker. The valid
|
|
44
|
+
* <p>The number of microcontroller units (MCUs) allocated to each connector worker. The valid
|
|
45
|
+
* values are 1,2,4,8.</p>
|
|
43
46
|
*/
|
|
44
47
|
mcuCount?: number;
|
|
45
48
|
/**
|
|
@@ -66,7 +69,8 @@ export declare namespace AutoScalingDescription {
|
|
|
66
69
|
*/
|
|
67
70
|
export interface ProvisionedCapacityDescription {
|
|
68
71
|
/**
|
|
69
|
-
* <p>The number of microcontroller units (MCUs) allocated to each connector worker. The valid
|
|
72
|
+
* <p>The number of microcontroller units (MCUs) allocated to each connector worker. The valid
|
|
73
|
+
* values are 1,2,4,8.</p>
|
|
70
74
|
*/
|
|
71
75
|
mcuCount?: number;
|
|
72
76
|
/**
|
|
@@ -134,7 +138,8 @@ export interface ApacheKafkaClusterDescription {
|
|
|
134
138
|
*/
|
|
135
139
|
bootstrapServers?: string;
|
|
136
140
|
/**
|
|
137
|
-
* <p>Details of an Amazon VPC which has network connectivity to the Apache Kafka
|
|
141
|
+
* <p>Details of an Amazon VPC which has network connectivity to the Apache Kafka
|
|
142
|
+
* cluster.</p>
|
|
138
143
|
*/
|
|
139
144
|
vpc?: VpcDescription;
|
|
140
145
|
}
|
|
@@ -164,11 +169,13 @@ export declare enum KafkaClusterClientAuthenticationType {
|
|
|
164
169
|
NONE = "NONE"
|
|
165
170
|
}
|
|
166
171
|
/**
|
|
167
|
-
* <p>The client authentication information used in order to authenticate with the Apache
|
|
172
|
+
* <p>The client authentication information used in order to authenticate with the Apache
|
|
173
|
+
* Kafka cluster.</p>
|
|
168
174
|
*/
|
|
169
175
|
export interface KafkaClusterClientAuthenticationDescription {
|
|
170
176
|
/**
|
|
171
|
-
* <p>The type of client authentication used to connect to the Apache Kafka cluster. Value
|
|
177
|
+
* <p>The type of client authentication used to connect to the Apache Kafka cluster. Value
|
|
178
|
+
* NONE means that no client authentication is used.</p>
|
|
172
179
|
*/
|
|
173
180
|
authenticationType?: KafkaClusterClientAuthenticationType | string;
|
|
174
181
|
}
|
|
@@ -217,11 +224,13 @@ export declare namespace CloudWatchLogsLogDeliveryDescription {
|
|
|
217
224
|
const filterSensitiveLog: (obj: CloudWatchLogsLogDeliveryDescription) => any;
|
|
218
225
|
}
|
|
219
226
|
/**
|
|
220
|
-
* <p>A description of the settings for delivering logs to Amazon Kinesis Data
|
|
227
|
+
* <p>A description of the settings for delivering logs to Amazon Kinesis Data
|
|
228
|
+
* Firehose.</p>
|
|
221
229
|
*/
|
|
222
230
|
export interface FirehoseLogDeliveryDescription {
|
|
223
231
|
/**
|
|
224
|
-
* <p>The name of the Kinesis Data Firehose delivery stream that is the destination for log
|
|
232
|
+
* <p>The name of the Kinesis Data Firehose delivery stream that is the destination for log
|
|
233
|
+
* delivery.</p>
|
|
225
234
|
*/
|
|
226
235
|
deliveryStream?: string;
|
|
227
236
|
/**
|
|
@@ -259,7 +268,8 @@ export declare namespace S3LogDeliveryDescription {
|
|
|
259
268
|
const filterSensitiveLog: (obj: S3LogDeliveryDescription) => any;
|
|
260
269
|
}
|
|
261
270
|
/**
|
|
262
|
-
* <p>Workers can send worker logs to different destination types. This configuration
|
|
271
|
+
* <p>Workers can send worker logs to different destination types. This configuration
|
|
272
|
+
* specifies the details of these destinations.</p>
|
|
263
273
|
*/
|
|
264
274
|
export interface WorkerLogDeliveryDescription {
|
|
265
275
|
/**
|
|
@@ -286,7 +296,8 @@ export declare namespace WorkerLogDeliveryDescription {
|
|
|
286
296
|
*/
|
|
287
297
|
export interface LogDeliveryDescription {
|
|
288
298
|
/**
|
|
289
|
-
* <p>The workers can send worker logs to different destination types. This configuration
|
|
299
|
+
* <p>The workers can send worker logs to different destination types. This configuration
|
|
300
|
+
* specifies the details of these destinations.</p>
|
|
290
301
|
*/
|
|
291
302
|
workerLogDelivery?: WorkerLogDeliveryDescription;
|
|
292
303
|
}
|
|
@@ -386,7 +397,8 @@ export interface ConnectorSummary {
|
|
|
386
397
|
*/
|
|
387
398
|
kafkaCluster?: KafkaClusterDescription;
|
|
388
399
|
/**
|
|
389
|
-
* <p>The type of client authentication used to connect to the Apache Kafka cluster. The value
|
|
400
|
+
* <p>The type of client authentication used to connect to the Apache Kafka cluster. The value
|
|
401
|
+
* is NONE when no client authentication is used.</p>
|
|
390
402
|
*/
|
|
391
403
|
kafkaClusterClientAuthentication?: KafkaClusterClientAuthenticationDescription;
|
|
392
404
|
/**
|
|
@@ -394,7 +406,8 @@ export interface ConnectorSummary {
|
|
|
394
406
|
*/
|
|
395
407
|
kafkaClusterEncryptionInTransit?: KafkaClusterEncryptionInTransitDescription;
|
|
396
408
|
/**
|
|
397
|
-
* <p>The version of Kafka Connect. It has to be compatible with both the Apache Kafka
|
|
409
|
+
* <p>The version of Kafka Connect. It has to be compatible with both the Apache Kafka
|
|
410
|
+
* cluster's version and the plugins.</p>
|
|
398
411
|
*/
|
|
399
412
|
kafkaConnectVersion?: string;
|
|
400
413
|
/**
|
|
@@ -406,7 +419,8 @@ export interface ConnectorSummary {
|
|
|
406
419
|
*/
|
|
407
420
|
plugins?: PluginDescription[];
|
|
408
421
|
/**
|
|
409
|
-
* <p>The Amazon Resource Name (ARN) of the IAM role used by the connector to access Amazon
|
|
422
|
+
* <p>The Amazon Resource Name (ARN) of the IAM role used by the connector to access Amazon
|
|
423
|
+
* Web Services resources.</p>
|
|
410
424
|
*/
|
|
411
425
|
serviceExecutionRoleArn?: string;
|
|
412
426
|
/**
|
|
@@ -437,7 +451,8 @@ export declare enum CustomPluginContentType {
|
|
|
437
451
|
*/
|
|
438
452
|
export interface CustomPluginFileDescription {
|
|
439
453
|
/**
|
|
440
|
-
* <p>The hex-encoded MD5 checksum of the custom plugin file. You can use it to validate the
|
|
454
|
+
* <p>The hex-encoded MD5 checksum of the custom plugin file. You can use it to validate the
|
|
455
|
+
* file.</p>
|
|
441
456
|
*/
|
|
442
457
|
fileMd5?: string;
|
|
443
458
|
/**
|
|
@@ -479,7 +494,8 @@ export declare namespace S3LocationDescription {
|
|
|
479
494
|
*/
|
|
480
495
|
export interface CustomPluginLocationDescription {
|
|
481
496
|
/**
|
|
482
|
-
* <p>The S3 bucket Amazon Resource Name (ARN), file key, and object version of the plugin
|
|
497
|
+
* <p>The S3 bucket Amazon Resource Name (ARN), file key, and object version of the plugin
|
|
498
|
+
* file stored in Amazon S3.</p>
|
|
483
499
|
*/
|
|
484
500
|
s3Location?: S3LocationDescription;
|
|
485
501
|
}
|
|
@@ -560,7 +576,8 @@ export declare namespace CustomPluginSummary {
|
|
|
560
576
|
const filterSensitiveLog: (obj: CustomPluginSummary) => any;
|
|
561
577
|
}
|
|
562
578
|
/**
|
|
563
|
-
* <p>A plugin is an AWS resource that contains the code that defines a connector's
|
|
579
|
+
* <p>A plugin is an AWS resource that contains the code that defines a connector's
|
|
580
|
+
* logic.</p>
|
|
564
581
|
*/
|
|
565
582
|
export interface CustomPlugin {
|
|
566
583
|
/**
|
|
@@ -579,7 +596,8 @@ export declare namespace CustomPlugin {
|
|
|
579
596
|
const filterSensitiveLog: (obj: CustomPlugin) => any;
|
|
580
597
|
}
|
|
581
598
|
/**
|
|
582
|
-
* <p>A plugin is an AWS resource that contains the code that defines your connector logic.
|
|
599
|
+
* <p>A plugin is an AWS resource that contains the code that defines your connector logic.
|
|
600
|
+
* </p>
|
|
583
601
|
*/
|
|
584
602
|
export interface Plugin {
|
|
585
603
|
/**
|
|
@@ -675,7 +693,8 @@ export interface ApacheKafkaCluster {
|
|
|
675
693
|
*/
|
|
676
694
|
bootstrapServers: string | undefined;
|
|
677
695
|
/**
|
|
678
|
-
* <p>Details of an Amazon VPC which has network connectivity to the Apache Kafka
|
|
696
|
+
* <p>Details of an Amazon VPC which has network connectivity to the Apache Kafka
|
|
697
|
+
* cluster.</p>
|
|
679
698
|
*/
|
|
680
699
|
vpc: Vpc | undefined;
|
|
681
700
|
}
|
|
@@ -690,7 +709,8 @@ export declare namespace ApacheKafkaCluster {
|
|
|
690
709
|
*/
|
|
691
710
|
export interface ScaleInPolicy {
|
|
692
711
|
/**
|
|
693
|
-
* <p>Specifies the CPU utilization percentage threshold at which you want connector scale in
|
|
712
|
+
* <p>Specifies the CPU utilization percentage threshold at which you want connector scale in
|
|
713
|
+
* to be triggered.</p>
|
|
694
714
|
*/
|
|
695
715
|
cpuUtilizationPercentage: number | undefined;
|
|
696
716
|
}
|
|
@@ -705,7 +725,8 @@ export declare namespace ScaleInPolicy {
|
|
|
705
725
|
*/
|
|
706
726
|
export interface ScaleOutPolicy {
|
|
707
727
|
/**
|
|
708
|
-
* <p>The CPU utilization percentage threshold at which you want connector scale out to be
|
|
728
|
+
* <p>The CPU utilization percentage threshold at which you want connector scale out to be
|
|
729
|
+
* triggered.</p>
|
|
709
730
|
*/
|
|
710
731
|
cpuUtilizationPercentage: number | undefined;
|
|
711
732
|
}
|
|
@@ -724,7 +745,8 @@ export interface AutoScaling {
|
|
|
724
745
|
*/
|
|
725
746
|
maxWorkerCount: number | undefined;
|
|
726
747
|
/**
|
|
727
|
-
* <p>The number of microcontroller units (MCUs) allocated to each connector worker. The valid
|
|
748
|
+
* <p>The number of microcontroller units (MCUs) allocated to each connector worker. The valid
|
|
749
|
+
* values are 1,2,4,8.</p>
|
|
728
750
|
*/
|
|
729
751
|
mcuCount: number | undefined;
|
|
730
752
|
/**
|
|
@@ -751,7 +773,8 @@ export declare namespace AutoScaling {
|
|
|
751
773
|
*/
|
|
752
774
|
export interface ScaleInPolicyUpdate {
|
|
753
775
|
/**
|
|
754
|
-
* <p>The target CPU utilization percentage threshold at which you want connector scale in to
|
|
776
|
+
* <p>The target CPU utilization percentage threshold at which you want connector scale in to
|
|
777
|
+
* be triggered.</p>
|
|
755
778
|
*/
|
|
756
779
|
cpuUtilizationPercentage: number | undefined;
|
|
757
780
|
}
|
|
@@ -766,7 +789,8 @@ export declare namespace ScaleInPolicyUpdate {
|
|
|
766
789
|
*/
|
|
767
790
|
export interface ScaleOutPolicyUpdate {
|
|
768
791
|
/**
|
|
769
|
-
* <p>The target CPU utilization percentage threshold at which you want connector scale out to
|
|
792
|
+
* <p>The target CPU utilization percentage threshold at which you want connector scale out to
|
|
793
|
+
* be triggered.</p>
|
|
770
794
|
*/
|
|
771
795
|
cpuUtilizationPercentage: number | undefined;
|
|
772
796
|
}
|
|
@@ -785,7 +809,8 @@ export interface AutoScalingUpdate {
|
|
|
785
809
|
*/
|
|
786
810
|
maxWorkerCount: number | undefined;
|
|
787
811
|
/**
|
|
788
|
-
* <p>The target number of microcontroller units (MCUs) allocated to each connector worker.
|
|
812
|
+
* <p>The target number of microcontroller units (MCUs) allocated to each connector worker.
|
|
813
|
+
* The valid values are 1,2,4,8.</p>
|
|
789
814
|
*/
|
|
790
815
|
mcuCount: number | undefined;
|
|
791
816
|
/**
|
|
@@ -808,7 +833,8 @@ export declare namespace AutoScalingUpdate {
|
|
|
808
833
|
const filterSensitiveLog: (obj: AutoScalingUpdate) => any;
|
|
809
834
|
}
|
|
810
835
|
/**
|
|
811
|
-
* <p>HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then
|
|
836
|
+
* <p>HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then
|
|
837
|
+
* retry it.</p>
|
|
812
838
|
*/
|
|
813
839
|
export declare class BadRequestException extends __BaseException {
|
|
814
840
|
readonly name: "BadRequestException";
|
|
@@ -823,7 +849,8 @@ export declare class BadRequestException extends __BaseException {
|
|
|
823
849
|
*/
|
|
824
850
|
export interface ProvisionedCapacity {
|
|
825
851
|
/**
|
|
826
|
-
* <p>The number of microcontroller units (MCUs) allocated to each connector worker. The valid
|
|
852
|
+
* <p>The number of microcontroller units (MCUs) allocated to each connector worker. The valid
|
|
853
|
+
* values are 1,2,4,8.</p>
|
|
827
854
|
*/
|
|
828
855
|
mcuCount: number | undefined;
|
|
829
856
|
/**
|
|
@@ -838,7 +865,8 @@ export declare namespace ProvisionedCapacity {
|
|
|
838
865
|
const filterSensitiveLog: (obj: ProvisionedCapacity) => any;
|
|
839
866
|
}
|
|
840
867
|
/**
|
|
841
|
-
* <p>Information about the capacity of the connector, whether it is auto scaled or
|
|
868
|
+
* <p>Information about the capacity of the connector, whether it is auto scaled or
|
|
869
|
+
* provisioned.</p>
|
|
842
870
|
*/
|
|
843
871
|
export interface Capacity {
|
|
844
872
|
/**
|
|
@@ -861,7 +889,8 @@ export declare namespace Capacity {
|
|
|
861
889
|
*/
|
|
862
890
|
export interface ProvisionedCapacityUpdate {
|
|
863
891
|
/**
|
|
864
|
-
* <p>The number of microcontroller units (MCUs) allocated to each connector worker. The valid
|
|
892
|
+
* <p>The number of microcontroller units (MCUs) allocated to each connector worker. The valid
|
|
893
|
+
* values are 1,2,4,8.</p>
|
|
865
894
|
*/
|
|
866
895
|
mcuCount: number | undefined;
|
|
867
896
|
/**
|
|
@@ -876,7 +905,8 @@ export declare namespace ProvisionedCapacityUpdate {
|
|
|
876
905
|
const filterSensitiveLog: (obj: ProvisionedCapacityUpdate) => any;
|
|
877
906
|
}
|
|
878
907
|
/**
|
|
879
|
-
* <p>The target capacity for the connector. The capacity can be auto scaled or
|
|
908
|
+
* <p>The target capacity for the connector. The capacity can be auto scaled or
|
|
909
|
+
* provisioned.</p>
|
|
880
910
|
*/
|
|
881
911
|
export interface CapacityUpdate {
|
|
882
912
|
/**
|
|
@@ -914,7 +944,8 @@ export declare namespace CloudWatchLogsLogDelivery {
|
|
|
914
944
|
const filterSensitiveLog: (obj: CloudWatchLogsLogDelivery) => any;
|
|
915
945
|
}
|
|
916
946
|
/**
|
|
917
|
-
* <p>HTTP Status Code 409: Conflict. A resource with this name already exists. Retry your
|
|
947
|
+
* <p>HTTP Status Code 409: Conflict. A resource with this name already exists. Retry your
|
|
948
|
+
* request with another name.</p>
|
|
918
949
|
*/
|
|
919
950
|
export declare class ConflictException extends __BaseException {
|
|
920
951
|
readonly name: "ConflictException";
|
|
@@ -940,11 +971,13 @@ export declare namespace KafkaCluster {
|
|
|
940
971
|
const filterSensitiveLog: (obj: KafkaCluster) => any;
|
|
941
972
|
}
|
|
942
973
|
/**
|
|
943
|
-
* <p>The client authentication information used in order to authenticate with the Apache
|
|
974
|
+
* <p>The client authentication information used in order to authenticate with the Apache
|
|
975
|
+
* Kafka cluster.</p>
|
|
944
976
|
*/
|
|
945
977
|
export interface KafkaClusterClientAuthentication {
|
|
946
978
|
/**
|
|
947
|
-
* <p>The type of client authentication used to connect to the Apache Kafka cluster. Value
|
|
979
|
+
* <p>The type of client authentication used to connect to the Apache Kafka cluster. Value
|
|
980
|
+
* NONE means that no client authentication is used.</p>
|
|
948
981
|
*/
|
|
949
982
|
authenticationType: KafkaClusterClientAuthenticationType | string | undefined;
|
|
950
983
|
}
|
|
@@ -974,7 +1007,8 @@ export declare namespace KafkaClusterEncryptionInTransit {
|
|
|
974
1007
|
*/
|
|
975
1008
|
export interface FirehoseLogDelivery {
|
|
976
1009
|
/**
|
|
977
|
-
* <p>The name of the Kinesis Data Firehose delivery stream that is the destination for log
|
|
1010
|
+
* <p>The name of the Kinesis Data Firehose delivery stream that is the destination for log
|
|
1011
|
+
* delivery.</p>
|
|
978
1012
|
*/
|
|
979
1013
|
deliveryStream?: string;
|
|
980
1014
|
/**
|
|
@@ -1012,7 +1046,8 @@ export declare namespace S3LogDelivery {
|
|
|
1012
1046
|
const filterSensitiveLog: (obj: S3LogDelivery) => any;
|
|
1013
1047
|
}
|
|
1014
1048
|
/**
|
|
1015
|
-
* <p>Workers can send worker logs to different destination types. This configuration
|
|
1049
|
+
* <p>Workers can send worker logs to different destination types. This configuration
|
|
1050
|
+
* specifies the details of these destinations.</p>
|
|
1016
1051
|
*/
|
|
1017
1052
|
export interface WorkerLogDelivery {
|
|
1018
1053
|
/**
|
|
@@ -1039,7 +1074,8 @@ export declare namespace WorkerLogDelivery {
|
|
|
1039
1074
|
*/
|
|
1040
1075
|
export interface LogDelivery {
|
|
1041
1076
|
/**
|
|
1042
|
-
* <p>The workers can send worker logs to different destination types. This configuration
|
|
1077
|
+
* <p>The workers can send worker logs to different destination types. This configuration
|
|
1078
|
+
* specifies the details of these destinations.</p>
|
|
1043
1079
|
*/
|
|
1044
1080
|
workerLogDelivery: WorkerLogDelivery | undefined;
|
|
1045
1081
|
}
|
|
@@ -1050,7 +1086,8 @@ export declare namespace LogDelivery {
|
|
|
1050
1086
|
const filterSensitiveLog: (obj: LogDelivery) => any;
|
|
1051
1087
|
}
|
|
1052
1088
|
/**
|
|
1053
|
-
* <p>The configuration of the workers, which are the processes that run the connector
|
|
1089
|
+
* <p>The configuration of the workers, which are the processes that run the connector
|
|
1090
|
+
* logic.</p>
|
|
1054
1091
|
*/
|
|
1055
1092
|
export interface WorkerConfiguration {
|
|
1056
1093
|
/**
|
|
@@ -1070,7 +1107,8 @@ export declare namespace WorkerConfiguration {
|
|
|
1070
1107
|
}
|
|
1071
1108
|
export interface CreateConnectorRequest {
|
|
1072
1109
|
/**
|
|
1073
|
-
* <p>Information about the capacity allocated to the connector. Exactly one of the two
|
|
1110
|
+
* <p>Information about the capacity allocated to the connector. Exactly one of the two
|
|
1111
|
+
* properties must be specified.</p>
|
|
1074
1112
|
*/
|
|
1075
1113
|
capacity: Capacity | undefined;
|
|
1076
1114
|
/**
|
|
@@ -1100,7 +1138,8 @@ export interface CreateConnectorRequest {
|
|
|
1100
1138
|
*/
|
|
1101
1139
|
kafkaClusterEncryptionInTransit: KafkaClusterEncryptionInTransit | undefined;
|
|
1102
1140
|
/**
|
|
1103
|
-
* <p>The version of Kafka Connect. It has to be compatible with both the Apache Kafka
|
|
1141
|
+
* <p>The version of Kafka Connect. It has to be compatible with both the Apache Kafka
|
|
1142
|
+
* cluster's version and the plugins.</p>
|
|
1104
1143
|
*/
|
|
1105
1144
|
kafkaConnectVersion: string | undefined;
|
|
1106
1145
|
/**
|
|
@@ -1112,7 +1151,10 @@ export interface CreateConnectorRequest {
|
|
|
1112
1151
|
*/
|
|
1113
1152
|
plugins: Plugin[] | undefined;
|
|
1114
1153
|
/**
|
|
1115
|
-
* <p>The Amazon Resource Name (ARN) of the IAM role used by the connector to access the
|
|
1154
|
+
* <p>The Amazon Resource Name (ARN) of the IAM role used by the connector to access the
|
|
1155
|
+
* Amazon Web Services resources that it needs. The types of resources depends on the logic of
|
|
1156
|
+
* the connector. For example, a connector that has Amazon S3 as a destination must have
|
|
1157
|
+
* permissions that allow it to write to the S3 destination bucket.</p>
|
|
1116
1158
|
*/
|
|
1117
1159
|
serviceExecutionRoleArn: string | undefined;
|
|
1118
1160
|
/**
|
|
@@ -1147,7 +1189,8 @@ export declare namespace CreateConnectorResponse {
|
|
|
1147
1189
|
const filterSensitiveLog: (obj: CreateConnectorResponse) => any;
|
|
1148
1190
|
}
|
|
1149
1191
|
/**
|
|
1150
|
-
* <p>HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your
|
|
1192
|
+
* <p>HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your
|
|
1193
|
+
* request.</p>
|
|
1151
1194
|
*/
|
|
1152
1195
|
export declare class ForbiddenException extends __BaseException {
|
|
1153
1196
|
readonly name: "ForbiddenException";
|
|
@@ -1158,7 +1201,8 @@ export declare class ForbiddenException extends __BaseException {
|
|
|
1158
1201
|
constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
|
|
1159
1202
|
}
|
|
1160
1203
|
/**
|
|
1161
|
-
* <p>HTTP Status Code 500: Unexpected internal server error. Retrying your request might
|
|
1204
|
+
* <p>HTTP Status Code 500: Unexpected internal server error. Retrying your request might
|
|
1205
|
+
* resolve the issue.</p>
|
|
1162
1206
|
*/
|
|
1163
1207
|
export declare class InternalServerErrorException extends __BaseException {
|
|
1164
1208
|
readonly name: "InternalServerErrorException";
|
|
@@ -1169,7 +1213,8 @@ export declare class InternalServerErrorException extends __BaseException {
|
|
|
1169
1213
|
constructor(opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>);
|
|
1170
1214
|
}
|
|
1171
1215
|
/**
|
|
1172
|
-
* <p>HTTP Status Code 404: Resource not found due to incorrect input. Correct your request
|
|
1216
|
+
* <p>HTTP Status Code 404: Resource not found due to incorrect input. Correct your request
|
|
1217
|
+
* and then retry it.</p>
|
|
1173
1218
|
*/
|
|
1174
1219
|
export declare class NotFoundException extends __BaseException {
|
|
1175
1220
|
readonly name: "NotFoundException";
|
|
@@ -1180,7 +1225,8 @@ export declare class NotFoundException extends __BaseException {
|
|
|
1180
1225
|
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
1181
1226
|
}
|
|
1182
1227
|
/**
|
|
1183
|
-
* <p>HTTP Status Code 503: Service Unavailable. Retrying your request in some time might
|
|
1228
|
+
* <p>HTTP Status Code 503: Service Unavailable. Retrying your request in some time might
|
|
1229
|
+
* resolve the issue.</p>
|
|
1184
1230
|
*/
|
|
1185
1231
|
export declare class ServiceUnavailableException extends __BaseException {
|
|
1186
1232
|
readonly name: "ServiceUnavailableException";
|
|
@@ -1202,7 +1248,8 @@ export declare class TooManyRequestsException extends __BaseException {
|
|
|
1202
1248
|
constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
|
|
1203
1249
|
}
|
|
1204
1250
|
/**
|
|
1205
|
-
* <p>HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be
|
|
1251
|
+
* <p>HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be
|
|
1252
|
+
* validated.</p>
|
|
1206
1253
|
*/
|
|
1207
1254
|
export declare class UnauthorizedException extends __BaseException {
|
|
1208
1255
|
readonly name: "UnauthorizedException";
|
|
@@ -1240,7 +1287,8 @@ export declare namespace S3Location {
|
|
|
1240
1287
|
*/
|
|
1241
1288
|
export interface CustomPluginLocation {
|
|
1242
1289
|
/**
|
|
1243
|
-
* <p>The S3 bucket Amazon Resource Name (ARN), file key, and object version of the plugin
|
|
1290
|
+
* <p>The S3 bucket Amazon Resource Name (ARN), file key, and object version of the plugin
|
|
1291
|
+
* file stored in Amazon S3.</p>
|
|
1244
1292
|
*/
|
|
1245
1293
|
s3Location: S3Location | undefined;
|
|
1246
1294
|
}
|
|
@@ -1374,6 +1422,34 @@ export declare namespace DeleteConnectorResponse {
|
|
|
1374
1422
|
*/
|
|
1375
1423
|
const filterSensitiveLog: (obj: DeleteConnectorResponse) => any;
|
|
1376
1424
|
}
|
|
1425
|
+
export interface DeleteCustomPluginRequest {
|
|
1426
|
+
/**
|
|
1427
|
+
* <p>The Amazon Resource Name (ARN) of the custom plugin that you want to delete.</p>
|
|
1428
|
+
*/
|
|
1429
|
+
customPluginArn: string | undefined;
|
|
1430
|
+
}
|
|
1431
|
+
export declare namespace DeleteCustomPluginRequest {
|
|
1432
|
+
/**
|
|
1433
|
+
* @internal
|
|
1434
|
+
*/
|
|
1435
|
+
const filterSensitiveLog: (obj: DeleteCustomPluginRequest) => any;
|
|
1436
|
+
}
|
|
1437
|
+
export interface DeleteCustomPluginResponse {
|
|
1438
|
+
/**
|
|
1439
|
+
* <p>The Amazon Resource Name (ARN) of the custom plugin that you requested to delete.</p>
|
|
1440
|
+
*/
|
|
1441
|
+
customPluginArn?: string;
|
|
1442
|
+
/**
|
|
1443
|
+
* <p>The state of the custom plugin.</p>
|
|
1444
|
+
*/
|
|
1445
|
+
customPluginState?: CustomPluginState | string;
|
|
1446
|
+
}
|
|
1447
|
+
export declare namespace DeleteCustomPluginResponse {
|
|
1448
|
+
/**
|
|
1449
|
+
* @internal
|
|
1450
|
+
*/
|
|
1451
|
+
const filterSensitiveLog: (obj: DeleteCustomPluginResponse) => any;
|
|
1452
|
+
}
|
|
1377
1453
|
export interface DescribeConnectorRequest {
|
|
1378
1454
|
/**
|
|
1379
1455
|
* <p>The Amazon Resource Name (ARN) of the connector that you want to describe.</p>
|
|
@@ -1386,9 +1462,29 @@ export declare namespace DescribeConnectorRequest {
|
|
|
1386
1462
|
*/
|
|
1387
1463
|
const filterSensitiveLog: (obj: DescribeConnectorRequest) => any;
|
|
1388
1464
|
}
|
|
1465
|
+
/**
|
|
1466
|
+
* <p>Details about the state of a resource.</p>
|
|
1467
|
+
*/
|
|
1468
|
+
export interface StateDescription {
|
|
1469
|
+
/**
|
|
1470
|
+
* <p>A code that describes the state of a resource.</p>
|
|
1471
|
+
*/
|
|
1472
|
+
code?: string;
|
|
1473
|
+
/**
|
|
1474
|
+
* <p>A message that describes the state of a resource.</p>
|
|
1475
|
+
*/
|
|
1476
|
+
message?: string;
|
|
1477
|
+
}
|
|
1478
|
+
export declare namespace StateDescription {
|
|
1479
|
+
/**
|
|
1480
|
+
* @internal
|
|
1481
|
+
*/
|
|
1482
|
+
const filterSensitiveLog: (obj: StateDescription) => any;
|
|
1483
|
+
}
|
|
1389
1484
|
export interface DescribeConnectorResponse {
|
|
1390
1485
|
/**
|
|
1391
|
-
* <p>Information about the capacity of the connector, whether it is auto scaled or
|
|
1486
|
+
* <p>Information about the capacity of the connector, whether it is auto scaled or
|
|
1487
|
+
* provisioned.</p>
|
|
1392
1488
|
*/
|
|
1393
1489
|
capacity?: CapacityDescription;
|
|
1394
1490
|
/**
|
|
@@ -1426,7 +1522,8 @@ export interface DescribeConnectorResponse {
|
|
|
1426
1522
|
*/
|
|
1427
1523
|
kafkaCluster?: KafkaClusterDescription;
|
|
1428
1524
|
/**
|
|
1429
|
-
* <p>The type of client authentication used to connect to the Apache Kafka cluster. The value
|
|
1525
|
+
* <p>The type of client authentication used to connect to the Apache Kafka cluster. The value
|
|
1526
|
+
* is NONE when no client authentication is used.</p>
|
|
1430
1527
|
*/
|
|
1431
1528
|
kafkaClusterClientAuthentication?: KafkaClusterClientAuthenticationDescription;
|
|
1432
1529
|
/**
|
|
@@ -1434,7 +1531,8 @@ export interface DescribeConnectorResponse {
|
|
|
1434
1531
|
*/
|
|
1435
1532
|
kafkaClusterEncryptionInTransit?: KafkaClusterEncryptionInTransitDescription;
|
|
1436
1533
|
/**
|
|
1437
|
-
* <p>The version of Kafka Connect. It has to be compatible with both the Apache Kafka
|
|
1534
|
+
* <p>The version of Kafka Connect. It has to be compatible with both the Apache Kafka
|
|
1535
|
+
* cluster's version and the plugins.</p>
|
|
1438
1536
|
*/
|
|
1439
1537
|
kafkaConnectVersion?: string;
|
|
1440
1538
|
/**
|
|
@@ -1446,13 +1544,18 @@ export interface DescribeConnectorResponse {
|
|
|
1446
1544
|
*/
|
|
1447
1545
|
plugins?: PluginDescription[];
|
|
1448
1546
|
/**
|
|
1449
|
-
* <p>The Amazon Resource Name (ARN) of the IAM role used by the connector to access Amazon
|
|
1547
|
+
* <p>The Amazon Resource Name (ARN) of the IAM role used by the connector to access Amazon
|
|
1548
|
+
* Web Services resources.</p>
|
|
1450
1549
|
*/
|
|
1451
1550
|
serviceExecutionRoleArn?: string;
|
|
1452
1551
|
/**
|
|
1453
1552
|
* <p>Specifies which worker configuration was used for the connector.</p>
|
|
1454
1553
|
*/
|
|
1455
1554
|
workerConfiguration?: WorkerConfigurationDescription;
|
|
1555
|
+
/**
|
|
1556
|
+
* <p>Details about the state of a connector.</p>
|
|
1557
|
+
*/
|
|
1558
|
+
stateDescription?: StateDescription;
|
|
1456
1559
|
}
|
|
1457
1560
|
export declare namespace DescribeConnectorResponse {
|
|
1458
1561
|
/**
|
|
@@ -1490,13 +1593,18 @@ export interface DescribeCustomPluginResponse {
|
|
|
1490
1593
|
*/
|
|
1491
1594
|
description?: string;
|
|
1492
1595
|
/**
|
|
1493
|
-
* <p>The latest successfully created revision of the custom plugin. If there are no
|
|
1596
|
+
* <p>The latest successfully created revision of the custom plugin. If there are no
|
|
1597
|
+
* successfully created revisions, this field will be absent.</p>
|
|
1494
1598
|
*/
|
|
1495
1599
|
latestRevision?: CustomPluginRevisionSummary;
|
|
1496
1600
|
/**
|
|
1497
1601
|
* <p>The name of the custom plugin.</p>
|
|
1498
1602
|
*/
|
|
1499
1603
|
name?: string;
|
|
1604
|
+
/**
|
|
1605
|
+
* <p>Details about the state of a custom plugin.</p>
|
|
1606
|
+
*/
|
|
1607
|
+
stateDescription?: StateDescription;
|
|
1500
1608
|
}
|
|
1501
1609
|
export declare namespace DescribeCustomPluginResponse {
|
|
1502
1610
|
/**
|
|
@@ -1506,7 +1614,8 @@ export declare namespace DescribeCustomPluginResponse {
|
|
|
1506
1614
|
}
|
|
1507
1615
|
export interface DescribeWorkerConfigurationRequest {
|
|
1508
1616
|
/**
|
|
1509
|
-
* <p>The Amazon Resource Name (ARN) of the worker configuration that you want to get
|
|
1617
|
+
* <p>The Amazon Resource Name (ARN) of the worker configuration that you want to get
|
|
1618
|
+
* information about.</p>
|
|
1510
1619
|
*/
|
|
1511
1620
|
workerConfigurationArn: string | undefined;
|
|
1512
1621
|
}
|
|
@@ -1581,7 +1690,9 @@ export interface ListConnectorsRequest {
|
|
|
1581
1690
|
*/
|
|
1582
1691
|
maxResults?: number;
|
|
1583
1692
|
/**
|
|
1584
|
-
* <p>If the response of a ListConnectors operation is truncated, it will include a NextToken.
|
|
1693
|
+
* <p>If the response of a ListConnectors operation is truncated, it will include a NextToken.
|
|
1694
|
+
* Send this NextToken in a subsequent request to continue listing from where the previous
|
|
1695
|
+
* operation left off.</p>
|
|
1585
1696
|
*/
|
|
1586
1697
|
nextToken?: string;
|
|
1587
1698
|
}
|
|
@@ -1597,7 +1708,9 @@ export interface ListConnectorsResponse {
|
|
|
1597
1708
|
*/
|
|
1598
1709
|
connectors?: ConnectorSummary[];
|
|
1599
1710
|
/**
|
|
1600
|
-
* <p>If the response of a ListConnectors operation is truncated, it will include a NextToken.
|
|
1711
|
+
* <p>If the response of a ListConnectors operation is truncated, it will include a NextToken.
|
|
1712
|
+
* Send this NextToken in a subsequent request to continue listing from where it left
|
|
1713
|
+
* off.</p>
|
|
1601
1714
|
*/
|
|
1602
1715
|
nextToken?: string;
|
|
1603
1716
|
}
|
|
@@ -1613,7 +1726,9 @@ export interface ListCustomPluginsRequest {
|
|
|
1613
1726
|
*/
|
|
1614
1727
|
maxResults?: number;
|
|
1615
1728
|
/**
|
|
1616
|
-
* <p>If the response of a ListCustomPlugins operation is truncated, it will include a
|
|
1729
|
+
* <p>If the response of a ListCustomPlugins operation is truncated, it will include a
|
|
1730
|
+
* NextToken. Send this NextToken in a subsequent request to continue listing from where the
|
|
1731
|
+
* previous operation left off.</p>
|
|
1617
1732
|
*/
|
|
1618
1733
|
nextToken?: string;
|
|
1619
1734
|
}
|
|
@@ -1629,7 +1744,9 @@ export interface ListCustomPluginsResponse {
|
|
|
1629
1744
|
*/
|
|
1630
1745
|
customPlugins?: CustomPluginSummary[];
|
|
1631
1746
|
/**
|
|
1632
|
-
* <p>If the response of a ListCustomPlugins operation is truncated, it will include a
|
|
1747
|
+
* <p>If the response of a ListCustomPlugins operation is truncated, it will include a
|
|
1748
|
+
* NextToken. Send this NextToken in a subsequent request to continue listing from where the
|
|
1749
|
+
* previous operation left off.</p>
|
|
1633
1750
|
*/
|
|
1634
1751
|
nextToken?: string;
|
|
1635
1752
|
}
|
|
@@ -1645,7 +1762,9 @@ export interface ListWorkerConfigurationsRequest {
|
|
|
1645
1762
|
*/
|
|
1646
1763
|
maxResults?: number;
|
|
1647
1764
|
/**
|
|
1648
|
-
* <p>If the response of a ListWorkerConfigurations operation is truncated, it will include a
|
|
1765
|
+
* <p>If the response of a ListWorkerConfigurations operation is truncated, it will include a
|
|
1766
|
+
* NextToken. Send this NextToken in a subsequent request to continue listing from where the
|
|
1767
|
+
* previous operation left off.</p>
|
|
1649
1768
|
*/
|
|
1650
1769
|
nextToken?: string;
|
|
1651
1770
|
}
|
|
@@ -1657,7 +1776,9 @@ export declare namespace ListWorkerConfigurationsRequest {
|
|
|
1657
1776
|
}
|
|
1658
1777
|
export interface ListWorkerConfigurationsResponse {
|
|
1659
1778
|
/**
|
|
1660
|
-
* <p>If the response of a ListWorkerConfigurations operation is truncated, it will include a
|
|
1779
|
+
* <p>If the response of a ListWorkerConfigurations operation is truncated, it will include a
|
|
1780
|
+
* NextToken. Send this NextToken in a subsequent request to continue listing from where the
|
|
1781
|
+
* previous operation left off.</p>
|
|
1661
1782
|
*/
|
|
1662
1783
|
nextToken?: string;
|
|
1663
1784
|
/**
|
|
@@ -4,6 +4,7 @@ import { CreateConnectorCommandInput, CreateConnectorCommandOutput } from "../co
|
|
|
4
4
|
import { CreateCustomPluginCommandInput, CreateCustomPluginCommandOutput } from "../commands/CreateCustomPluginCommand";
|
|
5
5
|
import { CreateWorkerConfigurationCommandInput, CreateWorkerConfigurationCommandOutput } from "../commands/CreateWorkerConfigurationCommand";
|
|
6
6
|
import { DeleteConnectorCommandInput, DeleteConnectorCommandOutput } from "../commands/DeleteConnectorCommand";
|
|
7
|
+
import { DeleteCustomPluginCommandInput, DeleteCustomPluginCommandOutput } from "../commands/DeleteCustomPluginCommand";
|
|
7
8
|
import { DescribeConnectorCommandInput, DescribeConnectorCommandOutput } from "../commands/DescribeConnectorCommand";
|
|
8
9
|
import { DescribeCustomPluginCommandInput, DescribeCustomPluginCommandOutput } from "../commands/DescribeCustomPluginCommand";
|
|
9
10
|
import { DescribeWorkerConfigurationCommandInput, DescribeWorkerConfigurationCommandOutput } from "../commands/DescribeWorkerConfigurationCommand";
|
|
@@ -15,6 +16,7 @@ export declare const serializeAws_restJson1CreateConnectorCommand: (input: Creat
|
|
|
15
16
|
export declare const serializeAws_restJson1CreateCustomPluginCommand: (input: CreateCustomPluginCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
16
17
|
export declare const serializeAws_restJson1CreateWorkerConfigurationCommand: (input: CreateWorkerConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
17
18
|
export declare const serializeAws_restJson1DeleteConnectorCommand: (input: DeleteConnectorCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
19
|
+
export declare const serializeAws_restJson1DeleteCustomPluginCommand: (input: DeleteCustomPluginCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
18
20
|
export declare const serializeAws_restJson1DescribeConnectorCommand: (input: DescribeConnectorCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
19
21
|
export declare const serializeAws_restJson1DescribeCustomPluginCommand: (input: DescribeCustomPluginCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
20
22
|
export declare const serializeAws_restJson1DescribeWorkerConfigurationCommand: (input: DescribeWorkerConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -26,6 +28,7 @@ export declare const deserializeAws_restJson1CreateConnectorCommand: (output: __
|
|
|
26
28
|
export declare const deserializeAws_restJson1CreateCustomPluginCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateCustomPluginCommandOutput>;
|
|
27
29
|
export declare const deserializeAws_restJson1CreateWorkerConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateWorkerConfigurationCommandOutput>;
|
|
28
30
|
export declare const deserializeAws_restJson1DeleteConnectorCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteConnectorCommandOutput>;
|
|
31
|
+
export declare const deserializeAws_restJson1DeleteCustomPluginCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteCustomPluginCommandOutput>;
|
|
29
32
|
export declare const deserializeAws_restJson1DescribeConnectorCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeConnectorCommandOutput>;
|
|
30
33
|
export declare const deserializeAws_restJson1DescribeCustomPluginCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeCustomPluginCommandOutput>;
|
|
31
34
|
export declare const deserializeAws_restJson1DescribeWorkerConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeWorkerConfigurationCommandOutput>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: KafkaConnectClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|