aws-sdk-prometheusservice 1.28.0 → 1.30.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-prometheusservice/client.rb +424 -258
- data/lib/aws-sdk-prometheusservice/client_api.rb +70 -70
- data/lib/aws-sdk-prometheusservice/errors.rb +15 -15
- data/lib/aws-sdk-prometheusservice/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-prometheusservice/types.rb +717 -564
- 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
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
|
+
?client_token: ::String,
|
82
|
+
data: ::String,
|
83
|
+
workspace_id: ::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
|
+
?client_token: ::String,
|
94
|
+
log_group_arn: ::String,
|
95
|
+
workspace_id: ::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 arn: () -> ::String
|
102
|
+
def name: () -> ::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
|
+
?client_token: ::String,
|
109
|
+
data: ::String,
|
110
|
+
name: ::String,
|
111
|
+
?tags: Hash[::String, ::String],
|
112
|
+
workspace_id: ::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 arn: () -> ::String
|
119
|
+
def scraper_id: () -> ::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
|
+
?client_token: ::String,
|
127
|
+
destination: {
|
128
|
+
amp_configuration: {
|
129
|
+
workspace_arn: ::String
|
130
|
+
}?
|
131
|
+
},
|
132
|
+
scrape_configuration: {
|
133
|
+
configuration_blob: ::String?
|
134
|
+
},
|
135
|
+
source: {
|
136
|
+
eks_configuration: {
|
137
|
+
cluster_arn: ::String,
|
138
|
+
security_group_ids: Array[::String]?,
|
139
|
+
subnet_ids: Array[::String]
|
140
|
+
}?
|
141
|
+
},
|
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 arn: () -> ::String
|
149
|
+
def kms_key_arn: () -> ::String
|
150
|
+
def status: () -> Types::WorkspaceStatus
|
151
|
+
def tags: () -> ::Hash[::String, ::String]
|
152
|
+
def workspace_id: () -> ::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
|
+
?kms_key_arn: ::String,
|
159
|
+
?tags: Hash[::String, ::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
|
+
?client_token: ::String,
|
166
|
+
workspace_id: ::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
|
+
?client_token: ::String,
|
173
|
+
workspace_id: ::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
|
+
?client_token: ::String,
|
180
|
+
name: ::String,
|
181
|
+
workspace_id: ::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
|
+
?client_token: ::String,
|
193
|
+
scraper_id: ::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
|
+
?client_token: ::String,
|
200
|
+
workspace_id: ::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
|
+
name: ::String,
|
231
|
+
workspace_id: ::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 next_token: () -> ::String
|
267
|
+
def rule_groups_namespaces: () -> ::Array[Types::RuleGroupsNamespaceSummary]
|
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
|
+
?max_results: ::Integer,
|
272
|
+
?name: ::String,
|
273
|
+
?next_token: ::String,
|
274
|
+
workspace_id: ::String
|
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 next_token: () -> ::String
|
281
|
+
def scrapers: () -> ::Array[Types::ScraperSummary]
|
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
|
+
?max_results: ::Integer,
|
287
|
+
?next_token: ::String
|
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 next_token: () -> ::String
|
304
|
+
def workspaces: () -> ::Array[Types::WorkspaceSummary]
|
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
|
+
?alias: ::String,
|
309
|
+
?max_results: ::Integer,
|
310
|
+
?next_token: ::String
|
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
|
+
?client_token: ::String,
|
321
|
+
data: ::String,
|
322
|
+
workspace_id: ::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 arn: () -> ::String
|
329
|
+
def name: () -> ::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
|
+
?client_token: ::String,
|
336
|
+
data: ::String,
|
337
|
+
name: ::String,
|
338
|
+
workspace_id: ::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
|
+
?client_token: ::String,
|
369
|
+
log_group_arn: ::String,
|
370
|
+
workspace_id: ::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
|
+
?alias: ::String,
|
377
|
+
?client_token: ::String,
|
378
|
+
workspace_id: ::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 quota_code: () -> ::String
|
34
|
+
def resource_id: () -> ::String
|
35
|
+
def resource_type: () -> ::String
|
36
|
+
def service_code: () -> ::String
|
37
|
+
end
|
38
|
+
class ThrottlingException < ::Aws::Errors::ServiceError
|
39
|
+
def message: () -> ::String
|
40
|
+
def quota_code: () -> ::String
|
41
|
+
def retry_after_seconds: () -> ::String
|
42
|
+
def service_code: () -> ::String
|
43
|
+
end
|
44
|
+
class ValidationException < ::Aws::Errors::ServiceError
|
45
|
+
def field_list: () -> ::String
|
46
|
+
def message: () -> ::String
|
47
|
+
def reason: () -> ::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
|