aws-sdk-prometheusservice 1.76.0 → 1.77.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-prometheusservice/client.rb +29 -1
- data/lib/aws-sdk-prometheusservice/client_api.rb +19 -0
- data/lib/aws-sdk-prometheusservice/types.rb +72 -4
- data/lib/aws-sdk-prometheusservice.rb +1 -1
- data/sig/client.rbs +16 -2
- data/sig/types.rbs +20 -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: 5e5a7610bd85592d4f24caf243c05bf65683a23344b186ab56cdc93d98037dba
|
|
4
|
+
data.tar.gz: 9f8f9f867ba092c279f6067720b9a69b4708342b2cd93d041f481fc69bc7aefc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 697ab3f4b420e2775292434e429a5b7f59f0ed3755d43090fdc6af414415f0755bae704ecc493f3ea969b3836310c42c1240effc86930c6449a0222477adb498
|
|
7
|
+
data.tar.gz: d711c45ee01aa3a75db83650d17c0b6d03eb8f1fabacac3ced578003e8062f5ce2584123392721be7004bc3b9e7e5f702d07254ff0733ef9dcab24e1cbda4139
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.77.0 (2026-07-31)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Amazon Managed Service for Prometheus adds support for an Amazon OpenSearch Service exporter for managed collectors.
|
|
8
|
+
|
|
4
9
|
1.76.0 (2026-07-22)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.77.0
|
|
@@ -876,6 +876,11 @@ module Aws::PrometheusService
|
|
|
876
876
|
# (Optional) The list of tag keys and values to associate with the
|
|
877
877
|
# scraper.
|
|
878
878
|
#
|
|
879
|
+
# @option params [Array<Types::ExporterConfiguration>] :exporters
|
|
880
|
+
# The exporter configurations for the scraper. You can configure at most
|
|
881
|
+
# one Amazon OpenSearch Service domain. If you don't specify a value,
|
|
882
|
+
# the scraper is created without an exporter configuration.
|
|
883
|
+
#
|
|
879
884
|
# @return [Types::CreateScraperResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
880
885
|
#
|
|
881
886
|
# * {Types::CreateScraperResponse#scraper_id #scraper_id} => String
|
|
@@ -999,6 +1004,13 @@ module Aws::PrometheusService
|
|
|
999
1004
|
# tags: {
|
|
1000
1005
|
# "TagKey" => "TagValue",
|
|
1001
1006
|
# },
|
|
1007
|
+
# exporters: [
|
|
1008
|
+
# {
|
|
1009
|
+
# open_search_configuration: {
|
|
1010
|
+
# domain_arn: "OpenSearchDomainArn", # required
|
|
1011
|
+
# },
|
|
1012
|
+
# },
|
|
1013
|
+
# ],
|
|
1002
1014
|
# })
|
|
1003
1015
|
#
|
|
1004
1016
|
# @example Response structure
|
|
@@ -1741,6 +1753,8 @@ module Aws::PrometheusService
|
|
|
1741
1753
|
# resp.scraper.destination.cloud_watch_configuration.dataset_arn #=> String
|
|
1742
1754
|
# resp.scraper.role_configuration.source_role_arn #=> String
|
|
1743
1755
|
# resp.scraper.role_configuration.target_role_arn #=> String
|
|
1756
|
+
# resp.scraper.exporters #=> Array
|
|
1757
|
+
# resp.scraper.exporters[0].open_search_configuration.domain_arn #=> String
|
|
1744
1758
|
#
|
|
1745
1759
|
#
|
|
1746
1760
|
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
|
@@ -2234,6 +2248,8 @@ module Aws::PrometheusService
|
|
|
2234
2248
|
# resp.scrapers[0].destination.cloud_watch_configuration.dataset_arn #=> String
|
|
2235
2249
|
# resp.scrapers[0].role_configuration.source_role_arn #=> String
|
|
2236
2250
|
# resp.scrapers[0].role_configuration.target_role_arn #=> String
|
|
2251
|
+
# resp.scrapers[0].exporters #=> Array
|
|
2252
|
+
# resp.scrapers[0].exporters[0].open_search_configuration.domain_arn #=> String
|
|
2237
2253
|
# resp.next_token #=> String
|
|
2238
2254
|
#
|
|
2239
2255
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/ListScrapers AWS API Documentation
|
|
@@ -2844,6 +2860,11 @@ module Aws::PrometheusService
|
|
|
2844
2860
|
# **A suitable default value is auto-generated.** You should normally
|
|
2845
2861
|
# not need to pass this option.**
|
|
2846
2862
|
#
|
|
2863
|
+
# @option params [Array<Types::ExporterConfiguration>] :exporters
|
|
2864
|
+
# The exporter configurations for the scraper. You can configure at most
|
|
2865
|
+
# one Amazon OpenSearch Service domain. If you don't specify a value,
|
|
2866
|
+
# the existing exporter configuration remains unchanged.
|
|
2867
|
+
#
|
|
2847
2868
|
# @return [Types::UpdateScraperResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2848
2869
|
#
|
|
2849
2870
|
# * {Types::UpdateScraperResponse#scraper_id #scraper_id} => String
|
|
@@ -2901,6 +2922,13 @@ module Aws::PrometheusService
|
|
|
2901
2922
|
# target_role_arn: "IamRoleArn",
|
|
2902
2923
|
# },
|
|
2903
2924
|
# client_token: "IdempotencyToken",
|
|
2925
|
+
# exporters: [
|
|
2926
|
+
# {
|
|
2927
|
+
# open_search_configuration: {
|
|
2928
|
+
# domain_arn: "OpenSearchDomainArn", # required
|
|
2929
|
+
# },
|
|
2930
|
+
# },
|
|
2931
|
+
# ],
|
|
2904
2932
|
# })
|
|
2905
2933
|
#
|
|
2906
2934
|
# @example Response structure
|
|
@@ -3104,7 +3132,7 @@ module Aws::PrometheusService
|
|
|
3104
3132
|
tracer: tracer
|
|
3105
3133
|
)
|
|
3106
3134
|
context[:gem_name] = 'aws-sdk-prometheusservice'
|
|
3107
|
-
context[:gem_version] = '1.
|
|
3135
|
+
context[:gem_version] = '1.77.0'
|
|
3108
3136
|
Seahorse::Client::Request.new(handlers, context)
|
|
3109
3137
|
end
|
|
3110
3138
|
|
|
@@ -86,6 +86,8 @@ module Aws::PrometheusService
|
|
|
86
86
|
DescribeWorkspaceResponse = Shapes::StructureShape.new(name: 'DescribeWorkspaceResponse')
|
|
87
87
|
Destination = Shapes::UnionShape.new(name: 'Destination')
|
|
88
88
|
EksConfiguration = Shapes::StructureShape.new(name: 'EksConfiguration')
|
|
89
|
+
ExporterConfiguration = Shapes::UnionShape.new(name: 'ExporterConfiguration')
|
|
90
|
+
ExporterList = Shapes::ListShape.new(name: 'ExporterList')
|
|
89
91
|
FilterKey = Shapes::StringShape.new(name: 'FilterKey')
|
|
90
92
|
FilterValue = Shapes::StringShape.new(name: 'FilterValue')
|
|
91
93
|
FilterValues = Shapes::ListShape.new(name: 'FilterValues')
|
|
@@ -128,6 +130,8 @@ module Aws::PrometheusService
|
|
|
128
130
|
LoggingDestinations = Shapes::ListShape.new(name: 'LoggingDestinations')
|
|
129
131
|
LoggingFilter = Shapes::StructureShape.new(name: 'LoggingFilter')
|
|
130
132
|
LoggingFilterQspThresholdLong = Shapes::IntegerShape.new(name: 'LoggingFilterQspThresholdLong')
|
|
133
|
+
OpenSearchDomainArn = Shapes::StringShape.new(name: 'OpenSearchDomainArn')
|
|
134
|
+
OpenSearchExporterConfiguration = Shapes::StructureShape.new(name: 'OpenSearchExporterConfiguration')
|
|
131
135
|
PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
|
|
132
136
|
PrometheusMetricLabelKey = Shapes::StringShape.new(name: 'PrometheusMetricLabelKey')
|
|
133
137
|
PrometheusMetricLabelMap = Shapes::MapShape.new(name: 'PrometheusMetricLabelMap')
|
|
@@ -363,6 +367,7 @@ module Aws::PrometheusService
|
|
|
363
367
|
CreateScraperRequest.add_member(:role_configuration, Shapes::ShapeRef.new(shape: RoleConfiguration, location_name: "roleConfiguration"))
|
|
364
368
|
CreateScraperRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
365
369
|
CreateScraperRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
|
370
|
+
CreateScraperRequest.add_member(:exporters, Shapes::ShapeRef.new(shape: ExporterList, location_name: "exporters"))
|
|
366
371
|
CreateScraperRequest.struct_class = Types::CreateScraperRequest
|
|
367
372
|
|
|
368
373
|
CreateScraperResponse.add_member(:scraper_id, Shapes::ShapeRef.new(shape: ScraperId, required: true, location_name: "scraperId"))
|
|
@@ -508,6 +513,14 @@ module Aws::PrometheusService
|
|
|
508
513
|
EksConfiguration.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIds, required: true, location_name: "subnetIds"))
|
|
509
514
|
EksConfiguration.struct_class = Types::EksConfiguration
|
|
510
515
|
|
|
516
|
+
ExporterConfiguration.add_member(:open_search_configuration, Shapes::ShapeRef.new(shape: OpenSearchExporterConfiguration, location_name: "openSearchConfiguration"))
|
|
517
|
+
ExporterConfiguration.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
518
|
+
ExporterConfiguration.add_member_subclass(:open_search_configuration, Types::ExporterConfiguration::OpenSearchConfiguration)
|
|
519
|
+
ExporterConfiguration.add_member_subclass(:unknown, Types::ExporterConfiguration::Unknown)
|
|
520
|
+
ExporterConfiguration.struct_class = Types::ExporterConfiguration
|
|
521
|
+
|
|
522
|
+
ExporterList.member = Shapes::ShapeRef.new(shape: ExporterConfiguration)
|
|
523
|
+
|
|
511
524
|
FilterValues.member = Shapes::ShapeRef.new(shape: FilterValue)
|
|
512
525
|
|
|
513
526
|
GetDefaultScraperConfigurationRequest.struct_class = Types::GetDefaultScraperConfigurationRequest
|
|
@@ -603,6 +616,9 @@ module Aws::PrometheusService
|
|
|
603
616
|
LoggingFilter.add_member(:qsp_threshold, Shapes::ShapeRef.new(shape: LoggingFilterQspThresholdLong, required: true, location_name: "qspThreshold"))
|
|
604
617
|
LoggingFilter.struct_class = Types::LoggingFilter
|
|
605
618
|
|
|
619
|
+
OpenSearchExporterConfiguration.add_member(:domain_arn, Shapes::ShapeRef.new(shape: OpenSearchDomainArn, required: true, location_name: "domainArn"))
|
|
620
|
+
OpenSearchExporterConfiguration.struct_class = Types::OpenSearchExporterConfiguration
|
|
621
|
+
|
|
606
622
|
PrometheusMetricLabelMap.key = Shapes::ShapeRef.new(shape: PrometheusMetricLabelKey)
|
|
607
623
|
PrometheusMetricLabelMap.value = Shapes::ShapeRef.new(shape: PrometheusMetricLabelValue)
|
|
608
624
|
|
|
@@ -726,6 +742,7 @@ module Aws::PrometheusService
|
|
|
726
742
|
ScraperDescription.add_member(:source, Shapes::ShapeRef.new(shape: Source, required: true, location_name: "source"))
|
|
727
743
|
ScraperDescription.add_member(:destination, Shapes::ShapeRef.new(shape: Destination, required: true, location_name: "destination"))
|
|
728
744
|
ScraperDescription.add_member(:role_configuration, Shapes::ShapeRef.new(shape: RoleConfiguration, location_name: "roleConfiguration"))
|
|
745
|
+
ScraperDescription.add_member(:exporters, Shapes::ShapeRef.new(shape: ExporterList, location_name: "exporters"))
|
|
729
746
|
ScraperDescription.struct_class = Types::ScraperDescription
|
|
730
747
|
|
|
731
748
|
ScraperFilters.key = Shapes::ShapeRef.new(shape: FilterKey)
|
|
@@ -756,6 +773,7 @@ module Aws::PrometheusService
|
|
|
756
773
|
ScraperSummary.add_member(:source, Shapes::ShapeRef.new(shape: Source, required: true, location_name: "source"))
|
|
757
774
|
ScraperSummary.add_member(:destination, Shapes::ShapeRef.new(shape: Destination, required: true, location_name: "destination"))
|
|
758
775
|
ScraperSummary.add_member(:role_configuration, Shapes::ShapeRef.new(shape: RoleConfiguration, location_name: "roleConfiguration"))
|
|
776
|
+
ScraperSummary.add_member(:exporters, Shapes::ShapeRef.new(shape: ExporterList, location_name: "exporters"))
|
|
759
777
|
ScraperSummary.struct_class = Types::ScraperSummary
|
|
760
778
|
|
|
761
779
|
ScraperSummaryList.member = Shapes::ShapeRef.new(shape: ScraperSummary)
|
|
@@ -835,6 +853,7 @@ module Aws::PrometheusService
|
|
|
835
853
|
UpdateScraperRequest.add_member(:destination, Shapes::ShapeRef.new(shape: Destination, location_name: "destination"))
|
|
836
854
|
UpdateScraperRequest.add_member(:role_configuration, Shapes::ShapeRef.new(shape: RoleConfiguration, location_name: "roleConfiguration"))
|
|
837
855
|
UpdateScraperRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
856
|
+
UpdateScraperRequest.add_member(:exporters, Shapes::ShapeRef.new(shape: ExporterList, location_name: "exporters"))
|
|
838
857
|
UpdateScraperRequest.struct_class = Types::UpdateScraperRequest
|
|
839
858
|
|
|
840
859
|
UpdateScraperResponse.add_member(:scraper_id, Shapes::ShapeRef.new(shape: ScraperId, required: true, location_name: "scraperId"))
|
|
@@ -695,6 +695,12 @@ module Aws::PrometheusService
|
|
|
695
695
|
# scraper.
|
|
696
696
|
# @return [Hash<String,String>]
|
|
697
697
|
#
|
|
698
|
+
# @!attribute [rw] exporters
|
|
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.
|
|
702
|
+
# @return [Array<Types::ExporterConfiguration>]
|
|
703
|
+
#
|
|
698
704
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/CreateScraperRequest AWS API Documentation
|
|
699
705
|
#
|
|
700
706
|
class CreateScraperRequest < Struct.new(
|
|
@@ -704,7 +710,8 @@ module Aws::PrometheusService
|
|
|
704
710
|
:destination,
|
|
705
711
|
:role_configuration,
|
|
706
712
|
:client_token,
|
|
707
|
-
:tags
|
|
713
|
+
:tags,
|
|
714
|
+
:exporters)
|
|
708
715
|
SENSITIVE = []
|
|
709
716
|
include Aws::Structure
|
|
710
717
|
end
|
|
@@ -1427,6 +1434,30 @@ module Aws::PrometheusService
|
|
|
1427
1434
|
include Aws::Structure
|
|
1428
1435
|
end
|
|
1429
1436
|
|
|
1437
|
+
# Contains the configuration for an exporter managed by the scraper.
|
|
1438
|
+
#
|
|
1439
|
+
# @note ExporterConfiguration is a union - when making an API calls you must set exactly one of the members.
|
|
1440
|
+
#
|
|
1441
|
+
# @note ExporterConfiguration is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ExporterConfiguration corresponding to the set member.
|
|
1442
|
+
#
|
|
1443
|
+
# @!attribute [rw] open_search_configuration
|
|
1444
|
+
# The configuration that the scraper uses to export metrics to an
|
|
1445
|
+
# Amazon OpenSearch Service domain.
|
|
1446
|
+
# @return [Types::OpenSearchExporterConfiguration]
|
|
1447
|
+
#
|
|
1448
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/ExporterConfiguration AWS API Documentation
|
|
1449
|
+
#
|
|
1450
|
+
class ExporterConfiguration < Struct.new(
|
|
1451
|
+
:open_search_configuration,
|
|
1452
|
+
:unknown)
|
|
1453
|
+
SENSITIVE = []
|
|
1454
|
+
include Aws::Structure
|
|
1455
|
+
include Aws::Structure::Union
|
|
1456
|
+
|
|
1457
|
+
class OpenSearchConfiguration < ExporterConfiguration; end
|
|
1458
|
+
class Unknown < ExporterConfiguration; end
|
|
1459
|
+
end
|
|
1460
|
+
|
|
1430
1461
|
# Represents the input of a `GetDefaultScraperConfiguration` operation.
|
|
1431
1462
|
#
|
|
1432
1463
|
# @api private
|
|
@@ -1916,6 +1947,22 @@ module Aws::PrometheusService
|
|
|
1916
1947
|
include Aws::Structure
|
|
1917
1948
|
end
|
|
1918
1949
|
|
|
1950
|
+
# The configuration for exporting metrics to an Amazon OpenSearch
|
|
1951
|
+
# Service domain.
|
|
1952
|
+
#
|
|
1953
|
+
# @!attribute [rw] domain_arn
|
|
1954
|
+
# The Amazon Resource Name (ARN) of the Amazon OpenSearch Service
|
|
1955
|
+
# domain.
|
|
1956
|
+
# @return [String]
|
|
1957
|
+
#
|
|
1958
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/OpenSearchExporterConfiguration AWS API Documentation
|
|
1959
|
+
#
|
|
1960
|
+
class OpenSearchExporterConfiguration < Struct.new(
|
|
1961
|
+
:domain_arn)
|
|
1962
|
+
SENSITIVE = []
|
|
1963
|
+
include Aws::Structure
|
|
1964
|
+
end
|
|
1965
|
+
|
|
1919
1966
|
# Represents the input of a `PutAlertManagerDefinition` operation.
|
|
1920
1967
|
#
|
|
1921
1968
|
# @!attribute [rw] workspace_id
|
|
@@ -2570,6 +2617,12 @@ module Aws::PrometheusService
|
|
|
2570
2617
|
# cross-account scraping configuration.
|
|
2571
2618
|
# @return [Types::RoleConfiguration]
|
|
2572
2619
|
#
|
|
2620
|
+
# @!attribute [rw] exporters
|
|
2621
|
+
# The exporter configurations for the scraper, if configured. The list
|
|
2622
|
+
# contains at most one configuration for an Amazon OpenSearch Service
|
|
2623
|
+
# domain.
|
|
2624
|
+
# @return [Array<Types::ExporterConfiguration>]
|
|
2625
|
+
#
|
|
2573
2626
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/ScraperDescription AWS API Documentation
|
|
2574
2627
|
#
|
|
2575
2628
|
class ScraperDescription < Struct.new(
|
|
@@ -2585,7 +2638,8 @@ module Aws::PrometheusService
|
|
|
2585
2638
|
:scrape_configuration,
|
|
2586
2639
|
:source,
|
|
2587
2640
|
:destination,
|
|
2588
|
-
:role_configuration
|
|
2641
|
+
:role_configuration,
|
|
2642
|
+
:exporters)
|
|
2589
2643
|
SENSITIVE = []
|
|
2590
2644
|
include Aws::Structure
|
|
2591
2645
|
end
|
|
@@ -2706,6 +2760,12 @@ module Aws::PrometheusService
|
|
|
2706
2760
|
# cross-account scraping configuration.
|
|
2707
2761
|
# @return [Types::RoleConfiguration]
|
|
2708
2762
|
#
|
|
2763
|
+
# @!attribute [rw] exporters
|
|
2764
|
+
# The exporter configurations for the scraper, if configured. The list
|
|
2765
|
+
# contains at most one configuration for an Amazon OpenSearch Service
|
|
2766
|
+
# domain.
|
|
2767
|
+
# @return [Array<Types::ExporterConfiguration>]
|
|
2768
|
+
#
|
|
2709
2769
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/ScraperSummary AWS API Documentation
|
|
2710
2770
|
#
|
|
2711
2771
|
class ScraperSummary < Struct.new(
|
|
@@ -2720,7 +2780,8 @@ module Aws::PrometheusService
|
|
|
2720
2780
|
:status_reason,
|
|
2721
2781
|
:source,
|
|
2722
2782
|
:destination,
|
|
2723
|
-
:role_configuration
|
|
2783
|
+
:role_configuration,
|
|
2784
|
+
:exporters)
|
|
2724
2785
|
SENSITIVE = []
|
|
2725
2786
|
include Aws::Structure
|
|
2726
2787
|
end
|
|
@@ -3024,6 +3085,12 @@ module Aws::PrometheusService
|
|
|
3024
3085
|
# not need to pass this option.
|
|
3025
3086
|
# @return [String]
|
|
3026
3087
|
#
|
|
3088
|
+
# @!attribute [rw] exporters
|
|
3089
|
+
# 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.
|
|
3092
|
+
# @return [Array<Types::ExporterConfiguration>]
|
|
3093
|
+
#
|
|
3027
3094
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/UpdateScraperRequest AWS API Documentation
|
|
3028
3095
|
#
|
|
3029
3096
|
class UpdateScraperRequest < Struct.new(
|
|
@@ -3032,7 +3099,8 @@ module Aws::PrometheusService
|
|
|
3032
3099
|
:scrape_configuration,
|
|
3033
3100
|
:destination,
|
|
3034
3101
|
:role_configuration,
|
|
3035
|
-
:client_token
|
|
3102
|
+
:client_token,
|
|
3103
|
+
:exporters)
|
|
3036
3104
|
SENSITIVE = []
|
|
3037
3105
|
include Aws::Structure
|
|
3038
3106
|
end
|
data/sig/client.rbs
CHANGED
|
@@ -186,7 +186,14 @@ module Aws
|
|
|
186
186
|
target_role_arn: ::String?
|
|
187
187
|
},
|
|
188
188
|
?client_token: ::String,
|
|
189
|
-
?tags: Hash[::String, ::String]
|
|
189
|
+
?tags: Hash[::String, ::String],
|
|
190
|
+
?exporters: Array[
|
|
191
|
+
{
|
|
192
|
+
open_search_configuration: {
|
|
193
|
+
domain_arn: ::String
|
|
194
|
+
}?
|
|
195
|
+
}
|
|
196
|
+
]
|
|
190
197
|
) -> _CreateScraperResponseSuccess
|
|
191
198
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateScraperResponseSuccess
|
|
192
199
|
|
|
@@ -588,7 +595,14 @@ module Aws
|
|
|
588
595
|
source_role_arn: ::String?,
|
|
589
596
|
target_role_arn: ::String?
|
|
590
597
|
},
|
|
591
|
-
?client_token: ::String
|
|
598
|
+
?client_token: ::String,
|
|
599
|
+
?exporters: Array[
|
|
600
|
+
{
|
|
601
|
+
open_search_configuration: {
|
|
602
|
+
domain_arn: ::String
|
|
603
|
+
}?
|
|
604
|
+
}
|
|
605
|
+
]
|
|
592
606
|
) -> _UpdateScraperResponseSuccess
|
|
593
607
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateScraperResponseSuccess
|
|
594
608
|
|
data/sig/types.rbs
CHANGED
|
@@ -192,6 +192,7 @@ module Aws::PrometheusService
|
|
|
192
192
|
attr_accessor role_configuration: Types::RoleConfiguration
|
|
193
193
|
attr_accessor client_token: ::String
|
|
194
194
|
attr_accessor tags: ::Hash[::String, ::String]
|
|
195
|
+
attr_accessor exporters: ::Array[Types::ExporterConfiguration]
|
|
195
196
|
SENSITIVE: []
|
|
196
197
|
end
|
|
197
198
|
|
|
@@ -412,6 +413,17 @@ module Aws::PrometheusService
|
|
|
412
413
|
SENSITIVE: []
|
|
413
414
|
end
|
|
414
415
|
|
|
416
|
+
class ExporterConfiguration
|
|
417
|
+
attr_accessor open_search_configuration: Types::OpenSearchExporterConfiguration
|
|
418
|
+
attr_accessor unknown: untyped
|
|
419
|
+
SENSITIVE: []
|
|
420
|
+
|
|
421
|
+
class OpenSearchConfiguration < ExporterConfiguration
|
|
422
|
+
end
|
|
423
|
+
class Unknown < ExporterConfiguration
|
|
424
|
+
end
|
|
425
|
+
end
|
|
426
|
+
|
|
415
427
|
class GetDefaultScraperConfigurationRequest < Aws::EmptyStructure
|
|
416
428
|
end
|
|
417
429
|
|
|
@@ -541,6 +553,11 @@ module Aws::PrometheusService
|
|
|
541
553
|
SENSITIVE: []
|
|
542
554
|
end
|
|
543
555
|
|
|
556
|
+
class OpenSearchExporterConfiguration
|
|
557
|
+
attr_accessor domain_arn: ::String
|
|
558
|
+
SENSITIVE: []
|
|
559
|
+
end
|
|
560
|
+
|
|
544
561
|
class PutAlertManagerDefinitionRequest
|
|
545
562
|
attr_accessor workspace_id: ::String
|
|
546
563
|
attr_accessor data: ::String
|
|
@@ -697,6 +714,7 @@ module Aws::PrometheusService
|
|
|
697
714
|
attr_accessor source: Types::Source
|
|
698
715
|
attr_accessor destination: Types::Destination
|
|
699
716
|
attr_accessor role_configuration: Types::RoleConfiguration
|
|
717
|
+
attr_accessor exporters: ::Array[Types::ExporterConfiguration]
|
|
700
718
|
SENSITIVE: []
|
|
701
719
|
end
|
|
702
720
|
|
|
@@ -735,6 +753,7 @@ module Aws::PrometheusService
|
|
|
735
753
|
attr_accessor source: Types::Source
|
|
736
754
|
attr_accessor destination: Types::Destination
|
|
737
755
|
attr_accessor role_configuration: Types::RoleConfiguration
|
|
756
|
+
attr_accessor exporters: ::Array[Types::ExporterConfiguration]
|
|
738
757
|
SENSITIVE: []
|
|
739
758
|
end
|
|
740
759
|
|
|
@@ -830,6 +849,7 @@ module Aws::PrometheusService
|
|
|
830
849
|
attr_accessor destination: Types::Destination
|
|
831
850
|
attr_accessor role_configuration: Types::RoleConfiguration
|
|
832
851
|
attr_accessor client_token: ::String
|
|
852
|
+
attr_accessor exporters: ::Array[Types::ExporterConfiguration]
|
|
833
853
|
SENSITIVE: []
|
|
834
854
|
end
|
|
835
855
|
|