aws-sdk-prometheusservice 1.29.0 → 1.31.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 +493 -303
- data/lib/aws-sdk-prometheusservice/client_api.rb +70 -70
- data/lib/aws-sdk-prometheusservice/errors.rb +15 -15
- data/lib/aws-sdk-prometheusservice/types.rb +717 -564
- data/lib/aws-sdk-prometheusservice.rb +1 -1
- data/sig/client.rbs +51 -51
- data/sig/errors.rbs +3 -3
- data/sig/types.rbs +70 -70
- metadata +4 -4
data/sig/types.rbs
CHANGED
@@ -14,10 +14,10 @@ module Aws::PrometheusService
|
|
14
14
|
end
|
15
15
|
|
16
16
|
class AlertManagerDefinitionDescription
|
17
|
-
attr_accessor status: Types::AlertManagerDefinitionStatus
|
18
|
-
attr_accessor data: ::String
|
19
17
|
attr_accessor created_at: ::Time
|
18
|
+
attr_accessor data: ::String
|
20
19
|
attr_accessor modified_at: ::Time
|
20
|
+
attr_accessor status: Types::AlertManagerDefinitionStatus
|
21
21
|
SENSITIVE: []
|
22
22
|
end
|
23
23
|
|
@@ -40,9 +40,9 @@ module Aws::PrometheusService
|
|
40
40
|
end
|
41
41
|
|
42
42
|
class CreateAlertManagerDefinitionRequest
|
43
|
-
attr_accessor workspace_id: ::String
|
44
|
-
attr_accessor data: ::String
|
45
43
|
attr_accessor client_token: ::String
|
44
|
+
attr_accessor data: ::String
|
45
|
+
attr_accessor workspace_id: ::String
|
46
46
|
SENSITIVE: []
|
47
47
|
end
|
48
48
|
|
@@ -52,9 +52,9 @@ module Aws::PrometheusService
|
|
52
52
|
end
|
53
53
|
|
54
54
|
class CreateLoggingConfigurationRequest
|
55
|
-
attr_accessor workspace_id: ::String
|
56
|
-
attr_accessor log_group_arn: ::String
|
57
55
|
attr_accessor client_token: ::String
|
56
|
+
attr_accessor log_group_arn: ::String
|
57
|
+
attr_accessor workspace_id: ::String
|
58
58
|
SENSITIVE: []
|
59
59
|
end
|
60
60
|
|
@@ -64,17 +64,17 @@ module Aws::PrometheusService
|
|
64
64
|
end
|
65
65
|
|
66
66
|
class CreateRuleGroupsNamespaceRequest
|
67
|
-
attr_accessor workspace_id: ::String
|
68
|
-
attr_accessor name: ::String
|
69
|
-
attr_accessor data: ::String
|
70
67
|
attr_accessor client_token: ::String
|
68
|
+
attr_accessor data: ::String
|
69
|
+
attr_accessor name: ::String
|
71
70
|
attr_accessor tags: ::Hash[::String, ::String]
|
71
|
+
attr_accessor workspace_id: ::String
|
72
72
|
SENSITIVE: []
|
73
73
|
end
|
74
74
|
|
75
75
|
class CreateRuleGroupsNamespaceResponse
|
76
|
-
attr_accessor name: ::String
|
77
76
|
attr_accessor arn: ::String
|
77
|
+
attr_accessor name: ::String
|
78
78
|
attr_accessor status: Types::RuleGroupsNamespaceStatus
|
79
79
|
attr_accessor tags: ::Hash[::String, ::String]
|
80
80
|
SENSITIVE: []
|
@@ -82,17 +82,17 @@ module Aws::PrometheusService
|
|
82
82
|
|
83
83
|
class CreateScraperRequest
|
84
84
|
attr_accessor alias: ::String
|
85
|
+
attr_accessor client_token: ::String
|
86
|
+
attr_accessor destination: Types::Destination
|
85
87
|
attr_accessor scrape_configuration: Types::ScrapeConfiguration
|
86
88
|
attr_accessor source: Types::Source
|
87
|
-
attr_accessor destination: Types::Destination
|
88
|
-
attr_accessor client_token: ::String
|
89
89
|
attr_accessor tags: ::Hash[::String, ::String]
|
90
90
|
SENSITIVE: []
|
91
91
|
end
|
92
92
|
|
93
93
|
class CreateScraperResponse
|
94
|
-
attr_accessor scraper_id: ::String
|
95
94
|
attr_accessor arn: ::String
|
95
|
+
attr_accessor scraper_id: ::String
|
96
96
|
attr_accessor status: Types::ScraperStatus
|
97
97
|
attr_accessor tags: ::Hash[::String, ::String]
|
98
98
|
SENSITIVE: []
|
@@ -101,42 +101,42 @@ module Aws::PrometheusService
|
|
101
101
|
class CreateWorkspaceRequest
|
102
102
|
attr_accessor alias: ::String
|
103
103
|
attr_accessor client_token: ::String
|
104
|
-
attr_accessor tags: ::Hash[::String, ::String]
|
105
104
|
attr_accessor kms_key_arn: ::String
|
105
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
106
106
|
SENSITIVE: []
|
107
107
|
end
|
108
108
|
|
109
109
|
class CreateWorkspaceResponse
|
110
|
-
attr_accessor workspace_id: ::String
|
111
110
|
attr_accessor arn: ::String
|
111
|
+
attr_accessor kms_key_arn: ::String
|
112
112
|
attr_accessor status: Types::WorkspaceStatus
|
113
113
|
attr_accessor tags: ::Hash[::String, ::String]
|
114
|
-
attr_accessor
|
114
|
+
attr_accessor workspace_id: ::String
|
115
115
|
SENSITIVE: []
|
116
116
|
end
|
117
117
|
|
118
118
|
class DeleteAlertManagerDefinitionRequest
|
119
|
-
attr_accessor workspace_id: ::String
|
120
119
|
attr_accessor client_token: ::String
|
120
|
+
attr_accessor workspace_id: ::String
|
121
121
|
SENSITIVE: []
|
122
122
|
end
|
123
123
|
|
124
124
|
class DeleteLoggingConfigurationRequest
|
125
|
-
attr_accessor workspace_id: ::String
|
126
125
|
attr_accessor client_token: ::String
|
126
|
+
attr_accessor workspace_id: ::String
|
127
127
|
SENSITIVE: []
|
128
128
|
end
|
129
129
|
|
130
130
|
class DeleteRuleGroupsNamespaceRequest
|
131
|
-
attr_accessor workspace_id: ::String
|
132
|
-
attr_accessor name: ::String
|
133
131
|
attr_accessor client_token: ::String
|
132
|
+
attr_accessor name: ::String
|
133
|
+
attr_accessor workspace_id: ::String
|
134
134
|
SENSITIVE: []
|
135
135
|
end
|
136
136
|
|
137
137
|
class DeleteScraperRequest
|
138
|
-
attr_accessor scraper_id: ::String
|
139
138
|
attr_accessor client_token: ::String
|
139
|
+
attr_accessor scraper_id: ::String
|
140
140
|
SENSITIVE: []
|
141
141
|
end
|
142
142
|
|
@@ -147,8 +147,8 @@ module Aws::PrometheusService
|
|
147
147
|
end
|
148
148
|
|
149
149
|
class DeleteWorkspaceRequest
|
150
|
-
attr_accessor workspace_id: ::String
|
151
150
|
attr_accessor client_token: ::String
|
151
|
+
attr_accessor workspace_id: ::String
|
152
152
|
SENSITIVE: []
|
153
153
|
end
|
154
154
|
|
@@ -173,8 +173,8 @@ module Aws::PrometheusService
|
|
173
173
|
end
|
174
174
|
|
175
175
|
class DescribeRuleGroupsNamespaceRequest
|
176
|
-
attr_accessor workspace_id: ::String
|
177
176
|
attr_accessor name: ::String
|
177
|
+
attr_accessor workspace_id: ::String
|
178
178
|
SENSITIVE: []
|
179
179
|
end
|
180
180
|
|
@@ -236,29 +236,29 @@ module Aws::PrometheusService
|
|
236
236
|
end
|
237
237
|
|
238
238
|
class ListRuleGroupsNamespacesRequest
|
239
|
-
attr_accessor
|
239
|
+
attr_accessor max_results: ::Integer
|
240
240
|
attr_accessor name: ::String
|
241
241
|
attr_accessor next_token: ::String
|
242
|
-
attr_accessor
|
242
|
+
attr_accessor workspace_id: ::String
|
243
243
|
SENSITIVE: []
|
244
244
|
end
|
245
245
|
|
246
246
|
class ListRuleGroupsNamespacesResponse
|
247
|
-
attr_accessor rule_groups_namespaces: ::Array[Types::RuleGroupsNamespaceSummary]
|
248
247
|
attr_accessor next_token: ::String
|
248
|
+
attr_accessor rule_groups_namespaces: ::Array[Types::RuleGroupsNamespaceSummary]
|
249
249
|
SENSITIVE: []
|
250
250
|
end
|
251
251
|
|
252
252
|
class ListScrapersRequest
|
253
253
|
attr_accessor filters: ::Hash[::String, ::Array[::String]]
|
254
|
-
attr_accessor next_token: ::String
|
255
254
|
attr_accessor max_results: ::Integer
|
255
|
+
attr_accessor next_token: ::String
|
256
256
|
SENSITIVE: []
|
257
257
|
end
|
258
258
|
|
259
259
|
class ListScrapersResponse
|
260
|
-
attr_accessor scrapers: ::Array[Types::ScraperSummary]
|
261
260
|
attr_accessor next_token: ::String
|
261
|
+
attr_accessor scrapers: ::Array[Types::ScraperSummary]
|
262
262
|
SENSITIVE: []
|
263
263
|
end
|
264
264
|
|
@@ -273,24 +273,24 @@ module Aws::PrometheusService
|
|
273
273
|
end
|
274
274
|
|
275
275
|
class ListWorkspacesRequest
|
276
|
-
attr_accessor next_token: ::String
|
277
276
|
attr_accessor alias: ::String
|
278
277
|
attr_accessor max_results: ::Integer
|
278
|
+
attr_accessor next_token: ::String
|
279
279
|
SENSITIVE: []
|
280
280
|
end
|
281
281
|
|
282
282
|
class ListWorkspacesResponse
|
283
|
-
attr_accessor workspaces: ::Array[Types::WorkspaceSummary]
|
284
283
|
attr_accessor next_token: ::String
|
284
|
+
attr_accessor workspaces: ::Array[Types::WorkspaceSummary]
|
285
285
|
SENSITIVE: []
|
286
286
|
end
|
287
287
|
|
288
288
|
class LoggingConfigurationMetadata
|
289
|
-
attr_accessor status: Types::LoggingConfigurationStatus
|
290
|
-
attr_accessor workspace: ::String
|
291
|
-
attr_accessor log_group_arn: ::String
|
292
289
|
attr_accessor created_at: ::Time
|
290
|
+
attr_accessor log_group_arn: ::String
|
293
291
|
attr_accessor modified_at: ::Time
|
292
|
+
attr_accessor status: Types::LoggingConfigurationStatus
|
293
|
+
attr_accessor workspace: ::String
|
294
294
|
SENSITIVE: []
|
295
295
|
end
|
296
296
|
|
@@ -301,9 +301,9 @@ module Aws::PrometheusService
|
|
301
301
|
end
|
302
302
|
|
303
303
|
class PutAlertManagerDefinitionRequest
|
304
|
-
attr_accessor workspace_id: ::String
|
305
|
-
attr_accessor data: ::String
|
306
304
|
attr_accessor client_token: ::String
|
305
|
+
attr_accessor data: ::String
|
306
|
+
attr_accessor workspace_id: ::String
|
307
307
|
SENSITIVE: []
|
308
308
|
end
|
309
309
|
|
@@ -313,16 +313,16 @@ module Aws::PrometheusService
|
|
313
313
|
end
|
314
314
|
|
315
315
|
class PutRuleGroupsNamespaceRequest
|
316
|
-
attr_accessor workspace_id: ::String
|
317
|
-
attr_accessor name: ::String
|
318
|
-
attr_accessor data: ::String
|
319
316
|
attr_accessor client_token: ::String
|
317
|
+
attr_accessor data: ::String
|
318
|
+
attr_accessor name: ::String
|
319
|
+
attr_accessor workspace_id: ::String
|
320
320
|
SENSITIVE: []
|
321
321
|
end
|
322
322
|
|
323
323
|
class PutRuleGroupsNamespaceResponse
|
324
|
-
attr_accessor name: ::String
|
325
324
|
attr_accessor arn: ::String
|
325
|
+
attr_accessor name: ::String
|
326
326
|
attr_accessor status: Types::RuleGroupsNamespaceStatus
|
327
327
|
attr_accessor tags: ::Hash[::String, ::String]
|
328
328
|
SENSITIVE: []
|
@@ -337,11 +337,11 @@ module Aws::PrometheusService
|
|
337
337
|
|
338
338
|
class RuleGroupsNamespaceDescription
|
339
339
|
attr_accessor arn: ::String
|
340
|
-
attr_accessor name: ::String
|
341
|
-
attr_accessor status: Types::RuleGroupsNamespaceStatus
|
342
|
-
attr_accessor data: ::String
|
343
340
|
attr_accessor created_at: ::Time
|
341
|
+
attr_accessor data: ::String
|
344
342
|
attr_accessor modified_at: ::Time
|
343
|
+
attr_accessor name: ::String
|
344
|
+
attr_accessor status: Types::RuleGroupsNamespaceStatus
|
345
345
|
attr_accessor tags: ::Hash[::String, ::String]
|
346
346
|
SENSITIVE: []
|
347
347
|
end
|
@@ -354,10 +354,10 @@ module Aws::PrometheusService
|
|
354
354
|
|
355
355
|
class RuleGroupsNamespaceSummary
|
356
356
|
attr_accessor arn: ::String
|
357
|
-
attr_accessor name: ::String
|
358
|
-
attr_accessor status: Types::RuleGroupsNamespaceStatus
|
359
357
|
attr_accessor created_at: ::Time
|
360
358
|
attr_accessor modified_at: ::Time
|
359
|
+
attr_accessor name: ::String
|
360
|
+
attr_accessor status: Types::RuleGroupsNamespaceStatus
|
361
361
|
attr_accessor tags: ::Hash[::String, ::String]
|
362
362
|
SENSITIVE: []
|
363
363
|
end
|
@@ -375,17 +375,17 @@ module Aws::PrometheusService
|
|
375
375
|
|
376
376
|
class ScraperDescription
|
377
377
|
attr_accessor alias: ::String
|
378
|
-
attr_accessor scraper_id: ::String
|
379
378
|
attr_accessor arn: ::String
|
380
|
-
attr_accessor role_arn: ::String
|
381
|
-
attr_accessor status: Types::ScraperStatus
|
382
379
|
attr_accessor created_at: ::Time
|
380
|
+
attr_accessor destination: Types::Destination
|
383
381
|
attr_accessor last_modified_at: ::Time
|
384
|
-
attr_accessor
|
385
|
-
attr_accessor status_reason: ::String
|
382
|
+
attr_accessor role_arn: ::String
|
386
383
|
attr_accessor scrape_configuration: Types::ScrapeConfiguration
|
384
|
+
attr_accessor scraper_id: ::String
|
387
385
|
attr_accessor source: Types::Source
|
388
|
-
attr_accessor
|
386
|
+
attr_accessor status: Types::ScraperStatus
|
387
|
+
attr_accessor status_reason: ::String
|
388
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
389
389
|
SENSITIVE: []
|
390
390
|
end
|
391
391
|
|
@@ -396,25 +396,25 @@ module Aws::PrometheusService
|
|
396
396
|
|
397
397
|
class ScraperSummary
|
398
398
|
attr_accessor alias: ::String
|
399
|
-
attr_accessor scraper_id: ::String
|
400
399
|
attr_accessor arn: ::String
|
401
|
-
attr_accessor role_arn: ::String
|
402
|
-
attr_accessor status: Types::ScraperStatus
|
403
400
|
attr_accessor created_at: ::Time
|
401
|
+
attr_accessor destination: Types::Destination
|
404
402
|
attr_accessor last_modified_at: ::Time
|
405
|
-
attr_accessor
|
406
|
-
attr_accessor
|
403
|
+
attr_accessor role_arn: ::String
|
404
|
+
attr_accessor scraper_id: ::String
|
407
405
|
attr_accessor source: Types::Source
|
408
|
-
attr_accessor
|
406
|
+
attr_accessor status: Types::ScraperStatus
|
407
|
+
attr_accessor status_reason: ::String
|
408
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
409
409
|
SENSITIVE: []
|
410
410
|
end
|
411
411
|
|
412
412
|
class ServiceQuotaExceededException
|
413
413
|
attr_accessor message: ::String
|
414
|
+
attr_accessor quota_code: ::String
|
414
415
|
attr_accessor resource_id: ::String
|
415
416
|
attr_accessor resource_type: ::String
|
416
417
|
attr_accessor service_code: ::String
|
417
|
-
attr_accessor quota_code: ::String
|
418
418
|
SENSITIVE: []
|
419
419
|
end
|
420
420
|
|
@@ -440,9 +440,9 @@ module Aws::PrometheusService
|
|
440
440
|
|
441
441
|
class ThrottlingException
|
442
442
|
attr_accessor message: ::String
|
443
|
-
attr_accessor service_code: ::String
|
444
443
|
attr_accessor quota_code: ::String
|
445
444
|
attr_accessor retry_after_seconds: ::Integer
|
445
|
+
attr_accessor service_code: ::String
|
446
446
|
SENSITIVE: []
|
447
447
|
end
|
448
448
|
|
@@ -456,9 +456,9 @@ module Aws::PrometheusService
|
|
456
456
|
end
|
457
457
|
|
458
458
|
class UpdateLoggingConfigurationRequest
|
459
|
-
attr_accessor workspace_id: ::String
|
460
|
-
attr_accessor log_group_arn: ::String
|
461
459
|
attr_accessor client_token: ::String
|
460
|
+
attr_accessor log_group_arn: ::String
|
461
|
+
attr_accessor workspace_id: ::String
|
462
462
|
SENSITIVE: []
|
463
463
|
end
|
464
464
|
|
@@ -468,34 +468,34 @@ module Aws::PrometheusService
|
|
468
468
|
end
|
469
469
|
|
470
470
|
class UpdateWorkspaceAliasRequest
|
471
|
-
attr_accessor workspace_id: ::String
|
472
471
|
attr_accessor alias: ::String
|
473
472
|
attr_accessor client_token: ::String
|
473
|
+
attr_accessor workspace_id: ::String
|
474
474
|
SENSITIVE: []
|
475
475
|
end
|
476
476
|
|
477
477
|
class ValidationException
|
478
|
+
attr_accessor field_list: ::Array[Types::ValidationExceptionField]
|
478
479
|
attr_accessor message: ::String
|
479
480
|
attr_accessor reason: ("UNKNOWN_OPERATION" | "CANNOT_PARSE" | "FIELD_VALIDATION_FAILED" | "OTHER")
|
480
|
-
attr_accessor field_list: ::Array[Types::ValidationExceptionField]
|
481
481
|
SENSITIVE: []
|
482
482
|
end
|
483
483
|
|
484
484
|
class ValidationExceptionField
|
485
|
-
attr_accessor name: ::String
|
486
485
|
attr_accessor message: ::String
|
486
|
+
attr_accessor name: ::String
|
487
487
|
SENSITIVE: []
|
488
488
|
end
|
489
489
|
|
490
490
|
class WorkspaceDescription
|
491
|
-
attr_accessor workspace_id: ::String
|
492
491
|
attr_accessor alias: ::String
|
493
492
|
attr_accessor arn: ::String
|
494
|
-
attr_accessor status: Types::WorkspaceStatus
|
495
|
-
attr_accessor prometheus_endpoint: ::String
|
496
493
|
attr_accessor created_at: ::Time
|
497
|
-
attr_accessor tags: ::Hash[::String, ::String]
|
498
494
|
attr_accessor kms_key_arn: ::String
|
495
|
+
attr_accessor prometheus_endpoint: ::String
|
496
|
+
attr_accessor status: Types::WorkspaceStatus
|
497
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
498
|
+
attr_accessor workspace_id: ::String
|
499
499
|
SENSITIVE: []
|
500
500
|
end
|
501
501
|
|
@@ -505,13 +505,13 @@ module Aws::PrometheusService
|
|
505
505
|
end
|
506
506
|
|
507
507
|
class WorkspaceSummary
|
508
|
-
attr_accessor workspace_id: ::String
|
509
508
|
attr_accessor alias: ::String
|
510
509
|
attr_accessor arn: ::String
|
511
|
-
attr_accessor status: Types::WorkspaceStatus
|
512
510
|
attr_accessor created_at: ::Time
|
513
|
-
attr_accessor tags: ::Hash[::String, ::String]
|
514
511
|
attr_accessor kms_key_arn: ::String
|
512
|
+
attr_accessor status: Types::WorkspaceStatus
|
513
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
514
|
+
attr_accessor workspace_id: ::String
|
515
515
|
SENSITIVE: []
|
516
516
|
end
|
517
517
|
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.31.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-04-25 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.193.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.193.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|