aws-sdk-kafkaconnect 1.19.0 → 1.21.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-kafkaconnect/client.rb +226 -47
- data/lib/aws-sdk-kafkaconnect/client_api.rb +112 -0
- data/lib/aws-sdk-kafkaconnect/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-kafkaconnect/endpoints.rb +56 -0
- data/lib/aws-sdk-kafkaconnect/plugins/endpoints.rb +8 -0
- data/lib/aws-sdk-kafkaconnect/types.rb +158 -10
- data/lib/aws-sdk-kafkaconnect.rb +1 -1
- data/sig/client.rbs +50 -2
- data/sig/types.rbs +47 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b0cbd857ea77b6cad7dec7580bd93a8ce7a257345d035485017ccbf34572b525
|
4
|
+
data.tar.gz: de524dda862d22f172301556c530a3800e3277839d529922b934d699185f7baf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c154a575ba6d6d319e5a4e6e3e5ccf0f9ffbbed50373c1753995aa017560b86304c1c54cf6d14f9d5bd17f13b999cc937547f91892f1a8ef2ad1d9c7d402b09
|
7
|
+
data.tar.gz: 7baa5a69e90ab5d044be4e42f409fff003d7fcab0942307ebd704399f43e65911195d1f8bac0fa2bfba6a6cf68a0e2aa96e683de339df213e07d7c63398ed634
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.21.0 (2024-04-25)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.20.0 (2024-02-26)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* 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.
|
13
|
+
|
4
14
|
1.19.0 (2024-01-26)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.21.0
|
@@ -22,6 +22,7 @@ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
|
|
22
22
|
require 'aws-sdk-core/plugins/response_paging.rb'
|
23
23
|
require 'aws-sdk-core/plugins/stub_responses.rb'
|
24
24
|
require 'aws-sdk-core/plugins/idempotency_token.rb'
|
25
|
+
require 'aws-sdk-core/plugins/invocation_id.rb'
|
25
26
|
require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
26
27
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
27
28
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
@@ -72,6 +73,7 @@ module Aws::KafkaConnect
|
|
72
73
|
add_plugin(Aws::Plugins::ResponsePaging)
|
73
74
|
add_plugin(Aws::Plugins::StubResponses)
|
74
75
|
add_plugin(Aws::Plugins::IdempotencyToken)
|
76
|
+
add_plugin(Aws::Plugins::InvocationId)
|
75
77
|
add_plugin(Aws::Plugins::JsonvalueConverter)
|
76
78
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
77
79
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
@@ -196,10 +198,17 @@ module Aws::KafkaConnect
|
|
196
198
|
# When set to 'true' the request body will not be compressed
|
197
199
|
# for supported operations.
|
198
200
|
#
|
199
|
-
# @option options [String] :endpoint
|
200
|
-
#
|
201
|
-
#
|
202
|
-
#
|
201
|
+
# @option options [String, URI::HTTPS, URI::HTTP] :endpoint
|
202
|
+
# Normally you should not configure the `:endpoint` option
|
203
|
+
# directly. This is normally constructed from the `:region`
|
204
|
+
# option. Configuring `:endpoint` is normally reserved for
|
205
|
+
# connecting to test or custom endpoints. The endpoint should
|
206
|
+
# be a URI formatted like:
|
207
|
+
#
|
208
|
+
# 'http://example.com'
|
209
|
+
# 'https://example.com'
|
210
|
+
# 'http://example.com:123'
|
211
|
+
#
|
203
212
|
#
|
204
213
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
205
214
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -337,50 +346,65 @@ module Aws::KafkaConnect
|
|
337
346
|
# @option options [Aws::KafkaConnect::EndpointProvider] :endpoint_provider
|
338
347
|
# The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::KafkaConnect::EndpointParameters`
|
339
348
|
#
|
340
|
-
# @option options [
|
341
|
-
#
|
342
|
-
#
|
343
|
-
#
|
344
|
-
#
|
345
|
-
#
|
346
|
-
#
|
347
|
-
#
|
348
|
-
#
|
349
|
-
#
|
350
|
-
#
|
351
|
-
# @option options [Float] :
|
352
|
-
#
|
353
|
-
#
|
354
|
-
#
|
355
|
-
#
|
356
|
-
#
|
357
|
-
#
|
358
|
-
#
|
359
|
-
#
|
360
|
-
#
|
361
|
-
#
|
362
|
-
#
|
363
|
-
#
|
364
|
-
#
|
349
|
+
# @option options [Float] :http_continue_timeout (1)
|
350
|
+
# The number of seconds to wait for a 100-continue response before sending the
|
351
|
+
# request body. This option has no effect unless the request has "Expect"
|
352
|
+
# header set to "100-continue". Defaults to `nil` which disables this
|
353
|
+
# behaviour. This value can safely be set per request on the session.
|
354
|
+
#
|
355
|
+
# @option options [Float] :http_idle_timeout (5)
|
356
|
+
# The number of seconds a connection is allowed to sit idle before it
|
357
|
+
# is considered stale. Stale connections are closed and removed from the
|
358
|
+
# pool before making a request.
|
359
|
+
#
|
360
|
+
# @option options [Float] :http_open_timeout (15)
|
361
|
+
# The default number of seconds to wait for response data.
|
362
|
+
# This value can safely be set per-request on the session.
|
363
|
+
#
|
364
|
+
# @option options [URI::HTTP,String] :http_proxy
|
365
|
+
# A proxy to send requests through. Formatted like 'http://proxy.com:123'.
|
366
|
+
#
|
367
|
+
# @option options [Float] :http_read_timeout (60)
|
368
|
+
# The default number of seconds to wait for response data.
|
369
|
+
# This value can safely be set per-request on the session.
|
370
|
+
#
|
371
|
+
# @option options [Boolean] :http_wire_trace (false)
|
372
|
+
# When `true`, HTTP debug output will be sent to the `:logger`.
|
373
|
+
#
|
374
|
+
# @option options [Proc] :on_chunk_received
|
375
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
376
|
+
# of the response body is received. It provides three arguments: the chunk,
|
377
|
+
# the number of bytes received, and the total number of
|
378
|
+
# bytes in the response (or nil if the server did not send a `content-length`).
|
379
|
+
#
|
380
|
+
# @option options [Proc] :on_chunk_sent
|
381
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
382
|
+
# of the request body is sent. It provides three arguments: the chunk,
|
383
|
+
# the number of bytes read from the body, and the total number of
|
384
|
+
# bytes in the body.
|
385
|
+
#
|
386
|
+
# @option options [Boolean] :raise_response_errors (true)
|
387
|
+
# When `true`, response errors are raised.
|
388
|
+
#
|
389
|
+
# @option options [String] :ssl_ca_bundle
|
390
|
+
# Full path to the SSL certificate authority bundle file that should be used when
|
391
|
+
# verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
|
392
|
+
# `:ssl_ca_directory` the the system default will be used if available.
|
393
|
+
#
|
394
|
+
# @option options [String] :ssl_ca_directory
|
395
|
+
# Full path of the directory that contains the unbundled SSL certificate
|
396
|
+
# authority files for verifying peer certificates. If you do
|
397
|
+
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
|
398
|
+
# default will be used if available.
|
365
399
|
#
|
366
|
-
# @option options [
|
367
|
-
#
|
400
|
+
# @option options [String] :ssl_ca_store
|
401
|
+
# Sets the X509::Store to verify peer certificate.
|
368
402
|
#
|
369
|
-
# @option options [
|
370
|
-
#
|
371
|
-
# connection.
|
403
|
+
# @option options [Float] :ssl_timeout
|
404
|
+
# Sets the SSL timeout in seconds
|
372
405
|
#
|
373
|
-
# @option options [
|
374
|
-
#
|
375
|
-
# verifying peer certificates. If you do not pass
|
376
|
-
# `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
|
377
|
-
# will be used if available.
|
378
|
-
#
|
379
|
-
# @option options [String] :ssl_ca_directory Full path of the
|
380
|
-
# directory that contains the unbundled SSL certificate
|
381
|
-
# authority files for verifying peer certificates. If you do
|
382
|
-
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
|
383
|
-
# system default will be used if available.
|
406
|
+
# @option options [Boolean] :ssl_verify_peer (true)
|
407
|
+
# When `true`, SSL peer certificates are verified when establishing a connection.
|
384
408
|
#
|
385
409
|
def initialize(*args)
|
386
410
|
super
|
@@ -421,7 +445,13 @@ module Aws::KafkaConnect
|
|
421
445
|
# Details about log delivery.
|
422
446
|
#
|
423
447
|
# @option params [required, Array<Types::Plugin>] :plugins
|
424
|
-
#
|
448
|
+
# Amazon MSK Connect does not currently support specifying multiple
|
449
|
+
# plugins as a list. To use more than one plugin for your connector, you
|
450
|
+
# can create a single custom plugin using a ZIP file that bundles
|
451
|
+
# multiple plugins together.
|
452
|
+
#
|
453
|
+
# Specifies which plugin to use for the connector. You must specify a
|
454
|
+
# single-element list containing one `customPlugin` object.
|
425
455
|
#
|
426
456
|
# @option params [required, String] :service_execution_role_arn
|
427
457
|
# The Amazon Resource Name (ARN) of the IAM role used by the connector
|
@@ -430,6 +460,9 @@ module Aws::KafkaConnect
|
|
430
460
|
# connector that has Amazon S3 as a destination must have permissions
|
431
461
|
# that allow it to write to the S3 destination bucket.
|
432
462
|
#
|
463
|
+
# @option params [Hash<String,String>] :tags
|
464
|
+
# The tags you want to attach to the connector.
|
465
|
+
#
|
433
466
|
# @option params [Types::WorkerConfiguration] :worker_configuration
|
434
467
|
# Specifies which worker configuration to use with the connector.
|
435
468
|
#
|
@@ -506,6 +539,9 @@ module Aws::KafkaConnect
|
|
506
539
|
# },
|
507
540
|
# ],
|
508
541
|
# service_execution_role_arn: "__string", # required
|
542
|
+
# tags: {
|
543
|
+
# "TagKey" => "TagValue",
|
544
|
+
# },
|
509
545
|
# worker_configuration: {
|
510
546
|
# revision: 1, # required
|
511
547
|
# worker_configuration_arn: "__string", # required
|
@@ -541,6 +577,9 @@ module Aws::KafkaConnect
|
|
541
577
|
# @option params [required, String] :name
|
542
578
|
# The name of the custom plugin.
|
543
579
|
#
|
580
|
+
# @option params [Hash<String,String>] :tags
|
581
|
+
# The tags you want to attach to the custom plugin.
|
582
|
+
#
|
544
583
|
# @return [Types::CreateCustomPluginResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
545
584
|
#
|
546
585
|
# * {Types::CreateCustomPluginResponse#custom_plugin_arn #custom_plugin_arn} => String
|
@@ -561,6 +600,9 @@ module Aws::KafkaConnect
|
|
561
600
|
# },
|
562
601
|
# },
|
563
602
|
# name: "__stringMin1Max128", # required
|
603
|
+
# tags: {
|
604
|
+
# "TagKey" => "TagValue",
|
605
|
+
# },
|
564
606
|
# })
|
565
607
|
#
|
566
608
|
# @example Response structure
|
@@ -590,12 +632,16 @@ module Aws::KafkaConnect
|
|
590
632
|
# @option params [required, String] :properties_file_content
|
591
633
|
# Base64 encoded contents of connect-distributed.properties file.
|
592
634
|
#
|
635
|
+
# @option params [Hash<String,String>] :tags
|
636
|
+
# The tags you want to attach to the worker configuration.
|
637
|
+
#
|
593
638
|
# @return [Types::CreateWorkerConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
594
639
|
#
|
595
640
|
# * {Types::CreateWorkerConfigurationResponse#creation_time #creation_time} => Time
|
596
641
|
# * {Types::CreateWorkerConfigurationResponse#latest_revision #latest_revision} => Types::WorkerConfigurationRevisionSummary
|
597
642
|
# * {Types::CreateWorkerConfigurationResponse#name #name} => String
|
598
643
|
# * {Types::CreateWorkerConfigurationResponse#worker_configuration_arn #worker_configuration_arn} => String
|
644
|
+
# * {Types::CreateWorkerConfigurationResponse#worker_configuration_state #worker_configuration_state} => String
|
599
645
|
#
|
600
646
|
# @example Request syntax with placeholder values
|
601
647
|
#
|
@@ -603,6 +649,9 @@ module Aws::KafkaConnect
|
|
603
649
|
# description: "__stringMax1024",
|
604
650
|
# name: "__stringMin1Max128", # required
|
605
651
|
# properties_file_content: "__sensitiveString", # required
|
652
|
+
# tags: {
|
653
|
+
# "TagKey" => "TagValue",
|
654
|
+
# },
|
606
655
|
# })
|
607
656
|
#
|
608
657
|
# @example Response structure
|
@@ -613,6 +662,7 @@ module Aws::KafkaConnect
|
|
613
662
|
# resp.latest_revision.revision #=> Integer
|
614
663
|
# resp.name #=> String
|
615
664
|
# resp.worker_configuration_arn #=> String
|
665
|
+
# resp.worker_configuration_state #=> String, one of "ACTIVE", "DELETING"
|
616
666
|
#
|
617
667
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/CreateWorkerConfiguration AWS API Documentation
|
618
668
|
#
|
@@ -689,6 +739,37 @@ module Aws::KafkaConnect
|
|
689
739
|
req.send_request(options)
|
690
740
|
end
|
691
741
|
|
742
|
+
# Deletes the specified worker configuration.
|
743
|
+
#
|
744
|
+
# @option params [required, String] :worker_configuration_arn
|
745
|
+
# The Amazon Resource Name (ARN) of the worker configuration that you
|
746
|
+
# want to delete.
|
747
|
+
#
|
748
|
+
# @return [Types::DeleteWorkerConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
749
|
+
#
|
750
|
+
# * {Types::DeleteWorkerConfigurationResponse#worker_configuration_arn #worker_configuration_arn} => String
|
751
|
+
# * {Types::DeleteWorkerConfigurationResponse#worker_configuration_state #worker_configuration_state} => String
|
752
|
+
#
|
753
|
+
# @example Request syntax with placeholder values
|
754
|
+
#
|
755
|
+
# resp = client.delete_worker_configuration({
|
756
|
+
# worker_configuration_arn: "__string", # required
|
757
|
+
# })
|
758
|
+
#
|
759
|
+
# @example Response structure
|
760
|
+
#
|
761
|
+
# resp.worker_configuration_arn #=> String
|
762
|
+
# resp.worker_configuration_state #=> String, one of "ACTIVE", "DELETING"
|
763
|
+
#
|
764
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/DeleteWorkerConfiguration AWS API Documentation
|
765
|
+
#
|
766
|
+
# @overload delete_worker_configuration(params = {})
|
767
|
+
# @param [Hash] params ({})
|
768
|
+
def delete_worker_configuration(params = {}, options = {})
|
769
|
+
req = build_request(:delete_worker_configuration, params)
|
770
|
+
req.send_request(options)
|
771
|
+
end
|
772
|
+
|
692
773
|
# Returns summary information about the connector.
|
693
774
|
#
|
694
775
|
# @option params [required, String] :connector_arn
|
@@ -833,6 +914,7 @@ module Aws::KafkaConnect
|
|
833
914
|
# * {Types::DescribeWorkerConfigurationResponse#latest_revision #latest_revision} => Types::WorkerConfigurationRevisionDescription
|
834
915
|
# * {Types::DescribeWorkerConfigurationResponse#name #name} => String
|
835
916
|
# * {Types::DescribeWorkerConfigurationResponse#worker_configuration_arn #worker_configuration_arn} => String
|
917
|
+
# * {Types::DescribeWorkerConfigurationResponse#worker_configuration_state #worker_configuration_state} => String
|
836
918
|
#
|
837
919
|
# @example Request syntax with placeholder values
|
838
920
|
#
|
@@ -850,6 +932,7 @@ module Aws::KafkaConnect
|
|
850
932
|
# resp.latest_revision.revision #=> Integer
|
851
933
|
# resp.name #=> String
|
852
934
|
# resp.worker_configuration_arn #=> String
|
935
|
+
# resp.worker_configuration_state #=> String, one of "ACTIVE", "DELETING"
|
853
936
|
#
|
854
937
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/DescribeWorkerConfiguration AWS API Documentation
|
855
938
|
#
|
@@ -946,6 +1029,9 @@ module Aws::KafkaConnect
|
|
946
1029
|
# @option params [Integer] :max_results
|
947
1030
|
# The maximum number of custom plugins to list in one response.
|
948
1031
|
#
|
1032
|
+
# @option params [String] :name_prefix
|
1033
|
+
# Lists custom plugin names that start with the specified text string.
|
1034
|
+
#
|
949
1035
|
# @option params [String] :next_token
|
950
1036
|
# If the response of a ListCustomPlugins operation is truncated, it will
|
951
1037
|
# include a NextToken. Send this NextToken in a subsequent request to
|
@@ -962,6 +1048,7 @@ module Aws::KafkaConnect
|
|
962
1048
|
#
|
963
1049
|
# resp = client.list_custom_plugins({
|
964
1050
|
# max_results: 1,
|
1051
|
+
# name_prefix: "__string",
|
965
1052
|
# next_token: "__string",
|
966
1053
|
# })
|
967
1054
|
#
|
@@ -993,12 +1080,46 @@ module Aws::KafkaConnect
|
|
993
1080
|
req.send_request(options)
|
994
1081
|
end
|
995
1082
|
|
1083
|
+
# Lists all the tags attached to the specified resource.
|
1084
|
+
#
|
1085
|
+
# @option params [required, String] :resource_arn
|
1086
|
+
# The Amazon Resource Name (ARN) of the resource for which you want to
|
1087
|
+
# list all attached tags.
|
1088
|
+
#
|
1089
|
+
# @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1090
|
+
#
|
1091
|
+
# * {Types::ListTagsForResourceResponse#tags #tags} => Hash<String,String>
|
1092
|
+
#
|
1093
|
+
# @example Request syntax with placeholder values
|
1094
|
+
#
|
1095
|
+
# resp = client.list_tags_for_resource({
|
1096
|
+
# resource_arn: "__string", # required
|
1097
|
+
# })
|
1098
|
+
#
|
1099
|
+
# @example Response structure
|
1100
|
+
#
|
1101
|
+
# resp.tags #=> Hash
|
1102
|
+
# resp.tags["TagKey"] #=> String
|
1103
|
+
#
|
1104
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/ListTagsForResource AWS API Documentation
|
1105
|
+
#
|
1106
|
+
# @overload list_tags_for_resource(params = {})
|
1107
|
+
# @param [Hash] params ({})
|
1108
|
+
def list_tags_for_resource(params = {}, options = {})
|
1109
|
+
req = build_request(:list_tags_for_resource, params)
|
1110
|
+
req.send_request(options)
|
1111
|
+
end
|
1112
|
+
|
996
1113
|
# Returns a list of all of the worker configurations in this account and
|
997
1114
|
# Region.
|
998
1115
|
#
|
999
1116
|
# @option params [Integer] :max_results
|
1000
1117
|
# The maximum number of worker configurations to list in one response.
|
1001
1118
|
#
|
1119
|
+
# @option params [String] :name_prefix
|
1120
|
+
# Lists worker configuration names that start with the specified text
|
1121
|
+
# string.
|
1122
|
+
#
|
1002
1123
|
# @option params [String] :next_token
|
1003
1124
|
# If the response of a ListWorkerConfigurations operation is truncated,
|
1004
1125
|
# it will include a NextToken. Send this NextToken in a subsequent
|
@@ -1016,6 +1137,7 @@ module Aws::KafkaConnect
|
|
1016
1137
|
#
|
1017
1138
|
# resp = client.list_worker_configurations({
|
1018
1139
|
# max_results: 1,
|
1140
|
+
# name_prefix: "__string",
|
1019
1141
|
# next_token: "__string",
|
1020
1142
|
# })
|
1021
1143
|
#
|
@@ -1030,6 +1152,7 @@ module Aws::KafkaConnect
|
|
1030
1152
|
# resp.worker_configurations[0].latest_revision.revision #=> Integer
|
1031
1153
|
# resp.worker_configurations[0].name #=> String
|
1032
1154
|
# resp.worker_configurations[0].worker_configuration_arn #=> String
|
1155
|
+
# resp.worker_configurations[0].worker_configuration_state #=> String, one of "ACTIVE", "DELETING"
|
1033
1156
|
#
|
1034
1157
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/ListWorkerConfigurations AWS API Documentation
|
1035
1158
|
#
|
@@ -1040,6 +1163,62 @@ module Aws::KafkaConnect
|
|
1040
1163
|
req.send_request(options)
|
1041
1164
|
end
|
1042
1165
|
|
1166
|
+
# Attaches tags to the specified resource.
|
1167
|
+
#
|
1168
|
+
# @option params [required, String] :resource_arn
|
1169
|
+
# The Amazon Resource Name (ARN) of the resource to which you want to
|
1170
|
+
# attach tags.
|
1171
|
+
#
|
1172
|
+
# @option params [required, Hash<String,String>] :tags
|
1173
|
+
# The tags that you want to attach to the resource.
|
1174
|
+
#
|
1175
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1176
|
+
#
|
1177
|
+
# @example Request syntax with placeholder values
|
1178
|
+
#
|
1179
|
+
# resp = client.tag_resource({
|
1180
|
+
# resource_arn: "__string", # required
|
1181
|
+
# tags: { # required
|
1182
|
+
# "TagKey" => "TagValue",
|
1183
|
+
# },
|
1184
|
+
# })
|
1185
|
+
#
|
1186
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/TagResource AWS API Documentation
|
1187
|
+
#
|
1188
|
+
# @overload tag_resource(params = {})
|
1189
|
+
# @param [Hash] params ({})
|
1190
|
+
def tag_resource(params = {}, options = {})
|
1191
|
+
req = build_request(:tag_resource, params)
|
1192
|
+
req.send_request(options)
|
1193
|
+
end
|
1194
|
+
|
1195
|
+
# Removes tags from the specified resource.
|
1196
|
+
#
|
1197
|
+
# @option params [required, String] :resource_arn
|
1198
|
+
# The Amazon Resource Name (ARN) of the resource from which you want to
|
1199
|
+
# remove tags.
|
1200
|
+
#
|
1201
|
+
# @option params [required, Array<String>] :tag_keys
|
1202
|
+
# The keys of the tags that you want to remove from the resource.
|
1203
|
+
#
|
1204
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1205
|
+
#
|
1206
|
+
# @example Request syntax with placeholder values
|
1207
|
+
#
|
1208
|
+
# resp = client.untag_resource({
|
1209
|
+
# resource_arn: "__string", # required
|
1210
|
+
# tag_keys: ["TagKey"], # required
|
1211
|
+
# })
|
1212
|
+
#
|
1213
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/UntagResource AWS API Documentation
|
1214
|
+
#
|
1215
|
+
# @overload untag_resource(params = {})
|
1216
|
+
# @param [Hash] params ({})
|
1217
|
+
def untag_resource(params = {}, options = {})
|
1218
|
+
req = build_request(:untag_resource, params)
|
1219
|
+
req.send_request(options)
|
1220
|
+
end
|
1221
|
+
|
1043
1222
|
# Updates the specified connector.
|
1044
1223
|
#
|
1045
1224
|
# @option params [required, Types::CapacityUpdate] :capacity
|
@@ -1108,7 +1287,7 @@ module Aws::KafkaConnect
|
|
1108
1287
|
params: params,
|
1109
1288
|
config: config)
|
1110
1289
|
context[:gem_name] = 'aws-sdk-kafkaconnect'
|
1111
|
-
context[:gem_version] = '1.
|
1290
|
+
context[:gem_version] = '1.21.0'
|
1112
1291
|
Seahorse::Client::Request.new(handlers, context)
|
1113
1292
|
end
|
1114
1293
|
|