@aws-sdk/client-kafkaconnect 3.726.1 → 3.727.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 (33) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +174 -3
  3. package/dist-es/KafkaConnect.js +4 -0
  4. package/dist-es/commands/DescribeConnectorOperationCommand.js +23 -0
  5. package/dist-es/commands/ListConnectorOperationsCommand.js +22 -0
  6. package/dist-es/commands/UpdateConnectorCommand.js +2 -1
  7. package/dist-es/commands/index.js +2 -0
  8. package/dist-es/models/models_0.js +38 -0
  9. package/dist-es/pagination/ListConnectorOperationsPaginator.js +4 -0
  10. package/dist-es/pagination/index.js +1 -0
  11. package/dist-es/protocols/Aws_restJson1.js +81 -0
  12. package/dist-types/KafkaConnect.d.ts +14 -0
  13. package/dist-types/KafkaConnectClient.d.ts +4 -2
  14. package/dist-types/commands/CreateConnectorCommand.d.ts +1 -1
  15. package/dist-types/commands/DescribeConnectorCommand.d.ts +1 -1
  16. package/dist-types/commands/DescribeConnectorOperationCommand.d.ts +157 -0
  17. package/dist-types/commands/ListConnectorOperationsCommand.d.ts +109 -0
  18. package/dist-types/commands/UpdateConnectorCommand.d.ts +4 -0
  19. package/dist-types/commands/index.d.ts +2 -0
  20. package/dist-types/models/models_0.d.ts +248 -1
  21. package/dist-types/pagination/ListConnectorOperationsPaginator.d.ts +7 -0
  22. package/dist-types/pagination/index.d.ts +1 -0
  23. package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
  24. package/dist-types/ts3.4/KafkaConnect.d.ts +34 -0
  25. package/dist-types/ts3.4/KafkaConnectClient.d.ts +12 -0
  26. package/dist-types/ts3.4/commands/DescribeConnectorOperationCommand.d.ts +51 -0
  27. package/dist-types/ts3.4/commands/ListConnectorOperationsCommand.d.ts +51 -0
  28. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  29. package/dist-types/ts3.4/models/models_0.d.ts +86 -1
  30. package/dist-types/ts3.4/pagination/ListConnectorOperationsPaginator.d.ts +11 -0
  31. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  32. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
  33. package/package.json +1 -1
@@ -100,6 +100,15 @@ export const se_DescribeConnectorCommand = async (input, context) => {
100
100
  b.m("GET").h(headers).b(body);
101
101
  return b.build();
102
102
  };
103
+ export const se_DescribeConnectorOperationCommand = async (input, context) => {
104
+ const b = rb(input, context);
105
+ const headers = {};
106
+ b.bp("/v1/connectorOperations/{connectorOperationArn}");
107
+ b.p("connectorOperationArn", () => input.connectorOperationArn, "{connectorOperationArn}", false);
108
+ let body;
109
+ b.m("GET").h(headers).b(body);
110
+ return b.build();
111
+ };
103
112
  export const se_DescribeCustomPluginCommand = async (input, context) => {
104
113
  const b = rb(input, context);
105
114
  const headers = {};
@@ -118,6 +127,19 @@ export const se_DescribeWorkerConfigurationCommand = async (input, context) => {
118
127
  b.m("GET").h(headers).b(body);
119
128
  return b.build();
120
129
  };
130
+ export const se_ListConnectorOperationsCommand = async (input, context) => {
131
+ const b = rb(input, context);
132
+ const headers = {};
133
+ b.bp("/v1/connectors/{connectorArn}/operations");
134
+ b.p("connectorArn", () => input.connectorArn, "{connectorArn}", false);
135
+ const query = map({
136
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
137
+ [_nT]: [, input[_nT]],
138
+ });
139
+ let body;
140
+ b.m("GET").h(headers).q(query).b(body);
141
+ return b.build();
142
+ };
121
143
  export const se_ListConnectorsCommand = async (input, context) => {
122
144
  const b = rb(input, context);
123
145
  const headers = {};
@@ -205,6 +227,7 @@ export const se_UpdateConnectorCommand = async (input, context) => {
205
227
  let body;
206
228
  body = JSON.stringify(take(input, {
207
229
  capacity: (_) => _json(_),
230
+ connectorConfiguration: (_) => _json(_),
208
231
  }));
209
232
  b.m("PUT").h(headers).q(query).b(body);
210
233
  return b.build();
@@ -335,6 +358,31 @@ export const de_DescribeConnectorCommand = async (output, context) => {
335
358
  Object.assign(contents, doc);
336
359
  return contents;
337
360
  };
361
+ export const de_DescribeConnectorOperationCommand = async (output, context) => {
362
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
363
+ return de_CommandError(output, context);
364
+ }
365
+ const contents = map({
366
+ $metadata: deserializeMetadata(output),
367
+ });
368
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
369
+ const doc = take(data, {
370
+ connectorArn: __expectString,
371
+ connectorOperationArn: __expectString,
372
+ connectorOperationState: __expectString,
373
+ connectorOperationType: __expectString,
374
+ creationTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
375
+ endTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
376
+ errorInfo: _json,
377
+ operationSteps: _json,
378
+ originConnectorConfiguration: _json,
379
+ originWorkerSetting: _json,
380
+ targetConnectorConfiguration: _json,
381
+ targetWorkerSetting: _json,
382
+ });
383
+ Object.assign(contents, doc);
384
+ return contents;
385
+ };
338
386
  export const de_DescribeCustomPluginCommand = async (output, context) => {
339
387
  if (output.statusCode !== 200 && output.statusCode >= 300) {
340
388
  return de_CommandError(output, context);
@@ -374,6 +422,21 @@ export const de_DescribeWorkerConfigurationCommand = async (output, context) =>
374
422
  Object.assign(contents, doc);
375
423
  return contents;
376
424
  };
425
+ export const de_ListConnectorOperationsCommand = async (output, context) => {
426
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
427
+ return de_CommandError(output, context);
428
+ }
429
+ const contents = map({
430
+ $metadata: deserializeMetadata(output),
431
+ });
432
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
433
+ const doc = take(data, {
434
+ connectorOperations: (_) => de___listOfConnectorOperationSummary(_, context),
435
+ nextToken: __expectString,
436
+ });
437
+ Object.assign(contents, doc);
438
+ return contents;
439
+ };
377
440
  export const de_ListConnectorsCommand = async (output, context) => {
378
441
  if (output.statusCode !== 200 && output.statusCode >= 300) {
379
442
  return de_CommandError(output, context);
@@ -463,6 +526,7 @@ export const de_UpdateConnectorCommand = async (output, context) => {
463
526
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
464
527
  const doc = take(data, {
465
528
  connectorArn: __expectString,
529
+ connectorOperationArn: __expectString,
466
530
  connectorState: __expectString,
467
531
  });
468
532
  Object.assign(contents, doc);
@@ -613,6 +677,14 @@ const de_UnauthorizedExceptionRes = async (parsedOutput, context) => {
613
677
  });
614
678
  return __decorateServiceException(exception, parsedOutput.body);
615
679
  };
680
+ const de___listOfConnectorOperationSummary = (output, context) => {
681
+ const retVal = (output || [])
682
+ .filter((e) => e != null)
683
+ .map((entry) => {
684
+ return de_ConnectorOperationSummary(entry, context);
685
+ });
686
+ return retVal;
687
+ };
616
688
  const de___listOfConnectorSummary = (output, context) => {
617
689
  const retVal = (output || [])
618
690
  .filter((e) => e != null)
@@ -637,6 +709,15 @@ const de___listOfWorkerConfigurationSummary = (output, context) => {
637
709
  });
638
710
  return retVal;
639
711
  };
712
+ const de_ConnectorOperationSummary = (output, context) => {
713
+ return take(output, {
714
+ connectorOperationArn: __expectString,
715
+ connectorOperationState: __expectString,
716
+ connectorOperationType: __expectString,
717
+ creationTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
718
+ endTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
719
+ });
720
+ };
640
721
  const de_ConnectorSummary = (output, context) => {
641
722
  return take(output, {
642
723
  capacity: _json,
@@ -6,8 +6,10 @@ import { DeleteConnectorCommandInput, DeleteConnectorCommandOutput } from "./com
6
6
  import { DeleteCustomPluginCommandInput, DeleteCustomPluginCommandOutput } from "./commands/DeleteCustomPluginCommand";
7
7
  import { DeleteWorkerConfigurationCommandInput, DeleteWorkerConfigurationCommandOutput } from "./commands/DeleteWorkerConfigurationCommand";
8
8
  import { DescribeConnectorCommandInput, DescribeConnectorCommandOutput } from "./commands/DescribeConnectorCommand";
9
+ import { DescribeConnectorOperationCommandInput, DescribeConnectorOperationCommandOutput } from "./commands/DescribeConnectorOperationCommand";
9
10
  import { DescribeCustomPluginCommandInput, DescribeCustomPluginCommandOutput } from "./commands/DescribeCustomPluginCommand";
10
11
  import { DescribeWorkerConfigurationCommandInput, DescribeWorkerConfigurationCommandOutput } from "./commands/DescribeWorkerConfigurationCommand";
12
+ import { ListConnectorOperationsCommandInput, ListConnectorOperationsCommandOutput } from "./commands/ListConnectorOperationsCommand";
11
13
  import { ListConnectorsCommandInput, ListConnectorsCommandOutput } from "./commands/ListConnectorsCommand";
12
14
  import { ListCustomPluginsCommandInput, ListCustomPluginsCommandOutput } from "./commands/ListCustomPluginsCommand";
13
15
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
@@ -59,6 +61,12 @@ export interface KafkaConnect {
59
61
  describeConnector(args: DescribeConnectorCommandInput, options?: __HttpHandlerOptions): Promise<DescribeConnectorCommandOutput>;
60
62
  describeConnector(args: DescribeConnectorCommandInput, cb: (err: any, data?: DescribeConnectorCommandOutput) => void): void;
61
63
  describeConnector(args: DescribeConnectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeConnectorCommandOutput) => void): void;
64
+ /**
65
+ * @see {@link DescribeConnectorOperationCommand}
66
+ */
67
+ describeConnectorOperation(args: DescribeConnectorOperationCommandInput, options?: __HttpHandlerOptions): Promise<DescribeConnectorOperationCommandOutput>;
68
+ describeConnectorOperation(args: DescribeConnectorOperationCommandInput, cb: (err: any, data?: DescribeConnectorOperationCommandOutput) => void): void;
69
+ describeConnectorOperation(args: DescribeConnectorOperationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeConnectorOperationCommandOutput) => void): void;
62
70
  /**
63
71
  * @see {@link DescribeCustomPluginCommand}
64
72
  */
@@ -71,6 +79,12 @@ export interface KafkaConnect {
71
79
  describeWorkerConfiguration(args: DescribeWorkerConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DescribeWorkerConfigurationCommandOutput>;
72
80
  describeWorkerConfiguration(args: DescribeWorkerConfigurationCommandInput, cb: (err: any, data?: DescribeWorkerConfigurationCommandOutput) => void): void;
73
81
  describeWorkerConfiguration(args: DescribeWorkerConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeWorkerConfigurationCommandOutput) => void): void;
82
+ /**
83
+ * @see {@link ListConnectorOperationsCommand}
84
+ */
85
+ listConnectorOperations(args: ListConnectorOperationsCommandInput, options?: __HttpHandlerOptions): Promise<ListConnectorOperationsCommandOutput>;
86
+ listConnectorOperations(args: ListConnectorOperationsCommandInput, cb: (err: any, data?: ListConnectorOperationsCommandOutput) => void): void;
87
+ listConnectorOperations(args: ListConnectorOperationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListConnectorOperationsCommandOutput) => void): void;
74
88
  /**
75
89
  * @see {@link ListConnectorsCommand}
76
90
  */
@@ -14,8 +14,10 @@ import { DeleteConnectorCommandInput, DeleteConnectorCommandOutput } from "./com
14
14
  import { DeleteCustomPluginCommandInput, DeleteCustomPluginCommandOutput } from "./commands/DeleteCustomPluginCommand";
15
15
  import { DeleteWorkerConfigurationCommandInput, DeleteWorkerConfigurationCommandOutput } from "./commands/DeleteWorkerConfigurationCommand";
16
16
  import { DescribeConnectorCommandInput, DescribeConnectorCommandOutput } from "./commands/DescribeConnectorCommand";
17
+ import { DescribeConnectorOperationCommandInput, DescribeConnectorOperationCommandOutput } from "./commands/DescribeConnectorOperationCommand";
17
18
  import { DescribeCustomPluginCommandInput, DescribeCustomPluginCommandOutput } from "./commands/DescribeCustomPluginCommand";
18
19
  import { DescribeWorkerConfigurationCommandInput, DescribeWorkerConfigurationCommandOutput } from "./commands/DescribeWorkerConfigurationCommand";
20
+ import { ListConnectorOperationsCommandInput, ListConnectorOperationsCommandOutput } from "./commands/ListConnectorOperationsCommand";
19
21
  import { ListConnectorsCommandInput, ListConnectorsCommandOutput } from "./commands/ListConnectorsCommand";
20
22
  import { ListCustomPluginsCommandInput, ListCustomPluginsCommandOutput } from "./commands/ListCustomPluginsCommand";
21
23
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
@@ -29,11 +31,11 @@ export { __Client };
29
31
  /**
30
32
  * @public
31
33
  */
32
- export type ServiceInputTypes = CreateConnectorCommandInput | CreateCustomPluginCommandInput | CreateWorkerConfigurationCommandInput | DeleteConnectorCommandInput | DeleteCustomPluginCommandInput | DeleteWorkerConfigurationCommandInput | DescribeConnectorCommandInput | DescribeCustomPluginCommandInput | DescribeWorkerConfigurationCommandInput | ListConnectorsCommandInput | ListCustomPluginsCommandInput | ListTagsForResourceCommandInput | ListWorkerConfigurationsCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateConnectorCommandInput;
34
+ export type ServiceInputTypes = CreateConnectorCommandInput | CreateCustomPluginCommandInput | CreateWorkerConfigurationCommandInput | DeleteConnectorCommandInput | DeleteCustomPluginCommandInput | DeleteWorkerConfigurationCommandInput | DescribeConnectorCommandInput | DescribeConnectorOperationCommandInput | DescribeCustomPluginCommandInput | DescribeWorkerConfigurationCommandInput | ListConnectorOperationsCommandInput | ListConnectorsCommandInput | ListCustomPluginsCommandInput | ListTagsForResourceCommandInput | ListWorkerConfigurationsCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateConnectorCommandInput;
33
35
  /**
34
36
  * @public
35
37
  */
36
- export type ServiceOutputTypes = CreateConnectorCommandOutput | CreateCustomPluginCommandOutput | CreateWorkerConfigurationCommandOutput | DeleteConnectorCommandOutput | DeleteCustomPluginCommandOutput | DeleteWorkerConfigurationCommandOutput | DescribeConnectorCommandOutput | DescribeCustomPluginCommandOutput | DescribeWorkerConfigurationCommandOutput | ListConnectorsCommandOutput | ListCustomPluginsCommandOutput | ListTagsForResourceCommandOutput | ListWorkerConfigurationsCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateConnectorCommandOutput;
38
+ export type ServiceOutputTypes = CreateConnectorCommandOutput | CreateCustomPluginCommandOutput | CreateWorkerConfigurationCommandOutput | DeleteConnectorCommandOutput | DeleteCustomPluginCommandOutput | DeleteWorkerConfigurationCommandOutput | DescribeConnectorCommandOutput | DescribeConnectorOperationCommandOutput | DescribeCustomPluginCommandOutput | DescribeWorkerConfigurationCommandOutput | ListConnectorOperationsCommandOutput | ListConnectorsCommandOutput | ListCustomPluginsCommandOutput | ListTagsForResourceCommandOutput | ListWorkerConfigurationsCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateConnectorCommandOutput;
37
39
  /**
38
40
  * @public
39
41
  */
@@ -52,7 +52,7 @@ declare const CreateConnectorCommand_base: {
52
52
  * workerCount: Number("int"), // required
53
53
  * },
54
54
  * },
55
- * connectorConfiguration: { // __sensitive__mapOf__string // required
55
+ * connectorConfiguration: { // ConnectorConfiguration // required
56
56
  * "<keys>": "STRING_VALUE",
57
57
  * },
58
58
  * connectorDescription: "STRING_VALUE",
@@ -58,7 +58,7 @@ declare const DescribeConnectorCommand_base: {
58
58
  * // },
59
59
  * // },
60
60
  * // connectorArn: "STRING_VALUE",
61
- * // connectorConfiguration: { // __sensitive__mapOf__string
61
+ * // connectorConfiguration: { // ConnectorConfiguration
62
62
  * // "<keys>": "STRING_VALUE",
63
63
  * // },
64
64
  * // connectorDescription: "STRING_VALUE",
@@ -0,0 +1,157 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { KafkaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KafkaConnectClient";
4
+ import { DescribeConnectorOperationRequest, DescribeConnectorOperationResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DescribeConnectorOperationCommand}.
14
+ */
15
+ export interface DescribeConnectorOperationCommandInput extends DescribeConnectorOperationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DescribeConnectorOperationCommand}.
21
+ */
22
+ export interface DescribeConnectorOperationCommandOutput extends DescribeConnectorOperationResponse, __MetadataBearer {
23
+ }
24
+ declare const DescribeConnectorOperationCommand_base: {
25
+ new (input: DescribeConnectorOperationCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeConnectorOperationCommandInput, DescribeConnectorOperationCommandOutput, KafkaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: DescribeConnectorOperationCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeConnectorOperationCommandInput, DescribeConnectorOperationCommandOutput, KafkaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Returns information about the specified connector's operations.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { KafkaConnectClient, DescribeConnectorOperationCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
35
+ * // const { KafkaConnectClient, DescribeConnectorOperationCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
36
+ * const client = new KafkaConnectClient(config);
37
+ * const input = { // DescribeConnectorOperationRequest
38
+ * connectorOperationArn: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new DescribeConnectorOperationCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // DescribeConnectorOperationResponse
43
+ * // connectorArn: "STRING_VALUE",
44
+ * // connectorOperationArn: "STRING_VALUE",
45
+ * // connectorOperationState: "STRING_VALUE",
46
+ * // connectorOperationType: "STRING_VALUE",
47
+ * // operationSteps: [ // __listOfConnectorOperationStep
48
+ * // { // ConnectorOperationStep
49
+ * // stepType: "STRING_VALUE",
50
+ * // stepState: "STRING_VALUE",
51
+ * // },
52
+ * // ],
53
+ * // originWorkerSetting: { // WorkerSetting
54
+ * // capacity: { // CapacityDescription
55
+ * // autoScaling: { // AutoScalingDescription
56
+ * // maxWorkerCount: Number("int"),
57
+ * // mcuCount: Number("int"),
58
+ * // minWorkerCount: Number("int"),
59
+ * // scaleInPolicy: { // ScaleInPolicyDescription
60
+ * // cpuUtilizationPercentage: Number("int"),
61
+ * // },
62
+ * // scaleOutPolicy: { // ScaleOutPolicyDescription
63
+ * // cpuUtilizationPercentage: Number("int"),
64
+ * // },
65
+ * // },
66
+ * // provisionedCapacity: { // ProvisionedCapacityDescription
67
+ * // mcuCount: Number("int"),
68
+ * // workerCount: Number("int"),
69
+ * // },
70
+ * // },
71
+ * // },
72
+ * // originConnectorConfiguration: { // ConnectorConfiguration
73
+ * // "<keys>": "STRING_VALUE",
74
+ * // },
75
+ * // targetWorkerSetting: {
76
+ * // capacity: {
77
+ * // autoScaling: {
78
+ * // maxWorkerCount: Number("int"),
79
+ * // mcuCount: Number("int"),
80
+ * // minWorkerCount: Number("int"),
81
+ * // scaleInPolicy: {
82
+ * // cpuUtilizationPercentage: Number("int"),
83
+ * // },
84
+ * // scaleOutPolicy: {
85
+ * // cpuUtilizationPercentage: Number("int"),
86
+ * // },
87
+ * // },
88
+ * // provisionedCapacity: {
89
+ * // mcuCount: Number("int"),
90
+ * // workerCount: Number("int"),
91
+ * // },
92
+ * // },
93
+ * // },
94
+ * // targetConnectorConfiguration: {
95
+ * // "<keys>": "STRING_VALUE",
96
+ * // },
97
+ * // errorInfo: { // StateDescription
98
+ * // code: "STRING_VALUE",
99
+ * // message: "STRING_VALUE",
100
+ * // },
101
+ * // creationTime: new Date("TIMESTAMP"),
102
+ * // endTime: new Date("TIMESTAMP"),
103
+ * // };
104
+ *
105
+ * ```
106
+ *
107
+ * @param DescribeConnectorOperationCommandInput - {@link DescribeConnectorOperationCommandInput}
108
+ * @returns {@link DescribeConnectorOperationCommandOutput}
109
+ * @see {@link DescribeConnectorOperationCommandInput} for command's `input` shape.
110
+ * @see {@link DescribeConnectorOperationCommandOutput} for command's `response` shape.
111
+ * @see {@link KafkaConnectClientResolvedConfig | config} for KafkaConnectClient's `config` shape.
112
+ *
113
+ * @throws {@link BadRequestException} (client fault)
114
+ * <p>HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then
115
+ * retry it.</p>
116
+ *
117
+ * @throws {@link ForbiddenException} (client fault)
118
+ * <p>HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your
119
+ * request.</p>
120
+ *
121
+ * @throws {@link InternalServerErrorException} (server fault)
122
+ * <p>HTTP Status Code 500: Unexpected internal server error. Retrying your request might
123
+ * resolve the issue.</p>
124
+ *
125
+ * @throws {@link NotFoundException} (client fault)
126
+ * <p>HTTP Status Code 404: Resource not found due to incorrect input. Correct your request
127
+ * and then retry it.</p>
128
+ *
129
+ * @throws {@link ServiceUnavailableException} (server fault)
130
+ * <p>HTTP Status Code 503: Service Unavailable. Retrying your request in some time might
131
+ * resolve the issue.</p>
132
+ *
133
+ * @throws {@link TooManyRequestsException} (client fault)
134
+ * <p>HTTP Status Code 429: Limit exceeded. Resource limit reached.</p>
135
+ *
136
+ * @throws {@link UnauthorizedException} (client fault)
137
+ * <p>HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be
138
+ * validated.</p>
139
+ *
140
+ * @throws {@link KafkaConnectServiceException}
141
+ * <p>Base exception class for all service exceptions from KafkaConnect service.</p>
142
+ *
143
+ * @public
144
+ */
145
+ export declare class DescribeConnectorOperationCommand extends DescribeConnectorOperationCommand_base {
146
+ /** @internal type navigation helper, not in runtime. */
147
+ protected static __types: {
148
+ api: {
149
+ input: DescribeConnectorOperationRequest;
150
+ output: DescribeConnectorOperationResponse;
151
+ };
152
+ sdk: {
153
+ input: DescribeConnectorOperationCommandInput;
154
+ output: DescribeConnectorOperationCommandOutput;
155
+ };
156
+ };
157
+ }
@@ -0,0 +1,109 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { KafkaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KafkaConnectClient";
4
+ import { ListConnectorOperationsRequest, ListConnectorOperationsResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListConnectorOperationsCommand}.
14
+ */
15
+ export interface ListConnectorOperationsCommandInput extends ListConnectorOperationsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListConnectorOperationsCommand}.
21
+ */
22
+ export interface ListConnectorOperationsCommandOutput extends ListConnectorOperationsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListConnectorOperationsCommand_base: {
25
+ new (input: ListConnectorOperationsCommandInput): import("@smithy/smithy-client").CommandImpl<ListConnectorOperationsCommandInput, ListConnectorOperationsCommandOutput, KafkaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ListConnectorOperationsCommandInput): import("@smithy/smithy-client").CommandImpl<ListConnectorOperationsCommandInput, ListConnectorOperationsCommandOutput, KafkaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Lists information about a connector's operation(s).</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { KafkaConnectClient, ListConnectorOperationsCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
35
+ * // const { KafkaConnectClient, ListConnectorOperationsCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
36
+ * const client = new KafkaConnectClient(config);
37
+ * const input = { // ListConnectorOperationsRequest
38
+ * connectorArn: "STRING_VALUE", // required
39
+ * maxResults: Number("int"),
40
+ * nextToken: "STRING_VALUE",
41
+ * };
42
+ * const command = new ListConnectorOperationsCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // ListConnectorOperationsResponse
45
+ * // connectorOperations: [ // __listOfConnectorOperationSummary
46
+ * // { // ConnectorOperationSummary
47
+ * // connectorOperationArn: "STRING_VALUE",
48
+ * // connectorOperationType: "STRING_VALUE",
49
+ * // connectorOperationState: "STRING_VALUE",
50
+ * // creationTime: new Date("TIMESTAMP"),
51
+ * // endTime: new Date("TIMESTAMP"),
52
+ * // },
53
+ * // ],
54
+ * // nextToken: "STRING_VALUE",
55
+ * // };
56
+ *
57
+ * ```
58
+ *
59
+ * @param ListConnectorOperationsCommandInput - {@link ListConnectorOperationsCommandInput}
60
+ * @returns {@link ListConnectorOperationsCommandOutput}
61
+ * @see {@link ListConnectorOperationsCommandInput} for command's `input` shape.
62
+ * @see {@link ListConnectorOperationsCommandOutput} for command's `response` shape.
63
+ * @see {@link KafkaConnectClientResolvedConfig | config} for KafkaConnectClient's `config` shape.
64
+ *
65
+ * @throws {@link BadRequestException} (client fault)
66
+ * <p>HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then
67
+ * retry it.</p>
68
+ *
69
+ * @throws {@link ForbiddenException} (client fault)
70
+ * <p>HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your
71
+ * request.</p>
72
+ *
73
+ * @throws {@link InternalServerErrorException} (server fault)
74
+ * <p>HTTP Status Code 500: Unexpected internal server error. Retrying your request might
75
+ * resolve the issue.</p>
76
+ *
77
+ * @throws {@link NotFoundException} (client fault)
78
+ * <p>HTTP Status Code 404: Resource not found due to incorrect input. Correct your request
79
+ * and then retry it.</p>
80
+ *
81
+ * @throws {@link ServiceUnavailableException} (server fault)
82
+ * <p>HTTP Status Code 503: Service Unavailable. Retrying your request in some time might
83
+ * resolve the issue.</p>
84
+ *
85
+ * @throws {@link TooManyRequestsException} (client fault)
86
+ * <p>HTTP Status Code 429: Limit exceeded. Resource limit reached.</p>
87
+ *
88
+ * @throws {@link UnauthorizedException} (client fault)
89
+ * <p>HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be
90
+ * validated.</p>
91
+ *
92
+ * @throws {@link KafkaConnectServiceException}
93
+ * <p>Base exception class for all service exceptions from KafkaConnect service.</p>
94
+ *
95
+ * @public
96
+ */
97
+ export declare class ListConnectorOperationsCommand extends ListConnectorOperationsCommand_base {
98
+ /** @internal type navigation helper, not in runtime. */
99
+ protected static __types: {
100
+ api: {
101
+ input: ListConnectorOperationsRequest;
102
+ output: ListConnectorOperationsResponse;
103
+ };
104
+ sdk: {
105
+ input: ListConnectorOperationsCommandInput;
106
+ output: ListConnectorOperationsCommandOutput;
107
+ };
108
+ };
109
+ }
@@ -52,6 +52,9 @@ declare const UpdateConnectorCommand_base: {
52
52
  * workerCount: Number("int"), // required
53
53
  * },
54
54
  * },
55
+ * connectorConfiguration: { // ConnectorConfigurationUpdate
56
+ * "<keys>": "STRING_VALUE",
57
+ * },
55
58
  * connectorArn: "STRING_VALUE", // required
56
59
  * currentVersion: "STRING_VALUE", // required
57
60
  * };
@@ -60,6 +63,7 @@ declare const UpdateConnectorCommand_base: {
60
63
  * // { // UpdateConnectorResponse
61
64
  * // connectorArn: "STRING_VALUE",
62
65
  * // connectorState: "STRING_VALUE",
66
+ * // connectorOperationArn: "STRING_VALUE",
63
67
  * // };
64
68
  *
65
69
  * ```
@@ -5,8 +5,10 @@ export * from "./DeleteConnectorCommand";
5
5
  export * from "./DeleteCustomPluginCommand";
6
6
  export * from "./DeleteWorkerConfigurationCommand";
7
7
  export * from "./DescribeConnectorCommand";
8
+ export * from "./DescribeConnectorOperationCommand";
8
9
  export * from "./DescribeCustomPluginCommand";
9
10
  export * from "./DescribeWorkerConfigurationCommand";
11
+ export * from "./ListConnectorOperationsCommand";
10
12
  export * from "./ListConnectorsCommand";
11
13
  export * from "./ListCustomPluginsCommand";
12
14
  export * from "./ListTagsForResourceCommand";