aws-sdk-prometheusservice 1.28.0 → 1.29.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-prometheusservice/client.rb +1 -1
- data/lib/aws-sdk-prometheusservice/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-prometheusservice.rb +1 -1
- data/sig/client.rbs +402 -0
- data/sig/errors.rbs +51 -0
- data/sig/resource.rbs +79 -0
- data/sig/types.rbs +518 -0
- data/sig/waiters.rbs +53 -0
- metadata +13 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e4f5b15c4f0943d55c4e8a76650cc7f1fc6cd8de0466333fa090982ba353050
|
4
|
+
data.tar.gz: 5689c1636815402a3aad6a3bb5366a4e31d0bea93473ac1cfeaa5b20a0927c1c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 446706612cb416a278d6b3673ba13c28e90b6b3d3822875063f146c32652afd0d60b6be5063931a96d0816ffd79c5248d314d326cad6640ec98c55cc5f899b2a
|
7
|
+
data.tar.gz: 57d7e5b639574e18a2512d2cd440c5ad0b746cc9c99c81c96ac77b4bfc946f155c07b863a5303fa47dff5995c67b90c943f3c532d8cd7bb726d4f967b891a4c3
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.29.0
|
@@ -1476,7 +1476,7 @@ module Aws::PrometheusService
|
|
1476
1476
|
params: params,
|
1477
1477
|
config: config)
|
1478
1478
|
context[:gem_name] = 'aws-sdk-prometheusservice'
|
1479
|
-
context[:gem_version] = '1.
|
1479
|
+
context[:gem_version] = '1.29.0'
|
1480
1480
|
Seahorse::Client::Request.new(handlers, context)
|
1481
1481
|
end
|
1482
1482
|
|
@@ -14,6 +14,7 @@ module Aws::PrometheusService
|
|
14
14
|
option(
|
15
15
|
:endpoint_provider,
|
16
16
|
doc_type: 'Aws::PrometheusService::EndpointProvider',
|
17
|
+
rbs_type: 'untyped',
|
17
18
|
docstring: 'The endpoint provider used to resolve endpoints. Any '\
|
18
19
|
'object that responds to `#resolve_endpoint(parameters)` '\
|
19
20
|
'where `parameters` is a Struct similar to '\
|
data/sig/client.rbs
ADDED
@@ -0,0 +1,402 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module PrometheusService
|
10
|
+
class Client < ::Seahorse::Client::Base
|
11
|
+
include ::Aws::ClientStubs
|
12
|
+
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#initialize-instance_method
|
14
|
+
def self.new: (
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?active_endpoint_cache: bool,
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
20
|
+
?client_side_monitoring: bool,
|
21
|
+
?client_side_monitoring_client_id: String,
|
22
|
+
?client_side_monitoring_host: String,
|
23
|
+
?client_side_monitoring_port: Integer,
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
25
|
+
?convert_params: bool,
|
26
|
+
?correct_clock_skew: bool,
|
27
|
+
?defaults_mode: String,
|
28
|
+
?disable_host_prefix_injection: bool,
|
29
|
+
?disable_request_compression: bool,
|
30
|
+
?endpoint: String,
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
34
|
+
?endpoint_discovery: bool,
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
36
|
+
?log_formatter: untyped,
|
37
|
+
?log_level: Symbol,
|
38
|
+
?logger: untyped,
|
39
|
+
?max_attempts: Integer,
|
40
|
+
?profile: String,
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
42
|
+
?retry_backoff: Proc,
|
43
|
+
?retry_base_delay: Float,
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
45
|
+
?retry_limit: Integer,
|
46
|
+
?retry_max_delay: Integer,
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
48
|
+
?sdk_ua_app_id: String,
|
49
|
+
?secret_access_key: String,
|
50
|
+
?session_token: String,
|
51
|
+
?stub_responses: untyped,
|
52
|
+
?token_provider: untyped,
|
53
|
+
?use_dualstack_endpoint: bool,
|
54
|
+
?use_fips_endpoint: bool,
|
55
|
+
?validate_params: bool,
|
56
|
+
?endpoint_provider: untyped,
|
57
|
+
?http_proxy: String,
|
58
|
+
?http_open_timeout: (Float | Integer),
|
59
|
+
?http_read_timeout: (Float | Integer),
|
60
|
+
?http_idle_timeout: (Float | Integer),
|
61
|
+
?http_continue_timeout: (Float | Integer),
|
62
|
+
?ssl_timeout: (Float | Integer | nil),
|
63
|
+
?http_wire_trace: bool,
|
64
|
+
?ssl_verify_peer: bool,
|
65
|
+
?ssl_ca_bundle: String,
|
66
|
+
?ssl_ca_directory: String,
|
67
|
+
?ssl_ca_store: String,
|
68
|
+
?on_chunk_received: Proc,
|
69
|
+
?on_chunk_sent: Proc,
|
70
|
+
?raise_response_errors: bool
|
71
|
+
) -> instance
|
72
|
+
| (?Hash[Symbol, untyped]) -> instance
|
73
|
+
|
74
|
+
|
75
|
+
interface _CreateAlertManagerDefinitionResponseSuccess
|
76
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateAlertManagerDefinitionResponse]
|
77
|
+
def status: () -> Types::AlertManagerDefinitionStatus
|
78
|
+
end
|
79
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#create_alert_manager_definition-instance_method
|
80
|
+
def create_alert_manager_definition: (
|
81
|
+
workspace_id: ::String,
|
82
|
+
data: ::String,
|
83
|
+
?client_token: ::String
|
84
|
+
) -> _CreateAlertManagerDefinitionResponseSuccess
|
85
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAlertManagerDefinitionResponseSuccess
|
86
|
+
|
87
|
+
interface _CreateLoggingConfigurationResponseSuccess
|
88
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateLoggingConfigurationResponse]
|
89
|
+
def status: () -> Types::LoggingConfigurationStatus
|
90
|
+
end
|
91
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#create_logging_configuration-instance_method
|
92
|
+
def create_logging_configuration: (
|
93
|
+
workspace_id: ::String,
|
94
|
+
log_group_arn: ::String,
|
95
|
+
?client_token: ::String
|
96
|
+
) -> _CreateLoggingConfigurationResponseSuccess
|
97
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateLoggingConfigurationResponseSuccess
|
98
|
+
|
99
|
+
interface _CreateRuleGroupsNamespaceResponseSuccess
|
100
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateRuleGroupsNamespaceResponse]
|
101
|
+
def name: () -> ::String
|
102
|
+
def arn: () -> ::String
|
103
|
+
def status: () -> Types::RuleGroupsNamespaceStatus
|
104
|
+
def tags: () -> ::Hash[::String, ::String]
|
105
|
+
end
|
106
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#create_rule_groups_namespace-instance_method
|
107
|
+
def create_rule_groups_namespace: (
|
108
|
+
workspace_id: ::String,
|
109
|
+
name: ::String,
|
110
|
+
data: ::String,
|
111
|
+
?client_token: ::String,
|
112
|
+
?tags: Hash[::String, ::String]
|
113
|
+
) -> _CreateRuleGroupsNamespaceResponseSuccess
|
114
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateRuleGroupsNamespaceResponseSuccess
|
115
|
+
|
116
|
+
interface _CreateScraperResponseSuccess
|
117
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateScraperResponse]
|
118
|
+
def scraper_id: () -> ::String
|
119
|
+
def arn: () -> ::String
|
120
|
+
def status: () -> Types::ScraperStatus
|
121
|
+
def tags: () -> ::Hash[::String, ::String]
|
122
|
+
end
|
123
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#create_scraper-instance_method
|
124
|
+
def create_scraper: (
|
125
|
+
?alias: ::String,
|
126
|
+
scrape_configuration: {
|
127
|
+
configuration_blob: ::String?
|
128
|
+
},
|
129
|
+
source: {
|
130
|
+
eks_configuration: {
|
131
|
+
cluster_arn: ::String,
|
132
|
+
security_group_ids: Array[::String]?,
|
133
|
+
subnet_ids: Array[::String]
|
134
|
+
}?
|
135
|
+
},
|
136
|
+
destination: {
|
137
|
+
amp_configuration: {
|
138
|
+
workspace_arn: ::String
|
139
|
+
}?
|
140
|
+
},
|
141
|
+
?client_token: ::String,
|
142
|
+
?tags: Hash[::String, ::String]
|
143
|
+
) -> _CreateScraperResponseSuccess
|
144
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateScraperResponseSuccess
|
145
|
+
|
146
|
+
interface _CreateWorkspaceResponseSuccess
|
147
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateWorkspaceResponse]
|
148
|
+
def workspace_id: () -> ::String
|
149
|
+
def arn: () -> ::String
|
150
|
+
def status: () -> Types::WorkspaceStatus
|
151
|
+
def tags: () -> ::Hash[::String, ::String]
|
152
|
+
def kms_key_arn: () -> ::String
|
153
|
+
end
|
154
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#create_workspace-instance_method
|
155
|
+
def create_workspace: (
|
156
|
+
?alias: ::String,
|
157
|
+
?client_token: ::String,
|
158
|
+
?tags: Hash[::String, ::String],
|
159
|
+
?kms_key_arn: ::String
|
160
|
+
) -> _CreateWorkspaceResponseSuccess
|
161
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateWorkspaceResponseSuccess
|
162
|
+
|
163
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#delete_alert_manager_definition-instance_method
|
164
|
+
def delete_alert_manager_definition: (
|
165
|
+
workspace_id: ::String,
|
166
|
+
?client_token: ::String
|
167
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
168
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
169
|
+
|
170
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#delete_logging_configuration-instance_method
|
171
|
+
def delete_logging_configuration: (
|
172
|
+
workspace_id: ::String,
|
173
|
+
?client_token: ::String
|
174
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
175
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
176
|
+
|
177
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#delete_rule_groups_namespace-instance_method
|
178
|
+
def delete_rule_groups_namespace: (
|
179
|
+
workspace_id: ::String,
|
180
|
+
name: ::String,
|
181
|
+
?client_token: ::String
|
182
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
183
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
184
|
+
|
185
|
+
interface _DeleteScraperResponseSuccess
|
186
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteScraperResponse]
|
187
|
+
def scraper_id: () -> ::String
|
188
|
+
def status: () -> Types::ScraperStatus
|
189
|
+
end
|
190
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#delete_scraper-instance_method
|
191
|
+
def delete_scraper: (
|
192
|
+
scraper_id: ::String,
|
193
|
+
?client_token: ::String
|
194
|
+
) -> _DeleteScraperResponseSuccess
|
195
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteScraperResponseSuccess
|
196
|
+
|
197
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#delete_workspace-instance_method
|
198
|
+
def delete_workspace: (
|
199
|
+
workspace_id: ::String,
|
200
|
+
?client_token: ::String
|
201
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
202
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
203
|
+
|
204
|
+
interface _DescribeAlertManagerDefinitionResponseSuccess
|
205
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeAlertManagerDefinitionResponse]
|
206
|
+
def alert_manager_definition: () -> Types::AlertManagerDefinitionDescription
|
207
|
+
end
|
208
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#describe_alert_manager_definition-instance_method
|
209
|
+
def describe_alert_manager_definition: (
|
210
|
+
workspace_id: ::String
|
211
|
+
) -> _DescribeAlertManagerDefinitionResponseSuccess
|
212
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeAlertManagerDefinitionResponseSuccess
|
213
|
+
|
214
|
+
interface _DescribeLoggingConfigurationResponseSuccess
|
215
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeLoggingConfigurationResponse]
|
216
|
+
def logging_configuration: () -> Types::LoggingConfigurationMetadata
|
217
|
+
end
|
218
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#describe_logging_configuration-instance_method
|
219
|
+
def describe_logging_configuration: (
|
220
|
+
workspace_id: ::String
|
221
|
+
) -> _DescribeLoggingConfigurationResponseSuccess
|
222
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeLoggingConfigurationResponseSuccess
|
223
|
+
|
224
|
+
interface _DescribeRuleGroupsNamespaceResponseSuccess
|
225
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeRuleGroupsNamespaceResponse]
|
226
|
+
def rule_groups_namespace: () -> Types::RuleGroupsNamespaceDescription
|
227
|
+
end
|
228
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#describe_rule_groups_namespace-instance_method
|
229
|
+
def describe_rule_groups_namespace: (
|
230
|
+
workspace_id: ::String,
|
231
|
+
name: ::String
|
232
|
+
) -> _DescribeRuleGroupsNamespaceResponseSuccess
|
233
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeRuleGroupsNamespaceResponseSuccess
|
234
|
+
|
235
|
+
interface _DescribeScraperResponseSuccess
|
236
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeScraperResponse]
|
237
|
+
def scraper: () -> Types::ScraperDescription
|
238
|
+
end
|
239
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#describe_scraper-instance_method
|
240
|
+
def describe_scraper: (
|
241
|
+
scraper_id: ::String
|
242
|
+
) -> _DescribeScraperResponseSuccess
|
243
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeScraperResponseSuccess
|
244
|
+
|
245
|
+
interface _DescribeWorkspaceResponseSuccess
|
246
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeWorkspaceResponse]
|
247
|
+
def workspace: () -> Types::WorkspaceDescription
|
248
|
+
end
|
249
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#describe_workspace-instance_method
|
250
|
+
def describe_workspace: (
|
251
|
+
workspace_id: ::String
|
252
|
+
) -> _DescribeWorkspaceResponseSuccess
|
253
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeWorkspaceResponseSuccess
|
254
|
+
|
255
|
+
interface _GetDefaultScraperConfigurationResponseSuccess
|
256
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetDefaultScraperConfigurationResponse]
|
257
|
+
def configuration: () -> ::String
|
258
|
+
end
|
259
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#get_default_scraper_configuration-instance_method
|
260
|
+
def get_default_scraper_configuration: (
|
261
|
+
) -> _GetDefaultScraperConfigurationResponseSuccess
|
262
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDefaultScraperConfigurationResponseSuccess
|
263
|
+
|
264
|
+
interface _ListRuleGroupsNamespacesResponseSuccess
|
265
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListRuleGroupsNamespacesResponse]
|
266
|
+
def rule_groups_namespaces: () -> ::Array[Types::RuleGroupsNamespaceSummary]
|
267
|
+
def next_token: () -> ::String
|
268
|
+
end
|
269
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#list_rule_groups_namespaces-instance_method
|
270
|
+
def list_rule_groups_namespaces: (
|
271
|
+
workspace_id: ::String,
|
272
|
+
?name: ::String,
|
273
|
+
?next_token: ::String,
|
274
|
+
?max_results: ::Integer
|
275
|
+
) -> _ListRuleGroupsNamespacesResponseSuccess
|
276
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRuleGroupsNamespacesResponseSuccess
|
277
|
+
|
278
|
+
interface _ListScrapersResponseSuccess
|
279
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListScrapersResponse]
|
280
|
+
def scrapers: () -> ::Array[Types::ScraperSummary]
|
281
|
+
def next_token: () -> ::String
|
282
|
+
end
|
283
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#list_scrapers-instance_method
|
284
|
+
def list_scrapers: (
|
285
|
+
?filters: Hash[::String, Array[::String]],
|
286
|
+
?next_token: ::String,
|
287
|
+
?max_results: ::Integer
|
288
|
+
) -> _ListScrapersResponseSuccess
|
289
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListScrapersResponseSuccess
|
290
|
+
|
291
|
+
interface _ListTagsForResourceResponseSuccess
|
292
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
|
293
|
+
def tags: () -> ::Hash[::String, ::String]
|
294
|
+
end
|
295
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#list_tags_for_resource-instance_method
|
296
|
+
def list_tags_for_resource: (
|
297
|
+
resource_arn: ::String
|
298
|
+
) -> _ListTagsForResourceResponseSuccess
|
299
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
300
|
+
|
301
|
+
interface _ListWorkspacesResponseSuccess
|
302
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListWorkspacesResponse]
|
303
|
+
def workspaces: () -> ::Array[Types::WorkspaceSummary]
|
304
|
+
def next_token: () -> ::String
|
305
|
+
end
|
306
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#list_workspaces-instance_method
|
307
|
+
def list_workspaces: (
|
308
|
+
?next_token: ::String,
|
309
|
+
?alias: ::String,
|
310
|
+
?max_results: ::Integer
|
311
|
+
) -> _ListWorkspacesResponseSuccess
|
312
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListWorkspacesResponseSuccess
|
313
|
+
|
314
|
+
interface _PutAlertManagerDefinitionResponseSuccess
|
315
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutAlertManagerDefinitionResponse]
|
316
|
+
def status: () -> Types::AlertManagerDefinitionStatus
|
317
|
+
end
|
318
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#put_alert_manager_definition-instance_method
|
319
|
+
def put_alert_manager_definition: (
|
320
|
+
workspace_id: ::String,
|
321
|
+
data: ::String,
|
322
|
+
?client_token: ::String
|
323
|
+
) -> _PutAlertManagerDefinitionResponseSuccess
|
324
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutAlertManagerDefinitionResponseSuccess
|
325
|
+
|
326
|
+
interface _PutRuleGroupsNamespaceResponseSuccess
|
327
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutRuleGroupsNamespaceResponse]
|
328
|
+
def name: () -> ::String
|
329
|
+
def arn: () -> ::String
|
330
|
+
def status: () -> Types::RuleGroupsNamespaceStatus
|
331
|
+
def tags: () -> ::Hash[::String, ::String]
|
332
|
+
end
|
333
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#put_rule_groups_namespace-instance_method
|
334
|
+
def put_rule_groups_namespace: (
|
335
|
+
workspace_id: ::String,
|
336
|
+
name: ::String,
|
337
|
+
data: ::String,
|
338
|
+
?client_token: ::String
|
339
|
+
) -> _PutRuleGroupsNamespaceResponseSuccess
|
340
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutRuleGroupsNamespaceResponseSuccess
|
341
|
+
|
342
|
+
interface _TagResourceResponseSuccess
|
343
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
|
344
|
+
end
|
345
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#tag_resource-instance_method
|
346
|
+
def tag_resource: (
|
347
|
+
resource_arn: ::String,
|
348
|
+
tags: Hash[::String, ::String]
|
349
|
+
) -> _TagResourceResponseSuccess
|
350
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
|
351
|
+
|
352
|
+
interface _UntagResourceResponseSuccess
|
353
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
|
354
|
+
end
|
355
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#untag_resource-instance_method
|
356
|
+
def untag_resource: (
|
357
|
+
resource_arn: ::String,
|
358
|
+
tag_keys: Array[::String]
|
359
|
+
) -> _UntagResourceResponseSuccess
|
360
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
|
361
|
+
|
362
|
+
interface _UpdateLoggingConfigurationResponseSuccess
|
363
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateLoggingConfigurationResponse]
|
364
|
+
def status: () -> Types::LoggingConfigurationStatus
|
365
|
+
end
|
366
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#update_logging_configuration-instance_method
|
367
|
+
def update_logging_configuration: (
|
368
|
+
workspace_id: ::String,
|
369
|
+
log_group_arn: ::String,
|
370
|
+
?client_token: ::String
|
371
|
+
) -> _UpdateLoggingConfigurationResponseSuccess
|
372
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateLoggingConfigurationResponseSuccess
|
373
|
+
|
374
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#update_workspace_alias-instance_method
|
375
|
+
def update_workspace_alias: (
|
376
|
+
workspace_id: ::String,
|
377
|
+
?alias: ::String,
|
378
|
+
?client_token: ::String
|
379
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
380
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
381
|
+
|
382
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#wait_until-instance_method
|
383
|
+
def wait_until: (:scraper_active waiter_name,
|
384
|
+
scraper_id: ::String
|
385
|
+
) -> Client::_DescribeScraperResponseSuccess
|
386
|
+
| (:scraper_active waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeScraperResponseSuccess
|
387
|
+
| (:scraper_deleted waiter_name,
|
388
|
+
scraper_id: ::String
|
389
|
+
) -> Client::_DescribeScraperResponseSuccess
|
390
|
+
| (:scraper_deleted waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeScraperResponseSuccess
|
391
|
+
| (:workspace_active waiter_name,
|
392
|
+
workspace_id: ::String
|
393
|
+
) -> Client::_DescribeWorkspaceResponseSuccess
|
394
|
+
| (:workspace_active waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeWorkspaceResponseSuccess
|
395
|
+
| (:workspace_deleted waiter_name,
|
396
|
+
workspace_id: ::String
|
397
|
+
) -> Client::_DescribeWorkspaceResponseSuccess
|
398
|
+
| (:workspace_deleted waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeWorkspaceResponseSuccess
|
399
|
+
end
|
400
|
+
end
|
401
|
+
end
|
402
|
+
|
data/sig/errors.rbs
ADDED
@@ -0,0 +1,51 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module PrometheusService
|
10
|
+
module Errors
|
11
|
+
class ServiceError < ::Aws::Errors::ServiceError
|
12
|
+
end
|
13
|
+
|
14
|
+
class AccessDeniedException < ::Aws::Errors::ServiceError
|
15
|
+
def message: () -> ::String
|
16
|
+
end
|
17
|
+
class ConflictException < ::Aws::Errors::ServiceError
|
18
|
+
def message: () -> ::String
|
19
|
+
def resource_id: () -> ::String
|
20
|
+
def resource_type: () -> ::String
|
21
|
+
end
|
22
|
+
class InternalServerException < ::Aws::Errors::ServiceError
|
23
|
+
def message: () -> ::String
|
24
|
+
def retry_after_seconds: () -> ::String
|
25
|
+
end
|
26
|
+
class ResourceNotFoundException < ::Aws::Errors::ServiceError
|
27
|
+
def message: () -> ::String
|
28
|
+
def resource_id: () -> ::String
|
29
|
+
def resource_type: () -> ::String
|
30
|
+
end
|
31
|
+
class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
|
32
|
+
def message: () -> ::String
|
33
|
+
def resource_id: () -> ::String
|
34
|
+
def resource_type: () -> ::String
|
35
|
+
def service_code: () -> ::String
|
36
|
+
def quota_code: () -> ::String
|
37
|
+
end
|
38
|
+
class ThrottlingException < ::Aws::Errors::ServiceError
|
39
|
+
def message: () -> ::String
|
40
|
+
def service_code: () -> ::String
|
41
|
+
def quota_code: () -> ::String
|
42
|
+
def retry_after_seconds: () -> ::String
|
43
|
+
end
|
44
|
+
class ValidationException < ::Aws::Errors::ServiceError
|
45
|
+
def message: () -> ::String
|
46
|
+
def reason: () -> ::String
|
47
|
+
def field_list: () -> ::String
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
data/sig/resource.rbs
ADDED
@@ -0,0 +1,79 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module PrometheusService
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Resource.html
|
11
|
+
class Resource
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Resource.html#initialize-instance_method
|
13
|
+
def initialize: (
|
14
|
+
?client: Client,
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?active_endpoint_cache: bool,
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
20
|
+
?client_side_monitoring: bool,
|
21
|
+
?client_side_monitoring_client_id: String,
|
22
|
+
?client_side_monitoring_host: String,
|
23
|
+
?client_side_monitoring_port: Integer,
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
25
|
+
?convert_params: bool,
|
26
|
+
?correct_clock_skew: bool,
|
27
|
+
?defaults_mode: String,
|
28
|
+
?disable_host_prefix_injection: bool,
|
29
|
+
?disable_request_compression: bool,
|
30
|
+
?endpoint: String,
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
34
|
+
?endpoint_discovery: bool,
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
36
|
+
?log_formatter: untyped,
|
37
|
+
?log_level: Symbol,
|
38
|
+
?logger: untyped,
|
39
|
+
?max_attempts: Integer,
|
40
|
+
?profile: String,
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
42
|
+
?retry_backoff: Proc,
|
43
|
+
?retry_base_delay: Float,
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
45
|
+
?retry_limit: Integer,
|
46
|
+
?retry_max_delay: Integer,
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
48
|
+
?sdk_ua_app_id: String,
|
49
|
+
?secret_access_key: String,
|
50
|
+
?session_token: String,
|
51
|
+
?stub_responses: untyped,
|
52
|
+
?token_provider: untyped,
|
53
|
+
?use_dualstack_endpoint: bool,
|
54
|
+
?use_fips_endpoint: bool,
|
55
|
+
?validate_params: bool,
|
56
|
+
?endpoint_provider: untyped,
|
57
|
+
?http_proxy: String,
|
58
|
+
?http_open_timeout: (Float | Integer),
|
59
|
+
?http_read_timeout: (Float | Integer),
|
60
|
+
?http_idle_timeout: (Float | Integer),
|
61
|
+
?http_continue_timeout: (Float | Integer),
|
62
|
+
?ssl_timeout: (Float | Integer | nil),
|
63
|
+
?http_wire_trace: bool,
|
64
|
+
?ssl_verify_peer: bool,
|
65
|
+
?ssl_ca_bundle: String,
|
66
|
+
?ssl_ca_directory: String,
|
67
|
+
?ssl_ca_store: String,
|
68
|
+
?on_chunk_received: Proc,
|
69
|
+
?on_chunk_sent: Proc,
|
70
|
+
?raise_response_errors: bool
|
71
|
+
) -> void
|
72
|
+
| (?Hash[Symbol, untyped]) -> void
|
73
|
+
|
74
|
+
def client: () -> Client
|
75
|
+
|
76
|
+
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
data/sig/types.rbs
ADDED
@@ -0,0 +1,518 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws::PrometheusService
|
9
|
+
module Types
|
10
|
+
|
11
|
+
class AccessDeniedException
|
12
|
+
attr_accessor message: ::String
|
13
|
+
SENSITIVE: []
|
14
|
+
end
|
15
|
+
|
16
|
+
class AlertManagerDefinitionDescription
|
17
|
+
attr_accessor status: Types::AlertManagerDefinitionStatus
|
18
|
+
attr_accessor data: ::String
|
19
|
+
attr_accessor created_at: ::Time
|
20
|
+
attr_accessor modified_at: ::Time
|
21
|
+
SENSITIVE: []
|
22
|
+
end
|
23
|
+
|
24
|
+
class AlertManagerDefinitionStatus
|
25
|
+
attr_accessor status_code: ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "CREATION_FAILED" | "UPDATE_FAILED")
|
26
|
+
attr_accessor status_reason: ::String
|
27
|
+
SENSITIVE: []
|
28
|
+
end
|
29
|
+
|
30
|
+
class AmpConfiguration
|
31
|
+
attr_accessor workspace_arn: ::String
|
32
|
+
SENSITIVE: []
|
33
|
+
end
|
34
|
+
|
35
|
+
class ConflictException
|
36
|
+
attr_accessor message: ::String
|
37
|
+
attr_accessor resource_id: ::String
|
38
|
+
attr_accessor resource_type: ::String
|
39
|
+
SENSITIVE: []
|
40
|
+
end
|
41
|
+
|
42
|
+
class CreateAlertManagerDefinitionRequest
|
43
|
+
attr_accessor workspace_id: ::String
|
44
|
+
attr_accessor data: ::String
|
45
|
+
attr_accessor client_token: ::String
|
46
|
+
SENSITIVE: []
|
47
|
+
end
|
48
|
+
|
49
|
+
class CreateAlertManagerDefinitionResponse
|
50
|
+
attr_accessor status: Types::AlertManagerDefinitionStatus
|
51
|
+
SENSITIVE: []
|
52
|
+
end
|
53
|
+
|
54
|
+
class CreateLoggingConfigurationRequest
|
55
|
+
attr_accessor workspace_id: ::String
|
56
|
+
attr_accessor log_group_arn: ::String
|
57
|
+
attr_accessor client_token: ::String
|
58
|
+
SENSITIVE: []
|
59
|
+
end
|
60
|
+
|
61
|
+
class CreateLoggingConfigurationResponse
|
62
|
+
attr_accessor status: Types::LoggingConfigurationStatus
|
63
|
+
SENSITIVE: []
|
64
|
+
end
|
65
|
+
|
66
|
+
class CreateRuleGroupsNamespaceRequest
|
67
|
+
attr_accessor workspace_id: ::String
|
68
|
+
attr_accessor name: ::String
|
69
|
+
attr_accessor data: ::String
|
70
|
+
attr_accessor client_token: ::String
|
71
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
72
|
+
SENSITIVE: []
|
73
|
+
end
|
74
|
+
|
75
|
+
class CreateRuleGroupsNamespaceResponse
|
76
|
+
attr_accessor name: ::String
|
77
|
+
attr_accessor arn: ::String
|
78
|
+
attr_accessor status: Types::RuleGroupsNamespaceStatus
|
79
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
80
|
+
SENSITIVE: []
|
81
|
+
end
|
82
|
+
|
83
|
+
class CreateScraperRequest
|
84
|
+
attr_accessor alias: ::String
|
85
|
+
attr_accessor scrape_configuration: Types::ScrapeConfiguration
|
86
|
+
attr_accessor source: Types::Source
|
87
|
+
attr_accessor destination: Types::Destination
|
88
|
+
attr_accessor client_token: ::String
|
89
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
90
|
+
SENSITIVE: []
|
91
|
+
end
|
92
|
+
|
93
|
+
class CreateScraperResponse
|
94
|
+
attr_accessor scraper_id: ::String
|
95
|
+
attr_accessor arn: ::String
|
96
|
+
attr_accessor status: Types::ScraperStatus
|
97
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
98
|
+
SENSITIVE: []
|
99
|
+
end
|
100
|
+
|
101
|
+
class CreateWorkspaceRequest
|
102
|
+
attr_accessor alias: ::String
|
103
|
+
attr_accessor client_token: ::String
|
104
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
105
|
+
attr_accessor kms_key_arn: ::String
|
106
|
+
SENSITIVE: []
|
107
|
+
end
|
108
|
+
|
109
|
+
class CreateWorkspaceResponse
|
110
|
+
attr_accessor workspace_id: ::String
|
111
|
+
attr_accessor arn: ::String
|
112
|
+
attr_accessor status: Types::WorkspaceStatus
|
113
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
114
|
+
attr_accessor kms_key_arn: ::String
|
115
|
+
SENSITIVE: []
|
116
|
+
end
|
117
|
+
|
118
|
+
class DeleteAlertManagerDefinitionRequest
|
119
|
+
attr_accessor workspace_id: ::String
|
120
|
+
attr_accessor client_token: ::String
|
121
|
+
SENSITIVE: []
|
122
|
+
end
|
123
|
+
|
124
|
+
class DeleteLoggingConfigurationRequest
|
125
|
+
attr_accessor workspace_id: ::String
|
126
|
+
attr_accessor client_token: ::String
|
127
|
+
SENSITIVE: []
|
128
|
+
end
|
129
|
+
|
130
|
+
class DeleteRuleGroupsNamespaceRequest
|
131
|
+
attr_accessor workspace_id: ::String
|
132
|
+
attr_accessor name: ::String
|
133
|
+
attr_accessor client_token: ::String
|
134
|
+
SENSITIVE: []
|
135
|
+
end
|
136
|
+
|
137
|
+
class DeleteScraperRequest
|
138
|
+
attr_accessor scraper_id: ::String
|
139
|
+
attr_accessor client_token: ::String
|
140
|
+
SENSITIVE: []
|
141
|
+
end
|
142
|
+
|
143
|
+
class DeleteScraperResponse
|
144
|
+
attr_accessor scraper_id: ::String
|
145
|
+
attr_accessor status: Types::ScraperStatus
|
146
|
+
SENSITIVE: []
|
147
|
+
end
|
148
|
+
|
149
|
+
class DeleteWorkspaceRequest
|
150
|
+
attr_accessor workspace_id: ::String
|
151
|
+
attr_accessor client_token: ::String
|
152
|
+
SENSITIVE: []
|
153
|
+
end
|
154
|
+
|
155
|
+
class DescribeAlertManagerDefinitionRequest
|
156
|
+
attr_accessor workspace_id: ::String
|
157
|
+
SENSITIVE: []
|
158
|
+
end
|
159
|
+
|
160
|
+
class DescribeAlertManagerDefinitionResponse
|
161
|
+
attr_accessor alert_manager_definition: Types::AlertManagerDefinitionDescription
|
162
|
+
SENSITIVE: []
|
163
|
+
end
|
164
|
+
|
165
|
+
class DescribeLoggingConfigurationRequest
|
166
|
+
attr_accessor workspace_id: ::String
|
167
|
+
SENSITIVE: []
|
168
|
+
end
|
169
|
+
|
170
|
+
class DescribeLoggingConfigurationResponse
|
171
|
+
attr_accessor logging_configuration: Types::LoggingConfigurationMetadata
|
172
|
+
SENSITIVE: []
|
173
|
+
end
|
174
|
+
|
175
|
+
class DescribeRuleGroupsNamespaceRequest
|
176
|
+
attr_accessor workspace_id: ::String
|
177
|
+
attr_accessor name: ::String
|
178
|
+
SENSITIVE: []
|
179
|
+
end
|
180
|
+
|
181
|
+
class DescribeRuleGroupsNamespaceResponse
|
182
|
+
attr_accessor rule_groups_namespace: Types::RuleGroupsNamespaceDescription
|
183
|
+
SENSITIVE: []
|
184
|
+
end
|
185
|
+
|
186
|
+
class DescribeScraperRequest
|
187
|
+
attr_accessor scraper_id: ::String
|
188
|
+
SENSITIVE: []
|
189
|
+
end
|
190
|
+
|
191
|
+
class DescribeScraperResponse
|
192
|
+
attr_accessor scraper: Types::ScraperDescription
|
193
|
+
SENSITIVE: []
|
194
|
+
end
|
195
|
+
|
196
|
+
class DescribeWorkspaceRequest
|
197
|
+
attr_accessor workspace_id: ::String
|
198
|
+
SENSITIVE: []
|
199
|
+
end
|
200
|
+
|
201
|
+
class DescribeWorkspaceResponse
|
202
|
+
attr_accessor workspace: Types::WorkspaceDescription
|
203
|
+
SENSITIVE: []
|
204
|
+
end
|
205
|
+
|
206
|
+
class Destination
|
207
|
+
attr_accessor amp_configuration: Types::AmpConfiguration
|
208
|
+
attr_accessor unknown: untyped
|
209
|
+
SENSITIVE: []
|
210
|
+
|
211
|
+
class AmpConfiguration < Destination
|
212
|
+
end
|
213
|
+
class Unknown < Destination
|
214
|
+
end
|
215
|
+
end
|
216
|
+
|
217
|
+
class EksConfiguration
|
218
|
+
attr_accessor cluster_arn: ::String
|
219
|
+
attr_accessor security_group_ids: ::Array[::String]
|
220
|
+
attr_accessor subnet_ids: ::Array[::String]
|
221
|
+
SENSITIVE: []
|
222
|
+
end
|
223
|
+
|
224
|
+
class GetDefaultScraperConfigurationRequest < Aws::EmptyStructure
|
225
|
+
end
|
226
|
+
|
227
|
+
class GetDefaultScraperConfigurationResponse
|
228
|
+
attr_accessor configuration: ::String
|
229
|
+
SENSITIVE: []
|
230
|
+
end
|
231
|
+
|
232
|
+
class InternalServerException
|
233
|
+
attr_accessor message: ::String
|
234
|
+
attr_accessor retry_after_seconds: ::Integer
|
235
|
+
SENSITIVE: []
|
236
|
+
end
|
237
|
+
|
238
|
+
class ListRuleGroupsNamespacesRequest
|
239
|
+
attr_accessor workspace_id: ::String
|
240
|
+
attr_accessor name: ::String
|
241
|
+
attr_accessor next_token: ::String
|
242
|
+
attr_accessor max_results: ::Integer
|
243
|
+
SENSITIVE: []
|
244
|
+
end
|
245
|
+
|
246
|
+
class ListRuleGroupsNamespacesResponse
|
247
|
+
attr_accessor rule_groups_namespaces: ::Array[Types::RuleGroupsNamespaceSummary]
|
248
|
+
attr_accessor next_token: ::String
|
249
|
+
SENSITIVE: []
|
250
|
+
end
|
251
|
+
|
252
|
+
class ListScrapersRequest
|
253
|
+
attr_accessor filters: ::Hash[::String, ::Array[::String]]
|
254
|
+
attr_accessor next_token: ::String
|
255
|
+
attr_accessor max_results: ::Integer
|
256
|
+
SENSITIVE: []
|
257
|
+
end
|
258
|
+
|
259
|
+
class ListScrapersResponse
|
260
|
+
attr_accessor scrapers: ::Array[Types::ScraperSummary]
|
261
|
+
attr_accessor next_token: ::String
|
262
|
+
SENSITIVE: []
|
263
|
+
end
|
264
|
+
|
265
|
+
class ListTagsForResourceRequest
|
266
|
+
attr_accessor resource_arn: ::String
|
267
|
+
SENSITIVE: []
|
268
|
+
end
|
269
|
+
|
270
|
+
class ListTagsForResourceResponse
|
271
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
272
|
+
SENSITIVE: []
|
273
|
+
end
|
274
|
+
|
275
|
+
class ListWorkspacesRequest
|
276
|
+
attr_accessor next_token: ::String
|
277
|
+
attr_accessor alias: ::String
|
278
|
+
attr_accessor max_results: ::Integer
|
279
|
+
SENSITIVE: []
|
280
|
+
end
|
281
|
+
|
282
|
+
class ListWorkspacesResponse
|
283
|
+
attr_accessor workspaces: ::Array[Types::WorkspaceSummary]
|
284
|
+
attr_accessor next_token: ::String
|
285
|
+
SENSITIVE: []
|
286
|
+
end
|
287
|
+
|
288
|
+
class LoggingConfigurationMetadata
|
289
|
+
attr_accessor status: Types::LoggingConfigurationStatus
|
290
|
+
attr_accessor workspace: ::String
|
291
|
+
attr_accessor log_group_arn: ::String
|
292
|
+
attr_accessor created_at: ::Time
|
293
|
+
attr_accessor modified_at: ::Time
|
294
|
+
SENSITIVE: []
|
295
|
+
end
|
296
|
+
|
297
|
+
class LoggingConfigurationStatus
|
298
|
+
attr_accessor status_code: ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "CREATION_FAILED" | "UPDATE_FAILED")
|
299
|
+
attr_accessor status_reason: ::String
|
300
|
+
SENSITIVE: []
|
301
|
+
end
|
302
|
+
|
303
|
+
class PutAlertManagerDefinitionRequest
|
304
|
+
attr_accessor workspace_id: ::String
|
305
|
+
attr_accessor data: ::String
|
306
|
+
attr_accessor client_token: ::String
|
307
|
+
SENSITIVE: []
|
308
|
+
end
|
309
|
+
|
310
|
+
class PutAlertManagerDefinitionResponse
|
311
|
+
attr_accessor status: Types::AlertManagerDefinitionStatus
|
312
|
+
SENSITIVE: []
|
313
|
+
end
|
314
|
+
|
315
|
+
class PutRuleGroupsNamespaceRequest
|
316
|
+
attr_accessor workspace_id: ::String
|
317
|
+
attr_accessor name: ::String
|
318
|
+
attr_accessor data: ::String
|
319
|
+
attr_accessor client_token: ::String
|
320
|
+
SENSITIVE: []
|
321
|
+
end
|
322
|
+
|
323
|
+
class PutRuleGroupsNamespaceResponse
|
324
|
+
attr_accessor name: ::String
|
325
|
+
attr_accessor arn: ::String
|
326
|
+
attr_accessor status: Types::RuleGroupsNamespaceStatus
|
327
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
328
|
+
SENSITIVE: []
|
329
|
+
end
|
330
|
+
|
331
|
+
class ResourceNotFoundException
|
332
|
+
attr_accessor message: ::String
|
333
|
+
attr_accessor resource_id: ::String
|
334
|
+
attr_accessor resource_type: ::String
|
335
|
+
SENSITIVE: []
|
336
|
+
end
|
337
|
+
|
338
|
+
class RuleGroupsNamespaceDescription
|
339
|
+
attr_accessor arn: ::String
|
340
|
+
attr_accessor name: ::String
|
341
|
+
attr_accessor status: Types::RuleGroupsNamespaceStatus
|
342
|
+
attr_accessor data: ::String
|
343
|
+
attr_accessor created_at: ::Time
|
344
|
+
attr_accessor modified_at: ::Time
|
345
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
346
|
+
SENSITIVE: []
|
347
|
+
end
|
348
|
+
|
349
|
+
class RuleGroupsNamespaceStatus
|
350
|
+
attr_accessor status_code: ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "CREATION_FAILED" | "UPDATE_FAILED")
|
351
|
+
attr_accessor status_reason: ::String
|
352
|
+
SENSITIVE: []
|
353
|
+
end
|
354
|
+
|
355
|
+
class RuleGroupsNamespaceSummary
|
356
|
+
attr_accessor arn: ::String
|
357
|
+
attr_accessor name: ::String
|
358
|
+
attr_accessor status: Types::RuleGroupsNamespaceStatus
|
359
|
+
attr_accessor created_at: ::Time
|
360
|
+
attr_accessor modified_at: ::Time
|
361
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
362
|
+
SENSITIVE: []
|
363
|
+
end
|
364
|
+
|
365
|
+
class ScrapeConfiguration
|
366
|
+
attr_accessor configuration_blob: ::String
|
367
|
+
attr_accessor unknown: untyped
|
368
|
+
SENSITIVE: []
|
369
|
+
|
370
|
+
class ConfigurationBlob < ScrapeConfiguration
|
371
|
+
end
|
372
|
+
class Unknown < ScrapeConfiguration
|
373
|
+
end
|
374
|
+
end
|
375
|
+
|
376
|
+
class ScraperDescription
|
377
|
+
attr_accessor alias: ::String
|
378
|
+
attr_accessor scraper_id: ::String
|
379
|
+
attr_accessor arn: ::String
|
380
|
+
attr_accessor role_arn: ::String
|
381
|
+
attr_accessor status: Types::ScraperStatus
|
382
|
+
attr_accessor created_at: ::Time
|
383
|
+
attr_accessor last_modified_at: ::Time
|
384
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
385
|
+
attr_accessor status_reason: ::String
|
386
|
+
attr_accessor scrape_configuration: Types::ScrapeConfiguration
|
387
|
+
attr_accessor source: Types::Source
|
388
|
+
attr_accessor destination: Types::Destination
|
389
|
+
SENSITIVE: []
|
390
|
+
end
|
391
|
+
|
392
|
+
class ScraperStatus
|
393
|
+
attr_accessor status_code: ("CREATING" | "ACTIVE" | "DELETING" | "CREATION_FAILED" | "DELETION_FAILED")
|
394
|
+
SENSITIVE: []
|
395
|
+
end
|
396
|
+
|
397
|
+
class ScraperSummary
|
398
|
+
attr_accessor alias: ::String
|
399
|
+
attr_accessor scraper_id: ::String
|
400
|
+
attr_accessor arn: ::String
|
401
|
+
attr_accessor role_arn: ::String
|
402
|
+
attr_accessor status: Types::ScraperStatus
|
403
|
+
attr_accessor created_at: ::Time
|
404
|
+
attr_accessor last_modified_at: ::Time
|
405
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
406
|
+
attr_accessor status_reason: ::String
|
407
|
+
attr_accessor source: Types::Source
|
408
|
+
attr_accessor destination: Types::Destination
|
409
|
+
SENSITIVE: []
|
410
|
+
end
|
411
|
+
|
412
|
+
class ServiceQuotaExceededException
|
413
|
+
attr_accessor message: ::String
|
414
|
+
attr_accessor resource_id: ::String
|
415
|
+
attr_accessor resource_type: ::String
|
416
|
+
attr_accessor service_code: ::String
|
417
|
+
attr_accessor quota_code: ::String
|
418
|
+
SENSITIVE: []
|
419
|
+
end
|
420
|
+
|
421
|
+
class Source
|
422
|
+
attr_accessor eks_configuration: Types::EksConfiguration
|
423
|
+
attr_accessor unknown: untyped
|
424
|
+
SENSITIVE: []
|
425
|
+
|
426
|
+
class EksConfiguration < Source
|
427
|
+
end
|
428
|
+
class Unknown < Source
|
429
|
+
end
|
430
|
+
end
|
431
|
+
|
432
|
+
class TagResourceRequest
|
433
|
+
attr_accessor resource_arn: ::String
|
434
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
435
|
+
SENSITIVE: []
|
436
|
+
end
|
437
|
+
|
438
|
+
class TagResourceResponse < Aws::EmptyStructure
|
439
|
+
end
|
440
|
+
|
441
|
+
class ThrottlingException
|
442
|
+
attr_accessor message: ::String
|
443
|
+
attr_accessor service_code: ::String
|
444
|
+
attr_accessor quota_code: ::String
|
445
|
+
attr_accessor retry_after_seconds: ::Integer
|
446
|
+
SENSITIVE: []
|
447
|
+
end
|
448
|
+
|
449
|
+
class UntagResourceRequest
|
450
|
+
attr_accessor resource_arn: ::String
|
451
|
+
attr_accessor tag_keys: ::Array[::String]
|
452
|
+
SENSITIVE: []
|
453
|
+
end
|
454
|
+
|
455
|
+
class UntagResourceResponse < Aws::EmptyStructure
|
456
|
+
end
|
457
|
+
|
458
|
+
class UpdateLoggingConfigurationRequest
|
459
|
+
attr_accessor workspace_id: ::String
|
460
|
+
attr_accessor log_group_arn: ::String
|
461
|
+
attr_accessor client_token: ::String
|
462
|
+
SENSITIVE: []
|
463
|
+
end
|
464
|
+
|
465
|
+
class UpdateLoggingConfigurationResponse
|
466
|
+
attr_accessor status: Types::LoggingConfigurationStatus
|
467
|
+
SENSITIVE: []
|
468
|
+
end
|
469
|
+
|
470
|
+
class UpdateWorkspaceAliasRequest
|
471
|
+
attr_accessor workspace_id: ::String
|
472
|
+
attr_accessor alias: ::String
|
473
|
+
attr_accessor client_token: ::String
|
474
|
+
SENSITIVE: []
|
475
|
+
end
|
476
|
+
|
477
|
+
class ValidationException
|
478
|
+
attr_accessor message: ::String
|
479
|
+
attr_accessor reason: ("UNKNOWN_OPERATION" | "CANNOT_PARSE" | "FIELD_VALIDATION_FAILED" | "OTHER")
|
480
|
+
attr_accessor field_list: ::Array[Types::ValidationExceptionField]
|
481
|
+
SENSITIVE: []
|
482
|
+
end
|
483
|
+
|
484
|
+
class ValidationExceptionField
|
485
|
+
attr_accessor name: ::String
|
486
|
+
attr_accessor message: ::String
|
487
|
+
SENSITIVE: []
|
488
|
+
end
|
489
|
+
|
490
|
+
class WorkspaceDescription
|
491
|
+
attr_accessor workspace_id: ::String
|
492
|
+
attr_accessor alias: ::String
|
493
|
+
attr_accessor arn: ::String
|
494
|
+
attr_accessor status: Types::WorkspaceStatus
|
495
|
+
attr_accessor prometheus_endpoint: ::String
|
496
|
+
attr_accessor created_at: ::Time
|
497
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
498
|
+
attr_accessor kms_key_arn: ::String
|
499
|
+
SENSITIVE: []
|
500
|
+
end
|
501
|
+
|
502
|
+
class WorkspaceStatus
|
503
|
+
attr_accessor status_code: ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "CREATION_FAILED")
|
504
|
+
SENSITIVE: []
|
505
|
+
end
|
506
|
+
|
507
|
+
class WorkspaceSummary
|
508
|
+
attr_accessor workspace_id: ::String
|
509
|
+
attr_accessor alias: ::String
|
510
|
+
attr_accessor arn: ::String
|
511
|
+
attr_accessor status: Types::WorkspaceStatus
|
512
|
+
attr_accessor created_at: ::Time
|
513
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
514
|
+
attr_accessor kms_key_arn: ::String
|
515
|
+
SENSITIVE: []
|
516
|
+
end
|
517
|
+
end
|
518
|
+
end
|
data/sig/waiters.rbs
ADDED
@@ -0,0 +1,53 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module PrometheusService
|
10
|
+
module Waiters
|
11
|
+
|
12
|
+
class ScraperActive
|
13
|
+
def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void
|
14
|
+
| (?Hash[Symbol, untyped]) -> void
|
15
|
+
|
16
|
+
def wait: (
|
17
|
+
scraper_id: ::String
|
18
|
+
) -> Client::_DescribeScraperResponseSuccess
|
19
|
+
| (Hash[Symbol, untyped]) -> Client::_DescribeScraperResponseSuccess
|
20
|
+
end
|
21
|
+
|
22
|
+
class ScraperDeleted
|
23
|
+
def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void
|
24
|
+
| (?Hash[Symbol, untyped]) -> void
|
25
|
+
|
26
|
+
def wait: (
|
27
|
+
scraper_id: ::String
|
28
|
+
) -> Client::_DescribeScraperResponseSuccess
|
29
|
+
| (Hash[Symbol, untyped]) -> Client::_DescribeScraperResponseSuccess
|
30
|
+
end
|
31
|
+
|
32
|
+
class WorkspaceActive
|
33
|
+
def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void
|
34
|
+
| (?Hash[Symbol, untyped]) -> void
|
35
|
+
|
36
|
+
def wait: (
|
37
|
+
workspace_id: ::String
|
38
|
+
) -> Client::_DescribeWorkspaceResponseSuccess
|
39
|
+
| (Hash[Symbol, untyped]) -> Client::_DescribeWorkspaceResponseSuccess
|
40
|
+
end
|
41
|
+
|
42
|
+
class WorkspaceDeleted
|
43
|
+
def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void
|
44
|
+
| (?Hash[Symbol, untyped]) -> void
|
45
|
+
|
46
|
+
def wait: (
|
47
|
+
workspace_id: ::String
|
48
|
+
) -> Client::_DescribeWorkspaceResponseSuccess
|
49
|
+
| (Hash[Symbol, untyped]) -> Client::_DescribeWorkspaceResponseSuccess
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.29.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-01-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.191.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.191.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -67,13 +67,18 @@ files:
|
|
67
67
|
- lib/aws-sdk-prometheusservice/resource.rb
|
68
68
|
- lib/aws-sdk-prometheusservice/types.rb
|
69
69
|
- lib/aws-sdk-prometheusservice/waiters.rb
|
70
|
+
- sig/client.rbs
|
71
|
+
- sig/errors.rbs
|
72
|
+
- sig/resource.rbs
|
73
|
+
- sig/types.rbs
|
74
|
+
- sig/waiters.rbs
|
70
75
|
homepage: https://github.com/aws/aws-sdk-ruby
|
71
76
|
licenses:
|
72
77
|
- Apache-2.0
|
73
78
|
metadata:
|
74
79
|
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-prometheusservice
|
75
80
|
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-prometheusservice/CHANGELOG.md
|
76
|
-
post_install_message:
|
81
|
+
post_install_message:
|
77
82
|
rdoc_options: []
|
78
83
|
require_paths:
|
79
84
|
- lib
|
@@ -88,8 +93,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
88
93
|
- !ruby/object:Gem::Version
|
89
94
|
version: '0'
|
90
95
|
requirements: []
|
91
|
-
rubygems_version: 3.
|
92
|
-
signing_key:
|
96
|
+
rubygems_version: 3.4.10
|
97
|
+
signing_key:
|
93
98
|
specification_version: 4
|
94
99
|
summary: AWS SDK for Ruby - Amazon Prometheus Service
|
95
100
|
test_files: []
|