aws-sdk-kafkaconnect 1.33.0 → 1.35.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.
@@ -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.33.0'
58
+ GEM_VERSION = '1.35.0'
58
59
 
59
60
  end
60
61
 
data/sig/client.rbs CHANGED
@@ -39,7 +39,9 @@ module Aws
39
39
  ?logger: untyped,
40
40
  ?max_attempts: Integer,
41
41
  ?profile: String,
42
+ ?request_checksum_calculation: String,
42
43
  ?request_min_compression_size_bytes: Integer,
44
+ ?response_checksum_validation: String,
43
45
  ?retry_backoff: Proc,
44
46
  ?retry_base_delay: Float,
45
47
  ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
@@ -145,11 +147,11 @@ module Aws
145
147
  },
146
148
  ],
147
149
  service_execution_role_arn: ::String,
148
- ?tags: Hash[::String, ::String],
149
150
  ?worker_configuration: {
150
151
  revision: ::Integer,
151
152
  worker_configuration_arn: ::String
152
- }
153
+ },
154
+ ?tags: Hash[::String, ::String]
153
155
  ) -> _CreateConnectorResponseSuccess
154
156
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateConnectorResponseSuccess
155
157
 
@@ -244,8 +246,8 @@ module Aws
244
246
  def log_delivery: () -> Types::LogDeliveryDescription
245
247
  def plugins: () -> ::Array[Types::PluginDescription]
246
248
  def service_execution_role_arn: () -> ::String
247
- def state_description: () -> Types::StateDescription
248
249
  def worker_configuration: () -> Types::WorkerConfigurationDescription
250
+ def state_description: () -> Types::StateDescription
249
251
  end
250
252
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KafkaConnect/Client.html#describe_connector-instance_method
251
253
  def describe_connector: (
@@ -253,6 +255,27 @@ module Aws
253
255
  ) -> _DescribeConnectorResponseSuccess
254
256
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeConnectorResponseSuccess
255
257
 
258
+ interface _DescribeConnectorOperationResponseSuccess
259
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeConnectorOperationResponse]
260
+ def connector_arn: () -> ::String
261
+ def connector_operation_arn: () -> ::String
262
+ def connector_operation_state: () -> ("PENDING" | "UPDATE_IN_PROGRESS" | "UPDATE_COMPLETE" | "UPDATE_FAILED" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_FAILED" | "ROLLBACK_COMPLETE")
263
+ def connector_operation_type: () -> ("UPDATE_WORKER_SETTING" | "UPDATE_CONNECTOR_CONFIGURATION" | "ISOLATE_CONNECTOR" | "RESTORE_CONNECTOR")
264
+ def operation_steps: () -> ::Array[Types::ConnectorOperationStep]
265
+ def origin_worker_setting: () -> Types::WorkerSetting
266
+ def origin_connector_configuration: () -> ::Hash[::String, ::String]
267
+ def target_worker_setting: () -> Types::WorkerSetting
268
+ def target_connector_configuration: () -> ::Hash[::String, ::String]
269
+ def error_info: () -> Types::StateDescription
270
+ def creation_time: () -> ::Time
271
+ def end_time: () -> ::Time
272
+ end
273
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KafkaConnect/Client.html#describe_connector_operation-instance_method
274
+ def describe_connector_operation: (
275
+ connector_operation_arn: ::String
276
+ ) -> _DescribeConnectorOperationResponseSuccess
277
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeConnectorOperationResponseSuccess
278
+
256
279
  interface _DescribeCustomPluginResponseSuccess
257
280
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeCustomPluginResponse]
258
281
  def creation_time: () -> ::Time
@@ -284,6 +307,19 @@ module Aws
284
307
  ) -> _DescribeWorkerConfigurationResponseSuccess
285
308
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeWorkerConfigurationResponseSuccess
286
309
 
310
+ interface _ListConnectorOperationsResponseSuccess
311
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListConnectorOperationsResponse]
312
+ def connector_operations: () -> ::Array[Types::ConnectorOperationSummary]
313
+ def next_token: () -> ::String
314
+ end
315
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KafkaConnect/Client.html#list_connector_operations-instance_method
316
+ def list_connector_operations: (
317
+ connector_arn: ::String,
318
+ ?max_results: ::Integer,
319
+ ?next_token: ::String
320
+ ) -> _ListConnectorOperationsResponseSuccess
321
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListConnectorOperationsResponseSuccess
322
+
287
323
  interface _ListConnectorsResponseSuccess
288
324
  include ::Seahorse::Client::_ResponseSuccess[Types::ListConnectorsResponse]
289
325
  def connectors: () -> ::Array[Types::ConnectorSummary]
@@ -305,8 +341,8 @@ module Aws
305
341
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KafkaConnect/Client.html#list_custom_plugins-instance_method
306
342
  def list_custom_plugins: (
307
343
  ?max_results: ::Integer,
308
- ?name_prefix: ::String,
309
- ?next_token: ::String
344
+ ?next_token: ::String,
345
+ ?name_prefix: ::String
310
346
  ) -> _ListCustomPluginsResponseSuccess
311
347
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCustomPluginsResponseSuccess
312
348
 
@@ -328,8 +364,8 @@ module Aws
328
364
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KafkaConnect/Client.html#list_worker_configurations-instance_method
329
365
  def list_worker_configurations: (
330
366
  ?max_results: ::Integer,
331
- ?name_prefix: ::String,
332
- ?next_token: ::String
367
+ ?next_token: ::String,
368
+ ?name_prefix: ::String
333
369
  ) -> _ListWorkerConfigurationsResponseSuccess
334
370
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListWorkerConfigurationsResponseSuccess
335
371
 
@@ -357,10 +393,11 @@ module Aws
357
393
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateConnectorResponse]
358
394
  def connector_arn: () -> ::String
359
395
  def connector_state: () -> ("RUNNING" | "CREATING" | "UPDATING" | "DELETING" | "FAILED")
396
+ def connector_operation_arn: () -> ::String
360
397
  end
361
398
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KafkaConnect/Client.html#update_connector-instance_method
362
399
  def update_connector: (
363
- capacity: {
400
+ ?capacity: {
364
401
  auto_scaling: {
365
402
  max_worker_count: ::Integer,
366
403
  mcu_count: ::Integer,
@@ -377,6 +414,7 @@ module Aws
377
414
  worker_count: ::Integer
378
415
  }?
379
416
  },
417
+ ?connector_configuration: Hash[::String, ::String],
380
418
  connector_arn: ::String,
381
419
  current_version: ::String
382
420
  ) -> _UpdateConnectorResponseSuccess
data/sig/resource.rbs CHANGED
@@ -39,7 +39,9 @@ module Aws
39
39
  ?logger: untyped,
40
40
  ?max_attempts: Integer,
41
41
  ?profile: String,
42
+ ?request_checksum_calculation: String,
42
43
  ?request_min_compression_size_bytes: Integer,
44
+ ?response_checksum_validation: String,
43
45
  ?retry_backoff: Proc,
44
46
  ?retry_base_delay: Float,
45
47
  ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
data/sig/types.rbs CHANGED
@@ -87,6 +87,21 @@ module Aws::KafkaConnect
87
87
  SENSITIVE: []
88
88
  end
89
89
 
90
+ class ConnectorOperationStep
91
+ attr_accessor step_type: ("INITIALIZE_UPDATE" | "FINALIZE_UPDATE" | "UPDATE_WORKER_SETTING" | "UPDATE_CONNECTOR_CONFIGURATION" | "VALIDATE_UPDATE")
92
+ attr_accessor step_state: ("PENDING" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "CANCELLED")
93
+ SENSITIVE: []
94
+ end
95
+
96
+ class ConnectorOperationSummary
97
+ attr_accessor connector_operation_arn: ::String
98
+ attr_accessor connector_operation_type: ("UPDATE_WORKER_SETTING" | "UPDATE_CONNECTOR_CONFIGURATION" | "ISOLATE_CONNECTOR" | "RESTORE_CONNECTOR")
99
+ attr_accessor connector_operation_state: ("PENDING" | "UPDATE_IN_PROGRESS" | "UPDATE_COMPLETE" | "UPDATE_FAILED" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_FAILED" | "ROLLBACK_COMPLETE")
100
+ attr_accessor creation_time: ::Time
101
+ attr_accessor end_time: ::Time
102
+ SENSITIVE: []
103
+ end
104
+
90
105
  class ConnectorSummary
91
106
  attr_accessor capacity: Types::CapacityDescription
92
107
  attr_accessor connector_arn: ::String
@@ -118,8 +133,8 @@ module Aws::KafkaConnect
118
133
  attr_accessor log_delivery: Types::LogDelivery
119
134
  attr_accessor plugins: ::Array[Types::Plugin]
120
135
  attr_accessor service_execution_role_arn: ::String
121
- attr_accessor tags: ::Hash[::String, ::String]
122
136
  attr_accessor worker_configuration: Types::WorkerConfiguration
137
+ attr_accessor tags: ::Hash[::String, ::String]
123
138
  SENSITIVE: [:connector_configuration]
124
139
  end
125
140
 
@@ -246,6 +261,27 @@ module Aws::KafkaConnect
246
261
  SENSITIVE: []
247
262
  end
248
263
 
264
+ class DescribeConnectorOperationRequest
265
+ attr_accessor connector_operation_arn: ::String
266
+ SENSITIVE: []
267
+ end
268
+
269
+ class DescribeConnectorOperationResponse
270
+ attr_accessor connector_arn: ::String
271
+ attr_accessor connector_operation_arn: ::String
272
+ attr_accessor connector_operation_state: ("PENDING" | "UPDATE_IN_PROGRESS" | "UPDATE_COMPLETE" | "UPDATE_FAILED" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_FAILED" | "ROLLBACK_COMPLETE")
273
+ attr_accessor connector_operation_type: ("UPDATE_WORKER_SETTING" | "UPDATE_CONNECTOR_CONFIGURATION" | "ISOLATE_CONNECTOR" | "RESTORE_CONNECTOR")
274
+ attr_accessor operation_steps: ::Array[Types::ConnectorOperationStep]
275
+ attr_accessor origin_worker_setting: Types::WorkerSetting
276
+ attr_accessor origin_connector_configuration: ::Hash[::String, ::String]
277
+ attr_accessor target_worker_setting: Types::WorkerSetting
278
+ attr_accessor target_connector_configuration: ::Hash[::String, ::String]
279
+ attr_accessor error_info: Types::StateDescription
280
+ attr_accessor creation_time: ::Time
281
+ attr_accessor end_time: ::Time
282
+ SENSITIVE: [:origin_connector_configuration, :target_connector_configuration]
283
+ end
284
+
249
285
  class DescribeConnectorRequest
250
286
  attr_accessor connector_arn: ::String
251
287
  SENSITIVE: []
@@ -267,8 +303,8 @@ module Aws::KafkaConnect
267
303
  attr_accessor log_delivery: Types::LogDeliveryDescription
268
304
  attr_accessor plugins: ::Array[Types::PluginDescription]
269
305
  attr_accessor service_execution_role_arn: ::String
270
- attr_accessor state_description: Types::StateDescription
271
306
  attr_accessor worker_configuration: Types::WorkerConfigurationDescription
307
+ attr_accessor state_description: Types::StateDescription
272
308
  SENSITIVE: [:connector_configuration]
273
309
  end
274
310
 
@@ -355,6 +391,19 @@ module Aws::KafkaConnect
355
391
  SENSITIVE: []
356
392
  end
357
393
 
394
+ class ListConnectorOperationsRequest
395
+ attr_accessor connector_arn: ::String
396
+ attr_accessor max_results: ::Integer
397
+ attr_accessor next_token: ::String
398
+ SENSITIVE: []
399
+ end
400
+
401
+ class ListConnectorOperationsResponse
402
+ attr_accessor connector_operations: ::Array[Types::ConnectorOperationSummary]
403
+ attr_accessor next_token: ::String
404
+ SENSITIVE: []
405
+ end
406
+
358
407
  class ListConnectorsRequest
359
408
  attr_accessor connector_name_prefix: ::String
360
409
  attr_accessor max_results: ::Integer
@@ -370,8 +419,8 @@ module Aws::KafkaConnect
370
419
 
371
420
  class ListCustomPluginsRequest
372
421
  attr_accessor max_results: ::Integer
373
- attr_accessor name_prefix: ::String
374
422
  attr_accessor next_token: ::String
423
+ attr_accessor name_prefix: ::String
375
424
  SENSITIVE: []
376
425
  end
377
426
 
@@ -393,8 +442,8 @@ module Aws::KafkaConnect
393
442
 
394
443
  class ListWorkerConfigurationsRequest
395
444
  attr_accessor max_results: ::Integer
396
- attr_accessor name_prefix: ::String
397
445
  attr_accessor next_token: ::String
446
+ attr_accessor name_prefix: ::String
398
447
  SENSITIVE: []
399
448
  end
400
449
 
@@ -546,14 +595,16 @@ module Aws::KafkaConnect
546
595
 
547
596
  class UpdateConnectorRequest
548
597
  attr_accessor capacity: Types::CapacityUpdate
598
+ attr_accessor connector_configuration: ::Hash[::String, ::String]
549
599
  attr_accessor connector_arn: ::String
550
600
  attr_accessor current_version: ::String
551
- SENSITIVE: []
601
+ SENSITIVE: [:connector_configuration]
552
602
  end
553
603
 
554
604
  class UpdateConnectorResponse
555
605
  attr_accessor connector_arn: ::String
556
606
  attr_accessor connector_state: ("RUNNING" | "CREATING" | "UPDATING" | "DELETING" | "FAILED")
607
+ attr_accessor connector_operation_arn: ::String
557
608
  SENSITIVE: []
558
609
  end
559
610
 
@@ -619,5 +670,10 @@ module Aws::KafkaConnect
619
670
  attr_accessor s3: Types::S3LogDeliveryDescription
620
671
  SENSITIVE: []
621
672
  end
673
+
674
+ class WorkerSetting
675
+ attr_accessor capacity: Types::CapacityDescription
676
+ SENSITIVE: []
677
+ end
622
678
  end
623
679
  end