aws-sdk-kafkaconnect 1.66.0 → 1.68.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-kafkaconnect/client.rb +145 -12
- data/lib/aws-sdk-kafkaconnect/client_api.rb +74 -0
- data/lib/aws-sdk-kafkaconnect/types.rb +183 -3
- data/lib/aws-sdk-kafkaconnect.rb +1 -1
- data/sig/client.rbs +43 -7
- data/sig/types.rbs +55 -9
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 11823b1d5cf98f3222f6430b6e3d65323a985ff6017287b4618512a41425a374
|
|
4
|
+
data.tar.gz: 896c8888c531be4dd653920a0933c707d4dcf80152e19d4a31cddd4614363d30
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 33ad7bb51355493d1b78d92fe599d49394e40477ede27e944a79b4d33a38452a5bd774c821d8baaccdd071a8509aa4c17c3aa277f83f9b71e5da1eec7aaaedc3
|
|
7
|
+
data.tar.gz: ed60271dc3a90a83224a154b6937f12e08d22b424ee554b90789e537e3ff98a025e3e17d03e44a1ba2217214809d72a6cab61f7d012fb643e347dc963f6950e0
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.68.0 (2026-10-28)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Amazon MSK Connect now supports updating a connector's custom plugin and worker configuration via the UpdateConnector API. MSK Connect checks connector and task health after the update and rolls back on failure. Each call returns an operation ARN to track with DescribeConnectorOperation.
|
|
8
|
+
|
|
9
|
+
1.67.0 (2026-10-22)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Amazon MSK Connect now supports pausing and resuming connectors via the asynchronous PauseConnector and ResumeConnector APIs. Paused connectors keep their configuration and committed offsets and resume where they left off. Each call returns an operation ARN to track with DescribeConnectorOperation.
|
|
13
|
+
|
|
4
14
|
1.66.0 (2026-10-21)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.68.0
|
|
@@ -628,7 +628,7 @@ module Aws::KafkaConnect
|
|
|
628
628
|
#
|
|
629
629
|
# resp.connector_arn #=> String
|
|
630
630
|
# resp.connector_name #=> String
|
|
631
|
-
# resp.connector_state #=> String, one of "RUNNING", "CREATING", "UPDATING", "DELETING", "FAILED", "RESTARTING"
|
|
631
|
+
# resp.connector_state #=> String, one of "RUNNING", "CREATING", "UPDATING", "DELETING", "FAILED", "PAUSED", "RESTARTING", "PAUSING", "RESUMING"
|
|
632
632
|
#
|
|
633
633
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/CreateConnector AWS API Documentation
|
|
634
634
|
#
|
|
@@ -773,7 +773,7 @@ module Aws::KafkaConnect
|
|
|
773
773
|
# @example Response structure
|
|
774
774
|
#
|
|
775
775
|
# resp.connector_arn #=> String
|
|
776
|
-
# resp.connector_state #=> String, one of "RUNNING", "CREATING", "UPDATING", "DELETING", "FAILED", "RESTARTING"
|
|
776
|
+
# resp.connector_state #=> String, one of "RUNNING", "CREATING", "UPDATING", "DELETING", "FAILED", "PAUSED", "RESTARTING", "PAUSING", "RESUMING"
|
|
777
777
|
#
|
|
778
778
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/DeleteConnector AWS API Documentation
|
|
779
779
|
#
|
|
@@ -894,7 +894,7 @@ module Aws::KafkaConnect
|
|
|
894
894
|
# resp.connector_configuration["__string"] #=> String
|
|
895
895
|
# resp.connector_description #=> String
|
|
896
896
|
# resp.connector_name #=> String
|
|
897
|
-
# resp.connector_state #=> String, one of "RUNNING", "CREATING", "UPDATING", "DELETING", "FAILED", "RESTARTING"
|
|
897
|
+
# resp.connector_state #=> String, one of "RUNNING", "CREATING", "UPDATING", "DELETING", "FAILED", "PAUSED", "RESTARTING", "PAUSING", "RESUMING"
|
|
898
898
|
# resp.creation_time #=> Time
|
|
899
899
|
# resp.current_version #=> String
|
|
900
900
|
# resp.kafka_cluster.apache_kafka_cluster.bootstrap_servers #=> String
|
|
@@ -961,8 +961,8 @@ module Aws::KafkaConnect
|
|
|
961
961
|
#
|
|
962
962
|
# resp.connector_arn #=> String
|
|
963
963
|
# resp.connector_operation_arn #=> String
|
|
964
|
-
# resp.connector_operation_state #=> String, one of "PENDING", "UPDATE_IN_PROGRESS", "UPDATE_COMPLETE", "UPDATE_FAILED", "ROLLBACK_IN_PROGRESS", "ROLLBACK_FAILED", "ROLLBACK_COMPLETE", "RESTART_IN_PROGRESS", "RESTART_COMPLETE", "RESTART_FAILED"
|
|
965
|
-
# resp.connector_operation_type #=> String, one of "UPDATE_WORKER_SETTING", "UPDATE_CONNECTOR_CONFIGURATION", "ISOLATE_CONNECTOR", "RESTORE_CONNECTOR", "RESTART_CONNECTOR"
|
|
964
|
+
# resp.connector_operation_state #=> String, one of "PENDING", "UPDATE_IN_PROGRESS", "UPDATE_COMPLETE", "UPDATE_FAILED", "ROLLBACK_IN_PROGRESS", "ROLLBACK_FAILED", "ROLLBACK_COMPLETE", "PAUSE_COMPLETE", "PAUSE_FAILED", "RESUME_COMPLETE", "RESUME_FAILED", "PAUSE_IN_PROGRESS", "RESUME_IN_PROGRESS", "RESTART_IN_PROGRESS", "RESTART_COMPLETE", "RESTART_FAILED"
|
|
965
|
+
# resp.connector_operation_type #=> String, one of "UPDATE_WORKER_SETTING", "UPDATE_CONNECTOR_CONFIGURATION", "ISOLATE_CONNECTOR", "RESTORE_CONNECTOR", "RESTART_CONNECTOR", "PAUSE_CONNECTOR", "RESUME_CONNECTOR"
|
|
966
966
|
# resp.operation_steps #=> Array
|
|
967
967
|
# resp.operation_steps[0].step_type #=> String, one of "INITIALIZE_UPDATE", "FINALIZE_UPDATE", "UPDATE_WORKER_SETTING", "UPDATE_CONNECTOR_CONFIGURATION", "VALIDATE_UPDATE"
|
|
968
968
|
# resp.operation_steps[0].step_state #=> String, one of "PENDING", "IN_PROGRESS", "COMPLETED", "FAILED", "CANCELLED"
|
|
@@ -974,6 +974,12 @@ module Aws::KafkaConnect
|
|
|
974
974
|
# resp.origin_worker_setting.capacity.auto_scaling.max_autoscaling_task_count #=> Integer
|
|
975
975
|
# resp.origin_worker_setting.capacity.provisioned_capacity.mcu_count #=> Integer
|
|
976
976
|
# resp.origin_worker_setting.capacity.provisioned_capacity.worker_count #=> Integer
|
|
977
|
+
# resp.origin_worker_setting.plugins #=> Array
|
|
978
|
+
# resp.origin_worker_setting.plugins[0].custom_plugin.custom_plugin_arn #=> String
|
|
979
|
+
# resp.origin_worker_setting.plugins[0].custom_plugin.revision #=> Integer
|
|
980
|
+
# resp.origin_worker_setting.worker_configuration.revision #=> Integer
|
|
981
|
+
# resp.origin_worker_setting.worker_configuration.worker_configuration_arn #=> String
|
|
982
|
+
# resp.origin_worker_setting.use_default_worker_configuration #=> Boolean
|
|
977
983
|
# resp.origin_connector_configuration #=> Hash
|
|
978
984
|
# resp.origin_connector_configuration["__string"] #=> String
|
|
979
985
|
# resp.target_worker_setting.capacity.auto_scaling.max_worker_count #=> Integer
|
|
@@ -984,6 +990,12 @@ module Aws::KafkaConnect
|
|
|
984
990
|
# resp.target_worker_setting.capacity.auto_scaling.max_autoscaling_task_count #=> Integer
|
|
985
991
|
# resp.target_worker_setting.capacity.provisioned_capacity.mcu_count #=> Integer
|
|
986
992
|
# resp.target_worker_setting.capacity.provisioned_capacity.worker_count #=> Integer
|
|
993
|
+
# resp.target_worker_setting.plugins #=> Array
|
|
994
|
+
# resp.target_worker_setting.plugins[0].custom_plugin.custom_plugin_arn #=> String
|
|
995
|
+
# resp.target_worker_setting.plugins[0].custom_plugin.revision #=> Integer
|
|
996
|
+
# resp.target_worker_setting.worker_configuration.revision #=> Integer
|
|
997
|
+
# resp.target_worker_setting.worker_configuration.worker_configuration_arn #=> String
|
|
998
|
+
# resp.target_worker_setting.use_default_worker_configuration #=> Boolean
|
|
987
999
|
# resp.target_connector_configuration #=> Hash
|
|
988
1000
|
# resp.target_connector_configuration["__string"] #=> String
|
|
989
1001
|
# resp.error_info.code #=> String
|
|
@@ -1124,8 +1136,8 @@ module Aws::KafkaConnect
|
|
|
1124
1136
|
#
|
|
1125
1137
|
# resp.connector_operations #=> Array
|
|
1126
1138
|
# resp.connector_operations[0].connector_operation_arn #=> String
|
|
1127
|
-
# resp.connector_operations[0].connector_operation_type #=> String, one of "UPDATE_WORKER_SETTING", "UPDATE_CONNECTOR_CONFIGURATION", "ISOLATE_CONNECTOR", "RESTORE_CONNECTOR", "RESTART_CONNECTOR"
|
|
1128
|
-
# resp.connector_operations[0].connector_operation_state #=> String, one of "PENDING", "UPDATE_IN_PROGRESS", "UPDATE_COMPLETE", "UPDATE_FAILED", "ROLLBACK_IN_PROGRESS", "ROLLBACK_FAILED", "ROLLBACK_COMPLETE", "RESTART_IN_PROGRESS", "RESTART_COMPLETE", "RESTART_FAILED"
|
|
1139
|
+
# resp.connector_operations[0].connector_operation_type #=> String, one of "UPDATE_WORKER_SETTING", "UPDATE_CONNECTOR_CONFIGURATION", "ISOLATE_CONNECTOR", "RESTORE_CONNECTOR", "RESTART_CONNECTOR", "PAUSE_CONNECTOR", "RESUME_CONNECTOR"
|
|
1140
|
+
# resp.connector_operations[0].connector_operation_state #=> String, one of "PENDING", "UPDATE_IN_PROGRESS", "UPDATE_COMPLETE", "UPDATE_FAILED", "ROLLBACK_IN_PROGRESS", "ROLLBACK_FAILED", "ROLLBACK_COMPLETE", "PAUSE_COMPLETE", "PAUSE_FAILED", "RESUME_COMPLETE", "RESUME_FAILED", "PAUSE_IN_PROGRESS", "RESUME_IN_PROGRESS", "RESTART_IN_PROGRESS", "RESTART_COMPLETE", "RESTART_FAILED"
|
|
1129
1141
|
# resp.connector_operations[0].creation_time #=> Time
|
|
1130
1142
|
# resp.connector_operations[0].end_time #=> Time
|
|
1131
1143
|
# resp.next_token #=> String
|
|
@@ -1185,7 +1197,7 @@ module Aws::KafkaConnect
|
|
|
1185
1197
|
# resp.connectors[0].connector_arn #=> String
|
|
1186
1198
|
# resp.connectors[0].connector_description #=> String
|
|
1187
1199
|
# resp.connectors[0].connector_name #=> String
|
|
1188
|
-
# resp.connectors[0].connector_state #=> String, one of "RUNNING", "CREATING", "UPDATING", "DELETING", "FAILED", "RESTARTING"
|
|
1200
|
+
# resp.connectors[0].connector_state #=> String, one of "RUNNING", "CREATING", "UPDATING", "DELETING", "FAILED", "PAUSED", "RESTARTING", "PAUSING", "RESUMING"
|
|
1189
1201
|
# resp.connectors[0].creation_time #=> Time
|
|
1190
1202
|
# resp.connectors[0].current_version #=> String
|
|
1191
1203
|
# resp.connectors[0].kafka_cluster.apache_kafka_cluster.bootstrap_servers #=> String
|
|
@@ -1361,6 +1373,39 @@ module Aws::KafkaConnect
|
|
|
1361
1373
|
req.send_request(options)
|
|
1362
1374
|
end
|
|
1363
1375
|
|
|
1376
|
+
# Pauses the specified connector. The operation runs asynchronously. To
|
|
1377
|
+
# track the pause, pass the connector operation ARN from the response to
|
|
1378
|
+
# `DescribeConnectorOperation`.
|
|
1379
|
+
#
|
|
1380
|
+
# @option params [required, String] :connector_arn
|
|
1381
|
+
# The Amazon Resource Name (ARN) of the connector that you want to
|
|
1382
|
+
# pause.
|
|
1383
|
+
#
|
|
1384
|
+
# @return [Types::PauseConnectorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1385
|
+
#
|
|
1386
|
+
# * {Types::PauseConnectorResponse#connector_arn #connector_arn} => String
|
|
1387
|
+
# * {Types::PauseConnectorResponse#connector_operation_arn #connector_operation_arn} => String
|
|
1388
|
+
#
|
|
1389
|
+
# @example Request syntax with placeholder values
|
|
1390
|
+
#
|
|
1391
|
+
# resp = client.pause_connector({
|
|
1392
|
+
# connector_arn: "__string", # required
|
|
1393
|
+
# })
|
|
1394
|
+
#
|
|
1395
|
+
# @example Response structure
|
|
1396
|
+
#
|
|
1397
|
+
# resp.connector_arn #=> String
|
|
1398
|
+
# resp.connector_operation_arn #=> String
|
|
1399
|
+
#
|
|
1400
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/PauseConnector AWS API Documentation
|
|
1401
|
+
#
|
|
1402
|
+
# @overload pause_connector(params = {})
|
|
1403
|
+
# @param [Hash] params ({})
|
|
1404
|
+
def pause_connector(params = {}, options = {})
|
|
1405
|
+
req = build_request(:pause_connector, params)
|
|
1406
|
+
req.send_request(options)
|
|
1407
|
+
end
|
|
1408
|
+
|
|
1364
1409
|
# Restarts the specified connector. By default, this operation restarts
|
|
1365
1410
|
# the connector and all of its tasks. This operation is asynchronous and
|
|
1366
1411
|
# returns a connector operation ARN that you can pass to
|
|
@@ -1402,6 +1447,39 @@ module Aws::KafkaConnect
|
|
|
1402
1447
|
req.send_request(options)
|
|
1403
1448
|
end
|
|
1404
1449
|
|
|
1450
|
+
# Resumes the specified paused connector. The operation runs
|
|
1451
|
+
# asynchronously. To track the resume, pass the connector operation ARN
|
|
1452
|
+
# from the response to `DescribeConnectorOperation`.
|
|
1453
|
+
#
|
|
1454
|
+
# @option params [required, String] :connector_arn
|
|
1455
|
+
# The Amazon Resource Name (ARN) of the connector that you want to
|
|
1456
|
+
# resume.
|
|
1457
|
+
#
|
|
1458
|
+
# @return [Types::ResumeConnectorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1459
|
+
#
|
|
1460
|
+
# * {Types::ResumeConnectorResponse#connector_arn #connector_arn} => String
|
|
1461
|
+
# * {Types::ResumeConnectorResponse#connector_operation_arn #connector_operation_arn} => String
|
|
1462
|
+
#
|
|
1463
|
+
# @example Request syntax with placeholder values
|
|
1464
|
+
#
|
|
1465
|
+
# resp = client.resume_connector({
|
|
1466
|
+
# connector_arn: "__string", # required
|
|
1467
|
+
# })
|
|
1468
|
+
#
|
|
1469
|
+
# @example Response structure
|
|
1470
|
+
#
|
|
1471
|
+
# resp.connector_arn #=> String
|
|
1472
|
+
# resp.connector_operation_arn #=> String
|
|
1473
|
+
#
|
|
1474
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/ResumeConnector AWS API Documentation
|
|
1475
|
+
#
|
|
1476
|
+
# @overload resume_connector(params = {})
|
|
1477
|
+
# @param [Hash] params ({})
|
|
1478
|
+
def resume_connector(params = {}, options = {})
|
|
1479
|
+
req = build_request(:resume_connector, params)
|
|
1480
|
+
req.send_request(options)
|
|
1481
|
+
end
|
|
1482
|
+
|
|
1405
1483
|
# Attaches tags to the specified resource.
|
|
1406
1484
|
#
|
|
1407
1485
|
# @option params [required, String] :resource_arn
|
|
@@ -1458,8 +1536,12 @@ module Aws::KafkaConnect
|
|
|
1458
1536
|
req.send_request(options)
|
|
1459
1537
|
end
|
|
1460
1538
|
|
|
1461
|
-
# Updates the specified connector.
|
|
1462
|
-
#
|
|
1539
|
+
# Updates the specified connector. In the request body, you can update
|
|
1540
|
+
# either the connector's worker setting or its connector configuration,
|
|
1541
|
+
# but not both in the same request. To update the worker setting,
|
|
1542
|
+
# specify one or more of `capacity`, `plugins`, `workerConfiguration`,
|
|
1543
|
+
# or `useDefaultWorkerConfiguration`. To update the connector
|
|
1544
|
+
# configuration, specify only `connectorConfiguration`.
|
|
1463
1545
|
#
|
|
1464
1546
|
# @option params [Types::CapacityUpdate] :capacity
|
|
1465
1547
|
# The target capacity.
|
|
@@ -1468,6 +1550,16 @@ module Aws::KafkaConnect
|
|
|
1468
1550
|
# A map of keys to values that represent the configuration for the
|
|
1469
1551
|
# connector.
|
|
1470
1552
|
#
|
|
1553
|
+
# @option params [Boolean] :skip_health_validation
|
|
1554
|
+
# Specifies whether the update bypasses connector-level and task-level
|
|
1555
|
+
# health checks. If `true`, the update skips the health checks. The
|
|
1556
|
+
# update stays in effect even if the connector or its tasks are
|
|
1557
|
+
# unhealthy, and Amazon MSK Connect doesn't roll it back. If `false` or
|
|
1558
|
+
# not specified, the health checks run. If they fail, MSK Connect
|
|
1559
|
+
# automatically rolls the connector back to its previous configuration,
|
|
1560
|
+
# and the update doesn't take effect. To update a connector that is in
|
|
1561
|
+
# the `PAUSED` state, you must set this parameter to `true`.
|
|
1562
|
+
#
|
|
1471
1563
|
# @option params [required, String] :connector_arn
|
|
1472
1564
|
# The Amazon Resource Name (ARN) of the connector that you want to
|
|
1473
1565
|
# update.
|
|
@@ -1475,6 +1567,33 @@ module Aws::KafkaConnect
|
|
|
1475
1567
|
# @option params [required, String] :current_version
|
|
1476
1568
|
# The current version of the connector that you want to update.
|
|
1477
1569
|
#
|
|
1570
|
+
# @option params [Array<Types::PluginUpdate>] :plugins
|
|
1571
|
+
# Amazon MSK Connect does not currently support specifying multiple
|
|
1572
|
+
# plugins as a list. To use more than one plugin for your connector, you
|
|
1573
|
+
# can create a single custom plugin using a ZIP file that bundles
|
|
1574
|
+
# multiple plugins together.
|
|
1575
|
+
#
|
|
1576
|
+
# Specifies which plugin to use for the connector. You must specify a
|
|
1577
|
+
# single-element list containing one `customPlugin` object. If you
|
|
1578
|
+
# don't specify this parameter, the connector keeps its current plugin.
|
|
1579
|
+
#
|
|
1580
|
+
# @option params [Types::WorkerConfigurationUpdate] :worker_configuration
|
|
1581
|
+
# The worker configuration to use with the connector. Specify the Amazon
|
|
1582
|
+
# Resource Name (ARN) and the revision of the worker configuration. You
|
|
1583
|
+
# can't specify both `workerConfiguration` and
|
|
1584
|
+
# `useDefaultWorkerConfiguration` in the same request. If you specify
|
|
1585
|
+
# neither parameter, the connector keeps its current worker
|
|
1586
|
+
# configuration.
|
|
1587
|
+
#
|
|
1588
|
+
# @option params [Boolean] :use_default_worker_configuration
|
|
1589
|
+
# Specifies whether to switch the connector to the default worker
|
|
1590
|
+
# configuration that Amazon MSK Connect provides. If `true`, the
|
|
1591
|
+
# connector stops using its custom worker configuration and uses the
|
|
1592
|
+
# default worker configuration instead. If `false` or not specified, the
|
|
1593
|
+
# connector keeps its current worker configuration. You can't specify
|
|
1594
|
+
# both `useDefaultWorkerConfiguration` and `workerConfiguration` in the
|
|
1595
|
+
# same request.
|
|
1596
|
+
#
|
|
1478
1597
|
# @return [Types::UpdateConnectorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1479
1598
|
#
|
|
1480
1599
|
# * {Types::UpdateConnectorResponse#connector_arn #connector_arn} => String
|
|
@@ -1505,14 +1624,28 @@ module Aws::KafkaConnect
|
|
|
1505
1624
|
# connector_configuration: {
|
|
1506
1625
|
# "__string" => "__string",
|
|
1507
1626
|
# },
|
|
1627
|
+
# skip_health_validation: false,
|
|
1508
1628
|
# connector_arn: "__string", # required
|
|
1509
1629
|
# current_version: "__string", # required
|
|
1630
|
+
# plugins: [
|
|
1631
|
+
# {
|
|
1632
|
+
# custom_plugin: { # required
|
|
1633
|
+
# custom_plugin_arn: "__string", # required
|
|
1634
|
+
# revision: 1, # required
|
|
1635
|
+
# },
|
|
1636
|
+
# },
|
|
1637
|
+
# ],
|
|
1638
|
+
# worker_configuration: {
|
|
1639
|
+
# revision: 1, # required
|
|
1640
|
+
# worker_configuration_arn: "__string", # required
|
|
1641
|
+
# },
|
|
1642
|
+
# use_default_worker_configuration: false,
|
|
1510
1643
|
# })
|
|
1511
1644
|
#
|
|
1512
1645
|
# @example Response structure
|
|
1513
1646
|
#
|
|
1514
1647
|
# resp.connector_arn #=> String
|
|
1515
|
-
# resp.connector_state #=> String, one of "RUNNING", "CREATING", "UPDATING", "DELETING", "FAILED", "RESTARTING"
|
|
1648
|
+
# resp.connector_state #=> String, one of "RUNNING", "CREATING", "UPDATING", "DELETING", "FAILED", "PAUSED", "RESTARTING", "PAUSING", "RESUMING"
|
|
1516
1649
|
# resp.connector_operation_arn #=> String
|
|
1517
1650
|
#
|
|
1518
1651
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/UpdateConnector AWS API Documentation
|
|
@@ -1542,7 +1675,7 @@ module Aws::KafkaConnect
|
|
|
1542
1675
|
tracer: tracer
|
|
1543
1676
|
)
|
|
1544
1677
|
context[:gem_name] = 'aws-sdk-kafkaconnect'
|
|
1545
|
-
context[:gem_version] = '1.
|
|
1678
|
+
context[:gem_version] = '1.68.0'
|
|
1546
1679
|
Seahorse::Client::Request.new(handlers, context)
|
|
1547
1680
|
end
|
|
1548
1681
|
|
|
@@ -51,6 +51,7 @@ module Aws::KafkaConnect
|
|
|
51
51
|
CustomPluginRevisionSummary = Shapes::StructureShape.new(name: 'CustomPluginRevisionSummary')
|
|
52
52
|
CustomPluginState = Shapes::StringShape.new(name: 'CustomPluginState')
|
|
53
53
|
CustomPluginSummary = Shapes::StructureShape.new(name: 'CustomPluginSummary')
|
|
54
|
+
CustomPluginUpdate = Shapes::StructureShape.new(name: 'CustomPluginUpdate')
|
|
54
55
|
DeleteConnectorRequest = Shapes::StructureShape.new(name: 'DeleteConnectorRequest')
|
|
55
56
|
DeleteConnectorResponse = Shapes::StructureShape.new(name: 'DeleteConnectorResponse')
|
|
56
57
|
DeleteCustomPluginRequest = Shapes::StructureShape.new(name: 'DeleteCustomPluginRequest')
|
|
@@ -92,13 +93,18 @@ module Aws::KafkaConnect
|
|
|
92
93
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
|
93
94
|
NetworkType = Shapes::StringShape.new(name: 'NetworkType')
|
|
94
95
|
NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
|
|
96
|
+
PauseConnectorRequest = Shapes::StructureShape.new(name: 'PauseConnectorRequest')
|
|
97
|
+
PauseConnectorResponse = Shapes::StructureShape.new(name: 'PauseConnectorResponse')
|
|
95
98
|
Plugin = Shapes::StructureShape.new(name: 'Plugin')
|
|
96
99
|
PluginDescription = Shapes::StructureShape.new(name: 'PluginDescription')
|
|
100
|
+
PluginUpdate = Shapes::StructureShape.new(name: 'PluginUpdate')
|
|
97
101
|
ProvisionedCapacity = Shapes::StructureShape.new(name: 'ProvisionedCapacity')
|
|
98
102
|
ProvisionedCapacityDescription = Shapes::StructureShape.new(name: 'ProvisionedCapacityDescription')
|
|
99
103
|
ProvisionedCapacityUpdate = Shapes::StructureShape.new(name: 'ProvisionedCapacityUpdate')
|
|
100
104
|
RestartConnectorRequest = Shapes::StructureShape.new(name: 'RestartConnectorRequest')
|
|
101
105
|
RestartConnectorResponse = Shapes::StructureShape.new(name: 'RestartConnectorResponse')
|
|
106
|
+
ResumeConnectorRequest = Shapes::StructureShape.new(name: 'ResumeConnectorRequest')
|
|
107
|
+
ResumeConnectorResponse = Shapes::StructureShape.new(name: 'ResumeConnectorResponse')
|
|
102
108
|
S3Location = Shapes::StructureShape.new(name: 'S3Location')
|
|
103
109
|
S3LocationDescription = Shapes::StructureShape.new(name: 'S3LocationDescription')
|
|
104
110
|
S3LogDelivery = Shapes::StructureShape.new(name: 'S3LogDelivery')
|
|
@@ -131,6 +137,7 @@ module Aws::KafkaConnect
|
|
|
131
137
|
WorkerConfigurationRevisionSummary = Shapes::StructureShape.new(name: 'WorkerConfigurationRevisionSummary')
|
|
132
138
|
WorkerConfigurationState = Shapes::StringShape.new(name: 'WorkerConfigurationState')
|
|
133
139
|
WorkerConfigurationSummary = Shapes::StructureShape.new(name: 'WorkerConfigurationSummary')
|
|
140
|
+
WorkerConfigurationUpdate = Shapes::StructureShape.new(name: 'WorkerConfigurationUpdate')
|
|
134
141
|
WorkerLogDelivery = Shapes::StructureShape.new(name: 'WorkerLogDelivery')
|
|
135
142
|
WorkerLogDeliveryDescription = Shapes::StructureShape.new(name: 'WorkerLogDeliveryDescription')
|
|
136
143
|
WorkerSetting = Shapes::StructureShape.new(name: 'WorkerSetting')
|
|
@@ -144,6 +151,7 @@ module Aws::KafkaConnect
|
|
|
144
151
|
__listOfCustomPluginSummary = Shapes::ListShape.new(name: '__listOfCustomPluginSummary')
|
|
145
152
|
__listOfPlugin = Shapes::ListShape.new(name: '__listOfPlugin')
|
|
146
153
|
__listOfPluginDescription = Shapes::ListShape.new(name: '__listOfPluginDescription')
|
|
154
|
+
__listOfPluginUpdate = Shapes::ListShape.new(name: '__listOfPluginUpdate')
|
|
147
155
|
__listOfWorkerConfigurationSummary = Shapes::ListShape.new(name: '__listOfWorkerConfigurationSummary')
|
|
148
156
|
__listOf__string = Shapes::ListShape.new(name: '__listOf__string')
|
|
149
157
|
__long = Shapes::IntegerShape.new(name: '__long')
|
|
@@ -328,6 +336,10 @@ module Aws::KafkaConnect
|
|
|
328
336
|
CustomPluginSummary.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
|
|
329
337
|
CustomPluginSummary.struct_class = Types::CustomPluginSummary
|
|
330
338
|
|
|
339
|
+
CustomPluginUpdate.add_member(:custom_plugin_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "customPluginArn"))
|
|
340
|
+
CustomPluginUpdate.add_member(:revision, Shapes::ShapeRef.new(shape: __longMin1, required: true, location_name: "revision", metadata: {"box" => true}))
|
|
341
|
+
CustomPluginUpdate.struct_class = Types::CustomPluginUpdate
|
|
342
|
+
|
|
331
343
|
DeleteConnectorRequest.add_member(:connector_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "connectorArn"))
|
|
332
344
|
DeleteConnectorRequest.add_member(:current_version, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "currentVersion"))
|
|
333
345
|
DeleteConnectorRequest.struct_class = Types::DeleteConnectorRequest
|
|
@@ -496,12 +508,22 @@ module Aws::KafkaConnect
|
|
|
496
508
|
NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
|
497
509
|
NotFoundException.struct_class = Types::NotFoundException
|
|
498
510
|
|
|
511
|
+
PauseConnectorRequest.add_member(:connector_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "connectorArn"))
|
|
512
|
+
PauseConnectorRequest.struct_class = Types::PauseConnectorRequest
|
|
513
|
+
|
|
514
|
+
PauseConnectorResponse.add_member(:connector_arn, Shapes::ShapeRef.new(shape: __string, location_name: "connectorArn"))
|
|
515
|
+
PauseConnectorResponse.add_member(:connector_operation_arn, Shapes::ShapeRef.new(shape: __string, location_name: "connectorOperationArn"))
|
|
516
|
+
PauseConnectorResponse.struct_class = Types::PauseConnectorResponse
|
|
517
|
+
|
|
499
518
|
Plugin.add_member(:custom_plugin, Shapes::ShapeRef.new(shape: CustomPlugin, required: true, location_name: "customPlugin"))
|
|
500
519
|
Plugin.struct_class = Types::Plugin
|
|
501
520
|
|
|
502
521
|
PluginDescription.add_member(:custom_plugin, Shapes::ShapeRef.new(shape: CustomPluginDescription, location_name: "customPlugin"))
|
|
503
522
|
PluginDescription.struct_class = Types::PluginDescription
|
|
504
523
|
|
|
524
|
+
PluginUpdate.add_member(:custom_plugin, Shapes::ShapeRef.new(shape: CustomPluginUpdate, required: true, location_name: "customPlugin"))
|
|
525
|
+
PluginUpdate.struct_class = Types::PluginUpdate
|
|
526
|
+
|
|
505
527
|
ProvisionedCapacity.add_member(:mcu_count, Shapes::ShapeRef.new(shape: __integerMin1Max8, required: true, location_name: "mcuCount"))
|
|
506
528
|
ProvisionedCapacity.add_member(:worker_count, Shapes::ShapeRef.new(shape: __integer, required: true, location_name: "workerCount"))
|
|
507
529
|
ProvisionedCapacity.struct_class = Types::ProvisionedCapacity
|
|
@@ -522,6 +544,13 @@ module Aws::KafkaConnect
|
|
|
522
544
|
RestartConnectorResponse.add_member(:connector_operation_arn, Shapes::ShapeRef.new(shape: __string, location_name: "connectorOperationArn"))
|
|
523
545
|
RestartConnectorResponse.struct_class = Types::RestartConnectorResponse
|
|
524
546
|
|
|
547
|
+
ResumeConnectorRequest.add_member(:connector_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "connectorArn"))
|
|
548
|
+
ResumeConnectorRequest.struct_class = Types::ResumeConnectorRequest
|
|
549
|
+
|
|
550
|
+
ResumeConnectorResponse.add_member(:connector_arn, Shapes::ShapeRef.new(shape: __string, location_name: "connectorArn"))
|
|
551
|
+
ResumeConnectorResponse.add_member(:connector_operation_arn, Shapes::ShapeRef.new(shape: __string, location_name: "connectorOperationArn"))
|
|
552
|
+
ResumeConnectorResponse.struct_class = Types::ResumeConnectorResponse
|
|
553
|
+
|
|
525
554
|
S3Location.add_member(:bucket_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "bucketArn"))
|
|
526
555
|
S3Location.add_member(:file_key, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "fileKey"))
|
|
527
556
|
S3Location.add_member(:object_version, Shapes::ShapeRef.new(shape: __string, location_name: "objectVersion"))
|
|
@@ -592,8 +621,12 @@ module Aws::KafkaConnect
|
|
|
592
621
|
|
|
593
622
|
UpdateConnectorRequest.add_member(:capacity, Shapes::ShapeRef.new(shape: CapacityUpdate, location_name: "capacity"))
|
|
594
623
|
UpdateConnectorRequest.add_member(:connector_configuration, Shapes::ShapeRef.new(shape: ConnectorConfigurationUpdate, location_name: "connectorConfiguration"))
|
|
624
|
+
UpdateConnectorRequest.add_member(:skip_health_validation, Shapes::ShapeRef.new(shape: __boolean, location_name: "skipHealthValidation"))
|
|
595
625
|
UpdateConnectorRequest.add_member(:connector_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "connectorArn"))
|
|
596
626
|
UpdateConnectorRequest.add_member(:current_version, Shapes::ShapeRef.new(shape: __string, required: true, location: "querystring", location_name: "currentVersion"))
|
|
627
|
+
UpdateConnectorRequest.add_member(:plugins, Shapes::ShapeRef.new(shape: __listOfPluginUpdate, location_name: "plugins"))
|
|
628
|
+
UpdateConnectorRequest.add_member(:worker_configuration, Shapes::ShapeRef.new(shape: WorkerConfigurationUpdate, location_name: "workerConfiguration"))
|
|
629
|
+
UpdateConnectorRequest.add_member(:use_default_worker_configuration, Shapes::ShapeRef.new(shape: __boolean, location_name: "useDefaultWorkerConfiguration"))
|
|
597
630
|
UpdateConnectorRequest.struct_class = Types::UpdateConnectorRequest
|
|
598
631
|
|
|
599
632
|
UpdateConnectorResponse.add_member(:connector_arn, Shapes::ShapeRef.new(shape: __string, location_name: "connectorArn"))
|
|
@@ -636,6 +669,10 @@ module Aws::KafkaConnect
|
|
|
636
669
|
WorkerConfigurationSummary.add_member(:worker_configuration_state, Shapes::ShapeRef.new(shape: WorkerConfigurationState, location_name: "workerConfigurationState"))
|
|
637
670
|
WorkerConfigurationSummary.struct_class = Types::WorkerConfigurationSummary
|
|
638
671
|
|
|
672
|
+
WorkerConfigurationUpdate.add_member(:revision, Shapes::ShapeRef.new(shape: __longMin1, required: true, location_name: "revision", metadata: {"box" => true}))
|
|
673
|
+
WorkerConfigurationUpdate.add_member(:worker_configuration_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "workerConfigurationArn"))
|
|
674
|
+
WorkerConfigurationUpdate.struct_class = Types::WorkerConfigurationUpdate
|
|
675
|
+
|
|
639
676
|
WorkerLogDelivery.add_member(:cloud_watch_logs, Shapes::ShapeRef.new(shape: CloudWatchLogsLogDelivery, location_name: "cloudWatchLogs"))
|
|
640
677
|
WorkerLogDelivery.add_member(:firehose, Shapes::ShapeRef.new(shape: FirehoseLogDelivery, location_name: "firehose"))
|
|
641
678
|
WorkerLogDelivery.add_member(:s3, Shapes::ShapeRef.new(shape: S3LogDelivery, location_name: "s3"))
|
|
@@ -647,6 +684,9 @@ module Aws::KafkaConnect
|
|
|
647
684
|
WorkerLogDeliveryDescription.struct_class = Types::WorkerLogDeliveryDescription
|
|
648
685
|
|
|
649
686
|
WorkerSetting.add_member(:capacity, Shapes::ShapeRef.new(shape: CapacityDescription, location_name: "capacity"))
|
|
687
|
+
WorkerSetting.add_member(:plugins, Shapes::ShapeRef.new(shape: __listOfPluginDescription, location_name: "plugins"))
|
|
688
|
+
WorkerSetting.add_member(:worker_configuration, Shapes::ShapeRef.new(shape: WorkerConfigurationDescription, location_name: "workerConfiguration"))
|
|
689
|
+
WorkerSetting.add_member(:use_default_worker_configuration, Shapes::ShapeRef.new(shape: __boolean, location_name: "useDefaultWorkerConfiguration"))
|
|
650
690
|
WorkerSetting.struct_class = Types::WorkerSetting
|
|
651
691
|
|
|
652
692
|
__listOfConnectorOperationStep.member = Shapes::ShapeRef.new(shape: ConnectorOperationStep)
|
|
@@ -661,6 +701,8 @@ module Aws::KafkaConnect
|
|
|
661
701
|
|
|
662
702
|
__listOfPluginDescription.member = Shapes::ShapeRef.new(shape: PluginDescription)
|
|
663
703
|
|
|
704
|
+
__listOfPluginUpdate.member = Shapes::ShapeRef.new(shape: PluginUpdate)
|
|
705
|
+
|
|
664
706
|
__listOfWorkerConfigurationSummary.member = Shapes::ShapeRef.new(shape: WorkerConfigurationSummary)
|
|
665
707
|
|
|
666
708
|
__listOf__string.member = Shapes::ShapeRef.new(shape: __string)
|
|
@@ -937,6 +979,22 @@ module Aws::KafkaConnect
|
|
|
937
979
|
)
|
|
938
980
|
end)
|
|
939
981
|
|
|
982
|
+
api.add_operation(:pause_connector, Seahorse::Model::Operation.new.tap do |o|
|
|
983
|
+
o.name = "PauseConnector"
|
|
984
|
+
o.http_method = "PUT"
|
|
985
|
+
o.http_request_uri = "/v1/connectors/{connectorArn}/pause"
|
|
986
|
+
o.input = Shapes::ShapeRef.new(shape: PauseConnectorRequest)
|
|
987
|
+
o.output = Shapes::ShapeRef.new(shape: PauseConnectorResponse)
|
|
988
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
989
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
|
990
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
|
991
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
|
992
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
993
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
|
994
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
|
995
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
|
996
|
+
end)
|
|
997
|
+
|
|
940
998
|
api.add_operation(:restart_connector, Seahorse::Model::Operation.new.tap do |o|
|
|
941
999
|
o.name = "RestartConnector"
|
|
942
1000
|
o.http_method = "POST"
|
|
@@ -952,6 +1010,22 @@ module Aws::KafkaConnect
|
|
|
952
1010
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
|
953
1011
|
end)
|
|
954
1012
|
|
|
1013
|
+
api.add_operation(:resume_connector, Seahorse::Model::Operation.new.tap do |o|
|
|
1014
|
+
o.name = "ResumeConnector"
|
|
1015
|
+
o.http_method = "PUT"
|
|
1016
|
+
o.http_request_uri = "/v1/connectors/{connectorArn}/resume"
|
|
1017
|
+
o.input = Shapes::ShapeRef.new(shape: ResumeConnectorRequest)
|
|
1018
|
+
o.output = Shapes::ShapeRef.new(shape: ResumeConnectorResponse)
|
|
1019
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
1020
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
|
1021
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
|
1022
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
|
1023
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
1024
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
|
1025
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
|
1026
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
|
1027
|
+
end)
|
|
1028
|
+
|
|
955
1029
|
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
|
956
1030
|
o.name = "TagResource"
|
|
957
1031
|
o.http_method = "POST"
|
|
@@ -856,6 +856,26 @@ module Aws::KafkaConnect
|
|
|
856
856
|
include Aws::Structure
|
|
857
857
|
end
|
|
858
858
|
|
|
859
|
+
# Details about a custom plugin to use when you update a connector via
|
|
860
|
+
# `UpdateConnector`.
|
|
861
|
+
#
|
|
862
|
+
# @!attribute [rw] custom_plugin_arn
|
|
863
|
+
# The Amazon Resource Name (ARN) of the custom plugin.
|
|
864
|
+
# @return [String]
|
|
865
|
+
#
|
|
866
|
+
# @!attribute [rw] revision
|
|
867
|
+
# The revision of the custom plugin.
|
|
868
|
+
# @return [Integer]
|
|
869
|
+
#
|
|
870
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/CustomPluginUpdate AWS API Documentation
|
|
871
|
+
#
|
|
872
|
+
class CustomPluginUpdate < Struct.new(
|
|
873
|
+
:custom_plugin_arn,
|
|
874
|
+
:revision)
|
|
875
|
+
SENSITIVE = []
|
|
876
|
+
include Aws::Structure
|
|
877
|
+
end
|
|
878
|
+
|
|
859
879
|
# @!attribute [rw] connector_arn
|
|
860
880
|
# The Amazon Resource Name (ARN) of the connector that you want to
|
|
861
881
|
# delete.
|
|
@@ -1669,6 +1689,37 @@ module Aws::KafkaConnect
|
|
|
1669
1689
|
include Aws::Structure
|
|
1670
1690
|
end
|
|
1671
1691
|
|
|
1692
|
+
# @!attribute [rw] connector_arn
|
|
1693
|
+
# The Amazon Resource Name (ARN) of the connector that you want to
|
|
1694
|
+
# pause.
|
|
1695
|
+
# @return [String]
|
|
1696
|
+
#
|
|
1697
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/PauseConnectorRequest AWS API Documentation
|
|
1698
|
+
#
|
|
1699
|
+
class PauseConnectorRequest < Struct.new(
|
|
1700
|
+
:connector_arn)
|
|
1701
|
+
SENSITIVE = []
|
|
1702
|
+
include Aws::Structure
|
|
1703
|
+
end
|
|
1704
|
+
|
|
1705
|
+
# @!attribute [rw] connector_arn
|
|
1706
|
+
# The Amazon Resource Name (ARN) of the connector.
|
|
1707
|
+
# @return [String]
|
|
1708
|
+
#
|
|
1709
|
+
# @!attribute [rw] connector_operation_arn
|
|
1710
|
+
# The Amazon Resource Name (ARN) of the connector operation created to
|
|
1711
|
+
# perform the pause.
|
|
1712
|
+
# @return [String]
|
|
1713
|
+
#
|
|
1714
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/PauseConnectorResponse AWS API Documentation
|
|
1715
|
+
#
|
|
1716
|
+
class PauseConnectorResponse < Struct.new(
|
|
1717
|
+
:connector_arn,
|
|
1718
|
+
:connector_operation_arn)
|
|
1719
|
+
SENSITIVE = []
|
|
1720
|
+
include Aws::Structure
|
|
1721
|
+
end
|
|
1722
|
+
|
|
1672
1723
|
# A plugin is an Amazon Web Services resource that contains the code
|
|
1673
1724
|
# that defines your connector logic.
|
|
1674
1725
|
#
|
|
@@ -1698,6 +1749,21 @@ module Aws::KafkaConnect
|
|
|
1698
1749
|
include Aws::Structure
|
|
1699
1750
|
end
|
|
1700
1751
|
|
|
1752
|
+
# A custom plugin to use when you update a connector via
|
|
1753
|
+
# `UpdateConnector`.
|
|
1754
|
+
#
|
|
1755
|
+
# @!attribute [rw] custom_plugin
|
|
1756
|
+
# The custom plugin to use for the connector.
|
|
1757
|
+
# @return [Types::CustomPluginUpdate]
|
|
1758
|
+
#
|
|
1759
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/PluginUpdate AWS API Documentation
|
|
1760
|
+
#
|
|
1761
|
+
class PluginUpdate < Struct.new(
|
|
1762
|
+
:custom_plugin)
|
|
1763
|
+
SENSITIVE = []
|
|
1764
|
+
include Aws::Structure
|
|
1765
|
+
end
|
|
1766
|
+
|
|
1701
1767
|
# Details about a connector's provisioned capacity.
|
|
1702
1768
|
#
|
|
1703
1769
|
# @!attribute [rw] mcu_count
|
|
@@ -1798,6 +1864,37 @@ module Aws::KafkaConnect
|
|
|
1798
1864
|
include Aws::Structure
|
|
1799
1865
|
end
|
|
1800
1866
|
|
|
1867
|
+
# @!attribute [rw] connector_arn
|
|
1868
|
+
# The Amazon Resource Name (ARN) of the connector that you want to
|
|
1869
|
+
# resume.
|
|
1870
|
+
# @return [String]
|
|
1871
|
+
#
|
|
1872
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/ResumeConnectorRequest AWS API Documentation
|
|
1873
|
+
#
|
|
1874
|
+
class ResumeConnectorRequest < Struct.new(
|
|
1875
|
+
:connector_arn)
|
|
1876
|
+
SENSITIVE = []
|
|
1877
|
+
include Aws::Structure
|
|
1878
|
+
end
|
|
1879
|
+
|
|
1880
|
+
# @!attribute [rw] connector_arn
|
|
1881
|
+
# The Amazon Resource Name (ARN) of the connector.
|
|
1882
|
+
# @return [String]
|
|
1883
|
+
#
|
|
1884
|
+
# @!attribute [rw] connector_operation_arn
|
|
1885
|
+
# The Amazon Resource Name (ARN) of the connector operation created to
|
|
1886
|
+
# perform the resume.
|
|
1887
|
+
# @return [String]
|
|
1888
|
+
#
|
|
1889
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/ResumeConnectorResponse AWS API Documentation
|
|
1890
|
+
#
|
|
1891
|
+
class ResumeConnectorResponse < Struct.new(
|
|
1892
|
+
:connector_arn,
|
|
1893
|
+
:connector_operation_arn)
|
|
1894
|
+
SENSITIVE = []
|
|
1895
|
+
include Aws::Structure
|
|
1896
|
+
end
|
|
1897
|
+
|
|
1801
1898
|
# The location of an object in Amazon S3.
|
|
1802
1899
|
#
|
|
1803
1900
|
# @!attribute [rw] bucket_arn
|
|
@@ -2099,6 +2196,18 @@ module Aws::KafkaConnect
|
|
|
2099
2196
|
# connector.
|
|
2100
2197
|
# @return [Hash<String,String>]
|
|
2101
2198
|
#
|
|
2199
|
+
# @!attribute [rw] skip_health_validation
|
|
2200
|
+
# Specifies whether the update bypasses connector-level and task-level
|
|
2201
|
+
# health checks. If `true`, the update skips the health checks. The
|
|
2202
|
+
# update stays in effect even if the connector or its tasks are
|
|
2203
|
+
# unhealthy, and Amazon MSK Connect doesn't roll it back. If `false`
|
|
2204
|
+
# or not specified, the health checks run. If they fail, MSK Connect
|
|
2205
|
+
# automatically rolls the connector back to its previous
|
|
2206
|
+
# configuration, and the update doesn't take effect. To update a
|
|
2207
|
+
# connector that is in the `PAUSED` state, you must set this parameter
|
|
2208
|
+
# to `true`.
|
|
2209
|
+
# @return [Boolean]
|
|
2210
|
+
#
|
|
2102
2211
|
# @!attribute [rw] connector_arn
|
|
2103
2212
|
# The Amazon Resource Name (ARN) of the connector that you want to
|
|
2104
2213
|
# update.
|
|
@@ -2108,13 +2217,48 @@ module Aws::KafkaConnect
|
|
|
2108
2217
|
# The current version of the connector that you want to update.
|
|
2109
2218
|
# @return [String]
|
|
2110
2219
|
#
|
|
2220
|
+
# @!attribute [rw] plugins
|
|
2221
|
+
# Amazon MSK Connect does not currently support specifying multiple
|
|
2222
|
+
# plugins as a list. To use more than one plugin for your connector,
|
|
2223
|
+
# you can create a single custom plugin using a ZIP file that bundles
|
|
2224
|
+
# multiple plugins together.
|
|
2225
|
+
#
|
|
2226
|
+
# Specifies which plugin to use for the connector. You must specify a
|
|
2227
|
+
# single-element list containing one `customPlugin` object. If you
|
|
2228
|
+
# don't specify this parameter, the connector keeps its current
|
|
2229
|
+
# plugin.
|
|
2230
|
+
# @return [Array<Types::PluginUpdate>]
|
|
2231
|
+
#
|
|
2232
|
+
# @!attribute [rw] worker_configuration
|
|
2233
|
+
# The worker configuration to use with the connector. Specify the
|
|
2234
|
+
# Amazon Resource Name (ARN) and the revision of the worker
|
|
2235
|
+
# configuration. You can't specify both `workerConfiguration` and
|
|
2236
|
+
# `useDefaultWorkerConfiguration` in the same request. If you specify
|
|
2237
|
+
# neither parameter, the connector keeps its current worker
|
|
2238
|
+
# configuration.
|
|
2239
|
+
# @return [Types::WorkerConfigurationUpdate]
|
|
2240
|
+
#
|
|
2241
|
+
# @!attribute [rw] use_default_worker_configuration
|
|
2242
|
+
# Specifies whether to switch the connector to the default worker
|
|
2243
|
+
# configuration that Amazon MSK Connect provides. If `true`, the
|
|
2244
|
+
# connector stops using its custom worker configuration and uses the
|
|
2245
|
+
# default worker configuration instead. If `false` or not specified,
|
|
2246
|
+
# the connector keeps its current worker configuration. You can't
|
|
2247
|
+
# specify both `useDefaultWorkerConfiguration` and
|
|
2248
|
+
# `workerConfiguration` in the same request.
|
|
2249
|
+
# @return [Boolean]
|
|
2250
|
+
#
|
|
2111
2251
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/UpdateConnectorRequest AWS API Documentation
|
|
2112
2252
|
#
|
|
2113
2253
|
class UpdateConnectorRequest < Struct.new(
|
|
2114
2254
|
:capacity,
|
|
2115
2255
|
:connector_configuration,
|
|
2256
|
+
:skip_health_validation,
|
|
2116
2257
|
:connector_arn,
|
|
2117
|
-
:current_version
|
|
2258
|
+
:current_version,
|
|
2259
|
+
:plugins,
|
|
2260
|
+
:worker_configuration,
|
|
2261
|
+
:use_default_worker_configuration)
|
|
2118
2262
|
SENSITIVE = [:connector_configuration]
|
|
2119
2263
|
include Aws::Structure
|
|
2120
2264
|
end
|
|
@@ -2310,6 +2454,26 @@ module Aws::KafkaConnect
|
|
|
2310
2454
|
include Aws::Structure
|
|
2311
2455
|
end
|
|
2312
2456
|
|
|
2457
|
+
# The worker configuration to use when you update a connector via
|
|
2458
|
+
# `UpdateConnector`.
|
|
2459
|
+
#
|
|
2460
|
+
# @!attribute [rw] revision
|
|
2461
|
+
# The revision of the worker configuration.
|
|
2462
|
+
# @return [Integer]
|
|
2463
|
+
#
|
|
2464
|
+
# @!attribute [rw] worker_configuration_arn
|
|
2465
|
+
# The Amazon Resource Name (ARN) of the worker configuration.
|
|
2466
|
+
# @return [String]
|
|
2467
|
+
#
|
|
2468
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/WorkerConfigurationUpdate AWS API Documentation
|
|
2469
|
+
#
|
|
2470
|
+
class WorkerConfigurationUpdate < Struct.new(
|
|
2471
|
+
:revision,
|
|
2472
|
+
:worker_configuration_arn)
|
|
2473
|
+
SENSITIVE = []
|
|
2474
|
+
include Aws::Structure
|
|
2475
|
+
end
|
|
2476
|
+
|
|
2313
2477
|
# Workers can send worker logs to different destination types. This
|
|
2314
2478
|
# configuration specifies the details of these destinations.
|
|
2315
2479
|
#
|
|
@@ -2363,13 +2527,29 @@ module Aws::KafkaConnect
|
|
|
2363
2527
|
# Details about worker setting of a connector
|
|
2364
2528
|
#
|
|
2365
2529
|
# @!attribute [rw] capacity
|
|
2366
|
-
#
|
|
2530
|
+
# Specifies the compute capacity settings of the connector.
|
|
2367
2531
|
# @return [Types::CapacityDescription]
|
|
2368
2532
|
#
|
|
2533
|
+
# @!attribute [rw] plugins
|
|
2534
|
+
# Specifies which plugins the connector uses.
|
|
2535
|
+
# @return [Array<Types::PluginDescription>]
|
|
2536
|
+
#
|
|
2537
|
+
# @!attribute [rw] worker_configuration
|
|
2538
|
+
# Specifies which worker configuration the connector uses.
|
|
2539
|
+
# @return [Types::WorkerConfigurationDescription]
|
|
2540
|
+
#
|
|
2541
|
+
# @!attribute [rw] use_default_worker_configuration
|
|
2542
|
+
# Specifies whether the connector uses the default worker
|
|
2543
|
+
# configuration instead of a custom worker configuration.
|
|
2544
|
+
# @return [Boolean]
|
|
2545
|
+
#
|
|
2369
2546
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/WorkerSetting AWS API Documentation
|
|
2370
2547
|
#
|
|
2371
2548
|
class WorkerSetting < Struct.new(
|
|
2372
|
-
:capacity
|
|
2549
|
+
:capacity,
|
|
2550
|
+
:plugins,
|
|
2551
|
+
:worker_configuration,
|
|
2552
|
+
:use_default_worker_configuration)
|
|
2373
2553
|
SENSITIVE = []
|
|
2374
2554
|
include Aws::Structure
|
|
2375
2555
|
end
|
data/lib/aws-sdk-kafkaconnect.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -83,7 +83,7 @@ module Aws
|
|
|
83
83
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateConnectorResponse]
|
|
84
84
|
def connector_arn: () -> ::String
|
|
85
85
|
def connector_name: () -> ::String
|
|
86
|
-
def connector_state: () -> ("RUNNING" | "CREATING" | "UPDATING" | "DELETING" | "FAILED" | "RESTARTING")
|
|
86
|
+
def connector_state: () -> ("RUNNING" | "CREATING" | "UPDATING" | "DELETING" | "FAILED" | "PAUSED" | "RESTARTING" | "PAUSING" | "RESUMING")
|
|
87
87
|
end
|
|
88
88
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KafkaConnect/Client.html#create_connector-instance_method
|
|
89
89
|
def create_connector: (
|
|
@@ -202,7 +202,7 @@ module Aws
|
|
|
202
202
|
interface _DeleteConnectorResponseSuccess
|
|
203
203
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteConnectorResponse]
|
|
204
204
|
def connector_arn: () -> ::String
|
|
205
|
-
def connector_state: () -> ("RUNNING" | "CREATING" | "UPDATING" | "DELETING" | "FAILED" | "RESTARTING")
|
|
205
|
+
def connector_state: () -> ("RUNNING" | "CREATING" | "UPDATING" | "DELETING" | "FAILED" | "PAUSED" | "RESTARTING" | "PAUSING" | "RESUMING")
|
|
206
206
|
end
|
|
207
207
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KafkaConnect/Client.html#delete_connector-instance_method
|
|
208
208
|
def delete_connector: (
|
|
@@ -240,7 +240,7 @@ module Aws
|
|
|
240
240
|
def connector_configuration: () -> ::Hash[::String, ::String]
|
|
241
241
|
def connector_description: () -> ::String
|
|
242
242
|
def connector_name: () -> ::String
|
|
243
|
-
def connector_state: () -> ("RUNNING" | "CREATING" | "UPDATING" | "DELETING" | "FAILED" | "RESTARTING")
|
|
243
|
+
def connector_state: () -> ("RUNNING" | "CREATING" | "UPDATING" | "DELETING" | "FAILED" | "PAUSED" | "RESTARTING" | "PAUSING" | "RESUMING")
|
|
244
244
|
def creation_time: () -> ::Time
|
|
245
245
|
def current_version: () -> ::String
|
|
246
246
|
def kafka_cluster: () -> Types::KafkaClusterDescription
|
|
@@ -264,8 +264,8 @@ module Aws
|
|
|
264
264
|
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeConnectorOperationResponse]
|
|
265
265
|
def connector_arn: () -> ::String
|
|
266
266
|
def connector_operation_arn: () -> ::String
|
|
267
|
-
def connector_operation_state: () -> ("PENDING" | "UPDATE_IN_PROGRESS" | "UPDATE_COMPLETE" | "UPDATE_FAILED" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_FAILED" | "ROLLBACK_COMPLETE" | "RESTART_IN_PROGRESS" | "RESTART_COMPLETE" | "RESTART_FAILED")
|
|
268
|
-
def connector_operation_type: () -> ("UPDATE_WORKER_SETTING" | "UPDATE_CONNECTOR_CONFIGURATION" | "ISOLATE_CONNECTOR" | "RESTORE_CONNECTOR" | "RESTART_CONNECTOR")
|
|
267
|
+
def connector_operation_state: () -> ("PENDING" | "UPDATE_IN_PROGRESS" | "UPDATE_COMPLETE" | "UPDATE_FAILED" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_FAILED" | "ROLLBACK_COMPLETE" | "PAUSE_COMPLETE" | "PAUSE_FAILED" | "RESUME_COMPLETE" | "RESUME_FAILED" | "PAUSE_IN_PROGRESS" | "RESUME_IN_PROGRESS" | "RESTART_IN_PROGRESS" | "RESTART_COMPLETE" | "RESTART_FAILED")
|
|
268
|
+
def connector_operation_type: () -> ("UPDATE_WORKER_SETTING" | "UPDATE_CONNECTOR_CONFIGURATION" | "ISOLATE_CONNECTOR" | "RESTORE_CONNECTOR" | "RESTART_CONNECTOR" | "PAUSE_CONNECTOR" | "RESUME_CONNECTOR")
|
|
269
269
|
def operation_steps: () -> ::Array[Types::ConnectorOperationStep]
|
|
270
270
|
def origin_worker_setting: () -> Types::WorkerSetting
|
|
271
271
|
def origin_connector_configuration: () -> ::Hash[::String, ::String]
|
|
@@ -374,6 +374,17 @@ module Aws
|
|
|
374
374
|
) -> _ListWorkerConfigurationsResponseSuccess
|
|
375
375
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListWorkerConfigurationsResponseSuccess
|
|
376
376
|
|
|
377
|
+
interface _PauseConnectorResponseSuccess
|
|
378
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PauseConnectorResponse]
|
|
379
|
+
def connector_arn: () -> ::String
|
|
380
|
+
def connector_operation_arn: () -> ::String
|
|
381
|
+
end
|
|
382
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KafkaConnect/Client.html#pause_connector-instance_method
|
|
383
|
+
def pause_connector: (
|
|
384
|
+
connector_arn: ::String
|
|
385
|
+
) -> _PauseConnectorResponseSuccess
|
|
386
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PauseConnectorResponseSuccess
|
|
387
|
+
|
|
377
388
|
interface _RestartConnectorResponseSuccess
|
|
378
389
|
include ::Seahorse::Client::_ResponseSuccess[Types::RestartConnectorResponse]
|
|
379
390
|
def connector_arn: () -> ::String
|
|
@@ -386,6 +397,17 @@ module Aws
|
|
|
386
397
|
) -> _RestartConnectorResponseSuccess
|
|
387
398
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RestartConnectorResponseSuccess
|
|
388
399
|
|
|
400
|
+
interface _ResumeConnectorResponseSuccess
|
|
401
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ResumeConnectorResponse]
|
|
402
|
+
def connector_arn: () -> ::String
|
|
403
|
+
def connector_operation_arn: () -> ::String
|
|
404
|
+
end
|
|
405
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KafkaConnect/Client.html#resume_connector-instance_method
|
|
406
|
+
def resume_connector: (
|
|
407
|
+
connector_arn: ::String
|
|
408
|
+
) -> _ResumeConnectorResponseSuccess
|
|
409
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ResumeConnectorResponseSuccess
|
|
410
|
+
|
|
389
411
|
interface _TagResourceResponseSuccess
|
|
390
412
|
include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
|
|
391
413
|
end
|
|
@@ -409,7 +431,7 @@ module Aws
|
|
|
409
431
|
interface _UpdateConnectorResponseSuccess
|
|
410
432
|
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateConnectorResponse]
|
|
411
433
|
def connector_arn: () -> ::String
|
|
412
|
-
def connector_state: () -> ("RUNNING" | "CREATING" | "UPDATING" | "DELETING" | "FAILED" | "RESTARTING")
|
|
434
|
+
def connector_state: () -> ("RUNNING" | "CREATING" | "UPDATING" | "DELETING" | "FAILED" | "PAUSED" | "RESTARTING" | "PAUSING" | "RESUMING")
|
|
413
435
|
def connector_operation_arn: () -> ::String
|
|
414
436
|
end
|
|
415
437
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KafkaConnect/Client.html#update_connector-instance_method
|
|
@@ -433,8 +455,22 @@ module Aws
|
|
|
433
455
|
}?
|
|
434
456
|
},
|
|
435
457
|
?connector_configuration: Hash[::String, ::String],
|
|
458
|
+
?skip_health_validation: bool,
|
|
436
459
|
connector_arn: ::String,
|
|
437
|
-
current_version: ::String
|
|
460
|
+
current_version: ::String,
|
|
461
|
+
?plugins: Array[
|
|
462
|
+
{
|
|
463
|
+
custom_plugin: {
|
|
464
|
+
custom_plugin_arn: ::String,
|
|
465
|
+
revision: ::Integer
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
],
|
|
469
|
+
?worker_configuration: {
|
|
470
|
+
revision: ::Integer,
|
|
471
|
+
worker_configuration_arn: ::String
|
|
472
|
+
},
|
|
473
|
+
?use_default_worker_configuration: bool
|
|
438
474
|
) -> _UpdateConnectorResponseSuccess
|
|
439
475
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateConnectorResponseSuccess
|
|
440
476
|
end
|
data/sig/types.rbs
CHANGED
|
@@ -98,8 +98,8 @@ module Aws::KafkaConnect
|
|
|
98
98
|
|
|
99
99
|
class ConnectorOperationSummary
|
|
100
100
|
attr_accessor connector_operation_arn: ::String
|
|
101
|
-
attr_accessor connector_operation_type: ("UPDATE_WORKER_SETTING" | "UPDATE_CONNECTOR_CONFIGURATION" | "ISOLATE_CONNECTOR" | "RESTORE_CONNECTOR" | "RESTART_CONNECTOR")
|
|
102
|
-
attr_accessor connector_operation_state: ("PENDING" | "UPDATE_IN_PROGRESS" | "UPDATE_COMPLETE" | "UPDATE_FAILED" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_FAILED" | "ROLLBACK_COMPLETE" | "RESTART_IN_PROGRESS" | "RESTART_COMPLETE" | "RESTART_FAILED")
|
|
101
|
+
attr_accessor connector_operation_type: ("UPDATE_WORKER_SETTING" | "UPDATE_CONNECTOR_CONFIGURATION" | "ISOLATE_CONNECTOR" | "RESTORE_CONNECTOR" | "RESTART_CONNECTOR" | "PAUSE_CONNECTOR" | "RESUME_CONNECTOR")
|
|
102
|
+
attr_accessor connector_operation_state: ("PENDING" | "UPDATE_IN_PROGRESS" | "UPDATE_COMPLETE" | "UPDATE_FAILED" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_FAILED" | "ROLLBACK_COMPLETE" | "PAUSE_COMPLETE" | "PAUSE_FAILED" | "RESUME_COMPLETE" | "RESUME_FAILED" | "PAUSE_IN_PROGRESS" | "RESUME_IN_PROGRESS" | "RESTART_IN_PROGRESS" | "RESTART_COMPLETE" | "RESTART_FAILED")
|
|
103
103
|
attr_accessor creation_time: ::Time
|
|
104
104
|
attr_accessor end_time: ::Time
|
|
105
105
|
SENSITIVE: []
|
|
@@ -110,7 +110,7 @@ module Aws::KafkaConnect
|
|
|
110
110
|
attr_accessor connector_arn: ::String
|
|
111
111
|
attr_accessor connector_description: ::String
|
|
112
112
|
attr_accessor connector_name: ::String
|
|
113
|
-
attr_accessor connector_state: ("RUNNING" | "CREATING" | "UPDATING" | "DELETING" | "FAILED" | "RESTARTING")
|
|
113
|
+
attr_accessor connector_state: ("RUNNING" | "CREATING" | "UPDATING" | "DELETING" | "FAILED" | "PAUSED" | "RESTARTING" | "PAUSING" | "RESUMING")
|
|
114
114
|
attr_accessor creation_time: ::Time
|
|
115
115
|
attr_accessor current_version: ::String
|
|
116
116
|
attr_accessor kafka_cluster: Types::KafkaClusterDescription
|
|
@@ -146,7 +146,7 @@ module Aws::KafkaConnect
|
|
|
146
146
|
class CreateConnectorResponse
|
|
147
147
|
attr_accessor connector_arn: ::String
|
|
148
148
|
attr_accessor connector_name: ::String
|
|
149
|
-
attr_accessor connector_state: ("RUNNING" | "CREATING" | "UPDATING" | "DELETING" | "FAILED" | "RESTARTING")
|
|
149
|
+
attr_accessor connector_state: ("RUNNING" | "CREATING" | "UPDATING" | "DELETING" | "FAILED" | "PAUSED" | "RESTARTING" | "PAUSING" | "RESUMING")
|
|
150
150
|
SENSITIVE: []
|
|
151
151
|
end
|
|
152
152
|
|
|
@@ -232,6 +232,12 @@ module Aws::KafkaConnect
|
|
|
232
232
|
SENSITIVE: []
|
|
233
233
|
end
|
|
234
234
|
|
|
235
|
+
class CustomPluginUpdate
|
|
236
|
+
attr_accessor custom_plugin_arn: ::String
|
|
237
|
+
attr_accessor revision: ::Integer
|
|
238
|
+
SENSITIVE: []
|
|
239
|
+
end
|
|
240
|
+
|
|
235
241
|
class DeleteConnectorRequest
|
|
236
242
|
attr_accessor connector_arn: ::String
|
|
237
243
|
attr_accessor current_version: ::String
|
|
@@ -240,7 +246,7 @@ module Aws::KafkaConnect
|
|
|
240
246
|
|
|
241
247
|
class DeleteConnectorResponse
|
|
242
248
|
attr_accessor connector_arn: ::String
|
|
243
|
-
attr_accessor connector_state: ("RUNNING" | "CREATING" | "UPDATING" | "DELETING" | "FAILED" | "RESTARTING")
|
|
249
|
+
attr_accessor connector_state: ("RUNNING" | "CREATING" | "UPDATING" | "DELETING" | "FAILED" | "PAUSED" | "RESTARTING" | "PAUSING" | "RESUMING")
|
|
244
250
|
SENSITIVE: []
|
|
245
251
|
end
|
|
246
252
|
|
|
@@ -274,8 +280,8 @@ module Aws::KafkaConnect
|
|
|
274
280
|
class DescribeConnectorOperationResponse
|
|
275
281
|
attr_accessor connector_arn: ::String
|
|
276
282
|
attr_accessor connector_operation_arn: ::String
|
|
277
|
-
attr_accessor connector_operation_state: ("PENDING" | "UPDATE_IN_PROGRESS" | "UPDATE_COMPLETE" | "UPDATE_FAILED" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_FAILED" | "ROLLBACK_COMPLETE" | "RESTART_IN_PROGRESS" | "RESTART_COMPLETE" | "RESTART_FAILED")
|
|
278
|
-
attr_accessor connector_operation_type: ("UPDATE_WORKER_SETTING" | "UPDATE_CONNECTOR_CONFIGURATION" | "ISOLATE_CONNECTOR" | "RESTORE_CONNECTOR" | "RESTART_CONNECTOR")
|
|
283
|
+
attr_accessor connector_operation_state: ("PENDING" | "UPDATE_IN_PROGRESS" | "UPDATE_COMPLETE" | "UPDATE_FAILED" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_FAILED" | "ROLLBACK_COMPLETE" | "PAUSE_COMPLETE" | "PAUSE_FAILED" | "RESUME_COMPLETE" | "RESUME_FAILED" | "PAUSE_IN_PROGRESS" | "RESUME_IN_PROGRESS" | "RESTART_IN_PROGRESS" | "RESTART_COMPLETE" | "RESTART_FAILED")
|
|
284
|
+
attr_accessor connector_operation_type: ("UPDATE_WORKER_SETTING" | "UPDATE_CONNECTOR_CONFIGURATION" | "ISOLATE_CONNECTOR" | "RESTORE_CONNECTOR" | "RESTART_CONNECTOR" | "PAUSE_CONNECTOR" | "RESUME_CONNECTOR")
|
|
279
285
|
attr_accessor operation_steps: ::Array[Types::ConnectorOperationStep]
|
|
280
286
|
attr_accessor origin_worker_setting: Types::WorkerSetting
|
|
281
287
|
attr_accessor origin_connector_configuration: ::Hash[::String, ::String]
|
|
@@ -298,7 +304,7 @@ module Aws::KafkaConnect
|
|
|
298
304
|
attr_accessor connector_configuration: ::Hash[::String, ::String]
|
|
299
305
|
attr_accessor connector_description: ::String
|
|
300
306
|
attr_accessor connector_name: ::String
|
|
301
|
-
attr_accessor connector_state: ("RUNNING" | "CREATING" | "UPDATING" | "DELETING" | "FAILED" | "RESTARTING")
|
|
307
|
+
attr_accessor connector_state: ("RUNNING" | "CREATING" | "UPDATING" | "DELETING" | "FAILED" | "PAUSED" | "RESTARTING" | "PAUSING" | "RESUMING")
|
|
302
308
|
attr_accessor creation_time: ::Time
|
|
303
309
|
attr_accessor current_version: ::String
|
|
304
310
|
attr_accessor kafka_cluster: Types::KafkaClusterDescription
|
|
@@ -474,6 +480,17 @@ module Aws::KafkaConnect
|
|
|
474
480
|
SENSITIVE: []
|
|
475
481
|
end
|
|
476
482
|
|
|
483
|
+
class PauseConnectorRequest
|
|
484
|
+
attr_accessor connector_arn: ::String
|
|
485
|
+
SENSITIVE: []
|
|
486
|
+
end
|
|
487
|
+
|
|
488
|
+
class PauseConnectorResponse
|
|
489
|
+
attr_accessor connector_arn: ::String
|
|
490
|
+
attr_accessor connector_operation_arn: ::String
|
|
491
|
+
SENSITIVE: []
|
|
492
|
+
end
|
|
493
|
+
|
|
477
494
|
class Plugin
|
|
478
495
|
attr_accessor custom_plugin: Types::CustomPlugin
|
|
479
496
|
SENSITIVE: []
|
|
@@ -484,6 +501,11 @@ module Aws::KafkaConnect
|
|
|
484
501
|
SENSITIVE: []
|
|
485
502
|
end
|
|
486
503
|
|
|
504
|
+
class PluginUpdate
|
|
505
|
+
attr_accessor custom_plugin: Types::CustomPluginUpdate
|
|
506
|
+
SENSITIVE: []
|
|
507
|
+
end
|
|
508
|
+
|
|
487
509
|
class ProvisionedCapacity
|
|
488
510
|
attr_accessor mcu_count: ::Integer
|
|
489
511
|
attr_accessor worker_count: ::Integer
|
|
@@ -514,6 +536,17 @@ module Aws::KafkaConnect
|
|
|
514
536
|
SENSITIVE: []
|
|
515
537
|
end
|
|
516
538
|
|
|
539
|
+
class ResumeConnectorRequest
|
|
540
|
+
attr_accessor connector_arn: ::String
|
|
541
|
+
SENSITIVE: []
|
|
542
|
+
end
|
|
543
|
+
|
|
544
|
+
class ResumeConnectorResponse
|
|
545
|
+
attr_accessor connector_arn: ::String
|
|
546
|
+
attr_accessor connector_operation_arn: ::String
|
|
547
|
+
SENSITIVE: []
|
|
548
|
+
end
|
|
549
|
+
|
|
517
550
|
class S3Location
|
|
518
551
|
attr_accessor bucket_arn: ::String
|
|
519
552
|
attr_accessor file_key: ::String
|
|
@@ -614,14 +647,18 @@ module Aws::KafkaConnect
|
|
|
614
647
|
class UpdateConnectorRequest
|
|
615
648
|
attr_accessor capacity: Types::CapacityUpdate
|
|
616
649
|
attr_accessor connector_configuration: ::Hash[::String, ::String]
|
|
650
|
+
attr_accessor skip_health_validation: bool
|
|
617
651
|
attr_accessor connector_arn: ::String
|
|
618
652
|
attr_accessor current_version: ::String
|
|
653
|
+
attr_accessor plugins: ::Array[Types::PluginUpdate]
|
|
654
|
+
attr_accessor worker_configuration: Types::WorkerConfigurationUpdate
|
|
655
|
+
attr_accessor use_default_worker_configuration: bool
|
|
619
656
|
SENSITIVE: [:connector_configuration]
|
|
620
657
|
end
|
|
621
658
|
|
|
622
659
|
class UpdateConnectorResponse
|
|
623
660
|
attr_accessor connector_arn: ::String
|
|
624
|
-
attr_accessor connector_state: ("RUNNING" | "CREATING" | "UPDATING" | "DELETING" | "FAILED" | "RESTARTING")
|
|
661
|
+
attr_accessor connector_state: ("RUNNING" | "CREATING" | "UPDATING" | "DELETING" | "FAILED" | "PAUSED" | "RESTARTING" | "PAUSING" | "RESUMING")
|
|
625
662
|
attr_accessor connector_operation_arn: ::String
|
|
626
663
|
SENSITIVE: []
|
|
627
664
|
end
|
|
@@ -675,6 +712,12 @@ module Aws::KafkaConnect
|
|
|
675
712
|
SENSITIVE: []
|
|
676
713
|
end
|
|
677
714
|
|
|
715
|
+
class WorkerConfigurationUpdate
|
|
716
|
+
attr_accessor revision: ::Integer
|
|
717
|
+
attr_accessor worker_configuration_arn: ::String
|
|
718
|
+
SENSITIVE: []
|
|
719
|
+
end
|
|
720
|
+
|
|
678
721
|
class WorkerLogDelivery
|
|
679
722
|
attr_accessor cloud_watch_logs: Types::CloudWatchLogsLogDelivery
|
|
680
723
|
attr_accessor firehose: Types::FirehoseLogDelivery
|
|
@@ -691,6 +734,9 @@ module Aws::KafkaConnect
|
|
|
691
734
|
|
|
692
735
|
class WorkerSetting
|
|
693
736
|
attr_accessor capacity: Types::CapacityDescription
|
|
737
|
+
attr_accessor plugins: ::Array[Types::PluginDescription]
|
|
738
|
+
attr_accessor worker_configuration: Types::WorkerConfigurationDescription
|
|
739
|
+
attr_accessor use_default_worker_configuration: bool
|
|
694
740
|
SENSITIVE: []
|
|
695
741
|
end
|
|
696
742
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-kafkaconnect
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.68.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
@@ -18,7 +18,7 @@ dependencies:
|
|
|
18
18
|
version: '3'
|
|
19
19
|
- - ">="
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version: 3.
|
|
21
|
+
version: 3.262.0
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -28,7 +28,7 @@ dependencies:
|
|
|
28
28
|
version: '3'
|
|
29
29
|
- - ">="
|
|
30
30
|
- !ruby/object:Gem::Version
|
|
31
|
-
version: 3.
|
|
31
|
+
version: 3.262.0
|
|
32
32
|
- !ruby/object:Gem::Dependency
|
|
33
33
|
name: aws-sigv4
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|