aws-sdk-kafkaconnect 1.60.0 → 1.61.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2002d63e988f6ff95547270bd14e0e2894cf0827b655f74987e16e3d920d9fa4
4
- data.tar.gz: 2caf444f5ca3d55161b2473b3638723fbd70efd61c605c12613c35db3b4dce28
3
+ metadata.gz: d7e5de9ad240cf639f81e78e27f7de8c8e50ed80101f07482642188af04ab7ce
4
+ data.tar.gz: 69cf99fc006cf0895bed435c785717badcf4e95fe2c0afa09caf1bbbbf82d269
5
5
  SHA512:
6
- metadata.gz: a583df2043845a433cd06d9d8e6a6bdedb2f8143cdcf4dc7726613a9d2bd13ba9958799309ef960a973dfbd1e62b18f11339d340706a006ceea10ba5bf59aa9a
7
- data.tar.gz: 33804b00806b5c41e4a28554383b14bb719b12fd39c5abdd68c12eefc8235befb45b538ab54ffe9bec2af70907d5410022214319859d180d0225a0338ac0c48c
6
+ metadata.gz: 263ca6bf56383c8a888a01644b69464bd961875578ca057e2de6891c83f058b194d2b6c8ef4d8f164e4f913bfa4227d203ff28ceb5bd451488aa3100260fa862
7
+ data.tar.gz: a2c29f8241b4f53e9044a32892dd54c8c6f86405bff966b7c1c5d8e6a8e0eea5c0182700a4f183875edc19d36b75eae93e724a942bcadf570a094c214b4300e3
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.61.0 (2026-08-31)
5
+ ------------------
6
+
7
+ * Feature - Amazon MSK Connect now supports restarting newly created connectors via the asynchronous RestartConnector API. Restart all tasks or only failed tasks, while preserving configuration and committed offsets. This returns a connector operation ARN that you can track with DescribeConnectorOperation.
8
+
4
9
  1.60.0 (2026-07-09)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.60.0
1
+ 1.61.0
@@ -621,7 +621,7 @@ module Aws::KafkaConnect
621
621
  #
622
622
  # resp.connector_arn #=> String
623
623
  # resp.connector_name #=> String
624
- # resp.connector_state #=> String, one of "RUNNING", "CREATING", "UPDATING", "DELETING", "FAILED"
624
+ # resp.connector_state #=> String, one of "RUNNING", "CREATING", "UPDATING", "DELETING", "FAILED", "RESTARTING"
625
625
  #
626
626
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/CreateConnector AWS API Documentation
627
627
  #
@@ -766,7 +766,7 @@ module Aws::KafkaConnect
766
766
  # @example Response structure
767
767
  #
768
768
  # resp.connector_arn #=> String
769
- # resp.connector_state #=> String, one of "RUNNING", "CREATING", "UPDATING", "DELETING", "FAILED"
769
+ # resp.connector_state #=> String, one of "RUNNING", "CREATING", "UPDATING", "DELETING", "FAILED", "RESTARTING"
770
770
  #
771
771
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/DeleteConnector AWS API Documentation
772
772
  #
@@ -887,7 +887,7 @@ module Aws::KafkaConnect
887
887
  # resp.connector_configuration["__string"] #=> String
888
888
  # resp.connector_description #=> String
889
889
  # resp.connector_name #=> String
890
- # resp.connector_state #=> String, one of "RUNNING", "CREATING", "UPDATING", "DELETING", "FAILED"
890
+ # resp.connector_state #=> String, one of "RUNNING", "CREATING", "UPDATING", "DELETING", "FAILED", "RESTARTING"
891
891
  # resp.creation_time #=> Time
892
892
  # resp.current_version #=> String
893
893
  # resp.kafka_cluster.apache_kafka_cluster.bootstrap_servers #=> String
@@ -954,8 +954,8 @@ module Aws::KafkaConnect
954
954
  #
955
955
  # resp.connector_arn #=> String
956
956
  # resp.connector_operation_arn #=> String
957
- # resp.connector_operation_state #=> String, one of "PENDING", "UPDATE_IN_PROGRESS", "UPDATE_COMPLETE", "UPDATE_FAILED", "ROLLBACK_IN_PROGRESS", "ROLLBACK_FAILED", "ROLLBACK_COMPLETE"
958
- # resp.connector_operation_type #=> String, one of "UPDATE_WORKER_SETTING", "UPDATE_CONNECTOR_CONFIGURATION", "ISOLATE_CONNECTOR", "RESTORE_CONNECTOR"
957
+ # 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"
958
+ # resp.connector_operation_type #=> String, one of "UPDATE_WORKER_SETTING", "UPDATE_CONNECTOR_CONFIGURATION", "ISOLATE_CONNECTOR", "RESTORE_CONNECTOR", "RESTART_CONNECTOR"
959
959
  # resp.operation_steps #=> Array
960
960
  # resp.operation_steps[0].step_type #=> String, one of "INITIALIZE_UPDATE", "FINALIZE_UPDATE", "UPDATE_WORKER_SETTING", "UPDATE_CONNECTOR_CONFIGURATION", "VALIDATE_UPDATE"
961
961
  # resp.operation_steps[0].step_state #=> String, one of "PENDING", "IN_PROGRESS", "COMPLETED", "FAILED", "CANCELLED"
@@ -1117,8 +1117,8 @@ module Aws::KafkaConnect
1117
1117
  #
1118
1118
  # resp.connector_operations #=> Array
1119
1119
  # resp.connector_operations[0].connector_operation_arn #=> String
1120
- # resp.connector_operations[0].connector_operation_type #=> String, one of "UPDATE_WORKER_SETTING", "UPDATE_CONNECTOR_CONFIGURATION", "ISOLATE_CONNECTOR", "RESTORE_CONNECTOR"
1121
- # 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"
1120
+ # resp.connector_operations[0].connector_operation_type #=> String, one of "UPDATE_WORKER_SETTING", "UPDATE_CONNECTOR_CONFIGURATION", "ISOLATE_CONNECTOR", "RESTORE_CONNECTOR", "RESTART_CONNECTOR"
1121
+ # 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"
1122
1122
  # resp.connector_operations[0].creation_time #=> Time
1123
1123
  # resp.connector_operations[0].end_time #=> Time
1124
1124
  # resp.next_token #=> String
@@ -1178,7 +1178,7 @@ module Aws::KafkaConnect
1178
1178
  # resp.connectors[0].connector_arn #=> String
1179
1179
  # resp.connectors[0].connector_description #=> String
1180
1180
  # resp.connectors[0].connector_name #=> String
1181
- # resp.connectors[0].connector_state #=> String, one of "RUNNING", "CREATING", "UPDATING", "DELETING", "FAILED"
1181
+ # resp.connectors[0].connector_state #=> String, one of "RUNNING", "CREATING", "UPDATING", "DELETING", "FAILED", "RESTARTING"
1182
1182
  # resp.connectors[0].creation_time #=> Time
1183
1183
  # resp.connectors[0].current_version #=> String
1184
1184
  # resp.connectors[0].kafka_cluster.apache_kafka_cluster.bootstrap_servers #=> String
@@ -1354,6 +1354,47 @@ module Aws::KafkaConnect
1354
1354
  req.send_request(options)
1355
1355
  end
1356
1356
 
1357
+ # Restarts the specified connector. By default, this operation restarts
1358
+ # the connector and all of its tasks. This operation is asynchronous and
1359
+ # returns a connector operation ARN that you can pass to
1360
+ # `DescribeConnectorOperation` to track the state of the restart.
1361
+ #
1362
+ # @option params [required, String] :connector_arn
1363
+ # The Amazon Resource Name (ARN) of the connector that you want to
1364
+ # restart.
1365
+ #
1366
+ # @option params [Boolean] :only_failed_tasks
1367
+ # Specifies whether to restart only the connector's failed tasks. If
1368
+ # `true`, the operation restarts only the tasks that are currently in a
1369
+ # failed state, and healthy tasks continue running. If `false` or not
1370
+ # specified, the operation restarts the connector and all of its tasks.
1371
+ #
1372
+ # @return [Types::RestartConnectorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1373
+ #
1374
+ # * {Types::RestartConnectorResponse#connector_arn #connector_arn} => String
1375
+ # * {Types::RestartConnectorResponse#connector_operation_arn #connector_operation_arn} => String
1376
+ #
1377
+ # @example Request syntax with placeholder values
1378
+ #
1379
+ # resp = client.restart_connector({
1380
+ # connector_arn: "__string", # required
1381
+ # only_failed_tasks: false,
1382
+ # })
1383
+ #
1384
+ # @example Response structure
1385
+ #
1386
+ # resp.connector_arn #=> String
1387
+ # resp.connector_operation_arn #=> String
1388
+ #
1389
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/RestartConnector AWS API Documentation
1390
+ #
1391
+ # @overload restart_connector(params = {})
1392
+ # @param [Hash] params ({})
1393
+ def restart_connector(params = {}, options = {})
1394
+ req = build_request(:restart_connector, params)
1395
+ req.send_request(options)
1396
+ end
1397
+
1357
1398
  # Attaches tags to the specified resource.
1358
1399
  #
1359
1400
  # @option params [required, String] :resource_arn
@@ -1464,7 +1505,7 @@ module Aws::KafkaConnect
1464
1505
  # @example Response structure
1465
1506
  #
1466
1507
  # resp.connector_arn #=> String
1467
- # resp.connector_state #=> String, one of "RUNNING", "CREATING", "UPDATING", "DELETING", "FAILED"
1508
+ # resp.connector_state #=> String, one of "RUNNING", "CREATING", "UPDATING", "DELETING", "FAILED", "RESTARTING"
1468
1509
  # resp.connector_operation_arn #=> String
1469
1510
  #
1470
1511
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/UpdateConnector AWS API Documentation
@@ -1494,7 +1535,7 @@ module Aws::KafkaConnect
1494
1535
  tracer: tracer
1495
1536
  )
1496
1537
  context[:gem_name] = 'aws-sdk-kafkaconnect'
1497
- context[:gem_version] = '1.60.0'
1538
+ context[:gem_version] = '1.61.0'
1498
1539
  Seahorse::Client::Request.new(handlers, context)
1499
1540
  end
1500
1541
 
@@ -97,6 +97,8 @@ module Aws::KafkaConnect
97
97
  ProvisionedCapacity = Shapes::StructureShape.new(name: 'ProvisionedCapacity')
98
98
  ProvisionedCapacityDescription = Shapes::StructureShape.new(name: 'ProvisionedCapacityDescription')
99
99
  ProvisionedCapacityUpdate = Shapes::StructureShape.new(name: 'ProvisionedCapacityUpdate')
100
+ RestartConnectorRequest = Shapes::StructureShape.new(name: 'RestartConnectorRequest')
101
+ RestartConnectorResponse = Shapes::StructureShape.new(name: 'RestartConnectorResponse')
100
102
  S3Location = Shapes::StructureShape.new(name: 'S3Location')
101
103
  S3LocationDescription = Shapes::StructureShape.new(name: 'S3LocationDescription')
102
104
  S3LogDelivery = Shapes::StructureShape.new(name: 'S3LogDelivery')
@@ -512,6 +514,14 @@ module Aws::KafkaConnect
512
514
  ProvisionedCapacityUpdate.add_member(:worker_count, Shapes::ShapeRef.new(shape: __integer, required: true, location_name: "workerCount"))
513
515
  ProvisionedCapacityUpdate.struct_class = Types::ProvisionedCapacityUpdate
514
516
 
517
+ RestartConnectorRequest.add_member(:connector_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "connectorArn"))
518
+ RestartConnectorRequest.add_member(:only_failed_tasks, Shapes::ShapeRef.new(shape: __boolean, location: "querystring", location_name: "onlyFailedTasks"))
519
+ RestartConnectorRequest.struct_class = Types::RestartConnectorRequest
520
+
521
+ RestartConnectorResponse.add_member(:connector_arn, Shapes::ShapeRef.new(shape: __string, location_name: "connectorArn"))
522
+ RestartConnectorResponse.add_member(:connector_operation_arn, Shapes::ShapeRef.new(shape: __string, location_name: "connectorOperationArn"))
523
+ RestartConnectorResponse.struct_class = Types::RestartConnectorResponse
524
+
515
525
  S3Location.add_member(:bucket_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "bucketArn"))
516
526
  S3Location.add_member(:file_key, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "fileKey"))
517
527
  S3Location.add_member(:object_version, Shapes::ShapeRef.new(shape: __string, location_name: "objectVersion"))
@@ -927,6 +937,21 @@ module Aws::KafkaConnect
927
937
  )
928
938
  end)
929
939
 
940
+ api.add_operation(:restart_connector, Seahorse::Model::Operation.new.tap do |o|
941
+ o.name = "RestartConnector"
942
+ o.http_method = "POST"
943
+ o.http_request_uri = "/v1/connectors/{connectorArn}/restart"
944
+ o.input = Shapes::ShapeRef.new(shape: RestartConnectorRequest)
945
+ o.output = Shapes::ShapeRef.new(shape: RestartConnectorResponse)
946
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
947
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
948
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
949
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
950
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
951
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
952
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
953
+ end)
954
+
930
955
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
931
956
  o.name = "TagResource"
932
957
  o.http_method = "POST"
@@ -1758,6 +1758,46 @@ module Aws::KafkaConnect
1758
1758
  include Aws::Structure
1759
1759
  end
1760
1760
 
1761
+ # @!attribute [rw] connector_arn
1762
+ # The Amazon Resource Name (ARN) of the connector that you want to
1763
+ # restart.
1764
+ # @return [String]
1765
+ #
1766
+ # @!attribute [rw] only_failed_tasks
1767
+ # Specifies whether to restart only the connector's failed tasks. If
1768
+ # `true`, the operation restarts only the tasks that are currently in
1769
+ # a failed state, and healthy tasks continue running. If `false` or
1770
+ # not specified, the operation restarts the connector and all of its
1771
+ # tasks.
1772
+ # @return [Boolean]
1773
+ #
1774
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/RestartConnectorRequest AWS API Documentation
1775
+ #
1776
+ class RestartConnectorRequest < Struct.new(
1777
+ :connector_arn,
1778
+ :only_failed_tasks)
1779
+ SENSITIVE = []
1780
+ include Aws::Structure
1781
+ end
1782
+
1783
+ # @!attribute [rw] connector_arn
1784
+ # The Amazon Resource Name (ARN) of the connector.
1785
+ # @return [String]
1786
+ #
1787
+ # @!attribute [rw] connector_operation_arn
1788
+ # The Amazon Resource Name (ARN) of the connector operation created to
1789
+ # perform the restart.
1790
+ # @return [String]
1791
+ #
1792
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/RestartConnectorResponse AWS API Documentation
1793
+ #
1794
+ class RestartConnectorResponse < Struct.new(
1795
+ :connector_arn,
1796
+ :connector_operation_arn)
1797
+ SENSITIVE = []
1798
+ include Aws::Structure
1799
+ end
1800
+
1761
1801
  # The location of an object in Amazon S3.
1762
1802
  #
1763
1803
  # @!attribute [rw] bucket_arn
@@ -55,7 +55,7 @@ module Aws::KafkaConnect
55
55
  autoload :EndpointProvider, 'aws-sdk-kafkaconnect/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-kafkaconnect/endpoints'
57
57
 
58
- GEM_VERSION = '1.60.0'
58
+ GEM_VERSION = '1.61.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -82,7 +82,7 @@ module Aws
82
82
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateConnectorResponse]
83
83
  def connector_arn: () -> ::String
84
84
  def connector_name: () -> ::String
85
- def connector_state: () -> ("RUNNING" | "CREATING" | "UPDATING" | "DELETING" | "FAILED")
85
+ def connector_state: () -> ("RUNNING" | "CREATING" | "UPDATING" | "DELETING" | "FAILED" | "RESTARTING")
86
86
  end
87
87
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KafkaConnect/Client.html#create_connector-instance_method
88
88
  def create_connector: (
@@ -201,7 +201,7 @@ module Aws
201
201
  interface _DeleteConnectorResponseSuccess
202
202
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteConnectorResponse]
203
203
  def connector_arn: () -> ::String
204
- def connector_state: () -> ("RUNNING" | "CREATING" | "UPDATING" | "DELETING" | "FAILED")
204
+ def connector_state: () -> ("RUNNING" | "CREATING" | "UPDATING" | "DELETING" | "FAILED" | "RESTARTING")
205
205
  end
206
206
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KafkaConnect/Client.html#delete_connector-instance_method
207
207
  def delete_connector: (
@@ -239,7 +239,7 @@ module Aws
239
239
  def connector_configuration: () -> ::Hash[::String, ::String]
240
240
  def connector_description: () -> ::String
241
241
  def connector_name: () -> ::String
242
- def connector_state: () -> ("RUNNING" | "CREATING" | "UPDATING" | "DELETING" | "FAILED")
242
+ def connector_state: () -> ("RUNNING" | "CREATING" | "UPDATING" | "DELETING" | "FAILED" | "RESTARTING")
243
243
  def creation_time: () -> ::Time
244
244
  def current_version: () -> ::String
245
245
  def kafka_cluster: () -> Types::KafkaClusterDescription
@@ -263,8 +263,8 @@ module Aws
263
263
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeConnectorOperationResponse]
264
264
  def connector_arn: () -> ::String
265
265
  def connector_operation_arn: () -> ::String
266
- def connector_operation_state: () -> ("PENDING" | "UPDATE_IN_PROGRESS" | "UPDATE_COMPLETE" | "UPDATE_FAILED" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_FAILED" | "ROLLBACK_COMPLETE")
267
- def connector_operation_type: () -> ("UPDATE_WORKER_SETTING" | "UPDATE_CONNECTOR_CONFIGURATION" | "ISOLATE_CONNECTOR" | "RESTORE_CONNECTOR")
266
+ 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")
267
+ def connector_operation_type: () -> ("UPDATE_WORKER_SETTING" | "UPDATE_CONNECTOR_CONFIGURATION" | "ISOLATE_CONNECTOR" | "RESTORE_CONNECTOR" | "RESTART_CONNECTOR")
268
268
  def operation_steps: () -> ::Array[Types::ConnectorOperationStep]
269
269
  def origin_worker_setting: () -> Types::WorkerSetting
270
270
  def origin_connector_configuration: () -> ::Hash[::String, ::String]
@@ -373,6 +373,18 @@ module Aws
373
373
  ) -> _ListWorkerConfigurationsResponseSuccess
374
374
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListWorkerConfigurationsResponseSuccess
375
375
 
376
+ interface _RestartConnectorResponseSuccess
377
+ include ::Seahorse::Client::_ResponseSuccess[Types::RestartConnectorResponse]
378
+ def connector_arn: () -> ::String
379
+ def connector_operation_arn: () -> ::String
380
+ end
381
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KafkaConnect/Client.html#restart_connector-instance_method
382
+ def restart_connector: (
383
+ connector_arn: ::String,
384
+ ?only_failed_tasks: bool
385
+ ) -> _RestartConnectorResponseSuccess
386
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RestartConnectorResponseSuccess
387
+
376
388
  interface _TagResourceResponseSuccess
377
389
  include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
378
390
  end
@@ -396,7 +408,7 @@ module Aws
396
408
  interface _UpdateConnectorResponseSuccess
397
409
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateConnectorResponse]
398
410
  def connector_arn: () -> ::String
399
- def connector_state: () -> ("RUNNING" | "CREATING" | "UPDATING" | "DELETING" | "FAILED")
411
+ def connector_state: () -> ("RUNNING" | "CREATING" | "UPDATING" | "DELETING" | "FAILED" | "RESTARTING")
400
412
  def connector_operation_arn: () -> ::String
401
413
  end
402
414
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KafkaConnect/Client.html#update_connector-instance_method
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")
102
- attr_accessor connector_operation_state: ("PENDING" | "UPDATE_IN_PROGRESS" | "UPDATE_COMPLETE" | "UPDATE_FAILED" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_FAILED" | "ROLLBACK_COMPLETE")
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")
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")
113
+ attr_accessor connector_state: ("RUNNING" | "CREATING" | "UPDATING" | "DELETING" | "FAILED" | "RESTARTING")
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")
149
+ attr_accessor connector_state: ("RUNNING" | "CREATING" | "UPDATING" | "DELETING" | "FAILED" | "RESTARTING")
150
150
  SENSITIVE: []
151
151
  end
152
152
 
@@ -240,7 +240,7 @@ module Aws::KafkaConnect
240
240
 
241
241
  class DeleteConnectorResponse
242
242
  attr_accessor connector_arn: ::String
243
- attr_accessor connector_state: ("RUNNING" | "CREATING" | "UPDATING" | "DELETING" | "FAILED")
243
+ attr_accessor connector_state: ("RUNNING" | "CREATING" | "UPDATING" | "DELETING" | "FAILED" | "RESTARTING")
244
244
  SENSITIVE: []
245
245
  end
246
246
 
@@ -274,8 +274,8 @@ module Aws::KafkaConnect
274
274
  class DescribeConnectorOperationResponse
275
275
  attr_accessor connector_arn: ::String
276
276
  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")
278
- attr_accessor connector_operation_type: ("UPDATE_WORKER_SETTING" | "UPDATE_CONNECTOR_CONFIGURATION" | "ISOLATE_CONNECTOR" | "RESTORE_CONNECTOR")
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")
279
279
  attr_accessor operation_steps: ::Array[Types::ConnectorOperationStep]
280
280
  attr_accessor origin_worker_setting: Types::WorkerSetting
281
281
  attr_accessor origin_connector_configuration: ::Hash[::String, ::String]
@@ -298,7 +298,7 @@ module Aws::KafkaConnect
298
298
  attr_accessor connector_configuration: ::Hash[::String, ::String]
299
299
  attr_accessor connector_description: ::String
300
300
  attr_accessor connector_name: ::String
301
- attr_accessor connector_state: ("RUNNING" | "CREATING" | "UPDATING" | "DELETING" | "FAILED")
301
+ attr_accessor connector_state: ("RUNNING" | "CREATING" | "UPDATING" | "DELETING" | "FAILED" | "RESTARTING")
302
302
  attr_accessor creation_time: ::Time
303
303
  attr_accessor current_version: ::String
304
304
  attr_accessor kafka_cluster: Types::KafkaClusterDescription
@@ -502,6 +502,18 @@ module Aws::KafkaConnect
502
502
  SENSITIVE: []
503
503
  end
504
504
 
505
+ class RestartConnectorRequest
506
+ attr_accessor connector_arn: ::String
507
+ attr_accessor only_failed_tasks: bool
508
+ SENSITIVE: []
509
+ end
510
+
511
+ class RestartConnectorResponse
512
+ attr_accessor connector_arn: ::String
513
+ attr_accessor connector_operation_arn: ::String
514
+ SENSITIVE: []
515
+ end
516
+
505
517
  class S3Location
506
518
  attr_accessor bucket_arn: ::String
507
519
  attr_accessor file_key: ::String
@@ -609,7 +621,7 @@ module Aws::KafkaConnect
609
621
 
610
622
  class UpdateConnectorResponse
611
623
  attr_accessor connector_arn: ::String
612
- attr_accessor connector_state: ("RUNNING" | "CREATING" | "UPDATING" | "DELETING" | "FAILED")
624
+ attr_accessor connector_state: ("RUNNING" | "CREATING" | "UPDATING" | "DELETING" | "FAILED" | "RESTARTING")
613
625
  attr_accessor connector_operation_arn: ::String
614
626
  SENSITIVE: []
615
627
  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.60.0
4
+ version: 1.61.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services