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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5ddb74fa0bf0af39495dcb4577c65a79f7a4df891c712b0b3f091c149cbed075
4
- data.tar.gz: 60f51d5cb54a7567ae89a89b053ff3381b2f6545799e6ba933b4274fb0d54ed2
3
+ metadata.gz: 967293ecc7395aa3cc2bbab3195c213b1272cf06457d07b87d4804b8545d2438
4
+ data.tar.gz: dc4fabff2795853cadf185c296e193626759b2cf7b4808b4465b82a6b9da91a8
5
5
  SHA512:
6
- metadata.gz: a346b08efd92336fbf383ea99745b4c263ec5e21492c4e77f475731366d2d75d49abac267c7aab54c42ad28e939bfaaf94b1ba876d1a50eb3d7a2a2f0791d571
7
- data.tar.gz: 0d413442e3c455c1f0593d0196cd40892b1403a09b81455c1a226c8946ed246cf577ae9262b1297bc7d7e92ed7fb49dbd5bcd3cc61a2bebe33b16262cf4e46e8
6
+ metadata.gz: 0bddc43a84063d4f951592a6a8c1c2c70a4c435de7cc5bf9da7e32c032c1b765cc138e8376dc7d3e5169bd69ea69369cf7d3f4262f48343c21354d211212156e
7
+ data.tar.gz: d0604f5a1a2f1ee38d2b9d6945db4ebef5a453938b89506f9aa3ec633aae1c10944de166aaee095c4904e0505165db073ea99a60d7210ba8e545c9e97e108b32
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.35.0 (2025-01-15)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.34.0 (2025-01-13)
10
+ ------------------
11
+
12
+ * Feature - Support updating connector configuration via UpdateConnector API. Release Operations API to monitor the status of the connector operation.
13
+
4
14
  1.33.0 (2024-10-18)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.33.0
1
+ 1.35.0
@@ -257,11 +257,34 @@ module Aws::KafkaConnect
257
257
  # Used when loading credentials from the shared credentials file
258
258
  # at HOME/.aws/credentials. When not specified, 'default' is used.
259
259
  #
260
+ # @option options [String] :request_checksum_calculation ("when_supported")
261
+ # Determines when a checksum will be calculated for request payloads. Values are:
262
+ #
263
+ # * `when_supported` - (default) When set, a checksum will be
264
+ # calculated for all request payloads of operations modeled with the
265
+ # `httpChecksum` trait where `requestChecksumRequired` is `true` and/or a
266
+ # `requestAlgorithmMember` is modeled.
267
+ # * `when_required` - When set, a checksum will only be calculated for
268
+ # request payloads of operations modeled with the `httpChecksum` trait where
269
+ # `requestChecksumRequired` is `true` or where a `requestAlgorithmMember`
270
+ # is modeled and supplied.
271
+ #
260
272
  # @option options [Integer] :request_min_compression_size_bytes (10240)
261
273
  # The minimum size in bytes that triggers compression for request
262
274
  # bodies. The value must be non-negative integer value between 0
263
275
  # and 10485780 bytes inclusive.
264
276
  #
277
+ # @option options [String] :response_checksum_validation ("when_supported")
278
+ # Determines when checksum validation will be performed on response payloads. Values are:
279
+ #
280
+ # * `when_supported` - (default) When set, checksum validation is performed on all
281
+ # response payloads of operations modeled with the `httpChecksum` trait where
282
+ # `responseAlgorithms` is modeled, except when no modeled checksum algorithms
283
+ # are supported.
284
+ # * `when_required` - When set, checksum validation is not performed on
285
+ # response payloads of operations unless the checksum algorithm is supported and
286
+ # the `requestValidationModeMember` member is set to `ENABLED`.
287
+ #
265
288
  # @option options [Proc] :retry_backoff
266
289
  # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
267
290
  # This option is only used in the `legacy` retry mode.
@@ -495,12 +518,12 @@ module Aws::KafkaConnect
495
518
  # connector that has Amazon S3 as a destination must have permissions
496
519
  # that allow it to write to the S3 destination bucket.
497
520
  #
498
- # @option params [Hash<String,String>] :tags
499
- # The tags you want to attach to the connector.
500
- #
501
521
  # @option params [Types::WorkerConfiguration] :worker_configuration
502
522
  # Specifies which worker configuration to use with the connector.
503
523
  #
524
+ # @option params [Hash<String,String>] :tags
525
+ # The tags you want to attach to the connector.
526
+ #
504
527
  # @return [Types::CreateConnectorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
505
528
  #
506
529
  # * {Types::CreateConnectorResponse#connector_arn #connector_arn} => String
@@ -574,13 +597,13 @@ module Aws::KafkaConnect
574
597
  # },
575
598
  # ],
576
599
  # service_execution_role_arn: "__string", # required
577
- # tags: {
578
- # "TagKey" => "TagValue",
579
- # },
580
600
  # worker_configuration: {
581
601
  # revision: 1, # required
582
602
  # worker_configuration_arn: "__string", # required
583
603
  # },
604
+ # tags: {
605
+ # "TagKey" => "TagValue",
606
+ # },
584
607
  # })
585
608
  #
586
609
  # @example Response structure
@@ -828,8 +851,8 @@ module Aws::KafkaConnect
828
851
  # * {Types::DescribeConnectorResponse#log_delivery #log_delivery} => Types::LogDeliveryDescription
829
852
  # * {Types::DescribeConnectorResponse#plugins #plugins} => Array&lt;Types::PluginDescription&gt;
830
853
  # * {Types::DescribeConnectorResponse#service_execution_role_arn #service_execution_role_arn} => String
831
- # * {Types::DescribeConnectorResponse#state_description #state_description} => Types::StateDescription
832
854
  # * {Types::DescribeConnectorResponse#worker_configuration #worker_configuration} => Types::WorkerConfigurationDescription
855
+ # * {Types::DescribeConnectorResponse#state_description #state_description} => Types::StateDescription
833
856
  #
834
857
  # @example Request syntax with placeholder values
835
858
  #
@@ -873,10 +896,10 @@ module Aws::KafkaConnect
873
896
  # resp.plugins[0].custom_plugin.custom_plugin_arn #=> String
874
897
  # resp.plugins[0].custom_plugin.revision #=> Integer
875
898
  # resp.service_execution_role_arn #=> String
876
- # resp.state_description.code #=> String
877
- # resp.state_description.message #=> String
878
899
  # resp.worker_configuration.revision #=> Integer
879
900
  # resp.worker_configuration.worker_configuration_arn #=> String
901
+ # resp.state_description.code #=> String
902
+ # resp.state_description.message #=> String
880
903
  #
881
904
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/DescribeConnector AWS API Documentation
882
905
  #
@@ -887,6 +910,73 @@ module Aws::KafkaConnect
887
910
  req.send_request(options)
888
911
  end
889
912
 
913
+ # Returns information about the specified connector's operations.
914
+ #
915
+ # @option params [required, String] :connector_operation_arn
916
+ # ARN of the connector operation to be described.
917
+ #
918
+ # @return [Types::DescribeConnectorOperationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
919
+ #
920
+ # * {Types::DescribeConnectorOperationResponse#connector_arn #connector_arn} => String
921
+ # * {Types::DescribeConnectorOperationResponse#connector_operation_arn #connector_operation_arn} => String
922
+ # * {Types::DescribeConnectorOperationResponse#connector_operation_state #connector_operation_state} => String
923
+ # * {Types::DescribeConnectorOperationResponse#connector_operation_type #connector_operation_type} => String
924
+ # * {Types::DescribeConnectorOperationResponse#operation_steps #operation_steps} => Array&lt;Types::ConnectorOperationStep&gt;
925
+ # * {Types::DescribeConnectorOperationResponse#origin_worker_setting #origin_worker_setting} => Types::WorkerSetting
926
+ # * {Types::DescribeConnectorOperationResponse#origin_connector_configuration #origin_connector_configuration} => Hash&lt;String,String&gt;
927
+ # * {Types::DescribeConnectorOperationResponse#target_worker_setting #target_worker_setting} => Types::WorkerSetting
928
+ # * {Types::DescribeConnectorOperationResponse#target_connector_configuration #target_connector_configuration} => Hash&lt;String,String&gt;
929
+ # * {Types::DescribeConnectorOperationResponse#error_info #error_info} => Types::StateDescription
930
+ # * {Types::DescribeConnectorOperationResponse#creation_time #creation_time} => Time
931
+ # * {Types::DescribeConnectorOperationResponse#end_time #end_time} => Time
932
+ #
933
+ # @example Request syntax with placeholder values
934
+ #
935
+ # resp = client.describe_connector_operation({
936
+ # connector_operation_arn: "__string", # required
937
+ # })
938
+ #
939
+ # @example Response structure
940
+ #
941
+ # resp.connector_arn #=> String
942
+ # resp.connector_operation_arn #=> String
943
+ # resp.connector_operation_state #=> String, one of "PENDING", "UPDATE_IN_PROGRESS", "UPDATE_COMPLETE", "UPDATE_FAILED", "ROLLBACK_IN_PROGRESS", "ROLLBACK_FAILED", "ROLLBACK_COMPLETE"
944
+ # resp.connector_operation_type #=> String, one of "UPDATE_WORKER_SETTING", "UPDATE_CONNECTOR_CONFIGURATION", "ISOLATE_CONNECTOR", "RESTORE_CONNECTOR"
945
+ # resp.operation_steps #=> Array
946
+ # resp.operation_steps[0].step_type #=> String, one of "INITIALIZE_UPDATE", "FINALIZE_UPDATE", "UPDATE_WORKER_SETTING", "UPDATE_CONNECTOR_CONFIGURATION", "VALIDATE_UPDATE"
947
+ # resp.operation_steps[0].step_state #=> String, one of "PENDING", "IN_PROGRESS", "COMPLETED", "FAILED", "CANCELLED"
948
+ # resp.origin_worker_setting.capacity.auto_scaling.max_worker_count #=> Integer
949
+ # resp.origin_worker_setting.capacity.auto_scaling.mcu_count #=> Integer
950
+ # resp.origin_worker_setting.capacity.auto_scaling.min_worker_count #=> Integer
951
+ # resp.origin_worker_setting.capacity.auto_scaling.scale_in_policy.cpu_utilization_percentage #=> Integer
952
+ # resp.origin_worker_setting.capacity.auto_scaling.scale_out_policy.cpu_utilization_percentage #=> Integer
953
+ # resp.origin_worker_setting.capacity.provisioned_capacity.mcu_count #=> Integer
954
+ # resp.origin_worker_setting.capacity.provisioned_capacity.worker_count #=> Integer
955
+ # resp.origin_connector_configuration #=> Hash
956
+ # resp.origin_connector_configuration["__string"] #=> String
957
+ # resp.target_worker_setting.capacity.auto_scaling.max_worker_count #=> Integer
958
+ # resp.target_worker_setting.capacity.auto_scaling.mcu_count #=> Integer
959
+ # resp.target_worker_setting.capacity.auto_scaling.min_worker_count #=> Integer
960
+ # resp.target_worker_setting.capacity.auto_scaling.scale_in_policy.cpu_utilization_percentage #=> Integer
961
+ # resp.target_worker_setting.capacity.auto_scaling.scale_out_policy.cpu_utilization_percentage #=> Integer
962
+ # resp.target_worker_setting.capacity.provisioned_capacity.mcu_count #=> Integer
963
+ # resp.target_worker_setting.capacity.provisioned_capacity.worker_count #=> Integer
964
+ # resp.target_connector_configuration #=> Hash
965
+ # resp.target_connector_configuration["__string"] #=> String
966
+ # resp.error_info.code #=> String
967
+ # resp.error_info.message #=> String
968
+ # resp.creation_time #=> Time
969
+ # resp.end_time #=> Time
970
+ #
971
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/DescribeConnectorOperation AWS API Documentation
972
+ #
973
+ # @overload describe_connector_operation(params = {})
974
+ # @param [Hash] params ({})
975
+ def describe_connector_operation(params = {}, options = {})
976
+ req = build_request(:describe_connector_operation, params)
977
+ req.send_request(options)
978
+ end
979
+
890
980
  # A summary description of the custom plugin.
891
981
  #
892
982
  # @option params [required, String] :custom_plugin_arn
@@ -978,6 +1068,54 @@ module Aws::KafkaConnect
978
1068
  req.send_request(options)
979
1069
  end
980
1070
 
1071
+ # Lists information about a connector's operation(s).
1072
+ #
1073
+ # @option params [required, String] :connector_arn
1074
+ # The Amazon Resource Name (ARN) of the connector for which to list
1075
+ # operations.
1076
+ #
1077
+ # @option params [Integer] :max_results
1078
+ # Maximum number of connector operations to fetch in one get request.
1079
+ #
1080
+ # @option params [String] :next_token
1081
+ # If the response is truncated, it includes a NextToken. Send this
1082
+ # NextToken in a subsequent request to continue listing from where it
1083
+ # left off.
1084
+ #
1085
+ # @return [Types::ListConnectorOperationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1086
+ #
1087
+ # * {Types::ListConnectorOperationsResponse#connector_operations #connector_operations} => Array&lt;Types::ConnectorOperationSummary&gt;
1088
+ # * {Types::ListConnectorOperationsResponse#next_token #next_token} => String
1089
+ #
1090
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1091
+ #
1092
+ # @example Request syntax with placeholder values
1093
+ #
1094
+ # resp = client.list_connector_operations({
1095
+ # connector_arn: "__string", # required
1096
+ # max_results: 1,
1097
+ # next_token: "__string",
1098
+ # })
1099
+ #
1100
+ # @example Response structure
1101
+ #
1102
+ # resp.connector_operations #=> Array
1103
+ # resp.connector_operations[0].connector_operation_arn #=> String
1104
+ # resp.connector_operations[0].connector_operation_type #=> String, one of "UPDATE_WORKER_SETTING", "UPDATE_CONNECTOR_CONFIGURATION", "ISOLATE_CONNECTOR", "RESTORE_CONNECTOR"
1105
+ # 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"
1106
+ # resp.connector_operations[0].creation_time #=> Time
1107
+ # resp.connector_operations[0].end_time #=> Time
1108
+ # resp.next_token #=> String
1109
+ #
1110
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/ListConnectorOperations AWS API Documentation
1111
+ #
1112
+ # @overload list_connector_operations(params = {})
1113
+ # @param [Hash] params ({})
1114
+ def list_connector_operations(params = {}, options = {})
1115
+ req = build_request(:list_connector_operations, params)
1116
+ req.send_request(options)
1117
+ end
1118
+
981
1119
  # Returns a list of all the connectors in this account and Region. The
982
1120
  # list is limited to connectors whose name starts with the specified
983
1121
  # prefix. The response also includes a description of each of the listed
@@ -1064,14 +1202,14 @@ module Aws::KafkaConnect
1064
1202
  # @option params [Integer] :max_results
1065
1203
  # The maximum number of custom plugins to list in one response.
1066
1204
  #
1067
- # @option params [String] :name_prefix
1068
- # Lists custom plugin names that start with the specified text string.
1069
- #
1070
1205
  # @option params [String] :next_token
1071
1206
  # If the response of a ListCustomPlugins operation is truncated, it will
1072
1207
  # include a NextToken. Send this NextToken in a subsequent request to
1073
1208
  # continue listing from where the previous operation left off.
1074
1209
  #
1210
+ # @option params [String] :name_prefix
1211
+ # Lists custom plugin names that start with the specified text string.
1212
+ #
1075
1213
  # @return [Types::ListCustomPluginsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1076
1214
  #
1077
1215
  # * {Types::ListCustomPluginsResponse#custom_plugins #custom_plugins} => Array&lt;Types::CustomPluginSummary&gt;
@@ -1083,8 +1221,8 @@ module Aws::KafkaConnect
1083
1221
  #
1084
1222
  # resp = client.list_custom_plugins({
1085
1223
  # max_results: 1,
1086
- # name_prefix: "__string",
1087
1224
  # next_token: "__string",
1225
+ # name_prefix: "__string",
1088
1226
  # })
1089
1227
  #
1090
1228
  # @example Response structure
@@ -1151,16 +1289,16 @@ module Aws::KafkaConnect
1151
1289
  # @option params [Integer] :max_results
1152
1290
  # The maximum number of worker configurations to list in one response.
1153
1291
  #
1154
- # @option params [String] :name_prefix
1155
- # Lists worker configuration names that start with the specified text
1156
- # string.
1157
- #
1158
1292
  # @option params [String] :next_token
1159
1293
  # If the response of a ListWorkerConfigurations operation is truncated,
1160
1294
  # it will include a NextToken. Send this NextToken in a subsequent
1161
1295
  # request to continue listing from where the previous operation left
1162
1296
  # off.
1163
1297
  #
1298
+ # @option params [String] :name_prefix
1299
+ # Lists worker configuration names that start with the specified text
1300
+ # string.
1301
+ #
1164
1302
  # @return [Types::ListWorkerConfigurationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1165
1303
  #
1166
1304
  # * {Types::ListWorkerConfigurationsResponse#next_token #next_token} => String
@@ -1172,8 +1310,8 @@ module Aws::KafkaConnect
1172
1310
  #
1173
1311
  # resp = client.list_worker_configurations({
1174
1312
  # max_results: 1,
1175
- # name_prefix: "__string",
1176
1313
  # next_token: "__string",
1314
+ # name_prefix: "__string",
1177
1315
  # })
1178
1316
  #
1179
1317
  # @example Response structure
@@ -1256,9 +1394,13 @@ module Aws::KafkaConnect
1256
1394
 
1257
1395
  # Updates the specified connector.
1258
1396
  #
1259
- # @option params [required, Types::CapacityUpdate] :capacity
1397
+ # @option params [Types::CapacityUpdate] :capacity
1260
1398
  # The target capacity.
1261
1399
  #
1400
+ # @option params [Hash<String,String>] :connector_configuration
1401
+ # A map of keys to values that represent the configuration for the
1402
+ # connector.
1403
+ #
1262
1404
  # @option params [required, String] :connector_arn
1263
1405
  # The Amazon Resource Name (ARN) of the connector that you want to
1264
1406
  # update.
@@ -1270,11 +1412,12 @@ module Aws::KafkaConnect
1270
1412
  #
1271
1413
  # * {Types::UpdateConnectorResponse#connector_arn #connector_arn} => String
1272
1414
  # * {Types::UpdateConnectorResponse#connector_state #connector_state} => String
1415
+ # * {Types::UpdateConnectorResponse#connector_operation_arn #connector_operation_arn} => String
1273
1416
  #
1274
1417
  # @example Request syntax with placeholder values
1275
1418
  #
1276
1419
  # resp = client.update_connector({
1277
- # capacity: { # required
1420
+ # capacity: {
1278
1421
  # auto_scaling: {
1279
1422
  # max_worker_count: 1, # required
1280
1423
  # mcu_count: 1, # required
@@ -1291,6 +1434,9 @@ module Aws::KafkaConnect
1291
1434
  # worker_count: 1, # required
1292
1435
  # },
1293
1436
  # },
1437
+ # connector_configuration: {
1438
+ # "__string" => "__string",
1439
+ # },
1294
1440
  # connector_arn: "__string", # required
1295
1441
  # current_version: "__string", # required
1296
1442
  # })
@@ -1299,6 +1445,7 @@ module Aws::KafkaConnect
1299
1445
  #
1300
1446
  # resp.connector_arn #=> String
1301
1447
  # resp.connector_state #=> String, one of "RUNNING", "CREATING", "UPDATING", "DELETING", "FAILED"
1448
+ # resp.connector_operation_arn #=> String
1302
1449
  #
1303
1450
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/UpdateConnector AWS API Documentation
1304
1451
  #
@@ -1327,7 +1474,7 @@ module Aws::KafkaConnect
1327
1474
  tracer: tracer
1328
1475
  )
1329
1476
  context[:gem_name] = 'aws-sdk-kafkaconnect'
1330
- context[:gem_version] = '1.33.0'
1477
+ context[:gem_version] = '1.35.0'
1331
1478
  Seahorse::Client::Request.new(handlers, context)
1332
1479
  end
1333
1480