aws-sdk-kafkaconnect 1.13.0 → 1.15.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 +6 -2
- data/lib/aws-sdk-kafkaconnect/client_api.rb +9 -14
- data/lib/aws-sdk-kafkaconnect/endpoint_provider.rb +27 -24
- data/lib/aws-sdk-kafkaconnect.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: be66d4bfe3d35dbd971e166b685b7985696d201c068cda275c16d25a759b81e0
|
4
|
+
data.tar.gz: 1d8031f1043088cc4b65b65461058f18d6e718f6b9f1ba6bb4c53ae1305fa2ec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 86e22502d440821a53e2a3b6504c7da7ef39c4275511fdf0d0aa0c992914cdecfd198271501de40ecad5094870666af59bfcaa686c71f2a1c58f06bf9e860bb2
|
7
|
+
data.tar.gz: 488df5a8311f17f848934183b9d6e48f3774ba969beedd73449528a6afa45c565f167467d1365af9c1513b0110cc8fa086292c315470f7ca13e65e781b799dec
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.15.0 (2023-08-31)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Minor model changes for Kafka Connect as well as endpoint updates.
|
8
|
+
|
9
|
+
1.14.0 (2023-07-11)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.13.0 (2023-07-06)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.15.0
|
@@ -216,6 +216,10 @@ module Aws::KafkaConnect
|
|
216
216
|
# @option options [Boolean] :endpoint_discovery (false)
|
217
217
|
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
218
218
|
#
|
219
|
+
# @option options [Boolean] :ignore_configured_endpoint_urls
|
220
|
+
# Setting to true disables use of endpoint URLs provided via environment
|
221
|
+
# variables and the shared configuration file.
|
222
|
+
#
|
219
223
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
220
224
|
# The log formatter.
|
221
225
|
#
|
@@ -598,7 +602,7 @@ module Aws::KafkaConnect
|
|
598
602
|
# resp = client.create_worker_configuration({
|
599
603
|
# description: "__stringMax1024",
|
600
604
|
# name: "__stringMin1Max128", # required
|
601
|
-
# properties_file_content: "
|
605
|
+
# properties_file_content: "__sensitiveString", # required
|
602
606
|
# })
|
603
607
|
#
|
604
608
|
# @example Response structure
|
@@ -1104,7 +1108,7 @@ module Aws::KafkaConnect
|
|
1104
1108
|
params: params,
|
1105
1109
|
config: config)
|
1106
1110
|
context[:gem_name] = 'aws-sdk-kafkaconnect'
|
1107
|
-
context[:gem_version] = '1.
|
1111
|
+
context[:gem_version] = '1.15.0'
|
1108
1112
|
Seahorse::Client::Request.new(handlers, context)
|
1109
1113
|
end
|
1110
1114
|
|
@@ -91,10 +91,6 @@ module Aws::KafkaConnect
|
|
91
91
|
ScaleOutPolicyUpdate = Shapes::StructureShape.new(name: 'ScaleOutPolicyUpdate')
|
92
92
|
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
93
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')
|
98
94
|
TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
|
99
95
|
UnauthorizedException = Shapes::StructureShape.new(name: 'UnauthorizedException')
|
100
96
|
UpdateConnectorRequest = Shapes::StructureShape.new(name: 'UpdateConnectorRequest')
|
@@ -121,6 +117,8 @@ module Aws::KafkaConnect
|
|
121
117
|
__listOf__string = Shapes::ListShape.new(name: '__listOf__string')
|
122
118
|
__long = Shapes::IntegerShape.new(name: '__long')
|
123
119
|
__longMin1 = Shapes::IntegerShape.new(name: '__longMin1')
|
120
|
+
__sensitiveString = Shapes::StringShape.new(name: '__sensitiveString')
|
121
|
+
__sensitive__mapOf__string = Shapes::MapShape.new(name: '__sensitive__mapOf__string')
|
124
122
|
__string = Shapes::StringShape.new(name: '__string')
|
125
123
|
__stringMax1024 = Shapes::StringShape.new(name: '__stringMax1024')
|
126
124
|
__stringMin1Max128 = Shapes::StringShape.new(name: '__stringMin1Max128')
|
@@ -199,7 +197,7 @@ module Aws::KafkaConnect
|
|
199
197
|
ConnectorSummary.struct_class = Types::ConnectorSummary
|
200
198
|
|
201
199
|
CreateConnectorRequest.add_member(:capacity, Shapes::ShapeRef.new(shape: Capacity, required: true, location_name: "capacity"))
|
202
|
-
CreateConnectorRequest.add_member(:connector_configuration, Shapes::ShapeRef.new(shape:
|
200
|
+
CreateConnectorRequest.add_member(:connector_configuration, Shapes::ShapeRef.new(shape: __sensitive__mapOf__string, required: true, location_name: "connectorConfiguration"))
|
203
201
|
CreateConnectorRequest.add_member(:connector_description, Shapes::ShapeRef.new(shape: __stringMax1024, location_name: "connectorDescription"))
|
204
202
|
CreateConnectorRequest.add_member(:connector_name, Shapes::ShapeRef.new(shape: __stringMin1Max128, required: true, location_name: "connectorName"))
|
205
203
|
CreateConnectorRequest.add_member(:kafka_cluster, Shapes::ShapeRef.new(shape: KafkaCluster, required: true, location_name: "kafkaCluster"))
|
@@ -231,7 +229,7 @@ module Aws::KafkaConnect
|
|
231
229
|
|
232
230
|
CreateWorkerConfigurationRequest.add_member(:description, Shapes::ShapeRef.new(shape: __stringMax1024, location_name: "description"))
|
233
231
|
CreateWorkerConfigurationRequest.add_member(:name, Shapes::ShapeRef.new(shape: __stringMin1Max128, required: true, location_name: "name"))
|
234
|
-
CreateWorkerConfigurationRequest.add_member(:properties_file_content, Shapes::ShapeRef.new(shape:
|
232
|
+
CreateWorkerConfigurationRequest.add_member(:properties_file_content, Shapes::ShapeRef.new(shape: __sensitiveString, required: true, location_name: "propertiesFileContent"))
|
235
233
|
CreateWorkerConfigurationRequest.struct_class = Types::CreateWorkerConfigurationRequest
|
236
234
|
|
237
235
|
CreateWorkerConfigurationResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "creationTime"))
|
@@ -294,7 +292,7 @@ module Aws::KafkaConnect
|
|
294
292
|
|
295
293
|
DescribeConnectorResponse.add_member(:capacity, Shapes::ShapeRef.new(shape: CapacityDescription, location_name: "capacity"))
|
296
294
|
DescribeConnectorResponse.add_member(:connector_arn, Shapes::ShapeRef.new(shape: __string, location_name: "connectorArn"))
|
297
|
-
DescribeConnectorResponse.add_member(:connector_configuration, Shapes::ShapeRef.new(shape:
|
295
|
+
DescribeConnectorResponse.add_member(:connector_configuration, Shapes::ShapeRef.new(shape: __sensitive__mapOf__string, location_name: "connectorConfiguration"))
|
298
296
|
DescribeConnectorResponse.add_member(:connector_description, Shapes::ShapeRef.new(shape: __string, location_name: "connectorDescription"))
|
299
297
|
DescribeConnectorResponse.add_member(:connector_name, Shapes::ShapeRef.new(shape: __string, location_name: "connectorName"))
|
300
298
|
DescribeConnectorResponse.add_member(:connector_state, Shapes::ShapeRef.new(shape: ConnectorState, location_name: "connectorState"))
|
@@ -462,12 +460,6 @@ module Aws::KafkaConnect
|
|
462
460
|
StateDescription.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
463
461
|
StateDescription.struct_class = Types::StateDescription
|
464
462
|
|
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
|
-
|
471
463
|
TooManyRequestsException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
472
464
|
TooManyRequestsException.struct_class = Types::TooManyRequestsException
|
473
465
|
|
@@ -501,7 +493,7 @@ module Aws::KafkaConnect
|
|
501
493
|
|
502
494
|
WorkerConfigurationRevisionDescription.add_member(:creation_time, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "creationTime"))
|
503
495
|
WorkerConfigurationRevisionDescription.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
|
504
|
-
WorkerConfigurationRevisionDescription.add_member(:properties_file_content, Shapes::ShapeRef.new(shape:
|
496
|
+
WorkerConfigurationRevisionDescription.add_member(:properties_file_content, Shapes::ShapeRef.new(shape: __sensitiveString, location_name: "propertiesFileContent"))
|
505
497
|
WorkerConfigurationRevisionDescription.add_member(:revision, Shapes::ShapeRef.new(shape: __long, location_name: "revision"))
|
506
498
|
WorkerConfigurationRevisionDescription.struct_class = Types::WorkerConfigurationRevisionDescription
|
507
499
|
|
@@ -539,6 +531,9 @@ module Aws::KafkaConnect
|
|
539
531
|
|
540
532
|
__listOf__string.member = Shapes::ShapeRef.new(shape: __string)
|
541
533
|
|
534
|
+
__sensitive__mapOf__string.key = Shapes::ShapeRef.new(shape: __string)
|
535
|
+
__sensitive__mapOf__string.value = Shapes::ShapeRef.new(shape: __string)
|
536
|
+
|
542
537
|
|
543
538
|
# @api private
|
544
539
|
API = Seahorse::Model::Api.new.tap do |api|
|
@@ -14,36 +14,39 @@ module Aws::KafkaConnect
|
|
14
14
|
use_dual_stack = parameters.use_dual_stack
|
15
15
|
use_fips = parameters.use_fips
|
16
16
|
endpoint = parameters.endpoint
|
17
|
-
if
|
18
|
-
if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
|
19
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
-
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
-
end
|
22
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
-
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
-
end
|
25
|
-
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
-
end
|
27
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
-
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
-
return Aws::Endpoints::Endpoint.new(url: "https://kafkaconnect-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
-
end
|
31
|
-
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
-
end
|
17
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
33
18
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
-
|
35
|
-
return Aws::Endpoints::Endpoint.new(url: "https://kafkaconnect-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
|
-
end
|
37
|
-
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
19
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
38
20
|
end
|
39
21
|
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
40
|
-
|
41
|
-
|
22
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
23
|
+
end
|
24
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
25
|
+
end
|
26
|
+
if Aws::Endpoints::Matchers.set?(region)
|
27
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
29
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
30
|
+
return Aws::Endpoints::Endpoint.new(url: "https://kafkaconnect-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
31
|
+
end
|
32
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
|
+
end
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://kafkaconnect-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
|
+
end
|
38
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
39
|
+
end
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
41
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
42
|
+
return Aws::Endpoints::Endpoint.new(url: "https://kafkaconnect.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
43
|
+
end
|
44
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
42
45
|
end
|
43
|
-
|
46
|
+
return Aws::Endpoints::Endpoint.new(url: "https://kafkaconnect.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
44
47
|
end
|
45
|
-
return Aws::Endpoints::Endpoint.new(url: "https://kafkaconnect.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
46
48
|
end
|
49
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
47
50
|
raise ArgumentError, 'No endpoint could be resolved'
|
48
51
|
|
49
52
|
end
|
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.15.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: 2023-
|
11
|
+
date: 2023-08-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|