aws-sdk-kafka 1.53.0 → 1.55.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_provider.rb +30 -24
- 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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d29b5f99220b8c3cca1fa4e8c89c4bd7053dc8ca10310a8d9db8a70b46975921
|
4
|
+
data.tar.gz: 49f74cfbadf20373e01cc8993423bcbb9fba4dda46303c5068a4f615ba524f09
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b4ce78fd6f0176619d8bfd2f1be9c77afbff3e9374780d436383039adb0da9417a5996b35be912a2846551fc613eb8e1335cd0cc94ba6b50139e74d70e1c0833
|
7
|
+
data.tar.gz: 94bbf89315e2c21b057e2d261788b6b25404384bd1296c78d1ff7ca66f39e4d7664a888631e6fc1d52b526c8daeb701f300bcec4a87501eba6b01788c8b72fbd
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.55.0 (2023-04-27)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Amazon MSK has added new APIs that allows multi-VPC private connectivity and cluster policy support for Amazon MSK clusters that simplify connectivity and access between your Apache Kafka clients hosted in different VPCs and AWS accounts and your Amazon MSK clusters.
|
8
|
+
|
9
|
+
1.54.0 (2023-01-30)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Enabled FIPS endpoints for GovCloud (US) regions in SDK.
|
13
|
+
|
4
14
|
1.53.0 (2023-01-18)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.55.0
|
data/lib/aws-sdk-kafka/client.rb
CHANGED
@@ -471,7 +471,23 @@ module Aws::Kafka
|
|
471
471
|
# public_access: {
|
472
472
|
# type: "__string",
|
473
473
|
# },
|
474
|
+
# vpc_connectivity: {
|
475
|
+
# client_authentication: {
|
476
|
+
# sasl: {
|
477
|
+
# scram: {
|
478
|
+
# enabled: false,
|
479
|
+
# },
|
480
|
+
# iam: {
|
481
|
+
# enabled: false,
|
482
|
+
# },
|
483
|
+
# },
|
484
|
+
# tls: {
|
485
|
+
# enabled: false,
|
486
|
+
# },
|
487
|
+
# },
|
488
|
+
# },
|
474
489
|
# },
|
490
|
+
# zone_ids: ["__string"],
|
475
491
|
# },
|
476
492
|
# client_authentication: {
|
477
493
|
# sasl: {
|
@@ -603,7 +619,23 @@ module Aws::Kafka
|
|
603
619
|
# public_access: {
|
604
620
|
# type: "__string",
|
605
621
|
# },
|
622
|
+
# vpc_connectivity: {
|
623
|
+
# client_authentication: {
|
624
|
+
# sasl: {
|
625
|
+
# scram: {
|
626
|
+
# enabled: false,
|
627
|
+
# },
|
628
|
+
# iam: {
|
629
|
+
# enabled: false,
|
630
|
+
# },
|
631
|
+
# },
|
632
|
+
# tls: {
|
633
|
+
# enabled: false,
|
634
|
+
# },
|
635
|
+
# },
|
636
|
+
# },
|
606
637
|
# },
|
638
|
+
# zone_ids: ["__string"],
|
607
639
|
# },
|
608
640
|
# client_authentication: {
|
609
641
|
# sasl: {
|
@@ -751,6 +783,72 @@ module Aws::Kafka
|
|
751
783
|
req.send_request(options)
|
752
784
|
end
|
753
785
|
|
786
|
+
# Creates a new Amazon MSK VPC connection.
|
787
|
+
#
|
788
|
+
# @option params [required, String] :target_cluster_arn
|
789
|
+
# The Amazon Resource Name (ARN) of the cluster.
|
790
|
+
#
|
791
|
+
# @option params [required, String] :authentication
|
792
|
+
#
|
793
|
+
# @option params [required, String] :vpc_id
|
794
|
+
# The VPC ID of the VPC connection.
|
795
|
+
#
|
796
|
+
# @option params [required, Array<String>] :client_subnets
|
797
|
+
# The list of subnets in the client VPC.
|
798
|
+
#
|
799
|
+
# @option params [required, Array<String>] :security_groups
|
800
|
+
# The list of security groups to attach to the VPC connection.
|
801
|
+
#
|
802
|
+
# @option params [Hash<String,String>] :tags
|
803
|
+
# Create tags when creating the VPC connection.
|
804
|
+
#
|
805
|
+
# @return [Types::CreateVpcConnectionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
806
|
+
#
|
807
|
+
# * {Types::CreateVpcConnectionResponse#vpc_connection_arn #vpc_connection_arn} => String
|
808
|
+
# * {Types::CreateVpcConnectionResponse#state #state} => String
|
809
|
+
# * {Types::CreateVpcConnectionResponse#authentication #authentication} => String
|
810
|
+
# * {Types::CreateVpcConnectionResponse#vpc_id #vpc_id} => String
|
811
|
+
# * {Types::CreateVpcConnectionResponse#client_subnets #client_subnets} => Array<String>
|
812
|
+
# * {Types::CreateVpcConnectionResponse#security_groups #security_groups} => Array<String>
|
813
|
+
# * {Types::CreateVpcConnectionResponse#creation_time #creation_time} => Time
|
814
|
+
# * {Types::CreateVpcConnectionResponse#tags #tags} => Hash<String,String>
|
815
|
+
#
|
816
|
+
# @example Request syntax with placeholder values
|
817
|
+
#
|
818
|
+
# resp = client.create_vpc_connection({
|
819
|
+
# target_cluster_arn: "__string", # required
|
820
|
+
# authentication: "__string", # required
|
821
|
+
# vpc_id: "__string", # required
|
822
|
+
# client_subnets: ["__string"], # required
|
823
|
+
# security_groups: ["__string"], # required
|
824
|
+
# tags: {
|
825
|
+
# "__string" => "__string",
|
826
|
+
# },
|
827
|
+
# })
|
828
|
+
#
|
829
|
+
# @example Response structure
|
830
|
+
#
|
831
|
+
# resp.vpc_connection_arn #=> String
|
832
|
+
# resp.state #=> String, one of "CREATING", "AVAILABLE", "INACTIVE", "DEACTIVATING", "DELETING", "FAILED", "REJECTED", "REJECTING"
|
833
|
+
# resp.authentication #=> String
|
834
|
+
# resp.vpc_id #=> String
|
835
|
+
# resp.client_subnets #=> Array
|
836
|
+
# resp.client_subnets[0] #=> String
|
837
|
+
# resp.security_groups #=> Array
|
838
|
+
# resp.security_groups[0] #=> String
|
839
|
+
# resp.creation_time #=> Time
|
840
|
+
# resp.tags #=> Hash
|
841
|
+
# resp.tags["__string"] #=> String
|
842
|
+
#
|
843
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/CreateVpcConnection AWS API Documentation
|
844
|
+
#
|
845
|
+
# @overload create_vpc_connection(params = {})
|
846
|
+
# @param [Hash] params ({})
|
847
|
+
def create_vpc_connection(params = {}, options = {})
|
848
|
+
req = build_request(:create_vpc_connection, params)
|
849
|
+
req.send_request(options)
|
850
|
+
end
|
851
|
+
|
754
852
|
# Deletes the MSK cluster specified by the Amazon Resource Name (ARN) in
|
755
853
|
# the request.
|
756
854
|
#
|
@@ -815,6 +913,35 @@ module Aws::Kafka
|
|
815
913
|
req.send_request(options)
|
816
914
|
end
|
817
915
|
|
916
|
+
# Deletes the Amazon MSK VPC connection specified in your request.
|
917
|
+
#
|
918
|
+
# @option params [required, String] :arn
|
919
|
+
#
|
920
|
+
# @return [Types::DeleteVpcConnectionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
921
|
+
#
|
922
|
+
# * {Types::DeleteVpcConnectionResponse#vpc_connection_arn #vpc_connection_arn} => String
|
923
|
+
# * {Types::DeleteVpcConnectionResponse#state #state} => String
|
924
|
+
#
|
925
|
+
# @example Request syntax with placeholder values
|
926
|
+
#
|
927
|
+
# resp = client.delete_vpc_connection({
|
928
|
+
# arn: "__string", # required
|
929
|
+
# })
|
930
|
+
#
|
931
|
+
# @example Response structure
|
932
|
+
#
|
933
|
+
# resp.vpc_connection_arn #=> String
|
934
|
+
# resp.state #=> String, one of "CREATING", "AVAILABLE", "INACTIVE", "DEACTIVATING", "DELETING", "FAILED", "REJECTED", "REJECTING"
|
935
|
+
#
|
936
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DeleteVpcConnection AWS API Documentation
|
937
|
+
#
|
938
|
+
# @overload delete_vpc_connection(params = {})
|
939
|
+
# @param [Hash] params ({})
|
940
|
+
def delete_vpc_connection(params = {}, options = {})
|
941
|
+
req = build_request(:delete_vpc_connection, params)
|
942
|
+
req.send_request(options)
|
943
|
+
end
|
944
|
+
|
818
945
|
# Returns a description of the MSK cluster whose Amazon Resource Name
|
819
946
|
# (ARN) is specified in the request.
|
820
947
|
#
|
@@ -843,6 +970,11 @@ module Aws::Kafka
|
|
843
970
|
# resp.cluster_info.broker_node_group_info.storage_info.ebs_storage_info.provisioned_throughput.volume_throughput #=> Integer
|
844
971
|
# resp.cluster_info.broker_node_group_info.storage_info.ebs_storage_info.volume_size #=> Integer
|
845
972
|
# resp.cluster_info.broker_node_group_info.connectivity_info.public_access.type #=> String
|
973
|
+
# resp.cluster_info.broker_node_group_info.connectivity_info.vpc_connectivity.client_authentication.sasl.scram.enabled #=> Boolean
|
974
|
+
# resp.cluster_info.broker_node_group_info.connectivity_info.vpc_connectivity.client_authentication.sasl.iam.enabled #=> Boolean
|
975
|
+
# resp.cluster_info.broker_node_group_info.connectivity_info.vpc_connectivity.client_authentication.tls.enabled #=> Boolean
|
976
|
+
# resp.cluster_info.broker_node_group_info.zone_ids #=> Array
|
977
|
+
# resp.cluster_info.broker_node_group_info.zone_ids[0] #=> String
|
846
978
|
# resp.cluster_info.client_authentication.sasl.scram.enabled #=> Boolean
|
847
979
|
# resp.cluster_info.client_authentication.sasl.iam.enabled #=> Boolean
|
848
980
|
# resp.cluster_info.client_authentication.tls.certificate_authority_arn_list #=> Array
|
@@ -928,6 +1060,11 @@ module Aws::Kafka
|
|
928
1060
|
# resp.cluster_info.provisioned.broker_node_group_info.storage_info.ebs_storage_info.provisioned_throughput.volume_throughput #=> Integer
|
929
1061
|
# resp.cluster_info.provisioned.broker_node_group_info.storage_info.ebs_storage_info.volume_size #=> Integer
|
930
1062
|
# resp.cluster_info.provisioned.broker_node_group_info.connectivity_info.public_access.type #=> String
|
1063
|
+
# resp.cluster_info.provisioned.broker_node_group_info.connectivity_info.vpc_connectivity.client_authentication.sasl.scram.enabled #=> Boolean
|
1064
|
+
# resp.cluster_info.provisioned.broker_node_group_info.connectivity_info.vpc_connectivity.client_authentication.sasl.iam.enabled #=> Boolean
|
1065
|
+
# resp.cluster_info.provisioned.broker_node_group_info.connectivity_info.vpc_connectivity.client_authentication.tls.enabled #=> Boolean
|
1066
|
+
# resp.cluster_info.provisioned.broker_node_group_info.zone_ids #=> Array
|
1067
|
+
# resp.cluster_info.provisioned.broker_node_group_info.zone_ids[0] #=> String
|
931
1068
|
# resp.cluster_info.provisioned.current_broker_software_info.configuration_arn #=> String
|
932
1069
|
# resp.cluster_info.provisioned.current_broker_software_info.configuration_revision #=> Integer
|
933
1070
|
# resp.cluster_info.provisioned.current_broker_software_info.kafka_version #=> String
|
@@ -1028,6 +1165,9 @@ module Aws::Kafka
|
|
1028
1165
|
# resp.cluster_operation_info.source_cluster_info.encryption_info.encryption_in_transit.client_broker #=> String, one of "TLS", "TLS_PLAINTEXT", "PLAINTEXT"
|
1029
1166
|
# resp.cluster_operation_info.source_cluster_info.encryption_info.encryption_in_transit.in_cluster #=> Boolean
|
1030
1167
|
# resp.cluster_operation_info.source_cluster_info.connectivity_info.public_access.type #=> String
|
1168
|
+
# resp.cluster_operation_info.source_cluster_info.connectivity_info.vpc_connectivity.client_authentication.sasl.scram.enabled #=> Boolean
|
1169
|
+
# resp.cluster_operation_info.source_cluster_info.connectivity_info.vpc_connectivity.client_authentication.sasl.iam.enabled #=> Boolean
|
1170
|
+
# resp.cluster_operation_info.source_cluster_info.connectivity_info.vpc_connectivity.client_authentication.tls.enabled #=> Boolean
|
1031
1171
|
# resp.cluster_operation_info.source_cluster_info.storage_mode #=> String, one of "LOCAL", "TIERED"
|
1032
1172
|
# resp.cluster_operation_info.target_cluster_info.broker_ebs_volume_info #=> Array
|
1033
1173
|
# resp.cluster_operation_info.target_cluster_info.broker_ebs_volume_info[0].kafka_broker_node_id #=> String
|
@@ -1059,7 +1199,15 @@ module Aws::Kafka
|
|
1059
1199
|
# resp.cluster_operation_info.target_cluster_info.encryption_info.encryption_in_transit.client_broker #=> String, one of "TLS", "TLS_PLAINTEXT", "PLAINTEXT"
|
1060
1200
|
# resp.cluster_operation_info.target_cluster_info.encryption_info.encryption_in_transit.in_cluster #=> Boolean
|
1061
1201
|
# resp.cluster_operation_info.target_cluster_info.connectivity_info.public_access.type #=> String
|
1202
|
+
# resp.cluster_operation_info.target_cluster_info.connectivity_info.vpc_connectivity.client_authentication.sasl.scram.enabled #=> Boolean
|
1203
|
+
# resp.cluster_operation_info.target_cluster_info.connectivity_info.vpc_connectivity.client_authentication.sasl.iam.enabled #=> Boolean
|
1204
|
+
# resp.cluster_operation_info.target_cluster_info.connectivity_info.vpc_connectivity.client_authentication.tls.enabled #=> Boolean
|
1062
1205
|
# resp.cluster_operation_info.target_cluster_info.storage_mode #=> String, one of "LOCAL", "TIERED"
|
1206
|
+
# resp.cluster_operation_info.vpc_connection_info.vpc_connection_arn #=> String
|
1207
|
+
# resp.cluster_operation_info.vpc_connection_info.owner #=> String
|
1208
|
+
# resp.cluster_operation_info.vpc_connection_info.user_identity.type #=> String, one of "AWSACCOUNT", "AWSSERVICE"
|
1209
|
+
# resp.cluster_operation_info.vpc_connection_info.user_identity.principal_id #=> String
|
1210
|
+
# resp.cluster_operation_info.vpc_connection_info.creation_time #=> Time
|
1063
1211
|
#
|
1064
1212
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeClusterOperation AWS API Documentation
|
1065
1213
|
#
|
@@ -1150,6 +1298,52 @@ module Aws::Kafka
|
|
1150
1298
|
req.send_request(options)
|
1151
1299
|
end
|
1152
1300
|
|
1301
|
+
# Displays information about the specified Amazon MSK VPC connection.
|
1302
|
+
#
|
1303
|
+
# @option params [required, String] :arn
|
1304
|
+
#
|
1305
|
+
# @return [Types::DescribeVpcConnectionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1306
|
+
#
|
1307
|
+
# * {Types::DescribeVpcConnectionResponse#vpc_connection_arn #vpc_connection_arn} => String
|
1308
|
+
# * {Types::DescribeVpcConnectionResponse#target_cluster_arn #target_cluster_arn} => String
|
1309
|
+
# * {Types::DescribeVpcConnectionResponse#state #state} => String
|
1310
|
+
# * {Types::DescribeVpcConnectionResponse#authentication #authentication} => String
|
1311
|
+
# * {Types::DescribeVpcConnectionResponse#vpc_id #vpc_id} => String
|
1312
|
+
# * {Types::DescribeVpcConnectionResponse#subnets #subnets} => Array<String>
|
1313
|
+
# * {Types::DescribeVpcConnectionResponse#security_groups #security_groups} => Array<String>
|
1314
|
+
# * {Types::DescribeVpcConnectionResponse#creation_time #creation_time} => Time
|
1315
|
+
# * {Types::DescribeVpcConnectionResponse#tags #tags} => Hash<String,String>
|
1316
|
+
#
|
1317
|
+
# @example Request syntax with placeholder values
|
1318
|
+
#
|
1319
|
+
# resp = client.describe_vpc_connection({
|
1320
|
+
# arn: "__string", # required
|
1321
|
+
# })
|
1322
|
+
#
|
1323
|
+
# @example Response structure
|
1324
|
+
#
|
1325
|
+
# resp.vpc_connection_arn #=> String
|
1326
|
+
# resp.target_cluster_arn #=> String
|
1327
|
+
# resp.state #=> String, one of "CREATING", "AVAILABLE", "INACTIVE", "DEACTIVATING", "DELETING", "FAILED", "REJECTED", "REJECTING"
|
1328
|
+
# resp.authentication #=> String
|
1329
|
+
# resp.vpc_id #=> String
|
1330
|
+
# resp.subnets #=> Array
|
1331
|
+
# resp.subnets[0] #=> String
|
1332
|
+
# resp.security_groups #=> Array
|
1333
|
+
# resp.security_groups[0] #=> String
|
1334
|
+
# resp.creation_time #=> Time
|
1335
|
+
# resp.tags #=> Hash
|
1336
|
+
# resp.tags["__string"] #=> String
|
1337
|
+
#
|
1338
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeVpcConnection AWS API Documentation
|
1339
|
+
#
|
1340
|
+
# @overload describe_vpc_connection(params = {})
|
1341
|
+
# @param [Hash] params ({})
|
1342
|
+
def describe_vpc_connection(params = {}, options = {})
|
1343
|
+
req = build_request(:describe_vpc_connection, params)
|
1344
|
+
req.send_request(options)
|
1345
|
+
end
|
1346
|
+
|
1153
1347
|
# Disassociates one or more Scram Secrets from an Amazon MSK cluster.
|
1154
1348
|
#
|
1155
1349
|
# @option params [required, String] :cluster_arn
|
@@ -1199,6 +1393,9 @@ module Aws::Kafka
|
|
1199
1393
|
# * {Types::GetBootstrapBrokersResponse#bootstrap_broker_string_tls #bootstrap_broker_string_tls} => String
|
1200
1394
|
# * {Types::GetBootstrapBrokersResponse#bootstrap_broker_string_sasl_scram #bootstrap_broker_string_sasl_scram} => String
|
1201
1395
|
# * {Types::GetBootstrapBrokersResponse#bootstrap_broker_string_sasl_iam #bootstrap_broker_string_sasl_iam} => String
|
1396
|
+
# * {Types::GetBootstrapBrokersResponse#bootstrap_broker_string_vpc_connectivity_tls #bootstrap_broker_string_vpc_connectivity_tls} => String
|
1397
|
+
# * {Types::GetBootstrapBrokersResponse#bootstrap_broker_string_vpc_connectivity_sasl_scram #bootstrap_broker_string_vpc_connectivity_sasl_scram} => String
|
1398
|
+
# * {Types::GetBootstrapBrokersResponse#bootstrap_broker_string_vpc_connectivity_sasl_iam #bootstrap_broker_string_vpc_connectivity_sasl_iam} => String
|
1202
1399
|
#
|
1203
1400
|
# @example Request syntax with placeholder values
|
1204
1401
|
#
|
@@ -1215,6 +1412,9 @@ module Aws::Kafka
|
|
1215
1412
|
# resp.bootstrap_broker_string_tls #=> String
|
1216
1413
|
# resp.bootstrap_broker_string_sasl_scram #=> String
|
1217
1414
|
# resp.bootstrap_broker_string_sasl_iam #=> String
|
1415
|
+
# resp.bootstrap_broker_string_vpc_connectivity_tls #=> String
|
1416
|
+
# resp.bootstrap_broker_string_vpc_connectivity_sasl_scram #=> String
|
1417
|
+
# resp.bootstrap_broker_string_vpc_connectivity_sasl_iam #=> String
|
1218
1418
|
#
|
1219
1419
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/GetBootstrapBrokers AWS API Documentation
|
1220
1420
|
#
|
@@ -1325,6 +1525,9 @@ module Aws::Kafka
|
|
1325
1525
|
# resp.cluster_operation_info_list[0].source_cluster_info.encryption_info.encryption_in_transit.client_broker #=> String, one of "TLS", "TLS_PLAINTEXT", "PLAINTEXT"
|
1326
1526
|
# resp.cluster_operation_info_list[0].source_cluster_info.encryption_info.encryption_in_transit.in_cluster #=> Boolean
|
1327
1527
|
# resp.cluster_operation_info_list[0].source_cluster_info.connectivity_info.public_access.type #=> String
|
1528
|
+
# resp.cluster_operation_info_list[0].source_cluster_info.connectivity_info.vpc_connectivity.client_authentication.sasl.scram.enabled #=> Boolean
|
1529
|
+
# resp.cluster_operation_info_list[0].source_cluster_info.connectivity_info.vpc_connectivity.client_authentication.sasl.iam.enabled #=> Boolean
|
1530
|
+
# resp.cluster_operation_info_list[0].source_cluster_info.connectivity_info.vpc_connectivity.client_authentication.tls.enabled #=> Boolean
|
1328
1531
|
# resp.cluster_operation_info_list[0].source_cluster_info.storage_mode #=> String, one of "LOCAL", "TIERED"
|
1329
1532
|
# resp.cluster_operation_info_list[0].target_cluster_info.broker_ebs_volume_info #=> Array
|
1330
1533
|
# resp.cluster_operation_info_list[0].target_cluster_info.broker_ebs_volume_info[0].kafka_broker_node_id #=> String
|
@@ -1356,7 +1559,15 @@ module Aws::Kafka
|
|
1356
1559
|
# resp.cluster_operation_info_list[0].target_cluster_info.encryption_info.encryption_in_transit.client_broker #=> String, one of "TLS", "TLS_PLAINTEXT", "PLAINTEXT"
|
1357
1560
|
# resp.cluster_operation_info_list[0].target_cluster_info.encryption_info.encryption_in_transit.in_cluster #=> Boolean
|
1358
1561
|
# resp.cluster_operation_info_list[0].target_cluster_info.connectivity_info.public_access.type #=> String
|
1562
|
+
# resp.cluster_operation_info_list[0].target_cluster_info.connectivity_info.vpc_connectivity.client_authentication.sasl.scram.enabled #=> Boolean
|
1563
|
+
# resp.cluster_operation_info_list[0].target_cluster_info.connectivity_info.vpc_connectivity.client_authentication.sasl.iam.enabled #=> Boolean
|
1564
|
+
# resp.cluster_operation_info_list[0].target_cluster_info.connectivity_info.vpc_connectivity.client_authentication.tls.enabled #=> Boolean
|
1359
1565
|
# resp.cluster_operation_info_list[0].target_cluster_info.storage_mode #=> String, one of "LOCAL", "TIERED"
|
1566
|
+
# resp.cluster_operation_info_list[0].vpc_connection_info.vpc_connection_arn #=> String
|
1567
|
+
# resp.cluster_operation_info_list[0].vpc_connection_info.owner #=> String
|
1568
|
+
# resp.cluster_operation_info_list[0].vpc_connection_info.user_identity.type #=> String, one of "AWSACCOUNT", "AWSSERVICE"
|
1569
|
+
# resp.cluster_operation_info_list[0].vpc_connection_info.user_identity.principal_id #=> String
|
1570
|
+
# resp.cluster_operation_info_list[0].vpc_connection_info.creation_time #=> Time
|
1360
1571
|
# resp.next_token #=> String
|
1361
1572
|
#
|
1362
1573
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListClusterOperations AWS API Documentation
|
@@ -1405,6 +1616,11 @@ module Aws::Kafka
|
|
1405
1616
|
# resp.cluster_info_list[0].broker_node_group_info.storage_info.ebs_storage_info.provisioned_throughput.volume_throughput #=> Integer
|
1406
1617
|
# resp.cluster_info_list[0].broker_node_group_info.storage_info.ebs_storage_info.volume_size #=> Integer
|
1407
1618
|
# resp.cluster_info_list[0].broker_node_group_info.connectivity_info.public_access.type #=> String
|
1619
|
+
# resp.cluster_info_list[0].broker_node_group_info.connectivity_info.vpc_connectivity.client_authentication.sasl.scram.enabled #=> Boolean
|
1620
|
+
# resp.cluster_info_list[0].broker_node_group_info.connectivity_info.vpc_connectivity.client_authentication.sasl.iam.enabled #=> Boolean
|
1621
|
+
# resp.cluster_info_list[0].broker_node_group_info.connectivity_info.vpc_connectivity.client_authentication.tls.enabled #=> Boolean
|
1622
|
+
# resp.cluster_info_list[0].broker_node_group_info.zone_ids #=> Array
|
1623
|
+
# resp.cluster_info_list[0].broker_node_group_info.zone_ids[0] #=> String
|
1408
1624
|
# resp.cluster_info_list[0].client_authentication.sasl.scram.enabled #=> Boolean
|
1409
1625
|
# resp.cluster_info_list[0].client_authentication.sasl.iam.enabled #=> Boolean
|
1410
1626
|
# resp.cluster_info_list[0].client_authentication.tls.certificate_authority_arn_list #=> Array
|
@@ -1509,6 +1725,11 @@ module Aws::Kafka
|
|
1509
1725
|
# resp.cluster_info_list[0].provisioned.broker_node_group_info.storage_info.ebs_storage_info.provisioned_throughput.volume_throughput #=> Integer
|
1510
1726
|
# resp.cluster_info_list[0].provisioned.broker_node_group_info.storage_info.ebs_storage_info.volume_size #=> Integer
|
1511
1727
|
# resp.cluster_info_list[0].provisioned.broker_node_group_info.connectivity_info.public_access.type #=> String
|
1728
|
+
# resp.cluster_info_list[0].provisioned.broker_node_group_info.connectivity_info.vpc_connectivity.client_authentication.sasl.scram.enabled #=> Boolean
|
1729
|
+
# resp.cluster_info_list[0].provisioned.broker_node_group_info.connectivity_info.vpc_connectivity.client_authentication.sasl.iam.enabled #=> Boolean
|
1730
|
+
# resp.cluster_info_list[0].provisioned.broker_node_group_info.connectivity_info.vpc_connectivity.client_authentication.tls.enabled #=> Boolean
|
1731
|
+
# resp.cluster_info_list[0].provisioned.broker_node_group_info.zone_ids #=> Array
|
1732
|
+
# resp.cluster_info_list[0].provisioned.broker_node_group_info.zone_ids[0] #=> String
|
1512
1733
|
# resp.cluster_info_list[0].provisioned.current_broker_software_info.configuration_arn #=> String
|
1513
1734
|
# resp.cluster_info_list[0].provisioned.current_broker_software_info.configuration_revision #=> Integer
|
1514
1735
|
# resp.cluster_info_list[0].provisioned.current_broker_software_info.kafka_version #=> String
|
@@ -1795,6 +2016,195 @@ module Aws::Kafka
|
|
1795
2016
|
req.send_request(options)
|
1796
2017
|
end
|
1797
2018
|
|
2019
|
+
# Displays a list of client VPC connections.
|
2020
|
+
#
|
2021
|
+
# @option params [required, String] :cluster_arn
|
2022
|
+
#
|
2023
|
+
# @option params [Integer] :max_results
|
2024
|
+
#
|
2025
|
+
# @option params [String] :next_token
|
2026
|
+
#
|
2027
|
+
# @return [Types::ListClientVpcConnectionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2028
|
+
#
|
2029
|
+
# * {Types::ListClientVpcConnectionsResponse#next_token #next_token} => String
|
2030
|
+
# * {Types::ListClientVpcConnectionsResponse#client_vpc_connections #client_vpc_connections} => Array<Types::ClientVpcConnection>
|
2031
|
+
#
|
2032
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2033
|
+
#
|
2034
|
+
# @example Request syntax with placeholder values
|
2035
|
+
#
|
2036
|
+
# resp = client.list_client_vpc_connections({
|
2037
|
+
# cluster_arn: "__string", # required
|
2038
|
+
# max_results: 1,
|
2039
|
+
# next_token: "__string",
|
2040
|
+
# })
|
2041
|
+
#
|
2042
|
+
# @example Response structure
|
2043
|
+
#
|
2044
|
+
# resp.next_token #=> String
|
2045
|
+
# resp.client_vpc_connections #=> Array
|
2046
|
+
# resp.client_vpc_connections[0].authentication #=> String
|
2047
|
+
# resp.client_vpc_connections[0].creation_time #=> Time
|
2048
|
+
# resp.client_vpc_connections[0].state #=> String, one of "CREATING", "AVAILABLE", "INACTIVE", "DEACTIVATING", "DELETING", "FAILED", "REJECTED", "REJECTING"
|
2049
|
+
# resp.client_vpc_connections[0].vpc_connection_arn #=> String
|
2050
|
+
# resp.client_vpc_connections[0].owner #=> String
|
2051
|
+
#
|
2052
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListClientVpcConnections AWS API Documentation
|
2053
|
+
#
|
2054
|
+
# @overload list_client_vpc_connections(params = {})
|
2055
|
+
# @param [Hash] params ({})
|
2056
|
+
def list_client_vpc_connections(params = {}, options = {})
|
2057
|
+
req = build_request(:list_client_vpc_connections, params)
|
2058
|
+
req.send_request(options)
|
2059
|
+
end
|
2060
|
+
|
2061
|
+
# Displays a list of Amazon MSK VPC connections.
|
2062
|
+
#
|
2063
|
+
# @option params [Integer] :max_results
|
2064
|
+
#
|
2065
|
+
# @option params [String] :next_token
|
2066
|
+
#
|
2067
|
+
# @return [Types::ListVpcConnectionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2068
|
+
#
|
2069
|
+
# * {Types::ListVpcConnectionsResponse#next_token #next_token} => String
|
2070
|
+
# * {Types::ListVpcConnectionsResponse#vpc_connections #vpc_connections} => Array<Types::VpcConnection>
|
2071
|
+
#
|
2072
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2073
|
+
#
|
2074
|
+
# @example Request syntax with placeholder values
|
2075
|
+
#
|
2076
|
+
# resp = client.list_vpc_connections({
|
2077
|
+
# max_results: 1,
|
2078
|
+
# next_token: "__string",
|
2079
|
+
# })
|
2080
|
+
#
|
2081
|
+
# @example Response structure
|
2082
|
+
#
|
2083
|
+
# resp.next_token #=> String
|
2084
|
+
# resp.vpc_connections #=> Array
|
2085
|
+
# resp.vpc_connections[0].vpc_connection_arn #=> String
|
2086
|
+
# resp.vpc_connections[0].target_cluster_arn #=> String
|
2087
|
+
# resp.vpc_connections[0].creation_time #=> Time
|
2088
|
+
# resp.vpc_connections[0].authentication #=> String
|
2089
|
+
# resp.vpc_connections[0].vpc_id #=> String
|
2090
|
+
# resp.vpc_connections[0].state #=> String, one of "CREATING", "AVAILABLE", "INACTIVE", "DEACTIVATING", "DELETING", "FAILED", "REJECTED", "REJECTING"
|
2091
|
+
#
|
2092
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListVpcConnections AWS API Documentation
|
2093
|
+
#
|
2094
|
+
# @overload list_vpc_connections(params = {})
|
2095
|
+
# @param [Hash] params ({})
|
2096
|
+
def list_vpc_connections(params = {}, options = {})
|
2097
|
+
req = build_request(:list_vpc_connections, params)
|
2098
|
+
req.send_request(options)
|
2099
|
+
end
|
2100
|
+
|
2101
|
+
# @option params [String] :cluster_arn
|
2102
|
+
#
|
2103
|
+
# @option params [required, String] :vpc_connection_arn
|
2104
|
+
#
|
2105
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2106
|
+
#
|
2107
|
+
# @example Request syntax with placeholder values
|
2108
|
+
#
|
2109
|
+
# resp = client.reject_client_vpc_connection({
|
2110
|
+
# cluster_arn: "__string",
|
2111
|
+
# vpc_connection_arn: "__string", # required
|
2112
|
+
# })
|
2113
|
+
#
|
2114
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/RejectClientVpcConnection AWS API Documentation
|
2115
|
+
#
|
2116
|
+
# @overload reject_client_vpc_connection(params = {})
|
2117
|
+
# @param [Hash] params ({})
|
2118
|
+
def reject_client_vpc_connection(params = {}, options = {})
|
2119
|
+
req = build_request(:reject_client_vpc_connection, params)
|
2120
|
+
req.send_request(options)
|
2121
|
+
end
|
2122
|
+
|
2123
|
+
# Deletes the MSK cluster policy specified by the Amazon Resource Name
|
2124
|
+
# (ARN) in your request.
|
2125
|
+
#
|
2126
|
+
# @option params [required, String] :cluster_arn
|
2127
|
+
#
|
2128
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2129
|
+
#
|
2130
|
+
# @example Request syntax with placeholder values
|
2131
|
+
#
|
2132
|
+
# resp = client.delete_cluster_policy({
|
2133
|
+
# cluster_arn: "__string", # required
|
2134
|
+
# })
|
2135
|
+
#
|
2136
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DeleteClusterPolicy AWS API Documentation
|
2137
|
+
#
|
2138
|
+
# @overload delete_cluster_policy(params = {})
|
2139
|
+
# @param [Hash] params ({})
|
2140
|
+
def delete_cluster_policy(params = {}, options = {})
|
2141
|
+
req = build_request(:delete_cluster_policy, params)
|
2142
|
+
req.send_request(options)
|
2143
|
+
end
|
2144
|
+
|
2145
|
+
# Retrieves the contents of the specified MSK cluster policy.
|
2146
|
+
#
|
2147
|
+
# @option params [required, String] :cluster_arn
|
2148
|
+
#
|
2149
|
+
# @return [Types::GetClusterPolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2150
|
+
#
|
2151
|
+
# * {Types::GetClusterPolicyResponse#current_version #current_version} => String
|
2152
|
+
# * {Types::GetClusterPolicyResponse#policy #policy} => String
|
2153
|
+
#
|
2154
|
+
# @example Request syntax with placeholder values
|
2155
|
+
#
|
2156
|
+
# resp = client.get_cluster_policy({
|
2157
|
+
# cluster_arn: "__string", # required
|
2158
|
+
# })
|
2159
|
+
#
|
2160
|
+
# @example Response structure
|
2161
|
+
#
|
2162
|
+
# resp.current_version #=> String
|
2163
|
+
# resp.policy #=> String
|
2164
|
+
#
|
2165
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/GetClusterPolicy AWS API Documentation
|
2166
|
+
#
|
2167
|
+
# @overload get_cluster_policy(params = {})
|
2168
|
+
# @param [Hash] params ({})
|
2169
|
+
def get_cluster_policy(params = {}, options = {})
|
2170
|
+
req = build_request(:get_cluster_policy, params)
|
2171
|
+
req.send_request(options)
|
2172
|
+
end
|
2173
|
+
|
2174
|
+
# Creates or updates the specified MSK cluster policy. If updating the
|
2175
|
+
# policy, the currentVersion field is required in the request payload.
|
2176
|
+
#
|
2177
|
+
# @option params [required, String] :cluster_arn
|
2178
|
+
#
|
2179
|
+
# @option params [String] :current_version
|
2180
|
+
#
|
2181
|
+
# @option params [required, String] :policy
|
2182
|
+
#
|
2183
|
+
# @return [Types::PutClusterPolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2184
|
+
#
|
2185
|
+
# * {Types::PutClusterPolicyResponse#current_version #current_version} => String
|
2186
|
+
#
|
2187
|
+
# @example Request syntax with placeholder values
|
2188
|
+
#
|
2189
|
+
# resp = client.put_cluster_policy({
|
2190
|
+
# cluster_arn: "__string", # required
|
2191
|
+
# current_version: "__string",
|
2192
|
+
# policy: "__string", # required
|
2193
|
+
# })
|
2194
|
+
#
|
2195
|
+
# @example Response structure
|
2196
|
+
#
|
2197
|
+
# resp.current_version #=> String
|
2198
|
+
#
|
2199
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/PutClusterPolicy AWS API Documentation
|
2200
|
+
#
|
2201
|
+
# @overload put_cluster_policy(params = {})
|
2202
|
+
# @param [Hash] params ({})
|
2203
|
+
def put_cluster_policy(params = {}, options = {})
|
2204
|
+
req = build_request(:put_cluster_policy, params)
|
2205
|
+
req.send_request(options)
|
2206
|
+
end
|
2207
|
+
|
1798
2208
|
# Executes a reboot on a broker.
|
1799
2209
|
#
|
1800
2210
|
# @option params [required, Array<String>] :broker_ids
|
@@ -2137,7 +2547,7 @@ module Aws::Kafka
|
|
2137
2547
|
req.send_request(options)
|
2138
2548
|
end
|
2139
2549
|
|
2140
|
-
# Updates the connectivity configuration for the cluster.
|
2550
|
+
# Updates the connectivity configuration for the MSK cluster.
|
2141
2551
|
#
|
2142
2552
|
# @option params [required, String] :cluster_arn
|
2143
2553
|
#
|
@@ -2160,6 +2570,21 @@ module Aws::Kafka
|
|
2160
2570
|
# public_access: {
|
2161
2571
|
# type: "__string",
|
2162
2572
|
# },
|
2573
|
+
# vpc_connectivity: {
|
2574
|
+
# client_authentication: {
|
2575
|
+
# sasl: {
|
2576
|
+
# scram: {
|
2577
|
+
# enabled: false,
|
2578
|
+
# },
|
2579
|
+
# iam: {
|
2580
|
+
# enabled: false,
|
2581
|
+
# },
|
2582
|
+
# },
|
2583
|
+
# tls: {
|
2584
|
+
# enabled: false,
|
2585
|
+
# },
|
2586
|
+
# },
|
2587
|
+
# },
|
2163
2588
|
# },
|
2164
2589
|
# current_version: "__string", # required
|
2165
2590
|
# })
|
@@ -2384,7 +2809,7 @@ module Aws::Kafka
|
|
2384
2809
|
params: params,
|
2385
2810
|
config: config)
|
2386
2811
|
context[:gem_name] = 'aws-sdk-kafka'
|
2387
|
-
context[:gem_version] = '1.
|
2812
|
+
context[:gem_version] = '1.55.0'
|
2388
2813
|
Seahorse::Client::Request.new(handlers, context)
|
2389
2814
|
end
|
2390
2815
|
|