aws-sdk-kafkaconnect 1.4.0 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-kafkaconnect/client.rb +43 -2
- data/lib/aws-sdk-kafkaconnect/client_api.rb +45 -8
- data/lib/aws-sdk-kafkaconnect/types.rb +73 -6
- data/lib/aws-sdk-kafkaconnect.rb +1 -1
- 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: 2e92ba6eea653f37be83f376039b0a23ba6d9fe55f5f0098c6bf6127b864ec4a
|
4
|
+
data.tar.gz: fe87eb96820c6a53fb6f56b079c9a7999ab7862b33b68760d2456b8a623007fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c08c0012822ed07ecfde59a549ab12d4c6deb4609c0b886276fef2abb047923fae3af2467d4be908668ff6f343e913b7d40b09ae15a75521befa01c15412c67
|
7
|
+
data.tar.gz: eaffceaf63f6cf1aa62a6d336a862eb4962e77167c8533a28a1c3784d30b4a91dbc6a387a9445b218453d977e516675e8a59f179085ab45dddf18a7474c14bd0
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.7.0 (2022-03-01)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Adds operation for custom plugin deletion (DeleteCustomPlugin) and adds new StateDescription field to DescribeCustomPlugin and DescribeConnector responses to return errors from asynchronous resource creation.
|
8
|
+
|
9
|
+
1.6.0 (2022-02-24)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.5.0 (2022-02-03)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
4
19
|
1.4.0 (2021-12-21)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.7.0
|
@@ -27,7 +27,9 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
27
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
|
+
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
30
31
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
32
|
+
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
31
33
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
32
34
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
33
35
|
|
@@ -74,7 +76,9 @@ module Aws::KafkaConnect
|
|
74
76
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
75
77
|
add_plugin(Aws::Plugins::TransferEncoding)
|
76
78
|
add_plugin(Aws::Plugins::HttpChecksum)
|
79
|
+
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
77
80
|
add_plugin(Aws::Plugins::DefaultsMode)
|
81
|
+
add_plugin(Aws::Plugins::RecursionDetection)
|
78
82
|
add_plugin(Aws::Plugins::SignatureV4)
|
79
83
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
80
84
|
|
@@ -561,7 +565,7 @@ module Aws::KafkaConnect
|
|
561
565
|
# resp = client.create_worker_configuration({
|
562
566
|
# description: "__stringMax1024",
|
563
567
|
# name: "__stringMin1Max128", # required
|
564
|
-
# properties_file_content: "
|
568
|
+
# properties_file_content: "SyntheticCreateWorkerConfigurationRequest__string", # required
|
565
569
|
# })
|
566
570
|
#
|
567
571
|
# @example Response structure
|
@@ -617,6 +621,37 @@ module Aws::KafkaConnect
|
|
617
621
|
req.send_request(options)
|
618
622
|
end
|
619
623
|
|
624
|
+
# Deletes a custom plugin.
|
625
|
+
#
|
626
|
+
# @option params [required, String] :custom_plugin_arn
|
627
|
+
# The Amazon Resource Name (ARN) of the custom plugin that you want to
|
628
|
+
# delete.
|
629
|
+
#
|
630
|
+
# @return [Types::DeleteCustomPluginResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
631
|
+
#
|
632
|
+
# * {Types::DeleteCustomPluginResponse#custom_plugin_arn #custom_plugin_arn} => String
|
633
|
+
# * {Types::DeleteCustomPluginResponse#custom_plugin_state #custom_plugin_state} => String
|
634
|
+
#
|
635
|
+
# @example Request syntax with placeholder values
|
636
|
+
#
|
637
|
+
# resp = client.delete_custom_plugin({
|
638
|
+
# custom_plugin_arn: "__string", # required
|
639
|
+
# })
|
640
|
+
#
|
641
|
+
# @example Response structure
|
642
|
+
#
|
643
|
+
# resp.custom_plugin_arn #=> String
|
644
|
+
# resp.custom_plugin_state #=> String, one of "CREATING", "CREATE_FAILED", "ACTIVE", "UPDATING", "UPDATE_FAILED", "DELETING"
|
645
|
+
#
|
646
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/DeleteCustomPlugin AWS API Documentation
|
647
|
+
#
|
648
|
+
# @overload delete_custom_plugin(params = {})
|
649
|
+
# @param [Hash] params ({})
|
650
|
+
def delete_custom_plugin(params = {}, options = {})
|
651
|
+
req = build_request(:delete_custom_plugin, params)
|
652
|
+
req.send_request(options)
|
653
|
+
end
|
654
|
+
|
620
655
|
# Returns summary information about the connector.
|
621
656
|
#
|
622
657
|
# @option params [required, String] :connector_arn
|
@@ -640,6 +675,7 @@ module Aws::KafkaConnect
|
|
640
675
|
# * {Types::DescribeConnectorResponse#log_delivery #log_delivery} => Types::LogDeliveryDescription
|
641
676
|
# * {Types::DescribeConnectorResponse#plugins #plugins} => Array<Types::PluginDescription>
|
642
677
|
# * {Types::DescribeConnectorResponse#service_execution_role_arn #service_execution_role_arn} => String
|
678
|
+
# * {Types::DescribeConnectorResponse#state_description #state_description} => Types::StateDescription
|
643
679
|
# * {Types::DescribeConnectorResponse#worker_configuration #worker_configuration} => Types::WorkerConfigurationDescription
|
644
680
|
#
|
645
681
|
# @example Request syntax with placeholder values
|
@@ -684,6 +720,8 @@ module Aws::KafkaConnect
|
|
684
720
|
# resp.plugins[0].custom_plugin.custom_plugin_arn #=> String
|
685
721
|
# resp.plugins[0].custom_plugin.revision #=> Integer
|
686
722
|
# resp.service_execution_role_arn #=> String
|
723
|
+
# resp.state_description.code #=> String
|
724
|
+
# resp.state_description.message #=> String
|
687
725
|
# resp.worker_configuration.revision #=> Integer
|
688
726
|
# resp.worker_configuration.worker_configuration_arn #=> String
|
689
727
|
#
|
@@ -709,6 +747,7 @@ module Aws::KafkaConnect
|
|
709
747
|
# * {Types::DescribeCustomPluginResponse#description #description} => String
|
710
748
|
# * {Types::DescribeCustomPluginResponse#latest_revision #latest_revision} => Types::CustomPluginRevisionSummary
|
711
749
|
# * {Types::DescribeCustomPluginResponse#name #name} => String
|
750
|
+
# * {Types::DescribeCustomPluginResponse#state_description #state_description} => Types::StateDescription
|
712
751
|
#
|
713
752
|
# @example Request syntax with placeholder values
|
714
753
|
#
|
@@ -732,6 +771,8 @@ module Aws::KafkaConnect
|
|
732
771
|
# resp.latest_revision.location.s3_location.object_version #=> String
|
733
772
|
# resp.latest_revision.revision #=> Integer
|
734
773
|
# resp.name #=> String
|
774
|
+
# resp.state_description.code #=> String
|
775
|
+
# resp.state_description.message #=> String
|
735
776
|
#
|
736
777
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/DescribeCustomPlugin AWS API Documentation
|
737
778
|
#
|
@@ -1030,7 +1071,7 @@ module Aws::KafkaConnect
|
|
1030
1071
|
params: params,
|
1031
1072
|
config: config)
|
1032
1073
|
context[:gem_name] = 'aws-sdk-kafkaconnect'
|
1033
|
-
context[:gem_version] = '1.
|
1074
|
+
context[:gem_version] = '1.7.0'
|
1034
1075
|
Seahorse::Client::Request.new(handlers, context)
|
1035
1076
|
end
|
1036
1077
|
|
@@ -44,6 +44,8 @@ module Aws::KafkaConnect
|
|
44
44
|
CustomPluginSummary = Shapes::StructureShape.new(name: 'CustomPluginSummary')
|
45
45
|
DeleteConnectorRequest = Shapes::StructureShape.new(name: 'DeleteConnectorRequest')
|
46
46
|
DeleteConnectorResponse = Shapes::StructureShape.new(name: 'DeleteConnectorResponse')
|
47
|
+
DeleteCustomPluginRequest = Shapes::StructureShape.new(name: 'DeleteCustomPluginRequest')
|
48
|
+
DeleteCustomPluginResponse = Shapes::StructureShape.new(name: 'DeleteCustomPluginResponse')
|
47
49
|
DescribeConnectorRequest = Shapes::StructureShape.new(name: 'DescribeConnectorRequest')
|
48
50
|
DescribeConnectorResponse = Shapes::StructureShape.new(name: 'DescribeConnectorResponse')
|
49
51
|
DescribeCustomPluginRequest = Shapes::StructureShape.new(name: 'DescribeCustomPluginRequest')
|
@@ -88,6 +90,11 @@ module Aws::KafkaConnect
|
|
88
90
|
ScaleOutPolicyDescription = Shapes::StructureShape.new(name: 'ScaleOutPolicyDescription')
|
89
91
|
ScaleOutPolicyUpdate = Shapes::StructureShape.new(name: 'ScaleOutPolicyUpdate')
|
90
92
|
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
93
|
+
StateDescription = Shapes::StructureShape.new(name: 'StateDescription')
|
94
|
+
SyntheticCreateConnectorRequest__mapOf__string = Shapes::MapShape.new(name: 'SyntheticCreateConnectorRequest__mapOf__string')
|
95
|
+
SyntheticCreateWorkerConfigurationRequest__string = Shapes::StringShape.new(name: 'SyntheticCreateWorkerConfigurationRequest__string')
|
96
|
+
SyntheticDescribeConnectorResponse__mapOf__string = Shapes::MapShape.new(name: 'SyntheticDescribeConnectorResponse__mapOf__string')
|
97
|
+
SyntheticWorkerConfigurationRevisionDescription__string = Shapes::StringShape.new(name: 'SyntheticWorkerConfigurationRevisionDescription__string')
|
91
98
|
TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
|
92
99
|
UnauthorizedException = Shapes::StructureShape.new(name: 'UnauthorizedException')
|
93
100
|
UpdateConnectorRequest = Shapes::StructureShape.new(name: 'UpdateConnectorRequest')
|
@@ -114,7 +121,6 @@ module Aws::KafkaConnect
|
|
114
121
|
__listOf__string = Shapes::ListShape.new(name: '__listOf__string')
|
115
122
|
__long = Shapes::IntegerShape.new(name: '__long')
|
116
123
|
__longMin1 = Shapes::IntegerShape.new(name: '__longMin1')
|
117
|
-
__mapOf__string = Shapes::MapShape.new(name: '__mapOf__string')
|
118
124
|
__string = Shapes::StringShape.new(name: '__string')
|
119
125
|
__stringMax1024 = Shapes::StringShape.new(name: '__stringMax1024')
|
120
126
|
__stringMin1Max128 = Shapes::StringShape.new(name: '__stringMin1Max128')
|
@@ -193,7 +199,7 @@ module Aws::KafkaConnect
|
|
193
199
|
ConnectorSummary.struct_class = Types::ConnectorSummary
|
194
200
|
|
195
201
|
CreateConnectorRequest.add_member(:capacity, Shapes::ShapeRef.new(shape: Capacity, required: true, location_name: "capacity"))
|
196
|
-
CreateConnectorRequest.add_member(:connector_configuration, Shapes::ShapeRef.new(shape:
|
202
|
+
CreateConnectorRequest.add_member(:connector_configuration, Shapes::ShapeRef.new(shape: SyntheticCreateConnectorRequest__mapOf__string, required: true, location_name: "connectorConfiguration"))
|
197
203
|
CreateConnectorRequest.add_member(:connector_description, Shapes::ShapeRef.new(shape: __stringMax1024, location_name: "connectorDescription"))
|
198
204
|
CreateConnectorRequest.add_member(:connector_name, Shapes::ShapeRef.new(shape: __stringMin1Max128, required: true, location_name: "connectorName"))
|
199
205
|
CreateConnectorRequest.add_member(:kafka_cluster, Shapes::ShapeRef.new(shape: KafkaCluster, required: true, location_name: "kafkaCluster"))
|
@@ -225,7 +231,7 @@ module Aws::KafkaConnect
|
|
225
231
|
|
226
232
|
CreateWorkerConfigurationRequest.add_member(:description, Shapes::ShapeRef.new(shape: __stringMax1024, location_name: "description"))
|
227
233
|
CreateWorkerConfigurationRequest.add_member(:name, Shapes::ShapeRef.new(shape: __stringMin1Max128, required: true, location_name: "name"))
|
228
|
-
CreateWorkerConfigurationRequest.add_member(:properties_file_content, Shapes::ShapeRef.new(shape:
|
234
|
+
CreateWorkerConfigurationRequest.add_member(:properties_file_content, Shapes::ShapeRef.new(shape: SyntheticCreateWorkerConfigurationRequest__string, required: true, location_name: "propertiesFileContent"))
|
229
235
|
CreateWorkerConfigurationRequest.struct_class = Types::CreateWorkerConfigurationRequest
|
230
236
|
|
231
237
|
CreateWorkerConfigurationResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "creationTime"))
|
@@ -276,12 +282,19 @@ module Aws::KafkaConnect
|
|
276
282
|
DeleteConnectorResponse.add_member(:connector_state, Shapes::ShapeRef.new(shape: ConnectorState, location_name: "connectorState"))
|
277
283
|
DeleteConnectorResponse.struct_class = Types::DeleteConnectorResponse
|
278
284
|
|
285
|
+
DeleteCustomPluginRequest.add_member(:custom_plugin_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "customPluginArn"))
|
286
|
+
DeleteCustomPluginRequest.struct_class = Types::DeleteCustomPluginRequest
|
287
|
+
|
288
|
+
DeleteCustomPluginResponse.add_member(:custom_plugin_arn, Shapes::ShapeRef.new(shape: __string, location_name: "customPluginArn"))
|
289
|
+
DeleteCustomPluginResponse.add_member(:custom_plugin_state, Shapes::ShapeRef.new(shape: CustomPluginState, location_name: "customPluginState"))
|
290
|
+
DeleteCustomPluginResponse.struct_class = Types::DeleteCustomPluginResponse
|
291
|
+
|
279
292
|
DescribeConnectorRequest.add_member(:connector_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "connectorArn"))
|
280
293
|
DescribeConnectorRequest.struct_class = Types::DescribeConnectorRequest
|
281
294
|
|
282
295
|
DescribeConnectorResponse.add_member(:capacity, Shapes::ShapeRef.new(shape: CapacityDescription, location_name: "capacity"))
|
283
296
|
DescribeConnectorResponse.add_member(:connector_arn, Shapes::ShapeRef.new(shape: __string, location_name: "connectorArn"))
|
284
|
-
DescribeConnectorResponse.add_member(:connector_configuration, Shapes::ShapeRef.new(shape:
|
297
|
+
DescribeConnectorResponse.add_member(:connector_configuration, Shapes::ShapeRef.new(shape: SyntheticDescribeConnectorResponse__mapOf__string, location_name: "connectorConfiguration"))
|
285
298
|
DescribeConnectorResponse.add_member(:connector_description, Shapes::ShapeRef.new(shape: __string, location_name: "connectorDescription"))
|
286
299
|
DescribeConnectorResponse.add_member(:connector_name, Shapes::ShapeRef.new(shape: __string, location_name: "connectorName"))
|
287
300
|
DescribeConnectorResponse.add_member(:connector_state, Shapes::ShapeRef.new(shape: ConnectorState, location_name: "connectorState"))
|
@@ -294,6 +307,7 @@ module Aws::KafkaConnect
|
|
294
307
|
DescribeConnectorResponse.add_member(:log_delivery, Shapes::ShapeRef.new(shape: LogDeliveryDescription, location_name: "logDelivery"))
|
295
308
|
DescribeConnectorResponse.add_member(:plugins, Shapes::ShapeRef.new(shape: __listOfPluginDescription, location_name: "plugins"))
|
296
309
|
DescribeConnectorResponse.add_member(:service_execution_role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "serviceExecutionRoleArn"))
|
310
|
+
DescribeConnectorResponse.add_member(:state_description, Shapes::ShapeRef.new(shape: StateDescription, location_name: "stateDescription"))
|
297
311
|
DescribeConnectorResponse.add_member(:worker_configuration, Shapes::ShapeRef.new(shape: WorkerConfigurationDescription, location_name: "workerConfiguration"))
|
298
312
|
DescribeConnectorResponse.struct_class = Types::DescribeConnectorResponse
|
299
313
|
|
@@ -306,6 +320,7 @@ module Aws::KafkaConnect
|
|
306
320
|
DescribeCustomPluginResponse.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
|
307
321
|
DescribeCustomPluginResponse.add_member(:latest_revision, Shapes::ShapeRef.new(shape: CustomPluginRevisionSummary, location_name: "latestRevision"))
|
308
322
|
DescribeCustomPluginResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
|
323
|
+
DescribeCustomPluginResponse.add_member(:state_description, Shapes::ShapeRef.new(shape: StateDescription, location_name: "stateDescription"))
|
309
324
|
DescribeCustomPluginResponse.struct_class = Types::DescribeCustomPluginResponse
|
310
325
|
|
311
326
|
DescribeWorkerConfigurationRequest.add_member(:worker_configuration_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "workerConfigurationArn"))
|
@@ -443,6 +458,16 @@ module Aws::KafkaConnect
|
|
443
458
|
ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
444
459
|
ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
|
445
460
|
|
461
|
+
StateDescription.add_member(:code, Shapes::ShapeRef.new(shape: __string, location_name: "code"))
|
462
|
+
StateDescription.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
463
|
+
StateDescription.struct_class = Types::StateDescription
|
464
|
+
|
465
|
+
SyntheticCreateConnectorRequest__mapOf__string.key = Shapes::ShapeRef.new(shape: __string)
|
466
|
+
SyntheticCreateConnectorRequest__mapOf__string.value = Shapes::ShapeRef.new(shape: __string)
|
467
|
+
|
468
|
+
SyntheticDescribeConnectorResponse__mapOf__string.key = Shapes::ShapeRef.new(shape: __string)
|
469
|
+
SyntheticDescribeConnectorResponse__mapOf__string.value = Shapes::ShapeRef.new(shape: __string)
|
470
|
+
|
446
471
|
TooManyRequestsException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
447
472
|
TooManyRequestsException.struct_class = Types::TooManyRequestsException
|
448
473
|
|
@@ -476,7 +501,7 @@ module Aws::KafkaConnect
|
|
476
501
|
|
477
502
|
WorkerConfigurationRevisionDescription.add_member(:creation_time, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "creationTime"))
|
478
503
|
WorkerConfigurationRevisionDescription.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
|
479
|
-
WorkerConfigurationRevisionDescription.add_member(:properties_file_content, Shapes::ShapeRef.new(shape:
|
504
|
+
WorkerConfigurationRevisionDescription.add_member(:properties_file_content, Shapes::ShapeRef.new(shape: SyntheticWorkerConfigurationRevisionDescription__string, location_name: "propertiesFileContent"))
|
480
505
|
WorkerConfigurationRevisionDescription.add_member(:revision, Shapes::ShapeRef.new(shape: __long, location_name: "revision"))
|
481
506
|
WorkerConfigurationRevisionDescription.struct_class = Types::WorkerConfigurationRevisionDescription
|
482
507
|
|
@@ -514,9 +539,6 @@ module Aws::KafkaConnect
|
|
514
539
|
|
515
540
|
__listOf__string.member = Shapes::ShapeRef.new(shape: __string)
|
516
541
|
|
517
|
-
__mapOf__string.key = Shapes::ShapeRef.new(shape: __string)
|
518
|
-
__mapOf__string.value = Shapes::ShapeRef.new(shape: __string)
|
519
|
-
|
520
542
|
|
521
543
|
# @api private
|
522
544
|
API = Seahorse::Model::Api.new.tap do |api|
|
@@ -599,6 +621,21 @@ module Aws::KafkaConnect
|
|
599
621
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
600
622
|
end)
|
601
623
|
|
624
|
+
api.add_operation(:delete_custom_plugin, Seahorse::Model::Operation.new.tap do |o|
|
625
|
+
o.name = "DeleteCustomPlugin"
|
626
|
+
o.http_method = "DELETE"
|
627
|
+
o.http_request_uri = "/v1/custom-plugins/{customPluginArn}"
|
628
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteCustomPluginRequest)
|
629
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteCustomPluginResponse)
|
630
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
631
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
632
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
633
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
634
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
635
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
636
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
637
|
+
end)
|
638
|
+
|
602
639
|
api.add_operation(:describe_connector, Seahorse::Model::Operation.new.tap do |o|
|
603
640
|
o.name = "DescribeConnector"
|
604
641
|
o.http_method = "GET"
|
@@ -610,7 +610,7 @@ module Aws::KafkaConnect
|
|
610
610
|
:plugins,
|
611
611
|
:service_execution_role_arn,
|
612
612
|
:worker_configuration)
|
613
|
-
SENSITIVE = []
|
613
|
+
SENSITIVE = [:connector_configuration]
|
614
614
|
include Aws::Structure
|
615
615
|
end
|
616
616
|
|
@@ -714,7 +714,7 @@ module Aws::KafkaConnect
|
|
714
714
|
# {
|
715
715
|
# description: "__stringMax1024",
|
716
716
|
# name: "__stringMin1Max128", # required
|
717
|
-
# properties_file_content: "
|
717
|
+
# properties_file_content: "SyntheticCreateWorkerConfigurationRequest__string", # required
|
718
718
|
# }
|
719
719
|
#
|
720
720
|
# @!attribute [rw] description
|
@@ -735,7 +735,7 @@ module Aws::KafkaConnect
|
|
735
735
|
:description,
|
736
736
|
:name,
|
737
737
|
:properties_file_content)
|
738
|
-
SENSITIVE = []
|
738
|
+
SENSITIVE = [:properties_file_content]
|
739
739
|
include Aws::Structure
|
740
740
|
end
|
741
741
|
|
@@ -998,6 +998,44 @@ module Aws::KafkaConnect
|
|
998
998
|
include Aws::Structure
|
999
999
|
end
|
1000
1000
|
|
1001
|
+
# @note When making an API call, you may pass DeleteCustomPluginRequest
|
1002
|
+
# data as a hash:
|
1003
|
+
#
|
1004
|
+
# {
|
1005
|
+
# custom_plugin_arn: "__string", # required
|
1006
|
+
# }
|
1007
|
+
#
|
1008
|
+
# @!attribute [rw] custom_plugin_arn
|
1009
|
+
# The Amazon Resource Name (ARN) of the custom plugin that you want to
|
1010
|
+
# delete.
|
1011
|
+
# @return [String]
|
1012
|
+
#
|
1013
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/DeleteCustomPluginRequest AWS API Documentation
|
1014
|
+
#
|
1015
|
+
class DeleteCustomPluginRequest < Struct.new(
|
1016
|
+
:custom_plugin_arn)
|
1017
|
+
SENSITIVE = []
|
1018
|
+
include Aws::Structure
|
1019
|
+
end
|
1020
|
+
|
1021
|
+
# @!attribute [rw] custom_plugin_arn
|
1022
|
+
# The Amazon Resource Name (ARN) of the custom plugin that you
|
1023
|
+
# requested to delete.
|
1024
|
+
# @return [String]
|
1025
|
+
#
|
1026
|
+
# @!attribute [rw] custom_plugin_state
|
1027
|
+
# The state of the custom plugin.
|
1028
|
+
# @return [String]
|
1029
|
+
#
|
1030
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/DeleteCustomPluginResponse AWS API Documentation
|
1031
|
+
#
|
1032
|
+
class DeleteCustomPluginResponse < Struct.new(
|
1033
|
+
:custom_plugin_arn,
|
1034
|
+
:custom_plugin_state)
|
1035
|
+
SENSITIVE = []
|
1036
|
+
include Aws::Structure
|
1037
|
+
end
|
1038
|
+
|
1001
1039
|
# @note When making an API call, you may pass DescribeConnectorRequest
|
1002
1040
|
# data as a hash:
|
1003
1041
|
#
|
@@ -1084,6 +1122,10 @@ module Aws::KafkaConnect
|
|
1084
1122
|
# to access Amazon Web Services resources.
|
1085
1123
|
# @return [String]
|
1086
1124
|
#
|
1125
|
+
# @!attribute [rw] state_description
|
1126
|
+
# Details about the state of a connector.
|
1127
|
+
# @return [Types::StateDescription]
|
1128
|
+
#
|
1087
1129
|
# @!attribute [rw] worker_configuration
|
1088
1130
|
# Specifies which worker configuration was used for the connector.
|
1089
1131
|
# @return [Types::WorkerConfigurationDescription]
|
@@ -1106,8 +1148,9 @@ module Aws::KafkaConnect
|
|
1106
1148
|
:log_delivery,
|
1107
1149
|
:plugins,
|
1108
1150
|
:service_execution_role_arn,
|
1151
|
+
:state_description,
|
1109
1152
|
:worker_configuration)
|
1110
|
-
SENSITIVE = []
|
1153
|
+
SENSITIVE = [:connector_configuration]
|
1111
1154
|
include Aws::Structure
|
1112
1155
|
end
|
1113
1156
|
|
@@ -1156,6 +1199,10 @@ module Aws::KafkaConnect
|
|
1156
1199
|
# The name of the custom plugin.
|
1157
1200
|
# @return [String]
|
1158
1201
|
#
|
1202
|
+
# @!attribute [rw] state_description
|
1203
|
+
# Details about the state of a custom plugin.
|
1204
|
+
# @return [Types::StateDescription]
|
1205
|
+
#
|
1159
1206
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/DescribeCustomPluginResponse AWS API Documentation
|
1160
1207
|
#
|
1161
1208
|
class DescribeCustomPluginResponse < Struct.new(
|
@@ -1164,7 +1211,8 @@ module Aws::KafkaConnect
|
|
1164
1211
|
:custom_plugin_state,
|
1165
1212
|
:description,
|
1166
1213
|
:latest_revision,
|
1167
|
-
:name
|
1214
|
+
:name,
|
1215
|
+
:state_description)
|
1168
1216
|
SENSITIVE = []
|
1169
1217
|
include Aws::Structure
|
1170
1218
|
end
|
@@ -1996,6 +2044,25 @@ module Aws::KafkaConnect
|
|
1996
2044
|
include Aws::Structure
|
1997
2045
|
end
|
1998
2046
|
|
2047
|
+
# Details about the state of a resource.
|
2048
|
+
#
|
2049
|
+
# @!attribute [rw] code
|
2050
|
+
# A code that describes the state of a resource.
|
2051
|
+
# @return [String]
|
2052
|
+
#
|
2053
|
+
# @!attribute [rw] message
|
2054
|
+
# A message that describes the state of a resource.
|
2055
|
+
# @return [String]
|
2056
|
+
#
|
2057
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/StateDescription AWS API Documentation
|
2058
|
+
#
|
2059
|
+
class StateDescription < Struct.new(
|
2060
|
+
:code,
|
2061
|
+
:message)
|
2062
|
+
SENSITIVE = []
|
2063
|
+
include Aws::Structure
|
2064
|
+
end
|
2065
|
+
|
1999
2066
|
# HTTP Status Code 429: Limit exceeded. Resource limit reached.
|
2000
2067
|
#
|
2001
2068
|
# @!attribute [rw] message
|
@@ -2206,7 +2273,7 @@ module Aws::KafkaConnect
|
|
2206
2273
|
:description,
|
2207
2274
|
:properties_file_content,
|
2208
2275
|
:revision)
|
2209
|
-
SENSITIVE = []
|
2276
|
+
SENSITIVE = [:properties_file_content]
|
2210
2277
|
include Aws::Structure
|
2211
2278
|
end
|
2212
2279
|
|
data/lib/aws-sdk-kafkaconnect.rb
CHANGED
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.
|
4
|
+
version: 1.7.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:
|
11
|
+
date: 2022-03-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.127.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.127.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|