aws-sdk-kafkaconnect 1.18.0 → 1.20.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 +157 -2
- 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 +9 -0
- data/lib/aws-sdk-kafkaconnect/types.rb +158 -10
- data/lib/aws-sdk-kafkaconnect.rb +1 -1
- data/sig/client.rbs +384 -0
- data/sig/errors.rbs +40 -0
- data/sig/resource.rbs +79 -0
- data/sig/types.rbs +623 -0
- data/sig/waiters.rbs +13 -0
- metadata +13 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af1adbf6c7555fd9feb61130b0b5e93b08bd10489d3cabf705814cb837524228
|
4
|
+
data.tar.gz: ce90e01954cde1ca0c6bfa44c682fa48feaf9b2383137411c793b69f2886e387
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7604adb3b5758710a2665946d98154cad5da5394d56cd7648be2045a3444c2739036c12610279cfa7640189c2842f0feda3ad9d04f7d1cfdfa8d7b914e60131b
|
7
|
+
data.tar.gz: 524443b6ef738b05dce165fb092d68eba963b8d02aa215ce3d207940402c505333226ccb231fb650e70a7e0e50e141f736cf2dfd4160ec8dc58b76ffe28df5f5
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
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
|
+
|
9
|
+
1.19.0 (2024-01-26)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.18.0 (2023-11-28)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
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
|
-
#
|
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<String,String>
|
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.
|
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?(
|
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
|