aws-sdk-kafkaconnect 1.19.0 → 1.20.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f921059d67ed0a8d9a5773da388921567b016402f16bde21bd5f4b1704fd31bd
4
- data.tar.gz: 8563d802482adb0a1675857e2f649a418802a51f22d59a5935589b899b09b77f
3
+ metadata.gz: af1adbf6c7555fd9feb61130b0b5e93b08bd10489d3cabf705814cb837524228
4
+ data.tar.gz: ce90e01954cde1ca0c6bfa44c682fa48feaf9b2383137411c793b69f2886e387
5
5
  SHA512:
6
- metadata.gz: 3e72d35b8a143d7f6e6762cdfed8c96398a9cf9549f6fd6b95ec1a2d35986e875178a229a97357890c54aa282c7748d376d1d69a5796517eefa4e9bf43a8c983
7
- data.tar.gz: f6c9f53e6decaf95facfff1ddd8cbf7430b962e9b12a1bf2444497cff6e43995536cd08a6840a0af21cdd4c0926ae40dc06a1f29891f8d639116f8630d0e3375
6
+ metadata.gz: 7604adb3b5758710a2665946d98154cad5da5394d56cd7648be2045a3444c2739036c12610279cfa7640189c2842f0feda3ad9d04f7d1cfdfa8d7b914e60131b
7
+ data.tar.gz: 524443b6ef738b05dce165fb092d68eba963b8d02aa215ce3d207940402c505333226ccb231fb650e70a7e0e50e141f736cf2dfd4160ec8dc58b76ffe28df5f5
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.20.0 (2024-02-26)
5
+ ------------------
6
+
7
+ * Feature - Adds support for tagging, with new TagResource, UntagResource and ListTagsForResource APIs to manage tags and updates to existing APIs to allow tag on create. This release also adds support for the new DeleteWorkerConfiguration API.
8
+
4
9
  1.19.0 (2024-01-26)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.19.0
1
+ 1.20.0
@@ -421,7 +421,13 @@ module Aws::KafkaConnect
421
421
  # Details about log delivery.
422
422
  #
423
423
  # @option params [required, Array<Types::Plugin>] :plugins
424
- # Specifies which plugins to use for the connector.
424
+ # Amazon MSK Connect does not currently support specifying multiple
425
+ # plugins as a list. To use more than one plugin for your connector, you
426
+ # can create a single custom plugin using a ZIP file that bundles
427
+ # multiple plugins together.
428
+ #
429
+ # Specifies which plugin to use for the connector. You must specify a
430
+ # single-element list containing one `customPlugin` object.
425
431
  #
426
432
  # @option params [required, String] :service_execution_role_arn
427
433
  # The Amazon Resource Name (ARN) of the IAM role used by the connector
@@ -430,6 +436,9 @@ module Aws::KafkaConnect
430
436
  # connector that has Amazon S3 as a destination must have permissions
431
437
  # that allow it to write to the S3 destination bucket.
432
438
  #
439
+ # @option params [Hash<String,String>] :tags
440
+ # The tags you want to attach to the connector.
441
+ #
433
442
  # @option params [Types::WorkerConfiguration] :worker_configuration
434
443
  # Specifies which worker configuration to use with the connector.
435
444
  #
@@ -506,6 +515,9 @@ module Aws::KafkaConnect
506
515
  # },
507
516
  # ],
508
517
  # service_execution_role_arn: "__string", # required
518
+ # tags: {
519
+ # "TagKey" => "TagValue",
520
+ # },
509
521
  # worker_configuration: {
510
522
  # revision: 1, # required
511
523
  # worker_configuration_arn: "__string", # required
@@ -541,6 +553,9 @@ module Aws::KafkaConnect
541
553
  # @option params [required, String] :name
542
554
  # The name of the custom plugin.
543
555
  #
556
+ # @option params [Hash<String,String>] :tags
557
+ # The tags you want to attach to the custom plugin.
558
+ #
544
559
  # @return [Types::CreateCustomPluginResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
545
560
  #
546
561
  # * {Types::CreateCustomPluginResponse#custom_plugin_arn #custom_plugin_arn} => String
@@ -561,6 +576,9 @@ module Aws::KafkaConnect
561
576
  # },
562
577
  # },
563
578
  # name: "__stringMin1Max128", # required
579
+ # tags: {
580
+ # "TagKey" => "TagValue",
581
+ # },
564
582
  # })
565
583
  #
566
584
  # @example Response structure
@@ -590,12 +608,16 @@ module Aws::KafkaConnect
590
608
  # @option params [required, String] :properties_file_content
591
609
  # Base64 encoded contents of connect-distributed.properties file.
592
610
  #
611
+ # @option params [Hash<String,String>] :tags
612
+ # The tags you want to attach to the worker configuration.
613
+ #
593
614
  # @return [Types::CreateWorkerConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
594
615
  #
595
616
  # * {Types::CreateWorkerConfigurationResponse#creation_time #creation_time} => Time
596
617
  # * {Types::CreateWorkerConfigurationResponse#latest_revision #latest_revision} => Types::WorkerConfigurationRevisionSummary
597
618
  # * {Types::CreateWorkerConfigurationResponse#name #name} => String
598
619
  # * {Types::CreateWorkerConfigurationResponse#worker_configuration_arn #worker_configuration_arn} => String
620
+ # * {Types::CreateWorkerConfigurationResponse#worker_configuration_state #worker_configuration_state} => String
599
621
  #
600
622
  # @example Request syntax with placeholder values
601
623
  #
@@ -603,6 +625,9 @@ module Aws::KafkaConnect
603
625
  # description: "__stringMax1024",
604
626
  # name: "__stringMin1Max128", # required
605
627
  # properties_file_content: "__sensitiveString", # required
628
+ # tags: {
629
+ # "TagKey" => "TagValue",
630
+ # },
606
631
  # })
607
632
  #
608
633
  # @example Response structure
@@ -613,6 +638,7 @@ module Aws::KafkaConnect
613
638
  # resp.latest_revision.revision #=> Integer
614
639
  # resp.name #=> String
615
640
  # resp.worker_configuration_arn #=> String
641
+ # resp.worker_configuration_state #=> String, one of "ACTIVE", "DELETING"
616
642
  #
617
643
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/CreateWorkerConfiguration AWS API Documentation
618
644
  #
@@ -689,6 +715,37 @@ module Aws::KafkaConnect
689
715
  req.send_request(options)
690
716
  end
691
717
 
718
+ # Deletes the specified worker configuration.
719
+ #
720
+ # @option params [required, String] :worker_configuration_arn
721
+ # The Amazon Resource Name (ARN) of the worker configuration that you
722
+ # want to delete.
723
+ #
724
+ # @return [Types::DeleteWorkerConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
725
+ #
726
+ # * {Types::DeleteWorkerConfigurationResponse#worker_configuration_arn #worker_configuration_arn} => String
727
+ # * {Types::DeleteWorkerConfigurationResponse#worker_configuration_state #worker_configuration_state} => String
728
+ #
729
+ # @example Request syntax with placeholder values
730
+ #
731
+ # resp = client.delete_worker_configuration({
732
+ # worker_configuration_arn: "__string", # required
733
+ # })
734
+ #
735
+ # @example Response structure
736
+ #
737
+ # resp.worker_configuration_arn #=> String
738
+ # resp.worker_configuration_state #=> String, one of "ACTIVE", "DELETING"
739
+ #
740
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/DeleteWorkerConfiguration AWS API Documentation
741
+ #
742
+ # @overload delete_worker_configuration(params = {})
743
+ # @param [Hash] params ({})
744
+ def delete_worker_configuration(params = {}, options = {})
745
+ req = build_request(:delete_worker_configuration, params)
746
+ req.send_request(options)
747
+ end
748
+
692
749
  # Returns summary information about the connector.
693
750
  #
694
751
  # @option params [required, String] :connector_arn
@@ -833,6 +890,7 @@ module Aws::KafkaConnect
833
890
  # * {Types::DescribeWorkerConfigurationResponse#latest_revision #latest_revision} => Types::WorkerConfigurationRevisionDescription
834
891
  # * {Types::DescribeWorkerConfigurationResponse#name #name} => String
835
892
  # * {Types::DescribeWorkerConfigurationResponse#worker_configuration_arn #worker_configuration_arn} => String
893
+ # * {Types::DescribeWorkerConfigurationResponse#worker_configuration_state #worker_configuration_state} => String
836
894
  #
837
895
  # @example Request syntax with placeholder values
838
896
  #
@@ -850,6 +908,7 @@ module Aws::KafkaConnect
850
908
  # resp.latest_revision.revision #=> Integer
851
909
  # resp.name #=> String
852
910
  # resp.worker_configuration_arn #=> String
911
+ # resp.worker_configuration_state #=> String, one of "ACTIVE", "DELETING"
853
912
  #
854
913
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/DescribeWorkerConfiguration AWS API Documentation
855
914
  #
@@ -946,6 +1005,9 @@ module Aws::KafkaConnect
946
1005
  # @option params [Integer] :max_results
947
1006
  # The maximum number of custom plugins to list in one response.
948
1007
  #
1008
+ # @option params [String] :name_prefix
1009
+ # Lists custom plugin names that start with the specified text string.
1010
+ #
949
1011
  # @option params [String] :next_token
950
1012
  # If the response of a ListCustomPlugins operation is truncated, it will
951
1013
  # include a NextToken. Send this NextToken in a subsequent request to
@@ -962,6 +1024,7 @@ module Aws::KafkaConnect
962
1024
  #
963
1025
  # resp = client.list_custom_plugins({
964
1026
  # max_results: 1,
1027
+ # name_prefix: "__string",
965
1028
  # next_token: "__string",
966
1029
  # })
967
1030
  #
@@ -993,12 +1056,46 @@ module Aws::KafkaConnect
993
1056
  req.send_request(options)
994
1057
  end
995
1058
 
1059
+ # Lists all the tags attached to the specified resource.
1060
+ #
1061
+ # @option params [required, String] :resource_arn
1062
+ # The Amazon Resource Name (ARN) of the resource for which you want to
1063
+ # list all attached tags.
1064
+ #
1065
+ # @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1066
+ #
1067
+ # * {Types::ListTagsForResourceResponse#tags #tags} => Hash&lt;String,String&gt;
1068
+ #
1069
+ # @example Request syntax with placeholder values
1070
+ #
1071
+ # resp = client.list_tags_for_resource({
1072
+ # resource_arn: "__string", # required
1073
+ # })
1074
+ #
1075
+ # @example Response structure
1076
+ #
1077
+ # resp.tags #=> Hash
1078
+ # resp.tags["TagKey"] #=> String
1079
+ #
1080
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/ListTagsForResource AWS API Documentation
1081
+ #
1082
+ # @overload list_tags_for_resource(params = {})
1083
+ # @param [Hash] params ({})
1084
+ def list_tags_for_resource(params = {}, options = {})
1085
+ req = build_request(:list_tags_for_resource, params)
1086
+ req.send_request(options)
1087
+ end
1088
+
996
1089
  # Returns a list of all of the worker configurations in this account and
997
1090
  # Region.
998
1091
  #
999
1092
  # @option params [Integer] :max_results
1000
1093
  # The maximum number of worker configurations to list in one response.
1001
1094
  #
1095
+ # @option params [String] :name_prefix
1096
+ # Lists worker configuration names that start with the specified text
1097
+ # string.
1098
+ #
1002
1099
  # @option params [String] :next_token
1003
1100
  # If the response of a ListWorkerConfigurations operation is truncated,
1004
1101
  # it will include a NextToken. Send this NextToken in a subsequent
@@ -1016,6 +1113,7 @@ module Aws::KafkaConnect
1016
1113
  #
1017
1114
  # resp = client.list_worker_configurations({
1018
1115
  # max_results: 1,
1116
+ # name_prefix: "__string",
1019
1117
  # next_token: "__string",
1020
1118
  # })
1021
1119
  #
@@ -1030,6 +1128,7 @@ module Aws::KafkaConnect
1030
1128
  # resp.worker_configurations[0].latest_revision.revision #=> Integer
1031
1129
  # resp.worker_configurations[0].name #=> String
1032
1130
  # resp.worker_configurations[0].worker_configuration_arn #=> String
1131
+ # resp.worker_configurations[0].worker_configuration_state #=> String, one of "ACTIVE", "DELETING"
1033
1132
  #
1034
1133
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/ListWorkerConfigurations AWS API Documentation
1035
1134
  #
@@ -1040,6 +1139,62 @@ module Aws::KafkaConnect
1040
1139
  req.send_request(options)
1041
1140
  end
1042
1141
 
1142
+ # Attaches tags to the specified resource.
1143
+ #
1144
+ # @option params [required, String] :resource_arn
1145
+ # The Amazon Resource Name (ARN) of the resource to which you want to
1146
+ # attach tags.
1147
+ #
1148
+ # @option params [required, Hash<String,String>] :tags
1149
+ # The tags that you want to attach to the resource.
1150
+ #
1151
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1152
+ #
1153
+ # @example Request syntax with placeholder values
1154
+ #
1155
+ # resp = client.tag_resource({
1156
+ # resource_arn: "__string", # required
1157
+ # tags: { # required
1158
+ # "TagKey" => "TagValue",
1159
+ # },
1160
+ # })
1161
+ #
1162
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/TagResource AWS API Documentation
1163
+ #
1164
+ # @overload tag_resource(params = {})
1165
+ # @param [Hash] params ({})
1166
+ def tag_resource(params = {}, options = {})
1167
+ req = build_request(:tag_resource, params)
1168
+ req.send_request(options)
1169
+ end
1170
+
1171
+ # Removes tags from the specified resource.
1172
+ #
1173
+ # @option params [required, String] :resource_arn
1174
+ # The Amazon Resource Name (ARN) of the resource from which you want to
1175
+ # remove tags.
1176
+ #
1177
+ # @option params [required, Array<String>] :tag_keys
1178
+ # The keys of the tags that you want to remove from the resource.
1179
+ #
1180
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1181
+ #
1182
+ # @example Request syntax with placeholder values
1183
+ #
1184
+ # resp = client.untag_resource({
1185
+ # resource_arn: "__string", # required
1186
+ # tag_keys: ["TagKey"], # required
1187
+ # })
1188
+ #
1189
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/UntagResource AWS API Documentation
1190
+ #
1191
+ # @overload untag_resource(params = {})
1192
+ # @param [Hash] params ({})
1193
+ def untag_resource(params = {}, options = {})
1194
+ req = build_request(:untag_resource, params)
1195
+ req.send_request(options)
1196
+ end
1197
+
1043
1198
  # Updates the specified connector.
1044
1199
  #
1045
1200
  # @option params [required, Types::CapacityUpdate] :capacity
@@ -1108,7 +1263,7 @@ module Aws::KafkaConnect
1108
1263
  params: params,
1109
1264
  config: config)
1110
1265
  context[:gem_name] = 'aws-sdk-kafkaconnect'
1111
- context[:gem_version] = '1.19.0'
1266
+ context[:gem_version] = '1.20.0'
1112
1267
  Seahorse::Client::Request.new(handlers, context)
1113
1268
  end
1114
1269
 
@@ -46,6 +46,8 @@ module Aws::KafkaConnect
46
46
  DeleteConnectorResponse = Shapes::StructureShape.new(name: 'DeleteConnectorResponse')
47
47
  DeleteCustomPluginRequest = Shapes::StructureShape.new(name: 'DeleteCustomPluginRequest')
48
48
  DeleteCustomPluginResponse = Shapes::StructureShape.new(name: 'DeleteCustomPluginResponse')
49
+ DeleteWorkerConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteWorkerConfigurationRequest')
50
+ DeleteWorkerConfigurationResponse = Shapes::StructureShape.new(name: 'DeleteWorkerConfigurationResponse')
49
51
  DescribeConnectorRequest = Shapes::StructureShape.new(name: 'DescribeConnectorRequest')
50
52
  DescribeConnectorResponse = Shapes::StructureShape.new(name: 'DescribeConnectorResponse')
51
53
  DescribeCustomPluginRequest = Shapes::StructureShape.new(name: 'DescribeCustomPluginRequest')
@@ -68,6 +70,8 @@ module Aws::KafkaConnect
68
70
  ListConnectorsResponse = Shapes::StructureShape.new(name: 'ListConnectorsResponse')
69
71
  ListCustomPluginsRequest = Shapes::StructureShape.new(name: 'ListCustomPluginsRequest')
70
72
  ListCustomPluginsResponse = Shapes::StructureShape.new(name: 'ListCustomPluginsResponse')
73
+ ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
74
+ ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
71
75
  ListWorkerConfigurationsRequest = Shapes::StructureShape.new(name: 'ListWorkerConfigurationsRequest')
72
76
  ListWorkerConfigurationsResponse = Shapes::StructureShape.new(name: 'ListWorkerConfigurationsResponse')
73
77
  LogDelivery = Shapes::StructureShape.new(name: 'LogDelivery')
@@ -91,8 +95,16 @@ module Aws::KafkaConnect
91
95
  ScaleOutPolicyUpdate = Shapes::StructureShape.new(name: 'ScaleOutPolicyUpdate')
92
96
  ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
93
97
  StateDescription = Shapes::StructureShape.new(name: 'StateDescription')
98
+ TagKey = Shapes::StringShape.new(name: 'TagKey')
99
+ TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
100
+ TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
101
+ TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
102
+ TagValue = Shapes::StringShape.new(name: 'TagValue')
103
+ Tags = Shapes::MapShape.new(name: 'Tags')
94
104
  TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
95
105
  UnauthorizedException = Shapes::StructureShape.new(name: 'UnauthorizedException')
106
+ UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
107
+ UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
96
108
  UpdateConnectorRequest = Shapes::StructureShape.new(name: 'UpdateConnectorRequest')
97
109
  UpdateConnectorResponse = Shapes::StructureShape.new(name: 'UpdateConnectorResponse')
98
110
  Vpc = Shapes::StructureShape.new(name: 'Vpc')
@@ -101,6 +113,7 @@ module Aws::KafkaConnect
101
113
  WorkerConfigurationDescription = Shapes::StructureShape.new(name: 'WorkerConfigurationDescription')
102
114
  WorkerConfigurationRevisionDescription = Shapes::StructureShape.new(name: 'WorkerConfigurationRevisionDescription')
103
115
  WorkerConfigurationRevisionSummary = Shapes::StructureShape.new(name: 'WorkerConfigurationRevisionSummary')
116
+ WorkerConfigurationState = Shapes::StringShape.new(name: 'WorkerConfigurationState')
104
117
  WorkerConfigurationSummary = Shapes::StructureShape.new(name: 'WorkerConfigurationSummary')
105
118
  WorkerLogDelivery = Shapes::StructureShape.new(name: 'WorkerLogDelivery')
106
119
  WorkerLogDeliveryDescription = Shapes::StructureShape.new(name: 'WorkerLogDeliveryDescription')
@@ -207,6 +220,7 @@ module Aws::KafkaConnect
207
220
  CreateConnectorRequest.add_member(:log_delivery, Shapes::ShapeRef.new(shape: LogDelivery, location_name: "logDelivery"))
208
221
  CreateConnectorRequest.add_member(:plugins, Shapes::ShapeRef.new(shape: __listOfPlugin, required: true, location_name: "plugins"))
209
222
  CreateConnectorRequest.add_member(:service_execution_role_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "serviceExecutionRoleArn"))
223
+ CreateConnectorRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
210
224
  CreateConnectorRequest.add_member(:worker_configuration, Shapes::ShapeRef.new(shape: WorkerConfiguration, location_name: "workerConfiguration"))
211
225
  CreateConnectorRequest.struct_class = Types::CreateConnectorRequest
212
226
 
@@ -219,6 +233,7 @@ module Aws::KafkaConnect
219
233
  CreateCustomPluginRequest.add_member(:description, Shapes::ShapeRef.new(shape: __stringMax1024, location_name: "description"))
220
234
  CreateCustomPluginRequest.add_member(:location, Shapes::ShapeRef.new(shape: CustomPluginLocation, required: true, location_name: "location"))
221
235
  CreateCustomPluginRequest.add_member(:name, Shapes::ShapeRef.new(shape: __stringMin1Max128, required: true, location_name: "name"))
236
+ CreateCustomPluginRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
222
237
  CreateCustomPluginRequest.struct_class = Types::CreateCustomPluginRequest
223
238
 
224
239
  CreateCustomPluginResponse.add_member(:custom_plugin_arn, Shapes::ShapeRef.new(shape: __string, location_name: "customPluginArn"))
@@ -230,12 +245,14 @@ module Aws::KafkaConnect
230
245
  CreateWorkerConfigurationRequest.add_member(:description, Shapes::ShapeRef.new(shape: __stringMax1024, location_name: "description"))
231
246
  CreateWorkerConfigurationRequest.add_member(:name, Shapes::ShapeRef.new(shape: __stringMin1Max128, required: true, location_name: "name"))
232
247
  CreateWorkerConfigurationRequest.add_member(:properties_file_content, Shapes::ShapeRef.new(shape: __sensitiveString, required: true, location_name: "propertiesFileContent"))
248
+ CreateWorkerConfigurationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
233
249
  CreateWorkerConfigurationRequest.struct_class = Types::CreateWorkerConfigurationRequest
234
250
 
235
251
  CreateWorkerConfigurationResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "creationTime"))
236
252
  CreateWorkerConfigurationResponse.add_member(:latest_revision, Shapes::ShapeRef.new(shape: WorkerConfigurationRevisionSummary, location_name: "latestRevision"))
237
253
  CreateWorkerConfigurationResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
238
254
  CreateWorkerConfigurationResponse.add_member(:worker_configuration_arn, Shapes::ShapeRef.new(shape: __string, location_name: "workerConfigurationArn"))
255
+ CreateWorkerConfigurationResponse.add_member(:worker_configuration_state, Shapes::ShapeRef.new(shape: WorkerConfigurationState, location_name: "workerConfigurationState"))
239
256
  CreateWorkerConfigurationResponse.struct_class = Types::CreateWorkerConfigurationResponse
240
257
 
241
258
  CustomPlugin.add_member(:custom_plugin_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "customPluginArn"))
@@ -287,6 +304,13 @@ module Aws::KafkaConnect
287
304
  DeleteCustomPluginResponse.add_member(:custom_plugin_state, Shapes::ShapeRef.new(shape: CustomPluginState, location_name: "customPluginState"))
288
305
  DeleteCustomPluginResponse.struct_class = Types::DeleteCustomPluginResponse
289
306
 
307
+ DeleteWorkerConfigurationRequest.add_member(:worker_configuration_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "workerConfigurationArn"))
308
+ DeleteWorkerConfigurationRequest.struct_class = Types::DeleteWorkerConfigurationRequest
309
+
310
+ DeleteWorkerConfigurationResponse.add_member(:worker_configuration_arn, Shapes::ShapeRef.new(shape: __string, location_name: "workerConfigurationArn"))
311
+ DeleteWorkerConfigurationResponse.add_member(:worker_configuration_state, Shapes::ShapeRef.new(shape: WorkerConfigurationState, location_name: "workerConfigurationState"))
312
+ DeleteWorkerConfigurationResponse.struct_class = Types::DeleteWorkerConfigurationResponse
313
+
290
314
  DescribeConnectorRequest.add_member(:connector_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "connectorArn"))
291
315
  DescribeConnectorRequest.struct_class = Types::DescribeConnectorRequest
292
316
 
@@ -329,6 +353,7 @@ module Aws::KafkaConnect
329
353
  DescribeWorkerConfigurationResponse.add_member(:latest_revision, Shapes::ShapeRef.new(shape: WorkerConfigurationRevisionDescription, location_name: "latestRevision"))
330
354
  DescribeWorkerConfigurationResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
331
355
  DescribeWorkerConfigurationResponse.add_member(:worker_configuration_arn, Shapes::ShapeRef.new(shape: __string, location_name: "workerConfigurationArn"))
356
+ DescribeWorkerConfigurationResponse.add_member(:worker_configuration_state, Shapes::ShapeRef.new(shape: WorkerConfigurationState, location_name: "workerConfigurationState"))
332
357
  DescribeWorkerConfigurationResponse.struct_class = Types::DescribeWorkerConfigurationResponse
333
358
 
334
359
  FirehoseLogDelivery.add_member(:delivery_stream, Shapes::ShapeRef.new(shape: __string, location_name: "deliveryStream"))
@@ -373,6 +398,7 @@ module Aws::KafkaConnect
373
398
  ListConnectorsResponse.struct_class = Types::ListConnectorsResponse
374
399
 
375
400
  ListCustomPluginsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
401
+ ListCustomPluginsRequest.add_member(:name_prefix, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "namePrefix"))
376
402
  ListCustomPluginsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
377
403
  ListCustomPluginsRequest.struct_class = Types::ListCustomPluginsRequest
378
404
 
@@ -380,7 +406,14 @@ module Aws::KafkaConnect
380
406
  ListCustomPluginsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
381
407
  ListCustomPluginsResponse.struct_class = Types::ListCustomPluginsResponse
382
408
 
409
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "resourceArn"))
410
+ ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
411
+
412
+ ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
413
+ ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
414
+
383
415
  ListWorkerConfigurationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
416
+ ListWorkerConfigurationsRequest.add_member(:name_prefix, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "namePrefix"))
384
417
  ListWorkerConfigurationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
385
418
  ListWorkerConfigurationsRequest.struct_class = Types::ListWorkerConfigurationsRequest
386
419
 
@@ -460,12 +493,29 @@ module Aws::KafkaConnect
460
493
  StateDescription.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
461
494
  StateDescription.struct_class = Types::StateDescription
462
495
 
496
+ TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
497
+
498
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "resourceArn"))
499
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, required: true, location_name: "tags"))
500
+ TagResourceRequest.struct_class = Types::TagResourceRequest
501
+
502
+ TagResourceResponse.struct_class = Types::TagResourceResponse
503
+
504
+ Tags.key = Shapes::ShapeRef.new(shape: TagKey)
505
+ Tags.value = Shapes::ShapeRef.new(shape: TagValue)
506
+
463
507
  TooManyRequestsException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
464
508
  TooManyRequestsException.struct_class = Types::TooManyRequestsException
465
509
 
466
510
  UnauthorizedException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
467
511
  UnauthorizedException.struct_class = Types::UnauthorizedException
468
512
 
513
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "resourceArn"))
514
+ UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
515
+ UntagResourceRequest.struct_class = Types::UntagResourceRequest
516
+
517
+ UntagResourceResponse.struct_class = Types::UntagResourceResponse
518
+
469
519
  UpdateConnectorRequest.add_member(:capacity, Shapes::ShapeRef.new(shape: CapacityUpdate, required: true, location_name: "capacity"))
470
520
  UpdateConnectorRequest.add_member(:connector_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "connectorArn"))
471
521
  UpdateConnectorRequest.add_member(:current_version, Shapes::ShapeRef.new(shape: __string, required: true, location: "querystring", location_name: "currentVersion"))
@@ -507,6 +557,7 @@ module Aws::KafkaConnect
507
557
  WorkerConfigurationSummary.add_member(:latest_revision, Shapes::ShapeRef.new(shape: WorkerConfigurationRevisionSummary, location_name: "latestRevision"))
508
558
  WorkerConfigurationSummary.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
509
559
  WorkerConfigurationSummary.add_member(:worker_configuration_arn, Shapes::ShapeRef.new(shape: __string, location_name: "workerConfigurationArn"))
560
+ WorkerConfigurationSummary.add_member(:worker_configuration_state, Shapes::ShapeRef.new(shape: WorkerConfigurationState, location_name: "workerConfigurationState"))
510
561
  WorkerConfigurationSummary.struct_class = Types::WorkerConfigurationSummary
511
562
 
512
563
  WorkerLogDelivery.add_member(:cloud_watch_logs, Shapes::ShapeRef.new(shape: CloudWatchLogsLogDelivery, location_name: "cloudWatchLogs"))
@@ -631,6 +682,21 @@ module Aws::KafkaConnect
631
682
  o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
632
683
  end)
633
684
 
685
+ api.add_operation(:delete_worker_configuration, Seahorse::Model::Operation.new.tap do |o|
686
+ o.name = "DeleteWorkerConfiguration"
687
+ o.http_method = "DELETE"
688
+ o.http_request_uri = "/v1/worker-configurations/{workerConfigurationArn}"
689
+ o.input = Shapes::ShapeRef.new(shape: DeleteWorkerConfigurationRequest)
690
+ o.output = Shapes::ShapeRef.new(shape: DeleteWorkerConfigurationResponse)
691
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
692
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
693
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
694
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
695
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
696
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
697
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
698
+ end)
699
+
634
700
  api.add_operation(:describe_connector, Seahorse::Model::Operation.new.tap do |o|
635
701
  o.name = "DescribeConnector"
636
702
  o.http_method = "GET"
@@ -718,6 +784,21 @@ module Aws::KafkaConnect
718
784
  )
719
785
  end)
720
786
 
787
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
788
+ o.name = "ListTagsForResource"
789
+ o.http_method = "GET"
790
+ o.http_request_uri = "/v1/tags/{resourceArn}"
791
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
792
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
793
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
794
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
795
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
796
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
797
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
798
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
799
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
800
+ end)
801
+
721
802
  api.add_operation(:list_worker_configurations, Seahorse::Model::Operation.new.tap do |o|
722
803
  o.name = "ListWorkerConfigurations"
723
804
  o.http_method = "GET"
@@ -739,6 +820,37 @@ module Aws::KafkaConnect
739
820
  )
740
821
  end)
741
822
 
823
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
824
+ o.name = "TagResource"
825
+ o.http_method = "POST"
826
+ o.http_request_uri = "/v1/tags/{resourceArn}"
827
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
828
+ o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
829
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
830
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
831
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
832
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
833
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
834
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
835
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
836
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
837
+ end)
838
+
839
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
840
+ o.name = "UntagResource"
841
+ o.http_method = "DELETE"
842
+ o.http_request_uri = "/v1/tags/{resourceArn}"
843
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
844
+ o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
845
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
846
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
847
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
848
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
849
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
850
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
851
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
852
+ end)
853
+
742
854
  api.add_operation(:update_connector, Seahorse::Model::Operation.new.tap do |o|
743
855
  o.name = "UpdateConnector"
744
856
  o.http_method = "PUT"
@@ -32,7 +32,7 @@ module Aws::KafkaConnect
32
32
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
33
  end
34
34
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
36
  return Aws::Endpoints::Endpoint.new(url: "https://kafkaconnect-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
37
  end
38
38
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
@@ -82,6 +82,20 @@ module Aws::KafkaConnect
82
82
  end
83
83
  end
84
84
 
85
+ class DeleteWorkerConfiguration
86
+ def self.build(context)
87
+ unless context.config.regional_endpoint
88
+ endpoint = context.config.endpoint.to_s
89
+ end
90
+ Aws::KafkaConnect::EndpointParameters.new(
91
+ region: context.config.region,
92
+ use_dual_stack: context.config.use_dualstack_endpoint,
93
+ use_fips: context.config.use_fips_endpoint,
94
+ endpoint: endpoint,
95
+ )
96
+ end
97
+ end
98
+
85
99
  class DescribeConnector
86
100
  def self.build(context)
87
101
  unless context.config.regional_endpoint
@@ -152,6 +166,20 @@ module Aws::KafkaConnect
152
166
  end
153
167
  end
154
168
 
169
+ class ListTagsForResource
170
+ def self.build(context)
171
+ unless context.config.regional_endpoint
172
+ endpoint = context.config.endpoint.to_s
173
+ end
174
+ Aws::KafkaConnect::EndpointParameters.new(
175
+ region: context.config.region,
176
+ use_dual_stack: context.config.use_dualstack_endpoint,
177
+ use_fips: context.config.use_fips_endpoint,
178
+ endpoint: endpoint,
179
+ )
180
+ end
181
+ end
182
+
155
183
  class ListWorkerConfigurations
156
184
  def self.build(context)
157
185
  unless context.config.regional_endpoint
@@ -166,6 +194,34 @@ module Aws::KafkaConnect
166
194
  end
167
195
  end
168
196
 
197
+ class TagResource
198
+ def self.build(context)
199
+ unless context.config.regional_endpoint
200
+ endpoint = context.config.endpoint.to_s
201
+ end
202
+ Aws::KafkaConnect::EndpointParameters.new(
203
+ region: context.config.region,
204
+ use_dual_stack: context.config.use_dualstack_endpoint,
205
+ use_fips: context.config.use_fips_endpoint,
206
+ endpoint: endpoint,
207
+ )
208
+ end
209
+ end
210
+
211
+ class UntagResource
212
+ def self.build(context)
213
+ unless context.config.regional_endpoint
214
+ endpoint = context.config.endpoint.to_s
215
+ end
216
+ Aws::KafkaConnect::EndpointParameters.new(
217
+ region: context.config.region,
218
+ use_dual_stack: context.config.use_dualstack_endpoint,
219
+ use_fips: context.config.use_fips_endpoint,
220
+ endpoint: endpoint,
221
+ )
222
+ end
223
+ end
224
+
169
225
  class UpdateConnector
170
226
  def self.build(context)
171
227
  unless context.config.regional_endpoint
@@ -68,6 +68,8 @@ module Aws::KafkaConnect
68
68
  Aws::KafkaConnect::Endpoints::DeleteConnector.build(context)
69
69
  when :delete_custom_plugin
70
70
  Aws::KafkaConnect::Endpoints::DeleteCustomPlugin.build(context)
71
+ when :delete_worker_configuration
72
+ Aws::KafkaConnect::Endpoints::DeleteWorkerConfiguration.build(context)
71
73
  when :describe_connector
72
74
  Aws::KafkaConnect::Endpoints::DescribeConnector.build(context)
73
75
  when :describe_custom_plugin
@@ -78,8 +80,14 @@ module Aws::KafkaConnect
78
80
  Aws::KafkaConnect::Endpoints::ListConnectors.build(context)
79
81
  when :list_custom_plugins
80
82
  Aws::KafkaConnect::Endpoints::ListCustomPlugins.build(context)
83
+ when :list_tags_for_resource
84
+ Aws::KafkaConnect::Endpoints::ListTagsForResource.build(context)
81
85
  when :list_worker_configurations
82
86
  Aws::KafkaConnect::Endpoints::ListWorkerConfigurations.build(context)
87
+ when :tag_resource
88
+ Aws::KafkaConnect::Endpoints::TagResource.build(context)
89
+ when :untag_resource
90
+ Aws::KafkaConnect::Endpoints::UntagResource.build(context)
83
91
  when :update_connector
84
92
  Aws::KafkaConnect::Endpoints::UpdateConnector.build(context)
85
93
  end
@@ -415,7 +415,13 @@ module Aws::KafkaConnect
415
415
  # @return [Types::LogDelivery]
416
416
  #
417
417
  # @!attribute [rw] plugins
418
- # Specifies which plugins to use for the connector.
418
+ # Amazon MSK Connect does not currently support specifying multiple
419
+ # plugins as a list. To use more than one plugin for your connector,
420
+ # you can create a single custom plugin using a ZIP file that bundles
421
+ # multiple plugins together.
422
+ #
423
+ # Specifies which plugin to use for the connector. You must specify a
424
+ # single-element list containing one `customPlugin` object.
419
425
  # @return [Array<Types::Plugin>]
420
426
  #
421
427
  # @!attribute [rw] service_execution_role_arn
@@ -426,6 +432,10 @@ module Aws::KafkaConnect
426
432
  # that allow it to write to the S3 destination bucket.
427
433
  # @return [String]
428
434
  #
435
+ # @!attribute [rw] tags
436
+ # The tags you want to attach to the connector.
437
+ # @return [Hash<String,String>]
438
+ #
429
439
  # @!attribute [rw] worker_configuration
430
440
  # Specifies which worker configuration to use with the connector.
431
441
  # @return [Types::WorkerConfiguration]
@@ -444,6 +454,7 @@ module Aws::KafkaConnect
444
454
  :log_delivery,
445
455
  :plugins,
446
456
  :service_execution_role_arn,
457
+ :tags,
447
458
  :worker_configuration)
448
459
  SENSITIVE = [:connector_configuration]
449
460
  include Aws::Structure
@@ -488,13 +499,18 @@ module Aws::KafkaConnect
488
499
  # The name of the custom plugin.
489
500
  # @return [String]
490
501
  #
502
+ # @!attribute [rw] tags
503
+ # The tags you want to attach to the custom plugin.
504
+ # @return [Hash<String,String>]
505
+ #
491
506
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/CreateCustomPluginRequest AWS API Documentation
492
507
  #
493
508
  class CreateCustomPluginRequest < Struct.new(
494
509
  :content_type,
495
510
  :description,
496
511
  :location,
497
- :name)
512
+ :name,
513
+ :tags)
498
514
  SENSITIVE = []
499
515
  include Aws::Structure
500
516
  end
@@ -539,12 +555,17 @@ module Aws::KafkaConnect
539
555
  # Base64 encoded contents of connect-distributed.properties file.
540
556
  # @return [String]
541
557
  #
558
+ # @!attribute [rw] tags
559
+ # The tags you want to attach to the worker configuration.
560
+ # @return [Hash<String,String>]
561
+ #
542
562
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/CreateWorkerConfigurationRequest AWS API Documentation
543
563
  #
544
564
  class CreateWorkerConfigurationRequest < Struct.new(
545
565
  :description,
546
566
  :name,
547
- :properties_file_content)
567
+ :properties_file_content,
568
+ :tags)
548
569
  SENSITIVE = [:properties_file_content]
549
570
  include Aws::Structure
550
571
  end
@@ -566,19 +587,24 @@ module Aws::KafkaConnect
566
587
  # configuration.
567
588
  # @return [String]
568
589
  #
590
+ # @!attribute [rw] worker_configuration_state
591
+ # The state of the worker configuration.
592
+ # @return [String]
593
+ #
569
594
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/CreateWorkerConfigurationResponse AWS API Documentation
570
595
  #
571
596
  class CreateWorkerConfigurationResponse < Struct.new(
572
597
  :creation_time,
573
598
  :latest_revision,
574
599
  :name,
575
- :worker_configuration_arn)
600
+ :worker_configuration_arn,
601
+ :worker_configuration_state)
576
602
  SENSITIVE = []
577
603
  include Aws::Structure
578
604
  end
579
605
 
580
- # A plugin is an AWS resource that contains the code that defines a
581
- # connector's logic.
606
+ # A plugin is an Amazon Web Services resource that contains the code
607
+ # that defines a connector's logic.
582
608
  #
583
609
  # @!attribute [rw] custom_plugin_arn
584
610
  # The Amazon Resource Name (ARN) of the custom plugin.
@@ -812,6 +838,37 @@ module Aws::KafkaConnect
812
838
  include Aws::Structure
813
839
  end
814
840
 
841
+ # @!attribute [rw] worker_configuration_arn
842
+ # The Amazon Resource Name (ARN) of the worker configuration that you
843
+ # want to delete.
844
+ # @return [String]
845
+ #
846
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/DeleteWorkerConfigurationRequest AWS API Documentation
847
+ #
848
+ class DeleteWorkerConfigurationRequest < Struct.new(
849
+ :worker_configuration_arn)
850
+ SENSITIVE = []
851
+ include Aws::Structure
852
+ end
853
+
854
+ # @!attribute [rw] worker_configuration_arn
855
+ # The Amazon Resource Name (ARN) of the worker configuration that you
856
+ # requested to delete.
857
+ # @return [String]
858
+ #
859
+ # @!attribute [rw] worker_configuration_state
860
+ # The state of the worker configuration.
861
+ # @return [String]
862
+ #
863
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/DeleteWorkerConfigurationResponse AWS API Documentation
864
+ #
865
+ class DeleteWorkerConfigurationResponse < Struct.new(
866
+ :worker_configuration_arn,
867
+ :worker_configuration_state)
868
+ SENSITIVE = []
869
+ include Aws::Structure
870
+ end
871
+
815
872
  # @!attribute [rw] connector_arn
816
873
  # The Amazon Resource Name (ARN) of the connector that you want to
817
874
  # describe.
@@ -1012,6 +1069,10 @@ module Aws::KafkaConnect
1012
1069
  # The Amazon Resource Name (ARN) of the custom configuration.
1013
1070
  # @return [String]
1014
1071
  #
1072
+ # @!attribute [rw] worker_configuration_state
1073
+ # The state of the worker configuration.
1074
+ # @return [String]
1075
+ #
1015
1076
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/DescribeWorkerConfigurationResponse AWS API Documentation
1016
1077
  #
1017
1078
  class DescribeWorkerConfigurationResponse < Struct.new(
@@ -1019,7 +1080,8 @@ module Aws::KafkaConnect
1019
1080
  :description,
1020
1081
  :latest_revision,
1021
1082
  :name,
1022
- :worker_configuration_arn)
1083
+ :worker_configuration_arn,
1084
+ :worker_configuration_state)
1023
1085
  SENSITIVE = []
1024
1086
  include Aws::Structure
1025
1087
  end
@@ -1235,6 +1297,10 @@ module Aws::KafkaConnect
1235
1297
  # The maximum number of custom plugins to list in one response.
1236
1298
  # @return [Integer]
1237
1299
  #
1300
+ # @!attribute [rw] name_prefix
1301
+ # Lists custom plugin names that start with the specified text string.
1302
+ # @return [String]
1303
+ #
1238
1304
  # @!attribute [rw] next_token
1239
1305
  # If the response of a ListCustomPlugins operation is truncated, it
1240
1306
  # will include a NextToken. Send this NextToken in a subsequent
@@ -1246,6 +1312,7 @@ module Aws::KafkaConnect
1246
1312
  #
1247
1313
  class ListCustomPluginsRequest < Struct.new(
1248
1314
  :max_results,
1315
+ :name_prefix,
1249
1316
  :next_token)
1250
1317
  SENSITIVE = []
1251
1318
  include Aws::Structure
@@ -1271,10 +1338,41 @@ module Aws::KafkaConnect
1271
1338
  include Aws::Structure
1272
1339
  end
1273
1340
 
1341
+ # @!attribute [rw] resource_arn
1342
+ # The Amazon Resource Name (ARN) of the resource for which you want to
1343
+ # list all attached tags.
1344
+ # @return [String]
1345
+ #
1346
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/ListTagsForResourceRequest AWS API Documentation
1347
+ #
1348
+ class ListTagsForResourceRequest < Struct.new(
1349
+ :resource_arn)
1350
+ SENSITIVE = []
1351
+ include Aws::Structure
1352
+ end
1353
+
1354
+ # @!attribute [rw] tags
1355
+ # Lists the tags attached to the specified resource in the
1356
+ # corresponding request.
1357
+ # @return [Hash<String,String>]
1358
+ #
1359
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/ListTagsForResourceResponse AWS API Documentation
1360
+ #
1361
+ class ListTagsForResourceResponse < Struct.new(
1362
+ :tags)
1363
+ SENSITIVE = []
1364
+ include Aws::Structure
1365
+ end
1366
+
1274
1367
  # @!attribute [rw] max_results
1275
1368
  # The maximum number of worker configurations to list in one response.
1276
1369
  # @return [Integer]
1277
1370
  #
1371
+ # @!attribute [rw] name_prefix
1372
+ # Lists worker configuration names that start with the specified text
1373
+ # string.
1374
+ # @return [String]
1375
+ #
1278
1376
  # @!attribute [rw] next_token
1279
1377
  # If the response of a ListWorkerConfigurations operation is
1280
1378
  # truncated, it will include a NextToken. Send this NextToken in a
@@ -1286,6 +1384,7 @@ module Aws::KafkaConnect
1286
1384
  #
1287
1385
  class ListWorkerConfigurationsRequest < Struct.new(
1288
1386
  :max_results,
1387
+ :name_prefix,
1289
1388
  :next_token)
1290
1389
  SENSITIVE = []
1291
1390
  include Aws::Structure
@@ -1355,8 +1454,8 @@ module Aws::KafkaConnect
1355
1454
  include Aws::Structure
1356
1455
  end
1357
1456
 
1358
- # A plugin is an AWS resource that contains the code that defines your
1359
- # connector logic.
1457
+ # A plugin is an Amazon Web Services resource that contains the code
1458
+ # that defines your connector logic.
1360
1459
  #
1361
1460
  # @!attribute [rw] custom_plugin
1362
1461
  # Details about a custom plugin.
@@ -1665,6 +1764,28 @@ module Aws::KafkaConnect
1665
1764
  include Aws::Structure
1666
1765
  end
1667
1766
 
1767
+ # @!attribute [rw] resource_arn
1768
+ # The Amazon Resource Name (ARN) of the resource to which you want to
1769
+ # attach tags.
1770
+ # @return [String]
1771
+ #
1772
+ # @!attribute [rw] tags
1773
+ # The tags that you want to attach to the resource.
1774
+ # @return [Hash<String,String>]
1775
+ #
1776
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/TagResourceRequest AWS API Documentation
1777
+ #
1778
+ class TagResourceRequest < Struct.new(
1779
+ :resource_arn,
1780
+ :tags)
1781
+ SENSITIVE = []
1782
+ include Aws::Structure
1783
+ end
1784
+
1785
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/TagResourceResponse AWS API Documentation
1786
+ #
1787
+ class TagResourceResponse < Aws::EmptyStructure; end
1788
+
1668
1789
  # HTTP Status Code 429: Limit exceeded. Resource limit reached.
1669
1790
  #
1670
1791
  # @!attribute [rw] message
@@ -1692,6 +1813,28 @@ module Aws::KafkaConnect
1692
1813
  include Aws::Structure
1693
1814
  end
1694
1815
 
1816
+ # @!attribute [rw] resource_arn
1817
+ # The Amazon Resource Name (ARN) of the resource from which you want
1818
+ # to remove tags.
1819
+ # @return [String]
1820
+ #
1821
+ # @!attribute [rw] tag_keys
1822
+ # The keys of the tags that you want to remove from the resource.
1823
+ # @return [Array<String>]
1824
+ #
1825
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/UntagResourceRequest AWS API Documentation
1826
+ #
1827
+ class UntagResourceRequest < Struct.new(
1828
+ :resource_arn,
1829
+ :tag_keys)
1830
+ SENSITIVE = []
1831
+ include Aws::Structure
1832
+ end
1833
+
1834
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/UntagResourceResponse AWS API Documentation
1835
+ #
1836
+ class UntagResourceResponse < Aws::EmptyStructure; end
1837
+
1695
1838
  # @!attribute [rw] capacity
1696
1839
  # The target capacity.
1697
1840
  # @return [Types::CapacityUpdate]
@@ -1884,6 +2027,10 @@ module Aws::KafkaConnect
1884
2027
  # The Amazon Resource Name (ARN) of the worker configuration.
1885
2028
  # @return [String]
1886
2029
  #
2030
+ # @!attribute [rw] worker_configuration_state
2031
+ # The state of the worker configuration.
2032
+ # @return [String]
2033
+ #
1887
2034
  # @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/WorkerConfigurationSummary AWS API Documentation
1888
2035
  #
1889
2036
  class WorkerConfigurationSummary < Struct.new(
@@ -1891,7 +2038,8 @@ module Aws::KafkaConnect
1891
2038
  :description,
1892
2039
  :latest_revision,
1893
2040
  :name,
1894
- :worker_configuration_arn)
2041
+ :worker_configuration_arn,
2042
+ :worker_configuration_state)
1895
2043
  SENSITIVE = []
1896
2044
  include Aws::Structure
1897
2045
  end
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-kafkaconnect/customizations'
52
52
  # @!group service
53
53
  module Aws::KafkaConnect
54
54
 
55
- GEM_VERSION = '1.19.0'
55
+ GEM_VERSION = '1.20.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -142,6 +142,7 @@ module Aws
142
142
  },
143
143
  ],
144
144
  service_execution_role_arn: ::String,
145
+ ?tags: Hash[::String, ::String],
145
146
  ?worker_configuration: {
146
147
  revision: ::Integer,
147
148
  worker_configuration_arn: ::String
@@ -167,7 +168,8 @@ module Aws
167
168
  object_version: ::String?
168
169
  }
169
170
  },
170
- name: ::String
171
+ name: ::String,
172
+ ?tags: Hash[::String, ::String]
171
173
  ) -> _CreateCustomPluginResponseSuccess
172
174
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCustomPluginResponseSuccess
173
175
 
@@ -177,12 +179,14 @@ module Aws
177
179
  def latest_revision: () -> Types::WorkerConfigurationRevisionSummary
178
180
  def name: () -> ::String
179
181
  def worker_configuration_arn: () -> ::String
182
+ def worker_configuration_state: () -> ("ACTIVE" | "DELETING")
180
183
  end
181
184
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KafkaConnect/Client.html#create_worker_configuration-instance_method
182
185
  def create_worker_configuration: (
183
186
  ?description: ::String,
184
187
  name: ::String,
185
- properties_file_content: ::String
188
+ properties_file_content: ::String,
189
+ ?tags: Hash[::String, ::String]
186
190
  ) -> _CreateWorkerConfigurationResponseSuccess
187
191
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateWorkerConfigurationResponseSuccess
188
192
 
@@ -209,6 +213,17 @@ module Aws
209
213
  ) -> _DeleteCustomPluginResponseSuccess
210
214
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteCustomPluginResponseSuccess
211
215
 
216
+ interface _DeleteWorkerConfigurationResponseSuccess
217
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteWorkerConfigurationResponse]
218
+ def worker_configuration_arn: () -> ::String
219
+ def worker_configuration_state: () -> ("ACTIVE" | "DELETING")
220
+ end
221
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KafkaConnect/Client.html#delete_worker_configuration-instance_method
222
+ def delete_worker_configuration: (
223
+ worker_configuration_arn: ::String
224
+ ) -> _DeleteWorkerConfigurationResponseSuccess
225
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteWorkerConfigurationResponseSuccess
226
+
212
227
  interface _DescribeConnectorResponseSuccess
213
228
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeConnectorResponse]
214
229
  def capacity: () -> Types::CapacityDescription
@@ -258,6 +273,7 @@ module Aws
258
273
  def latest_revision: () -> Types::WorkerConfigurationRevisionDescription
259
274
  def name: () -> ::String
260
275
  def worker_configuration_arn: () -> ::String
276
+ def worker_configuration_state: () -> ("ACTIVE" | "DELETING")
261
277
  end
262
278
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KafkaConnect/Client.html#describe_worker_configuration-instance_method
263
279
  def describe_worker_configuration: (
@@ -286,10 +302,21 @@ module Aws
286
302
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KafkaConnect/Client.html#list_custom_plugins-instance_method
287
303
  def list_custom_plugins: (
288
304
  ?max_results: ::Integer,
305
+ ?name_prefix: ::String,
289
306
  ?next_token: ::String
290
307
  ) -> _ListCustomPluginsResponseSuccess
291
308
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCustomPluginsResponseSuccess
292
309
 
310
+ interface _ListTagsForResourceResponseSuccess
311
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
312
+ def tags: () -> ::Hash[::String, ::String]
313
+ end
314
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KafkaConnect/Client.html#list_tags_for_resource-instance_method
315
+ def list_tags_for_resource: (
316
+ resource_arn: ::String
317
+ ) -> _ListTagsForResourceResponseSuccess
318
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
319
+
293
320
  interface _ListWorkerConfigurationsResponseSuccess
294
321
  include ::Seahorse::Client::_ResponseSuccess[Types::ListWorkerConfigurationsResponse]
295
322
  def next_token: () -> ::String
@@ -298,10 +325,31 @@ module Aws
298
325
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KafkaConnect/Client.html#list_worker_configurations-instance_method
299
326
  def list_worker_configurations: (
300
327
  ?max_results: ::Integer,
328
+ ?name_prefix: ::String,
301
329
  ?next_token: ::String
302
330
  ) -> _ListWorkerConfigurationsResponseSuccess
303
331
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListWorkerConfigurationsResponseSuccess
304
332
 
333
+ interface _TagResourceResponseSuccess
334
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
335
+ end
336
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KafkaConnect/Client.html#tag_resource-instance_method
337
+ def tag_resource: (
338
+ resource_arn: ::String,
339
+ tags: Hash[::String, ::String]
340
+ ) -> _TagResourceResponseSuccess
341
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
342
+
343
+ interface _UntagResourceResponseSuccess
344
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
345
+ end
346
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KafkaConnect/Client.html#untag_resource-instance_method
347
+ def untag_resource: (
348
+ resource_arn: ::String,
349
+ tag_keys: Array[::String]
350
+ ) -> _UntagResourceResponseSuccess
351
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
352
+
305
353
  interface _UpdateConnectorResponseSuccess
306
354
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateConnectorResponse]
307
355
  def connector_arn: () -> ::String
data/sig/types.rbs CHANGED
@@ -118,6 +118,7 @@ module Aws::KafkaConnect
118
118
  attr_accessor log_delivery: Types::LogDelivery
119
119
  attr_accessor plugins: ::Array[Types::Plugin]
120
120
  attr_accessor service_execution_role_arn: ::String
121
+ attr_accessor tags: ::Hash[::String, ::String]
121
122
  attr_accessor worker_configuration: Types::WorkerConfiguration
122
123
  SENSITIVE: [:connector_configuration]
123
124
  end
@@ -134,6 +135,7 @@ module Aws::KafkaConnect
134
135
  attr_accessor description: ::String
135
136
  attr_accessor location: Types::CustomPluginLocation
136
137
  attr_accessor name: ::String
138
+ attr_accessor tags: ::Hash[::String, ::String]
137
139
  SENSITIVE: []
138
140
  end
139
141
 
@@ -149,6 +151,7 @@ module Aws::KafkaConnect
149
151
  attr_accessor description: ::String
150
152
  attr_accessor name: ::String
151
153
  attr_accessor properties_file_content: ::String
154
+ attr_accessor tags: ::Hash[::String, ::String]
152
155
  SENSITIVE: [:properties_file_content]
153
156
  end
154
157
 
@@ -157,6 +160,7 @@ module Aws::KafkaConnect
157
160
  attr_accessor latest_revision: Types::WorkerConfigurationRevisionSummary
158
161
  attr_accessor name: ::String
159
162
  attr_accessor worker_configuration_arn: ::String
163
+ attr_accessor worker_configuration_state: ("ACTIVE" | "DELETING")
160
164
  SENSITIVE: []
161
165
  end
162
166
 
@@ -231,6 +235,17 @@ module Aws::KafkaConnect
231
235
  SENSITIVE: []
232
236
  end
233
237
 
238
+ class DeleteWorkerConfigurationRequest
239
+ attr_accessor worker_configuration_arn: ::String
240
+ SENSITIVE: []
241
+ end
242
+
243
+ class DeleteWorkerConfigurationResponse
244
+ attr_accessor worker_configuration_arn: ::String
245
+ attr_accessor worker_configuration_state: ("ACTIVE" | "DELETING")
246
+ SENSITIVE: []
247
+ end
248
+
234
249
  class DescribeConnectorRequest
235
250
  attr_accessor connector_arn: ::String
236
251
  SENSITIVE: []
@@ -284,6 +299,7 @@ module Aws::KafkaConnect
284
299
  attr_accessor latest_revision: Types::WorkerConfigurationRevisionDescription
285
300
  attr_accessor name: ::String
286
301
  attr_accessor worker_configuration_arn: ::String
302
+ attr_accessor worker_configuration_state: ("ACTIVE" | "DELETING")
287
303
  SENSITIVE: []
288
304
  end
289
305
 
@@ -354,6 +370,7 @@ module Aws::KafkaConnect
354
370
 
355
371
  class ListCustomPluginsRequest
356
372
  attr_accessor max_results: ::Integer
373
+ attr_accessor name_prefix: ::String
357
374
  attr_accessor next_token: ::String
358
375
  SENSITIVE: []
359
376
  end
@@ -364,8 +381,19 @@ module Aws::KafkaConnect
364
381
  SENSITIVE: []
365
382
  end
366
383
 
384
+ class ListTagsForResourceRequest
385
+ attr_accessor resource_arn: ::String
386
+ SENSITIVE: []
387
+ end
388
+
389
+ class ListTagsForResourceResponse
390
+ attr_accessor tags: ::Hash[::String, ::String]
391
+ SENSITIVE: []
392
+ end
393
+
367
394
  class ListWorkerConfigurationsRequest
368
395
  attr_accessor max_results: ::Integer
396
+ attr_accessor name_prefix: ::String
369
397
  attr_accessor next_token: ::String
370
398
  SENSITIVE: []
371
399
  end
@@ -488,6 +516,15 @@ module Aws::KafkaConnect
488
516
  SENSITIVE: []
489
517
  end
490
518
 
519
+ class TagResourceRequest
520
+ attr_accessor resource_arn: ::String
521
+ attr_accessor tags: ::Hash[::String, ::String]
522
+ SENSITIVE: []
523
+ end
524
+
525
+ class TagResourceResponse < Aws::EmptyStructure
526
+ end
527
+
491
528
  class TooManyRequestsException
492
529
  attr_accessor message: ::String
493
530
  SENSITIVE: []
@@ -498,6 +535,15 @@ module Aws::KafkaConnect
498
535
  SENSITIVE: []
499
536
  end
500
537
 
538
+ class UntagResourceRequest
539
+ attr_accessor resource_arn: ::String
540
+ attr_accessor tag_keys: ::Array[::String]
541
+ SENSITIVE: []
542
+ end
543
+
544
+ class UntagResourceResponse < Aws::EmptyStructure
545
+ end
546
+
501
547
  class UpdateConnectorRequest
502
548
  attr_accessor capacity: Types::CapacityUpdate
503
549
  attr_accessor connector_arn: ::String
@@ -556,6 +602,7 @@ module Aws::KafkaConnect
556
602
  attr_accessor latest_revision: Types::WorkerConfigurationRevisionSummary
557
603
  attr_accessor name: ::String
558
604
  attr_accessor worker_configuration_arn: ::String
605
+ attr_accessor worker_configuration_state: ("ACTIVE" | "DELETING")
559
606
  SENSITIVE: []
560
607
  end
561
608
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-kafkaconnect
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.19.0
4
+ version: 1.20.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-26 00:00:00.000000000 Z
11
+ date: 2024-02-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core