@aws-sdk/client-kafkaconnect 3.51.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.
Files changed (39) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist-cjs/KafkaConnect.js +15 -0
  3. package/dist-cjs/commands/DeleteCustomPluginCommand.js +36 -0
  4. package/dist-cjs/commands/index.js +1 -0
  5. package/dist-cjs/index.js +3 -0
  6. package/dist-cjs/models/KafkaConnectServiceException.js +11 -0
  7. package/dist-cjs/models/models_0.js +133 -2
  8. package/dist-cjs/protocols/Aws_restJson1.js +283 -651
  9. package/dist-es/KafkaConnect.js +15 -0
  10. package/dist-es/commands/DeleteCustomPluginCommand.js +39 -0
  11. package/dist-es/commands/index.js +1 -0
  12. package/dist-es/index.js +1 -0
  13. package/dist-es/models/KafkaConnectServiceException.js +12 -0
  14. package/dist-es/models/models_0.js +118 -6
  15. package/dist-es/protocols/Aws_restJson1.js +466 -704
  16. package/dist-types/KafkaConnect.d.ts +10 -1
  17. package/dist-types/KafkaConnectClient.d.ts +5 -4
  18. package/dist-types/commands/DeleteCustomPluginCommand.d.ts +35 -0
  19. package/dist-types/commands/ListConnectorsCommand.d.ts +3 -1
  20. package/dist-types/commands/index.d.ts +1 -0
  21. package/dist-types/index.d.ts +1 -0
  22. package/dist-types/models/KafkaConnectServiceException.d.ts +10 -0
  23. package/dist-types/models/models_0.d.ts +237 -91
  24. package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
  25. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  26. package/dist-types/runtimeConfig.d.ts +1 -1
  27. package/dist-types/runtimeConfig.native.d.ts +1 -1
  28. package/dist-types/ts3.4/KafkaConnect.d.ts +5 -0
  29. package/dist-types/ts3.4/KafkaConnectClient.d.ts +5 -4
  30. package/dist-types/ts3.4/commands/DeleteCustomPluginCommand.d.ts +17 -0
  31. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  32. package/dist-types/ts3.4/index.d.ts +1 -0
  33. package/dist-types/ts3.4/models/KafkaConnectServiceException.d.ts +6 -0
  34. package/dist-types/ts3.4/models/models_0.d.ts +75 -33
  35. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +3 -0
  36. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  37. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  38. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  39. package/package.json +33 -33
@@ -1,10 +1,12 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { KafkaConnectServiceException as __BaseException } from "./KafkaConnectServiceException";
2
3
  /**
3
4
  * <p>The description of the scale-in policy for the connector.</p>
4
5
  */
5
6
  export interface ScaleInPolicyDescription {
6
7
  /**
7
- * <p>Specifies the CPU utilization percentage threshold at which you want connector scale in to be triggered.</p>
8
+ * <p>Specifies the CPU utilization percentage threshold at which you want connector scale in
9
+ * to be triggered.</p>
8
10
  */
9
11
  cpuUtilizationPercentage?: number;
10
12
  }
@@ -19,7 +21,8 @@ export declare namespace ScaleInPolicyDescription {
19
21
  */
20
22
  export interface ScaleOutPolicyDescription {
21
23
  /**
22
- * <p>The CPU utilization percentage threshold at which you want connector scale out to be triggered.</p>
24
+ * <p>The CPU utilization percentage threshold at which you want connector scale out to be
25
+ * triggered.</p>
23
26
  */
24
27
  cpuUtilizationPercentage?: number;
25
28
  }
@@ -38,7 +41,8 @@ export interface AutoScalingDescription {
38
41
  */
39
42
  maxWorkerCount?: number;
40
43
  /**
41
- * <p>The number of microcontroller units (MCUs) allocated to each connector worker. The valid values are 1,2,4,8.</p>
44
+ * <p>The number of microcontroller units (MCUs) allocated to each connector worker. The valid
45
+ * values are 1,2,4,8.</p>
42
46
  */
43
47
  mcuCount?: number;
44
48
  /**
@@ -65,7 +69,8 @@ export declare namespace AutoScalingDescription {
65
69
  */
66
70
  export interface ProvisionedCapacityDescription {
67
71
  /**
68
- * <p>The number of microcontroller units (MCUs) allocated to each connector worker. The valid values are 1,2,4,8.</p>
72
+ * <p>The number of microcontroller units (MCUs) allocated to each connector worker. The valid
73
+ * values are 1,2,4,8.</p>
69
74
  */
70
75
  mcuCount?: number;
71
76
  /**
@@ -133,7 +138,8 @@ export interface ApacheKafkaClusterDescription {
133
138
  */
134
139
  bootstrapServers?: string;
135
140
  /**
136
- * <p>Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster.</p>
141
+ * <p>Details of an Amazon VPC which has network connectivity to the Apache Kafka
142
+ * cluster.</p>
137
143
  */
138
144
  vpc?: VpcDescription;
139
145
  }
@@ -163,11 +169,13 @@ export declare enum KafkaClusterClientAuthenticationType {
163
169
  NONE = "NONE"
164
170
  }
165
171
  /**
166
- * <p>The client authentication information used in order to authenticate with the Apache Kafka cluster.</p>
172
+ * <p>The client authentication information used in order to authenticate with the Apache
173
+ * Kafka cluster.</p>
167
174
  */
168
175
  export interface KafkaClusterClientAuthenticationDescription {
169
176
  /**
170
- * <p>The type of client authentication used to connect to the Apache Kafka cluster. Value NONE means that no client authentication is used.</p>
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>
171
179
  */
172
180
  authenticationType?: KafkaClusterClientAuthenticationType | string;
173
181
  }
@@ -216,11 +224,13 @@ export declare namespace CloudWatchLogsLogDeliveryDescription {
216
224
  const filterSensitiveLog: (obj: CloudWatchLogsLogDeliveryDescription) => any;
217
225
  }
218
226
  /**
219
- * <p>A description of the settings for delivering logs to Amazon Kinesis Data Firehose.</p>
227
+ * <p>A description of the settings for delivering logs to Amazon Kinesis Data
228
+ * Firehose.</p>
220
229
  */
221
230
  export interface FirehoseLogDeliveryDescription {
222
231
  /**
223
- * <p>The name of the Kinesis Data Firehose delivery stream that is the destination for log delivery.</p>
232
+ * <p>The name of the Kinesis Data Firehose delivery stream that is the destination for log
233
+ * delivery.</p>
224
234
  */
225
235
  deliveryStream?: string;
226
236
  /**
@@ -258,7 +268,8 @@ export declare namespace S3LogDeliveryDescription {
258
268
  const filterSensitiveLog: (obj: S3LogDeliveryDescription) => any;
259
269
  }
260
270
  /**
261
- * <p>Workers can send worker logs to different destination types. This configuration specifies the details of these destinations.</p>
271
+ * <p>Workers can send worker logs to different destination types. This configuration
272
+ * specifies the details of these destinations.</p>
262
273
  */
263
274
  export interface WorkerLogDeliveryDescription {
264
275
  /**
@@ -285,7 +296,8 @@ export declare namespace WorkerLogDeliveryDescription {
285
296
  */
286
297
  export interface LogDeliveryDescription {
287
298
  /**
288
- * <p>The workers can send worker logs to different destination types. This configuration specifies the details of these destinations.</p>
299
+ * <p>The workers can send worker logs to different destination types. This configuration
300
+ * specifies the details of these destinations.</p>
289
301
  */
290
302
  workerLogDelivery?: WorkerLogDeliveryDescription;
291
303
  }
@@ -385,7 +397,8 @@ export interface ConnectorSummary {
385
397
  */
386
398
  kafkaCluster?: KafkaClusterDescription;
387
399
  /**
388
- * <p>The type of client authentication used to connect to the Apache Kafka cluster. The value is NONE when no client authentication is used.</p>
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>
389
402
  */
390
403
  kafkaClusterClientAuthentication?: KafkaClusterClientAuthenticationDescription;
391
404
  /**
@@ -393,7 +406,8 @@ export interface ConnectorSummary {
393
406
  */
394
407
  kafkaClusterEncryptionInTransit?: KafkaClusterEncryptionInTransitDescription;
395
408
  /**
396
- * <p>The version of Kafka Connect. It has to be compatible with both the Apache Kafka cluster's version and the plugins.</p>
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>
397
411
  */
398
412
  kafkaConnectVersion?: string;
399
413
  /**
@@ -405,7 +419,8 @@ export interface ConnectorSummary {
405
419
  */
406
420
  plugins?: PluginDescription[];
407
421
  /**
408
- * <p>The Amazon Resource Name (ARN) of the IAM role used by the connector to access Amazon Web Services resources.</p>
422
+ * <p>The Amazon Resource Name (ARN) of the IAM role used by the connector to access Amazon
423
+ * Web Services resources.</p>
409
424
  */
410
425
  serviceExecutionRoleArn?: string;
411
426
  /**
@@ -436,7 +451,8 @@ export declare enum CustomPluginContentType {
436
451
  */
437
452
  export interface CustomPluginFileDescription {
438
453
  /**
439
- * <p>The hex-encoded MD5 checksum of the custom plugin file. You can use it to validate the file.</p>
454
+ * <p>The hex-encoded MD5 checksum of the custom plugin file. You can use it to validate the
455
+ * file.</p>
440
456
  */
441
457
  fileMd5?: string;
442
458
  /**
@@ -478,7 +494,8 @@ export declare namespace S3LocationDescription {
478
494
  */
479
495
  export interface CustomPluginLocationDescription {
480
496
  /**
481
- * <p>The S3 bucket Amazon Resource Name (ARN), file key, and object version of the plugin file stored in Amazon S3.</p>
497
+ * <p>The S3 bucket Amazon Resource Name (ARN), file key, and object version of the plugin
498
+ * file stored in Amazon S3.</p>
482
499
  */
483
500
  s3Location?: S3LocationDescription;
484
501
  }
@@ -559,7 +576,8 @@ export declare namespace CustomPluginSummary {
559
576
  const filterSensitiveLog: (obj: CustomPluginSummary) => any;
560
577
  }
561
578
  /**
562
- * <p>A plugin is an AWS resource that contains the code that defines a connector's logic.</p>
579
+ * <p>A plugin is an AWS resource that contains the code that defines a connector's
580
+ * logic.</p>
563
581
  */
564
582
  export interface CustomPlugin {
565
583
  /**
@@ -578,7 +596,8 @@ export declare namespace CustomPlugin {
578
596
  const filterSensitiveLog: (obj: CustomPlugin) => any;
579
597
  }
580
598
  /**
581
- * <p>A plugin is an AWS resource that contains the code that defines your connector logic. </p>
599
+ * <p>A plugin is an AWS resource that contains the code that defines your connector logic.
600
+ * </p>
582
601
  */
583
602
  export interface Plugin {
584
603
  /**
@@ -674,7 +693,8 @@ export interface ApacheKafkaCluster {
674
693
  */
675
694
  bootstrapServers: string | undefined;
676
695
  /**
677
- * <p>Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster.</p>
696
+ * <p>Details of an Amazon VPC which has network connectivity to the Apache Kafka
697
+ * cluster.</p>
678
698
  */
679
699
  vpc: Vpc | undefined;
680
700
  }
@@ -689,7 +709,8 @@ export declare namespace ApacheKafkaCluster {
689
709
  */
690
710
  export interface ScaleInPolicy {
691
711
  /**
692
- * <p>Specifies the CPU utilization percentage threshold at which you want connector scale in to be triggered.</p>
712
+ * <p>Specifies the CPU utilization percentage threshold at which you want connector scale in
713
+ * to be triggered.</p>
693
714
  */
694
715
  cpuUtilizationPercentage: number | undefined;
695
716
  }
@@ -704,7 +725,8 @@ export declare namespace ScaleInPolicy {
704
725
  */
705
726
  export interface ScaleOutPolicy {
706
727
  /**
707
- * <p>The CPU utilization percentage threshold at which you want connector scale out to be triggered.</p>
728
+ * <p>The CPU utilization percentage threshold at which you want connector scale out to be
729
+ * triggered.</p>
708
730
  */
709
731
  cpuUtilizationPercentage: number | undefined;
710
732
  }
@@ -723,7 +745,8 @@ export interface AutoScaling {
723
745
  */
724
746
  maxWorkerCount: number | undefined;
725
747
  /**
726
- * <p>The number of microcontroller units (MCUs) allocated to each connector worker. The valid values are 1,2,4,8.</p>
748
+ * <p>The number of microcontroller units (MCUs) allocated to each connector worker. The valid
749
+ * values are 1,2,4,8.</p>
727
750
  */
728
751
  mcuCount: number | undefined;
729
752
  /**
@@ -750,7 +773,8 @@ export declare namespace AutoScaling {
750
773
  */
751
774
  export interface ScaleInPolicyUpdate {
752
775
  /**
753
- * <p>The target CPU utilization percentage threshold at which you want connector scale in to be triggered.</p>
776
+ * <p>The target CPU utilization percentage threshold at which you want connector scale in to
777
+ * be triggered.</p>
754
778
  */
755
779
  cpuUtilizationPercentage: number | undefined;
756
780
  }
@@ -765,7 +789,8 @@ export declare namespace ScaleInPolicyUpdate {
765
789
  */
766
790
  export interface ScaleOutPolicyUpdate {
767
791
  /**
768
- * <p>The target CPU utilization percentage threshold at which you want connector scale out to be triggered.</p>
792
+ * <p>The target CPU utilization percentage threshold at which you want connector scale out to
793
+ * be triggered.</p>
769
794
  */
770
795
  cpuUtilizationPercentage: number | undefined;
771
796
  }
@@ -784,7 +809,8 @@ export interface AutoScalingUpdate {
784
809
  */
785
810
  maxWorkerCount: number | undefined;
786
811
  /**
787
- * <p>The target number of microcontroller units (MCUs) allocated to each connector worker. The valid values are 1,2,4,8.</p>
812
+ * <p>The target number of microcontroller units (MCUs) allocated to each connector worker.
813
+ * The valid values are 1,2,4,8.</p>
788
814
  */
789
815
  mcuCount: number | undefined;
790
816
  /**
@@ -807,19 +833,24 @@ export declare namespace AutoScalingUpdate {
807
833
  const filterSensitiveLog: (obj: AutoScalingUpdate) => any;
808
834
  }
809
835
  /**
810
- * <p>HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.</p>
836
+ * <p>HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then
837
+ * retry it.</p>
811
838
  */
812
- export interface BadRequestException extends __SmithyException, $MetadataBearer {
813
- name: "BadRequestException";
814
- $fault: "client";
815
- message?: string;
839
+ export declare class BadRequestException extends __BaseException {
840
+ readonly name: "BadRequestException";
841
+ readonly $fault: "client";
842
+ /**
843
+ * @internal
844
+ */
845
+ constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
816
846
  }
817
847
  /**
818
848
  * <p>Details about a connector's provisioned capacity.</p>
819
849
  */
820
850
  export interface ProvisionedCapacity {
821
851
  /**
822
- * <p>The number of microcontroller units (MCUs) allocated to each connector worker. The valid values are 1,2,4,8.</p>
852
+ * <p>The number of microcontroller units (MCUs) allocated to each connector worker. The valid
853
+ * values are 1,2,4,8.</p>
823
854
  */
824
855
  mcuCount: number | undefined;
825
856
  /**
@@ -834,7 +865,8 @@ export declare namespace ProvisionedCapacity {
834
865
  const filterSensitiveLog: (obj: ProvisionedCapacity) => any;
835
866
  }
836
867
  /**
837
- * <p>Information about the capacity of the connector, whether it is auto scaled or provisioned.</p>
868
+ * <p>Information about the capacity of the connector, whether it is auto scaled or
869
+ * provisioned.</p>
838
870
  */
839
871
  export interface Capacity {
840
872
  /**
@@ -857,7 +889,8 @@ export declare namespace Capacity {
857
889
  */
858
890
  export interface ProvisionedCapacityUpdate {
859
891
  /**
860
- * <p>The number of microcontroller units (MCUs) allocated to each connector worker. The valid values are 1,2,4,8.</p>
892
+ * <p>The number of microcontroller units (MCUs) allocated to each connector worker. The valid
893
+ * values are 1,2,4,8.</p>
861
894
  */
862
895
  mcuCount: number | undefined;
863
896
  /**
@@ -872,7 +905,8 @@ export declare namespace ProvisionedCapacityUpdate {
872
905
  const filterSensitiveLog: (obj: ProvisionedCapacityUpdate) => any;
873
906
  }
874
907
  /**
875
- * <p>The target capacity for the connector. The capacity can be auto scaled or provisioned.</p>
908
+ * <p>The target capacity for the connector. The capacity can be auto scaled or
909
+ * provisioned.</p>
876
910
  */
877
911
  export interface CapacityUpdate {
878
912
  /**
@@ -910,12 +944,16 @@ export declare namespace CloudWatchLogsLogDelivery {
910
944
  const filterSensitiveLog: (obj: CloudWatchLogsLogDelivery) => any;
911
945
  }
912
946
  /**
913
- * <p>HTTP Status Code 409: Conflict. A resource with this name already exists. Retry your request with another name.</p>
947
+ * <p>HTTP Status Code 409: Conflict. A resource with this name already exists. Retry your
948
+ * request with another name.</p>
914
949
  */
915
- export interface ConflictException extends __SmithyException, $MetadataBearer {
916
- name: "ConflictException";
917
- $fault: "client";
918
- message?: string;
950
+ export declare class ConflictException extends __BaseException {
951
+ readonly name: "ConflictException";
952
+ readonly $fault: "client";
953
+ /**
954
+ * @internal
955
+ */
956
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
919
957
  }
920
958
  /**
921
959
  * <p>The details of the Apache Kafka cluster to which the connector is connected.</p>
@@ -933,11 +971,13 @@ export declare namespace KafkaCluster {
933
971
  const filterSensitiveLog: (obj: KafkaCluster) => any;
934
972
  }
935
973
  /**
936
- * <p>The client authentication information used in order to authenticate with the Apache Kafka cluster.</p>
974
+ * <p>The client authentication information used in order to authenticate with the Apache
975
+ * Kafka cluster.</p>
937
976
  */
938
977
  export interface KafkaClusterClientAuthentication {
939
978
  /**
940
- * <p>The type of client authentication used to connect to the Apache Kafka cluster. Value NONE means that no client authentication is used.</p>
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>
941
981
  */
942
982
  authenticationType: KafkaClusterClientAuthenticationType | string | undefined;
943
983
  }
@@ -967,7 +1007,8 @@ export declare namespace KafkaClusterEncryptionInTransit {
967
1007
  */
968
1008
  export interface FirehoseLogDelivery {
969
1009
  /**
970
- * <p>The name of the Kinesis Data Firehose delivery stream that is the destination for log delivery.</p>
1010
+ * <p>The name of the Kinesis Data Firehose delivery stream that is the destination for log
1011
+ * delivery.</p>
971
1012
  */
972
1013
  deliveryStream?: string;
973
1014
  /**
@@ -1005,7 +1046,8 @@ export declare namespace S3LogDelivery {
1005
1046
  const filterSensitiveLog: (obj: S3LogDelivery) => any;
1006
1047
  }
1007
1048
  /**
1008
- * <p>Workers can send worker logs to different destination types. This configuration specifies the details of these destinations.</p>
1049
+ * <p>Workers can send worker logs to different destination types. This configuration
1050
+ * specifies the details of these destinations.</p>
1009
1051
  */
1010
1052
  export interface WorkerLogDelivery {
1011
1053
  /**
@@ -1032,7 +1074,8 @@ export declare namespace WorkerLogDelivery {
1032
1074
  */
1033
1075
  export interface LogDelivery {
1034
1076
  /**
1035
- * <p>The workers can send worker logs to different destination types. This configuration specifies the details of these destinations.</p>
1077
+ * <p>The workers can send worker logs to different destination types. This configuration
1078
+ * specifies the details of these destinations.</p>
1036
1079
  */
1037
1080
  workerLogDelivery: WorkerLogDelivery | undefined;
1038
1081
  }
@@ -1043,7 +1086,8 @@ export declare namespace LogDelivery {
1043
1086
  const filterSensitiveLog: (obj: LogDelivery) => any;
1044
1087
  }
1045
1088
  /**
1046
- * <p>The configuration of the workers, which are the processes that run the connector logic.</p>
1089
+ * <p>The configuration of the workers, which are the processes that run the connector
1090
+ * logic.</p>
1047
1091
  */
1048
1092
  export interface WorkerConfiguration {
1049
1093
  /**
@@ -1063,7 +1107,8 @@ export declare namespace WorkerConfiguration {
1063
1107
  }
1064
1108
  export interface CreateConnectorRequest {
1065
1109
  /**
1066
- * <p>Information about the capacity allocated to the connector. Exactly one of the two properties must be specified.</p>
1110
+ * <p>Information about the capacity allocated to the connector. Exactly one of the two
1111
+ * properties must be specified.</p>
1067
1112
  */
1068
1113
  capacity: Capacity | undefined;
1069
1114
  /**
@@ -1093,7 +1138,8 @@ export interface CreateConnectorRequest {
1093
1138
  */
1094
1139
  kafkaClusterEncryptionInTransit: KafkaClusterEncryptionInTransit | undefined;
1095
1140
  /**
1096
- * <p>The version of Kafka Connect. It has to be compatible with both the Apache Kafka cluster's version and the plugins.</p>
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>
1097
1143
  */
1098
1144
  kafkaConnectVersion: string | undefined;
1099
1145
  /**
@@ -1105,7 +1151,10 @@ export interface CreateConnectorRequest {
1105
1151
  */
1106
1152
  plugins: Plugin[] | undefined;
1107
1153
  /**
1108
- * <p>The Amazon Resource Name (ARN) of the IAM role used by the connector to access the Amazon Web Services resources that it needs. The types of resources depends on the logic of the connector. For example, a connector that has Amazon S3 as a destination must have permissions that allow it to write to the S3 destination bucket.</p>
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>
1109
1158
  */
1110
1159
  serviceExecutionRoleArn: string | undefined;
1111
1160
  /**
@@ -1140,52 +1189,75 @@ export declare namespace CreateConnectorResponse {
1140
1189
  const filterSensitiveLog: (obj: CreateConnectorResponse) => any;
1141
1190
  }
1142
1191
  /**
1143
- * <p>HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.</p>
1192
+ * <p>HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your
1193
+ * request.</p>
1144
1194
  */
1145
- export interface ForbiddenException extends __SmithyException, $MetadataBearer {
1146
- name: "ForbiddenException";
1147
- $fault: "client";
1148
- message?: string;
1195
+ export declare class ForbiddenException extends __BaseException {
1196
+ readonly name: "ForbiddenException";
1197
+ readonly $fault: "client";
1198
+ /**
1199
+ * @internal
1200
+ */
1201
+ constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
1149
1202
  }
1150
1203
  /**
1151
- * <p>HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.</p>
1204
+ * <p>HTTP Status Code 500: Unexpected internal server error. Retrying your request might
1205
+ * resolve the issue.</p>
1152
1206
  */
1153
- export interface InternalServerErrorException extends __SmithyException, $MetadataBearer {
1154
- name: "InternalServerErrorException";
1155
- $fault: "server";
1156
- message?: string;
1207
+ export declare class InternalServerErrorException extends __BaseException {
1208
+ readonly name: "InternalServerErrorException";
1209
+ readonly $fault: "server";
1210
+ /**
1211
+ * @internal
1212
+ */
1213
+ constructor(opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>);
1157
1214
  }
1158
1215
  /**
1159
- * <p>HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.</p>
1216
+ * <p>HTTP Status Code 404: Resource not found due to incorrect input. Correct your request
1217
+ * and then retry it.</p>
1160
1218
  */
1161
- export interface NotFoundException extends __SmithyException, $MetadataBearer {
1162
- name: "NotFoundException";
1163
- $fault: "client";
1164
- message?: string;
1219
+ export declare class NotFoundException extends __BaseException {
1220
+ readonly name: "NotFoundException";
1221
+ readonly $fault: "client";
1222
+ /**
1223
+ * @internal
1224
+ */
1225
+ constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
1165
1226
  }
1166
1227
  /**
1167
- * <p>HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue.</p>
1228
+ * <p>HTTP Status Code 503: Service Unavailable. Retrying your request in some time might
1229
+ * resolve the issue.</p>
1168
1230
  */
1169
- export interface ServiceUnavailableException extends __SmithyException, $MetadataBearer {
1170
- name: "ServiceUnavailableException";
1171
- $fault: "server";
1172
- message?: string;
1231
+ export declare class ServiceUnavailableException extends __BaseException {
1232
+ readonly name: "ServiceUnavailableException";
1233
+ readonly $fault: "server";
1234
+ /**
1235
+ * @internal
1236
+ */
1237
+ constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
1173
1238
  }
1174
1239
  /**
1175
1240
  * <p>HTTP Status Code 429: Limit exceeded. Resource limit reached.</p>
1176
1241
  */
1177
- export interface TooManyRequestsException extends __SmithyException, $MetadataBearer {
1178
- name: "TooManyRequestsException";
1179
- $fault: "client";
1180
- message?: string;
1242
+ export declare class TooManyRequestsException extends __BaseException {
1243
+ readonly name: "TooManyRequestsException";
1244
+ readonly $fault: "client";
1245
+ /**
1246
+ * @internal
1247
+ */
1248
+ constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
1181
1249
  }
1182
1250
  /**
1183
- * <p>HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated.</p>
1251
+ * <p>HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be
1252
+ * validated.</p>
1184
1253
  */
1185
- export interface UnauthorizedException extends __SmithyException, $MetadataBearer {
1186
- name: "UnauthorizedException";
1187
- $fault: "client";
1188
- message?: string;
1254
+ export declare class UnauthorizedException extends __BaseException {
1255
+ readonly name: "UnauthorizedException";
1256
+ readonly $fault: "client";
1257
+ /**
1258
+ * @internal
1259
+ */
1260
+ constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
1189
1261
  }
1190
1262
  /**
1191
1263
  * <p>The location of an object in Amazon S3.</p>
@@ -1215,7 +1287,8 @@ export declare namespace S3Location {
1215
1287
  */
1216
1288
  export interface CustomPluginLocation {
1217
1289
  /**
1218
- * <p>The S3 bucket Amazon Resource Name (ARN), file key, and object version of the plugin file stored in Amazon S3.</p>
1290
+ * <p>The S3 bucket Amazon Resource Name (ARN), file key, and object version of the plugin
1291
+ * file stored in Amazon S3.</p>
1219
1292
  */
1220
1293
  s3Location: S3Location | undefined;
1221
1294
  }
@@ -1349,6 +1422,34 @@ export declare namespace DeleteConnectorResponse {
1349
1422
  */
1350
1423
  const filterSensitiveLog: (obj: DeleteConnectorResponse) => any;
1351
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
+ }
1352
1453
  export interface DescribeConnectorRequest {
1353
1454
  /**
1354
1455
  * <p>The Amazon Resource Name (ARN) of the connector that you want to describe.</p>
@@ -1361,9 +1462,29 @@ export declare namespace DescribeConnectorRequest {
1361
1462
  */
1362
1463
  const filterSensitiveLog: (obj: DescribeConnectorRequest) => any;
1363
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
+ }
1364
1484
  export interface DescribeConnectorResponse {
1365
1485
  /**
1366
- * <p>Information about the capacity of the connector, whether it is auto scaled or provisioned.</p>
1486
+ * <p>Information about the capacity of the connector, whether it is auto scaled or
1487
+ * provisioned.</p>
1367
1488
  */
1368
1489
  capacity?: CapacityDescription;
1369
1490
  /**
@@ -1401,7 +1522,8 @@ export interface DescribeConnectorResponse {
1401
1522
  */
1402
1523
  kafkaCluster?: KafkaClusterDescription;
1403
1524
  /**
1404
- * <p>The type of client authentication used to connect to the Apache Kafka cluster. The value is NONE when no client authentication is used.</p>
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>
1405
1527
  */
1406
1528
  kafkaClusterClientAuthentication?: KafkaClusterClientAuthenticationDescription;
1407
1529
  /**
@@ -1409,7 +1531,8 @@ export interface DescribeConnectorResponse {
1409
1531
  */
1410
1532
  kafkaClusterEncryptionInTransit?: KafkaClusterEncryptionInTransitDescription;
1411
1533
  /**
1412
- * <p>The version of Kafka Connect. It has to be compatible with both the Apache Kafka cluster's version and the plugins.</p>
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>
1413
1536
  */
1414
1537
  kafkaConnectVersion?: string;
1415
1538
  /**
@@ -1421,13 +1544,18 @@ export interface DescribeConnectorResponse {
1421
1544
  */
1422
1545
  plugins?: PluginDescription[];
1423
1546
  /**
1424
- * <p>The Amazon Resource Name (ARN) of the IAM role used by the connector to access Amazon Web Services resources.</p>
1547
+ * <p>The Amazon Resource Name (ARN) of the IAM role used by the connector to access Amazon
1548
+ * Web Services resources.</p>
1425
1549
  */
1426
1550
  serviceExecutionRoleArn?: string;
1427
1551
  /**
1428
1552
  * <p>Specifies which worker configuration was used for the connector.</p>
1429
1553
  */
1430
1554
  workerConfiguration?: WorkerConfigurationDescription;
1555
+ /**
1556
+ * <p>Details about the state of a connector.</p>
1557
+ */
1558
+ stateDescription?: StateDescription;
1431
1559
  }
1432
1560
  export declare namespace DescribeConnectorResponse {
1433
1561
  /**
@@ -1465,13 +1593,18 @@ export interface DescribeCustomPluginResponse {
1465
1593
  */
1466
1594
  description?: string;
1467
1595
  /**
1468
- * <p>The latest successfully created revision of the custom plugin. If there are no successfully created revisions, this field will be absent.</p>
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>
1469
1598
  */
1470
1599
  latestRevision?: CustomPluginRevisionSummary;
1471
1600
  /**
1472
1601
  * <p>The name of the custom plugin.</p>
1473
1602
  */
1474
1603
  name?: string;
1604
+ /**
1605
+ * <p>Details about the state of a custom plugin.</p>
1606
+ */
1607
+ stateDescription?: StateDescription;
1475
1608
  }
1476
1609
  export declare namespace DescribeCustomPluginResponse {
1477
1610
  /**
@@ -1481,7 +1614,8 @@ export declare namespace DescribeCustomPluginResponse {
1481
1614
  }
1482
1615
  export interface DescribeWorkerConfigurationRequest {
1483
1616
  /**
1484
- * <p>The Amazon Resource Name (ARN) of the worker configuration that you want to get information about.</p>
1617
+ * <p>The Amazon Resource Name (ARN) of the worker configuration that you want to get
1618
+ * information about.</p>
1485
1619
  */
1486
1620
  workerConfigurationArn: string | undefined;
1487
1621
  }
@@ -1556,7 +1690,9 @@ export interface ListConnectorsRequest {
1556
1690
  */
1557
1691
  maxResults?: number;
1558
1692
  /**
1559
- * <p>If the response of a ListConnectors operation is truncated, it will include a NextToken. Send this NextToken in a subsequent request to continue listing from where the previous operation left off.</p>
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>
1560
1696
  */
1561
1697
  nextToken?: string;
1562
1698
  }
@@ -1572,7 +1708,9 @@ export interface ListConnectorsResponse {
1572
1708
  */
1573
1709
  connectors?: ConnectorSummary[];
1574
1710
  /**
1575
- * <p>If the response of a ListConnectors operation is truncated, it will include a NextToken. Send this NextToken in a subsequent request to continue listing from where it left off.</p>
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>
1576
1714
  */
1577
1715
  nextToken?: string;
1578
1716
  }
@@ -1588,7 +1726,9 @@ export interface ListCustomPluginsRequest {
1588
1726
  */
1589
1727
  maxResults?: number;
1590
1728
  /**
1591
- * <p>If the response of a ListCustomPlugins operation is truncated, it will include a NextToken. Send this NextToken in a subsequent request to continue listing from where the previous operation left off.</p>
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>
1592
1732
  */
1593
1733
  nextToken?: string;
1594
1734
  }
@@ -1604,7 +1744,9 @@ export interface ListCustomPluginsResponse {
1604
1744
  */
1605
1745
  customPlugins?: CustomPluginSummary[];
1606
1746
  /**
1607
- * <p>If the response of a ListCustomPlugins operation is truncated, it will include a NextToken. Send this NextToken in a subsequent request to continue listing from where the previous operation left off.</p>
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>
1608
1750
  */
1609
1751
  nextToken?: string;
1610
1752
  }
@@ -1620,7 +1762,9 @@ export interface ListWorkerConfigurationsRequest {
1620
1762
  */
1621
1763
  maxResults?: number;
1622
1764
  /**
1623
- * <p>If the response of a ListWorkerConfigurations operation is truncated, it will include a NextToken. Send this NextToken in a subsequent request to continue listing from where the previous operation left off.</p>
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>
1624
1768
  */
1625
1769
  nextToken?: string;
1626
1770
  }
@@ -1632,7 +1776,9 @@ export declare namespace ListWorkerConfigurationsRequest {
1632
1776
  }
1633
1777
  export interface ListWorkerConfigurationsResponse {
1634
1778
  /**
1635
- * <p>If the response of a ListWorkerConfigurations operation is truncated, it will include a NextToken. Send this NextToken in a subsequent request to continue listing from where the previous operation left off.</p>
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>
1636
1782
  */
1637
1783
  nextToken?: string;
1638
1784
  /**