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.
data/sig/types.rbs CHANGED
@@ -14,10 +14,10 @@ module Aws::PrometheusService
14
14
  end
15
15
 
16
16
  class AlertManagerDefinitionDescription
17
- attr_accessor created_at: ::Time
17
+ attr_accessor status: Types::AlertManagerDefinitionStatus
18
18
  attr_accessor data: ::String
19
+ attr_accessor created_at: ::Time
19
20
  attr_accessor modified_at: ::Time
20
- attr_accessor status: Types::AlertManagerDefinitionStatus
21
21
  SENSITIVE: []
22
22
  end
23
23
 
@@ -45,9 +45,9 @@ module Aws::PrometheusService
45
45
  end
46
46
 
47
47
  class CreateAlertManagerDefinitionRequest
48
- attr_accessor client_token: ::String
49
- attr_accessor data: ::String
50
48
  attr_accessor workspace_id: ::String
49
+ attr_accessor data: ::String
50
+ attr_accessor client_token: ::String
51
51
  SENSITIVE: []
52
52
  end
53
53
 
@@ -57,9 +57,9 @@ module Aws::PrometheusService
57
57
  end
58
58
 
59
59
  class CreateLoggingConfigurationRequest
60
- attr_accessor client_token: ::String
61
- attr_accessor log_group_arn: ::String
62
60
  attr_accessor workspace_id: ::String
61
+ attr_accessor log_group_arn: ::String
62
+ attr_accessor client_token: ::String
63
63
  SENSITIVE: []
64
64
  end
65
65
 
@@ -69,9 +69,9 @@ module Aws::PrometheusService
69
69
  end
70
70
 
71
71
  class CreateQueryLoggingConfigurationRequest
72
- attr_accessor client_token: ::String
73
- attr_accessor destinations: ::Array[Types::LoggingDestination]
74
72
  attr_accessor workspace_id: ::String
73
+ attr_accessor destinations: ::Array[Types::LoggingDestination]
74
+ attr_accessor client_token: ::String
75
75
  SENSITIVE: []
76
76
  end
77
77
 
@@ -81,17 +81,17 @@ module Aws::PrometheusService
81
81
  end
82
82
 
83
83
  class CreateRuleGroupsNamespaceRequest
84
- attr_accessor client_token: ::String
85
- attr_accessor data: ::String
84
+ attr_accessor workspace_id: ::String
86
85
  attr_accessor name: ::String
86
+ attr_accessor data: ::String
87
+ attr_accessor client_token: ::String
87
88
  attr_accessor tags: ::Hash[::String, ::String]
88
- attr_accessor workspace_id: ::String
89
89
  SENSITIVE: []
90
90
  end
91
91
 
92
92
  class CreateRuleGroupsNamespaceResponse
93
- attr_accessor arn: ::String
94
93
  attr_accessor name: ::String
94
+ attr_accessor arn: ::String
95
95
  attr_accessor status: Types::RuleGroupsNamespaceStatus
96
96
  attr_accessor tags: ::Hash[::String, ::String]
97
97
  SENSITIVE: []
@@ -99,18 +99,18 @@ module Aws::PrometheusService
99
99
 
100
100
  class CreateScraperRequest
101
101
  attr_accessor alias: ::String
102
- attr_accessor client_token: ::String
103
- attr_accessor destination: Types::Destination
104
- attr_accessor role_configuration: Types::RoleConfiguration
105
102
  attr_accessor scrape_configuration: Types::ScrapeConfiguration
106
103
  attr_accessor source: Types::Source
104
+ attr_accessor destination: Types::Destination
105
+ attr_accessor role_configuration: Types::RoleConfiguration
106
+ attr_accessor client_token: ::String
107
107
  attr_accessor tags: ::Hash[::String, ::String]
108
108
  SENSITIVE: []
109
109
  end
110
110
 
111
111
  class CreateScraperResponse
112
- attr_accessor arn: ::String
113
112
  attr_accessor scraper_id: ::String
113
+ attr_accessor arn: ::String
114
114
  attr_accessor status: Types::ScraperStatus
115
115
  attr_accessor tags: ::Hash[::String, ::String]
116
116
  SENSITIVE: []
@@ -119,48 +119,55 @@ module Aws::PrometheusService
119
119
  class CreateWorkspaceRequest
120
120
  attr_accessor alias: ::String
121
121
  attr_accessor client_token: ::String
122
- attr_accessor kms_key_arn: ::String
123
122
  attr_accessor tags: ::Hash[::String, ::String]
123
+ attr_accessor kms_key_arn: ::String
124
124
  SENSITIVE: []
125
125
  end
126
126
 
127
127
  class CreateWorkspaceResponse
128
+ attr_accessor workspace_id: ::String
128
129
  attr_accessor arn: ::String
129
- attr_accessor kms_key_arn: ::String
130
130
  attr_accessor status: Types::WorkspaceStatus
131
131
  attr_accessor tags: ::Hash[::String, ::String]
132
- attr_accessor workspace_id: ::String
132
+ attr_accessor kms_key_arn: ::String
133
133
  SENSITIVE: []
134
134
  end
135
135
 
136
136
  class DeleteAlertManagerDefinitionRequest
137
- attr_accessor client_token: ::String
138
137
  attr_accessor workspace_id: ::String
138
+ attr_accessor client_token: ::String
139
139
  SENSITIVE: []
140
140
  end
141
141
 
142
142
  class DeleteLoggingConfigurationRequest
143
- attr_accessor client_token: ::String
144
143
  attr_accessor workspace_id: ::String
144
+ attr_accessor client_token: ::String
145
145
  SENSITIVE: []
146
146
  end
147
147
 
148
148
  class DeleteQueryLoggingConfigurationRequest
149
+ attr_accessor workspace_id: ::String
149
150
  attr_accessor client_token: ::String
151
+ SENSITIVE: []
152
+ end
153
+
154
+ class DeleteResourcePolicyRequest
150
155
  attr_accessor workspace_id: ::String
156
+ attr_accessor client_token: ::String
157
+ attr_accessor revision_id: ::String
151
158
  SENSITIVE: []
152
159
  end
153
160
 
154
161
  class DeleteRuleGroupsNamespaceRequest
155
- attr_accessor client_token: ::String
156
- attr_accessor name: ::String
157
162
  attr_accessor workspace_id: ::String
163
+ attr_accessor name: ::String
164
+ attr_accessor client_token: ::String
158
165
  SENSITIVE: []
159
166
  end
160
167
 
161
168
  class DeleteScraperRequest
162
- attr_accessor client_token: ::String
163
169
  attr_accessor scraper_id: ::String
170
+ attr_accessor client_token: ::String
164
171
  SENSITIVE: []
165
172
  end
166
173
 
@@ -171,8 +178,8 @@ module Aws::PrometheusService
171
178
  end
172
179
 
173
180
  class DeleteWorkspaceRequest
174
- attr_accessor client_token: ::String
175
181
  attr_accessor workspace_id: ::String
182
+ attr_accessor client_token: ::String
176
183
  SENSITIVE: []
177
184
  end
178
185
 
@@ -206,9 +213,21 @@ module Aws::PrometheusService
206
213
  SENSITIVE: []
207
214
  end
208
215
 
216
+ class DescribeResourcePolicyRequest
217
+ attr_accessor workspace_id: ::String
218
+ SENSITIVE: []
219
+ end
220
+
221
+ class DescribeResourcePolicyResponse
222
+ attr_accessor policy_document: ::String
223
+ attr_accessor policy_status: ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING")
224
+ attr_accessor revision_id: ::String
225
+ SENSITIVE: []
226
+ end
227
+
209
228
  class DescribeRuleGroupsNamespaceRequest
210
- attr_accessor name: ::String
211
229
  attr_accessor workspace_id: ::String
230
+ attr_accessor name: ::String
212
231
  SENSITIVE: []
213
232
  end
214
233
 
@@ -280,8 +299,8 @@ module Aws::PrometheusService
280
299
  end
281
300
 
282
301
  class LimitsPerLabelSet
283
- attr_accessor label_set: ::Hash[::String, ::String]
284
302
  attr_accessor limits: Types::LimitsPerLabelSetEntry
303
+ attr_accessor label_set: ::Hash[::String, ::String]
285
304
  SENSITIVE: []
286
305
  end
287
306
 
@@ -291,29 +310,29 @@ module Aws::PrometheusService
291
310
  end
292
311
 
293
312
  class ListRuleGroupsNamespacesRequest
294
- attr_accessor max_results: ::Integer
313
+ attr_accessor workspace_id: ::String
295
314
  attr_accessor name: ::String
296
315
  attr_accessor next_token: ::String
297
- attr_accessor workspace_id: ::String
316
+ attr_accessor max_results: ::Integer
298
317
  SENSITIVE: []
299
318
  end
300
319
 
301
320
  class ListRuleGroupsNamespacesResponse
302
- attr_accessor next_token: ::String
303
321
  attr_accessor rule_groups_namespaces: ::Array[Types::RuleGroupsNamespaceSummary]
322
+ attr_accessor next_token: ::String
304
323
  SENSITIVE: []
305
324
  end
306
325
 
307
326
  class ListScrapersRequest
308
327
  attr_accessor filters: ::Hash[::String, ::Array[::String]]
309
- attr_accessor max_results: ::Integer
310
328
  attr_accessor next_token: ::String
329
+ attr_accessor max_results: ::Integer
311
330
  SENSITIVE: []
312
331
  end
313
332
 
314
333
  class ListScrapersResponse
315
- attr_accessor next_token: ::String
316
334
  attr_accessor scrapers: ::Array[Types::ScraperSummary]
335
+ attr_accessor next_token: ::String
317
336
  SENSITIVE: []
318
337
  end
319
338
 
@@ -328,24 +347,24 @@ module Aws::PrometheusService
328
347
  end
329
348
 
330
349
  class ListWorkspacesRequest
350
+ attr_accessor next_token: ::String
331
351
  attr_accessor alias: ::String
332
352
  attr_accessor max_results: ::Integer
333
- attr_accessor next_token: ::String
334
353
  SENSITIVE: []
335
354
  end
336
355
 
337
356
  class ListWorkspacesResponse
338
- attr_accessor next_token: ::String
339
357
  attr_accessor workspaces: ::Array[Types::WorkspaceSummary]
358
+ attr_accessor next_token: ::String
340
359
  SENSITIVE: []
341
360
  end
342
361
 
343
362
  class LoggingConfigurationMetadata
344
- attr_accessor created_at: ::Time
345
- attr_accessor log_group_arn: ::String
346
- attr_accessor modified_at: ::Time
347
363
  attr_accessor status: Types::LoggingConfigurationStatus
348
364
  attr_accessor workspace: ::String
365
+ attr_accessor log_group_arn: ::String
366
+ attr_accessor created_at: ::Time
367
+ attr_accessor modified_at: ::Time
349
368
  SENSITIVE: []
350
369
  end
351
370
 
@@ -367,9 +386,9 @@ module Aws::PrometheusService
367
386
  end
368
387
 
369
388
  class PutAlertManagerDefinitionRequest
370
- attr_accessor client_token: ::String
371
- attr_accessor data: ::String
372
389
  attr_accessor workspace_id: ::String
390
+ attr_accessor data: ::String
391
+ attr_accessor client_token: ::String
373
392
  SENSITIVE: []
374
393
  end
375
394
 
@@ -378,28 +397,42 @@ module Aws::PrometheusService
378
397
  SENSITIVE: []
379
398
  end
380
399
 
381
- class PutRuleGroupsNamespaceRequest
400
+ class PutResourcePolicyRequest
401
+ attr_accessor workspace_id: ::String
402
+ attr_accessor policy_document: ::String
382
403
  attr_accessor client_token: ::String
383
- attr_accessor data: ::String
384
- attr_accessor name: ::String
404
+ attr_accessor revision_id: ::String
405
+ SENSITIVE: []
406
+ end
407
+
408
+ class PutResourcePolicyResponse
409
+ attr_accessor policy_status: ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING")
410
+ attr_accessor revision_id: ::String
411
+ SENSITIVE: []
412
+ end
413
+
414
+ class PutRuleGroupsNamespaceRequest
385
415
  attr_accessor workspace_id: ::String
416
+ attr_accessor name: ::String
417
+ attr_accessor data: ::String
418
+ attr_accessor client_token: ::String
386
419
  SENSITIVE: []
387
420
  end
388
421
 
389
422
  class PutRuleGroupsNamespaceResponse
390
- attr_accessor arn: ::String
391
423
  attr_accessor name: ::String
424
+ attr_accessor arn: ::String
392
425
  attr_accessor status: Types::RuleGroupsNamespaceStatus
393
426
  attr_accessor tags: ::Hash[::String, ::String]
394
427
  SENSITIVE: []
395
428
  end
396
429
 
397
430
  class QueryLoggingConfigurationMetadata
398
- attr_accessor created_at: ::Time
399
- attr_accessor destinations: ::Array[Types::LoggingDestination]
400
- attr_accessor modified_at: ::Time
401
431
  attr_accessor status: Types::QueryLoggingConfigurationStatus
402
432
  attr_accessor workspace: ::String
433
+ attr_accessor destinations: ::Array[Types::LoggingDestination]
434
+ attr_accessor created_at: ::Time
435
+ attr_accessor modified_at: ::Time
403
436
  SENSITIVE: []
404
437
  end
405
438
 
@@ -424,11 +457,11 @@ module Aws::PrometheusService
424
457
 
425
458
  class RuleGroupsNamespaceDescription
426
459
  attr_accessor arn: ::String
427
- attr_accessor created_at: ::Time
428
- attr_accessor data: ::String
429
- attr_accessor modified_at: ::Time
430
460
  attr_accessor name: ::String
431
461
  attr_accessor status: Types::RuleGroupsNamespaceStatus
462
+ attr_accessor data: ::String
463
+ attr_accessor created_at: ::Time
464
+ attr_accessor modified_at: ::Time
432
465
  attr_accessor tags: ::Hash[::String, ::String]
433
466
  SENSITIVE: []
434
467
  end
@@ -441,10 +474,10 @@ module Aws::PrometheusService
441
474
 
442
475
  class RuleGroupsNamespaceSummary
443
476
  attr_accessor arn: ::String
444
- attr_accessor created_at: ::Time
445
- attr_accessor modified_at: ::Time
446
477
  attr_accessor name: ::String
447
478
  attr_accessor status: Types::RuleGroupsNamespaceStatus
479
+ attr_accessor created_at: ::Time
480
+ attr_accessor modified_at: ::Time
448
481
  attr_accessor tags: ::Hash[::String, ::String]
449
482
  SENSITIVE: []
450
483
  end
@@ -462,18 +495,18 @@ module Aws::PrometheusService
462
495
 
463
496
  class ScraperDescription
464
497
  attr_accessor alias: ::String
498
+ attr_accessor scraper_id: ::String
465
499
  attr_accessor arn: ::String
500
+ attr_accessor role_arn: ::String
501
+ attr_accessor status: Types::ScraperStatus
466
502
  attr_accessor created_at: ::Time
467
- attr_accessor destination: Types::Destination
468
503
  attr_accessor last_modified_at: ::Time
469
- attr_accessor role_arn: ::String
470
- attr_accessor role_configuration: Types::RoleConfiguration
504
+ attr_accessor tags: ::Hash[::String, ::String]
505
+ attr_accessor status_reason: ::String
471
506
  attr_accessor scrape_configuration: Types::ScrapeConfiguration
472
- attr_accessor scraper_id: ::String
473
507
  attr_accessor source: Types::Source
474
- attr_accessor status: Types::ScraperStatus
475
- attr_accessor status_reason: ::String
476
- attr_accessor tags: ::Hash[::String, ::String]
508
+ attr_accessor destination: Types::Destination
509
+ attr_accessor role_configuration: Types::RoleConfiguration
477
510
  SENSITIVE: []
478
511
  end
479
512
 
@@ -484,26 +517,26 @@ module Aws::PrometheusService
484
517
 
485
518
  class ScraperSummary
486
519
  attr_accessor alias: ::String
520
+ attr_accessor scraper_id: ::String
487
521
  attr_accessor arn: ::String
488
- attr_accessor created_at: ::Time
489
- attr_accessor destination: Types::Destination
490
- attr_accessor last_modified_at: ::Time
491
522
  attr_accessor role_arn: ::String
492
- attr_accessor role_configuration: Types::RoleConfiguration
493
- attr_accessor scraper_id: ::String
494
- attr_accessor source: Types::Source
495
523
  attr_accessor status: Types::ScraperStatus
496
- attr_accessor status_reason: ::String
524
+ attr_accessor created_at: ::Time
525
+ attr_accessor last_modified_at: ::Time
497
526
  attr_accessor tags: ::Hash[::String, ::String]
527
+ attr_accessor status_reason: ::String
528
+ attr_accessor source: Types::Source
529
+ attr_accessor destination: Types::Destination
530
+ attr_accessor role_configuration: Types::RoleConfiguration
498
531
  SENSITIVE: []
499
532
  end
500
533
 
501
534
  class ServiceQuotaExceededException
502
535
  attr_accessor message: ::String
503
- attr_accessor quota_code: ::String
504
536
  attr_accessor resource_id: ::String
505
537
  attr_accessor resource_type: ::String
506
538
  attr_accessor service_code: ::String
539
+ attr_accessor quota_code: ::String
507
540
  SENSITIVE: []
508
541
  end
509
542
 
@@ -529,9 +562,9 @@ module Aws::PrometheusService
529
562
 
530
563
  class ThrottlingException
531
564
  attr_accessor message: ::String
565
+ attr_accessor service_code: ::String
532
566
  attr_accessor quota_code: ::String
533
567
  attr_accessor retry_after_seconds: ::Integer
534
- attr_accessor service_code: ::String
535
568
  SENSITIVE: []
536
569
  end
537
570
 
@@ -545,9 +578,9 @@ module Aws::PrometheusService
545
578
  end
546
579
 
547
580
  class UpdateLoggingConfigurationRequest
548
- attr_accessor client_token: ::String
549
- attr_accessor log_group_arn: ::String
550
581
  attr_accessor workspace_id: ::String
582
+ attr_accessor log_group_arn: ::String
583
+ attr_accessor client_token: ::String
551
584
  SENSITIVE: []
552
585
  end
553
586
 
@@ -557,9 +590,9 @@ module Aws::PrometheusService
557
590
  end
558
591
 
559
592
  class UpdateQueryLoggingConfigurationRequest
560
- attr_accessor client_token: ::String
561
- attr_accessor destinations: ::Array[Types::LoggingDestination]
562
593
  attr_accessor workspace_id: ::String
594
+ attr_accessor destinations: ::Array[Types::LoggingDestination]
595
+ attr_accessor client_token: ::String
563
596
  SENSITIVE: []
564
597
  end
565
598
 
@@ -569,35 +602,35 @@ module Aws::PrometheusService
569
602
  end
570
603
 
571
604
  class UpdateScraperRequest
605
+ attr_accessor scraper_id: ::String
572
606
  attr_accessor alias: ::String
573
- attr_accessor client_token: ::String
607
+ attr_accessor scrape_configuration: Types::ScrapeConfiguration
574
608
  attr_accessor destination: Types::Destination
575
609
  attr_accessor role_configuration: Types::RoleConfiguration
576
- attr_accessor scrape_configuration: Types::ScrapeConfiguration
577
- attr_accessor scraper_id: ::String
610
+ attr_accessor client_token: ::String
578
611
  SENSITIVE: []
579
612
  end
580
613
 
581
614
  class UpdateScraperResponse
582
- attr_accessor arn: ::String
583
615
  attr_accessor scraper_id: ::String
616
+ attr_accessor arn: ::String
584
617
  attr_accessor status: Types::ScraperStatus
585
618
  attr_accessor tags: ::Hash[::String, ::String]
586
619
  SENSITIVE: []
587
620
  end
588
621
 
589
622
  class UpdateWorkspaceAliasRequest
623
+ attr_accessor workspace_id: ::String
590
624
  attr_accessor alias: ::String
591
625
  attr_accessor client_token: ::String
592
- attr_accessor workspace_id: ::String
593
626
  SENSITIVE: []
594
627
  end
595
628
 
596
629
  class UpdateWorkspaceConfigurationRequest
630
+ attr_accessor workspace_id: ::String
597
631
  attr_accessor client_token: ::String
598
632
  attr_accessor limits_per_label_set: ::Array[Types::LimitsPerLabelSet]
599
633
  attr_accessor retention_period_in_days: ::Integer
600
- attr_accessor workspace_id: ::String
601
634
  SENSITIVE: []
602
635
  end
603
636
 
@@ -607,22 +640,22 @@ module Aws::PrometheusService
607
640
  end
608
641
 
609
642
  class ValidationException
610
- attr_accessor field_list: ::Array[Types::ValidationExceptionField]
611
643
  attr_accessor message: ::String
612
644
  attr_accessor reason: ("UNKNOWN_OPERATION" | "CANNOT_PARSE" | "FIELD_VALIDATION_FAILED" | "OTHER")
645
+ attr_accessor field_list: ::Array[Types::ValidationExceptionField]
613
646
  SENSITIVE: []
614
647
  end
615
648
 
616
649
  class ValidationExceptionField
617
- attr_accessor message: ::String
618
650
  attr_accessor name: ::String
651
+ attr_accessor message: ::String
619
652
  SENSITIVE: []
620
653
  end
621
654
 
622
655
  class WorkspaceConfigurationDescription
656
+ attr_accessor status: Types::WorkspaceConfigurationStatus
623
657
  attr_accessor limits_per_label_set: ::Array[Types::LimitsPerLabelSet]
624
658
  attr_accessor retention_period_in_days: ::Integer
625
- attr_accessor status: Types::WorkspaceConfigurationStatus
626
659
  SENSITIVE: []
627
660
  end
628
661
 
@@ -633,14 +666,14 @@ module Aws::PrometheusService
633
666
  end
634
667
 
635
668
  class WorkspaceDescription
669
+ attr_accessor workspace_id: ::String
636
670
  attr_accessor alias: ::String
637
671
  attr_accessor arn: ::String
638
- attr_accessor created_at: ::Time
639
- attr_accessor kms_key_arn: ::String
640
- attr_accessor prometheus_endpoint: ::String
641
672
  attr_accessor status: Types::WorkspaceStatus
673
+ attr_accessor prometheus_endpoint: ::String
674
+ attr_accessor created_at: ::Time
642
675
  attr_accessor tags: ::Hash[::String, ::String]
643
- attr_accessor workspace_id: ::String
676
+ attr_accessor kms_key_arn: ::String
644
677
  SENSITIVE: []
645
678
  end
646
679
 
@@ -650,13 +683,13 @@ module Aws::PrometheusService
650
683
  end
651
684
 
652
685
  class WorkspaceSummary
686
+ attr_accessor workspace_id: ::String
653
687
  attr_accessor alias: ::String
654
688
  attr_accessor arn: ::String
655
- attr_accessor created_at: ::Time
656
- attr_accessor kms_key_arn: ::String
657
689
  attr_accessor status: Types::WorkspaceStatus
690
+ attr_accessor created_at: ::Time
658
691
  attr_accessor tags: ::Hash[::String, ::String]
659
- attr_accessor workspace_id: ::String
692
+ attr_accessor kms_key_arn: ::String
660
693
  SENSITIVE: []
661
694
  end
662
695
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-prometheusservice
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.56.0
4
+ version: 1.57.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services