aws-sdk-prometheusservice 1.56.0 → 1.57.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-prometheusservice/client.rb +689 -270
- data/lib/aws-sdk-prometheusservice/client_api.rb +158 -89
- data/lib/aws-sdk-prometheusservice/errors.rb +15 -15
- data/lib/aws-sdk-prometheusservice/types.rb +610 -489
- data/lib/aws-sdk-prometheusservice.rb +1 -1
- data/sig/client.rbs +105 -71
- data/sig/errors.rbs +3 -3
- data/sig/types.rbs +120 -87
- metadata +1 -1
data/sig/client.rbs
CHANGED
@@ -84,9 +84,9 @@ module Aws
|
|
84
84
|
end
|
85
85
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#create_alert_manager_definition-instance_method
|
86
86
|
def create_alert_manager_definition: (
|
87
|
-
|
87
|
+
workspace_id: ::String,
|
88
88
|
data: ::String,
|
89
|
-
|
89
|
+
?client_token: ::String
|
90
90
|
) -> _CreateAlertManagerDefinitionResponseSuccess
|
91
91
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAlertManagerDefinitionResponseSuccess
|
92
92
|
|
@@ -96,9 +96,9 @@ module Aws
|
|
96
96
|
end
|
97
97
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#create_logging_configuration-instance_method
|
98
98
|
def create_logging_configuration: (
|
99
|
-
|
99
|
+
workspace_id: ::String,
|
100
100
|
log_group_arn: ::String,
|
101
|
-
|
101
|
+
?client_token: ::String
|
102
102
|
) -> _CreateLoggingConfigurationResponseSuccess
|
103
103
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateLoggingConfigurationResponseSuccess
|
104
104
|
|
@@ -108,7 +108,7 @@ module Aws
|
|
108
108
|
end
|
109
109
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#create_query_logging_configuration-instance_method
|
110
110
|
def create_query_logging_configuration: (
|
111
|
-
|
111
|
+
workspace_id: ::String,
|
112
112
|
destinations: Array[
|
113
113
|
{
|
114
114
|
cloud_watch_logs: {
|
@@ -119,47 +119,37 @@ module Aws
|
|
119
119
|
}
|
120
120
|
},
|
121
121
|
],
|
122
|
-
|
122
|
+
?client_token: ::String
|
123
123
|
) -> _CreateQueryLoggingConfigurationResponseSuccess
|
124
124
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateQueryLoggingConfigurationResponseSuccess
|
125
125
|
|
126
126
|
interface _CreateRuleGroupsNamespaceResponseSuccess
|
127
127
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateRuleGroupsNamespaceResponse]
|
128
|
-
def arn: () -> ::String
|
129
128
|
def name: () -> ::String
|
129
|
+
def arn: () -> ::String
|
130
130
|
def status: () -> Types::RuleGroupsNamespaceStatus
|
131
131
|
def tags: () -> ::Hash[::String, ::String]
|
132
132
|
end
|
133
133
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#create_rule_groups_namespace-instance_method
|
134
134
|
def create_rule_groups_namespace: (
|
135
|
-
|
136
|
-
data: ::String,
|
135
|
+
workspace_id: ::String,
|
137
136
|
name: ::String,
|
138
|
-
|
139
|
-
|
137
|
+
data: ::String,
|
138
|
+
?client_token: ::String,
|
139
|
+
?tags: Hash[::String, ::String]
|
140
140
|
) -> _CreateRuleGroupsNamespaceResponseSuccess
|
141
141
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateRuleGroupsNamespaceResponseSuccess
|
142
142
|
|
143
143
|
interface _CreateScraperResponseSuccess
|
144
144
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateScraperResponse]
|
145
|
-
def arn: () -> ::String
|
146
145
|
def scraper_id: () -> ::String
|
146
|
+
def arn: () -> ::String
|
147
147
|
def status: () -> Types::ScraperStatus
|
148
148
|
def tags: () -> ::Hash[::String, ::String]
|
149
149
|
end
|
150
150
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#create_scraper-instance_method
|
151
151
|
def create_scraper: (
|
152
152
|
?alias: ::String,
|
153
|
-
?client_token: ::String,
|
154
|
-
destination: {
|
155
|
-
amp_configuration: {
|
156
|
-
workspace_arn: ::String
|
157
|
-
}?
|
158
|
-
},
|
159
|
-
?role_configuration: {
|
160
|
-
source_role_arn: ::String?,
|
161
|
-
target_role_arn: ::String?
|
162
|
-
},
|
163
153
|
scrape_configuration: {
|
164
154
|
configuration_blob: ::String?
|
165
155
|
},
|
@@ -170,53 +160,71 @@ module Aws
|
|
170
160
|
subnet_ids: Array[::String]
|
171
161
|
}?
|
172
162
|
},
|
163
|
+
destination: {
|
164
|
+
amp_configuration: {
|
165
|
+
workspace_arn: ::String
|
166
|
+
}?
|
167
|
+
},
|
168
|
+
?role_configuration: {
|
169
|
+
source_role_arn: ::String?,
|
170
|
+
target_role_arn: ::String?
|
171
|
+
},
|
172
|
+
?client_token: ::String,
|
173
173
|
?tags: Hash[::String, ::String]
|
174
174
|
) -> _CreateScraperResponseSuccess
|
175
175
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateScraperResponseSuccess
|
176
176
|
|
177
177
|
interface _CreateWorkspaceResponseSuccess
|
178
178
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateWorkspaceResponse]
|
179
|
+
def workspace_id: () -> ::String
|
179
180
|
def arn: () -> ::String
|
180
|
-
def kms_key_arn: () -> ::String
|
181
181
|
def status: () -> Types::WorkspaceStatus
|
182
182
|
def tags: () -> ::Hash[::String, ::String]
|
183
|
-
def
|
183
|
+
def kms_key_arn: () -> ::String
|
184
184
|
end
|
185
185
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#create_workspace-instance_method
|
186
186
|
def create_workspace: (
|
187
187
|
?alias: ::String,
|
188
188
|
?client_token: ::String,
|
189
|
-
?
|
190
|
-
?
|
189
|
+
?tags: Hash[::String, ::String],
|
190
|
+
?kms_key_arn: ::String
|
191
191
|
) -> _CreateWorkspaceResponseSuccess
|
192
192
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateWorkspaceResponseSuccess
|
193
193
|
|
194
194
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#delete_alert_manager_definition-instance_method
|
195
195
|
def delete_alert_manager_definition: (
|
196
|
-
|
197
|
-
|
196
|
+
workspace_id: ::String,
|
197
|
+
?client_token: ::String
|
198
198
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
199
199
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
200
200
|
|
201
201
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#delete_logging_configuration-instance_method
|
202
202
|
def delete_logging_configuration: (
|
203
|
-
|
204
|
-
|
203
|
+
workspace_id: ::String,
|
204
|
+
?client_token: ::String
|
205
205
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
206
206
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
207
207
|
|
208
208
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#delete_query_logging_configuration-instance_method
|
209
209
|
def delete_query_logging_configuration: (
|
210
|
-
|
211
|
-
|
210
|
+
workspace_id: ::String,
|
211
|
+
?client_token: ::String
|
212
212
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
213
213
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
214
214
|
|
215
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#delete_resource_policy-instance_method
|
216
|
+
def delete_resource_policy: (
|
217
|
+
workspace_id: ::String,
|
218
|
+
?client_token: ::String,
|
219
|
+
?revision_id: ::String
|
220
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
221
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
222
|
+
|
215
223
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#delete_rule_groups_namespace-instance_method
|
216
224
|
def delete_rule_groups_namespace: (
|
217
|
-
|
225
|
+
workspace_id: ::String,
|
218
226
|
name: ::String,
|
219
|
-
|
227
|
+
?client_token: ::String
|
220
228
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
221
229
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
222
230
|
|
@@ -227,15 +235,15 @@ module Aws
|
|
227
235
|
end
|
228
236
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#delete_scraper-instance_method
|
229
237
|
def delete_scraper: (
|
230
|
-
|
231
|
-
|
238
|
+
scraper_id: ::String,
|
239
|
+
?client_token: ::String
|
232
240
|
) -> _DeleteScraperResponseSuccess
|
233
241
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteScraperResponseSuccess
|
234
242
|
|
235
243
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#delete_workspace-instance_method
|
236
244
|
def delete_workspace: (
|
237
|
-
|
238
|
-
|
245
|
+
workspace_id: ::String,
|
246
|
+
?client_token: ::String
|
239
247
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
240
248
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
241
249
|
|
@@ -269,14 +277,26 @@ module Aws
|
|
269
277
|
) -> _DescribeQueryLoggingConfigurationResponseSuccess
|
270
278
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeQueryLoggingConfigurationResponseSuccess
|
271
279
|
|
280
|
+
interface _DescribeResourcePolicyResponseSuccess
|
281
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeResourcePolicyResponse]
|
282
|
+
def policy_document: () -> ::String
|
283
|
+
def policy_status: () -> ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING")
|
284
|
+
def revision_id: () -> ::String
|
285
|
+
end
|
286
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#describe_resource_policy-instance_method
|
287
|
+
def describe_resource_policy: (
|
288
|
+
workspace_id: ::String
|
289
|
+
) -> _DescribeResourcePolicyResponseSuccess
|
290
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeResourcePolicyResponseSuccess
|
291
|
+
|
272
292
|
interface _DescribeRuleGroupsNamespaceResponseSuccess
|
273
293
|
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeRuleGroupsNamespaceResponse]
|
274
294
|
def rule_groups_namespace: () -> Types::RuleGroupsNamespaceDescription
|
275
295
|
end
|
276
296
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#describe_rule_groups_namespace-instance_method
|
277
297
|
def describe_rule_groups_namespace: (
|
278
|
-
|
279
|
-
|
298
|
+
workspace_id: ::String,
|
299
|
+
name: ::String
|
280
300
|
) -> _DescribeRuleGroupsNamespaceResponseSuccess
|
281
301
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeRuleGroupsNamespaceResponseSuccess
|
282
302
|
|
@@ -321,28 +341,28 @@ module Aws
|
|
321
341
|
|
322
342
|
interface _ListRuleGroupsNamespacesResponseSuccess
|
323
343
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListRuleGroupsNamespacesResponse]
|
324
|
-
def next_token: () -> ::String
|
325
344
|
def rule_groups_namespaces: () -> ::Array[Types::RuleGroupsNamespaceSummary]
|
345
|
+
def next_token: () -> ::String
|
326
346
|
end
|
327
347
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#list_rule_groups_namespaces-instance_method
|
328
348
|
def list_rule_groups_namespaces: (
|
329
|
-
|
349
|
+
workspace_id: ::String,
|
330
350
|
?name: ::String,
|
331
351
|
?next_token: ::String,
|
332
|
-
|
352
|
+
?max_results: ::Integer
|
333
353
|
) -> _ListRuleGroupsNamespacesResponseSuccess
|
334
354
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRuleGroupsNamespacesResponseSuccess
|
335
355
|
|
336
356
|
interface _ListScrapersResponseSuccess
|
337
357
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListScrapersResponse]
|
338
|
-
def next_token: () -> ::String
|
339
358
|
def scrapers: () -> ::Array[Types::ScraperSummary]
|
359
|
+
def next_token: () -> ::String
|
340
360
|
end
|
341
361
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#list_scrapers-instance_method
|
342
362
|
def list_scrapers: (
|
343
363
|
?filters: Hash[::String, Array[::String]],
|
344
|
-
?
|
345
|
-
?
|
364
|
+
?next_token: ::String,
|
365
|
+
?max_results: ::Integer
|
346
366
|
) -> _ListScrapersResponseSuccess
|
347
367
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListScrapersResponseSuccess
|
348
368
|
|
@@ -358,14 +378,14 @@ module Aws
|
|
358
378
|
|
359
379
|
interface _ListWorkspacesResponseSuccess
|
360
380
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListWorkspacesResponse]
|
361
|
-
def next_token: () -> ::String
|
362
381
|
def workspaces: () -> ::Array[Types::WorkspaceSummary]
|
382
|
+
def next_token: () -> ::String
|
363
383
|
end
|
364
384
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#list_workspaces-instance_method
|
365
385
|
def list_workspaces: (
|
386
|
+
?next_token: ::String,
|
366
387
|
?alias: ::String,
|
367
|
-
?max_results: ::Integer
|
368
|
-
?next_token: ::String
|
388
|
+
?max_results: ::Integer
|
369
389
|
) -> _ListWorkspacesResponseSuccess
|
370
390
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListWorkspacesResponseSuccess
|
371
391
|
|
@@ -375,25 +395,39 @@ module Aws
|
|
375
395
|
end
|
376
396
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#put_alert_manager_definition-instance_method
|
377
397
|
def put_alert_manager_definition: (
|
378
|
-
|
398
|
+
workspace_id: ::String,
|
379
399
|
data: ::String,
|
380
|
-
|
400
|
+
?client_token: ::String
|
381
401
|
) -> _PutAlertManagerDefinitionResponseSuccess
|
382
402
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutAlertManagerDefinitionResponseSuccess
|
383
403
|
|
404
|
+
interface _PutResourcePolicyResponseSuccess
|
405
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutResourcePolicyResponse]
|
406
|
+
def policy_status: () -> ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING")
|
407
|
+
def revision_id: () -> ::String
|
408
|
+
end
|
409
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#put_resource_policy-instance_method
|
410
|
+
def put_resource_policy: (
|
411
|
+
workspace_id: ::String,
|
412
|
+
policy_document: ::String,
|
413
|
+
?client_token: ::String,
|
414
|
+
?revision_id: ::String
|
415
|
+
) -> _PutResourcePolicyResponseSuccess
|
416
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutResourcePolicyResponseSuccess
|
417
|
+
|
384
418
|
interface _PutRuleGroupsNamespaceResponseSuccess
|
385
419
|
include ::Seahorse::Client::_ResponseSuccess[Types::PutRuleGroupsNamespaceResponse]
|
386
|
-
def arn: () -> ::String
|
387
420
|
def name: () -> ::String
|
421
|
+
def arn: () -> ::String
|
388
422
|
def status: () -> Types::RuleGroupsNamespaceStatus
|
389
423
|
def tags: () -> ::Hash[::String, ::String]
|
390
424
|
end
|
391
425
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#put_rule_groups_namespace-instance_method
|
392
426
|
def put_rule_groups_namespace: (
|
393
|
-
|
394
|
-
data: ::String,
|
427
|
+
workspace_id: ::String,
|
395
428
|
name: ::String,
|
396
|
-
|
429
|
+
data: ::String,
|
430
|
+
?client_token: ::String
|
397
431
|
) -> _PutRuleGroupsNamespaceResponseSuccess
|
398
432
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutRuleGroupsNamespaceResponseSuccess
|
399
433
|
|
@@ -423,9 +457,9 @@ module Aws
|
|
423
457
|
end
|
424
458
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#update_logging_configuration-instance_method
|
425
459
|
def update_logging_configuration: (
|
426
|
-
|
460
|
+
workspace_id: ::String,
|
427
461
|
log_group_arn: ::String,
|
428
|
-
|
462
|
+
?client_token: ::String
|
429
463
|
) -> _UpdateLoggingConfigurationResponseSuccess
|
430
464
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateLoggingConfigurationResponseSuccess
|
431
465
|
|
@@ -435,7 +469,7 @@ module Aws
|
|
435
469
|
end
|
436
470
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#update_query_logging_configuration-instance_method
|
437
471
|
def update_query_logging_configuration: (
|
438
|
-
|
472
|
+
workspace_id: ::String,
|
439
473
|
destinations: Array[
|
440
474
|
{
|
441
475
|
cloud_watch_logs: {
|
@@ -446,21 +480,24 @@ module Aws
|
|
446
480
|
}
|
447
481
|
},
|
448
482
|
],
|
449
|
-
|
483
|
+
?client_token: ::String
|
450
484
|
) -> _UpdateQueryLoggingConfigurationResponseSuccess
|
451
485
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateQueryLoggingConfigurationResponseSuccess
|
452
486
|
|
453
487
|
interface _UpdateScraperResponseSuccess
|
454
488
|
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateScraperResponse]
|
455
|
-
def arn: () -> ::String
|
456
489
|
def scraper_id: () -> ::String
|
490
|
+
def arn: () -> ::String
|
457
491
|
def status: () -> Types::ScraperStatus
|
458
492
|
def tags: () -> ::Hash[::String, ::String]
|
459
493
|
end
|
460
494
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#update_scraper-instance_method
|
461
495
|
def update_scraper: (
|
496
|
+
scraper_id: ::String,
|
462
497
|
?alias: ::String,
|
463
|
-
?
|
498
|
+
?scrape_configuration: {
|
499
|
+
configuration_blob: ::String?
|
500
|
+
},
|
464
501
|
?destination: {
|
465
502
|
amp_configuration: {
|
466
503
|
workspace_arn: ::String
|
@@ -470,18 +507,15 @@ module Aws
|
|
470
507
|
source_role_arn: ::String?,
|
471
508
|
target_role_arn: ::String?
|
472
509
|
},
|
473
|
-
?
|
474
|
-
configuration_blob: ::String?
|
475
|
-
},
|
476
|
-
scraper_id: ::String
|
510
|
+
?client_token: ::String
|
477
511
|
) -> _UpdateScraperResponseSuccess
|
478
512
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateScraperResponseSuccess
|
479
513
|
|
480
514
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#update_workspace_alias-instance_method
|
481
515
|
def update_workspace_alias: (
|
516
|
+
workspace_id: ::String,
|
482
517
|
?alias: ::String,
|
483
|
-
?client_token: ::String
|
484
|
-
workspace_id: ::String
|
518
|
+
?client_token: ::String
|
485
519
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
486
520
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
487
521
|
|
@@ -491,17 +525,17 @@ module Aws
|
|
491
525
|
end
|
492
526
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#update_workspace_configuration-instance_method
|
493
527
|
def update_workspace_configuration: (
|
528
|
+
workspace_id: ::String,
|
494
529
|
?client_token: ::String,
|
495
530
|
?limits_per_label_set: Array[
|
496
531
|
{
|
497
|
-
label_set: Hash[::String, ::String],
|
498
532
|
limits: {
|
499
533
|
max_series: ::Integer?
|
500
|
-
}
|
534
|
+
},
|
535
|
+
label_set: Hash[::String, ::String]
|
501
536
|
},
|
502
537
|
],
|
503
|
-
?retention_period_in_days: ::Integer
|
504
|
-
workspace_id: ::String
|
538
|
+
?retention_period_in_days: ::Integer
|
505
539
|
) -> _UpdateWorkspaceConfigurationResponseSuccess
|
506
540
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateWorkspaceConfigurationResponseSuccess
|
507
541
|
|
data/sig/errors.rbs
CHANGED
@@ -30,21 +30,21 @@ module Aws
|
|
30
30
|
end
|
31
31
|
class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
|
32
32
|
def message: () -> ::String
|
33
|
-
def quota_code: () -> ::String
|
34
33
|
def resource_id: () -> ::String
|
35
34
|
def resource_type: () -> ::String
|
36
35
|
def service_code: () -> ::String
|
36
|
+
def quota_code: () -> ::String
|
37
37
|
end
|
38
38
|
class ThrottlingException < ::Aws::Errors::ServiceError
|
39
39
|
def message: () -> ::String
|
40
|
+
def service_code: () -> ::String
|
40
41
|
def quota_code: () -> ::String
|
41
42
|
def retry_after_seconds: () -> ::String
|
42
|
-
def service_code: () -> ::String
|
43
43
|
end
|
44
44
|
class ValidationException < ::Aws::Errors::ServiceError
|
45
|
-
def field_list: () -> ::String
|
46
45
|
def message: () -> ::String
|
47
46
|
def reason: () -> ::String
|
47
|
+
def field_list: () -> ::String
|
48
48
|
end
|
49
49
|
end
|
50
50
|
end
|