aws-sdk-kafkaconnect 1.66.0 → 1.67.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: 7654bbe8d99300ae485d2c98e3b14332837fed807638aa1cfa1f97d6d14bb6ad
4
- data.tar.gz: 9b64c7024f3871cd8c3eb7e09303ee64693bdfa7a92f46da212fe1a1f316604c
3
+ metadata.gz: b2faabb8b6fa991ef645bb8959b99a8ce0e3980358c76f9864c95784605d7b43
4
+ data.tar.gz: 7f6d8e11ec89bc320c48761342c966b3577066fe5ef7064c21cd9d22ce85231c
5
5
  SHA512:
6
- metadata.gz: 9557a2aefbfe0e04842a3d64a2a14a596ee2b8c47480d4e51e42417819921749336dd8e25b002a719a557c11a53ecf9a0417193102466e10424c9ba6fac4f59c
7
- data.tar.gz: e6d5705b010943471e567b52793b35673c9193e378cf3c53588bd20ca8a885d6e707c74869c6774ef1d38504f8663ab8ad6a6dd6a660cde0f0253dcdfd4b8d57
6
+ metadata.gz: 7cf12635b2ba3fe65584580cf45788303b30552a159ad0df9eb04a329ea860fa3be4e2c21cd7af3ab218d17a198fd0eef2852927427acd6b6e6595aa0702b8f2
7
+ data.tar.gz: 1d1a303ebe75c21da9407dd93e024b6eee134c0db59b3f2115e911a38ee143e89b66d7aa924412e8bdbce60b63b37c575a5bd3ed8faa642e4ce9da3896805416
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.67.0 (2026-10-22)
5
+ ------------------
6
+
7
+ * Feature - Amazon MSK Connect now supports pausing and resuming connectors via the asynchronous PauseConnector and ResumeConnector APIs. Paused connectors keep their configuration and committed offsets and resume where they left off. Each call returns an operation ARN to track with DescribeConnectorOperation.
8
+
4
9
  1.66.0 (2026-10-21)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.66.0
1
+ 1.67.0
@@ -628,7 +628,7 @@ module Aws::KafkaConnect
628
628
  #
629
629
  # resp.connector_arn #=> String
630
630
  # resp.connector_name #=> String
631
- # resp.connector_state #=> String, one of "RUNNING", "CREATING", "UPDATING", "DELETING", "FAILED", "RESTARTING"
631
+ # resp.connector_state #=> String, one of "RUNNING", "CREATING", "UPDATING", "DELETING", "FAILED", "PAUSED", "RESTARTING", "PAUSING", "RESUMING"
632
632
  #
633
633
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/CreateConnector AWS API Documentation
634
634
  #
@@ -773,7 +773,7 @@ module Aws::KafkaConnect
773
773
  # @example Response structure
774
774
  #
775
775
  # resp.connector_arn #=> String
776
- # resp.connector_state #=> String, one of "RUNNING", "CREATING", "UPDATING", "DELETING", "FAILED", "RESTARTING"
776
+ # resp.connector_state #=> String, one of "RUNNING", "CREATING", "UPDATING", "DELETING", "FAILED", "PAUSED", "RESTARTING", "PAUSING", "RESUMING"
777
777
  #
778
778
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/DeleteConnector AWS API Documentation
779
779
  #
@@ -894,7 +894,7 @@ module Aws::KafkaConnect
894
894
  # resp.connector_configuration["__string"] #=> String
895
895
  # resp.connector_description #=> String
896
896
  # resp.connector_name #=> String
897
- # resp.connector_state #=> String, one of "RUNNING", "CREATING", "UPDATING", "DELETING", "FAILED", "RESTARTING"
897
+ # resp.connector_state #=> String, one of "RUNNING", "CREATING", "UPDATING", "DELETING", "FAILED", "PAUSED", "RESTARTING", "PAUSING", "RESUMING"
898
898
  # resp.creation_time #=> Time
899
899
  # resp.current_version #=> String
900
900
  # resp.kafka_cluster.apache_kafka_cluster.bootstrap_servers #=> String
@@ -961,8 +961,8 @@ module Aws::KafkaConnect
961
961
  #
962
962
  # resp.connector_arn #=> String
963
963
  # resp.connector_operation_arn #=> String
964
- # resp.connector_operation_state #=> String, one of "PENDING", "UPDATE_IN_PROGRESS", "UPDATE_COMPLETE", "UPDATE_FAILED", "ROLLBACK_IN_PROGRESS", "ROLLBACK_FAILED", "ROLLBACK_COMPLETE", "RESTART_IN_PROGRESS", "RESTART_COMPLETE", "RESTART_FAILED"
965
- # resp.connector_operation_type #=> String, one of "UPDATE_WORKER_SETTING", "UPDATE_CONNECTOR_CONFIGURATION", "ISOLATE_CONNECTOR", "RESTORE_CONNECTOR", "RESTART_CONNECTOR"
964
+ # resp.connector_operation_state #=> String, one of "PENDING", "UPDATE_IN_PROGRESS", "UPDATE_COMPLETE", "UPDATE_FAILED", "ROLLBACK_IN_PROGRESS", "ROLLBACK_FAILED", "ROLLBACK_COMPLETE", "PAUSE_COMPLETE", "PAUSE_FAILED", "RESUME_COMPLETE", "RESUME_FAILED", "PAUSE_IN_PROGRESS", "RESUME_IN_PROGRESS", "RESTART_IN_PROGRESS", "RESTART_COMPLETE", "RESTART_FAILED"
965
+ # resp.connector_operation_type #=> String, one of "UPDATE_WORKER_SETTING", "UPDATE_CONNECTOR_CONFIGURATION", "ISOLATE_CONNECTOR", "RESTORE_CONNECTOR", "RESTART_CONNECTOR", "PAUSE_CONNECTOR", "RESUME_CONNECTOR"
966
966
  # resp.operation_steps #=> Array
967
967
  # resp.operation_steps[0].step_type #=> String, one of "INITIALIZE_UPDATE", "FINALIZE_UPDATE", "UPDATE_WORKER_SETTING", "UPDATE_CONNECTOR_CONFIGURATION", "VALIDATE_UPDATE"
968
968
  # resp.operation_steps[0].step_state #=> String, one of "PENDING", "IN_PROGRESS", "COMPLETED", "FAILED", "CANCELLED"
@@ -1124,8 +1124,8 @@ module Aws::KafkaConnect
1124
1124
  #
1125
1125
  # resp.connector_operations #=> Array
1126
1126
  # resp.connector_operations[0].connector_operation_arn #=> String
1127
- # resp.connector_operations[0].connector_operation_type #=> String, one of "UPDATE_WORKER_SETTING", "UPDATE_CONNECTOR_CONFIGURATION", "ISOLATE_CONNECTOR", "RESTORE_CONNECTOR", "RESTART_CONNECTOR"
1128
- # resp.connector_operations[0].connector_operation_state #=> String, one of "PENDING", "UPDATE_IN_PROGRESS", "UPDATE_COMPLETE", "UPDATE_FAILED", "ROLLBACK_IN_PROGRESS", "ROLLBACK_FAILED", "ROLLBACK_COMPLETE", "RESTART_IN_PROGRESS", "RESTART_COMPLETE", "RESTART_FAILED"
1127
+ # resp.connector_operations[0].connector_operation_type #=> String, one of "UPDATE_WORKER_SETTING", "UPDATE_CONNECTOR_CONFIGURATION", "ISOLATE_CONNECTOR", "RESTORE_CONNECTOR", "RESTART_CONNECTOR", "PAUSE_CONNECTOR", "RESUME_CONNECTOR"
1128
+ # resp.connector_operations[0].connector_operation_state #=> String, one of "PENDING", "UPDATE_IN_PROGRESS", "UPDATE_COMPLETE", "UPDATE_FAILED", "ROLLBACK_IN_PROGRESS", "ROLLBACK_FAILED", "ROLLBACK_COMPLETE", "PAUSE_COMPLETE", "PAUSE_FAILED", "RESUME_COMPLETE", "RESUME_FAILED", "PAUSE_IN_PROGRESS", "RESUME_IN_PROGRESS", "RESTART_IN_PROGRESS", "RESTART_COMPLETE", "RESTART_FAILED"
1129
1129
  # resp.connector_operations[0].creation_time #=> Time
1130
1130
  # resp.connector_operations[0].end_time #=> Time
1131
1131
  # resp.next_token #=> String
@@ -1185,7 +1185,7 @@ module Aws::KafkaConnect
1185
1185
  # resp.connectors[0].connector_arn #=> String
1186
1186
  # resp.connectors[0].connector_description #=> String
1187
1187
  # resp.connectors[0].connector_name #=> String
1188
- # resp.connectors[0].connector_state #=> String, one of "RUNNING", "CREATING", "UPDATING", "DELETING", "FAILED", "RESTARTING"
1188
+ # resp.connectors[0].connector_state #=> String, one of "RUNNING", "CREATING", "UPDATING", "DELETING", "FAILED", "PAUSED", "RESTARTING", "PAUSING", "RESUMING"
1189
1189
  # resp.connectors[0].creation_time #=> Time
1190
1190
  # resp.connectors[0].current_version #=> String
1191
1191
  # resp.connectors[0].kafka_cluster.apache_kafka_cluster.bootstrap_servers #=> String
@@ -1361,6 +1361,39 @@ module Aws::KafkaConnect
1361
1361
  req.send_request(options)
1362
1362
  end
1363
1363
 
1364
+ # Pauses the specified connector. The operation runs asynchronously. To
1365
+ # track the pause, pass the connector operation ARN from the response to
1366
+ # `DescribeConnectorOperation`.
1367
+ #
1368
+ # @option params [required, String] :connector_arn
1369
+ # The Amazon Resource Name (ARN) of the connector that you want to
1370
+ # pause.
1371
+ #
1372
+ # @return [Types::PauseConnectorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1373
+ #
1374
+ # * {Types::PauseConnectorResponse#connector_arn #connector_arn} => String
1375
+ # * {Types::PauseConnectorResponse#connector_operation_arn #connector_operation_arn} => String
1376
+ #
1377
+ # @example Request syntax with placeholder values
1378
+ #
1379
+ # resp = client.pause_connector({
1380
+ # connector_arn: "__string", # required
1381
+ # })
1382
+ #
1383
+ # @example Response structure
1384
+ #
1385
+ # resp.connector_arn #=> String
1386
+ # resp.connector_operation_arn #=> String
1387
+ #
1388
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/PauseConnector AWS API Documentation
1389
+ #
1390
+ # @overload pause_connector(params = {})
1391
+ # @param [Hash] params ({})
1392
+ def pause_connector(params = {}, options = {})
1393
+ req = build_request(:pause_connector, params)
1394
+ req.send_request(options)
1395
+ end
1396
+
1364
1397
  # Restarts the specified connector. By default, this operation restarts
1365
1398
  # the connector and all of its tasks. This operation is asynchronous and
1366
1399
  # returns a connector operation ARN that you can pass to
@@ -1402,6 +1435,39 @@ module Aws::KafkaConnect
1402
1435
  req.send_request(options)
1403
1436
  end
1404
1437
 
1438
+ # Resumes the specified paused connector. The operation runs
1439
+ # asynchronously. To track the resume, pass the connector operation ARN
1440
+ # from the response to `DescribeConnectorOperation`.
1441
+ #
1442
+ # @option params [required, String] :connector_arn
1443
+ # The Amazon Resource Name (ARN) of the connector that you want to
1444
+ # resume.
1445
+ #
1446
+ # @return [Types::ResumeConnectorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1447
+ #
1448
+ # * {Types::ResumeConnectorResponse#connector_arn #connector_arn} => String
1449
+ # * {Types::ResumeConnectorResponse#connector_operation_arn #connector_operation_arn} => String
1450
+ #
1451
+ # @example Request syntax with placeholder values
1452
+ #
1453
+ # resp = client.resume_connector({
1454
+ # connector_arn: "__string", # required
1455
+ # })
1456
+ #
1457
+ # @example Response structure
1458
+ #
1459
+ # resp.connector_arn #=> String
1460
+ # resp.connector_operation_arn #=> String
1461
+ #
1462
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/ResumeConnector AWS API Documentation
1463
+ #
1464
+ # @overload resume_connector(params = {})
1465
+ # @param [Hash] params ({})
1466
+ def resume_connector(params = {}, options = {})
1467
+ req = build_request(:resume_connector, params)
1468
+ req.send_request(options)
1469
+ end
1470
+
1405
1471
  # Attaches tags to the specified resource.
1406
1472
  #
1407
1473
  # @option params [required, String] :resource_arn
@@ -1468,6 +1534,16 @@ module Aws::KafkaConnect
1468
1534
  # A map of keys to values that represent the configuration for the
1469
1535
  # connector.
1470
1536
  #
1537
+ # @option params [Boolean] :skip_health_validation
1538
+ # Specifies whether the update bypasses connector-level and task-level
1539
+ # health checks. If `true`, the update skips the health checks. The
1540
+ # update stays in effect even if the connector or its tasks are
1541
+ # unhealthy, and Amazon MSK Connect doesn't roll it back. If `false` or
1542
+ # not specified, the health checks run. If they fail, MSK Connect
1543
+ # automatically rolls the connector back to its previous configuration,
1544
+ # and the update doesn't take effect. To update a connector that is in
1545
+ # the `PAUSED` state, you must set this parameter to `true`.
1546
+ #
1471
1547
  # @option params [required, String] :connector_arn
1472
1548
  # The Amazon Resource Name (ARN) of the connector that you want to
1473
1549
  # update.
@@ -1505,6 +1581,7 @@ module Aws::KafkaConnect
1505
1581
  # connector_configuration: {
1506
1582
  # "__string" => "__string",
1507
1583
  # },
1584
+ # skip_health_validation: false,
1508
1585
  # connector_arn: "__string", # required
1509
1586
  # current_version: "__string", # required
1510
1587
  # })
@@ -1512,7 +1589,7 @@ module Aws::KafkaConnect
1512
1589
  # @example Response structure
1513
1590
  #
1514
1591
  # resp.connector_arn #=> String
1515
- # resp.connector_state #=> String, one of "RUNNING", "CREATING", "UPDATING", "DELETING", "FAILED", "RESTARTING"
1592
+ # resp.connector_state #=> String, one of "RUNNING", "CREATING", "UPDATING", "DELETING", "FAILED", "PAUSED", "RESTARTING", "PAUSING", "RESUMING"
1516
1593
  # resp.connector_operation_arn #=> String
1517
1594
  #
1518
1595
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/UpdateConnector AWS API Documentation
@@ -1542,7 +1619,7 @@ module Aws::KafkaConnect
1542
1619
  tracer: tracer
1543
1620
  )
1544
1621
  context[:gem_name] = 'aws-sdk-kafkaconnect'
1545
- context[:gem_version] = '1.66.0'
1622
+ context[:gem_version] = '1.67.0'
1546
1623
  Seahorse::Client::Request.new(handlers, context)
1547
1624
  end
1548
1625
 
@@ -92,6 +92,8 @@ module Aws::KafkaConnect
92
92
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
93
93
  NetworkType = Shapes::StringShape.new(name: 'NetworkType')
94
94
  NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
95
+ PauseConnectorRequest = Shapes::StructureShape.new(name: 'PauseConnectorRequest')
96
+ PauseConnectorResponse = Shapes::StructureShape.new(name: 'PauseConnectorResponse')
95
97
  Plugin = Shapes::StructureShape.new(name: 'Plugin')
96
98
  PluginDescription = Shapes::StructureShape.new(name: 'PluginDescription')
97
99
  ProvisionedCapacity = Shapes::StructureShape.new(name: 'ProvisionedCapacity')
@@ -99,6 +101,8 @@ module Aws::KafkaConnect
99
101
  ProvisionedCapacityUpdate = Shapes::StructureShape.new(name: 'ProvisionedCapacityUpdate')
100
102
  RestartConnectorRequest = Shapes::StructureShape.new(name: 'RestartConnectorRequest')
101
103
  RestartConnectorResponse = Shapes::StructureShape.new(name: 'RestartConnectorResponse')
104
+ ResumeConnectorRequest = Shapes::StructureShape.new(name: 'ResumeConnectorRequest')
105
+ ResumeConnectorResponse = Shapes::StructureShape.new(name: 'ResumeConnectorResponse')
102
106
  S3Location = Shapes::StructureShape.new(name: 'S3Location')
103
107
  S3LocationDescription = Shapes::StructureShape.new(name: 'S3LocationDescription')
104
108
  S3LogDelivery = Shapes::StructureShape.new(name: 'S3LogDelivery')
@@ -496,6 +500,13 @@ module Aws::KafkaConnect
496
500
  NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
497
501
  NotFoundException.struct_class = Types::NotFoundException
498
502
 
503
+ PauseConnectorRequest.add_member(:connector_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "connectorArn"))
504
+ PauseConnectorRequest.struct_class = Types::PauseConnectorRequest
505
+
506
+ PauseConnectorResponse.add_member(:connector_arn, Shapes::ShapeRef.new(shape: __string, location_name: "connectorArn"))
507
+ PauseConnectorResponse.add_member(:connector_operation_arn, Shapes::ShapeRef.new(shape: __string, location_name: "connectorOperationArn"))
508
+ PauseConnectorResponse.struct_class = Types::PauseConnectorResponse
509
+
499
510
  Plugin.add_member(:custom_plugin, Shapes::ShapeRef.new(shape: CustomPlugin, required: true, location_name: "customPlugin"))
500
511
  Plugin.struct_class = Types::Plugin
501
512
 
@@ -522,6 +533,13 @@ module Aws::KafkaConnect
522
533
  RestartConnectorResponse.add_member(:connector_operation_arn, Shapes::ShapeRef.new(shape: __string, location_name: "connectorOperationArn"))
523
534
  RestartConnectorResponse.struct_class = Types::RestartConnectorResponse
524
535
 
536
+ ResumeConnectorRequest.add_member(:connector_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "connectorArn"))
537
+ ResumeConnectorRequest.struct_class = Types::ResumeConnectorRequest
538
+
539
+ ResumeConnectorResponse.add_member(:connector_arn, Shapes::ShapeRef.new(shape: __string, location_name: "connectorArn"))
540
+ ResumeConnectorResponse.add_member(:connector_operation_arn, Shapes::ShapeRef.new(shape: __string, location_name: "connectorOperationArn"))
541
+ ResumeConnectorResponse.struct_class = Types::ResumeConnectorResponse
542
+
525
543
  S3Location.add_member(:bucket_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "bucketArn"))
526
544
  S3Location.add_member(:file_key, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "fileKey"))
527
545
  S3Location.add_member(:object_version, Shapes::ShapeRef.new(shape: __string, location_name: "objectVersion"))
@@ -592,6 +610,7 @@ module Aws::KafkaConnect
592
610
 
593
611
  UpdateConnectorRequest.add_member(:capacity, Shapes::ShapeRef.new(shape: CapacityUpdate, location_name: "capacity"))
594
612
  UpdateConnectorRequest.add_member(:connector_configuration, Shapes::ShapeRef.new(shape: ConnectorConfigurationUpdate, location_name: "connectorConfiguration"))
613
+ UpdateConnectorRequest.add_member(:skip_health_validation, Shapes::ShapeRef.new(shape: __boolean, location_name: "skipHealthValidation"))
595
614
  UpdateConnectorRequest.add_member(:connector_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "connectorArn"))
596
615
  UpdateConnectorRequest.add_member(:current_version, Shapes::ShapeRef.new(shape: __string, required: true, location: "querystring", location_name: "currentVersion"))
597
616
  UpdateConnectorRequest.struct_class = Types::UpdateConnectorRequest
@@ -937,6 +956,22 @@ module Aws::KafkaConnect
937
956
  )
938
957
  end)
939
958
 
959
+ api.add_operation(:pause_connector, Seahorse::Model::Operation.new.tap do |o|
960
+ o.name = "PauseConnector"
961
+ o.http_method = "PUT"
962
+ o.http_request_uri = "/v1/connectors/{connectorArn}/pause"
963
+ o.input = Shapes::ShapeRef.new(shape: PauseConnectorRequest)
964
+ o.output = Shapes::ShapeRef.new(shape: PauseConnectorResponse)
965
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
966
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
967
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
968
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
969
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
970
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
971
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
972
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
973
+ end)
974
+
940
975
  api.add_operation(:restart_connector, Seahorse::Model::Operation.new.tap do |o|
941
976
  o.name = "RestartConnector"
942
977
  o.http_method = "POST"
@@ -952,6 +987,22 @@ module Aws::KafkaConnect
952
987
  o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
953
988
  end)
954
989
 
990
+ api.add_operation(:resume_connector, Seahorse::Model::Operation.new.tap do |o|
991
+ o.name = "ResumeConnector"
992
+ o.http_method = "PUT"
993
+ o.http_request_uri = "/v1/connectors/{connectorArn}/resume"
994
+ o.input = Shapes::ShapeRef.new(shape: ResumeConnectorRequest)
995
+ o.output = Shapes::ShapeRef.new(shape: ResumeConnectorResponse)
996
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
997
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
998
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
999
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1000
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1001
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1002
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1003
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
1004
+ end)
1005
+
955
1006
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
956
1007
  o.name = "TagResource"
957
1008
  o.http_method = "POST"
@@ -1669,6 +1669,37 @@ module Aws::KafkaConnect
1669
1669
  include Aws::Structure
1670
1670
  end
1671
1671
 
1672
+ # @!attribute [rw] connector_arn
1673
+ # The Amazon Resource Name (ARN) of the connector that you want to
1674
+ # pause.
1675
+ # @return [String]
1676
+ #
1677
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/PauseConnectorRequest AWS API Documentation
1678
+ #
1679
+ class PauseConnectorRequest < Struct.new(
1680
+ :connector_arn)
1681
+ SENSITIVE = []
1682
+ include Aws::Structure
1683
+ end
1684
+
1685
+ # @!attribute [rw] connector_arn
1686
+ # The Amazon Resource Name (ARN) of the connector.
1687
+ # @return [String]
1688
+ #
1689
+ # @!attribute [rw] connector_operation_arn
1690
+ # The Amazon Resource Name (ARN) of the connector operation created to
1691
+ # perform the pause.
1692
+ # @return [String]
1693
+ #
1694
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/PauseConnectorResponse AWS API Documentation
1695
+ #
1696
+ class PauseConnectorResponse < Struct.new(
1697
+ :connector_arn,
1698
+ :connector_operation_arn)
1699
+ SENSITIVE = []
1700
+ include Aws::Structure
1701
+ end
1702
+
1672
1703
  # A plugin is an Amazon Web Services resource that contains the code
1673
1704
  # that defines your connector logic.
1674
1705
  #
@@ -1798,6 +1829,37 @@ module Aws::KafkaConnect
1798
1829
  include Aws::Structure
1799
1830
  end
1800
1831
 
1832
+ # @!attribute [rw] connector_arn
1833
+ # The Amazon Resource Name (ARN) of the connector that you want to
1834
+ # resume.
1835
+ # @return [String]
1836
+ #
1837
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/ResumeConnectorRequest AWS API Documentation
1838
+ #
1839
+ class ResumeConnectorRequest < Struct.new(
1840
+ :connector_arn)
1841
+ SENSITIVE = []
1842
+ include Aws::Structure
1843
+ end
1844
+
1845
+ # @!attribute [rw] connector_arn
1846
+ # The Amazon Resource Name (ARN) of the connector.
1847
+ # @return [String]
1848
+ #
1849
+ # @!attribute [rw] connector_operation_arn
1850
+ # The Amazon Resource Name (ARN) of the connector operation created to
1851
+ # perform the resume.
1852
+ # @return [String]
1853
+ #
1854
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/ResumeConnectorResponse AWS API Documentation
1855
+ #
1856
+ class ResumeConnectorResponse < Struct.new(
1857
+ :connector_arn,
1858
+ :connector_operation_arn)
1859
+ SENSITIVE = []
1860
+ include Aws::Structure
1861
+ end
1862
+
1801
1863
  # The location of an object in Amazon S3.
1802
1864
  #
1803
1865
  # @!attribute [rw] bucket_arn
@@ -2099,6 +2161,18 @@ module Aws::KafkaConnect
2099
2161
  # connector.
2100
2162
  # @return [Hash<String,String>]
2101
2163
  #
2164
+ # @!attribute [rw] skip_health_validation
2165
+ # Specifies whether the update bypasses connector-level and task-level
2166
+ # health checks. If `true`, the update skips the health checks. The
2167
+ # update stays in effect even if the connector or its tasks are
2168
+ # unhealthy, and Amazon MSK Connect doesn't roll it back. If `false`
2169
+ # or not specified, the health checks run. If they fail, MSK Connect
2170
+ # automatically rolls the connector back to its previous
2171
+ # configuration, and the update doesn't take effect. To update a
2172
+ # connector that is in the `PAUSED` state, you must set this parameter
2173
+ # to `true`.
2174
+ # @return [Boolean]
2175
+ #
2102
2176
  # @!attribute [rw] connector_arn
2103
2177
  # The Amazon Resource Name (ARN) of the connector that you want to
2104
2178
  # update.
@@ -2113,6 +2187,7 @@ module Aws::KafkaConnect
2113
2187
  class UpdateConnectorRequest < Struct.new(
2114
2188
  :capacity,
2115
2189
  :connector_configuration,
2190
+ :skip_health_validation,
2116
2191
  :connector_arn,
2117
2192
  :current_version)
2118
2193
  SENSITIVE = [:connector_configuration]
@@ -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.66.0'
58
+ GEM_VERSION = '1.67.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -83,7 +83,7 @@ module Aws
83
83
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateConnectorResponse]
84
84
  def connector_arn: () -> ::String
85
85
  def connector_name: () -> ::String
86
- def connector_state: () -> ("RUNNING" | "CREATING" | "UPDATING" | "DELETING" | "FAILED" | "RESTARTING")
86
+ def connector_state: () -> ("RUNNING" | "CREATING" | "UPDATING" | "DELETING" | "FAILED" | "PAUSED" | "RESTARTING" | "PAUSING" | "RESUMING")
87
87
  end
88
88
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KafkaConnect/Client.html#create_connector-instance_method
89
89
  def create_connector: (
@@ -202,7 +202,7 @@ module Aws
202
202
  interface _DeleteConnectorResponseSuccess
203
203
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteConnectorResponse]
204
204
  def connector_arn: () -> ::String
205
- def connector_state: () -> ("RUNNING" | "CREATING" | "UPDATING" | "DELETING" | "FAILED" | "RESTARTING")
205
+ def connector_state: () -> ("RUNNING" | "CREATING" | "UPDATING" | "DELETING" | "FAILED" | "PAUSED" | "RESTARTING" | "PAUSING" | "RESUMING")
206
206
  end
207
207
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KafkaConnect/Client.html#delete_connector-instance_method
208
208
  def delete_connector: (
@@ -240,7 +240,7 @@ module Aws
240
240
  def connector_configuration: () -> ::Hash[::String, ::String]
241
241
  def connector_description: () -> ::String
242
242
  def connector_name: () -> ::String
243
- def connector_state: () -> ("RUNNING" | "CREATING" | "UPDATING" | "DELETING" | "FAILED" | "RESTARTING")
243
+ def connector_state: () -> ("RUNNING" | "CREATING" | "UPDATING" | "DELETING" | "FAILED" | "PAUSED" | "RESTARTING" | "PAUSING" | "RESUMING")
244
244
  def creation_time: () -> ::Time
245
245
  def current_version: () -> ::String
246
246
  def kafka_cluster: () -> Types::KafkaClusterDescription
@@ -264,8 +264,8 @@ module Aws
264
264
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeConnectorOperationResponse]
265
265
  def connector_arn: () -> ::String
266
266
  def connector_operation_arn: () -> ::String
267
- def connector_operation_state: () -> ("PENDING" | "UPDATE_IN_PROGRESS" | "UPDATE_COMPLETE" | "UPDATE_FAILED" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_FAILED" | "ROLLBACK_COMPLETE" | "RESTART_IN_PROGRESS" | "RESTART_COMPLETE" | "RESTART_FAILED")
268
- def connector_operation_type: () -> ("UPDATE_WORKER_SETTING" | "UPDATE_CONNECTOR_CONFIGURATION" | "ISOLATE_CONNECTOR" | "RESTORE_CONNECTOR" | "RESTART_CONNECTOR")
267
+ def connector_operation_state: () -> ("PENDING" | "UPDATE_IN_PROGRESS" | "UPDATE_COMPLETE" | "UPDATE_FAILED" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_FAILED" | "ROLLBACK_COMPLETE" | "PAUSE_COMPLETE" | "PAUSE_FAILED" | "RESUME_COMPLETE" | "RESUME_FAILED" | "PAUSE_IN_PROGRESS" | "RESUME_IN_PROGRESS" | "RESTART_IN_PROGRESS" | "RESTART_COMPLETE" | "RESTART_FAILED")
268
+ def connector_operation_type: () -> ("UPDATE_WORKER_SETTING" | "UPDATE_CONNECTOR_CONFIGURATION" | "ISOLATE_CONNECTOR" | "RESTORE_CONNECTOR" | "RESTART_CONNECTOR" | "PAUSE_CONNECTOR" | "RESUME_CONNECTOR")
269
269
  def operation_steps: () -> ::Array[Types::ConnectorOperationStep]
270
270
  def origin_worker_setting: () -> Types::WorkerSetting
271
271
  def origin_connector_configuration: () -> ::Hash[::String, ::String]
@@ -374,6 +374,17 @@ module Aws
374
374
  ) -> _ListWorkerConfigurationsResponseSuccess
375
375
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListWorkerConfigurationsResponseSuccess
376
376
 
377
+ interface _PauseConnectorResponseSuccess
378
+ include ::Seahorse::Client::_ResponseSuccess[Types::PauseConnectorResponse]
379
+ def connector_arn: () -> ::String
380
+ def connector_operation_arn: () -> ::String
381
+ end
382
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KafkaConnect/Client.html#pause_connector-instance_method
383
+ def pause_connector: (
384
+ connector_arn: ::String
385
+ ) -> _PauseConnectorResponseSuccess
386
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PauseConnectorResponseSuccess
387
+
377
388
  interface _RestartConnectorResponseSuccess
378
389
  include ::Seahorse::Client::_ResponseSuccess[Types::RestartConnectorResponse]
379
390
  def connector_arn: () -> ::String
@@ -386,6 +397,17 @@ module Aws
386
397
  ) -> _RestartConnectorResponseSuccess
387
398
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RestartConnectorResponseSuccess
388
399
 
400
+ interface _ResumeConnectorResponseSuccess
401
+ include ::Seahorse::Client::_ResponseSuccess[Types::ResumeConnectorResponse]
402
+ def connector_arn: () -> ::String
403
+ def connector_operation_arn: () -> ::String
404
+ end
405
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KafkaConnect/Client.html#resume_connector-instance_method
406
+ def resume_connector: (
407
+ connector_arn: ::String
408
+ ) -> _ResumeConnectorResponseSuccess
409
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ResumeConnectorResponseSuccess
410
+
389
411
  interface _TagResourceResponseSuccess
390
412
  include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
391
413
  end
@@ -409,7 +431,7 @@ module Aws
409
431
  interface _UpdateConnectorResponseSuccess
410
432
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateConnectorResponse]
411
433
  def connector_arn: () -> ::String
412
- def connector_state: () -> ("RUNNING" | "CREATING" | "UPDATING" | "DELETING" | "FAILED" | "RESTARTING")
434
+ def connector_state: () -> ("RUNNING" | "CREATING" | "UPDATING" | "DELETING" | "FAILED" | "PAUSED" | "RESTARTING" | "PAUSING" | "RESUMING")
413
435
  def connector_operation_arn: () -> ::String
414
436
  end
415
437
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KafkaConnect/Client.html#update_connector-instance_method
@@ -433,6 +455,7 @@ module Aws
433
455
  }?
434
456
  },
435
457
  ?connector_configuration: Hash[::String, ::String],
458
+ ?skip_health_validation: bool,
436
459
  connector_arn: ::String,
437
460
  current_version: ::String
438
461
  ) -> _UpdateConnectorResponseSuccess
data/sig/types.rbs CHANGED
@@ -98,8 +98,8 @@ module Aws::KafkaConnect
98
98
 
99
99
  class ConnectorOperationSummary
100
100
  attr_accessor connector_operation_arn: ::String
101
- attr_accessor connector_operation_type: ("UPDATE_WORKER_SETTING" | "UPDATE_CONNECTOR_CONFIGURATION" | "ISOLATE_CONNECTOR" | "RESTORE_CONNECTOR" | "RESTART_CONNECTOR")
102
- attr_accessor connector_operation_state: ("PENDING" | "UPDATE_IN_PROGRESS" | "UPDATE_COMPLETE" | "UPDATE_FAILED" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_FAILED" | "ROLLBACK_COMPLETE" | "RESTART_IN_PROGRESS" | "RESTART_COMPLETE" | "RESTART_FAILED")
101
+ attr_accessor connector_operation_type: ("UPDATE_WORKER_SETTING" | "UPDATE_CONNECTOR_CONFIGURATION" | "ISOLATE_CONNECTOR" | "RESTORE_CONNECTOR" | "RESTART_CONNECTOR" | "PAUSE_CONNECTOR" | "RESUME_CONNECTOR")
102
+ attr_accessor connector_operation_state: ("PENDING" | "UPDATE_IN_PROGRESS" | "UPDATE_COMPLETE" | "UPDATE_FAILED" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_FAILED" | "ROLLBACK_COMPLETE" | "PAUSE_COMPLETE" | "PAUSE_FAILED" | "RESUME_COMPLETE" | "RESUME_FAILED" | "PAUSE_IN_PROGRESS" | "RESUME_IN_PROGRESS" | "RESTART_IN_PROGRESS" | "RESTART_COMPLETE" | "RESTART_FAILED")
103
103
  attr_accessor creation_time: ::Time
104
104
  attr_accessor end_time: ::Time
105
105
  SENSITIVE: []
@@ -110,7 +110,7 @@ module Aws::KafkaConnect
110
110
  attr_accessor connector_arn: ::String
111
111
  attr_accessor connector_description: ::String
112
112
  attr_accessor connector_name: ::String
113
- attr_accessor connector_state: ("RUNNING" | "CREATING" | "UPDATING" | "DELETING" | "FAILED" | "RESTARTING")
113
+ attr_accessor connector_state: ("RUNNING" | "CREATING" | "UPDATING" | "DELETING" | "FAILED" | "PAUSED" | "RESTARTING" | "PAUSING" | "RESUMING")
114
114
  attr_accessor creation_time: ::Time
115
115
  attr_accessor current_version: ::String
116
116
  attr_accessor kafka_cluster: Types::KafkaClusterDescription
@@ -146,7 +146,7 @@ module Aws::KafkaConnect
146
146
  class CreateConnectorResponse
147
147
  attr_accessor connector_arn: ::String
148
148
  attr_accessor connector_name: ::String
149
- attr_accessor connector_state: ("RUNNING" | "CREATING" | "UPDATING" | "DELETING" | "FAILED" | "RESTARTING")
149
+ attr_accessor connector_state: ("RUNNING" | "CREATING" | "UPDATING" | "DELETING" | "FAILED" | "PAUSED" | "RESTARTING" | "PAUSING" | "RESUMING")
150
150
  SENSITIVE: []
151
151
  end
152
152
 
@@ -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" | "RESTARTING")
243
+ attr_accessor connector_state: ("RUNNING" | "CREATING" | "UPDATING" | "DELETING" | "FAILED" | "PAUSED" | "RESTARTING" | "PAUSING" | "RESUMING")
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" | "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")
277
+ attr_accessor connector_operation_state: ("PENDING" | "UPDATE_IN_PROGRESS" | "UPDATE_COMPLETE" | "UPDATE_FAILED" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_FAILED" | "ROLLBACK_COMPLETE" | "PAUSE_COMPLETE" | "PAUSE_FAILED" | "RESUME_COMPLETE" | "RESUME_FAILED" | "PAUSE_IN_PROGRESS" | "RESUME_IN_PROGRESS" | "RESTART_IN_PROGRESS" | "RESTART_COMPLETE" | "RESTART_FAILED")
278
+ attr_accessor connector_operation_type: ("UPDATE_WORKER_SETTING" | "UPDATE_CONNECTOR_CONFIGURATION" | "ISOLATE_CONNECTOR" | "RESTORE_CONNECTOR" | "RESTART_CONNECTOR" | "PAUSE_CONNECTOR" | "RESUME_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" | "RESTARTING")
301
+ attr_accessor connector_state: ("RUNNING" | "CREATING" | "UPDATING" | "DELETING" | "FAILED" | "PAUSED" | "RESTARTING" | "PAUSING" | "RESUMING")
302
302
  attr_accessor creation_time: ::Time
303
303
  attr_accessor current_version: ::String
304
304
  attr_accessor kafka_cluster: Types::KafkaClusterDescription
@@ -474,6 +474,17 @@ module Aws::KafkaConnect
474
474
  SENSITIVE: []
475
475
  end
476
476
 
477
+ class PauseConnectorRequest
478
+ attr_accessor connector_arn: ::String
479
+ SENSITIVE: []
480
+ end
481
+
482
+ class PauseConnectorResponse
483
+ attr_accessor connector_arn: ::String
484
+ attr_accessor connector_operation_arn: ::String
485
+ SENSITIVE: []
486
+ end
487
+
477
488
  class Plugin
478
489
  attr_accessor custom_plugin: Types::CustomPlugin
479
490
  SENSITIVE: []
@@ -514,6 +525,17 @@ module Aws::KafkaConnect
514
525
  SENSITIVE: []
515
526
  end
516
527
 
528
+ class ResumeConnectorRequest
529
+ attr_accessor connector_arn: ::String
530
+ SENSITIVE: []
531
+ end
532
+
533
+ class ResumeConnectorResponse
534
+ attr_accessor connector_arn: ::String
535
+ attr_accessor connector_operation_arn: ::String
536
+ SENSITIVE: []
537
+ end
538
+
517
539
  class S3Location
518
540
  attr_accessor bucket_arn: ::String
519
541
  attr_accessor file_key: ::String
@@ -614,6 +636,7 @@ module Aws::KafkaConnect
614
636
  class UpdateConnectorRequest
615
637
  attr_accessor capacity: Types::CapacityUpdate
616
638
  attr_accessor connector_configuration: ::Hash[::String, ::String]
639
+ attr_accessor skip_health_validation: bool
617
640
  attr_accessor connector_arn: ::String
618
641
  attr_accessor current_version: ::String
619
642
  SENSITIVE: [:connector_configuration]
@@ -621,7 +644,7 @@ module Aws::KafkaConnect
621
644
 
622
645
  class UpdateConnectorResponse
623
646
  attr_accessor connector_arn: ::String
624
- attr_accessor connector_state: ("RUNNING" | "CREATING" | "UPDATING" | "DELETING" | "FAILED" | "RESTARTING")
647
+ attr_accessor connector_state: ("RUNNING" | "CREATING" | "UPDATING" | "DELETING" | "FAILED" | "PAUSED" | "RESTARTING" | "PAUSING" | "RESUMING")
625
648
  attr_accessor connector_operation_arn: ::String
626
649
  SENSITIVE: []
627
650
  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.66.0
4
+ version: 1.67.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services