aws-sdk-kafkaconnect 1.32.0 → 1.34.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -52,15 +52,18 @@ module Aws::KafkaConnect
52
52
  self[:region] = options[:region]
53
53
  self[:use_dual_stack] = options[:use_dual_stack]
54
54
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
- if self[:use_dual_stack].nil?
56
- raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
57
- end
58
55
  self[:use_fips] = options[:use_fips]
59
56
  self[:use_fips] = false if self[:use_fips].nil?
60
- if self[:use_fips].nil?
61
- raise ArgumentError, "Missing required EndpointParameter: :use_fips"
62
- end
63
57
  self[:endpoint] = options[:endpoint]
64
58
  end
59
+
60
+ def self.create(config, options={})
61
+ new({
62
+ region: config.region,
63
+ use_dual_stack: config.use_dualstack_endpoint,
64
+ use_fips: config.use_fips_endpoint,
65
+ endpoint: (config.endpoint.to_s unless config.regional_endpoint),
66
+ }.merge(options))
67
+ end
65
68
  end
66
69
  end
@@ -12,181 +12,9 @@ module Aws::KafkaConnect
12
12
  # @api private
13
13
  module Endpoints
14
14
 
15
- class CreateConnector
16
- def self.build(context)
17
- Aws::KafkaConnect::EndpointParameters.new(
18
- region: context.config.region,
19
- use_dual_stack: context.config.use_dualstack_endpoint,
20
- use_fips: context.config.use_fips_endpoint,
21
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
22
- )
23
- end
24
- end
25
-
26
- class CreateCustomPlugin
27
- def self.build(context)
28
- Aws::KafkaConnect::EndpointParameters.new(
29
- region: context.config.region,
30
- use_dual_stack: context.config.use_dualstack_endpoint,
31
- use_fips: context.config.use_fips_endpoint,
32
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
33
- )
34
- end
35
- end
36
-
37
- class CreateWorkerConfiguration
38
- def self.build(context)
39
- Aws::KafkaConnect::EndpointParameters.new(
40
- region: context.config.region,
41
- use_dual_stack: context.config.use_dualstack_endpoint,
42
- use_fips: context.config.use_fips_endpoint,
43
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
44
- )
45
- end
46
- end
47
-
48
- class DeleteConnector
49
- def self.build(context)
50
- Aws::KafkaConnect::EndpointParameters.new(
51
- region: context.config.region,
52
- use_dual_stack: context.config.use_dualstack_endpoint,
53
- use_fips: context.config.use_fips_endpoint,
54
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
55
- )
56
- end
57
- end
58
-
59
- class DeleteCustomPlugin
60
- def self.build(context)
61
- Aws::KafkaConnect::EndpointParameters.new(
62
- region: context.config.region,
63
- use_dual_stack: context.config.use_dualstack_endpoint,
64
- use_fips: context.config.use_fips_endpoint,
65
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
66
- )
67
- end
68
- end
69
-
70
- class DeleteWorkerConfiguration
71
- def self.build(context)
72
- Aws::KafkaConnect::EndpointParameters.new(
73
- region: context.config.region,
74
- use_dual_stack: context.config.use_dualstack_endpoint,
75
- use_fips: context.config.use_fips_endpoint,
76
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
77
- )
78
- end
79
- end
80
-
81
- class DescribeConnector
82
- def self.build(context)
83
- Aws::KafkaConnect::EndpointParameters.new(
84
- region: context.config.region,
85
- use_dual_stack: context.config.use_dualstack_endpoint,
86
- use_fips: context.config.use_fips_endpoint,
87
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
88
- )
89
- end
90
- end
91
-
92
- class DescribeCustomPlugin
93
- def self.build(context)
94
- Aws::KafkaConnect::EndpointParameters.new(
95
- region: context.config.region,
96
- use_dual_stack: context.config.use_dualstack_endpoint,
97
- use_fips: context.config.use_fips_endpoint,
98
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
99
- )
100
- end
101
- end
102
15
 
103
- class DescribeWorkerConfiguration
104
- def self.build(context)
105
- Aws::KafkaConnect::EndpointParameters.new(
106
- region: context.config.region,
107
- use_dual_stack: context.config.use_dualstack_endpoint,
108
- use_fips: context.config.use_fips_endpoint,
109
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
110
- )
111
- end
16
+ def self.parameters_for_operation(context)
17
+ Aws::KafkaConnect::EndpointParameters.create(context.config)
112
18
  end
113
-
114
- class ListConnectors
115
- def self.build(context)
116
- Aws::KafkaConnect::EndpointParameters.new(
117
- region: context.config.region,
118
- use_dual_stack: context.config.use_dualstack_endpoint,
119
- use_fips: context.config.use_fips_endpoint,
120
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
121
- )
122
- end
123
- end
124
-
125
- class ListCustomPlugins
126
- def self.build(context)
127
- Aws::KafkaConnect::EndpointParameters.new(
128
- region: context.config.region,
129
- use_dual_stack: context.config.use_dualstack_endpoint,
130
- use_fips: context.config.use_fips_endpoint,
131
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
132
- )
133
- end
134
- end
135
-
136
- class ListTagsForResource
137
- def self.build(context)
138
- Aws::KafkaConnect::EndpointParameters.new(
139
- region: context.config.region,
140
- use_dual_stack: context.config.use_dualstack_endpoint,
141
- use_fips: context.config.use_fips_endpoint,
142
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
143
- )
144
- end
145
- end
146
-
147
- class ListWorkerConfigurations
148
- def self.build(context)
149
- Aws::KafkaConnect::EndpointParameters.new(
150
- region: context.config.region,
151
- use_dual_stack: context.config.use_dualstack_endpoint,
152
- use_fips: context.config.use_fips_endpoint,
153
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
154
- )
155
- end
156
- end
157
-
158
- class TagResource
159
- def self.build(context)
160
- Aws::KafkaConnect::EndpointParameters.new(
161
- region: context.config.region,
162
- use_dual_stack: context.config.use_dualstack_endpoint,
163
- use_fips: context.config.use_fips_endpoint,
164
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
165
- )
166
- end
167
- end
168
-
169
- class UntagResource
170
- def self.build(context)
171
- Aws::KafkaConnect::EndpointParameters.new(
172
- region: context.config.region,
173
- use_dual_stack: context.config.use_dualstack_endpoint,
174
- use_fips: context.config.use_fips_endpoint,
175
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
176
- )
177
- end
178
- end
179
-
180
- class UpdateConnector
181
- def self.build(context)
182
- Aws::KafkaConnect::EndpointParameters.new(
183
- region: context.config.region,
184
- use_dual_stack: context.config.use_dualstack_endpoint,
185
- use_fips: context.config.use_fips_endpoint,
186
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
187
- )
188
- end
189
- end
190
-
191
19
  end
192
20
  end
@@ -27,7 +27,7 @@ The endpoint provider used to resolve endpoints. Any object that responds to
27
27
  class Handler < Seahorse::Client::Handler
28
28
  def call(context)
29
29
  unless context[:discovered_endpoint]
30
- params = parameters_for_operation(context)
30
+ params = Aws::KafkaConnect::Endpoints.parameters_for_operation(context)
31
31
  endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
32
 
33
33
  context.http_request.endpoint = endpoint.url
@@ -67,43 +67,6 @@ The endpoint provider used to resolve endpoints. Any object that responds to
67
67
  context.http_request.headers[key] = value
68
68
  end
69
69
  end
70
-
71
- def parameters_for_operation(context)
72
- case context.operation_name
73
- when :create_connector
74
- Aws::KafkaConnect::Endpoints::CreateConnector.build(context)
75
- when :create_custom_plugin
76
- Aws::KafkaConnect::Endpoints::CreateCustomPlugin.build(context)
77
- when :create_worker_configuration
78
- Aws::KafkaConnect::Endpoints::CreateWorkerConfiguration.build(context)
79
- when :delete_connector
80
- Aws::KafkaConnect::Endpoints::DeleteConnector.build(context)
81
- when :delete_custom_plugin
82
- Aws::KafkaConnect::Endpoints::DeleteCustomPlugin.build(context)
83
- when :delete_worker_configuration
84
- Aws::KafkaConnect::Endpoints::DeleteWorkerConfiguration.build(context)
85
- when :describe_connector
86
- Aws::KafkaConnect::Endpoints::DescribeConnector.build(context)
87
- when :describe_custom_plugin
88
- Aws::KafkaConnect::Endpoints::DescribeCustomPlugin.build(context)
89
- when :describe_worker_configuration
90
- Aws::KafkaConnect::Endpoints::DescribeWorkerConfiguration.build(context)
91
- when :list_connectors
92
- Aws::KafkaConnect::Endpoints::ListConnectors.build(context)
93
- when :list_custom_plugins
94
- Aws::KafkaConnect::Endpoints::ListCustomPlugins.build(context)
95
- when :list_tags_for_resource
96
- Aws::KafkaConnect::Endpoints::ListTagsForResource.build(context)
97
- when :list_worker_configurations
98
- Aws::KafkaConnect::Endpoints::ListWorkerConfigurations.build(context)
99
- when :tag_resource
100
- Aws::KafkaConnect::Endpoints::TagResource.build(context)
101
- when :untag_resource
102
- Aws::KafkaConnect::Endpoints::UntagResource.build(context)
103
- when :update_connector
104
- Aws::KafkaConnect::Endpoints::UpdateConnector.build(context)
105
- end
106
- end
107
70
  end
108
71
 
109
72
  def add_handlers(handlers, _config)
@@ -284,6 +284,59 @@ module Aws::KafkaConnect
284
284
  include Aws::Structure
285
285
  end
286
286
 
287
+ # Details of a step that is involved in a connector's operation.
288
+ #
289
+ # @!attribute [rw] step_type
290
+ # The step type of the operation.
291
+ # @return [String]
292
+ #
293
+ # @!attribute [rw] step_state
294
+ # The step state of the operation.
295
+ # @return [String]
296
+ #
297
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/ConnectorOperationStep AWS API Documentation
298
+ #
299
+ class ConnectorOperationStep < Struct.new(
300
+ :step_type,
301
+ :step_state)
302
+ SENSITIVE = []
303
+ include Aws::Structure
304
+ end
305
+
306
+ # Summary of a connector operation.
307
+ #
308
+ # @!attribute [rw] connector_operation_arn
309
+ # The Amazon Resource Name (ARN) of the connector operation.
310
+ # @return [String]
311
+ #
312
+ # @!attribute [rw] connector_operation_type
313
+ # The type of connector operation performed.
314
+ # @return [String]
315
+ #
316
+ # @!attribute [rw] connector_operation_state
317
+ # The state of the connector operation.
318
+ # @return [String]
319
+ #
320
+ # @!attribute [rw] creation_time
321
+ # The time when operation was created.
322
+ # @return [Time]
323
+ #
324
+ # @!attribute [rw] end_time
325
+ # The time when operation ended.
326
+ # @return [Time]
327
+ #
328
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/ConnectorOperationSummary AWS API Documentation
329
+ #
330
+ class ConnectorOperationSummary < Struct.new(
331
+ :connector_operation_arn,
332
+ :connector_operation_type,
333
+ :connector_operation_state,
334
+ :creation_time,
335
+ :end_time)
336
+ SENSITIVE = []
337
+ include Aws::Structure
338
+ end
339
+
287
340
  # Summary of a connector.
288
341
  #
289
342
  # @!attribute [rw] capacity
@@ -432,14 +485,14 @@ module Aws::KafkaConnect
432
485
  # that allow it to write to the S3 destination bucket.
433
486
  # @return [String]
434
487
  #
435
- # @!attribute [rw] tags
436
- # The tags you want to attach to the connector.
437
- # @return [Hash<String,String>]
438
- #
439
488
  # @!attribute [rw] worker_configuration
440
489
  # Specifies which worker configuration to use with the connector.
441
490
  # @return [Types::WorkerConfiguration]
442
491
  #
492
+ # @!attribute [rw] tags
493
+ # The tags you want to attach to the connector.
494
+ # @return [Hash<String,String>]
495
+ #
443
496
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/CreateConnectorRequest AWS API Documentation
444
497
  #
445
498
  class CreateConnectorRequest < Struct.new(
@@ -454,8 +507,8 @@ module Aws::KafkaConnect
454
507
  :log_delivery,
455
508
  :plugins,
456
509
  :service_execution_role_arn,
457
- :tags,
458
- :worker_configuration)
510
+ :worker_configuration,
511
+ :tags)
459
512
  SENSITIVE = [:connector_configuration]
460
513
  include Aws::Structure
461
514
  end
@@ -869,6 +922,85 @@ module Aws::KafkaConnect
869
922
  include Aws::Structure
870
923
  end
871
924
 
925
+ # @!attribute [rw] connector_operation_arn
926
+ # ARN of the connector operation to be described.
927
+ # @return [String]
928
+ #
929
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/DescribeConnectorOperationRequest AWS API Documentation
930
+ #
931
+ class DescribeConnectorOperationRequest < Struct.new(
932
+ :connector_operation_arn)
933
+ SENSITIVE = []
934
+ include Aws::Structure
935
+ end
936
+
937
+ # @!attribute [rw] connector_arn
938
+ # The Amazon Resource Name (ARN) of the connector.
939
+ # @return [String]
940
+ #
941
+ # @!attribute [rw] connector_operation_arn
942
+ # The Amazon Resource Name (ARN) of the connector operation.
943
+ # @return [String]
944
+ #
945
+ # @!attribute [rw] connector_operation_state
946
+ # The state of the connector operation.
947
+ # @return [String]
948
+ #
949
+ # @!attribute [rw] connector_operation_type
950
+ # The type of connector operation performed.
951
+ # @return [String]
952
+ #
953
+ # @!attribute [rw] operation_steps
954
+ # The array of operation steps taken.
955
+ # @return [Array<Types::ConnectorOperationStep>]
956
+ #
957
+ # @!attribute [rw] origin_worker_setting
958
+ # The origin worker setting.
959
+ # @return [Types::WorkerSetting]
960
+ #
961
+ # @!attribute [rw] origin_connector_configuration
962
+ # The origin connector configuration.
963
+ # @return [Hash<String,String>]
964
+ #
965
+ # @!attribute [rw] target_worker_setting
966
+ # The target worker setting.
967
+ # @return [Types::WorkerSetting]
968
+ #
969
+ # @!attribute [rw] target_connector_configuration
970
+ # The target connector configuration.
971
+ # @return [Hash<String,String>]
972
+ #
973
+ # @!attribute [rw] error_info
974
+ # Details about the state of a resource.
975
+ # @return [Types::StateDescription]
976
+ #
977
+ # @!attribute [rw] creation_time
978
+ # The time when the operation was created.
979
+ # @return [Time]
980
+ #
981
+ # @!attribute [rw] end_time
982
+ # The time when the operation ended.
983
+ # @return [Time]
984
+ #
985
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/DescribeConnectorOperationResponse AWS API Documentation
986
+ #
987
+ class DescribeConnectorOperationResponse < Struct.new(
988
+ :connector_arn,
989
+ :connector_operation_arn,
990
+ :connector_operation_state,
991
+ :connector_operation_type,
992
+ :operation_steps,
993
+ :origin_worker_setting,
994
+ :origin_connector_configuration,
995
+ :target_worker_setting,
996
+ :target_connector_configuration,
997
+ :error_info,
998
+ :creation_time,
999
+ :end_time)
1000
+ SENSITIVE = [:origin_connector_configuration, :target_connector_configuration]
1001
+ include Aws::Structure
1002
+ end
1003
+
872
1004
  # @!attribute [rw] connector_arn
873
1005
  # The Amazon Resource Name (ARN) of the connector that you want to
874
1006
  # describe.
@@ -948,14 +1080,14 @@ module Aws::KafkaConnect
948
1080
  # to access Amazon Web Services resources.
949
1081
  # @return [String]
950
1082
  #
951
- # @!attribute [rw] state_description
952
- # Details about the state of a connector.
953
- # @return [Types::StateDescription]
954
- #
955
1083
  # @!attribute [rw] worker_configuration
956
1084
  # Specifies which worker configuration was used for the connector.
957
1085
  # @return [Types::WorkerConfigurationDescription]
958
1086
  #
1087
+ # @!attribute [rw] state_description
1088
+ # Details about the state of a connector.
1089
+ # @return [Types::StateDescription]
1090
+ #
959
1091
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/DescribeConnectorResponse AWS API Documentation
960
1092
  #
961
1093
  class DescribeConnectorResponse < Struct.new(
@@ -974,8 +1106,8 @@ module Aws::KafkaConnect
974
1106
  :log_delivery,
975
1107
  :plugins,
976
1108
  :service_execution_role_arn,
977
- :state_description,
978
- :worker_configuration)
1109
+ :worker_configuration,
1110
+ :state_description)
979
1111
  SENSITIVE = [:connector_configuration]
980
1112
  include Aws::Structure
981
1113
  end
@@ -1249,6 +1381,50 @@ module Aws::KafkaConnect
1249
1381
  include Aws::Structure
1250
1382
  end
1251
1383
 
1384
+ # @!attribute [rw] connector_arn
1385
+ # The Amazon Resource Name (ARN) of the connector for which to list
1386
+ # operations.
1387
+ # @return [String]
1388
+ #
1389
+ # @!attribute [rw] max_results
1390
+ # Maximum number of connector operations to fetch in one get request.
1391
+ # @return [Integer]
1392
+ #
1393
+ # @!attribute [rw] next_token
1394
+ # If the response is truncated, it includes a NextToken. Send this
1395
+ # NextToken in a subsequent request to continue listing from where it
1396
+ # left off.
1397
+ # @return [String]
1398
+ #
1399
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/ListConnectorOperationsRequest AWS API Documentation
1400
+ #
1401
+ class ListConnectorOperationsRequest < Struct.new(
1402
+ :connector_arn,
1403
+ :max_results,
1404
+ :next_token)
1405
+ SENSITIVE = []
1406
+ include Aws::Structure
1407
+ end
1408
+
1409
+ # @!attribute [rw] connector_operations
1410
+ # An array of connector operation descriptions.
1411
+ # @return [Array<Types::ConnectorOperationSummary>]
1412
+ #
1413
+ # @!attribute [rw] next_token
1414
+ # If the response is truncated, it includes a NextToken. Send this
1415
+ # NextToken in a subsequent request to continue listing from where it
1416
+ # left off.
1417
+ # @return [String]
1418
+ #
1419
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/ListConnectorOperationsResponse AWS API Documentation
1420
+ #
1421
+ class ListConnectorOperationsResponse < Struct.new(
1422
+ :connector_operations,
1423
+ :next_token)
1424
+ SENSITIVE = []
1425
+ include Aws::Structure
1426
+ end
1427
+
1252
1428
  # @!attribute [rw] connector_name_prefix
1253
1429
  # The name prefix that you want to use to search for and list
1254
1430
  # connectors.
@@ -1297,10 +1473,6 @@ module Aws::KafkaConnect
1297
1473
  # The maximum number of custom plugins to list in one response.
1298
1474
  # @return [Integer]
1299
1475
  #
1300
- # @!attribute [rw] name_prefix
1301
- # Lists custom plugin names that start with the specified text string.
1302
- # @return [String]
1303
- #
1304
1476
  # @!attribute [rw] next_token
1305
1477
  # If the response of a ListCustomPlugins operation is truncated, it
1306
1478
  # will include a NextToken. Send this NextToken in a subsequent
@@ -1308,12 +1480,16 @@ module Aws::KafkaConnect
1308
1480
  # off.
1309
1481
  # @return [String]
1310
1482
  #
1483
+ # @!attribute [rw] name_prefix
1484
+ # Lists custom plugin names that start with the specified text string.
1485
+ # @return [String]
1486
+ #
1311
1487
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/ListCustomPluginsRequest AWS API Documentation
1312
1488
  #
1313
1489
  class ListCustomPluginsRequest < Struct.new(
1314
1490
  :max_results,
1315
- :name_prefix,
1316
- :next_token)
1491
+ :next_token,
1492
+ :name_prefix)
1317
1493
  SENSITIVE = []
1318
1494
  include Aws::Structure
1319
1495
  end
@@ -1368,11 +1544,6 @@ module Aws::KafkaConnect
1368
1544
  # The maximum number of worker configurations to list in one response.
1369
1545
  # @return [Integer]
1370
1546
  #
1371
- # @!attribute [rw] name_prefix
1372
- # Lists worker configuration names that start with the specified text
1373
- # string.
1374
- # @return [String]
1375
- #
1376
1547
  # @!attribute [rw] next_token
1377
1548
  # If the response of a ListWorkerConfigurations operation is
1378
1549
  # truncated, it will include a NextToken. Send this NextToken in a
@@ -1380,12 +1551,17 @@ module Aws::KafkaConnect
1380
1551
  # operation left off.
1381
1552
  # @return [String]
1382
1553
  #
1554
+ # @!attribute [rw] name_prefix
1555
+ # Lists worker configuration names that start with the specified text
1556
+ # string.
1557
+ # @return [String]
1558
+ #
1383
1559
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/ListWorkerConfigurationsRequest AWS API Documentation
1384
1560
  #
1385
1561
  class ListWorkerConfigurationsRequest < Struct.new(
1386
1562
  :max_results,
1387
- :name_prefix,
1388
- :next_token)
1563
+ :next_token,
1564
+ :name_prefix)
1389
1565
  SENSITIVE = []
1390
1566
  include Aws::Structure
1391
1567
  end
@@ -1839,6 +2015,11 @@ module Aws::KafkaConnect
1839
2015
  # The target capacity.
1840
2016
  # @return [Types::CapacityUpdate]
1841
2017
  #
2018
+ # @!attribute [rw] connector_configuration
2019
+ # A map of keys to values that represent the configuration for the
2020
+ # connector.
2021
+ # @return [Hash<String,String>]
2022
+ #
1842
2023
  # @!attribute [rw] connector_arn
1843
2024
  # The Amazon Resource Name (ARN) of the connector that you want to
1844
2025
  # update.
@@ -1852,9 +2033,10 @@ module Aws::KafkaConnect
1852
2033
  #
1853
2034
  class UpdateConnectorRequest < Struct.new(
1854
2035
  :capacity,
2036
+ :connector_configuration,
1855
2037
  :connector_arn,
1856
2038
  :current_version)
1857
- SENSITIVE = []
2039
+ SENSITIVE = [:connector_configuration]
1858
2040
  include Aws::Structure
1859
2041
  end
1860
2042
 
@@ -1866,11 +2048,16 @@ module Aws::KafkaConnect
1866
2048
  # The state of the connector.
1867
2049
  # @return [String]
1868
2050
  #
2051
+ # @!attribute [rw] connector_operation_arn
2052
+ # The Amazon Resource Name (ARN) of the connector operation.
2053
+ # @return [String]
2054
+ #
1869
2055
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/UpdateConnectorResponse AWS API Documentation
1870
2056
  #
1871
2057
  class UpdateConnectorResponse < Struct.new(
1872
2058
  :connector_arn,
1873
- :connector_state)
2059
+ :connector_state,
2060
+ :connector_operation_arn)
1874
2061
  SENSITIVE = []
1875
2062
  include Aws::Structure
1876
2063
  end
@@ -2094,6 +2281,20 @@ module Aws::KafkaConnect
2094
2281
  include Aws::Structure
2095
2282
  end
2096
2283
 
2284
+ # Details about worker setting of a connector
2285
+ #
2286
+ # @!attribute [rw] capacity
2287
+ # A description of the connector's capacity.
2288
+ # @return [Types::CapacityDescription]
2289
+ #
2290
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/WorkerSetting AWS API Documentation
2291
+ #
2292
+ class WorkerSetting < Struct.new(
2293
+ :capacity)
2294
+ SENSITIVE = []
2295
+ include Aws::Structure
2296
+ end
2297
+
2097
2298
  end
2098
2299
  end
2099
2300
 
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ require 'aws-sdk-core/waiters'
11
+
12
+ module Aws::KafkaConnect
13
+ module Waiters
14
+ end
15
+ end
@@ -49,12 +49,13 @@ module Aws::KafkaConnect
49
49
  end
50
50
  autoload :Client, 'aws-sdk-kafkaconnect/client'
51
51
  autoload :Errors, 'aws-sdk-kafkaconnect/errors'
52
+ autoload :Waiters, 'aws-sdk-kafkaconnect/waiters'
52
53
  autoload :Resource, 'aws-sdk-kafkaconnect/resource'
53
54
  autoload :EndpointParameters, 'aws-sdk-kafkaconnect/endpoint_parameters'
54
55
  autoload :EndpointProvider, 'aws-sdk-kafkaconnect/endpoint_provider'
55
56
  autoload :Endpoints, 'aws-sdk-kafkaconnect/endpoints'
56
57
 
57
- GEM_VERSION = '1.32.0'
58
+ GEM_VERSION = '1.34.0'
58
59
 
59
60
  end
60
61