aws-sdk-kafka 1.54.0 → 1.56.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-kafka/client.rb +427 -2
- data/lib/aws-sdk-kafka/client_api.rb +300 -0
- data/lib/aws-sdk-kafka/endpoint_parameters.rb +0 -3
- data/lib/aws-sdk-kafka/endpoint_provider.rb +29 -26
- data/lib/aws-sdk-kafka/endpoints.rb +126 -0
- data/lib/aws-sdk-kafka/plugins/endpoints.rb +18 -0
- data/lib/aws-sdk-kafka/types.rb +614 -4
- data/lib/aws-sdk-kafka.rb +1 -1
- metadata +2 -2
@@ -67,6 +67,20 @@ module Aws::Kafka
|
|
67
67
|
end
|
68
68
|
end
|
69
69
|
|
70
|
+
class CreateVpcConnection
|
71
|
+
def self.build(context)
|
72
|
+
unless context.config.regional_endpoint
|
73
|
+
endpoint = context.config.endpoint.to_s
|
74
|
+
end
|
75
|
+
Aws::Kafka::EndpointParameters.new(
|
76
|
+
region: context.config.region,
|
77
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
78
|
+
use_fips: context.config.use_fips_endpoint,
|
79
|
+
endpoint: endpoint,
|
80
|
+
)
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
70
84
|
class DeleteCluster
|
71
85
|
def self.build(context)
|
72
86
|
unless context.config.regional_endpoint
|
@@ -95,6 +109,20 @@ module Aws::Kafka
|
|
95
109
|
end
|
96
110
|
end
|
97
111
|
|
112
|
+
class DeleteVpcConnection
|
113
|
+
def self.build(context)
|
114
|
+
unless context.config.regional_endpoint
|
115
|
+
endpoint = context.config.endpoint.to_s
|
116
|
+
end
|
117
|
+
Aws::Kafka::EndpointParameters.new(
|
118
|
+
region: context.config.region,
|
119
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
120
|
+
use_fips: context.config.use_fips_endpoint,
|
121
|
+
endpoint: endpoint,
|
122
|
+
)
|
123
|
+
end
|
124
|
+
end
|
125
|
+
|
98
126
|
class DescribeCluster
|
99
127
|
def self.build(context)
|
100
128
|
unless context.config.regional_endpoint
|
@@ -165,6 +193,20 @@ module Aws::Kafka
|
|
165
193
|
end
|
166
194
|
end
|
167
195
|
|
196
|
+
class DescribeVpcConnection
|
197
|
+
def self.build(context)
|
198
|
+
unless context.config.regional_endpoint
|
199
|
+
endpoint = context.config.endpoint.to_s
|
200
|
+
end
|
201
|
+
Aws::Kafka::EndpointParameters.new(
|
202
|
+
region: context.config.region,
|
203
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
204
|
+
use_fips: context.config.use_fips_endpoint,
|
205
|
+
endpoint: endpoint,
|
206
|
+
)
|
207
|
+
end
|
208
|
+
end
|
209
|
+
|
168
210
|
class BatchDisassociateScramSecret
|
169
211
|
def self.build(context)
|
170
212
|
unless context.config.regional_endpoint
|
@@ -333,6 +375,90 @@ module Aws::Kafka
|
|
333
375
|
end
|
334
376
|
end
|
335
377
|
|
378
|
+
class ListClientVpcConnections
|
379
|
+
def self.build(context)
|
380
|
+
unless context.config.regional_endpoint
|
381
|
+
endpoint = context.config.endpoint.to_s
|
382
|
+
end
|
383
|
+
Aws::Kafka::EndpointParameters.new(
|
384
|
+
region: context.config.region,
|
385
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
386
|
+
use_fips: context.config.use_fips_endpoint,
|
387
|
+
endpoint: endpoint,
|
388
|
+
)
|
389
|
+
end
|
390
|
+
end
|
391
|
+
|
392
|
+
class ListVpcConnections
|
393
|
+
def self.build(context)
|
394
|
+
unless context.config.regional_endpoint
|
395
|
+
endpoint = context.config.endpoint.to_s
|
396
|
+
end
|
397
|
+
Aws::Kafka::EndpointParameters.new(
|
398
|
+
region: context.config.region,
|
399
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
400
|
+
use_fips: context.config.use_fips_endpoint,
|
401
|
+
endpoint: endpoint,
|
402
|
+
)
|
403
|
+
end
|
404
|
+
end
|
405
|
+
|
406
|
+
class RejectClientVpcConnection
|
407
|
+
def self.build(context)
|
408
|
+
unless context.config.regional_endpoint
|
409
|
+
endpoint = context.config.endpoint.to_s
|
410
|
+
end
|
411
|
+
Aws::Kafka::EndpointParameters.new(
|
412
|
+
region: context.config.region,
|
413
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
414
|
+
use_fips: context.config.use_fips_endpoint,
|
415
|
+
endpoint: endpoint,
|
416
|
+
)
|
417
|
+
end
|
418
|
+
end
|
419
|
+
|
420
|
+
class DeleteClusterPolicy
|
421
|
+
def self.build(context)
|
422
|
+
unless context.config.regional_endpoint
|
423
|
+
endpoint = context.config.endpoint.to_s
|
424
|
+
end
|
425
|
+
Aws::Kafka::EndpointParameters.new(
|
426
|
+
region: context.config.region,
|
427
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
428
|
+
use_fips: context.config.use_fips_endpoint,
|
429
|
+
endpoint: endpoint,
|
430
|
+
)
|
431
|
+
end
|
432
|
+
end
|
433
|
+
|
434
|
+
class GetClusterPolicy
|
435
|
+
def self.build(context)
|
436
|
+
unless context.config.regional_endpoint
|
437
|
+
endpoint = context.config.endpoint.to_s
|
438
|
+
end
|
439
|
+
Aws::Kafka::EndpointParameters.new(
|
440
|
+
region: context.config.region,
|
441
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
442
|
+
use_fips: context.config.use_fips_endpoint,
|
443
|
+
endpoint: endpoint,
|
444
|
+
)
|
445
|
+
end
|
446
|
+
end
|
447
|
+
|
448
|
+
class PutClusterPolicy
|
449
|
+
def self.build(context)
|
450
|
+
unless context.config.regional_endpoint
|
451
|
+
endpoint = context.config.endpoint.to_s
|
452
|
+
end
|
453
|
+
Aws::Kafka::EndpointParameters.new(
|
454
|
+
region: context.config.region,
|
455
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
456
|
+
use_fips: context.config.use_fips_endpoint,
|
457
|
+
endpoint: endpoint,
|
458
|
+
)
|
459
|
+
end
|
460
|
+
end
|
461
|
+
|
336
462
|
class RebootBroker
|
337
463
|
def self.build(context)
|
338
464
|
unless context.config.regional_endpoint
|
@@ -64,10 +64,14 @@ module Aws::Kafka
|
|
64
64
|
Aws::Kafka::Endpoints::CreateClusterV2.build(context)
|
65
65
|
when :create_configuration
|
66
66
|
Aws::Kafka::Endpoints::CreateConfiguration.build(context)
|
67
|
+
when :create_vpc_connection
|
68
|
+
Aws::Kafka::Endpoints::CreateVpcConnection.build(context)
|
67
69
|
when :delete_cluster
|
68
70
|
Aws::Kafka::Endpoints::DeleteCluster.build(context)
|
69
71
|
when :delete_configuration
|
70
72
|
Aws::Kafka::Endpoints::DeleteConfiguration.build(context)
|
73
|
+
when :delete_vpc_connection
|
74
|
+
Aws::Kafka::Endpoints::DeleteVpcConnection.build(context)
|
71
75
|
when :describe_cluster
|
72
76
|
Aws::Kafka::Endpoints::DescribeCluster.build(context)
|
73
77
|
when :describe_cluster_v2
|
@@ -78,6 +82,8 @@ module Aws::Kafka
|
|
78
82
|
Aws::Kafka::Endpoints::DescribeConfiguration.build(context)
|
79
83
|
when :describe_configuration_revision
|
80
84
|
Aws::Kafka::Endpoints::DescribeConfigurationRevision.build(context)
|
85
|
+
when :describe_vpc_connection
|
86
|
+
Aws::Kafka::Endpoints::DescribeVpcConnection.build(context)
|
81
87
|
when :batch_disassociate_scram_secret
|
82
88
|
Aws::Kafka::Endpoints::BatchDisassociateScramSecret.build(context)
|
83
89
|
when :get_bootstrap_brokers
|
@@ -102,6 +108,18 @@ module Aws::Kafka
|
|
102
108
|
Aws::Kafka::Endpoints::ListScramSecrets.build(context)
|
103
109
|
when :list_tags_for_resource
|
104
110
|
Aws::Kafka::Endpoints::ListTagsForResource.build(context)
|
111
|
+
when :list_client_vpc_connections
|
112
|
+
Aws::Kafka::Endpoints::ListClientVpcConnections.build(context)
|
113
|
+
when :list_vpc_connections
|
114
|
+
Aws::Kafka::Endpoints::ListVpcConnections.build(context)
|
115
|
+
when :reject_client_vpc_connection
|
116
|
+
Aws::Kafka::Endpoints::RejectClientVpcConnection.build(context)
|
117
|
+
when :delete_cluster_policy
|
118
|
+
Aws::Kafka::Endpoints::DeleteClusterPolicy.build(context)
|
119
|
+
when :get_cluster_policy
|
120
|
+
Aws::Kafka::Endpoints::GetClusterPolicy.build(context)
|
121
|
+
when :put_cluster_policy
|
122
|
+
Aws::Kafka::Endpoints::PutClusterPolicy.build(context)
|
105
123
|
when :reboot_broker
|
106
124
|
Aws::Kafka::Endpoints::RebootBroker.build(context)
|
107
125
|
when :tag_resource
|