aws-sdk-prometheusservice 1.51.0 → 1.53.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-prometheusservice/client.rb +206 -11
- data/lib/aws-sdk-prometheusservice/client_api.rb +114 -0
- data/lib/aws-sdk-prometheusservice/types.rb +257 -12
- data/lib/aws-sdk-prometheusservice.rb +1 -1
- data/sig/client.rbs +59 -0
- data/sig/types.rbs +71 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d037c3d5fa79fc720450d763f6fc4277ba8c03c97420d27e9d1e0444b1fc0a5c
|
4
|
+
data.tar.gz: 89a245bec8fda47db08adcd97ae17c5f95c60e3e81aae5cf924a0fa2a991126f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c5627f204b061f4123d752fa764eb6787d775ccdaa7b407ca61b3bcff7964d097162c4fb153545d0e35ab2e79c04b8737cd1bbcf2569c571d30834fd25e0918d
|
7
|
+
data.tar.gz: da74b5ce1b0a707032ba335d8c7c0e93df18548b483126ac7e7388e5a6fcfc8b810f6101766c7bf558002748245b8d12de74201776d9e486b2bc39578e445244
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.53.0 (2025-06-02)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.52.0 (2025-05-22)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Add QueryLoggingConfiguration APIs for Amazon Managed Prometheus
|
13
|
+
|
4
14
|
1.51.0 (2025-05-12)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.53.0
|
@@ -521,10 +521,14 @@ module Aws::PrometheusService
|
|
521
521
|
req.send_request(options)
|
522
522
|
end
|
523
523
|
|
524
|
-
# The `CreateLoggingConfiguration` operation creates
|
525
|
-
# configuration for the workspace. Use this operation to set the
|
524
|
+
# The `CreateLoggingConfiguration` operation creates rules and alerting
|
525
|
+
# logging configuration for the workspace. Use this operation to set the
|
526
526
|
# CloudWatch log group to which the logs will be published to.
|
527
527
|
#
|
528
|
+
# <note markdown="1"> These logging configurations are only for rules and alerting logs.
|
529
|
+
#
|
530
|
+
# </note>
|
531
|
+
#
|
528
532
|
# @option params [String] :client_token
|
529
533
|
# A unique identifier that you can provide to ensure the idempotency of
|
530
534
|
# the request. Case-sensitive.
|
@@ -566,6 +570,60 @@ module Aws::PrometheusService
|
|
566
570
|
req.send_request(options)
|
567
571
|
end
|
568
572
|
|
573
|
+
# Creates a query logging configuration for the specified workspace.
|
574
|
+
# This operation enables logging of queries that exceed the specified
|
575
|
+
# QSP threshold.
|
576
|
+
#
|
577
|
+
# @option params [String] :client_token
|
578
|
+
# (Optional) A unique, case-sensitive identifier that you can provide to
|
579
|
+
# ensure the idempotency of the request.
|
580
|
+
#
|
581
|
+
# **A suitable default value is auto-generated.** You should normally
|
582
|
+
# not need to pass this option.**
|
583
|
+
#
|
584
|
+
# @option params [required, Array<Types::LoggingDestination>] :destinations
|
585
|
+
# The destinations where query logs will be sent. Only CloudWatch Logs
|
586
|
+
# destination is supported. The list must contain exactly one element.
|
587
|
+
#
|
588
|
+
# @option params [required, String] :workspace_id
|
589
|
+
# The ID of the workspace for which to create the query logging
|
590
|
+
# configuration.
|
591
|
+
#
|
592
|
+
# @return [Types::CreateQueryLoggingConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
593
|
+
#
|
594
|
+
# * {Types::CreateQueryLoggingConfigurationResponse#status #status} => Types::QueryLoggingConfigurationStatus
|
595
|
+
#
|
596
|
+
# @example Request syntax with placeholder values
|
597
|
+
#
|
598
|
+
# resp = client.create_query_logging_configuration({
|
599
|
+
# client_token: "IdempotencyToken",
|
600
|
+
# destinations: [ # required
|
601
|
+
# {
|
602
|
+
# cloud_watch_logs: { # required
|
603
|
+
# log_group_arn: "LogGroupArn", # required
|
604
|
+
# },
|
605
|
+
# filters: { # required
|
606
|
+
# qsp_threshold: 1, # required
|
607
|
+
# },
|
608
|
+
# },
|
609
|
+
# ],
|
610
|
+
# workspace_id: "WorkspaceId", # required
|
611
|
+
# })
|
612
|
+
#
|
613
|
+
# @example Response structure
|
614
|
+
#
|
615
|
+
# resp.status.status_code #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "CREATION_FAILED", "UPDATE_FAILED"
|
616
|
+
# resp.status.status_reason #=> String
|
617
|
+
#
|
618
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/CreateQueryLoggingConfiguration AWS API Documentation
|
619
|
+
#
|
620
|
+
# @overload create_query_logging_configuration(params = {})
|
621
|
+
# @param [Hash] params ({})
|
622
|
+
def create_query_logging_configuration(params = {}, options = {})
|
623
|
+
req = build_request(:create_query_logging_configuration, params)
|
624
|
+
req.send_request(options)
|
625
|
+
end
|
626
|
+
|
569
627
|
# The `CreateRuleGroupsNamespace` operation creates a rule groups
|
570
628
|
# namespace within a workspace. A rule groups namespace is associated
|
571
629
|
# with exactly one rules file. A workspace can have multiple rule groups
|
@@ -658,6 +716,11 @@ module Aws::PrometheusService
|
|
658
716
|
# The `scrapeConfiguration` parameter contains the base-64 encoded YAML
|
659
717
|
# configuration for the scraper.
|
660
718
|
#
|
719
|
+
# When creating a scraper, the service creates a `Network Interface` in
|
720
|
+
# each **Availability Zone** that are passed into `CreateScraper`
|
721
|
+
# through subnets. These network interfaces are used to connect to the
|
722
|
+
# Amazon EKS cluster within the VPC for scraping metrics.
|
723
|
+
#
|
661
724
|
# <note markdown="1"> For more information about collectors, including what metrics are
|
662
725
|
# collected, and how to configure the scraper, see [Using an Amazon Web
|
663
726
|
# Services managed collector][2] in the *Amazon Managed Service for
|
@@ -856,7 +919,11 @@ module Aws::PrometheusService
|
|
856
919
|
req.send_request(options)
|
857
920
|
end
|
858
921
|
|
859
|
-
# Deletes the logging configuration for a workspace.
|
922
|
+
# Deletes the rules and alerting logging configuration for a workspace.
|
923
|
+
#
|
924
|
+
# <note markdown="1"> These logging configurations are only for rules and alerting logs.
|
925
|
+
#
|
926
|
+
# </note>
|
860
927
|
#
|
861
928
|
# @option params [String] :client_token
|
862
929
|
# A unique identifier that you can provide to ensure the idempotency of
|
@@ -887,6 +954,37 @@ module Aws::PrometheusService
|
|
887
954
|
req.send_request(options)
|
888
955
|
end
|
889
956
|
|
957
|
+
# Deletes the query logging configuration for the specified workspace.
|
958
|
+
#
|
959
|
+
# @option params [String] :client_token
|
960
|
+
# (Optional) A unique, case-sensitive identifier that you can provide to
|
961
|
+
# ensure the idempotency of the request.
|
962
|
+
#
|
963
|
+
# **A suitable default value is auto-generated.** You should normally
|
964
|
+
# not need to pass this option.**
|
965
|
+
#
|
966
|
+
# @option params [required, String] :workspace_id
|
967
|
+
# The ID of the workspace from which to delete the query logging
|
968
|
+
# configuration.
|
969
|
+
#
|
970
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
971
|
+
#
|
972
|
+
# @example Request syntax with placeholder values
|
973
|
+
#
|
974
|
+
# resp = client.delete_query_logging_configuration({
|
975
|
+
# client_token: "IdempotencyToken",
|
976
|
+
# workspace_id: "WorkspaceId", # required
|
977
|
+
# })
|
978
|
+
#
|
979
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DeleteQueryLoggingConfiguration AWS API Documentation
|
980
|
+
#
|
981
|
+
# @overload delete_query_logging_configuration(params = {})
|
982
|
+
# @param [Hash] params ({})
|
983
|
+
def delete_query_logging_configuration(params = {}, options = {})
|
984
|
+
req = build_request(:delete_query_logging_configuration, params)
|
985
|
+
req.send_request(options)
|
986
|
+
end
|
987
|
+
|
890
988
|
# Deletes one rule groups namespace and its associated rule groups
|
891
989
|
# definition.
|
892
990
|
#
|
@@ -1031,8 +1129,12 @@ module Aws::PrometheusService
|
|
1031
1129
|
req.send_request(options)
|
1032
1130
|
end
|
1033
1131
|
|
1034
|
-
# Returns complete information about the current
|
1035
|
-
# of the workspace.
|
1132
|
+
# Returns complete information about the current rules and alerting
|
1133
|
+
# logging configuration of the workspace.
|
1134
|
+
#
|
1135
|
+
# <note markdown="1"> These logging configurations are only for rules and alerting logs.
|
1136
|
+
#
|
1137
|
+
# </note>
|
1036
1138
|
#
|
1037
1139
|
# @option params [required, String] :workspace_id
|
1038
1140
|
# The ID of the workspace to describe the logging configuration for.
|
@@ -1065,6 +1167,43 @@ module Aws::PrometheusService
|
|
1065
1167
|
req.send_request(options)
|
1066
1168
|
end
|
1067
1169
|
|
1170
|
+
# Retrieves the details of the query logging configuration for the
|
1171
|
+
# specified workspace.
|
1172
|
+
#
|
1173
|
+
# @option params [required, String] :workspace_id
|
1174
|
+
# The ID of the workspace for which to retrieve the query logging
|
1175
|
+
# configuration.
|
1176
|
+
#
|
1177
|
+
# @return [Types::DescribeQueryLoggingConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1178
|
+
#
|
1179
|
+
# * {Types::DescribeQueryLoggingConfigurationResponse#query_logging_configuration #query_logging_configuration} => Types::QueryLoggingConfigurationMetadata
|
1180
|
+
#
|
1181
|
+
# @example Request syntax with placeholder values
|
1182
|
+
#
|
1183
|
+
# resp = client.describe_query_logging_configuration({
|
1184
|
+
# workspace_id: "WorkspaceId", # required
|
1185
|
+
# })
|
1186
|
+
#
|
1187
|
+
# @example Response structure
|
1188
|
+
#
|
1189
|
+
# resp.query_logging_configuration.created_at #=> Time
|
1190
|
+
# resp.query_logging_configuration.destinations #=> Array
|
1191
|
+
# resp.query_logging_configuration.destinations[0].cloud_watch_logs.log_group_arn #=> String
|
1192
|
+
# resp.query_logging_configuration.destinations[0].filters.qsp_threshold #=> Integer
|
1193
|
+
# resp.query_logging_configuration.modified_at #=> Time
|
1194
|
+
# resp.query_logging_configuration.status.status_code #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "CREATION_FAILED", "UPDATE_FAILED"
|
1195
|
+
# resp.query_logging_configuration.status.status_reason #=> String
|
1196
|
+
# resp.query_logging_configuration.workspace #=> String
|
1197
|
+
#
|
1198
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DescribeQueryLoggingConfiguration AWS API Documentation
|
1199
|
+
#
|
1200
|
+
# @overload describe_query_logging_configuration(params = {})
|
1201
|
+
# @param [Hash] params ({})
|
1202
|
+
def describe_query_logging_configuration(params = {}, options = {})
|
1203
|
+
req = build_request(:describe_query_logging_configuration, params)
|
1204
|
+
req.send_request(options)
|
1205
|
+
end
|
1206
|
+
|
1068
1207
|
# Returns complete information about one rule groups namespace. To
|
1069
1208
|
# retrieve a list of rule groups namespaces, use
|
1070
1209
|
# `ListRuleGroupsNamespaces`.
|
@@ -1688,8 +1827,12 @@ module Aws::PrometheusService
|
|
1688
1827
|
req.send_request(options)
|
1689
1828
|
end
|
1690
1829
|
|
1691
|
-
# Updates the log group ARN or the workspace ID of the current
|
1692
|
-
# configuration.
|
1830
|
+
# Updates the log group ARN or the workspace ID of the current rules and
|
1831
|
+
# alerting logging configuration.
|
1832
|
+
#
|
1833
|
+
# <note markdown="1"> These logging configurations are only for rules and alerting logs.
|
1834
|
+
#
|
1835
|
+
# </note>
|
1693
1836
|
#
|
1694
1837
|
# @option params [String] :client_token
|
1695
1838
|
# A unique identifier that you can provide to ensure the idempotency of
|
@@ -1731,6 +1874,58 @@ module Aws::PrometheusService
|
|
1731
1874
|
req.send_request(options)
|
1732
1875
|
end
|
1733
1876
|
|
1877
|
+
# Updates the query logging configuration for the specified workspace.
|
1878
|
+
#
|
1879
|
+
# @option params [String] :client_token
|
1880
|
+
# (Optional) A unique, case-sensitive identifier that you can provide to
|
1881
|
+
# ensure the idempotency of the request.
|
1882
|
+
#
|
1883
|
+
# **A suitable default value is auto-generated.** You should normally
|
1884
|
+
# not need to pass this option.**
|
1885
|
+
#
|
1886
|
+
# @option params [required, Array<Types::LoggingDestination>] :destinations
|
1887
|
+
# The destinations where query logs will be sent. Only CloudWatch Logs
|
1888
|
+
# destination is supported. The list must contain exactly one element.
|
1889
|
+
#
|
1890
|
+
# @option params [required, String] :workspace_id
|
1891
|
+
# The ID of the workspace for which to update the query logging
|
1892
|
+
# configuration.
|
1893
|
+
#
|
1894
|
+
# @return [Types::UpdateQueryLoggingConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1895
|
+
#
|
1896
|
+
# * {Types::UpdateQueryLoggingConfigurationResponse#status #status} => Types::QueryLoggingConfigurationStatus
|
1897
|
+
#
|
1898
|
+
# @example Request syntax with placeholder values
|
1899
|
+
#
|
1900
|
+
# resp = client.update_query_logging_configuration({
|
1901
|
+
# client_token: "IdempotencyToken",
|
1902
|
+
# destinations: [ # required
|
1903
|
+
# {
|
1904
|
+
# cloud_watch_logs: { # required
|
1905
|
+
# log_group_arn: "LogGroupArn", # required
|
1906
|
+
# },
|
1907
|
+
# filters: { # required
|
1908
|
+
# qsp_threshold: 1, # required
|
1909
|
+
# },
|
1910
|
+
# },
|
1911
|
+
# ],
|
1912
|
+
# workspace_id: "WorkspaceId", # required
|
1913
|
+
# })
|
1914
|
+
#
|
1915
|
+
# @example Response structure
|
1916
|
+
#
|
1917
|
+
# resp.status.status_code #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "CREATION_FAILED", "UPDATE_FAILED"
|
1918
|
+
# resp.status.status_reason #=> String
|
1919
|
+
#
|
1920
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/UpdateQueryLoggingConfiguration AWS API Documentation
|
1921
|
+
#
|
1922
|
+
# @overload update_query_logging_configuration(params = {})
|
1923
|
+
# @param [Hash] params ({})
|
1924
|
+
def update_query_logging_configuration(params = {}, options = {})
|
1925
|
+
req = build_request(:update_query_logging_configuration, params)
|
1926
|
+
req.send_request(options)
|
1927
|
+
end
|
1928
|
+
|
1734
1929
|
# Updates an existing scraper.
|
1735
1930
|
#
|
1736
1931
|
# You can't use this function to update the source from which the
|
@@ -1867,9 +2062,9 @@ module Aws::PrometheusService
|
|
1867
2062
|
#
|
1868
2063
|
# @option params [Array<Types::LimitsPerLabelSet>] :limits_per_label_set
|
1869
2064
|
# This is an array of structures, where each structure defines a label
|
1870
|
-
# set for the workspace, and defines the
|
1871
|
-
#
|
1872
|
-
#
|
2065
|
+
# set for the workspace, and defines the active time series limit for
|
2066
|
+
# each of those label sets. Each label name in a label set must be
|
2067
|
+
# unique.
|
1873
2068
|
#
|
1874
2069
|
# @option params [Integer] :retention_period_in_days
|
1875
2070
|
# Specifies how many days that metrics will be retained in the
|
@@ -1937,7 +2132,7 @@ module Aws::PrometheusService
|
|
1937
2132
|
tracer: tracer
|
1938
2133
|
)
|
1939
2134
|
context[:gem_name] = 'aws-sdk-prometheusservice'
|
1940
|
-
context[:gem_version] = '1.
|
2135
|
+
context[:gem_version] = '1.53.0'
|
1941
2136
|
Seahorse::Client::Request.new(handlers, context)
|
1942
2137
|
end
|
1943
2138
|
|
@@ -21,12 +21,15 @@ module Aws::PrometheusService
|
|
21
21
|
AlertManagerDefinitionStatusCode = Shapes::StringShape.new(name: 'AlertManagerDefinitionStatusCode')
|
22
22
|
AmpConfiguration = Shapes::StructureShape.new(name: 'AmpConfiguration')
|
23
23
|
Blob = Shapes::BlobShape.new(name: 'Blob')
|
24
|
+
CloudWatchLogDestination = Shapes::StructureShape.new(name: 'CloudWatchLogDestination')
|
24
25
|
ClusterArn = Shapes::StringShape.new(name: 'ClusterArn')
|
25
26
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
26
27
|
CreateAlertManagerDefinitionRequest = Shapes::StructureShape.new(name: 'CreateAlertManagerDefinitionRequest')
|
27
28
|
CreateAlertManagerDefinitionResponse = Shapes::StructureShape.new(name: 'CreateAlertManagerDefinitionResponse')
|
28
29
|
CreateLoggingConfigurationRequest = Shapes::StructureShape.new(name: 'CreateLoggingConfigurationRequest')
|
29
30
|
CreateLoggingConfigurationResponse = Shapes::StructureShape.new(name: 'CreateLoggingConfigurationResponse')
|
31
|
+
CreateQueryLoggingConfigurationRequest = Shapes::StructureShape.new(name: 'CreateQueryLoggingConfigurationRequest')
|
32
|
+
CreateQueryLoggingConfigurationResponse = Shapes::StructureShape.new(name: 'CreateQueryLoggingConfigurationResponse')
|
30
33
|
CreateRuleGroupsNamespaceRequest = Shapes::StructureShape.new(name: 'CreateRuleGroupsNamespaceRequest')
|
31
34
|
CreateRuleGroupsNamespaceResponse = Shapes::StructureShape.new(name: 'CreateRuleGroupsNamespaceResponse')
|
32
35
|
CreateScraperRequest = Shapes::StructureShape.new(name: 'CreateScraperRequest')
|
@@ -35,6 +38,7 @@ module Aws::PrometheusService
|
|
35
38
|
CreateWorkspaceResponse = Shapes::StructureShape.new(name: 'CreateWorkspaceResponse')
|
36
39
|
DeleteAlertManagerDefinitionRequest = Shapes::StructureShape.new(name: 'DeleteAlertManagerDefinitionRequest')
|
37
40
|
DeleteLoggingConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteLoggingConfigurationRequest')
|
41
|
+
DeleteQueryLoggingConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteQueryLoggingConfigurationRequest')
|
38
42
|
DeleteRuleGroupsNamespaceRequest = Shapes::StructureShape.new(name: 'DeleteRuleGroupsNamespaceRequest')
|
39
43
|
DeleteScraperRequest = Shapes::StructureShape.new(name: 'DeleteScraperRequest')
|
40
44
|
DeleteScraperResponse = Shapes::StructureShape.new(name: 'DeleteScraperResponse')
|
@@ -43,6 +47,8 @@ module Aws::PrometheusService
|
|
43
47
|
DescribeAlertManagerDefinitionResponse = Shapes::StructureShape.new(name: 'DescribeAlertManagerDefinitionResponse')
|
44
48
|
DescribeLoggingConfigurationRequest = Shapes::StructureShape.new(name: 'DescribeLoggingConfigurationRequest')
|
45
49
|
DescribeLoggingConfigurationResponse = Shapes::StructureShape.new(name: 'DescribeLoggingConfigurationResponse')
|
50
|
+
DescribeQueryLoggingConfigurationRequest = Shapes::StructureShape.new(name: 'DescribeQueryLoggingConfigurationRequest')
|
51
|
+
DescribeQueryLoggingConfigurationResponse = Shapes::StructureShape.new(name: 'DescribeQueryLoggingConfigurationResponse')
|
46
52
|
DescribeRuleGroupsNamespaceRequest = Shapes::StructureShape.new(name: 'DescribeRuleGroupsNamespaceRequest')
|
47
53
|
DescribeRuleGroupsNamespaceResponse = Shapes::StructureShape.new(name: 'DescribeRuleGroupsNamespaceResponse')
|
48
54
|
DescribeScraperRequest = Shapes::StructureShape.new(name: 'DescribeScraperRequest')
|
@@ -85,11 +91,18 @@ module Aws::PrometheusService
|
|
85
91
|
LoggingConfigurationMetadata = Shapes::StructureShape.new(name: 'LoggingConfigurationMetadata')
|
86
92
|
LoggingConfigurationStatus = Shapes::StructureShape.new(name: 'LoggingConfigurationStatus')
|
87
93
|
LoggingConfigurationStatusCode = Shapes::StringShape.new(name: 'LoggingConfigurationStatusCode')
|
94
|
+
LoggingDestination = Shapes::StructureShape.new(name: 'LoggingDestination')
|
95
|
+
LoggingDestinations = Shapes::ListShape.new(name: 'LoggingDestinations')
|
96
|
+
LoggingFilter = Shapes::StructureShape.new(name: 'LoggingFilter')
|
97
|
+
LoggingFilterQspThresholdLong = Shapes::IntegerShape.new(name: 'LoggingFilterQspThresholdLong')
|
88
98
|
PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
|
89
99
|
PutAlertManagerDefinitionRequest = Shapes::StructureShape.new(name: 'PutAlertManagerDefinitionRequest')
|
90
100
|
PutAlertManagerDefinitionResponse = Shapes::StructureShape.new(name: 'PutAlertManagerDefinitionResponse')
|
91
101
|
PutRuleGroupsNamespaceRequest = Shapes::StructureShape.new(name: 'PutRuleGroupsNamespaceRequest')
|
92
102
|
PutRuleGroupsNamespaceResponse = Shapes::StructureShape.new(name: 'PutRuleGroupsNamespaceResponse')
|
103
|
+
QueryLoggingConfigurationMetadata = Shapes::StructureShape.new(name: 'QueryLoggingConfigurationMetadata')
|
104
|
+
QueryLoggingConfigurationStatus = Shapes::StructureShape.new(name: 'QueryLoggingConfigurationStatus')
|
105
|
+
QueryLoggingConfigurationStatusCode = Shapes::StringShape.new(name: 'QueryLoggingConfigurationStatusCode')
|
93
106
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
94
107
|
RoleConfiguration = Shapes::StructureShape.new(name: 'RoleConfiguration')
|
95
108
|
RuleGroupsNamespaceArn = Shapes::StringShape.new(name: 'RuleGroupsNamespaceArn')
|
@@ -130,6 +143,8 @@ module Aws::PrometheusService
|
|
130
143
|
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
131
144
|
UpdateLoggingConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateLoggingConfigurationRequest')
|
132
145
|
UpdateLoggingConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateLoggingConfigurationResponse')
|
146
|
+
UpdateQueryLoggingConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateQueryLoggingConfigurationRequest')
|
147
|
+
UpdateQueryLoggingConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateQueryLoggingConfigurationResponse')
|
133
148
|
UpdateScraperRequest = Shapes::StructureShape.new(name: 'UpdateScraperRequest')
|
134
149
|
UpdateScraperResponse = Shapes::StructureShape.new(name: 'UpdateScraperResponse')
|
135
150
|
UpdateWorkspaceAliasRequest = Shapes::StructureShape.new(name: 'UpdateWorkspaceAliasRequest')
|
@@ -170,6 +185,9 @@ module Aws::PrometheusService
|
|
170
185
|
AmpConfiguration.add_member(:workspace_arn, Shapes::ShapeRef.new(shape: WorkspaceArn, required: true, location_name: "workspaceArn"))
|
171
186
|
AmpConfiguration.struct_class = Types::AmpConfiguration
|
172
187
|
|
188
|
+
CloudWatchLogDestination.add_member(:log_group_arn, Shapes::ShapeRef.new(shape: LogGroupArn, required: true, location_name: "logGroupArn"))
|
189
|
+
CloudWatchLogDestination.struct_class = Types::CloudWatchLogDestination
|
190
|
+
|
173
191
|
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
174
192
|
ConflictException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceId"))
|
175
193
|
ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceType"))
|
@@ -191,6 +209,14 @@ module Aws::PrometheusService
|
|
191
209
|
CreateLoggingConfigurationResponse.add_member(:status, Shapes::ShapeRef.new(shape: LoggingConfigurationStatus, required: true, location_name: "status"))
|
192
210
|
CreateLoggingConfigurationResponse.struct_class = Types::CreateLoggingConfigurationResponse
|
193
211
|
|
212
|
+
CreateQueryLoggingConfigurationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
213
|
+
CreateQueryLoggingConfigurationRequest.add_member(:destinations, Shapes::ShapeRef.new(shape: LoggingDestinations, required: true, location_name: "destinations"))
|
214
|
+
CreateQueryLoggingConfigurationRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location: "uri", location_name: "workspaceId"))
|
215
|
+
CreateQueryLoggingConfigurationRequest.struct_class = Types::CreateQueryLoggingConfigurationRequest
|
216
|
+
|
217
|
+
CreateQueryLoggingConfigurationResponse.add_member(:status, Shapes::ShapeRef.new(shape: QueryLoggingConfigurationStatus, required: true, location_name: "status"))
|
218
|
+
CreateQueryLoggingConfigurationResponse.struct_class = Types::CreateQueryLoggingConfigurationResponse
|
219
|
+
|
194
220
|
CreateRuleGroupsNamespaceRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
195
221
|
CreateRuleGroupsNamespaceRequest.add_member(:data, Shapes::ShapeRef.new(shape: RuleGroupsNamespaceData, required: true, location_name: "data"))
|
196
222
|
CreateRuleGroupsNamespaceRequest.add_member(:name, Shapes::ShapeRef.new(shape: RuleGroupsNamespaceName, required: true, location_name: "name"))
|
@@ -240,6 +266,10 @@ module Aws::PrometheusService
|
|
240
266
|
DeleteLoggingConfigurationRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location: "uri", location_name: "workspaceId"))
|
241
267
|
DeleteLoggingConfigurationRequest.struct_class = Types::DeleteLoggingConfigurationRequest
|
242
268
|
|
269
|
+
DeleteQueryLoggingConfigurationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
270
|
+
DeleteQueryLoggingConfigurationRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location: "uri", location_name: "workspaceId"))
|
271
|
+
DeleteQueryLoggingConfigurationRequest.struct_class = Types::DeleteQueryLoggingConfigurationRequest
|
272
|
+
|
243
273
|
DeleteRuleGroupsNamespaceRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
244
274
|
DeleteRuleGroupsNamespaceRequest.add_member(:name, Shapes::ShapeRef.new(shape: RuleGroupsNamespaceName, required: true, location: "uri", location_name: "name"))
|
245
275
|
DeleteRuleGroupsNamespaceRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location: "uri", location_name: "workspaceId"))
|
@@ -269,6 +299,12 @@ module Aws::PrometheusService
|
|
269
299
|
DescribeLoggingConfigurationResponse.add_member(:logging_configuration, Shapes::ShapeRef.new(shape: LoggingConfigurationMetadata, required: true, location_name: "loggingConfiguration"))
|
270
300
|
DescribeLoggingConfigurationResponse.struct_class = Types::DescribeLoggingConfigurationResponse
|
271
301
|
|
302
|
+
DescribeQueryLoggingConfigurationRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location: "uri", location_name: "workspaceId"))
|
303
|
+
DescribeQueryLoggingConfigurationRequest.struct_class = Types::DescribeQueryLoggingConfigurationRequest
|
304
|
+
|
305
|
+
DescribeQueryLoggingConfigurationResponse.add_member(:query_logging_configuration, Shapes::ShapeRef.new(shape: QueryLoggingConfigurationMetadata, required: true, location_name: "queryLoggingConfiguration"))
|
306
|
+
DescribeQueryLoggingConfigurationResponse.struct_class = Types::DescribeQueryLoggingConfigurationResponse
|
307
|
+
|
272
308
|
DescribeRuleGroupsNamespaceRequest.add_member(:name, Shapes::ShapeRef.new(shape: RuleGroupsNamespaceName, required: true, location: "uri", location_name: "name"))
|
273
309
|
DescribeRuleGroupsNamespaceRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location: "uri", location_name: "workspaceId"))
|
274
310
|
DescribeRuleGroupsNamespaceRequest.struct_class = Types::DescribeRuleGroupsNamespaceRequest
|
@@ -373,6 +409,15 @@ module Aws::PrometheusService
|
|
373
409
|
LoggingConfigurationStatus.add_member(:status_reason, Shapes::ShapeRef.new(shape: String, location_name: "statusReason"))
|
374
410
|
LoggingConfigurationStatus.struct_class = Types::LoggingConfigurationStatus
|
375
411
|
|
412
|
+
LoggingDestination.add_member(:cloud_watch_logs, Shapes::ShapeRef.new(shape: CloudWatchLogDestination, required: true, location_name: "cloudWatchLogs"))
|
413
|
+
LoggingDestination.add_member(:filters, Shapes::ShapeRef.new(shape: LoggingFilter, required: true, location_name: "filters"))
|
414
|
+
LoggingDestination.struct_class = Types::LoggingDestination
|
415
|
+
|
416
|
+
LoggingDestinations.member = Shapes::ShapeRef.new(shape: LoggingDestination)
|
417
|
+
|
418
|
+
LoggingFilter.add_member(:qsp_threshold, Shapes::ShapeRef.new(shape: LoggingFilterQspThresholdLong, required: true, location_name: "qspThreshold"))
|
419
|
+
LoggingFilter.struct_class = Types::LoggingFilter
|
420
|
+
|
376
421
|
PutAlertManagerDefinitionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
377
422
|
PutAlertManagerDefinitionRequest.add_member(:data, Shapes::ShapeRef.new(shape: AlertManagerDefinitionData, required: true, location_name: "data"))
|
378
423
|
PutAlertManagerDefinitionRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location: "uri", location_name: "workspaceId"))
|
@@ -393,6 +438,17 @@ module Aws::PrometheusService
|
|
393
438
|
PutRuleGroupsNamespaceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
394
439
|
PutRuleGroupsNamespaceResponse.struct_class = Types::PutRuleGroupsNamespaceResponse
|
395
440
|
|
441
|
+
QueryLoggingConfigurationMetadata.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
|
442
|
+
QueryLoggingConfigurationMetadata.add_member(:destinations, Shapes::ShapeRef.new(shape: LoggingDestinations, required: true, location_name: "destinations"))
|
443
|
+
QueryLoggingConfigurationMetadata.add_member(:modified_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "modifiedAt"))
|
444
|
+
QueryLoggingConfigurationMetadata.add_member(:status, Shapes::ShapeRef.new(shape: QueryLoggingConfigurationStatus, required: true, location_name: "status"))
|
445
|
+
QueryLoggingConfigurationMetadata.add_member(:workspace, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location_name: "workspace"))
|
446
|
+
QueryLoggingConfigurationMetadata.struct_class = Types::QueryLoggingConfigurationMetadata
|
447
|
+
|
448
|
+
QueryLoggingConfigurationStatus.add_member(:status_code, Shapes::ShapeRef.new(shape: QueryLoggingConfigurationStatusCode, required: true, location_name: "statusCode"))
|
449
|
+
QueryLoggingConfigurationStatus.add_member(:status_reason, Shapes::ShapeRef.new(shape: String, location_name: "statusReason"))
|
450
|
+
QueryLoggingConfigurationStatus.struct_class = Types::QueryLoggingConfigurationStatus
|
451
|
+
|
396
452
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
397
453
|
ResourceNotFoundException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceId"))
|
398
454
|
ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceType"))
|
@@ -516,6 +572,14 @@ module Aws::PrometheusService
|
|
516
572
|
UpdateLoggingConfigurationResponse.add_member(:status, Shapes::ShapeRef.new(shape: LoggingConfigurationStatus, required: true, location_name: "status"))
|
517
573
|
UpdateLoggingConfigurationResponse.struct_class = Types::UpdateLoggingConfigurationResponse
|
518
574
|
|
575
|
+
UpdateQueryLoggingConfigurationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
576
|
+
UpdateQueryLoggingConfigurationRequest.add_member(:destinations, Shapes::ShapeRef.new(shape: LoggingDestinations, required: true, location_name: "destinations"))
|
577
|
+
UpdateQueryLoggingConfigurationRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location: "uri", location_name: "workspaceId"))
|
578
|
+
UpdateQueryLoggingConfigurationRequest.struct_class = Types::UpdateQueryLoggingConfigurationRequest
|
579
|
+
|
580
|
+
UpdateQueryLoggingConfigurationResponse.add_member(:status, Shapes::ShapeRef.new(shape: QueryLoggingConfigurationStatus, required: true, location_name: "status"))
|
581
|
+
UpdateQueryLoggingConfigurationResponse.struct_class = Types::UpdateQueryLoggingConfigurationResponse
|
582
|
+
|
519
583
|
UpdateScraperRequest.add_member(:alias, Shapes::ShapeRef.new(shape: ScraperAlias, location_name: "alias"))
|
520
584
|
UpdateScraperRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
521
585
|
UpdateScraperRequest.add_member(:destination, Shapes::ShapeRef.new(shape: Destination, location_name: "destination"))
|
@@ -635,6 +699,18 @@ module Aws::PrometheusService
|
|
635
699
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
636
700
|
end)
|
637
701
|
|
702
|
+
api.add_operation(:create_query_logging_configuration, Seahorse::Model::Operation.new.tap do |o|
|
703
|
+
o.name = "CreateQueryLoggingConfiguration"
|
704
|
+
o.http_method = "POST"
|
705
|
+
o.http_request_uri = "/workspaces/{workspaceId}/logging/query"
|
706
|
+
o.input = Shapes::ShapeRef.new(shape: CreateQueryLoggingConfigurationRequest)
|
707
|
+
o.output = Shapes::ShapeRef.new(shape: CreateQueryLoggingConfigurationResponse)
|
708
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
709
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
710
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
711
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
712
|
+
end)
|
713
|
+
|
638
714
|
api.add_operation(:create_rule_groups_namespace, Seahorse::Model::Operation.new.tap do |o|
|
639
715
|
o.name = "CreateRuleGroupsNamespace"
|
640
716
|
o.http_method = "POST"
|
@@ -706,6 +782,19 @@ module Aws::PrometheusService
|
|
706
782
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
707
783
|
end)
|
708
784
|
|
785
|
+
api.add_operation(:delete_query_logging_configuration, Seahorse::Model::Operation.new.tap do |o|
|
786
|
+
o.name = "DeleteQueryLoggingConfiguration"
|
787
|
+
o.http_method = "DELETE"
|
788
|
+
o.http_request_uri = "/workspaces/{workspaceId}/logging/query"
|
789
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteQueryLoggingConfigurationRequest)
|
790
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
791
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
792
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
793
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
794
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
795
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
796
|
+
end)
|
797
|
+
|
709
798
|
api.add_operation(:delete_rule_groups_namespace, Seahorse::Model::Operation.new.tap do |o|
|
710
799
|
o.name = "DeleteRuleGroupsNamespace"
|
711
800
|
o.http_method = "DELETE"
|
@@ -773,6 +862,18 @@ module Aws::PrometheusService
|
|
773
862
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
774
863
|
end)
|
775
864
|
|
865
|
+
api.add_operation(:describe_query_logging_configuration, Seahorse::Model::Operation.new.tap do |o|
|
866
|
+
o.name = "DescribeQueryLoggingConfiguration"
|
867
|
+
o.http_method = "GET"
|
868
|
+
o.http_request_uri = "/workspaces/{workspaceId}/logging/query"
|
869
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeQueryLoggingConfigurationRequest)
|
870
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeQueryLoggingConfigurationResponse)
|
871
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
872
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
873
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
874
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
875
|
+
end)
|
876
|
+
|
776
877
|
api.add_operation(:describe_rule_groups_namespace, Seahorse::Model::Operation.new.tap do |o|
|
777
878
|
o.name = "DescribeRuleGroupsNamespace"
|
778
879
|
o.http_method = "GET"
|
@@ -973,6 +1074,19 @@ module Aws::PrometheusService
|
|
973
1074
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
974
1075
|
end)
|
975
1076
|
|
1077
|
+
api.add_operation(:update_query_logging_configuration, Seahorse::Model::Operation.new.tap do |o|
|
1078
|
+
o.name = "UpdateQueryLoggingConfiguration"
|
1079
|
+
o.http_method = "PUT"
|
1080
|
+
o.http_request_uri = "/workspaces/{workspaceId}/logging/query"
|
1081
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateQueryLoggingConfigurationRequest)
|
1082
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateQueryLoggingConfigurationResponse)
|
1083
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1084
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1085
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1086
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1087
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1088
|
+
end)
|
1089
|
+
|
976
1090
|
api.add_operation(:update_scraper, Seahorse::Model::Operation.new.tap do |o|
|
977
1091
|
o.name = "UpdateScraper"
|
978
1092
|
o.http_method = "PUT"
|
@@ -98,6 +98,22 @@ module Aws::PrometheusService
|
|
98
98
|
include Aws::Structure
|
99
99
|
end
|
100
100
|
|
101
|
+
# Configuration details for logging to CloudWatch Logs.
|
102
|
+
#
|
103
|
+
# @!attribute [rw] log_group_arn
|
104
|
+
# The ARN of the CloudWatch log group to which the vended log data
|
105
|
+
# will be published. This log group must exist prior to calling this
|
106
|
+
# operation.
|
107
|
+
# @return [String]
|
108
|
+
#
|
109
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/CloudWatchLogDestination AWS API Documentation
|
110
|
+
#
|
111
|
+
class CloudWatchLogDestination < Struct.new(
|
112
|
+
:log_group_arn)
|
113
|
+
SENSITIVE = []
|
114
|
+
include Aws::Structure
|
115
|
+
end
|
116
|
+
|
101
117
|
# The request would cause an inconsistent state.
|
102
118
|
#
|
103
119
|
# @!attribute [rw] message
|
@@ -218,6 +234,46 @@ module Aws::PrometheusService
|
|
218
234
|
include Aws::Structure
|
219
235
|
end
|
220
236
|
|
237
|
+
# @!attribute [rw] client_token
|
238
|
+
# (Optional) A unique, case-sensitive identifier that you can provide
|
239
|
+
# to ensure the idempotency of the request.
|
240
|
+
#
|
241
|
+
# **A suitable default value is auto-generated.** You should normally
|
242
|
+
# not need to pass this option.
|
243
|
+
# @return [String]
|
244
|
+
#
|
245
|
+
# @!attribute [rw] destinations
|
246
|
+
# The destinations where query logs will be sent. Only CloudWatch Logs
|
247
|
+
# destination is supported. The list must contain exactly one element.
|
248
|
+
# @return [Array<Types::LoggingDestination>]
|
249
|
+
#
|
250
|
+
# @!attribute [rw] workspace_id
|
251
|
+
# The ID of the workspace for which to create the query logging
|
252
|
+
# configuration.
|
253
|
+
# @return [String]
|
254
|
+
#
|
255
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/CreateQueryLoggingConfigurationRequest AWS API Documentation
|
256
|
+
#
|
257
|
+
class CreateQueryLoggingConfigurationRequest < Struct.new(
|
258
|
+
:client_token,
|
259
|
+
:destinations,
|
260
|
+
:workspace_id)
|
261
|
+
SENSITIVE = []
|
262
|
+
include Aws::Structure
|
263
|
+
end
|
264
|
+
|
265
|
+
# @!attribute [rw] status
|
266
|
+
# The current status of the query logging configuration.
|
267
|
+
# @return [Types::QueryLoggingConfigurationStatus]
|
268
|
+
#
|
269
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/CreateQueryLoggingConfigurationResponse AWS API Documentation
|
270
|
+
#
|
271
|
+
class CreateQueryLoggingConfigurationResponse < Struct.new(
|
272
|
+
:status)
|
273
|
+
SENSITIVE = []
|
274
|
+
include Aws::Structure
|
275
|
+
end
|
276
|
+
|
221
277
|
# Represents the input of a `CreateRuleGroupsNamespace` operation.
|
222
278
|
#
|
223
279
|
# @!attribute [rw] client_token
|
@@ -514,6 +570,28 @@ module Aws::PrometheusService
|
|
514
570
|
include Aws::Structure
|
515
571
|
end
|
516
572
|
|
573
|
+
# @!attribute [rw] client_token
|
574
|
+
# (Optional) A unique, case-sensitive identifier that you can provide
|
575
|
+
# to ensure the idempotency of the request.
|
576
|
+
#
|
577
|
+
# **A suitable default value is auto-generated.** You should normally
|
578
|
+
# not need to pass this option.
|
579
|
+
# @return [String]
|
580
|
+
#
|
581
|
+
# @!attribute [rw] workspace_id
|
582
|
+
# The ID of the workspace from which to delete the query logging
|
583
|
+
# configuration.
|
584
|
+
# @return [String]
|
585
|
+
#
|
586
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DeleteQueryLoggingConfigurationRequest AWS API Documentation
|
587
|
+
#
|
588
|
+
class DeleteQueryLoggingConfigurationRequest < Struct.new(
|
589
|
+
:client_token,
|
590
|
+
:workspace_id)
|
591
|
+
SENSITIVE = []
|
592
|
+
include Aws::Structure
|
593
|
+
end
|
594
|
+
|
517
595
|
# Represents the input of a `DeleteRuleGroupsNamespace` operation.
|
518
596
|
#
|
519
597
|
# @!attribute [rw] client_token
|
@@ -666,6 +744,32 @@ module Aws::PrometheusService
|
|
666
744
|
include Aws::Structure
|
667
745
|
end
|
668
746
|
|
747
|
+
# @!attribute [rw] workspace_id
|
748
|
+
# The ID of the workspace for which to retrieve the query logging
|
749
|
+
# configuration.
|
750
|
+
# @return [String]
|
751
|
+
#
|
752
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DescribeQueryLoggingConfigurationRequest AWS API Documentation
|
753
|
+
#
|
754
|
+
class DescribeQueryLoggingConfigurationRequest < Struct.new(
|
755
|
+
:workspace_id)
|
756
|
+
SENSITIVE = []
|
757
|
+
include Aws::Structure
|
758
|
+
end
|
759
|
+
|
760
|
+
# @!attribute [rw] query_logging_configuration
|
761
|
+
# The detailed information about the query logging configuration for
|
762
|
+
# the specified workspace.
|
763
|
+
# @return [Types::QueryLoggingConfigurationMetadata]
|
764
|
+
#
|
765
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DescribeQueryLoggingConfigurationResponse AWS API Documentation
|
766
|
+
#
|
767
|
+
class DescribeQueryLoggingConfigurationResponse < Struct.new(
|
768
|
+
:query_logging_configuration)
|
769
|
+
SENSITIVE = []
|
770
|
+
include Aws::Structure
|
771
|
+
end
|
772
|
+
|
669
773
|
# Represents the input of a `DescribeRuleGroupsNamespace` operation.
|
670
774
|
#
|
671
775
|
# @!attribute [rw] name
|
@@ -883,16 +987,17 @@ module Aws::PrometheusService
|
|
883
987
|
include Aws::Structure
|
884
988
|
end
|
885
989
|
|
886
|
-
# This structure defines one label set used to enforce
|
887
|
-
# for the workspace, and defines the limit for that label
|
990
|
+
# This structure defines one label set used to enforce active time
|
991
|
+
# series limits for the workspace, and defines the limit for that label
|
992
|
+
# set.
|
888
993
|
#
|
889
994
|
# A label set is a unique combination of label-value pairs. Use them to
|
890
|
-
# control time series
|
891
|
-
#
|
995
|
+
# control time series limits and to monitor usage by specific label
|
996
|
+
# groups. Example label sets might be `team:finance` or `env:prod`
|
892
997
|
#
|
893
998
|
# @!attribute [rw] label_set
|
894
|
-
# This defines one label set that will have an enforced
|
895
|
-
# limit.
|
999
|
+
# This defines one label set that will have an enforced active time
|
1000
|
+
# series limit.
|
896
1001
|
#
|
897
1002
|
# Label values accept ASCII characters and must contain at least one
|
898
1003
|
# character that isn't whitespace. ASCII control characters are not
|
@@ -1145,8 +1250,12 @@ module Aws::PrometheusService
|
|
1145
1250
|
include Aws::Structure
|
1146
1251
|
end
|
1147
1252
|
|
1148
|
-
# Contains information about the
|
1149
|
-
# workspace.
|
1253
|
+
# Contains information about the current rules and alerting logging
|
1254
|
+
# configuration for the workspace.
|
1255
|
+
#
|
1256
|
+
# <note markdown="1"> These logging configurations are only for rules and alerting logs.
|
1257
|
+
#
|
1258
|
+
# </note>
|
1150
1259
|
#
|
1151
1260
|
# @!attribute [rw] created_at
|
1152
1261
|
# The date and time that the logging configuration was created.
|
@@ -1185,7 +1294,12 @@ module Aws::PrometheusService
|
|
1185
1294
|
# The status of the logging configuration.
|
1186
1295
|
#
|
1187
1296
|
# @!attribute [rw] status_code
|
1188
|
-
# The current status of the logging
|
1297
|
+
# The current status of the current rules and alerting logging
|
1298
|
+
# configuration.
|
1299
|
+
#
|
1300
|
+
# <note markdown="1"> These logging configurations are only for rules and alerting logs.
|
1301
|
+
#
|
1302
|
+
# </note>
|
1189
1303
|
# @return [String]
|
1190
1304
|
#
|
1191
1305
|
# @!attribute [rw] status_reason
|
@@ -1201,6 +1315,42 @@ module Aws::PrometheusService
|
|
1201
1315
|
include Aws::Structure
|
1202
1316
|
end
|
1203
1317
|
|
1318
|
+
# Defines a destination and its associated filtering criteria for query
|
1319
|
+
# logging.
|
1320
|
+
#
|
1321
|
+
# @!attribute [rw] cloud_watch_logs
|
1322
|
+
# Configuration details for logging to CloudWatch Logs.
|
1323
|
+
# @return [Types::CloudWatchLogDestination]
|
1324
|
+
#
|
1325
|
+
# @!attribute [rw] filters
|
1326
|
+
# Filtering criteria that determine which queries are logged.
|
1327
|
+
# @return [Types::LoggingFilter]
|
1328
|
+
#
|
1329
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/LoggingDestination AWS API Documentation
|
1330
|
+
#
|
1331
|
+
class LoggingDestination < Struct.new(
|
1332
|
+
:cloud_watch_logs,
|
1333
|
+
:filters)
|
1334
|
+
SENSITIVE = []
|
1335
|
+
include Aws::Structure
|
1336
|
+
end
|
1337
|
+
|
1338
|
+
# Filtering criteria that determine which queries are logged.
|
1339
|
+
#
|
1340
|
+
# @!attribute [rw] qsp_threshold
|
1341
|
+
# The Query Samples Processed (QSP) threshold above which queries will
|
1342
|
+
# be logged. Queries processing more samples than this threshold will
|
1343
|
+
# be captured in logs.
|
1344
|
+
# @return [Integer]
|
1345
|
+
#
|
1346
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/LoggingFilter AWS API Documentation
|
1347
|
+
#
|
1348
|
+
class LoggingFilter < Struct.new(
|
1349
|
+
:qsp_threshold)
|
1350
|
+
SENSITIVE = []
|
1351
|
+
include Aws::Structure
|
1352
|
+
end
|
1353
|
+
|
1204
1354
|
# Represents the input of a `PutAlertManagerDefinition` operation.
|
1205
1355
|
#
|
1206
1356
|
# @!attribute [rw] client_token
|
@@ -1325,6 +1475,61 @@ module Aws::PrometheusService
|
|
1325
1475
|
include Aws::Structure
|
1326
1476
|
end
|
1327
1477
|
|
1478
|
+
# The metadata for a query logging configuration.
|
1479
|
+
#
|
1480
|
+
# @!attribute [rw] created_at
|
1481
|
+
# The date and time when the query logging configuration was created.
|
1482
|
+
# @return [Time]
|
1483
|
+
#
|
1484
|
+
# @!attribute [rw] destinations
|
1485
|
+
# The configured destinations for the query logging configuration.
|
1486
|
+
# @return [Array<Types::LoggingDestination>]
|
1487
|
+
#
|
1488
|
+
# @!attribute [rw] modified_at
|
1489
|
+
# The date and time when the query logging configuration was last
|
1490
|
+
# modified.
|
1491
|
+
# @return [Time]
|
1492
|
+
#
|
1493
|
+
# @!attribute [rw] status
|
1494
|
+
# The current status of the query logging configuration.
|
1495
|
+
# @return [Types::QueryLoggingConfigurationStatus]
|
1496
|
+
#
|
1497
|
+
# @!attribute [rw] workspace
|
1498
|
+
# The ID of the workspace associated with this query logging
|
1499
|
+
# configuration.
|
1500
|
+
# @return [String]
|
1501
|
+
#
|
1502
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/QueryLoggingConfigurationMetadata AWS API Documentation
|
1503
|
+
#
|
1504
|
+
class QueryLoggingConfigurationMetadata < Struct.new(
|
1505
|
+
:created_at,
|
1506
|
+
:destinations,
|
1507
|
+
:modified_at,
|
1508
|
+
:status,
|
1509
|
+
:workspace)
|
1510
|
+
SENSITIVE = []
|
1511
|
+
include Aws::Structure
|
1512
|
+
end
|
1513
|
+
|
1514
|
+
# The status information for a query logging configuration.
|
1515
|
+
#
|
1516
|
+
# @!attribute [rw] status_code
|
1517
|
+
# The current status of the query logging configuration.
|
1518
|
+
# @return [String]
|
1519
|
+
#
|
1520
|
+
# @!attribute [rw] status_reason
|
1521
|
+
# If there is a failure, the reason for the failure.
|
1522
|
+
# @return [String]
|
1523
|
+
#
|
1524
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/QueryLoggingConfigurationStatus AWS API Documentation
|
1525
|
+
#
|
1526
|
+
class QueryLoggingConfigurationStatus < Struct.new(
|
1527
|
+
:status_code,
|
1528
|
+
:status_reason)
|
1529
|
+
SENSITIVE = []
|
1530
|
+
include Aws::Structure
|
1531
|
+
end
|
1532
|
+
|
1328
1533
|
# The request references a resources that doesn't exist.
|
1329
1534
|
#
|
1330
1535
|
# @!attribute [rw] message
|
@@ -1875,6 +2080,46 @@ module Aws::PrometheusService
|
|
1875
2080
|
include Aws::Structure
|
1876
2081
|
end
|
1877
2082
|
|
2083
|
+
# @!attribute [rw] client_token
|
2084
|
+
# (Optional) A unique, case-sensitive identifier that you can provide
|
2085
|
+
# to ensure the idempotency of the request.
|
2086
|
+
#
|
2087
|
+
# **A suitable default value is auto-generated.** You should normally
|
2088
|
+
# not need to pass this option.
|
2089
|
+
# @return [String]
|
2090
|
+
#
|
2091
|
+
# @!attribute [rw] destinations
|
2092
|
+
# The destinations where query logs will be sent. Only CloudWatch Logs
|
2093
|
+
# destination is supported. The list must contain exactly one element.
|
2094
|
+
# @return [Array<Types::LoggingDestination>]
|
2095
|
+
#
|
2096
|
+
# @!attribute [rw] workspace_id
|
2097
|
+
# The ID of the workspace for which to update the query logging
|
2098
|
+
# configuration.
|
2099
|
+
# @return [String]
|
2100
|
+
#
|
2101
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/UpdateQueryLoggingConfigurationRequest AWS API Documentation
|
2102
|
+
#
|
2103
|
+
class UpdateQueryLoggingConfigurationRequest < Struct.new(
|
2104
|
+
:client_token,
|
2105
|
+
:destinations,
|
2106
|
+
:workspace_id)
|
2107
|
+
SENSITIVE = []
|
2108
|
+
include Aws::Structure
|
2109
|
+
end
|
2110
|
+
|
2111
|
+
# @!attribute [rw] status
|
2112
|
+
# The current status of the query logging configuration.
|
2113
|
+
# @return [Types::QueryLoggingConfigurationStatus]
|
2114
|
+
#
|
2115
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/UpdateQueryLoggingConfigurationResponse AWS API Documentation
|
2116
|
+
#
|
2117
|
+
class UpdateQueryLoggingConfigurationResponse < Struct.new(
|
2118
|
+
:status)
|
2119
|
+
SENSITIVE = []
|
2120
|
+
include Aws::Structure
|
2121
|
+
end
|
2122
|
+
|
1878
2123
|
# @!attribute [rw] alias
|
1879
2124
|
# The new alias of the scraper.
|
1880
2125
|
# @return [String]
|
@@ -1999,9 +2244,9 @@ module Aws::PrometheusService
|
|
1999
2244
|
#
|
2000
2245
|
# @!attribute [rw] limits_per_label_set
|
2001
2246
|
# This is an array of structures, where each structure defines a label
|
2002
|
-
# set for the workspace, and defines the
|
2003
|
-
#
|
2004
|
-
#
|
2247
|
+
# set for the workspace, and defines the active time series limit for
|
2248
|
+
# each of those label sets. Each label name in a label set must be
|
2249
|
+
# unique.
|
2005
2250
|
# @return [Array<Types::LimitsPerLabelSet>]
|
2006
2251
|
#
|
2007
2252
|
# @!attribute [rw] retention_period_in_days
|
data/sig/client.rbs
CHANGED
@@ -101,6 +101,27 @@ module Aws
|
|
101
101
|
) -> _CreateLoggingConfigurationResponseSuccess
|
102
102
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateLoggingConfigurationResponseSuccess
|
103
103
|
|
104
|
+
interface _CreateQueryLoggingConfigurationResponseSuccess
|
105
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateQueryLoggingConfigurationResponse]
|
106
|
+
def status: () -> Types::QueryLoggingConfigurationStatus
|
107
|
+
end
|
108
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#create_query_logging_configuration-instance_method
|
109
|
+
def create_query_logging_configuration: (
|
110
|
+
?client_token: ::String,
|
111
|
+
destinations: Array[
|
112
|
+
{
|
113
|
+
cloud_watch_logs: {
|
114
|
+
log_group_arn: ::String
|
115
|
+
},
|
116
|
+
filters: {
|
117
|
+
qsp_threshold: ::Integer
|
118
|
+
}
|
119
|
+
},
|
120
|
+
],
|
121
|
+
workspace_id: ::String
|
122
|
+
) -> _CreateQueryLoggingConfigurationResponseSuccess
|
123
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateQueryLoggingConfigurationResponseSuccess
|
124
|
+
|
104
125
|
interface _CreateRuleGroupsNamespaceResponseSuccess
|
105
126
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateRuleGroupsNamespaceResponse]
|
106
127
|
def arn: () -> ::String
|
@@ -183,6 +204,13 @@ module Aws
|
|
183
204
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
184
205
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
185
206
|
|
207
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#delete_query_logging_configuration-instance_method
|
208
|
+
def delete_query_logging_configuration: (
|
209
|
+
?client_token: ::String,
|
210
|
+
workspace_id: ::String
|
211
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
212
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
213
|
+
|
186
214
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#delete_rule_groups_namespace-instance_method
|
187
215
|
def delete_rule_groups_namespace: (
|
188
216
|
?client_token: ::String,
|
@@ -230,6 +258,16 @@ module Aws
|
|
230
258
|
) -> _DescribeLoggingConfigurationResponseSuccess
|
231
259
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeLoggingConfigurationResponseSuccess
|
232
260
|
|
261
|
+
interface _DescribeQueryLoggingConfigurationResponseSuccess
|
262
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeQueryLoggingConfigurationResponse]
|
263
|
+
def query_logging_configuration: () -> Types::QueryLoggingConfigurationMetadata
|
264
|
+
end
|
265
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#describe_query_logging_configuration-instance_method
|
266
|
+
def describe_query_logging_configuration: (
|
267
|
+
workspace_id: ::String
|
268
|
+
) -> _DescribeQueryLoggingConfigurationResponseSuccess
|
269
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeQueryLoggingConfigurationResponseSuccess
|
270
|
+
|
233
271
|
interface _DescribeRuleGroupsNamespaceResponseSuccess
|
234
272
|
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeRuleGroupsNamespaceResponse]
|
235
273
|
def rule_groups_namespace: () -> Types::RuleGroupsNamespaceDescription
|
@@ -390,6 +428,27 @@ module Aws
|
|
390
428
|
) -> _UpdateLoggingConfigurationResponseSuccess
|
391
429
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateLoggingConfigurationResponseSuccess
|
392
430
|
|
431
|
+
interface _UpdateQueryLoggingConfigurationResponseSuccess
|
432
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateQueryLoggingConfigurationResponse]
|
433
|
+
def status: () -> Types::QueryLoggingConfigurationStatus
|
434
|
+
end
|
435
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#update_query_logging_configuration-instance_method
|
436
|
+
def update_query_logging_configuration: (
|
437
|
+
?client_token: ::String,
|
438
|
+
destinations: Array[
|
439
|
+
{
|
440
|
+
cloud_watch_logs: {
|
441
|
+
log_group_arn: ::String
|
442
|
+
},
|
443
|
+
filters: {
|
444
|
+
qsp_threshold: ::Integer
|
445
|
+
}
|
446
|
+
},
|
447
|
+
],
|
448
|
+
workspace_id: ::String
|
449
|
+
) -> _UpdateQueryLoggingConfigurationResponseSuccess
|
450
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateQueryLoggingConfigurationResponseSuccess
|
451
|
+
|
393
452
|
interface _UpdateScraperResponseSuccess
|
394
453
|
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateScraperResponse]
|
395
454
|
def arn: () -> ::String
|
data/sig/types.rbs
CHANGED
@@ -32,6 +32,11 @@ module Aws::PrometheusService
|
|
32
32
|
SENSITIVE: []
|
33
33
|
end
|
34
34
|
|
35
|
+
class CloudWatchLogDestination
|
36
|
+
attr_accessor log_group_arn: ::String
|
37
|
+
SENSITIVE: []
|
38
|
+
end
|
39
|
+
|
35
40
|
class ConflictException
|
36
41
|
attr_accessor message: ::String
|
37
42
|
attr_accessor resource_id: ::String
|
@@ -63,6 +68,18 @@ module Aws::PrometheusService
|
|
63
68
|
SENSITIVE: []
|
64
69
|
end
|
65
70
|
|
71
|
+
class CreateQueryLoggingConfigurationRequest
|
72
|
+
attr_accessor client_token: ::String
|
73
|
+
attr_accessor destinations: ::Array[Types::LoggingDestination]
|
74
|
+
attr_accessor workspace_id: ::String
|
75
|
+
SENSITIVE: []
|
76
|
+
end
|
77
|
+
|
78
|
+
class CreateQueryLoggingConfigurationResponse
|
79
|
+
attr_accessor status: Types::QueryLoggingConfigurationStatus
|
80
|
+
SENSITIVE: []
|
81
|
+
end
|
82
|
+
|
66
83
|
class CreateRuleGroupsNamespaceRequest
|
67
84
|
attr_accessor client_token: ::String
|
68
85
|
attr_accessor data: ::String
|
@@ -128,6 +145,12 @@ module Aws::PrometheusService
|
|
128
145
|
SENSITIVE: []
|
129
146
|
end
|
130
147
|
|
148
|
+
class DeleteQueryLoggingConfigurationRequest
|
149
|
+
attr_accessor client_token: ::String
|
150
|
+
attr_accessor workspace_id: ::String
|
151
|
+
SENSITIVE: []
|
152
|
+
end
|
153
|
+
|
131
154
|
class DeleteRuleGroupsNamespaceRequest
|
132
155
|
attr_accessor client_token: ::String
|
133
156
|
attr_accessor name: ::String
|
@@ -173,6 +196,16 @@ module Aws::PrometheusService
|
|
173
196
|
SENSITIVE: []
|
174
197
|
end
|
175
198
|
|
199
|
+
class DescribeQueryLoggingConfigurationRequest
|
200
|
+
attr_accessor workspace_id: ::String
|
201
|
+
SENSITIVE: []
|
202
|
+
end
|
203
|
+
|
204
|
+
class DescribeQueryLoggingConfigurationResponse
|
205
|
+
attr_accessor query_logging_configuration: Types::QueryLoggingConfigurationMetadata
|
206
|
+
SENSITIVE: []
|
207
|
+
end
|
208
|
+
|
176
209
|
class DescribeRuleGroupsNamespaceRequest
|
177
210
|
attr_accessor name: ::String
|
178
211
|
attr_accessor workspace_id: ::String
|
@@ -322,6 +355,17 @@ module Aws::PrometheusService
|
|
322
355
|
SENSITIVE: []
|
323
356
|
end
|
324
357
|
|
358
|
+
class LoggingDestination
|
359
|
+
attr_accessor cloud_watch_logs: Types::CloudWatchLogDestination
|
360
|
+
attr_accessor filters: Types::LoggingFilter
|
361
|
+
SENSITIVE: []
|
362
|
+
end
|
363
|
+
|
364
|
+
class LoggingFilter
|
365
|
+
attr_accessor qsp_threshold: ::Integer
|
366
|
+
SENSITIVE: []
|
367
|
+
end
|
368
|
+
|
325
369
|
class PutAlertManagerDefinitionRequest
|
326
370
|
attr_accessor client_token: ::String
|
327
371
|
attr_accessor data: ::String
|
@@ -350,6 +394,21 @@ module Aws::PrometheusService
|
|
350
394
|
SENSITIVE: []
|
351
395
|
end
|
352
396
|
|
397
|
+
class QueryLoggingConfigurationMetadata
|
398
|
+
attr_accessor created_at: ::Time
|
399
|
+
attr_accessor destinations: ::Array[Types::LoggingDestination]
|
400
|
+
attr_accessor modified_at: ::Time
|
401
|
+
attr_accessor status: Types::QueryLoggingConfigurationStatus
|
402
|
+
attr_accessor workspace: ::String
|
403
|
+
SENSITIVE: []
|
404
|
+
end
|
405
|
+
|
406
|
+
class QueryLoggingConfigurationStatus
|
407
|
+
attr_accessor status_code: ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "CREATION_FAILED" | "UPDATE_FAILED")
|
408
|
+
attr_accessor status_reason: ::String
|
409
|
+
SENSITIVE: []
|
410
|
+
end
|
411
|
+
|
353
412
|
class ResourceNotFoundException
|
354
413
|
attr_accessor message: ::String
|
355
414
|
attr_accessor resource_id: ::String
|
@@ -497,6 +556,18 @@ module Aws::PrometheusService
|
|
497
556
|
SENSITIVE: []
|
498
557
|
end
|
499
558
|
|
559
|
+
class UpdateQueryLoggingConfigurationRequest
|
560
|
+
attr_accessor client_token: ::String
|
561
|
+
attr_accessor destinations: ::Array[Types::LoggingDestination]
|
562
|
+
attr_accessor workspace_id: ::String
|
563
|
+
SENSITIVE: []
|
564
|
+
end
|
565
|
+
|
566
|
+
class UpdateQueryLoggingConfigurationResponse
|
567
|
+
attr_accessor status: Types::QueryLoggingConfigurationStatus
|
568
|
+
SENSITIVE: []
|
569
|
+
end
|
570
|
+
|
500
571
|
class UpdateScraperRequest
|
501
572
|
attr_accessor alias: ::String
|
502
573
|
attr_accessor client_token: ::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.
|
4
|
+
version: 1.53.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.
|
21
|
+
version: 3.225.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.
|
31
|
+
version: 3.225.0
|
32
32
|
- !ruby/object:Gem::Dependency
|
33
33
|
name: aws-sigv4
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|
@@ -84,7 +84,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
84
84
|
requirements:
|
85
85
|
- - ">="
|
86
86
|
- !ruby/object:Gem::Version
|
87
|
-
version: '2.
|
87
|
+
version: '2.7'
|
88
88
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
89
89
|
requirements:
|
90
90
|
- - ">="
|