aws-sdk-kafka 1.133.0 → 1.134.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-kafka/client.rb +490 -5
- data/lib/aws-sdk-kafka/client_api.rb +367 -2
- data/lib/aws-sdk-kafka/types.rb +801 -5
- data/lib/aws-sdk-kafka.rb +1 -1
- data/sig/client.rbs +149 -1
- data/sig/types.rbs +206 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d06b7d9aa702533f7cf8e288a29531b493122aeb5752bc6317e30247244cdd69
|
|
4
|
+
data.tar.gz: fc8b264568cae90f0b528a1be3ed296310170a5c985906eb933c9108209baf5e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b57dfd455a5cf4ea4529fcd0fda9bd93f316935ab86ab1eaa8588a4c168e673eb9750ba3b195a2c98bcb18000e392b8980e09b4951b8036e216b31793632e5fd
|
|
7
|
+
data.tar.gz: 3c1fe57ffce6299775aaf6317fd5a84e4de1082ed14747e29ddb03a2c02f5960d685a5f66913bb5c105820c3095ea6147ef97153d2f2337db274fa1e56d3299c
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.134.0 (2026-11-19)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Amazon MSK now supports in-place migration of provisioned clusters from Standard to Express brokers. This release adds APIs to assess a cluster before migration and to reassign topics, and returns broker type upgrade details in cluster operations.
|
|
8
|
+
|
|
4
9
|
1.133.0 (2026-11-18)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.134.0
|
data/lib/aws-sdk-kafka/client.rb
CHANGED
|
@@ -518,6 +518,59 @@ module Aws::Kafka
|
|
|
518
518
|
req.send_request(options)
|
|
519
519
|
end
|
|
520
520
|
|
|
521
|
+
# Creates a new assessment for the specified cluster. Kicks off an
|
|
522
|
+
# asynchronous scan.
|
|
523
|
+
#
|
|
524
|
+
# @option params [Types::AssessmentParameters] :assessment_parameters
|
|
525
|
+
# Optional type-specific parameters for the assessment.
|
|
526
|
+
#
|
|
527
|
+
# @option params [required, String] :assessment_type
|
|
528
|
+
# The type of assessment to perform.
|
|
529
|
+
#
|
|
530
|
+
# @option params [required, String] :cluster_arn
|
|
531
|
+
# The Amazon Resource Name (ARN) of the cluster to assess.
|
|
532
|
+
#
|
|
533
|
+
# @option params [Hash<String,String>] :tags
|
|
534
|
+
# The tags to attach to the assessment.
|
|
535
|
+
#
|
|
536
|
+
# @return [Types::CreateAssessmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
537
|
+
#
|
|
538
|
+
# * {Types::CreateAssessmentResponse#assessment_arn #assessment_arn} => String
|
|
539
|
+
# * {Types::CreateAssessmentResponse#assessment_type #assessment_type} => String
|
|
540
|
+
# * {Types::CreateAssessmentResponse#cluster_arn #cluster_arn} => String
|
|
541
|
+
# * {Types::CreateAssessmentResponse#creation_time #creation_time} => Time
|
|
542
|
+
# * {Types::CreateAssessmentResponse#status #status} => String
|
|
543
|
+
#
|
|
544
|
+
# @example Request syntax with placeholder values
|
|
545
|
+
#
|
|
546
|
+
# resp = client.create_assessment({
|
|
547
|
+
# assessment_parameters: {
|
|
548
|
+
# target_instance_type: "__stringMax256",
|
|
549
|
+
# },
|
|
550
|
+
# assessment_type: "UPDATE_BROKER_TYPE", # required, accepts UPDATE_BROKER_TYPE
|
|
551
|
+
# cluster_arn: "__string", # required
|
|
552
|
+
# tags: {
|
|
553
|
+
# "__string" => "__string",
|
|
554
|
+
# },
|
|
555
|
+
# })
|
|
556
|
+
#
|
|
557
|
+
# @example Response structure
|
|
558
|
+
#
|
|
559
|
+
# resp.assessment_arn #=> String
|
|
560
|
+
# resp.assessment_type #=> String, one of "UPDATE_BROKER_TYPE"
|
|
561
|
+
# resp.cluster_arn #=> String
|
|
562
|
+
# resp.creation_time #=> Time
|
|
563
|
+
# resp.status #=> String, one of "IN_PROGRESS", "COMPLETE", "FAILED", "DELETING"
|
|
564
|
+
#
|
|
565
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/CreateAssessment AWS API Documentation
|
|
566
|
+
#
|
|
567
|
+
# @overload create_assessment(params = {})
|
|
568
|
+
# @param [Hash] params ({})
|
|
569
|
+
def create_assessment(params = {}, options = {})
|
|
570
|
+
req = build_request(:create_assessment, params)
|
|
571
|
+
req.send_request(options)
|
|
572
|
+
end
|
|
573
|
+
|
|
521
574
|
# Creates a new MSK cluster.
|
|
522
575
|
#
|
|
523
576
|
# @option params [required, Types::BrokerNodeGroupInfo] :broker_node_group_info
|
|
@@ -575,7 +628,7 @@ module Aws::Kafka
|
|
|
575
628
|
# broker_node_group_info: { # required
|
|
576
629
|
# broker_az_distribution: "DEFAULT", # accepts DEFAULT
|
|
577
630
|
# client_subnets: ["__string"], # required
|
|
578
|
-
# instance_type: "
|
|
631
|
+
# instance_type: "__stringMin5Max64", # required
|
|
579
632
|
# security_groups: ["__string"],
|
|
580
633
|
# storage_info: {
|
|
581
634
|
# ebs_storage_info: {
|
|
@@ -742,7 +795,7 @@ module Aws::Kafka
|
|
|
742
795
|
# broker_node_group_info: { # required
|
|
743
796
|
# broker_az_distribution: "DEFAULT", # accepts DEFAULT
|
|
744
797
|
# client_subnets: ["__string"], # required
|
|
745
|
-
# instance_type: "
|
|
798
|
+
# instance_type: "__stringMin5Max64", # required
|
|
746
799
|
# security_groups: ["__string"],
|
|
747
800
|
# storage_info: {
|
|
748
801
|
# ebs_storage_info: {
|
|
@@ -1340,6 +1393,41 @@ module Aws::Kafka
|
|
|
1340
1393
|
req.send_request(options)
|
|
1341
1394
|
end
|
|
1342
1395
|
|
|
1396
|
+
# Deletes an assessment and its findings. Frees one slot against the
|
|
1397
|
+
# cluster's assessment quota.
|
|
1398
|
+
#
|
|
1399
|
+
# @option params [required, String] :assessment_arn
|
|
1400
|
+
# The Amazon Resource Name (ARN) of the assessment to delete.
|
|
1401
|
+
#
|
|
1402
|
+
# @option params [required, String] :cluster_arn
|
|
1403
|
+
# The Amazon Resource Name (ARN) of the cluster.
|
|
1404
|
+
#
|
|
1405
|
+
# @return [Types::DeleteAssessmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1406
|
+
#
|
|
1407
|
+
# * {Types::DeleteAssessmentResponse#assessment_arn #assessment_arn} => String
|
|
1408
|
+
# * {Types::DeleteAssessmentResponse#status #status} => String
|
|
1409
|
+
#
|
|
1410
|
+
# @example Request syntax with placeholder values
|
|
1411
|
+
#
|
|
1412
|
+
# resp = client.delete_assessment({
|
|
1413
|
+
# assessment_arn: "__string", # required
|
|
1414
|
+
# cluster_arn: "__string", # required
|
|
1415
|
+
# })
|
|
1416
|
+
#
|
|
1417
|
+
# @example Response structure
|
|
1418
|
+
#
|
|
1419
|
+
# resp.assessment_arn #=> String
|
|
1420
|
+
# resp.status #=> String, one of "IN_PROGRESS", "COMPLETE", "FAILED", "DELETING"
|
|
1421
|
+
#
|
|
1422
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DeleteAssessment AWS API Documentation
|
|
1423
|
+
#
|
|
1424
|
+
# @overload delete_assessment(params = {})
|
|
1425
|
+
# @param [Hash] params ({})
|
|
1426
|
+
def delete_assessment(params = {}, options = {})
|
|
1427
|
+
req = build_request(:delete_assessment, params)
|
|
1428
|
+
req.send_request(options)
|
|
1429
|
+
end
|
|
1430
|
+
|
|
1343
1431
|
# Deletes the MSK cluster specified by the Amazon Resource Name (ARN) in
|
|
1344
1432
|
# the request.
|
|
1345
1433
|
#
|
|
@@ -1535,6 +1623,63 @@ module Aws::Kafka
|
|
|
1535
1623
|
req.send_request(options)
|
|
1536
1624
|
end
|
|
1537
1625
|
|
|
1626
|
+
# Returns the status and summary of an assessment.
|
|
1627
|
+
#
|
|
1628
|
+
# @option params [required, String] :assessment_arn
|
|
1629
|
+
# The Amazon Resource Name (ARN) of the assessment.
|
|
1630
|
+
#
|
|
1631
|
+
# @option params [required, String] :cluster_arn
|
|
1632
|
+
# The Amazon Resource Name (ARN) of the cluster.
|
|
1633
|
+
#
|
|
1634
|
+
# @return [Types::DescribeAssessmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1635
|
+
#
|
|
1636
|
+
# * {Types::DescribeAssessmentResponse#assessment_arn #assessment_arn} => String
|
|
1637
|
+
# * {Types::DescribeAssessmentResponse#assessment_parameters #assessment_parameters} => Types::AssessmentParameters
|
|
1638
|
+
# * {Types::DescribeAssessmentResponse#assessment_type #assessment_type} => String
|
|
1639
|
+
# * {Types::DescribeAssessmentResponse#cluster_arn #cluster_arn} => String
|
|
1640
|
+
# * {Types::DescribeAssessmentResponse#completion_time #completion_time} => Time
|
|
1641
|
+
# * {Types::DescribeAssessmentResponse#creation_time #creation_time} => Time
|
|
1642
|
+
# * {Types::DescribeAssessmentResponse#status #status} => String
|
|
1643
|
+
# * {Types::DescribeAssessmentResponse#status_message #status_message} => String
|
|
1644
|
+
# * {Types::DescribeAssessmentResponse#summary #summary} => Types::AssessmentSummary
|
|
1645
|
+
# * {Types::DescribeAssessmentResponse#tags #tags} => Hash<String,String>
|
|
1646
|
+
#
|
|
1647
|
+
# @example Request syntax with placeholder values
|
|
1648
|
+
#
|
|
1649
|
+
# resp = client.describe_assessment({
|
|
1650
|
+
# assessment_arn: "__string", # required
|
|
1651
|
+
# cluster_arn: "__string", # required
|
|
1652
|
+
# })
|
|
1653
|
+
#
|
|
1654
|
+
# @example Response structure
|
|
1655
|
+
#
|
|
1656
|
+
# resp.assessment_arn #=> String
|
|
1657
|
+
# resp.assessment_parameters.target_instance_type #=> String
|
|
1658
|
+
# resp.assessment_type #=> String, one of "UPDATE_BROKER_TYPE"
|
|
1659
|
+
# resp.cluster_arn #=> String
|
|
1660
|
+
# resp.completion_time #=> Time
|
|
1661
|
+
# resp.creation_time #=> Time
|
|
1662
|
+
# resp.status #=> String, one of "IN_PROGRESS", "COMPLETE", "FAILED", "DELETING"
|
|
1663
|
+
# resp.status_message #=> String
|
|
1664
|
+
# resp.summary.by_category #=> Hash
|
|
1665
|
+
# resp.summary.by_category["__string"] #=> Integer
|
|
1666
|
+
# resp.summary.by_severity #=> Hash
|
|
1667
|
+
# resp.summary.by_severity["__string"] #=> Integer
|
|
1668
|
+
# resp.summary.findings_capped #=> Boolean
|
|
1669
|
+
# resp.summary.has_blocking_findings #=> Boolean
|
|
1670
|
+
# resp.summary.total_findings #=> Integer
|
|
1671
|
+
# resp.tags #=> Hash
|
|
1672
|
+
# resp.tags["__string"] #=> String
|
|
1673
|
+
#
|
|
1674
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeAssessment AWS API Documentation
|
|
1675
|
+
#
|
|
1676
|
+
# @overload describe_assessment(params = {})
|
|
1677
|
+
# @param [Hash] params ({})
|
|
1678
|
+
def describe_assessment(params = {}, options = {})
|
|
1679
|
+
req = build_request(:describe_assessment, params)
|
|
1680
|
+
req.send_request(options)
|
|
1681
|
+
end
|
|
1682
|
+
|
|
1538
1683
|
# Returns a description of the MSK cluster whose Amazon Resource Name
|
|
1539
1684
|
# (ARN) is specified in the request.
|
|
1540
1685
|
#
|
|
@@ -1737,6 +1882,8 @@ module Aws::Kafka
|
|
|
1737
1882
|
#
|
|
1738
1883
|
# @example Response structure
|
|
1739
1884
|
#
|
|
1885
|
+
# resp.cluster_operation_info.broker_type_upgrade_info.topic_reassignment_mode #=> String, one of "AUTO", "MANUAL"
|
|
1886
|
+
# resp.cluster_operation_info.broker_type_upgrade_info.topic_reassignment_operation_arn #=> String
|
|
1740
1887
|
# resp.cluster_operation_info.client_request_id #=> String
|
|
1741
1888
|
# resp.cluster_operation_info.cluster_arn #=> String
|
|
1742
1889
|
# resp.cluster_operation_info.creation_time #=> Time
|
|
@@ -1883,6 +2030,8 @@ module Aws::Kafka
|
|
|
1883
2030
|
# resp.cluster_operation_info.operation_arn #=> String
|
|
1884
2031
|
# resp.cluster_operation_info.operation_state #=> String
|
|
1885
2032
|
# resp.cluster_operation_info.operation_type #=> String
|
|
2033
|
+
# resp.cluster_operation_info.provisioned.broker_type_upgrade_info.topic_reassignment_mode #=> String, one of "AUTO", "MANUAL"
|
|
2034
|
+
# resp.cluster_operation_info.provisioned.broker_type_upgrade_info.topic_reassignment_operation_arn #=> String
|
|
1886
2035
|
# resp.cluster_operation_info.provisioned.operation_steps #=> Array
|
|
1887
2036
|
# resp.cluster_operation_info.provisioned.operation_steps[0].step_info.step_status #=> String
|
|
1888
2037
|
# resp.cluster_operation_info.provisioned.operation_steps[0].step_name #=> String
|
|
@@ -2296,6 +2445,7 @@ module Aws::Kafka
|
|
|
2296
2445
|
# * {Types::DescribeTopicResponse#partition_count #partition_count} => Integer
|
|
2297
2446
|
# * {Types::DescribeTopicResponse#configs #configs} => String
|
|
2298
2447
|
# * {Types::DescribeTopicResponse#status #status} => String
|
|
2448
|
+
# * {Types::DescribeTopicResponse#replica_ids #replica_ids} => Array<Integer>
|
|
2299
2449
|
#
|
|
2300
2450
|
# @example Request syntax with placeholder values
|
|
2301
2451
|
#
|
|
@@ -2312,6 +2462,8 @@ module Aws::Kafka
|
|
|
2312
2462
|
# resp.partition_count #=> Integer
|
|
2313
2463
|
# resp.configs #=> String
|
|
2314
2464
|
# resp.status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE"
|
|
2465
|
+
# resp.replica_ids #=> Array
|
|
2466
|
+
# resp.replica_ids[0] #=> Integer
|
|
2315
2467
|
#
|
|
2316
2468
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeTopic AWS API Documentation
|
|
2317
2469
|
#
|
|
@@ -2368,6 +2520,65 @@ module Aws::Kafka
|
|
|
2368
2520
|
req.send_request(options)
|
|
2369
2521
|
end
|
|
2370
2522
|
|
|
2523
|
+
# Returns the status and progress of a topic reassignment operation.
|
|
2524
|
+
#
|
|
2525
|
+
# @option params [required, String] :cluster_arn
|
|
2526
|
+
# The Amazon Resource Name (ARN) of the cluster.
|
|
2527
|
+
#
|
|
2528
|
+
# @option params [required, String] :topic_reassignment_operation_arn
|
|
2529
|
+
# The Amazon Resource Name (ARN) of the topic reassignment operation.
|
|
2530
|
+
#
|
|
2531
|
+
# @return [Types::DescribeTopicReassignmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2532
|
+
#
|
|
2533
|
+
# * {Types::DescribeTopicReassignmentResponse#cluster_arn #cluster_arn} => String
|
|
2534
|
+
# * {Types::DescribeTopicReassignmentResponse#completed_topics #completed_topics} => Integer
|
|
2535
|
+
# * {Types::DescribeTopicReassignmentResponse#creation_time #creation_time} => Time
|
|
2536
|
+
# * {Types::DescribeTopicReassignmentResponse#error_info #error_info} => Types::ErrorInfo
|
|
2537
|
+
# * {Types::DescribeTopicReassignmentResponse#last_update_time #last_update_time} => Time
|
|
2538
|
+
# * {Types::DescribeTopicReassignmentResponse#migrated_partitions #migrated_partitions} => Integer
|
|
2539
|
+
# * {Types::DescribeTopicReassignmentResponse#status #status} => String
|
|
2540
|
+
# * {Types::DescribeTopicReassignmentResponse#target_instance_type #target_instance_type} => String
|
|
2541
|
+
# * {Types::DescribeTopicReassignmentResponse#topic_reassignment_operation_arn #topic_reassignment_operation_arn} => String
|
|
2542
|
+
# * {Types::DescribeTopicReassignmentResponse#topics_to_exclude #topics_to_exclude} => Array<String>
|
|
2543
|
+
# * {Types::DescribeTopicReassignmentResponse#topics_to_include #topics_to_include} => Array<String>
|
|
2544
|
+
# * {Types::DescribeTopicReassignmentResponse#total_partitions #total_partitions} => Integer
|
|
2545
|
+
# * {Types::DescribeTopicReassignmentResponse#total_topics #total_topics} => Integer
|
|
2546
|
+
#
|
|
2547
|
+
# @example Request syntax with placeholder values
|
|
2548
|
+
#
|
|
2549
|
+
# resp = client.describe_topic_reassignment({
|
|
2550
|
+
# cluster_arn: "__string", # required
|
|
2551
|
+
# topic_reassignment_operation_arn: "__string", # required
|
|
2552
|
+
# })
|
|
2553
|
+
#
|
|
2554
|
+
# @example Response structure
|
|
2555
|
+
#
|
|
2556
|
+
# resp.cluster_arn #=> String
|
|
2557
|
+
# resp.completed_topics #=> Integer
|
|
2558
|
+
# resp.creation_time #=> Time
|
|
2559
|
+
# resp.error_info.error_code #=> String
|
|
2560
|
+
# resp.error_info.error_string #=> String
|
|
2561
|
+
# resp.last_update_time #=> Time
|
|
2562
|
+
# resp.migrated_partitions #=> Integer
|
|
2563
|
+
# resp.status #=> String, one of "PENDING", "IN_PROGRESS", "STOPPING", "COMPLETE", "FAILED", "STOPPED"
|
|
2564
|
+
# resp.target_instance_type #=> String
|
|
2565
|
+
# resp.topic_reassignment_operation_arn #=> String
|
|
2566
|
+
# resp.topics_to_exclude #=> Array
|
|
2567
|
+
# resp.topics_to_exclude[0] #=> String
|
|
2568
|
+
# resp.topics_to_include #=> Array
|
|
2569
|
+
# resp.topics_to_include[0] #=> String
|
|
2570
|
+
# resp.total_partitions #=> Integer
|
|
2571
|
+
# resp.total_topics #=> Integer
|
|
2572
|
+
#
|
|
2573
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeTopicReassignment AWS API Documentation
|
|
2574
|
+
#
|
|
2575
|
+
# @overload describe_topic_reassignment(params = {})
|
|
2576
|
+
# @param [Hash] params ({})
|
|
2577
|
+
def describe_topic_reassignment(params = {}, options = {})
|
|
2578
|
+
req = build_request(:describe_topic_reassignment, params)
|
|
2579
|
+
req.send_request(options)
|
|
2580
|
+
end
|
|
2581
|
+
|
|
2371
2582
|
# Displays information about the specified Amazon MSK VPC connection.
|
|
2372
2583
|
#
|
|
2373
2584
|
# @option params [required, String] :arn
|
|
@@ -2540,6 +2751,119 @@ module Aws::Kafka
|
|
|
2540
2751
|
req.send_request(options)
|
|
2541
2752
|
end
|
|
2542
2753
|
|
|
2754
|
+
# Returns the findings for a completed assessment. Paginated.
|
|
2755
|
+
#
|
|
2756
|
+
# @option params [required, String] :assessment_arn
|
|
2757
|
+
# The Amazon Resource Name (ARN) of the assessment.
|
|
2758
|
+
#
|
|
2759
|
+
# @option params [String] :category
|
|
2760
|
+
# Optional filter. Only return findings matching this category.
|
|
2761
|
+
#
|
|
2762
|
+
# @option params [required, String] :cluster_arn
|
|
2763
|
+
# The Amazon Resource Name (ARN) of the cluster.
|
|
2764
|
+
#
|
|
2765
|
+
# @option params [Integer] :max_results
|
|
2766
|
+
# Maximum number of findings to return. Default 100, maximum 500.
|
|
2767
|
+
#
|
|
2768
|
+
# @option params [String] :next_token
|
|
2769
|
+
# If the response is truncated, it returns a nextToken. Send this in the
|
|
2770
|
+
# subsequent request to get the remaining results.
|
|
2771
|
+
#
|
|
2772
|
+
# @option params [String] :severity
|
|
2773
|
+
# Optional filter. Only return findings matching this severity.
|
|
2774
|
+
#
|
|
2775
|
+
# @return [Types::ListAssessmentFindingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2776
|
+
#
|
|
2777
|
+
# * {Types::ListAssessmentFindingsResponse#findings #findings} => Array<Types::AssessmentFinding>
|
|
2778
|
+
# * {Types::ListAssessmentFindingsResponse#next_token #next_token} => String
|
|
2779
|
+
#
|
|
2780
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
2781
|
+
#
|
|
2782
|
+
# @example Request syntax with placeholder values
|
|
2783
|
+
#
|
|
2784
|
+
# resp = client.list_assessment_findings({
|
|
2785
|
+
# assessment_arn: "__string", # required
|
|
2786
|
+
# category: "__string",
|
|
2787
|
+
# cluster_arn: "__string", # required
|
|
2788
|
+
# max_results: 1,
|
|
2789
|
+
# next_token: "__string",
|
|
2790
|
+
# severity: "__string",
|
|
2791
|
+
# })
|
|
2792
|
+
#
|
|
2793
|
+
# @example Response structure
|
|
2794
|
+
#
|
|
2795
|
+
# resp.findings #=> Array
|
|
2796
|
+
# resp.findings[0].category #=> String, one of "INFRASTRUCTURE", "BROKER_CONFIGURATION", "TOPIC_CONFIGURATION", "CAPACITY", "HEALTH"
|
|
2797
|
+
# resp.findings[0].finding_id #=> String
|
|
2798
|
+
# resp.findings[0].message #=> String
|
|
2799
|
+
# resp.findings[0].remediation.action #=> String
|
|
2800
|
+
# resp.findings[0].remediation.documentation_url #=> String
|
|
2801
|
+
# resp.findings[0].resource #=> String
|
|
2802
|
+
# resp.findings[0].severity #=> String, one of "ERROR", "WARNING", "INFO"
|
|
2803
|
+
# resp.next_token #=> String
|
|
2804
|
+
#
|
|
2805
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListAssessmentFindings AWS API Documentation
|
|
2806
|
+
#
|
|
2807
|
+
# @overload list_assessment_findings(params = {})
|
|
2808
|
+
# @param [Hash] params ({})
|
|
2809
|
+
def list_assessment_findings(params = {}, options = {})
|
|
2810
|
+
req = build_request(:list_assessment_findings, params)
|
|
2811
|
+
req.send_request(options)
|
|
2812
|
+
end
|
|
2813
|
+
|
|
2814
|
+
# Returns a list of assessments for the specified cluster. Optionally
|
|
2815
|
+
# filterable by assessment type.
|
|
2816
|
+
#
|
|
2817
|
+
# @option params [String] :assessment_type
|
|
2818
|
+
# Optional filter. The type of assessment to filter by.
|
|
2819
|
+
#
|
|
2820
|
+
# @option params [required, String] :cluster_arn
|
|
2821
|
+
# The Amazon Resource Name (ARN) of the cluster to list assessments for.
|
|
2822
|
+
#
|
|
2823
|
+
# @option params [Integer] :max_results
|
|
2824
|
+
# Maximum number of assessments to return. Default 25, maximum 100.
|
|
2825
|
+
#
|
|
2826
|
+
# @option params [String] :next_token
|
|
2827
|
+
# If the response is truncated, it returns a nextToken. Send this in the
|
|
2828
|
+
# subsequent request to get the remaining results.
|
|
2829
|
+
#
|
|
2830
|
+
# @return [Types::ListAssessmentsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2831
|
+
#
|
|
2832
|
+
# * {Types::ListAssessmentsResponse#assessments #assessments} => Array<Types::AssessmentInfo>
|
|
2833
|
+
# * {Types::ListAssessmentsResponse#next_token #next_token} => String
|
|
2834
|
+
#
|
|
2835
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
2836
|
+
#
|
|
2837
|
+
# @example Request syntax with placeholder values
|
|
2838
|
+
#
|
|
2839
|
+
# resp = client.list_assessments({
|
|
2840
|
+
# assessment_type: "__string",
|
|
2841
|
+
# cluster_arn: "__string", # required
|
|
2842
|
+
# max_results: 1,
|
|
2843
|
+
# next_token: "__string",
|
|
2844
|
+
# })
|
|
2845
|
+
#
|
|
2846
|
+
# @example Response structure
|
|
2847
|
+
#
|
|
2848
|
+
# resp.assessments #=> Array
|
|
2849
|
+
# resp.assessments[0].assessment_arn #=> String
|
|
2850
|
+
# resp.assessments[0].assessment_type #=> String, one of "UPDATE_BROKER_TYPE"
|
|
2851
|
+
# resp.assessments[0].cluster_arn #=> String
|
|
2852
|
+
# resp.assessments[0].creation_time #=> Time
|
|
2853
|
+
# resp.assessments[0].status #=> String, one of "IN_PROGRESS", "COMPLETE", "FAILED", "DELETING"
|
|
2854
|
+
# resp.assessments[0].tags #=> Hash
|
|
2855
|
+
# resp.assessments[0].tags["__string"] #=> String
|
|
2856
|
+
# resp.next_token #=> String
|
|
2857
|
+
#
|
|
2858
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListAssessments AWS API Documentation
|
|
2859
|
+
#
|
|
2860
|
+
# @overload list_assessments(params = {})
|
|
2861
|
+
# @param [Hash] params ({})
|
|
2862
|
+
def list_assessments(params = {}, options = {})
|
|
2863
|
+
req = build_request(:list_assessments, params)
|
|
2864
|
+
req.send_request(options)
|
|
2865
|
+
end
|
|
2866
|
+
|
|
2543
2867
|
# Returns the list of channels in a cluster.
|
|
2544
2868
|
#
|
|
2545
2869
|
# @option params [required, String] :cluster_arn
|
|
@@ -2618,6 +2942,8 @@ module Aws::Kafka
|
|
|
2618
2942
|
# @example Response structure
|
|
2619
2943
|
#
|
|
2620
2944
|
# resp.cluster_operation_info_list #=> Array
|
|
2945
|
+
# resp.cluster_operation_info_list[0].broker_type_upgrade_info.topic_reassignment_mode #=> String, one of "AUTO", "MANUAL"
|
|
2946
|
+
# resp.cluster_operation_info_list[0].broker_type_upgrade_info.topic_reassignment_operation_arn #=> String
|
|
2621
2947
|
# resp.cluster_operation_info_list[0].client_request_id #=> String
|
|
2622
2948
|
# resp.cluster_operation_info_list[0].cluster_arn #=> String
|
|
2623
2949
|
# resp.cluster_operation_info_list[0].creation_time #=> Time
|
|
@@ -3152,6 +3478,7 @@ module Aws::Kafka
|
|
|
3152
3478
|
# resp.node_info_list[0].added_to_cluster_time #=> String
|
|
3153
3479
|
# resp.node_info_list[0].broker_node_info.attached_eni_id #=> String
|
|
3154
3480
|
# resp.node_info_list[0].broker_node_info.broker_id #=> Float
|
|
3481
|
+
# resp.node_info_list[0].broker_node_info.broker_node_type #=> String, one of "STANDARD", "EXPRESS"
|
|
3155
3482
|
# resp.node_info_list[0].broker_node_info.client_subnet #=> String
|
|
3156
3483
|
# resp.node_info_list[0].broker_node_info.client_vpc_ip_address #=> String
|
|
3157
3484
|
# resp.node_info_list[0].broker_node_info.current_broker_software_info.configuration_arn #=> String
|
|
@@ -3341,6 +3668,58 @@ module Aws::Kafka
|
|
|
3341
3668
|
req.send_request(options)
|
|
3342
3669
|
end
|
|
3343
3670
|
|
|
3671
|
+
# Lists topic reassignment operations for a cluster.
|
|
3672
|
+
#
|
|
3673
|
+
# @option params [required, String] :cluster_arn
|
|
3674
|
+
# The Amazon Resource Name (ARN) of the cluster.
|
|
3675
|
+
#
|
|
3676
|
+
# @option params [Integer] :max_results
|
|
3677
|
+
# Maximum number of reassignment operations to return. Default 50,
|
|
3678
|
+
# maximum 100.
|
|
3679
|
+
#
|
|
3680
|
+
# @option params [String] :next_token
|
|
3681
|
+
# If the response is truncated, it returns a nextToken. Send this in the
|
|
3682
|
+
# subsequent request to get the remaining results.
|
|
3683
|
+
#
|
|
3684
|
+
# @option params [String] :status_filter
|
|
3685
|
+
# Optional filter. Only return reassignments matching these statuses.
|
|
3686
|
+
#
|
|
3687
|
+
# @return [Types::ListTopicReassignmentsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3688
|
+
#
|
|
3689
|
+
# * {Types::ListTopicReassignmentsResponse#next_token #next_token} => String
|
|
3690
|
+
# * {Types::ListTopicReassignmentsResponse#reassignments #reassignments} => Array<Types::TopicReassignmentInfo>
|
|
3691
|
+
#
|
|
3692
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
3693
|
+
#
|
|
3694
|
+
# @example Request syntax with placeholder values
|
|
3695
|
+
#
|
|
3696
|
+
# resp = client.list_topic_reassignments({
|
|
3697
|
+
# cluster_arn: "__string", # required
|
|
3698
|
+
# max_results: 1,
|
|
3699
|
+
# next_token: "__string",
|
|
3700
|
+
# status_filter: "__string",
|
|
3701
|
+
# })
|
|
3702
|
+
#
|
|
3703
|
+
# @example Response structure
|
|
3704
|
+
#
|
|
3705
|
+
# resp.next_token #=> String
|
|
3706
|
+
# resp.reassignments #=> Array
|
|
3707
|
+
# resp.reassignments[0].completed_topics #=> Integer
|
|
3708
|
+
# resp.reassignments[0].creation_time #=> Time
|
|
3709
|
+
# resp.reassignments[0].status #=> String, one of "PENDING", "IN_PROGRESS", "STOPPING", "COMPLETE", "FAILED", "STOPPED"
|
|
3710
|
+
# resp.reassignments[0].target_instance_type #=> String
|
|
3711
|
+
# resp.reassignments[0].topic_reassignment_operation_arn #=> String
|
|
3712
|
+
# resp.reassignments[0].total_topics #=> Integer
|
|
3713
|
+
#
|
|
3714
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListTopicReassignments AWS API Documentation
|
|
3715
|
+
#
|
|
3716
|
+
# @overload list_topic_reassignments(params = {})
|
|
3717
|
+
# @param [Hash] params ({})
|
|
3718
|
+
def list_topic_reassignments(params = {}, options = {})
|
|
3719
|
+
req = build_request(:list_topic_reassignments, params)
|
|
3720
|
+
req.send_request(options)
|
|
3721
|
+
end
|
|
3722
|
+
|
|
3344
3723
|
# Displays a list of Amazon MSK VPC connections.
|
|
3345
3724
|
#
|
|
3346
3725
|
# @option params [Integer] :max_results
|
|
@@ -3415,6 +3794,8 @@ module Aws::Kafka
|
|
|
3415
3794
|
# resp.topics[0].replication_factor #=> Integer
|
|
3416
3795
|
# resp.topics[0].partition_count #=> Integer
|
|
3417
3796
|
# resp.topics[0].out_of_sync_replica_count #=> Integer
|
|
3797
|
+
# resp.topics[0].replica_ids #=> Array
|
|
3798
|
+
# resp.topics[0].replica_ids[0] #=> Integer
|
|
3418
3799
|
# resp.next_token #=> String
|
|
3419
3800
|
#
|
|
3420
3801
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListTopics AWS API Documentation
|
|
@@ -3566,6 +3947,98 @@ module Aws::Kafka
|
|
|
3566
3947
|
req.send_request(options)
|
|
3567
3948
|
end
|
|
3568
3949
|
|
|
3950
|
+
# Initiates topic partition reassignment between broker types in a
|
|
3951
|
+
# mixed-mode cluster.
|
|
3952
|
+
#
|
|
3953
|
+
# @option params [String] :client_token
|
|
3954
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
|
3955
|
+
# idempotency of the request. If you retry a request with the same
|
|
3956
|
+
# client token within 24 hours, the API returns the original response
|
|
3957
|
+
# without creating a duplicate operation.
|
|
3958
|
+
#
|
|
3959
|
+
# @option params [required, String] :cluster_arn
|
|
3960
|
+
# The Amazon Resource Name (ARN) of the cluster.
|
|
3961
|
+
#
|
|
3962
|
+
# @option params [required, String] :target_instance_type
|
|
3963
|
+
# Instance type of the target brokers. Must exist in the cluster. Use
|
|
3964
|
+
# Express instance type (e.g., express.m7g.large) for
|
|
3965
|
+
# Standard-to-Express migration. Use Standard instance type (e.g.,
|
|
3966
|
+
# kafka.m7g.large) to move topics back to Standard.
|
|
3967
|
+
#
|
|
3968
|
+
# @option params [Array<String>] :topics_to_exclude
|
|
3969
|
+
# Regex patterns for topics to exclude from reassignment. Evaluated
|
|
3970
|
+
# after include patterns.
|
|
3971
|
+
#
|
|
3972
|
+
# @option params [required, Array<String>] :topics_to_include
|
|
3973
|
+
# Regex patterns for topics to reassign. Use \['.*'\] for all topics.
|
|
3974
|
+
# Max 10 patterns.
|
|
3975
|
+
#
|
|
3976
|
+
# @return [Types::StartTopicReassignmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3977
|
+
#
|
|
3978
|
+
# * {Types::StartTopicReassignmentResponse#cluster_arn #cluster_arn} => String
|
|
3979
|
+
# * {Types::StartTopicReassignmentResponse#status #status} => String
|
|
3980
|
+
# * {Types::StartTopicReassignmentResponse#topic_reassignment_operation_arn #topic_reassignment_operation_arn} => String
|
|
3981
|
+
#
|
|
3982
|
+
# @example Request syntax with placeholder values
|
|
3983
|
+
#
|
|
3984
|
+
# resp = client.start_topic_reassignment({
|
|
3985
|
+
# client_token: "__stringMin1Max64",
|
|
3986
|
+
# cluster_arn: "__string", # required
|
|
3987
|
+
# target_instance_type: "__stringMin1Max256", # required
|
|
3988
|
+
# topics_to_exclude: ["__stringMin1Max256"],
|
|
3989
|
+
# topics_to_include: ["__stringMin1Max256"], # required
|
|
3990
|
+
# })
|
|
3991
|
+
#
|
|
3992
|
+
# @example Response structure
|
|
3993
|
+
#
|
|
3994
|
+
# resp.cluster_arn #=> String
|
|
3995
|
+
# resp.status #=> String, one of "PENDING", "IN_PROGRESS", "STOPPING", "COMPLETE", "FAILED", "STOPPED"
|
|
3996
|
+
# resp.topic_reassignment_operation_arn #=> String
|
|
3997
|
+
#
|
|
3998
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/StartTopicReassignment AWS API Documentation
|
|
3999
|
+
#
|
|
4000
|
+
# @overload start_topic_reassignment(params = {})
|
|
4001
|
+
# @param [Hash] params ({})
|
|
4002
|
+
def start_topic_reassignment(params = {}, options = {})
|
|
4003
|
+
req = build_request(:start_topic_reassignment, params)
|
|
4004
|
+
req.send_request(options)
|
|
4005
|
+
end
|
|
4006
|
+
|
|
4007
|
+
# Stops an active topic reassignment operation.
|
|
4008
|
+
#
|
|
4009
|
+
# @option params [required, String] :cluster_arn
|
|
4010
|
+
# The Amazon Resource Name (ARN) of the cluster.
|
|
4011
|
+
#
|
|
4012
|
+
# @option params [required, String] :topic_reassignment_operation_arn
|
|
4013
|
+
# The Amazon Resource Name (ARN) of the topic reassignment operation to
|
|
4014
|
+
# stop.
|
|
4015
|
+
#
|
|
4016
|
+
# @return [Types::StopTopicReassignmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
4017
|
+
#
|
|
4018
|
+
# * {Types::StopTopicReassignmentResponse#status #status} => String
|
|
4019
|
+
# * {Types::StopTopicReassignmentResponse#topic_reassignment_operation_arn #topic_reassignment_operation_arn} => String
|
|
4020
|
+
#
|
|
4021
|
+
# @example Request syntax with placeholder values
|
|
4022
|
+
#
|
|
4023
|
+
# resp = client.stop_topic_reassignment({
|
|
4024
|
+
# cluster_arn: "__string", # required
|
|
4025
|
+
# topic_reassignment_operation_arn: "__string", # required
|
|
4026
|
+
# })
|
|
4027
|
+
#
|
|
4028
|
+
# @example Response structure
|
|
4029
|
+
#
|
|
4030
|
+
# resp.status #=> String, one of "PENDING", "IN_PROGRESS", "STOPPING", "COMPLETE", "FAILED", "STOPPED"
|
|
4031
|
+
# resp.topic_reassignment_operation_arn #=> String
|
|
4032
|
+
#
|
|
4033
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/StopTopicReassignment AWS API Documentation
|
|
4034
|
+
#
|
|
4035
|
+
# @overload stop_topic_reassignment(params = {})
|
|
4036
|
+
# @param [Hash] params ({})
|
|
4037
|
+
def stop_topic_reassignment(params = {}, options = {})
|
|
4038
|
+
req = build_request(:stop_topic_reassignment, params)
|
|
4039
|
+
req.send_request(options)
|
|
4040
|
+
end
|
|
4041
|
+
|
|
3569
4042
|
# Adds tags to the specified MSK resource.
|
|
3570
4043
|
#
|
|
3571
4044
|
# @option params [required, String] :resource_arn
|
|
@@ -3666,8 +4139,19 @@ module Aws::Kafka
|
|
|
3666
4139
|
# The current version of the cluster.
|
|
3667
4140
|
#
|
|
3668
4141
|
# @option params [required, String] :target_instance_type
|
|
3669
|
-
# The
|
|
3670
|
-
#
|
|
4142
|
+
# The type of Amazon EC2 instances to use for Kafka brokers. For
|
|
4143
|
+
# in-place upgrades to Express, use the composite format to initiate
|
|
4144
|
+
# mixed mode, the Express instance type to complete the upgrade, or the
|
|
4145
|
+
# Standard instance type to rollback.
|
|
4146
|
+
#
|
|
4147
|
+
# @option params [String] :topic_reassignment
|
|
4148
|
+
# Controls automatic topic reassignment when entering mixed broker mode.
|
|
4149
|
+
# When set to AUTO, MSK automatically reassigns all topics to the target
|
|
4150
|
+
# broker type after adding new brokers. When set to MANUAL (default),
|
|
4151
|
+
# customers manage topic reassignment using the StartTopicReassignment
|
|
4152
|
+
# API. Only valid when targetInstanceType is a composite mixed-mode
|
|
4153
|
+
# value. Must be set to MANUAL before completing the upgrade or rolling
|
|
4154
|
+
# back.
|
|
3671
4155
|
#
|
|
3672
4156
|
# @return [Types::UpdateBrokerTypeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3673
4157
|
#
|
|
@@ -3680,6 +4164,7 @@ module Aws::Kafka
|
|
|
3680
4164
|
# cluster_arn: "__string", # required
|
|
3681
4165
|
# current_version: "__string", # required
|
|
3682
4166
|
# target_instance_type: "__string", # required
|
|
4167
|
+
# topic_reassignment: "AUTO", # accepts AUTO, MANUAL
|
|
3683
4168
|
# })
|
|
3684
4169
|
#
|
|
3685
4170
|
# @example Response structure
|
|
@@ -4384,7 +4869,7 @@ module Aws::Kafka
|
|
|
4384
4869
|
tracer: tracer
|
|
4385
4870
|
)
|
|
4386
4871
|
context[:gem_name] = 'aws-sdk-kafka'
|
|
4387
|
-
context[:gem_version] = '1.
|
|
4872
|
+
context[:gem_version] = '1.134.0'
|
|
4388
4873
|
Seahorse::Client::Request.new(handlers, context)
|
|
4389
4874
|
end
|
|
4390
4875
|
|