aws-sdk-kafka 1.44.0 → 1.45.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: 1a8d0ecae032a6280cdd1090e232d180bdf456e8943b5b30d1b5c4087e4fd140
4
- data.tar.gz: 10a9665f503037dcf7c1e78f0fcb963db37a77a13a6ce87893e84f8afddbb45a
3
+ metadata.gz: 979dc9b53e23cb9f94ec4d473c8197b0add63868ae62eca3e9acfc5f76ce48d5
4
+ data.tar.gz: 58f196f5fe3b5e094be3184fd3c1ca27a6b2bf5a9054681919edec7b0687ee39
5
5
  SHA512:
6
- metadata.gz: d620a03c9a4a443c996f2221cbb7a5af5a0b161db7392410283a279242501c7040e9f66143ae1adc523e6468be9ed359163a216c2af5d18a88615a9a71917d9d
7
- data.tar.gz: 87c8c1032ab21f64db55408e280c7b1899ae90b98d4650fedec3e892fc9f21fa95a66379daa2d8f5b150be116be5d2129e237046b80cbf35900b1a30560bf91e
6
+ metadata.gz: 5d97046c1220aeb5dfcf08f5dbba062e77fd2eafc9b8504fa3f16272a1a2da031e0f83b0e9506cdbdd807e75c0e90e2e4897304d7678c844e3037b0243c6c551
7
+ data.tar.gz: bcd5c261a92494e466fb6bc14885eed1fd92eade2802786180135f5ba149ec9d9f1d08f8548632f422bb4c3f5e6de3632c1b957d5a80431750f75edf5ddc2143
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.45.0 (2021-11-30)
5
+ ------------------
6
+
7
+ * Feature - This release adds three new V2 APIs. CreateClusterV2 for creating both provisioned and serverless clusters. DescribeClusterV2 for getting information about provisioned and serverless clusters and ListClustersV2 for listing all clusters (both provisioned and serverless) in your account.
8
+
4
9
  1.44.0 (2021-11-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.44.0
1
+ 1.45.0
@@ -119,7 +119,9 @@ module Aws::Kafka
119
119
  # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
120
  # are very aggressive. Construct and pass an instance of
121
121
  # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
- # enable retries and extended timeouts.
122
+ # enable retries and extended timeouts. Instance profile credential
123
+ # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
124
+ # to true.
123
125
  #
124
126
  # @option options [required, String] :region
125
127
  # The AWS region to connect to. The configured `:region` is
@@ -515,6 +517,146 @@ module Aws::Kafka
515
517
  req.send_request(options)
516
518
  end
517
519
 
520
+ # Creates a new Amazon MSK cluster of either the provisioned or the
521
+ # serverless type.
522
+ #
523
+ # @option params [required, String] :cluster_name
524
+ # The name of the cluster.
525
+ #
526
+ # @option params [Hash<String,String>] :tags
527
+ # A map of tags that you want the cluster to have.
528
+ #
529
+ # @option params [Types::ProvisionedRequest] :provisioned
530
+ # Creates a provisioned cluster.
531
+ #
532
+ # @option params [Types::ServerlessRequest] :serverless
533
+ # Creates a serverless cluster.
534
+ #
535
+ # @return [Types::CreateClusterV2Response] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
536
+ #
537
+ # * {Types::CreateClusterV2Response#cluster_arn #cluster_arn} => String
538
+ # * {Types::CreateClusterV2Response#cluster_name #cluster_name} => String
539
+ # * {Types::CreateClusterV2Response#state #state} => String
540
+ # * {Types::CreateClusterV2Response#cluster_type #cluster_type} => String
541
+ #
542
+ # @example Request syntax with placeholder values
543
+ #
544
+ # resp = client.create_cluster_v2({
545
+ # cluster_name: "__stringMin1Max64", # required
546
+ # tags: {
547
+ # "__string" => "__string",
548
+ # },
549
+ # provisioned: {
550
+ # broker_node_group_info: { # required
551
+ # broker_az_distribution: "DEFAULT", # accepts DEFAULT
552
+ # client_subnets: ["__string"], # required
553
+ # instance_type: "__stringMin5Max32", # required
554
+ # security_groups: ["__string"],
555
+ # storage_info: {
556
+ # ebs_storage_info: {
557
+ # volume_size: 1,
558
+ # },
559
+ # },
560
+ # connectivity_info: {
561
+ # public_access: {
562
+ # type: "__string",
563
+ # },
564
+ # },
565
+ # },
566
+ # client_authentication: {
567
+ # sasl: {
568
+ # scram: {
569
+ # enabled: false,
570
+ # },
571
+ # iam: {
572
+ # enabled: false,
573
+ # },
574
+ # },
575
+ # tls: {
576
+ # certificate_authority_arn_list: ["__string"],
577
+ # enabled: false,
578
+ # },
579
+ # unauthenticated: {
580
+ # enabled: false,
581
+ # },
582
+ # },
583
+ # configuration_info: {
584
+ # arn: "__string", # required
585
+ # revision: 1, # required
586
+ # },
587
+ # encryption_info: {
588
+ # encryption_at_rest: {
589
+ # data_volume_kms_key_id: "__string", # required
590
+ # },
591
+ # encryption_in_transit: {
592
+ # client_broker: "TLS", # accepts TLS, TLS_PLAINTEXT, PLAINTEXT
593
+ # in_cluster: false,
594
+ # },
595
+ # },
596
+ # enhanced_monitoring: "DEFAULT", # accepts DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER, PER_TOPIC_PER_PARTITION
597
+ # open_monitoring: {
598
+ # prometheus: { # required
599
+ # jmx_exporter: {
600
+ # enabled_in_broker: false, # required
601
+ # },
602
+ # node_exporter: {
603
+ # enabled_in_broker: false, # required
604
+ # },
605
+ # },
606
+ # },
607
+ # kafka_version: "__stringMin1Max128", # required
608
+ # logging_info: {
609
+ # broker_logs: { # required
610
+ # cloud_watch_logs: {
611
+ # enabled: false, # required
612
+ # log_group: "__string",
613
+ # },
614
+ # firehose: {
615
+ # delivery_stream: "__string",
616
+ # enabled: false, # required
617
+ # },
618
+ # s3: {
619
+ # bucket: "__string",
620
+ # enabled: false, # required
621
+ # prefix: "__string",
622
+ # },
623
+ # },
624
+ # },
625
+ # number_of_broker_nodes: 1, # required
626
+ # },
627
+ # serverless: {
628
+ # vpc_configs: [ # required
629
+ # {
630
+ # subnet_ids: ["__string"], # required
631
+ # security_group_ids: ["__string"],
632
+ # },
633
+ # ],
634
+ # client_authentication: {
635
+ # sasl: {
636
+ # iam: {
637
+ # enabled: false,
638
+ # },
639
+ # },
640
+ # },
641
+ # },
642
+ # })
643
+ #
644
+ # @example Response structure
645
+ #
646
+ # resp.cluster_arn #=> String
647
+ # resp.cluster_name #=> String
648
+ # resp.state #=> String, one of "ACTIVE", "CREATING", "DELETING", "FAILED", "HEALING", "MAINTENANCE", "REBOOTING_BROKER", "UPDATING"
649
+ # resp.cluster_type #=> String, one of "PROVISIONED", "SERVERLESS"
650
+ #
651
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/CreateClusterV2 AWS API Documentation
652
+ #
653
+ # @overload create_cluster_v2(params = {})
654
+ # @param [Hash] params ({})
655
+ def create_cluster_v2(params = {}, options = {})
656
+ req = build_request(:create_cluster_v2, params)
657
+ req.send_request(options)
658
+ end
659
+
518
660
  # Creates a new MSK configuration.
519
661
  #
520
662
  # @option params [String] :description
@@ -700,6 +842,85 @@ module Aws::Kafka
700
842
  req.send_request(options)
701
843
  end
702
844
 
845
+ # Returns a description of the MSK cluster of either the provisioned or
846
+ # the serverless type whose Amazon Resource Name (ARN) is specified in
847
+ # the request.
848
+ #
849
+ # @option params [required, String] :cluster_arn
850
+ # The Amazon Resource Name (ARN) that uniquely identifies the cluster.
851
+ #
852
+ # @return [Types::DescribeClusterV2Response] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
853
+ #
854
+ # * {Types::DescribeClusterV2Response#cluster_info #cluster_info} => Types::Cluster
855
+ #
856
+ # @example Request syntax with placeholder values
857
+ #
858
+ # resp = client.describe_cluster_v2({
859
+ # cluster_arn: "__string", # required
860
+ # })
861
+ #
862
+ # @example Response structure
863
+ #
864
+ # resp.cluster_info.active_operation_arn #=> String
865
+ # resp.cluster_info.cluster_type #=> String, one of "PROVISIONED", "SERVERLESS"
866
+ # resp.cluster_info.cluster_arn #=> String
867
+ # resp.cluster_info.cluster_name #=> String
868
+ # resp.cluster_info.creation_time #=> Time
869
+ # resp.cluster_info.current_version #=> String
870
+ # resp.cluster_info.state #=> String, one of "ACTIVE", "CREATING", "DELETING", "FAILED", "HEALING", "MAINTENANCE", "REBOOTING_BROKER", "UPDATING"
871
+ # resp.cluster_info.state_info.code #=> String
872
+ # resp.cluster_info.state_info.message #=> String
873
+ # resp.cluster_info.tags #=> Hash
874
+ # resp.cluster_info.tags["__string"] #=> String
875
+ # resp.cluster_info.provisioned.broker_node_group_info.broker_az_distribution #=> String, one of "DEFAULT"
876
+ # resp.cluster_info.provisioned.broker_node_group_info.client_subnets #=> Array
877
+ # resp.cluster_info.provisioned.broker_node_group_info.client_subnets[0] #=> String
878
+ # resp.cluster_info.provisioned.broker_node_group_info.instance_type #=> String
879
+ # resp.cluster_info.provisioned.broker_node_group_info.security_groups #=> Array
880
+ # resp.cluster_info.provisioned.broker_node_group_info.security_groups[0] #=> String
881
+ # resp.cluster_info.provisioned.broker_node_group_info.storage_info.ebs_storage_info.volume_size #=> Integer
882
+ # resp.cluster_info.provisioned.broker_node_group_info.connectivity_info.public_access.type #=> String
883
+ # resp.cluster_info.provisioned.current_broker_software_info.configuration_arn #=> String
884
+ # resp.cluster_info.provisioned.current_broker_software_info.configuration_revision #=> Integer
885
+ # resp.cluster_info.provisioned.current_broker_software_info.kafka_version #=> String
886
+ # resp.cluster_info.provisioned.client_authentication.sasl.scram.enabled #=> Boolean
887
+ # resp.cluster_info.provisioned.client_authentication.sasl.iam.enabled #=> Boolean
888
+ # resp.cluster_info.provisioned.client_authentication.tls.certificate_authority_arn_list #=> Array
889
+ # resp.cluster_info.provisioned.client_authentication.tls.certificate_authority_arn_list[0] #=> String
890
+ # resp.cluster_info.provisioned.client_authentication.tls.enabled #=> Boolean
891
+ # resp.cluster_info.provisioned.client_authentication.unauthenticated.enabled #=> Boolean
892
+ # resp.cluster_info.provisioned.encryption_info.encryption_at_rest.data_volume_kms_key_id #=> String
893
+ # resp.cluster_info.provisioned.encryption_info.encryption_in_transit.client_broker #=> String, one of "TLS", "TLS_PLAINTEXT", "PLAINTEXT"
894
+ # resp.cluster_info.provisioned.encryption_info.encryption_in_transit.in_cluster #=> Boolean
895
+ # resp.cluster_info.provisioned.enhanced_monitoring #=> String, one of "DEFAULT", "PER_BROKER", "PER_TOPIC_PER_BROKER", "PER_TOPIC_PER_PARTITION"
896
+ # resp.cluster_info.provisioned.open_monitoring.prometheus.jmx_exporter.enabled_in_broker #=> Boolean
897
+ # resp.cluster_info.provisioned.open_monitoring.prometheus.node_exporter.enabled_in_broker #=> Boolean
898
+ # resp.cluster_info.provisioned.logging_info.broker_logs.cloud_watch_logs.enabled #=> Boolean
899
+ # resp.cluster_info.provisioned.logging_info.broker_logs.cloud_watch_logs.log_group #=> String
900
+ # resp.cluster_info.provisioned.logging_info.broker_logs.firehose.delivery_stream #=> String
901
+ # resp.cluster_info.provisioned.logging_info.broker_logs.firehose.enabled #=> Boolean
902
+ # resp.cluster_info.provisioned.logging_info.broker_logs.s3.bucket #=> String
903
+ # resp.cluster_info.provisioned.logging_info.broker_logs.s3.enabled #=> Boolean
904
+ # resp.cluster_info.provisioned.logging_info.broker_logs.s3.prefix #=> String
905
+ # resp.cluster_info.provisioned.number_of_broker_nodes #=> Integer
906
+ # resp.cluster_info.provisioned.zookeeper_connect_string #=> String
907
+ # resp.cluster_info.provisioned.zookeeper_connect_string_tls #=> String
908
+ # resp.cluster_info.serverless.vpc_configs #=> Array
909
+ # resp.cluster_info.serverless.vpc_configs[0].subnet_ids #=> Array
910
+ # resp.cluster_info.serverless.vpc_configs[0].subnet_ids[0] #=> String
911
+ # resp.cluster_info.serverless.vpc_configs[0].security_group_ids #=> Array
912
+ # resp.cluster_info.serverless.vpc_configs[0].security_group_ids[0] #=> String
913
+ # resp.cluster_info.serverless.client_authentication.sasl.iam.enabled #=> Boolean
914
+ #
915
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeClusterV2 AWS API Documentation
916
+ #
917
+ # @overload describe_cluster_v2(params = {})
918
+ # @param [Hash] params ({})
919
+ def describe_cluster_v2(params = {}, options = {})
920
+ req = build_request(:describe_cluster_v2, params)
921
+ req.send_request(options)
922
+ end
923
+
703
924
  # Returns a description of the cluster operation specified by the ARN.
704
925
  #
705
926
  # @option params [required, String] :cluster_operation_arn
@@ -1166,6 +1387,104 @@ module Aws::Kafka
1166
1387
  req.send_request(options)
1167
1388
  end
1168
1389
 
1390
+ # Returns a list of all the MSK clusters in the current Region.
1391
+ #
1392
+ # @option params [String] :cluster_name_filter
1393
+ # Specify a prefix of the names of the clusters that you want to list.
1394
+ # The service lists all the clusters whose names start with this prefix.
1395
+ #
1396
+ # @option params [String] :cluster_type_filter
1397
+ # Specify either PROVISIONED or SERVERLESS.
1398
+ #
1399
+ # @option params [Integer] :max_results
1400
+ # The maximum number of results to return in the response. If there are
1401
+ # more results, the response includes a NextToken parameter.
1402
+ #
1403
+ # @option params [String] :next_token
1404
+ # The paginated results marker. When the result of the operation is
1405
+ # truncated, the call returns NextToken in the response. To get the next
1406
+ # batch, provide this token in your next request.
1407
+ #
1408
+ # @return [Types::ListClustersV2Response] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1409
+ #
1410
+ # * {Types::ListClustersV2Response#cluster_info_list #cluster_info_list} => Array&lt;Types::Cluster&gt;
1411
+ # * {Types::ListClustersV2Response#next_token #next_token} => String
1412
+ #
1413
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1414
+ #
1415
+ # @example Request syntax with placeholder values
1416
+ #
1417
+ # resp = client.list_clusters_v2({
1418
+ # cluster_name_filter: "__string",
1419
+ # cluster_type_filter: "__string",
1420
+ # max_results: 1,
1421
+ # next_token: "__string",
1422
+ # })
1423
+ #
1424
+ # @example Response structure
1425
+ #
1426
+ # resp.cluster_info_list #=> Array
1427
+ # resp.cluster_info_list[0].active_operation_arn #=> String
1428
+ # resp.cluster_info_list[0].cluster_type #=> String, one of "PROVISIONED", "SERVERLESS"
1429
+ # resp.cluster_info_list[0].cluster_arn #=> String
1430
+ # resp.cluster_info_list[0].cluster_name #=> String
1431
+ # resp.cluster_info_list[0].creation_time #=> Time
1432
+ # resp.cluster_info_list[0].current_version #=> String
1433
+ # resp.cluster_info_list[0].state #=> String, one of "ACTIVE", "CREATING", "DELETING", "FAILED", "HEALING", "MAINTENANCE", "REBOOTING_BROKER", "UPDATING"
1434
+ # resp.cluster_info_list[0].state_info.code #=> String
1435
+ # resp.cluster_info_list[0].state_info.message #=> String
1436
+ # resp.cluster_info_list[0].tags #=> Hash
1437
+ # resp.cluster_info_list[0].tags["__string"] #=> String
1438
+ # resp.cluster_info_list[0].provisioned.broker_node_group_info.broker_az_distribution #=> String, one of "DEFAULT"
1439
+ # resp.cluster_info_list[0].provisioned.broker_node_group_info.client_subnets #=> Array
1440
+ # resp.cluster_info_list[0].provisioned.broker_node_group_info.client_subnets[0] #=> String
1441
+ # resp.cluster_info_list[0].provisioned.broker_node_group_info.instance_type #=> String
1442
+ # resp.cluster_info_list[0].provisioned.broker_node_group_info.security_groups #=> Array
1443
+ # resp.cluster_info_list[0].provisioned.broker_node_group_info.security_groups[0] #=> String
1444
+ # resp.cluster_info_list[0].provisioned.broker_node_group_info.storage_info.ebs_storage_info.volume_size #=> Integer
1445
+ # resp.cluster_info_list[0].provisioned.broker_node_group_info.connectivity_info.public_access.type #=> String
1446
+ # resp.cluster_info_list[0].provisioned.current_broker_software_info.configuration_arn #=> String
1447
+ # resp.cluster_info_list[0].provisioned.current_broker_software_info.configuration_revision #=> Integer
1448
+ # resp.cluster_info_list[0].provisioned.current_broker_software_info.kafka_version #=> String
1449
+ # resp.cluster_info_list[0].provisioned.client_authentication.sasl.scram.enabled #=> Boolean
1450
+ # resp.cluster_info_list[0].provisioned.client_authentication.sasl.iam.enabled #=> Boolean
1451
+ # resp.cluster_info_list[0].provisioned.client_authentication.tls.certificate_authority_arn_list #=> Array
1452
+ # resp.cluster_info_list[0].provisioned.client_authentication.tls.certificate_authority_arn_list[0] #=> String
1453
+ # resp.cluster_info_list[0].provisioned.client_authentication.tls.enabled #=> Boolean
1454
+ # resp.cluster_info_list[0].provisioned.client_authentication.unauthenticated.enabled #=> Boolean
1455
+ # resp.cluster_info_list[0].provisioned.encryption_info.encryption_at_rest.data_volume_kms_key_id #=> String
1456
+ # resp.cluster_info_list[0].provisioned.encryption_info.encryption_in_transit.client_broker #=> String, one of "TLS", "TLS_PLAINTEXT", "PLAINTEXT"
1457
+ # resp.cluster_info_list[0].provisioned.encryption_info.encryption_in_transit.in_cluster #=> Boolean
1458
+ # resp.cluster_info_list[0].provisioned.enhanced_monitoring #=> String, one of "DEFAULT", "PER_BROKER", "PER_TOPIC_PER_BROKER", "PER_TOPIC_PER_PARTITION"
1459
+ # resp.cluster_info_list[0].provisioned.open_monitoring.prometheus.jmx_exporter.enabled_in_broker #=> Boolean
1460
+ # resp.cluster_info_list[0].provisioned.open_monitoring.prometheus.node_exporter.enabled_in_broker #=> Boolean
1461
+ # resp.cluster_info_list[0].provisioned.logging_info.broker_logs.cloud_watch_logs.enabled #=> Boolean
1462
+ # resp.cluster_info_list[0].provisioned.logging_info.broker_logs.cloud_watch_logs.log_group #=> String
1463
+ # resp.cluster_info_list[0].provisioned.logging_info.broker_logs.firehose.delivery_stream #=> String
1464
+ # resp.cluster_info_list[0].provisioned.logging_info.broker_logs.firehose.enabled #=> Boolean
1465
+ # resp.cluster_info_list[0].provisioned.logging_info.broker_logs.s3.bucket #=> String
1466
+ # resp.cluster_info_list[0].provisioned.logging_info.broker_logs.s3.enabled #=> Boolean
1467
+ # resp.cluster_info_list[0].provisioned.logging_info.broker_logs.s3.prefix #=> String
1468
+ # resp.cluster_info_list[0].provisioned.number_of_broker_nodes #=> Integer
1469
+ # resp.cluster_info_list[0].provisioned.zookeeper_connect_string #=> String
1470
+ # resp.cluster_info_list[0].provisioned.zookeeper_connect_string_tls #=> String
1471
+ # resp.cluster_info_list[0].serverless.vpc_configs #=> Array
1472
+ # resp.cluster_info_list[0].serverless.vpc_configs[0].subnet_ids #=> Array
1473
+ # resp.cluster_info_list[0].serverless.vpc_configs[0].subnet_ids[0] #=> String
1474
+ # resp.cluster_info_list[0].serverless.vpc_configs[0].security_group_ids #=> Array
1475
+ # resp.cluster_info_list[0].serverless.vpc_configs[0].security_group_ids[0] #=> String
1476
+ # resp.cluster_info_list[0].serverless.client_authentication.sasl.iam.enabled #=> Boolean
1477
+ # resp.next_token #=> String
1478
+ #
1479
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListClustersV2 AWS API Documentation
1480
+ #
1481
+ # @overload list_clusters_v2(params = {})
1482
+ # @param [Hash] params ({})
1483
+ def list_clusters_v2(params = {}, options = {})
1484
+ req = build_request(:list_clusters_v2, params)
1485
+ req.send_request(options)
1486
+ end
1487
+
1169
1488
  # Returns a list of all the revisions of an MSK configuration.
1170
1489
  #
1171
1490
  # @option params [required, String] :arn
@@ -1944,7 +2263,7 @@ module Aws::Kafka
1944
2263
  params: params,
1945
2264
  config: config)
1946
2265
  context[:gem_name] = 'aws-sdk-kafka'
1947
- context[:gem_version] = '1.44.0'
2266
+ context[:gem_version] = '1.45.0'
1948
2267
  Seahorse::Client::Request.new(handlers, context)
1949
2268
  end
1950
2269