aws-sdk-kafkaconnect 1.14.0 → 1.15.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 50243525007322db743cf355e9879a45f4cc2da10546ee63a7ca7e49c478ab73
4
- data.tar.gz: c2b4f7db723f2c763997e4efc05b7dc23562ccaee7f5fb95f90933325d3a411e
3
+ metadata.gz: be66d4bfe3d35dbd971e166b685b7985696d201c068cda275c16d25a759b81e0
4
+ data.tar.gz: 1d8031f1043088cc4b65b65461058f18d6e718f6b9f1ba6bb4c53ae1305fa2ec
5
5
  SHA512:
6
- metadata.gz: 854b41be929ca023e68d20a9a6eac3925181baff9e8697fc49f11a6f9c7c052e47997b2fe46a7dc3274e75b1b1d0437b2aa192db9ff5b452fc75bacb6d334b9e
7
- data.tar.gz: ced4092db1d83bae0c3a259865329ab624c6c493452ae41e0b132a44055f1f808ff86ddd85c60f7ad1a3bd9de8f01c4e9dc6365a9e11468ac1b7a1c7f711be97
6
+ metadata.gz: 86e22502d440821a53e2a3b6504c7da7ef39c4275511fdf0d0aa0c992914cdecfd198271501de40ecad5094870666af59bfcaa686c71f2a1c58f06bf9e860bb2
7
+ data.tar.gz: 488df5a8311f17f848934183b9d6e48f3774ba969beedd73449528a6afa45c565f167467d1365af9c1513b0110cc8fa086292c315470f7ca13e65e781b799dec
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
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
+
4
9
  1.14.0 (2023-07-11)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.14.0
1
+ 1.15.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: "SyntheticCreateWorkerConfigurationRequest__string", # required
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.14.0'
1111
+ context[:gem_version] = '1.15.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: SyntheticCreateConnectorRequest__mapOf__string, required: true, location_name: "connectorConfiguration"))
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: SyntheticCreateWorkerConfigurationRequest__string, required: true, location_name: "propertiesFileContent"))
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: SyntheticDescribeConnectorResponse__mapOf__string, location_name: "connectorConfiguration"))
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: SyntheticWorkerConfigurationRevisionDescription__string, location_name: "propertiesFileContent"))
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 (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
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
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
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
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
- return Aws::Endpoints::Endpoint.new(url: "https://kafkaconnect.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
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
- raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
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
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-kafkaconnect/customizations'
52
52
  # @!group service
53
53
  module Aws::KafkaConnect
54
54
 
55
- GEM_VERSION = '1.14.0'
55
+ GEM_VERSION = '1.15.0'
56
56
 
57
57
  end
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.14.0
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-07-11 00:00:00.000000000 Z
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