aws-sdk-kafkaconnect 1.67.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-kafkaconnect/client.rb +59 -3
- data/lib/aws-sdk-kafkaconnect/client_api.rb +23 -0
- data/lib/aws-sdk-kafkaconnect/types.rb +108 -3
- data/lib/aws-sdk-kafkaconnect.rb +1 -1
- data/sig/client.rbs +14 -1
- data/sig/types.rbs +23 -0
- 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,11 @@
|
|
|
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
|
+
|
|
4
9
|
1.67.0 (2026-10-22)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.68.0
|
|
@@ -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
|
|
@@ -1524,8 +1536,12 @@ module Aws::KafkaConnect
|
|
|
1524
1536
|
req.send_request(options)
|
|
1525
1537
|
end
|
|
1526
1538
|
|
|
1527
|
-
# Updates the specified connector.
|
|
1528
|
-
#
|
|
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`.
|
|
1529
1545
|
#
|
|
1530
1546
|
# @option params [Types::CapacityUpdate] :capacity
|
|
1531
1547
|
# The target capacity.
|
|
@@ -1551,6 +1567,33 @@ module Aws::KafkaConnect
|
|
|
1551
1567
|
# @option params [required, String] :current_version
|
|
1552
1568
|
# The current version of the connector that you want to update.
|
|
1553
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
|
+
#
|
|
1554
1597
|
# @return [Types::UpdateConnectorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1555
1598
|
#
|
|
1556
1599
|
# * {Types::UpdateConnectorResponse#connector_arn #connector_arn} => String
|
|
@@ -1584,6 +1627,19 @@ module Aws::KafkaConnect
|
|
|
1584
1627
|
# skip_health_validation: false,
|
|
1585
1628
|
# connector_arn: "__string", # required
|
|
1586
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,
|
|
1587
1643
|
# })
|
|
1588
1644
|
#
|
|
1589
1645
|
# @example Response structure
|
|
@@ -1619,7 +1675,7 @@ module Aws::KafkaConnect
|
|
|
1619
1675
|
tracer: tracer
|
|
1620
1676
|
)
|
|
1621
1677
|
context[:gem_name] = 'aws-sdk-kafkaconnect'
|
|
1622
|
-
context[:gem_version] = '1.
|
|
1678
|
+
context[:gem_version] = '1.68.0'
|
|
1623
1679
|
Seahorse::Client::Request.new(handlers, context)
|
|
1624
1680
|
end
|
|
1625
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')
|
|
@@ -96,6 +97,7 @@ module Aws::KafkaConnect
|
|
|
96
97
|
PauseConnectorResponse = Shapes::StructureShape.new(name: 'PauseConnectorResponse')
|
|
97
98
|
Plugin = Shapes::StructureShape.new(name: 'Plugin')
|
|
98
99
|
PluginDescription = Shapes::StructureShape.new(name: 'PluginDescription')
|
|
100
|
+
PluginUpdate = Shapes::StructureShape.new(name: 'PluginUpdate')
|
|
99
101
|
ProvisionedCapacity = Shapes::StructureShape.new(name: 'ProvisionedCapacity')
|
|
100
102
|
ProvisionedCapacityDescription = Shapes::StructureShape.new(name: 'ProvisionedCapacityDescription')
|
|
101
103
|
ProvisionedCapacityUpdate = Shapes::StructureShape.new(name: 'ProvisionedCapacityUpdate')
|
|
@@ -135,6 +137,7 @@ module Aws::KafkaConnect
|
|
|
135
137
|
WorkerConfigurationRevisionSummary = Shapes::StructureShape.new(name: 'WorkerConfigurationRevisionSummary')
|
|
136
138
|
WorkerConfigurationState = Shapes::StringShape.new(name: 'WorkerConfigurationState')
|
|
137
139
|
WorkerConfigurationSummary = Shapes::StructureShape.new(name: 'WorkerConfigurationSummary')
|
|
140
|
+
WorkerConfigurationUpdate = Shapes::StructureShape.new(name: 'WorkerConfigurationUpdate')
|
|
138
141
|
WorkerLogDelivery = Shapes::StructureShape.new(name: 'WorkerLogDelivery')
|
|
139
142
|
WorkerLogDeliveryDescription = Shapes::StructureShape.new(name: 'WorkerLogDeliveryDescription')
|
|
140
143
|
WorkerSetting = Shapes::StructureShape.new(name: 'WorkerSetting')
|
|
@@ -148,6 +151,7 @@ module Aws::KafkaConnect
|
|
|
148
151
|
__listOfCustomPluginSummary = Shapes::ListShape.new(name: '__listOfCustomPluginSummary')
|
|
149
152
|
__listOfPlugin = Shapes::ListShape.new(name: '__listOfPlugin')
|
|
150
153
|
__listOfPluginDescription = Shapes::ListShape.new(name: '__listOfPluginDescription')
|
|
154
|
+
__listOfPluginUpdate = Shapes::ListShape.new(name: '__listOfPluginUpdate')
|
|
151
155
|
__listOfWorkerConfigurationSummary = Shapes::ListShape.new(name: '__listOfWorkerConfigurationSummary')
|
|
152
156
|
__listOf__string = Shapes::ListShape.new(name: '__listOf__string')
|
|
153
157
|
__long = Shapes::IntegerShape.new(name: '__long')
|
|
@@ -332,6 +336,10 @@ module Aws::KafkaConnect
|
|
|
332
336
|
CustomPluginSummary.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
|
|
333
337
|
CustomPluginSummary.struct_class = Types::CustomPluginSummary
|
|
334
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
|
+
|
|
335
343
|
DeleteConnectorRequest.add_member(:connector_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "connectorArn"))
|
|
336
344
|
DeleteConnectorRequest.add_member(:current_version, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "currentVersion"))
|
|
337
345
|
DeleteConnectorRequest.struct_class = Types::DeleteConnectorRequest
|
|
@@ -513,6 +521,9 @@ module Aws::KafkaConnect
|
|
|
513
521
|
PluginDescription.add_member(:custom_plugin, Shapes::ShapeRef.new(shape: CustomPluginDescription, location_name: "customPlugin"))
|
|
514
522
|
PluginDescription.struct_class = Types::PluginDescription
|
|
515
523
|
|
|
524
|
+
PluginUpdate.add_member(:custom_plugin, Shapes::ShapeRef.new(shape: CustomPluginUpdate, required: true, location_name: "customPlugin"))
|
|
525
|
+
PluginUpdate.struct_class = Types::PluginUpdate
|
|
526
|
+
|
|
516
527
|
ProvisionedCapacity.add_member(:mcu_count, Shapes::ShapeRef.new(shape: __integerMin1Max8, required: true, location_name: "mcuCount"))
|
|
517
528
|
ProvisionedCapacity.add_member(:worker_count, Shapes::ShapeRef.new(shape: __integer, required: true, location_name: "workerCount"))
|
|
518
529
|
ProvisionedCapacity.struct_class = Types::ProvisionedCapacity
|
|
@@ -613,6 +624,9 @@ module Aws::KafkaConnect
|
|
|
613
624
|
UpdateConnectorRequest.add_member(:skip_health_validation, Shapes::ShapeRef.new(shape: __boolean, location_name: "skipHealthValidation"))
|
|
614
625
|
UpdateConnectorRequest.add_member(:connector_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "connectorArn"))
|
|
615
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"))
|
|
616
630
|
UpdateConnectorRequest.struct_class = Types::UpdateConnectorRequest
|
|
617
631
|
|
|
618
632
|
UpdateConnectorResponse.add_member(:connector_arn, Shapes::ShapeRef.new(shape: __string, location_name: "connectorArn"))
|
|
@@ -655,6 +669,10 @@ module Aws::KafkaConnect
|
|
|
655
669
|
WorkerConfigurationSummary.add_member(:worker_configuration_state, Shapes::ShapeRef.new(shape: WorkerConfigurationState, location_name: "workerConfigurationState"))
|
|
656
670
|
WorkerConfigurationSummary.struct_class = Types::WorkerConfigurationSummary
|
|
657
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
|
+
|
|
658
676
|
WorkerLogDelivery.add_member(:cloud_watch_logs, Shapes::ShapeRef.new(shape: CloudWatchLogsLogDelivery, location_name: "cloudWatchLogs"))
|
|
659
677
|
WorkerLogDelivery.add_member(:firehose, Shapes::ShapeRef.new(shape: FirehoseLogDelivery, location_name: "firehose"))
|
|
660
678
|
WorkerLogDelivery.add_member(:s3, Shapes::ShapeRef.new(shape: S3LogDelivery, location_name: "s3"))
|
|
@@ -666,6 +684,9 @@ module Aws::KafkaConnect
|
|
|
666
684
|
WorkerLogDeliveryDescription.struct_class = Types::WorkerLogDeliveryDescription
|
|
667
685
|
|
|
668
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"))
|
|
669
690
|
WorkerSetting.struct_class = Types::WorkerSetting
|
|
670
691
|
|
|
671
692
|
__listOfConnectorOperationStep.member = Shapes::ShapeRef.new(shape: ConnectorOperationStep)
|
|
@@ -680,6 +701,8 @@ module Aws::KafkaConnect
|
|
|
680
701
|
|
|
681
702
|
__listOfPluginDescription.member = Shapes::ShapeRef.new(shape: PluginDescription)
|
|
682
703
|
|
|
704
|
+
__listOfPluginUpdate.member = Shapes::ShapeRef.new(shape: PluginUpdate)
|
|
705
|
+
|
|
683
706
|
__listOfWorkerConfigurationSummary.member = Shapes::ShapeRef.new(shape: WorkerConfigurationSummary)
|
|
684
707
|
|
|
685
708
|
__listOf__string.member = Shapes::ShapeRef.new(shape: __string)
|
|
@@ -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.
|
|
@@ -1729,6 +1749,21 @@ module Aws::KafkaConnect
|
|
|
1729
1749
|
include Aws::Structure
|
|
1730
1750
|
end
|
|
1731
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
|
+
|
|
1732
1767
|
# Details about a connector's provisioned capacity.
|
|
1733
1768
|
#
|
|
1734
1769
|
# @!attribute [rw] mcu_count
|
|
@@ -2182,6 +2217,37 @@ module Aws::KafkaConnect
|
|
|
2182
2217
|
# The current version of the connector that you want to update.
|
|
2183
2218
|
# @return [String]
|
|
2184
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
|
+
#
|
|
2185
2251
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/UpdateConnectorRequest AWS API Documentation
|
|
2186
2252
|
#
|
|
2187
2253
|
class UpdateConnectorRequest < Struct.new(
|
|
@@ -2189,7 +2255,10 @@ module Aws::KafkaConnect
|
|
|
2189
2255
|
:connector_configuration,
|
|
2190
2256
|
:skip_health_validation,
|
|
2191
2257
|
:connector_arn,
|
|
2192
|
-
:current_version
|
|
2258
|
+
:current_version,
|
|
2259
|
+
:plugins,
|
|
2260
|
+
:worker_configuration,
|
|
2261
|
+
:use_default_worker_configuration)
|
|
2193
2262
|
SENSITIVE = [:connector_configuration]
|
|
2194
2263
|
include Aws::Structure
|
|
2195
2264
|
end
|
|
@@ -2385,6 +2454,26 @@ module Aws::KafkaConnect
|
|
|
2385
2454
|
include Aws::Structure
|
|
2386
2455
|
end
|
|
2387
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
|
+
|
|
2388
2477
|
# Workers can send worker logs to different destination types. This
|
|
2389
2478
|
# configuration specifies the details of these destinations.
|
|
2390
2479
|
#
|
|
@@ -2438,13 +2527,29 @@ module Aws::KafkaConnect
|
|
|
2438
2527
|
# Details about worker setting of a connector
|
|
2439
2528
|
#
|
|
2440
2529
|
# @!attribute [rw] capacity
|
|
2441
|
-
#
|
|
2530
|
+
# Specifies the compute capacity settings of the connector.
|
|
2442
2531
|
# @return [Types::CapacityDescription]
|
|
2443
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
|
+
#
|
|
2444
2546
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/WorkerSetting AWS API Documentation
|
|
2445
2547
|
#
|
|
2446
2548
|
class WorkerSetting < Struct.new(
|
|
2447
|
-
:capacity
|
|
2549
|
+
:capacity,
|
|
2550
|
+
:plugins,
|
|
2551
|
+
:worker_configuration,
|
|
2552
|
+
:use_default_worker_configuration)
|
|
2448
2553
|
SENSITIVE = []
|
|
2449
2554
|
include Aws::Structure
|
|
2450
2555
|
end
|
data/lib/aws-sdk-kafkaconnect.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -457,7 +457,20 @@ module Aws
|
|
|
457
457
|
?connector_configuration: Hash[::String, ::String],
|
|
458
458
|
?skip_health_validation: bool,
|
|
459
459
|
connector_arn: ::String,
|
|
460
|
-
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
|
|
461
474
|
) -> _UpdateConnectorResponseSuccess
|
|
462
475
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateConnectorResponseSuccess
|
|
463
476
|
end
|
data/sig/types.rbs
CHANGED
|
@@ -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
|
|
@@ -495,6 +501,11 @@ module Aws::KafkaConnect
|
|
|
495
501
|
SENSITIVE: []
|
|
496
502
|
end
|
|
497
503
|
|
|
504
|
+
class PluginUpdate
|
|
505
|
+
attr_accessor custom_plugin: Types::CustomPluginUpdate
|
|
506
|
+
SENSITIVE: []
|
|
507
|
+
end
|
|
508
|
+
|
|
498
509
|
class ProvisionedCapacity
|
|
499
510
|
attr_accessor mcu_count: ::Integer
|
|
500
511
|
attr_accessor worker_count: ::Integer
|
|
@@ -639,6 +650,9 @@ module Aws::KafkaConnect
|
|
|
639
650
|
attr_accessor skip_health_validation: bool
|
|
640
651
|
attr_accessor connector_arn: ::String
|
|
641
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
|
|
642
656
|
SENSITIVE: [:connector_configuration]
|
|
643
657
|
end
|
|
644
658
|
|
|
@@ -698,6 +712,12 @@ module Aws::KafkaConnect
|
|
|
698
712
|
SENSITIVE: []
|
|
699
713
|
end
|
|
700
714
|
|
|
715
|
+
class WorkerConfigurationUpdate
|
|
716
|
+
attr_accessor revision: ::Integer
|
|
717
|
+
attr_accessor worker_configuration_arn: ::String
|
|
718
|
+
SENSITIVE: []
|
|
719
|
+
end
|
|
720
|
+
|
|
701
721
|
class WorkerLogDelivery
|
|
702
722
|
attr_accessor cloud_watch_logs: Types::CloudWatchLogsLogDelivery
|
|
703
723
|
attr_accessor firehose: Types::FirehoseLogDelivery
|
|
@@ -714,6 +734,9 @@ module Aws::KafkaConnect
|
|
|
714
734
|
|
|
715
735
|
class WorkerSetting
|
|
716
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
|
|
717
740
|
SENSITIVE: []
|
|
718
741
|
end
|
|
719
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
|