aws-sdk-kafkaconnect 1.14.0 → 1.16.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-kafkaconnect/client.rb +2 -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 +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f3799a2bd905f53c37217d4af63d438edc6f040cdc38748f458d67cad83701bd
|
4
|
+
data.tar.gz: 688a319ecbb8a785aa0b65ee43cdabe374a0b5b8b0e2809ed70907f1a4ada0b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 218f419b11cb634e642b14fa81e525362661b0be3689322540988d1e72c330ca29b4bde3c3e402a1d9e9945c64ec38c329831f11aca825ba2e9897035fe23921
|
7
|
+
data.tar.gz: '080829cd762687b52ceda152d3a965cf4d4b9480646d452c006456eecc32c9fae80df359a5a4b1b08322c5e12f8a14575c3637bd09b15b638f079e6389472b12'
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.16.0 (2023-09-27)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.15.0 (2023-08-31)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Minor model changes for Kafka Connect as well as endpoint updates.
|
13
|
+
|
4
14
|
1.14.0 (2023-07-11)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.16.0
|
@@ -602,7 +602,7 @@ module Aws::KafkaConnect
|
|
602
602
|
# resp = client.create_worker_configuration({
|
603
603
|
# description: "__stringMax1024",
|
604
604
|
# name: "__stringMin1Max128", # required
|
605
|
-
# properties_file_content: "
|
605
|
+
# properties_file_content: "__sensitiveString", # required
|
606
606
|
# })
|
607
607
|
#
|
608
608
|
# @example Response structure
|
@@ -1108,7 +1108,7 @@ module Aws::KafkaConnect
|
|
1108
1108
|
params: params,
|
1109
1109
|
config: config)
|
1110
1110
|
context[:gem_name] = 'aws-sdk-kafkaconnect'
|
1111
|
-
context[:gem_version] = '1.
|
1111
|
+
context[:gem_version] = '1.16.0'
|
1112
1112
|
Seahorse::Client::Request.new(handlers, context)
|
1113
1113
|
end
|
1114
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.16.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-09-27 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.184.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.184.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|