aws-sdk-prometheusservice 1.83.0 → 1.85.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cc97c240f7f40cceaf9217847d25bfcd0b5980943d8e1056eb6468c760c9eb51
4
- data.tar.gz: 654fc3ff8a7c7549f1c3fa4e6436a00ebc3a8f3331f30831dabafc3676890da9
3
+ metadata.gz: 5fb8faf2001b56e3a4b6d81963de600bd38a001fc3414b217c62b0a2ddf23db6
4
+ data.tar.gz: edd93b91ddf7ea3cfe71dec1b46d43a3c3e0f9218420cbaa66757cf7d1f160fa
5
5
  SHA512:
6
- metadata.gz: ed8a3e98999f1dc77bc84e174da830002ebe0c22f8fd1acf837493ae6eee3c62ede2bf8951bcaa0f16e2607a3974a10da4ad44119149597f06e0c142bd23b703
7
- data.tar.gz: d4c718043f3b51819bba68af58bd04be82246be104db7587b98c3a3e66ed5c409ede1473a9c4fe883f68e1ffa6f9188abd4c61a384f226130083ec825e5dbb29
6
+ metadata.gz: 72ae514be24ba50b310f79ba80e74eff445c50e20f5564a0ca49eab81c0fb808648a5025ca8f05337c8e1edea0414c674eb3ae2f14b9743d875643409c80e060
7
+ data.tar.gz: 7ac002c7ac41d335e5c61bcb2660d1757fca62e50d362bd4e13de849cde5bd9d47198466b75d6f092a01388b3e8b681a5e6ddc8c96f6a3d84121106a64a70295
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.85.0 (2026-10-30)
5
+ ------------------
6
+
7
+ * Feature - Managed Prometheus collectors now support Amazon MSK consumer-group metrics for Amazon Managed Service for Prometheus and CloudWatch.
8
+
9
+ 1.84.0 (2026-10-29)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.83.0 (2026-10-28)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.83.0
1
+ 1.85.0
@@ -824,7 +824,9 @@ module Aws::PrometheusService
824
824
  # configure this role with a policy that allows it to scrape metrics
825
825
  # from your source. For Amazon EKS sources, see [Configuring your Amazon
826
826
  # EKS cluster][1] in the *Amazon Managed Service for Prometheus User
827
- # Guide*.
827
+ # Guide*. For a Kafka exporter, grant this role access with a cluster
828
+ # policy on the Amazon MSK cluster instead. For details, see
829
+ # `KafkaExporterConfiguration`.
828
830
  #
829
831
  # The `scrapeConfiguration` parameter contains the base-64 encoded YAML
830
832
  # configuration for the scraper.
@@ -885,8 +887,9 @@ module Aws::PrometheusService
885
887
  #
886
888
  # @option params [Array<Types::ExporterConfiguration>] :exporters
887
889
  # The exporter configurations for the scraper. You can configure at most
888
- # one Amazon OpenSearch Service domain. If you don't specify a value,
889
- # the scraper is created without an exporter configuration.
890
+ # one exporter, for either an Amazon OpenSearch Service domain or an
891
+ # Amazon MSK cluster. If you don't specify a value, the scraper is
892
+ # created without an exporter configuration.
890
893
  #
891
894
  # @return [Types::CreateScraperResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
892
895
  #
@@ -1016,6 +1019,11 @@ module Aws::PrometheusService
1016
1019
  # open_search_configuration: {
1017
1020
  # domain_arn: "OpenSearchDomainArn", # required
1018
1021
  # },
1022
+ # kafka_configuration: {
1023
+ # cluster_arn: "MskClusterArn", # required
1024
+ # topic_filter: "KafkaExporterFilter",
1025
+ # consumer_group_filter: "KafkaExporterFilter",
1026
+ # },
1019
1027
  # },
1020
1028
  # ],
1021
1029
  # })
@@ -1762,6 +1770,9 @@ module Aws::PrometheusService
1762
1770
  # resp.scraper.role_configuration.target_role_arn #=> String
1763
1771
  # resp.scraper.exporters #=> Array
1764
1772
  # resp.scraper.exporters[0].open_search_configuration.domain_arn #=> String
1773
+ # resp.scraper.exporters[0].kafka_configuration.cluster_arn #=> String
1774
+ # resp.scraper.exporters[0].kafka_configuration.topic_filter #=> String
1775
+ # resp.scraper.exporters[0].kafka_configuration.consumer_group_filter #=> String
1765
1776
  #
1766
1777
  #
1767
1778
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -2257,6 +2268,9 @@ module Aws::PrometheusService
2257
2268
  # resp.scrapers[0].role_configuration.target_role_arn #=> String
2258
2269
  # resp.scrapers[0].exporters #=> Array
2259
2270
  # resp.scrapers[0].exporters[0].open_search_configuration.domain_arn #=> String
2271
+ # resp.scrapers[0].exporters[0].kafka_configuration.cluster_arn #=> String
2272
+ # resp.scrapers[0].exporters[0].kafka_configuration.topic_filter #=> String
2273
+ # resp.scrapers[0].exporters[0].kafka_configuration.consumer_group_filter #=> String
2260
2274
  # resp.next_token #=> String
2261
2275
  #
2262
2276
  # @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/ListScrapers AWS API Documentation
@@ -2869,8 +2883,10 @@ module Aws::PrometheusService
2869
2883
  #
2870
2884
  # @option params [Array<Types::ExporterConfiguration>] :exporters
2871
2885
  # The exporter configurations for the scraper. You can configure at most
2872
- # one Amazon OpenSearch Service domain. If you don't specify a value,
2873
- # the existing exporter configuration remains unchanged.
2886
+ # one exporter, for either an Amazon OpenSearch Service domain or an
2887
+ # Amazon MSK cluster. If you don't specify a value, the existing
2888
+ # exporter configuration remains unchanged. Specify an empty list to
2889
+ # remove the exporter.
2874
2890
  #
2875
2891
  # @return [Types::UpdateScraperResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2876
2892
  #
@@ -2934,6 +2950,11 @@ module Aws::PrometheusService
2934
2950
  # open_search_configuration: {
2935
2951
  # domain_arn: "OpenSearchDomainArn", # required
2936
2952
  # },
2953
+ # kafka_configuration: {
2954
+ # cluster_arn: "MskClusterArn", # required
2955
+ # topic_filter: "KafkaExporterFilter",
2956
+ # consumer_group_filter: "KafkaExporterFilter",
2957
+ # },
2937
2958
  # },
2938
2959
  # ],
2939
2960
  # })
@@ -3139,7 +3160,7 @@ module Aws::PrometheusService
3139
3160
  tracer: tracer
3140
3161
  )
3141
3162
  context[:gem_name] = 'aws-sdk-prometheusservice'
3142
- context[:gem_version] = '1.83.0'
3163
+ context[:gem_version] = '1.85.0'
3143
3164
  Seahorse::Client::Request.new(handlers, context)
3144
3165
  end
3145
3166
 
@@ -100,6 +100,8 @@ module Aws::PrometheusService
100
100
  IgnoreNearExpectedRatioDouble = Shapes::FloatShape.new(name: 'IgnoreNearExpectedRatioDouble')
101
101
  Integer = Shapes::IntegerShape.new(name: 'Integer')
102
102
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
103
+ KafkaExporterConfiguration = Shapes::StructureShape.new(name: 'KafkaExporterConfiguration')
104
+ KafkaExporterFilter = Shapes::StringShape.new(name: 'KafkaExporterFilter')
103
105
  KmsKeyArn = Shapes::StringShape.new(name: 'KmsKeyArn')
104
106
  LabelName = Shapes::StringShape.new(name: 'LabelName')
105
107
  LabelSet = Shapes::MapShape.new(name: 'LabelSet')
@@ -130,6 +132,7 @@ module Aws::PrometheusService
130
132
  LoggingDestinations = Shapes::ListShape.new(name: 'LoggingDestinations')
131
133
  LoggingFilter = Shapes::StructureShape.new(name: 'LoggingFilter')
132
134
  LoggingFilterQspThresholdLong = Shapes::IntegerShape.new(name: 'LoggingFilterQspThresholdLong')
135
+ MskClusterArn = Shapes::StringShape.new(name: 'MskClusterArn')
133
136
  OpenSearchDomainArn = Shapes::StringShape.new(name: 'OpenSearchDomainArn')
134
137
  OpenSearchExporterConfiguration = Shapes::StructureShape.new(name: 'OpenSearchExporterConfiguration')
135
138
  PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
@@ -514,8 +517,10 @@ module Aws::PrometheusService
514
517
  EksConfiguration.struct_class = Types::EksConfiguration
515
518
 
516
519
  ExporterConfiguration.add_member(:open_search_configuration, Shapes::ShapeRef.new(shape: OpenSearchExporterConfiguration, location_name: "openSearchConfiguration"))
520
+ ExporterConfiguration.add_member(:kafka_configuration, Shapes::ShapeRef.new(shape: KafkaExporterConfiguration, location_name: "kafkaConfiguration"))
517
521
  ExporterConfiguration.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
518
522
  ExporterConfiguration.add_member_subclass(:open_search_configuration, Types::ExporterConfiguration::OpenSearchConfiguration)
523
+ ExporterConfiguration.add_member_subclass(:kafka_configuration, Types::ExporterConfiguration::KafkaConfiguration)
519
524
  ExporterConfiguration.add_member_subclass(:unknown, Types::ExporterConfiguration::Unknown)
520
525
  ExporterConfiguration.struct_class = Types::ExporterConfiguration
521
526
 
@@ -540,6 +545,11 @@ module Aws::PrometheusService
540
545
  InternalServerException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: Integer, location: "header", location_name: "Retry-After"))
541
546
  InternalServerException.struct_class = Types::InternalServerException
542
547
 
548
+ KafkaExporterConfiguration.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: MskClusterArn, required: true, location_name: "clusterArn"))
549
+ KafkaExporterConfiguration.add_member(:topic_filter, Shapes::ShapeRef.new(shape: KafkaExporterFilter, location_name: "topicFilter"))
550
+ KafkaExporterConfiguration.add_member(:consumer_group_filter, Shapes::ShapeRef.new(shape: KafkaExporterFilter, location_name: "consumerGroupFilter"))
551
+ KafkaExporterConfiguration.struct_class = Types::KafkaExporterConfiguration
552
+
543
553
  LabelSet.key = Shapes::ShapeRef.new(shape: LabelName)
544
554
  LabelSet.value = Shapes::ShapeRef.new(shape: LabelValue)
545
555
 
@@ -697,8 +697,9 @@ module Aws::PrometheusService
697
697
  #
698
698
  # @!attribute [rw] exporters
699
699
  # The exporter configurations for the scraper. You can configure at
700
- # most one Amazon OpenSearch Service domain. If you don't specify a
701
- # value, the scraper is created without an exporter configuration.
700
+ # most one exporter, for either an Amazon OpenSearch Service domain or
701
+ # an Amazon MSK cluster. If you don't specify a value, the scraper is
702
+ # created without an exporter configuration.
702
703
  # @return [Array<Types::ExporterConfiguration>]
703
704
  #
704
705
  # @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/CreateScraperRequest AWS API Documentation
@@ -1445,16 +1446,23 @@ module Aws::PrometheusService
1445
1446
  # Amazon OpenSearch Service domain.
1446
1447
  # @return [Types::OpenSearchExporterConfiguration]
1447
1448
  #
1449
+ # @!attribute [rw] kafka_configuration
1450
+ # The configuration that the scraper uses to collect metrics from an
1451
+ # Amazon MSK cluster through a managed Kafka exporter.
1452
+ # @return [Types::KafkaExporterConfiguration]
1453
+ #
1448
1454
  # @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/ExporterConfiguration AWS API Documentation
1449
1455
  #
1450
1456
  class ExporterConfiguration < Struct.new(
1451
1457
  :open_search_configuration,
1458
+ :kafka_configuration,
1452
1459
  :unknown)
1453
1460
  SENSITIVE = []
1454
1461
  include Aws::Structure
1455
1462
  include Aws::Structure::Union
1456
1463
 
1457
1464
  class OpenSearchConfiguration < ExporterConfiguration; end
1465
+ class KafkaConfiguration < ExporterConfiguration; end
1458
1466
  class Unknown < ExporterConfiguration; end
1459
1467
  end
1460
1468
 
@@ -1537,6 +1545,55 @@ module Aws::PrometheusService
1537
1545
  include Aws::Structure
1538
1546
  end
1539
1547
 
1548
+ # The configuration for collecting broker, topic, and consumer-group
1549
+ # metrics from an Amazon MSK cluster through a managed Kafka exporter.
1550
+ # The cluster must be active, have IAM authentication enabled, and be in
1551
+ # the same account and Region as the scraper. Provisioned clusters with
1552
+ # Standard brokers are supported. MSK Serverless clusters are not
1553
+ # supported.
1554
+ #
1555
+ # Use a VPC source that can connect to the cluster's IAM bootstrap
1556
+ # brokers. The exporter authenticates with the scraper's service-linked
1557
+ # role. Metrics can be sent to an Amazon Managed Service for Prometheus
1558
+ # workspace or a CloudWatch dataset.
1559
+ #
1560
+ # You must have an Amazon MSK cluster policy that grants the scraper's
1561
+ # service-linked role access to the cluster. Without this policy, the
1562
+ # scraper collects no Kafka metrics. For the required actions and
1563
+ # example policies, see [Grant the scraper access to the cluster][1] in
1564
+ # the *Amazon Managed Service for Prometheus User Guide*.
1565
+ #
1566
+ #
1567
+ #
1568
+ # [1]: https://docs.aws.amazon.com/prometheus/latest/userguide/prom-msk-kafka-exporter.html#prom-msk-kafka-exporter-access
1569
+ #
1570
+ # @!attribute [rw] cluster_arn
1571
+ # The Amazon Resource Name (ARN) of the Amazon MSK cluster.
1572
+ # @return [String]
1573
+ #
1574
+ # @!attribute [rw] topic_filter
1575
+ # An anchored RE2 regular expression that selects the Kafka topics to
1576
+ # monitor. The expression must start with `^` and end with `$`. If
1577
+ # omitted, the default is `^.*$`, which selects all topics.
1578
+ # @return [String]
1579
+ #
1580
+ # @!attribute [rw] consumer_group_filter
1581
+ # An anchored RE2 regular expression that selects the Kafka consumer
1582
+ # groups to monitor. The expression must start with `^` and end with
1583
+ # `$`. If omitted, the default is `^.*$`, which selects all consumer
1584
+ # groups.
1585
+ # @return [String]
1586
+ #
1587
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/KafkaExporterConfiguration AWS API Documentation
1588
+ #
1589
+ class KafkaExporterConfiguration < Struct.new(
1590
+ :cluster_arn,
1591
+ :topic_filter,
1592
+ :consumer_group_filter)
1593
+ SENSITIVE = []
1594
+ include Aws::Structure
1595
+ end
1596
+
1540
1597
  # This structure defines one label set used to enforce active time
1541
1598
  # series limits for the workspace, and defines the limit for that label
1542
1599
  # set.
@@ -2619,8 +2676,8 @@ module Aws::PrometheusService
2619
2676
  #
2620
2677
  # @!attribute [rw] exporters
2621
2678
  # The exporter configurations for the scraper, if configured. The list
2622
- # contains at most one configuration for an Amazon OpenSearch Service
2623
- # domain.
2679
+ # contains at most one configuration, for either an Amazon OpenSearch
2680
+ # Service domain or an Amazon MSK cluster.
2624
2681
  # @return [Array<Types::ExporterConfiguration>]
2625
2682
  #
2626
2683
  # @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/ScraperDescription AWS API Documentation
@@ -2762,8 +2819,8 @@ module Aws::PrometheusService
2762
2819
  #
2763
2820
  # @!attribute [rw] exporters
2764
2821
  # The exporter configurations for the scraper, if configured. The list
2765
- # contains at most one configuration for an Amazon OpenSearch Service
2766
- # domain.
2822
+ # contains at most one configuration, for either an Amazon OpenSearch
2823
+ # Service domain or an Amazon MSK cluster.
2767
2824
  # @return [Array<Types::ExporterConfiguration>]
2768
2825
  #
2769
2826
  # @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/ScraperSummary AWS API Documentation
@@ -3087,8 +3144,10 @@ module Aws::PrometheusService
3087
3144
  #
3088
3145
  # @!attribute [rw] exporters
3089
3146
  # The exporter configurations for the scraper. You can configure at
3090
- # most one Amazon OpenSearch Service domain. If you don't specify a
3091
- # value, the existing exporter configuration remains unchanged.
3147
+ # most one exporter, for either an Amazon OpenSearch Service domain or
3148
+ # an Amazon MSK cluster. If you don't specify a value, the existing
3149
+ # exporter configuration remains unchanged. Specify an empty list to
3150
+ # remove the exporter.
3092
3151
  # @return [Array<Types::ExporterConfiguration>]
3093
3152
  #
3094
3153
  # @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/UpdateScraperRequest AWS API Documentation
@@ -55,7 +55,7 @@ module Aws::PrometheusService
55
55
  autoload :EndpointProvider, 'aws-sdk-prometheusservice/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-prometheusservice/endpoints'
57
57
 
58
- GEM_VERSION = '1.83.0'
58
+ GEM_VERSION = '1.85.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -189,11 +189,7 @@ module Aws
189
189
  ?client_token: ::String,
190
190
  ?tags: Hash[::String, ::String],
191
191
  ?exporters: Array[
192
- {
193
- open_search_configuration: {
194
- domain_arn: ::String
195
- }?
196
- }
192
+ Params::exporter_configuration
197
193
  ]
198
194
  ) -> _CreateScraperResponseSuccess
199
195
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateScraperResponseSuccess
@@ -598,11 +594,7 @@ module Aws
598
594
  },
599
595
  ?client_token: ::String,
600
596
  ?exporters: Array[
601
- {
602
- open_search_configuration: {
603
- domain_arn: ::String
604
- }?
605
- }
597
+ Params::exporter_configuration
606
598
  ]
607
599
  ) -> _UpdateScraperResponseSuccess
608
600
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateScraperResponseSuccess
data/sig/params.rbs CHANGED
@@ -44,6 +44,17 @@ module Aws
44
44
  }?
45
45
  }
46
46
 
47
+ type exporter_configuration = {
48
+ open_search_configuration: {
49
+ domain_arn: ::String
50
+ }?,
51
+ kafka_configuration: {
52
+ cluster_arn: ::String,
53
+ topic_filter: ::String?,
54
+ consumer_group_filter: ::String?
55
+ }?
56
+ }
57
+
47
58
  end
48
59
  end
49
60
  end
data/sig/types.rbs CHANGED
@@ -415,11 +415,14 @@ module Aws::PrometheusService
415
415
 
416
416
  class ExporterConfiguration
417
417
  attr_accessor open_search_configuration: Types::OpenSearchExporterConfiguration
418
+ attr_accessor kafka_configuration: Types::KafkaExporterConfiguration
418
419
  attr_accessor unknown: untyped
419
420
  SENSITIVE: []
420
421
 
421
422
  class OpenSearchConfiguration < ExporterConfiguration
422
423
  end
424
+ class KafkaConfiguration < ExporterConfiguration
425
+ end
423
426
  class Unknown < ExporterConfiguration
424
427
  end
425
428
  end
@@ -452,6 +455,13 @@ module Aws::PrometheusService
452
455
  SENSITIVE: []
453
456
  end
454
457
 
458
+ class KafkaExporterConfiguration
459
+ attr_accessor cluster_arn: ::String
460
+ attr_accessor topic_filter: ::String
461
+ attr_accessor consumer_group_filter: ::String
462
+ SENSITIVE: []
463
+ end
464
+
455
465
  class LimitsPerLabelSet
456
466
  attr_accessor limits: Types::LimitsPerLabelSetEntry
457
467
  attr_accessor label_set: ::Hash[::String, ::String]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-prometheusservice
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.83.0
4
+ version: 1.85.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -18,7 +18,7 @@ dependencies:
18
18
  version: '3'
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 3.262.0
21
+ version: 3.263.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,7 +28,7 @@ dependencies:
28
28
  version: '3'
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
- version: 3.262.0
31
+ version: 3.263.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement