aws-sdk-kafkaconnect 1.18.0 → 1.20.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.
@@ -14,6 +14,7 @@ module Aws::KafkaConnect
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::KafkaConnect::EndpointProvider',
17
+ rbs_type: 'untyped',
17
18
  docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
19
  'object that responds to `#resolve_endpoint(parameters)` '\
19
20
  'where `parameters` is a Struct similar to '\
@@ -67,6 +68,8 @@ module Aws::KafkaConnect
67
68
  Aws::KafkaConnect::Endpoints::DeleteConnector.build(context)
68
69
  when :delete_custom_plugin
69
70
  Aws::KafkaConnect::Endpoints::DeleteCustomPlugin.build(context)
71
+ when :delete_worker_configuration
72
+ Aws::KafkaConnect::Endpoints::DeleteWorkerConfiguration.build(context)
70
73
  when :describe_connector
71
74
  Aws::KafkaConnect::Endpoints::DescribeConnector.build(context)
72
75
  when :describe_custom_plugin
@@ -77,8 +80,14 @@ module Aws::KafkaConnect
77
80
  Aws::KafkaConnect::Endpoints::ListConnectors.build(context)
78
81
  when :list_custom_plugins
79
82
  Aws::KafkaConnect::Endpoints::ListCustomPlugins.build(context)
83
+ when :list_tags_for_resource
84
+ Aws::KafkaConnect::Endpoints::ListTagsForResource.build(context)
80
85
  when :list_worker_configurations
81
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)
82
91
  when :update_connector
83
92
  Aws::KafkaConnect::Endpoints::UpdateConnector.build(context)
84
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.18.0'
55
+ GEM_VERSION = '1.20.0'
56
56
 
57
57
  end