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
@@ -28,9 +28,10 @@ module Aws::PrometheusService
|
|
28
28
|
# for the alert manager, including information about receivers for
|
29
29
|
# routing alerts.
|
30
30
|
#
|
31
|
-
# @!attribute [rw]
|
32
|
-
#
|
33
|
-
#
|
31
|
+
# @!attribute [rw] status
|
32
|
+
# A structure that displays the current status of the alert manager
|
33
|
+
# definition..
|
34
|
+
# @return [Types::AlertManagerDefinitionStatus]
|
34
35
|
#
|
35
36
|
# @!attribute [rw] data
|
36
37
|
# The actual alert manager definition.
|
@@ -43,23 +44,22 @@ module Aws::PrometheusService
|
|
43
44
|
# [1]: https://docs.aws.amazon.com/prometheus/latest/APIReference/yaml-AlertManagerDefinitionData.html
|
44
45
|
# @return [String]
|
45
46
|
#
|
47
|
+
# @!attribute [rw] created_at
|
48
|
+
# The date and time that the alert manager definition was created.
|
49
|
+
# @return [Time]
|
50
|
+
#
|
46
51
|
# @!attribute [rw] modified_at
|
47
52
|
# The date and time that the alert manager definition was most
|
48
53
|
# recently changed.
|
49
54
|
# @return [Time]
|
50
55
|
#
|
51
|
-
# @!attribute [rw] status
|
52
|
-
# A structure that displays the current status of the alert manager
|
53
|
-
# definition..
|
54
|
-
# @return [Types::AlertManagerDefinitionStatus]
|
55
|
-
#
|
56
56
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/AlertManagerDefinitionDescription AWS API Documentation
|
57
57
|
#
|
58
58
|
class AlertManagerDefinitionDescription < Struct.new(
|
59
|
-
:
|
59
|
+
:status,
|
60
60
|
:data,
|
61
|
-
:
|
62
|
-
:
|
61
|
+
:created_at,
|
62
|
+
:modified_at)
|
63
63
|
SENSITIVE = []
|
64
64
|
include Aws::Structure
|
65
65
|
end
|
@@ -140,12 +140,8 @@ module Aws::PrometheusService
|
|
140
140
|
|
141
141
|
# Represents the input of a `CreateAlertManagerDefinition` operation.
|
142
142
|
#
|
143
|
-
# @!attribute [rw]
|
144
|
-
#
|
145
|
-
# of the request. Case-sensitive.
|
146
|
-
#
|
147
|
-
# **A suitable default value is auto-generated.** You should normally
|
148
|
-
# not need to pass this option.
|
143
|
+
# @!attribute [rw] workspace_id
|
144
|
+
# The ID of the workspace to add the alert manager definition to.
|
149
145
|
# @return [String]
|
150
146
|
#
|
151
147
|
# @!attribute [rw] data
|
@@ -160,16 +156,20 @@ module Aws::PrometheusService
|
|
160
156
|
# [1]: https://docs.aws.amazon.com/prometheus/latest/APIReference/yaml-AlertManagerDefinitionData.html
|
161
157
|
# @return [String]
|
162
158
|
#
|
163
|
-
# @!attribute [rw]
|
164
|
-
#
|
159
|
+
# @!attribute [rw] client_token
|
160
|
+
# A unique identifier that you can provide to ensure the idempotency
|
161
|
+
# of the request. Case-sensitive.
|
162
|
+
#
|
163
|
+
# **A suitable default value is auto-generated.** You should normally
|
164
|
+
# not need to pass this option.
|
165
165
|
# @return [String]
|
166
166
|
#
|
167
167
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/CreateAlertManagerDefinitionRequest AWS API Documentation
|
168
168
|
#
|
169
169
|
class CreateAlertManagerDefinitionRequest < Struct.new(
|
170
|
-
:
|
170
|
+
:workspace_id,
|
171
171
|
:data,
|
172
|
-
:
|
172
|
+
:client_token)
|
173
173
|
SENSITIVE = []
|
174
174
|
include Aws::Structure
|
175
175
|
end
|
@@ -191,12 +191,8 @@ module Aws::PrometheusService
|
|
191
191
|
|
192
192
|
# Represents the input of a `CreateLoggingConfiguration` operation.
|
193
193
|
#
|
194
|
-
# @!attribute [rw]
|
195
|
-
#
|
196
|
-
# of the request. Case-sensitive.
|
197
|
-
#
|
198
|
-
# **A suitable default value is auto-generated.** You should normally
|
199
|
-
# not need to pass this option.
|
194
|
+
# @!attribute [rw] workspace_id
|
195
|
+
# The ID of the workspace to create the logging configuration for.
|
200
196
|
# @return [String]
|
201
197
|
#
|
202
198
|
# @!attribute [rw] log_group_arn
|
@@ -205,16 +201,20 @@ module Aws::PrometheusService
|
|
205
201
|
# operation.
|
206
202
|
# @return [String]
|
207
203
|
#
|
208
|
-
# @!attribute [rw]
|
209
|
-
#
|
204
|
+
# @!attribute [rw] client_token
|
205
|
+
# A unique identifier that you can provide to ensure the idempotency
|
206
|
+
# of the request. Case-sensitive.
|
207
|
+
#
|
208
|
+
# **A suitable default value is auto-generated.** You should normally
|
209
|
+
# not need to pass this option.
|
210
210
|
# @return [String]
|
211
211
|
#
|
212
212
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/CreateLoggingConfigurationRequest AWS API Documentation
|
213
213
|
#
|
214
214
|
class CreateLoggingConfigurationRequest < Struct.new(
|
215
|
-
:
|
215
|
+
:workspace_id,
|
216
216
|
:log_group_arn,
|
217
|
-
:
|
217
|
+
:client_token)
|
218
218
|
SENSITIVE = []
|
219
219
|
include Aws::Structure
|
220
220
|
end
|
@@ -234,12 +234,9 @@ module Aws::PrometheusService
|
|
234
234
|
include Aws::Structure
|
235
235
|
end
|
236
236
|
|
237
|
-
# @!attribute [rw]
|
238
|
-
#
|
239
|
-
#
|
240
|
-
#
|
241
|
-
# **A suitable default value is auto-generated.** You should normally
|
242
|
-
# not need to pass this option.
|
237
|
+
# @!attribute [rw] workspace_id
|
238
|
+
# The ID of the workspace for which to create the query logging
|
239
|
+
# configuration.
|
243
240
|
# @return [String]
|
244
241
|
#
|
245
242
|
# @!attribute [rw] destinations
|
@@ -247,17 +244,20 @@ module Aws::PrometheusService
|
|
247
244
|
# destination is supported. The list must contain exactly one element.
|
248
245
|
# @return [Array<Types::LoggingDestination>]
|
249
246
|
#
|
250
|
-
# @!attribute [rw]
|
251
|
-
#
|
252
|
-
#
|
247
|
+
# @!attribute [rw] client_token
|
248
|
+
# (Optional) A unique, case-sensitive identifier that you can provide
|
249
|
+
# to ensure the idempotency of the request.
|
250
|
+
#
|
251
|
+
# **A suitable default value is auto-generated.** You should normally
|
252
|
+
# not need to pass this option.
|
253
253
|
# @return [String]
|
254
254
|
#
|
255
255
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/CreateQueryLoggingConfigurationRequest AWS API Documentation
|
256
256
|
#
|
257
257
|
class CreateQueryLoggingConfigurationRequest < Struct.new(
|
258
|
-
:
|
258
|
+
:workspace_id,
|
259
259
|
:destinations,
|
260
|
-
:
|
260
|
+
:client_token)
|
261
261
|
SENSITIVE = []
|
262
262
|
include Aws::Structure
|
263
263
|
end
|
@@ -276,12 +276,12 @@ module Aws::PrometheusService
|
|
276
276
|
|
277
277
|
# Represents the input of a `CreateRuleGroupsNamespace` operation.
|
278
278
|
#
|
279
|
-
# @!attribute [rw]
|
280
|
-
#
|
281
|
-
#
|
279
|
+
# @!attribute [rw] workspace_id
|
280
|
+
# The ID of the workspace to add the rule groups namespace.
|
281
|
+
# @return [String]
|
282
282
|
#
|
283
|
-
#
|
284
|
-
#
|
283
|
+
# @!attribute [rw] name
|
284
|
+
# The name for the new rule groups namespace.
|
285
285
|
# @return [String]
|
286
286
|
#
|
287
287
|
# @!attribute [rw] data
|
@@ -297,8 +297,12 @@ module Aws::PrometheusService
|
|
297
297
|
# [1]: https://docs.aws.amazon.com/prometheus/latest/APIReference/yaml-RuleGroupsNamespaceData.html
|
298
298
|
# @return [String]
|
299
299
|
#
|
300
|
-
# @!attribute [rw]
|
301
|
-
#
|
300
|
+
# @!attribute [rw] client_token
|
301
|
+
# A unique identifier that you can provide to ensure the idempotency
|
302
|
+
# of the request. Case-sensitive.
|
303
|
+
#
|
304
|
+
# **A suitable default value is auto-generated.** You should normally
|
305
|
+
# not need to pass this option.
|
302
306
|
# @return [String]
|
303
307
|
#
|
304
308
|
# @!attribute [rw] tags
|
@@ -306,32 +310,28 @@ module Aws::PrometheusService
|
|
306
310
|
# namespace.
|
307
311
|
# @return [Hash<String,String>]
|
308
312
|
#
|
309
|
-
# @!attribute [rw] workspace_id
|
310
|
-
# The ID of the workspace to add the rule groups namespace.
|
311
|
-
# @return [String]
|
312
|
-
#
|
313
313
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/CreateRuleGroupsNamespaceRequest AWS API Documentation
|
314
314
|
#
|
315
315
|
class CreateRuleGroupsNamespaceRequest < Struct.new(
|
316
|
-
:
|
317
|
-
:data,
|
316
|
+
:workspace_id,
|
318
317
|
:name,
|
319
|
-
:
|
320
|
-
:
|
318
|
+
:data,
|
319
|
+
:client_token,
|
320
|
+
:tags)
|
321
321
|
SENSITIVE = []
|
322
322
|
include Aws::Structure
|
323
323
|
end
|
324
324
|
|
325
325
|
# Represents the output of a `CreateRuleGroupsNamespace` operation.
|
326
326
|
#
|
327
|
-
# @!attribute [rw] arn
|
328
|
-
# The Amazon Resource Name (ARN) of the new rule groups namespace.
|
329
|
-
# @return [String]
|
330
|
-
#
|
331
327
|
# @!attribute [rw] name
|
332
328
|
# The name of the new rule groups namespace.
|
333
329
|
# @return [String]
|
334
330
|
#
|
331
|
+
# @!attribute [rw] arn
|
332
|
+
# The Amazon Resource Name (ARN) of the new rule groups namespace.
|
333
|
+
# @return [String]
|
334
|
+
#
|
335
335
|
# @!attribute [rw] status
|
336
336
|
# A structure that returns the current status of the rule groups
|
337
337
|
# namespace.
|
@@ -345,8 +345,8 @@ module Aws::PrometheusService
|
|
345
345
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/CreateRuleGroupsNamespaceResponse AWS API Documentation
|
346
346
|
#
|
347
347
|
class CreateRuleGroupsNamespaceResponse < Struct.new(
|
348
|
-
:arn,
|
349
348
|
:name,
|
349
|
+
:arn,
|
350
350
|
:status,
|
351
351
|
:tags)
|
352
352
|
SENSITIVE = []
|
@@ -360,13 +360,19 @@ module Aws::PrometheusService
|
|
360
360
|
# use, and does not need to be unique.
|
361
361
|
# @return [String]
|
362
362
|
#
|
363
|
-
# @!attribute [rw]
|
364
|
-
#
|
365
|
-
#
|
363
|
+
# @!attribute [rw] scrape_configuration
|
364
|
+
# The configuration file to use in the new scraper. For more
|
365
|
+
# information, see [Scraper configuration][1] in the *Amazon Managed
|
366
|
+
# Service for Prometheus User Guide*.
|
366
367
|
#
|
367
|
-
#
|
368
|
-
#
|
369
|
-
#
|
368
|
+
#
|
369
|
+
#
|
370
|
+
# [1]: https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-collector-how-to.html#AMP-collector-configuration
|
371
|
+
# @return [Types::ScrapeConfiguration]
|
372
|
+
#
|
373
|
+
# @!attribute [rw] source
|
374
|
+
# The Amazon EKS cluster from which the scraper will collect metrics.
|
375
|
+
# @return [Types::Source]
|
370
376
|
#
|
371
377
|
# @!attribute [rw] destination
|
372
378
|
# The Amazon Managed Service for Prometheus workspace to send metrics
|
@@ -379,19 +385,13 @@ module Aws::PrometheusService
|
|
379
385
|
# accounts.
|
380
386
|
# @return [Types::RoleConfiguration]
|
381
387
|
#
|
382
|
-
# @!attribute [rw]
|
383
|
-
#
|
384
|
-
#
|
385
|
-
# Service for Prometheus User Guide*.
|
386
|
-
#
|
387
|
-
#
|
388
|
-
#
|
389
|
-
# [1]: https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-collector-how-to.html#AMP-collector-configuration
|
390
|
-
# @return [Types::ScrapeConfiguration]
|
388
|
+
# @!attribute [rw] client_token
|
389
|
+
# (Optional) A unique, case-sensitive identifier that you can provide
|
390
|
+
# to ensure the idempotency of the request.
|
391
391
|
#
|
392
|
-
#
|
393
|
-
#
|
394
|
-
# @return [
|
392
|
+
# **A suitable default value is auto-generated.** You should normally
|
393
|
+
# not need to pass this option.
|
394
|
+
# @return [String]
|
395
395
|
#
|
396
396
|
# @!attribute [rw] tags
|
397
397
|
# (Optional) The list of tag keys and values to associate with the
|
@@ -402,11 +402,11 @@ module Aws::PrometheusService
|
|
402
402
|
#
|
403
403
|
class CreateScraperRequest < Struct.new(
|
404
404
|
:alias,
|
405
|
-
:client_token,
|
406
|
-
:destination,
|
407
|
-
:role_configuration,
|
408
405
|
:scrape_configuration,
|
409
406
|
:source,
|
407
|
+
:destination,
|
408
|
+
:role_configuration,
|
409
|
+
:client_token,
|
410
410
|
:tags)
|
411
411
|
SENSITIVE = []
|
412
412
|
include Aws::Structure
|
@@ -414,14 +414,14 @@ module Aws::PrometheusService
|
|
414
414
|
|
415
415
|
# Represents the output of a `CreateScraper` operation.
|
416
416
|
#
|
417
|
-
# @!attribute [rw] arn
|
418
|
-
# The Amazon Resource Name (ARN) of the new scraper.
|
419
|
-
# @return [String]
|
420
|
-
#
|
421
417
|
# @!attribute [rw] scraper_id
|
422
418
|
# The ID of the new scraper.
|
423
419
|
# @return [String]
|
424
420
|
#
|
421
|
+
# @!attribute [rw] arn
|
422
|
+
# The Amazon Resource Name (ARN) of the new scraper.
|
423
|
+
# @return [String]
|
424
|
+
#
|
425
425
|
# @!attribute [rw] status
|
426
426
|
# A structure that displays the current status of the scraper.
|
427
427
|
# @return [Types::ScraperStatus]
|
@@ -434,8 +434,8 @@ module Aws::PrometheusService
|
|
434
434
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/CreateScraperResponse AWS API Documentation
|
435
435
|
#
|
436
436
|
class CreateScraperResponse < Struct.new(
|
437
|
-
:arn,
|
438
437
|
:scraper_id,
|
438
|
+
:arn,
|
439
439
|
:status,
|
440
440
|
:tags)
|
441
441
|
SENSITIVE = []
|
@@ -460,6 +460,10 @@ module Aws::PrometheusService
|
|
460
460
|
# not need to pass this option.
|
461
461
|
# @return [String]
|
462
462
|
#
|
463
|
+
# @!attribute [rw] tags
|
464
|
+
# The list of tag keys and values to associate with the workspace.
|
465
|
+
# @return [Hash<String,String>]
|
466
|
+
#
|
463
467
|
# @!attribute [rw] kms_key_arn
|
464
468
|
# (optional) The ARN for a customer managed KMS key to use for
|
465
469
|
# encrypting data within your workspace. For more information about
|
@@ -471,30 +475,25 @@ module Aws::PrometheusService
|
|
471
475
|
# [1]: https://docs.aws.amazon.com/prometheus/latest/userguide/encryption-at-rest-Amazon-Service-Prometheus.html
|
472
476
|
# @return [String]
|
473
477
|
#
|
474
|
-
# @!attribute [rw] tags
|
475
|
-
# The list of tag keys and values to associate with the workspace.
|
476
|
-
# @return [Hash<String,String>]
|
477
|
-
#
|
478
478
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/CreateWorkspaceRequest AWS API Documentation
|
479
479
|
#
|
480
480
|
class CreateWorkspaceRequest < Struct.new(
|
481
481
|
:alias,
|
482
482
|
:client_token,
|
483
|
-
:
|
484
|
-
:
|
483
|
+
:tags,
|
484
|
+
:kms_key_arn)
|
485
485
|
SENSITIVE = []
|
486
486
|
include Aws::Structure
|
487
487
|
end
|
488
488
|
|
489
489
|
# Represents the output of a `CreateWorkspace` operation.
|
490
490
|
#
|
491
|
-
# @!attribute [rw]
|
492
|
-
# The
|
491
|
+
# @!attribute [rw] workspace_id
|
492
|
+
# The unique ID for the new workspace.
|
493
493
|
# @return [String]
|
494
494
|
#
|
495
|
-
# @!attribute [rw]
|
496
|
-
#
|
497
|
-
# key, the ARN for the key used.
|
495
|
+
# @!attribute [rw] arn
|
496
|
+
# The ARN for the new workspace.
|
498
497
|
# @return [String]
|
499
498
|
#
|
500
499
|
# @!attribute [rw] status
|
@@ -507,24 +506,29 @@ module Aws::PrometheusService
|
|
507
506
|
# workspace.
|
508
507
|
# @return [Hash<String,String>]
|
509
508
|
#
|
510
|
-
# @!attribute [rw]
|
511
|
-
#
|
509
|
+
# @!attribute [rw] kms_key_arn
|
510
|
+
# (optional) If the workspace was created with a customer managed KMS
|
511
|
+
# key, the ARN for the key used.
|
512
512
|
# @return [String]
|
513
513
|
#
|
514
514
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/CreateWorkspaceResponse AWS API Documentation
|
515
515
|
#
|
516
516
|
class CreateWorkspaceResponse < Struct.new(
|
517
|
+
:workspace_id,
|
517
518
|
:arn,
|
518
|
-
:kms_key_arn,
|
519
519
|
:status,
|
520
520
|
:tags,
|
521
|
-
:
|
521
|
+
:kms_key_arn)
|
522
522
|
SENSITIVE = []
|
523
523
|
include Aws::Structure
|
524
524
|
end
|
525
525
|
|
526
526
|
# Represents the input of a `DeleteAlertManagerDefinition` operation.
|
527
527
|
#
|
528
|
+
# @!attribute [rw] workspace_id
|
529
|
+
# The ID of the workspace to delete the alert manager definition from.
|
530
|
+
# @return [String]
|
531
|
+
#
|
528
532
|
# @!attribute [rw] client_token
|
529
533
|
# A unique identifier that you can provide to ensure the idempotency
|
530
534
|
# of the request. Case-sensitive.
|
@@ -533,21 +537,22 @@ module Aws::PrometheusService
|
|
533
537
|
# not need to pass this option.
|
534
538
|
# @return [String]
|
535
539
|
#
|
536
|
-
# @!attribute [rw] workspace_id
|
537
|
-
# The ID of the workspace to delete the alert manager definition from.
|
538
|
-
# @return [String]
|
539
|
-
#
|
540
540
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DeleteAlertManagerDefinitionRequest AWS API Documentation
|
541
541
|
#
|
542
542
|
class DeleteAlertManagerDefinitionRequest < Struct.new(
|
543
|
-
:
|
544
|
-
:
|
543
|
+
:workspace_id,
|
544
|
+
:client_token)
|
545
545
|
SENSITIVE = []
|
546
546
|
include Aws::Structure
|
547
547
|
end
|
548
548
|
|
549
549
|
# Represents the input of a `DeleteLoggingConfiguration` operation.
|
550
550
|
#
|
551
|
+
# @!attribute [rw] workspace_id
|
552
|
+
# The ID of the workspace containing the logging configuration to
|
553
|
+
# delete.
|
554
|
+
# @return [String]
|
555
|
+
#
|
551
556
|
# @!attribute [rw] client_token
|
552
557
|
# A unique identifier that you can provide to ensure the idempotency
|
553
558
|
# of the request. Case-sensitive.
|
@@ -556,20 +561,20 @@ module Aws::PrometheusService
|
|
556
561
|
# not need to pass this option.
|
557
562
|
# @return [String]
|
558
563
|
#
|
559
|
-
# @!attribute [rw] workspace_id
|
560
|
-
# The ID of the workspace containing the logging configuration to
|
561
|
-
# delete.
|
562
|
-
# @return [String]
|
563
|
-
#
|
564
564
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DeleteLoggingConfigurationRequest AWS API Documentation
|
565
565
|
#
|
566
566
|
class DeleteLoggingConfigurationRequest < Struct.new(
|
567
|
-
:
|
568
|
-
:
|
567
|
+
:workspace_id,
|
568
|
+
:client_token)
|
569
569
|
SENSITIVE = []
|
570
570
|
include Aws::Structure
|
571
571
|
end
|
572
572
|
|
573
|
+
# @!attribute [rw] workspace_id
|
574
|
+
# The ID of the workspace from which to delete the query logging
|
575
|
+
# configuration.
|
576
|
+
# @return [String]
|
577
|
+
#
|
573
578
|
# @!attribute [rw] client_token
|
574
579
|
# (Optional) A unique, case-sensitive identifier that you can provide
|
575
580
|
# to ensure the idempotency of the request.
|
@@ -578,51 +583,78 @@ module Aws::PrometheusService
|
|
578
583
|
# not need to pass this option.
|
579
584
|
# @return [String]
|
580
585
|
#
|
581
|
-
# @!attribute [rw] workspace_id
|
582
|
-
# The ID of the workspace from which to delete the query logging
|
583
|
-
# configuration.
|
584
|
-
# @return [String]
|
585
|
-
#
|
586
586
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DeleteQueryLoggingConfigurationRequest AWS API Documentation
|
587
587
|
#
|
588
588
|
class DeleteQueryLoggingConfigurationRequest < Struct.new(
|
589
|
-
:
|
590
|
-
:
|
589
|
+
:workspace_id,
|
590
|
+
:client_token)
|
591
591
|
SENSITIVE = []
|
592
592
|
include Aws::Structure
|
593
593
|
end
|
594
594
|
|
595
|
-
#
|
595
|
+
# @!attribute [rw] workspace_id
|
596
|
+
# The ID of the workspace from which to delete the resource-based
|
597
|
+
# policy.
|
598
|
+
# @return [String]
|
596
599
|
#
|
597
600
|
# @!attribute [rw] client_token
|
598
|
-
# A unique identifier that you
|
599
|
-
#
|
601
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
602
|
+
# request is safe to retry (idempotent).
|
600
603
|
#
|
601
604
|
# **A suitable default value is auto-generated.** You should normally
|
602
605
|
# not need to pass this option.
|
603
606
|
# @return [String]
|
604
607
|
#
|
605
|
-
# @!attribute [rw]
|
606
|
-
# The
|
608
|
+
# @!attribute [rw] revision_id
|
609
|
+
# The revision ID of the policy to delete. Use this parameter to
|
610
|
+
# ensure that you are deleting the correct version of the policy.
|
607
611
|
# @return [String]
|
608
612
|
#
|
613
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DeleteResourcePolicyRequest AWS API Documentation
|
614
|
+
#
|
615
|
+
class DeleteResourcePolicyRequest < Struct.new(
|
616
|
+
:workspace_id,
|
617
|
+
:client_token,
|
618
|
+
:revision_id)
|
619
|
+
SENSITIVE = []
|
620
|
+
include Aws::Structure
|
621
|
+
end
|
622
|
+
|
623
|
+
# Represents the input of a `DeleteRuleGroupsNamespace` operation.
|
624
|
+
#
|
609
625
|
# @!attribute [rw] workspace_id
|
610
626
|
# The ID of the workspace containing the rule groups namespace and
|
611
627
|
# definition to delete.
|
612
628
|
# @return [String]
|
613
629
|
#
|
630
|
+
# @!attribute [rw] name
|
631
|
+
# The name of the rule groups namespace to delete.
|
632
|
+
# @return [String]
|
633
|
+
#
|
634
|
+
# @!attribute [rw] client_token
|
635
|
+
# A unique identifier that you can provide to ensure the idempotency
|
636
|
+
# of the request. Case-sensitive.
|
637
|
+
#
|
638
|
+
# **A suitable default value is auto-generated.** You should normally
|
639
|
+
# not need to pass this option.
|
640
|
+
# @return [String]
|
641
|
+
#
|
614
642
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DeleteRuleGroupsNamespaceRequest AWS API Documentation
|
615
643
|
#
|
616
644
|
class DeleteRuleGroupsNamespaceRequest < Struct.new(
|
617
|
-
:
|
645
|
+
:workspace_id,
|
618
646
|
:name,
|
619
|
-
:
|
647
|
+
:client_token)
|
620
648
|
SENSITIVE = []
|
621
649
|
include Aws::Structure
|
622
650
|
end
|
623
651
|
|
624
652
|
# Represents the input of a `DeleteScraper` operation.
|
625
653
|
#
|
654
|
+
# @!attribute [rw] scraper_id
|
655
|
+
# The ID of the scraper to delete.
|
656
|
+
# @return [String]
|
657
|
+
#
|
626
658
|
# @!attribute [rw] client_token
|
627
659
|
# (Optional) A unique, case-sensitive identifier that you can provide
|
628
660
|
# to ensure the idempotency of the request.
|
@@ -631,15 +663,11 @@ module Aws::PrometheusService
|
|
631
663
|
# not need to pass this option.
|
632
664
|
# @return [String]
|
633
665
|
#
|
634
|
-
# @!attribute [rw] scraper_id
|
635
|
-
# The ID of the scraper to delete.
|
636
|
-
# @return [String]
|
637
|
-
#
|
638
666
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DeleteScraperRequest AWS API Documentation
|
639
667
|
#
|
640
668
|
class DeleteScraperRequest < Struct.new(
|
641
|
-
:
|
642
|
-
:
|
669
|
+
:scraper_id,
|
670
|
+
:client_token)
|
643
671
|
SENSITIVE = []
|
644
672
|
include Aws::Structure
|
645
673
|
end
|
@@ -665,6 +693,10 @@ module Aws::PrometheusService
|
|
665
693
|
|
666
694
|
# Represents the input of a `DeleteWorkspace` operation.
|
667
695
|
#
|
696
|
+
# @!attribute [rw] workspace_id
|
697
|
+
# The ID of the workspace to delete.
|
698
|
+
# @return [String]
|
699
|
+
#
|
668
700
|
# @!attribute [rw] client_token
|
669
701
|
# A unique identifier that you can provide to ensure the idempotency
|
670
702
|
# of the request. Case-sensitive.
|
@@ -673,15 +705,11 @@ module Aws::PrometheusService
|
|
673
705
|
# not need to pass this option.
|
674
706
|
# @return [String]
|
675
707
|
#
|
676
|
-
# @!attribute [rw] workspace_id
|
677
|
-
# The ID of the workspace to delete.
|
678
|
-
# @return [String]
|
679
|
-
#
|
680
708
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DeleteWorkspaceRequest AWS API Documentation
|
681
709
|
#
|
682
710
|
class DeleteWorkspaceRequest < Struct.new(
|
683
|
-
:
|
684
|
-
:
|
711
|
+
:workspace_id,
|
712
|
+
:client_token)
|
685
713
|
SENSITIVE = []
|
686
714
|
include Aws::Structure
|
687
715
|
end
|
@@ -770,21 +798,56 @@ module Aws::PrometheusService
|
|
770
798
|
include Aws::Structure
|
771
799
|
end
|
772
800
|
|
773
|
-
#
|
801
|
+
# @!attribute [rw] workspace_id
|
802
|
+
# The ID of the workspace to describe the resource-based policy for.
|
803
|
+
# @return [String]
|
774
804
|
#
|
775
|
-
#
|
776
|
-
#
|
805
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DescribeResourcePolicyRequest AWS API Documentation
|
806
|
+
#
|
807
|
+
class DescribeResourcePolicyRequest < Struct.new(
|
808
|
+
:workspace_id)
|
809
|
+
SENSITIVE = []
|
810
|
+
include Aws::Structure
|
811
|
+
end
|
812
|
+
|
813
|
+
# @!attribute [rw] policy_document
|
814
|
+
# The JSON policy document for the resource-based policy attached to
|
815
|
+
# the workspace.
|
816
|
+
# @return [String]
|
817
|
+
#
|
818
|
+
# @!attribute [rw] policy_status
|
819
|
+
# The current status of the resource-based policy.
|
820
|
+
# @return [String]
|
821
|
+
#
|
822
|
+
# @!attribute [rw] revision_id
|
823
|
+
# The revision ID of the current resource-based policy.
|
777
824
|
# @return [String]
|
778
825
|
#
|
826
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DescribeResourcePolicyResponse AWS API Documentation
|
827
|
+
#
|
828
|
+
class DescribeResourcePolicyResponse < Struct.new(
|
829
|
+
:policy_document,
|
830
|
+
:policy_status,
|
831
|
+
:revision_id)
|
832
|
+
SENSITIVE = []
|
833
|
+
include Aws::Structure
|
834
|
+
end
|
835
|
+
|
836
|
+
# Represents the input of a `DescribeRuleGroupsNamespace` operation.
|
837
|
+
#
|
779
838
|
# @!attribute [rw] workspace_id
|
780
839
|
# The ID of the workspace containing the rule groups namespace.
|
781
840
|
# @return [String]
|
782
841
|
#
|
842
|
+
# @!attribute [rw] name
|
843
|
+
# The name of the rule groups namespace that you want information for.
|
844
|
+
# @return [String]
|
845
|
+
#
|
783
846
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DescribeRuleGroupsNamespaceRequest AWS API Documentation
|
784
847
|
#
|
785
848
|
class DescribeRuleGroupsNamespaceRequest < Struct.new(
|
786
|
-
:
|
787
|
-
:
|
849
|
+
:workspace_id,
|
850
|
+
:name)
|
788
851
|
SENSITIVE = []
|
789
852
|
include Aws::Structure
|
790
853
|
end
|
@@ -995,6 +1058,11 @@ module Aws::PrometheusService
|
|
995
1058
|
# control time series limits and to monitor usage by specific label
|
996
1059
|
# groups. Example label sets might be `team:finance` or `env:prod`
|
997
1060
|
#
|
1061
|
+
# @!attribute [rw] limits
|
1062
|
+
# This structure contains the information about the limits that apply
|
1063
|
+
# to time series that match this label set.
|
1064
|
+
# @return [Types::LimitsPerLabelSetEntry]
|
1065
|
+
#
|
998
1066
|
# @!attribute [rw] label_set
|
999
1067
|
# This defines one label set that will have an enforced active time
|
1000
1068
|
# series limit.
|
@@ -1006,16 +1074,11 @@ module Aws::PrometheusService
|
|
1006
1074
|
# `[a-zA-Z_:][a-zA-Z0-9_:]*`
|
1007
1075
|
# @return [Hash<String,String>]
|
1008
1076
|
#
|
1009
|
-
# @!attribute [rw] limits
|
1010
|
-
# This structure contains the information about the limits that apply
|
1011
|
-
# to time series that match this label set.
|
1012
|
-
# @return [Types::LimitsPerLabelSetEntry]
|
1013
|
-
#
|
1014
1077
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/LimitsPerLabelSet AWS API Documentation
|
1015
1078
|
#
|
1016
1079
|
class LimitsPerLabelSet < Struct.new(
|
1017
|
-
:
|
1018
|
-
:
|
1080
|
+
:limits,
|
1081
|
+
:label_set)
|
1019
1082
|
SENSITIVE = []
|
1020
1083
|
include Aws::Structure
|
1021
1084
|
end
|
@@ -1042,9 +1105,9 @@ module Aws::PrometheusService
|
|
1042
1105
|
|
1043
1106
|
# Represents the input of a `ListRuleGroupsNamespaces` operation.
|
1044
1107
|
#
|
1045
|
-
# @!attribute [rw]
|
1046
|
-
# The
|
1047
|
-
# @return [
|
1108
|
+
# @!attribute [rw] workspace_id
|
1109
|
+
# The ID of the workspace containing the rule groups namespaces.
|
1110
|
+
# @return [String]
|
1048
1111
|
#
|
1049
1112
|
# @!attribute [rw] name
|
1050
1113
|
# Use this parameter to filter the rule groups namespaces that are
|
@@ -1063,38 +1126,38 @@ module Aws::PrometheusService
|
|
1063
1126
|
# subsequent call will return the remaining 2 namespaces.
|
1064
1127
|
# @return [String]
|
1065
1128
|
#
|
1066
|
-
# @!attribute [rw]
|
1067
|
-
# The
|
1068
|
-
# @return [
|
1129
|
+
# @!attribute [rw] max_results
|
1130
|
+
# The maximum number of results to return. The default is 100.
|
1131
|
+
# @return [Integer]
|
1069
1132
|
#
|
1070
1133
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/ListRuleGroupsNamespacesRequest AWS API Documentation
|
1071
1134
|
#
|
1072
1135
|
class ListRuleGroupsNamespacesRequest < Struct.new(
|
1073
|
-
:
|
1136
|
+
:workspace_id,
|
1074
1137
|
:name,
|
1075
1138
|
:next_token,
|
1076
|
-
:
|
1139
|
+
:max_results)
|
1077
1140
|
SENSITIVE = []
|
1078
1141
|
include Aws::Structure
|
1079
1142
|
end
|
1080
1143
|
|
1081
1144
|
# Represents the output of a `ListRuleGroupsNamespaces` operation.
|
1082
1145
|
#
|
1146
|
+
# @!attribute [rw] rule_groups_namespaces
|
1147
|
+
# The returned list of rule groups namespaces.
|
1148
|
+
# @return [Array<Types::RuleGroupsNamespaceSummary>]
|
1149
|
+
#
|
1083
1150
|
# @!attribute [rw] next_token
|
1084
1151
|
# A token indicating that there are more results to retrieve. You can
|
1085
1152
|
# use this token as part of your next `ListRuleGroupsNamespaces`
|
1086
1153
|
# request to retrieve those results.
|
1087
1154
|
# @return [String]
|
1088
1155
|
#
|
1089
|
-
# @!attribute [rw] rule_groups_namespaces
|
1090
|
-
# The returned list of rule groups namespaces.
|
1091
|
-
# @return [Array<Types::RuleGroupsNamespaceSummary>]
|
1092
|
-
#
|
1093
1156
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/ListRuleGroupsNamespacesResponse AWS API Documentation
|
1094
1157
|
#
|
1095
1158
|
class ListRuleGroupsNamespacesResponse < Struct.new(
|
1096
|
-
:
|
1097
|
-
:
|
1159
|
+
:rule_groups_namespaces,
|
1160
|
+
:next_token)
|
1098
1161
|
SENSITIVE = []
|
1099
1162
|
include Aws::Structure
|
1100
1163
|
end
|
@@ -1122,6 +1185,11 @@ module Aws::PrometheusService
|
|
1122
1185
|
# that match the filter.
|
1123
1186
|
# @return [Hash<String,Array<String>>]
|
1124
1187
|
#
|
1188
|
+
# @!attribute [rw] next_token
|
1189
|
+
# (Optional) The token for the next set of items to return. (You
|
1190
|
+
# received this token from a previous call.)
|
1191
|
+
# @return [String]
|
1192
|
+
#
|
1125
1193
|
# @!attribute [rw] max_results
|
1126
1194
|
# Optional) The maximum number of scrapers to return in one
|
1127
1195
|
# `ListScrapers` operation. The range is 1-1000.
|
@@ -1129,39 +1197,34 @@ module Aws::PrometheusService
|
|
1129
1197
|
# If you omit this parameter, the default of 100 is used.
|
1130
1198
|
# @return [Integer]
|
1131
1199
|
#
|
1132
|
-
# @!attribute [rw] next_token
|
1133
|
-
# (Optional) The token for the next set of items to return. (You
|
1134
|
-
# received this token from a previous call.)
|
1135
|
-
# @return [String]
|
1136
|
-
#
|
1137
1200
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/ListScrapersRequest AWS API Documentation
|
1138
1201
|
#
|
1139
1202
|
class ListScrapersRequest < Struct.new(
|
1140
1203
|
:filters,
|
1141
|
-
:
|
1142
|
-
:
|
1204
|
+
:next_token,
|
1205
|
+
:max_results)
|
1143
1206
|
SENSITIVE = []
|
1144
1207
|
include Aws::Structure
|
1145
1208
|
end
|
1146
1209
|
|
1147
1210
|
# Represents the output of a `ListScrapers` operation.
|
1148
1211
|
#
|
1212
|
+
# @!attribute [rw] scrapers
|
1213
|
+
# A list of `ScraperSummary` structures giving information about
|
1214
|
+
# scrapers in the account that match the filters provided.
|
1215
|
+
# @return [Array<Types::ScraperSummary>]
|
1216
|
+
#
|
1149
1217
|
# @!attribute [rw] next_token
|
1150
1218
|
# A token indicating that there are more results to retrieve. You can
|
1151
1219
|
# use this token as part of your next `ListScrapers` operation to
|
1152
1220
|
# retrieve those results.
|
1153
1221
|
# @return [String]
|
1154
1222
|
#
|
1155
|
-
# @!attribute [rw] scrapers
|
1156
|
-
# A list of `ScraperSummary` structures giving information about
|
1157
|
-
# scrapers in the account that match the filters provided.
|
1158
|
-
# @return [Array<Types::ScraperSummary>]
|
1159
|
-
#
|
1160
1223
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/ListScrapersResponse AWS API Documentation
|
1161
1224
|
#
|
1162
1225
|
class ListScrapersResponse < Struct.new(
|
1163
|
-
:
|
1164
|
-
:
|
1226
|
+
:scrapers,
|
1227
|
+
:next_token)
|
1165
1228
|
SENSITIVE = []
|
1166
1229
|
include Aws::Structure
|
1167
1230
|
end
|
@@ -1193,6 +1256,17 @@ module Aws::PrometheusService
|
|
1193
1256
|
|
1194
1257
|
# Represents the input of a `ListWorkspaces` operation.
|
1195
1258
|
#
|
1259
|
+
# @!attribute [rw] next_token
|
1260
|
+
# The token for the next set of items to return. You receive this
|
1261
|
+
# token from a previous call, and use it to get the next page of
|
1262
|
+
# results. The other parameters must be the same as the initial call.
|
1263
|
+
#
|
1264
|
+
# For example, if your initial request has `maxResults` of 10, and
|
1265
|
+
# there are 12 workspaces to return, then your initial request will
|
1266
|
+
# return 10 and a `nextToken`. Using the next token in a subsequent
|
1267
|
+
# call will return the remaining 2 workspaces.
|
1268
|
+
# @return [String]
|
1269
|
+
#
|
1196
1270
|
# @!attribute [rw] alias
|
1197
1271
|
# If this is included, it filters the results to only the workspaces
|
1198
1272
|
# with names that start with the value that you specify here.
|
@@ -1207,45 +1281,34 @@ module Aws::PrometheusService
|
|
1207
1281
|
# is 100.
|
1208
1282
|
# @return [Integer]
|
1209
1283
|
#
|
1210
|
-
# @!attribute [rw] next_token
|
1211
|
-
# The token for the next set of items to return. You receive this
|
1212
|
-
# token from a previous call, and use it to get the next page of
|
1213
|
-
# results. The other parameters must be the same as the initial call.
|
1214
|
-
#
|
1215
|
-
# For example, if your initial request has `maxResults` of 10, and
|
1216
|
-
# there are 12 workspaces to return, then your initial request will
|
1217
|
-
# return 10 and a `nextToken`. Using the next token in a subsequent
|
1218
|
-
# call will return the remaining 2 workspaces.
|
1219
|
-
# @return [String]
|
1220
|
-
#
|
1221
1284
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/ListWorkspacesRequest AWS API Documentation
|
1222
1285
|
#
|
1223
1286
|
class ListWorkspacesRequest < Struct.new(
|
1287
|
+
:next_token,
|
1224
1288
|
:alias,
|
1225
|
-
:max_results
|
1226
|
-
:next_token)
|
1289
|
+
:max_results)
|
1227
1290
|
SENSITIVE = []
|
1228
1291
|
include Aws::Structure
|
1229
1292
|
end
|
1230
1293
|
|
1231
1294
|
# Represents the output of a `ListWorkspaces` operation.
|
1232
1295
|
#
|
1296
|
+
# @!attribute [rw] workspaces
|
1297
|
+
# An array of `WorkspaceSummary` structures containing information
|
1298
|
+
# about the workspaces requested.
|
1299
|
+
# @return [Array<Types::WorkspaceSummary>]
|
1300
|
+
#
|
1233
1301
|
# @!attribute [rw] next_token
|
1234
1302
|
# A token indicating that there are more results to retrieve. You can
|
1235
1303
|
# use this token as part of your next `ListWorkspaces` request to
|
1236
1304
|
# retrieve those results.
|
1237
1305
|
# @return [String]
|
1238
1306
|
#
|
1239
|
-
# @!attribute [rw] workspaces
|
1240
|
-
# An array of `WorkspaceSummary` structures containing information
|
1241
|
-
# about the workspaces requested.
|
1242
|
-
# @return [Array<Types::WorkspaceSummary>]
|
1243
|
-
#
|
1244
1307
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/ListWorkspacesResponse AWS API Documentation
|
1245
1308
|
#
|
1246
1309
|
class ListWorkspacesResponse < Struct.new(
|
1247
|
-
:
|
1248
|
-
:
|
1310
|
+
:workspaces,
|
1311
|
+
:next_token)
|
1249
1312
|
SENSITIVE = []
|
1250
1313
|
include Aws::Structure
|
1251
1314
|
end
|
@@ -1257,36 +1320,36 @@ module Aws::PrometheusService
|
|
1257
1320
|
#
|
1258
1321
|
# </note>
|
1259
1322
|
#
|
1260
|
-
# @!attribute [rw]
|
1261
|
-
# The
|
1262
|
-
# @return [
|
1323
|
+
# @!attribute [rw] status
|
1324
|
+
# The current status of the logging configuration.
|
1325
|
+
# @return [Types::LoggingConfigurationStatus]
|
1326
|
+
#
|
1327
|
+
# @!attribute [rw] workspace
|
1328
|
+
# The ID of the workspace the logging configuration is for.
|
1329
|
+
# @return [String]
|
1263
1330
|
#
|
1264
1331
|
# @!attribute [rw] log_group_arn
|
1265
1332
|
# The ARN of the CloudWatch log group to which the vended log data
|
1266
1333
|
# will be published.
|
1267
1334
|
# @return [String]
|
1268
1335
|
#
|
1336
|
+
# @!attribute [rw] created_at
|
1337
|
+
# The date and time that the logging configuration was created.
|
1338
|
+
# @return [Time]
|
1339
|
+
#
|
1269
1340
|
# @!attribute [rw] modified_at
|
1270
1341
|
# The date and time that the logging configuration was most recently
|
1271
1342
|
# changed.
|
1272
1343
|
# @return [Time]
|
1273
1344
|
#
|
1274
|
-
# @!attribute [rw] status
|
1275
|
-
# The current status of the logging configuration.
|
1276
|
-
# @return [Types::LoggingConfigurationStatus]
|
1277
|
-
#
|
1278
|
-
# @!attribute [rw] workspace
|
1279
|
-
# The ID of the workspace the logging configuration is for.
|
1280
|
-
# @return [String]
|
1281
|
-
#
|
1282
1345
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/LoggingConfigurationMetadata AWS API Documentation
|
1283
1346
|
#
|
1284
1347
|
class LoggingConfigurationMetadata < Struct.new(
|
1285
|
-
:created_at,
|
1286
|
-
:log_group_arn,
|
1287
|
-
:modified_at,
|
1288
1348
|
:status,
|
1289
|
-
:workspace
|
1349
|
+
:workspace,
|
1350
|
+
:log_group_arn,
|
1351
|
+
:created_at,
|
1352
|
+
:modified_at)
|
1290
1353
|
SENSITIVE = []
|
1291
1354
|
include Aws::Structure
|
1292
1355
|
end
|
@@ -1353,12 +1416,8 @@ module Aws::PrometheusService
|
|
1353
1416
|
|
1354
1417
|
# Represents the input of a `PutAlertManagerDefinition` operation.
|
1355
1418
|
#
|
1356
|
-
# @!attribute [rw]
|
1357
|
-
#
|
1358
|
-
# of the request. Case-sensitive.
|
1359
|
-
#
|
1360
|
-
# **A suitable default value is auto-generated.** You should normally
|
1361
|
-
# not need to pass this option.
|
1419
|
+
# @!attribute [rw] workspace_id
|
1420
|
+
# The ID of the workspace to update the alert manager definition in.
|
1362
1421
|
# @return [String]
|
1363
1422
|
#
|
1364
1423
|
# @!attribute [rw] data
|
@@ -1373,16 +1432,20 @@ module Aws::PrometheusService
|
|
1373
1432
|
# [1]: https://docs.aws.amazon.com/prometheus/latest/APIReference/yaml-AlertManagerDefinitionData.html
|
1374
1433
|
# @return [String]
|
1375
1434
|
#
|
1376
|
-
# @!attribute [rw]
|
1377
|
-
#
|
1435
|
+
# @!attribute [rw] client_token
|
1436
|
+
# A unique identifier that you can provide to ensure the idempotency
|
1437
|
+
# of the request. Case-sensitive.
|
1438
|
+
#
|
1439
|
+
# **A suitable default value is auto-generated.** You should normally
|
1440
|
+
# not need to pass this option.
|
1378
1441
|
# @return [String]
|
1379
1442
|
#
|
1380
1443
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/PutAlertManagerDefinitionRequest AWS API Documentation
|
1381
1444
|
#
|
1382
1445
|
class PutAlertManagerDefinitionRequest < Struct.new(
|
1383
|
-
:
|
1446
|
+
:workspace_id,
|
1384
1447
|
:data,
|
1385
|
-
:
|
1448
|
+
:client_token)
|
1386
1449
|
SENSITIVE = []
|
1387
1450
|
include Aws::Structure
|
1388
1451
|
end
|
@@ -1402,16 +1465,75 @@ module Aws::PrometheusService
|
|
1402
1465
|
include Aws::Structure
|
1403
1466
|
end
|
1404
1467
|
|
1405
|
-
#
|
1468
|
+
# @!attribute [rw] workspace_id
|
1469
|
+
# The ID of the workspace to attach the resource-based policy to.
|
1470
|
+
# @return [String]
|
1471
|
+
#
|
1472
|
+
# @!attribute [rw] policy_document
|
1473
|
+
# The JSON policy document to use as the resource-based policy. This
|
1474
|
+
# policy defines the permissions that other AWS accounts or services
|
1475
|
+
# have to access your workspace.
|
1476
|
+
# @return [String]
|
1406
1477
|
#
|
1407
1478
|
# @!attribute [rw] client_token
|
1408
|
-
# A unique identifier that you
|
1409
|
-
#
|
1479
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
1480
|
+
# request is safe to retry (idempotent).
|
1410
1481
|
#
|
1411
1482
|
# **A suitable default value is auto-generated.** You should normally
|
1412
1483
|
# not need to pass this option.
|
1413
1484
|
# @return [String]
|
1414
1485
|
#
|
1486
|
+
# @!attribute [rw] revision_id
|
1487
|
+
# The revision ID of the policy to update. Use this parameter to
|
1488
|
+
# ensure that you are updating the correct version of the policy. If
|
1489
|
+
# you don't specify a revision ID, the policy is updated regardless
|
1490
|
+
# of its current revision.
|
1491
|
+
#
|
1492
|
+
# For the first **PUT** request on a workspace that doesn't have an
|
1493
|
+
# existing resource policy, you can specify `NO_POLICY` as the
|
1494
|
+
# revision ID.
|
1495
|
+
# @return [String]
|
1496
|
+
#
|
1497
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/PutResourcePolicyRequest AWS API Documentation
|
1498
|
+
#
|
1499
|
+
class PutResourcePolicyRequest < Struct.new(
|
1500
|
+
:workspace_id,
|
1501
|
+
:policy_document,
|
1502
|
+
:client_token,
|
1503
|
+
:revision_id)
|
1504
|
+
SENSITIVE = []
|
1505
|
+
include Aws::Structure
|
1506
|
+
end
|
1507
|
+
|
1508
|
+
# @!attribute [rw] policy_status
|
1509
|
+
# The current status of the resource-based policy.
|
1510
|
+
# @return [String]
|
1511
|
+
#
|
1512
|
+
# @!attribute [rw] revision_id
|
1513
|
+
# The revision ID of the newly created or updated resource-based
|
1514
|
+
# policy.
|
1515
|
+
# @return [String]
|
1516
|
+
#
|
1517
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/PutResourcePolicyResponse AWS API Documentation
|
1518
|
+
#
|
1519
|
+
class PutResourcePolicyResponse < Struct.new(
|
1520
|
+
:policy_status,
|
1521
|
+
:revision_id)
|
1522
|
+
SENSITIVE = []
|
1523
|
+
include Aws::Structure
|
1524
|
+
end
|
1525
|
+
|
1526
|
+
# Represents the input of a `PutRuleGroupsNamespace` operation.
|
1527
|
+
#
|
1528
|
+
# @!attribute [rw] workspace_id
|
1529
|
+
# The ID of the workspace where you are updating the rule groups
|
1530
|
+
# namespace.
|
1531
|
+
# @return [String]
|
1532
|
+
#
|
1533
|
+
# @!attribute [rw] name
|
1534
|
+
# The name of the rule groups namespace that you are updating.
|
1535
|
+
# @return [String]
|
1536
|
+
#
|
1415
1537
|
# @!attribute [rw] data
|
1416
1538
|
# The new rules file to use in the namespace. A base64-encoded version
|
1417
1539
|
# of the YAML rule groups file.
|
@@ -1424,36 +1546,35 @@ module Aws::PrometheusService
|
|
1424
1546
|
# [1]: https://docs.aws.amazon.com/prometheus/latest/APIReference/yaml-RuleGroupsNamespaceData.html
|
1425
1547
|
# @return [String]
|
1426
1548
|
#
|
1427
|
-
# @!attribute [rw]
|
1428
|
-
#
|
1429
|
-
#
|
1549
|
+
# @!attribute [rw] client_token
|
1550
|
+
# A unique identifier that you can provide to ensure the idempotency
|
1551
|
+
# of the request. Case-sensitive.
|
1430
1552
|
#
|
1431
|
-
#
|
1432
|
-
#
|
1433
|
-
# namespace.
|
1553
|
+
# **A suitable default value is auto-generated.** You should normally
|
1554
|
+
# not need to pass this option.
|
1434
1555
|
# @return [String]
|
1435
1556
|
#
|
1436
1557
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/PutRuleGroupsNamespaceRequest AWS API Documentation
|
1437
1558
|
#
|
1438
1559
|
class PutRuleGroupsNamespaceRequest < Struct.new(
|
1439
|
-
:
|
1440
|
-
:data,
|
1560
|
+
:workspace_id,
|
1441
1561
|
:name,
|
1442
|
-
:
|
1562
|
+
:data,
|
1563
|
+
:client_token)
|
1443
1564
|
SENSITIVE = []
|
1444
1565
|
include Aws::Structure
|
1445
1566
|
end
|
1446
1567
|
|
1447
1568
|
# Represents the output of a `PutRuleGroupsNamespace` operation.
|
1448
1569
|
#
|
1449
|
-
# @!attribute [rw] arn
|
1450
|
-
# The ARN of the rule groups namespace.
|
1451
|
-
# @return [String]
|
1452
|
-
#
|
1453
1570
|
# @!attribute [rw] name
|
1454
1571
|
# The name of the rule groups namespace that was updated.
|
1455
1572
|
# @return [String]
|
1456
1573
|
#
|
1574
|
+
# @!attribute [rw] arn
|
1575
|
+
# The ARN of the rule groups namespace.
|
1576
|
+
# @return [String]
|
1577
|
+
#
|
1457
1578
|
# @!attribute [rw] status
|
1458
1579
|
# A structure that includes the current status of the rule groups
|
1459
1580
|
# namespace.
|
@@ -1467,8 +1588,8 @@ module Aws::PrometheusService
|
|
1467
1588
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/PutRuleGroupsNamespaceResponse AWS API Documentation
|
1468
1589
|
#
|
1469
1590
|
class PutRuleGroupsNamespaceResponse < Struct.new(
|
1470
|
-
:arn,
|
1471
1591
|
:name,
|
1592
|
+
:arn,
|
1472
1593
|
:status,
|
1473
1594
|
:tags)
|
1474
1595
|
SENSITIVE = []
|
@@ -1477,36 +1598,36 @@ module Aws::PrometheusService
|
|
1477
1598
|
|
1478
1599
|
# The metadata for a query logging configuration.
|
1479
1600
|
#
|
1480
|
-
# @!attribute [rw]
|
1481
|
-
# The
|
1482
|
-
# @return [
|
1601
|
+
# @!attribute [rw] status
|
1602
|
+
# The current status of the query logging configuration.
|
1603
|
+
# @return [Types::QueryLoggingConfigurationStatus]
|
1604
|
+
#
|
1605
|
+
# @!attribute [rw] workspace
|
1606
|
+
# The ID of the workspace associated with this query logging
|
1607
|
+
# configuration.
|
1608
|
+
# @return [String]
|
1483
1609
|
#
|
1484
1610
|
# @!attribute [rw] destinations
|
1485
1611
|
# The configured destinations for the query logging configuration.
|
1486
1612
|
# @return [Array<Types::LoggingDestination>]
|
1487
1613
|
#
|
1614
|
+
# @!attribute [rw] created_at
|
1615
|
+
# The date and time when the query logging configuration was created.
|
1616
|
+
# @return [Time]
|
1617
|
+
#
|
1488
1618
|
# @!attribute [rw] modified_at
|
1489
1619
|
# The date and time when the query logging configuration was last
|
1490
1620
|
# modified.
|
1491
1621
|
# @return [Time]
|
1492
1622
|
#
|
1493
|
-
# @!attribute [rw] status
|
1494
|
-
# The current status of the query logging configuration.
|
1495
|
-
# @return [Types::QueryLoggingConfigurationStatus]
|
1496
|
-
#
|
1497
|
-
# @!attribute [rw] workspace
|
1498
|
-
# The ID of the workspace associated with this query logging
|
1499
|
-
# configuration.
|
1500
|
-
# @return [String]
|
1501
|
-
#
|
1502
1623
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/QueryLoggingConfigurationMetadata AWS API Documentation
|
1503
1624
|
#
|
1504
1625
|
class QueryLoggingConfigurationMetadata < Struct.new(
|
1505
|
-
:created_at,
|
1506
|
-
:destinations,
|
1507
|
-
:modified_at,
|
1508
1626
|
:status,
|
1509
|
-
:workspace
|
1627
|
+
:workspace,
|
1628
|
+
:destinations,
|
1629
|
+
:created_at,
|
1630
|
+
:modified_at)
|
1510
1631
|
SENSITIVE = []
|
1511
1632
|
include Aws::Structure
|
1512
1633
|
end
|
@@ -1593,9 +1714,13 @@ module Aws::PrometheusService
|
|
1593
1714
|
# `arn:aws:aps:<region>:123456789012:rulegroupsnamespace/ws-example1-1234-abcd-5678-ef90abcd1234/rulesfile1`.
|
1594
1715
|
# @return [String]
|
1595
1716
|
#
|
1596
|
-
# @!attribute [rw]
|
1597
|
-
# The
|
1598
|
-
# @return [
|
1717
|
+
# @!attribute [rw] name
|
1718
|
+
# The name of the rule groups namespace.
|
1719
|
+
# @return [String]
|
1720
|
+
#
|
1721
|
+
# @!attribute [rw] status
|
1722
|
+
# The current status of the rule groups namespace.
|
1723
|
+
# @return [Types::RuleGroupsNamespaceStatus]
|
1599
1724
|
#
|
1600
1725
|
# @!attribute [rw] data
|
1601
1726
|
# The rule groups file used in the namespace.
|
@@ -1608,19 +1733,15 @@ module Aws::PrometheusService
|
|
1608
1733
|
# [1]: https://docs.aws.amazon.com/prometheus/latest/APIReference/yaml-RuleGroupsNamespaceData.html
|
1609
1734
|
# @return [String]
|
1610
1735
|
#
|
1736
|
+
# @!attribute [rw] created_at
|
1737
|
+
# The date and time that the rule groups namespace was created.
|
1738
|
+
# @return [Time]
|
1739
|
+
#
|
1611
1740
|
# @!attribute [rw] modified_at
|
1612
1741
|
# The date and time that the rule groups namespace was most recently
|
1613
1742
|
# changed.
|
1614
1743
|
# @return [Time]
|
1615
1744
|
#
|
1616
|
-
# @!attribute [rw] name
|
1617
|
-
# The name of the rule groups namespace.
|
1618
|
-
# @return [String]
|
1619
|
-
#
|
1620
|
-
# @!attribute [rw] status
|
1621
|
-
# The current status of the rule groups namespace.
|
1622
|
-
# @return [Types::RuleGroupsNamespaceStatus]
|
1623
|
-
#
|
1624
1745
|
# @!attribute [rw] tags
|
1625
1746
|
# The list of tag keys and values that are associated with the rule
|
1626
1747
|
# groups namespace.
|
@@ -1630,11 +1751,11 @@ module Aws::PrometheusService
|
|
1630
1751
|
#
|
1631
1752
|
class RuleGroupsNamespaceDescription < Struct.new(
|
1632
1753
|
:arn,
|
1633
|
-
:created_at,
|
1634
|
-
:data,
|
1635
|
-
:modified_at,
|
1636
1754
|
:name,
|
1637
1755
|
:status,
|
1756
|
+
:data,
|
1757
|
+
:created_at,
|
1758
|
+
:modified_at,
|
1638
1759
|
:tags)
|
1639
1760
|
SENSITIVE = []
|
1640
1761
|
include Aws::Structure
|
@@ -1666,15 +1787,6 @@ module Aws::PrometheusService
|
|
1666
1787
|
# The ARN of the rule groups namespace.
|
1667
1788
|
# @return [String]
|
1668
1789
|
#
|
1669
|
-
# @!attribute [rw] created_at
|
1670
|
-
# The date and time that the rule groups namespace was created.
|
1671
|
-
# @return [Time]
|
1672
|
-
#
|
1673
|
-
# @!attribute [rw] modified_at
|
1674
|
-
# The date and time that the rule groups namespace was most recently
|
1675
|
-
# changed.
|
1676
|
-
# @return [Time]
|
1677
|
-
#
|
1678
1790
|
# @!attribute [rw] name
|
1679
1791
|
# The name of the rule groups namespace.
|
1680
1792
|
# @return [String]
|
@@ -1684,6 +1796,15 @@ module Aws::PrometheusService
|
|
1684
1796
|
# namespace.
|
1685
1797
|
# @return [Types::RuleGroupsNamespaceStatus]
|
1686
1798
|
#
|
1799
|
+
# @!attribute [rw] created_at
|
1800
|
+
# The date and time that the rule groups namespace was created.
|
1801
|
+
# @return [Time]
|
1802
|
+
#
|
1803
|
+
# @!attribute [rw] modified_at
|
1804
|
+
# The date and time that the rule groups namespace was most recently
|
1805
|
+
# changed.
|
1806
|
+
# @return [Time]
|
1807
|
+
#
|
1687
1808
|
# @!attribute [rw] tags
|
1688
1809
|
# The list of tag keys and values that are associated with the rule
|
1689
1810
|
# groups namespace.
|
@@ -1693,10 +1814,10 @@ module Aws::PrometheusService
|
|
1693
1814
|
#
|
1694
1815
|
class RuleGroupsNamespaceSummary < Struct.new(
|
1695
1816
|
:arn,
|
1696
|
-
:created_at,
|
1697
|
-
:modified_at,
|
1698
1817
|
:name,
|
1699
1818
|
:status,
|
1819
|
+
:created_at,
|
1820
|
+
:modified_at,
|
1700
1821
|
:tags)
|
1701
1822
|
SENSITIVE = []
|
1702
1823
|
include Aws::Structure
|
@@ -1738,80 +1859,80 @@ module Aws::PrometheusService
|
|
1738
1859
|
# (Optional) A name associated with the scraper.
|
1739
1860
|
# @return [String]
|
1740
1861
|
#
|
1862
|
+
# @!attribute [rw] scraper_id
|
1863
|
+
# The ID of the scraper. For example,
|
1864
|
+
# `s-example1-1234-abcd-5678-ef9012abcd34`.
|
1865
|
+
# @return [String]
|
1866
|
+
#
|
1741
1867
|
# @!attribute [rw] arn
|
1742
1868
|
# The Amazon Resource Name (ARN) of the scraper. For example,
|
1743
1869
|
# `arn:aws:aps:<region>:123456798012:scraper/s-example1-1234-abcd-5678-ef9012abcd34`.
|
1744
1870
|
# @return [String]
|
1745
1871
|
#
|
1872
|
+
# @!attribute [rw] role_arn
|
1873
|
+
# The Amazon Resource Name (ARN) of the IAM role that provides
|
1874
|
+
# permissions for the scraper to discover and collect metrics on your
|
1875
|
+
# behalf.
|
1876
|
+
#
|
1877
|
+
# For example,
|
1878
|
+
# `arn:aws:iam::123456789012:role/service-role/AmazonGrafanaServiceRole-12example`.
|
1879
|
+
# @return [String]
|
1880
|
+
#
|
1881
|
+
# @!attribute [rw] status
|
1882
|
+
# A structure that contains the current status of the scraper.
|
1883
|
+
# @return [Types::ScraperStatus]
|
1884
|
+
#
|
1746
1885
|
# @!attribute [rw] created_at
|
1747
1886
|
# The date and time that the scraper was created.
|
1748
1887
|
# @return [Time]
|
1749
1888
|
#
|
1750
|
-
# @!attribute [rw] destination
|
1751
|
-
# The Amazon Managed Service for Prometheus workspace the scraper
|
1752
|
-
# sends metrics to.
|
1753
|
-
# @return [Types::Destination]
|
1754
|
-
#
|
1755
1889
|
# @!attribute [rw] last_modified_at
|
1756
1890
|
# The date and time that the scraper was last modified.
|
1757
1891
|
# @return [Time]
|
1758
1892
|
#
|
1759
|
-
# @!attribute [rw]
|
1760
|
-
# The
|
1761
|
-
#
|
1762
|
-
#
|
1893
|
+
# @!attribute [rw] tags
|
1894
|
+
# (Optional) The list of tag keys and values associated with the
|
1895
|
+
# scraper.
|
1896
|
+
# @return [Hash<String,String>]
|
1763
1897
|
#
|
1764
|
-
#
|
1765
|
-
#
|
1898
|
+
# @!attribute [rw] status_reason
|
1899
|
+
# If there is a failure, the reason for the failure.
|
1766
1900
|
# @return [String]
|
1767
1901
|
#
|
1768
|
-
# @!attribute [rw] role_configuration
|
1769
|
-
# This structure displays information about the IAM roles used for
|
1770
|
-
# cross-account scraping configuration.
|
1771
|
-
# @return [Types::RoleConfiguration]
|
1772
|
-
#
|
1773
1902
|
# @!attribute [rw] scrape_configuration
|
1774
1903
|
# The configuration in use by the scraper.
|
1775
1904
|
# @return [Types::ScrapeConfiguration]
|
1776
1905
|
#
|
1777
|
-
# @!attribute [rw] scraper_id
|
1778
|
-
# The ID of the scraper. For example,
|
1779
|
-
# `s-example1-1234-abcd-5678-ef9012abcd34`.
|
1780
|
-
# @return [String]
|
1781
|
-
#
|
1782
1906
|
# @!attribute [rw] source
|
1783
1907
|
# The Amazon EKS cluster from which the scraper collects metrics.
|
1784
1908
|
# @return [Types::Source]
|
1785
1909
|
#
|
1786
|
-
# @!attribute [rw]
|
1787
|
-
#
|
1788
|
-
#
|
1789
|
-
#
|
1790
|
-
# @!attribute [rw] status_reason
|
1791
|
-
# If there is a failure, the reason for the failure.
|
1792
|
-
# @return [String]
|
1910
|
+
# @!attribute [rw] destination
|
1911
|
+
# The Amazon Managed Service for Prometheus workspace the scraper
|
1912
|
+
# sends metrics to.
|
1913
|
+
# @return [Types::Destination]
|
1793
1914
|
#
|
1794
|
-
# @!attribute [rw]
|
1795
|
-
#
|
1796
|
-
#
|
1797
|
-
# @return [
|
1915
|
+
# @!attribute [rw] role_configuration
|
1916
|
+
# This structure displays information about the IAM roles used for
|
1917
|
+
# cross-account scraping configuration.
|
1918
|
+
# @return [Types::RoleConfiguration]
|
1798
1919
|
#
|
1799
1920
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/ScraperDescription AWS API Documentation
|
1800
1921
|
#
|
1801
1922
|
class ScraperDescription < Struct.new(
|
1802
1923
|
:alias,
|
1924
|
+
:scraper_id,
|
1803
1925
|
:arn,
|
1926
|
+
:role_arn,
|
1927
|
+
:status,
|
1804
1928
|
:created_at,
|
1805
|
-
:destination,
|
1806
1929
|
:last_modified_at,
|
1807
|
-
:
|
1808
|
-
:
|
1930
|
+
:tags,
|
1931
|
+
:status_reason,
|
1809
1932
|
:scrape_configuration,
|
1810
|
-
:scraper_id,
|
1811
1933
|
:source,
|
1812
|
-
:
|
1813
|
-
:
|
1814
|
-
:tags)
|
1934
|
+
:destination,
|
1935
|
+
:role_configuration)
|
1815
1936
|
SENSITIVE = []
|
1816
1937
|
include Aws::Structure
|
1817
1938
|
end
|
@@ -1838,70 +1959,70 @@ module Aws::PrometheusService
|
|
1838
1959
|
# (Optional) A name associated with the scraper.
|
1839
1960
|
# @return [String]
|
1840
1961
|
#
|
1962
|
+
# @!attribute [rw] scraper_id
|
1963
|
+
# The ID of the scraper.
|
1964
|
+
# @return [String]
|
1965
|
+
#
|
1841
1966
|
# @!attribute [rw] arn
|
1842
1967
|
# The Amazon Resource Name (ARN) of the scraper.
|
1843
1968
|
# @return [String]
|
1844
1969
|
#
|
1970
|
+
# @!attribute [rw] role_arn
|
1971
|
+
# The Amazon Resource Name (ARN) of the IAM role that provides
|
1972
|
+
# permissions for the scraper to discover and collect metrics on your
|
1973
|
+
# behalf.
|
1974
|
+
# @return [String]
|
1975
|
+
#
|
1976
|
+
# @!attribute [rw] status
|
1977
|
+
# A structure that contains the current status of the scraper.
|
1978
|
+
# @return [Types::ScraperStatus]
|
1979
|
+
#
|
1845
1980
|
# @!attribute [rw] created_at
|
1846
1981
|
# The date and time that the scraper was created.
|
1847
1982
|
# @return [Time]
|
1848
1983
|
#
|
1849
|
-
# @!attribute [rw] destination
|
1850
|
-
# The Amazon Managed Service for Prometheus workspace the scraper
|
1851
|
-
# sends metrics to.
|
1852
|
-
# @return [Types::Destination]
|
1853
|
-
#
|
1854
1984
|
# @!attribute [rw] last_modified_at
|
1855
1985
|
# The date and time that the scraper was last modified.
|
1856
1986
|
# @return [Time]
|
1857
1987
|
#
|
1858
|
-
# @!attribute [rw]
|
1859
|
-
# The
|
1860
|
-
#
|
1861
|
-
#
|
1862
|
-
# @return [String]
|
1863
|
-
#
|
1864
|
-
# @!attribute [rw] role_configuration
|
1865
|
-
# This structure displays information about the IAM roles used for
|
1866
|
-
# cross-account scraping configuration.
|
1867
|
-
# @return [Types::RoleConfiguration]
|
1988
|
+
# @!attribute [rw] tags
|
1989
|
+
# (Optional) The list of tag keys and values associated with the
|
1990
|
+
# scraper.
|
1991
|
+
# @return [Hash<String,String>]
|
1868
1992
|
#
|
1869
|
-
# @!attribute [rw]
|
1870
|
-
#
|
1993
|
+
# @!attribute [rw] status_reason
|
1994
|
+
# If there is a failure, the reason for the failure.
|
1871
1995
|
# @return [String]
|
1872
1996
|
#
|
1873
1997
|
# @!attribute [rw] source
|
1874
1998
|
# The Amazon EKS cluster from which the scraper collects metrics.
|
1875
1999
|
# @return [Types::Source]
|
1876
2000
|
#
|
1877
|
-
# @!attribute [rw]
|
1878
|
-
#
|
1879
|
-
#
|
1880
|
-
#
|
1881
|
-
# @!attribute [rw] status_reason
|
1882
|
-
# If there is a failure, the reason for the failure.
|
1883
|
-
# @return [String]
|
2001
|
+
# @!attribute [rw] destination
|
2002
|
+
# The Amazon Managed Service for Prometheus workspace the scraper
|
2003
|
+
# sends metrics to.
|
2004
|
+
# @return [Types::Destination]
|
1884
2005
|
#
|
1885
|
-
# @!attribute [rw]
|
1886
|
-
#
|
1887
|
-
#
|
1888
|
-
# @return [
|
2006
|
+
# @!attribute [rw] role_configuration
|
2007
|
+
# This structure displays information about the IAM roles used for
|
2008
|
+
# cross-account scraping configuration.
|
2009
|
+
# @return [Types::RoleConfiguration]
|
1889
2010
|
#
|
1890
2011
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/ScraperSummary AWS API Documentation
|
1891
2012
|
#
|
1892
2013
|
class ScraperSummary < Struct.new(
|
1893
2014
|
:alias,
|
2015
|
+
:scraper_id,
|
1894
2016
|
:arn,
|
1895
|
-
:created_at,
|
1896
|
-
:destination,
|
1897
|
-
:last_modified_at,
|
1898
2017
|
:role_arn,
|
1899
|
-
:role_configuration,
|
1900
|
-
:scraper_id,
|
1901
|
-
:source,
|
1902
2018
|
:status,
|
2019
|
+
:created_at,
|
2020
|
+
:last_modified_at,
|
2021
|
+
:tags,
|
1903
2022
|
:status_reason,
|
1904
|
-
:
|
2023
|
+
:source,
|
2024
|
+
:destination,
|
2025
|
+
:role_configuration)
|
1905
2026
|
SENSITIVE = []
|
1906
2027
|
include Aws::Structure
|
1907
2028
|
end
|
@@ -1912,10 +2033,6 @@ module Aws::PrometheusService
|
|
1912
2033
|
# Description of the error.
|
1913
2034
|
# @return [String]
|
1914
2035
|
#
|
1915
|
-
# @!attribute [rw] quota_code
|
1916
|
-
# Service quotas code of the originating quota.
|
1917
|
-
# @return [String]
|
1918
|
-
#
|
1919
2036
|
# @!attribute [rw] resource_id
|
1920
2037
|
# Identifier of the resource affected.
|
1921
2038
|
# @return [String]
|
@@ -1928,14 +2045,18 @@ module Aws::PrometheusService
|
|
1928
2045
|
# Service quotas code for the originating service.
|
1929
2046
|
# @return [String]
|
1930
2047
|
#
|
2048
|
+
# @!attribute [rw] quota_code
|
2049
|
+
# Service quotas code of the originating quota.
|
2050
|
+
# @return [String]
|
2051
|
+
#
|
1931
2052
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/ServiceQuotaExceededException AWS API Documentation
|
1932
2053
|
#
|
1933
2054
|
class ServiceQuotaExceededException < Struct.new(
|
1934
2055
|
:message,
|
1935
|
-
:quota_code,
|
1936
2056
|
:resource_id,
|
1937
2057
|
:resource_type,
|
1938
|
-
:service_code
|
2058
|
+
:service_code,
|
2059
|
+
:quota_code)
|
1939
2060
|
SENSITIVE = []
|
1940
2061
|
include Aws::Structure
|
1941
2062
|
end
|
@@ -1992,6 +2113,10 @@ module Aws::PrometheusService
|
|
1992
2113
|
# Description of the error.
|
1993
2114
|
# @return [String]
|
1994
2115
|
#
|
2116
|
+
# @!attribute [rw] service_code
|
2117
|
+
# Service quotas code for the originating service.
|
2118
|
+
# @return [String]
|
2119
|
+
#
|
1995
2120
|
# @!attribute [rw] quota_code
|
1996
2121
|
# Service quotas code for the originating quota.
|
1997
2122
|
# @return [String]
|
@@ -2000,17 +2125,13 @@ module Aws::PrometheusService
|
|
2000
2125
|
# Advice to clients on when the call can be safely retried.
|
2001
2126
|
# @return [Integer]
|
2002
2127
|
#
|
2003
|
-
# @!attribute [rw] service_code
|
2004
|
-
# Service quotas code for the originating service.
|
2005
|
-
# @return [String]
|
2006
|
-
#
|
2007
2128
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/ThrottlingException AWS API Documentation
|
2008
2129
|
#
|
2009
2130
|
class ThrottlingException < Struct.new(
|
2010
2131
|
:message,
|
2132
|
+
:service_code,
|
2011
2133
|
:quota_code,
|
2012
|
-
:retry_after_seconds
|
2013
|
-
:service_code)
|
2134
|
+
:retry_after_seconds)
|
2014
2135
|
SENSITIVE = []
|
2015
2136
|
include Aws::Structure
|
2016
2137
|
end
|
@@ -2038,12 +2159,8 @@ module Aws::PrometheusService
|
|
2038
2159
|
|
2039
2160
|
# Represents the input of an `UpdateLoggingConfiguration` operation.
|
2040
2161
|
#
|
2041
|
-
# @!attribute [rw]
|
2042
|
-
#
|
2043
|
-
# of the request. Case-sensitive.
|
2044
|
-
#
|
2045
|
-
# **A suitable default value is auto-generated.** You should normally
|
2046
|
-
# not need to pass this option.
|
2162
|
+
# @!attribute [rw] workspace_id
|
2163
|
+
# The ID of the workspace to update the logging configuration for.
|
2047
2164
|
# @return [String]
|
2048
2165
|
#
|
2049
2166
|
# @!attribute [rw] log_group_arn
|
@@ -2051,16 +2168,20 @@ module Aws::PrometheusService
|
|
2051
2168
|
# will be published.
|
2052
2169
|
# @return [String]
|
2053
2170
|
#
|
2054
|
-
# @!attribute [rw]
|
2055
|
-
#
|
2171
|
+
# @!attribute [rw] client_token
|
2172
|
+
# A unique identifier that you can provide to ensure the idempotency
|
2173
|
+
# of the request. Case-sensitive.
|
2174
|
+
#
|
2175
|
+
# **A suitable default value is auto-generated.** You should normally
|
2176
|
+
# not need to pass this option.
|
2056
2177
|
# @return [String]
|
2057
2178
|
#
|
2058
2179
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/UpdateLoggingConfigurationRequest AWS API Documentation
|
2059
2180
|
#
|
2060
2181
|
class UpdateLoggingConfigurationRequest < Struct.new(
|
2061
|
-
:
|
2182
|
+
:workspace_id,
|
2062
2183
|
:log_group_arn,
|
2063
|
-
:
|
2184
|
+
:client_token)
|
2064
2185
|
SENSITIVE = []
|
2065
2186
|
include Aws::Structure
|
2066
2187
|
end
|
@@ -2080,12 +2201,9 @@ module Aws::PrometheusService
|
|
2080
2201
|
include Aws::Structure
|
2081
2202
|
end
|
2082
2203
|
|
2083
|
-
# @!attribute [rw]
|
2084
|
-
#
|
2085
|
-
#
|
2086
|
-
#
|
2087
|
-
# **A suitable default value is auto-generated.** You should normally
|
2088
|
-
# not need to pass this option.
|
2204
|
+
# @!attribute [rw] workspace_id
|
2205
|
+
# The ID of the workspace for which to update the query logging
|
2206
|
+
# configuration.
|
2089
2207
|
# @return [String]
|
2090
2208
|
#
|
2091
2209
|
# @!attribute [rw] destinations
|
@@ -2093,17 +2211,20 @@ module Aws::PrometheusService
|
|
2093
2211
|
# destination is supported. The list must contain exactly one element.
|
2094
2212
|
# @return [Array<Types::LoggingDestination>]
|
2095
2213
|
#
|
2096
|
-
# @!attribute [rw]
|
2097
|
-
#
|
2098
|
-
#
|
2214
|
+
# @!attribute [rw] client_token
|
2215
|
+
# (Optional) A unique, case-sensitive identifier that you can provide
|
2216
|
+
# to ensure the idempotency of the request.
|
2217
|
+
#
|
2218
|
+
# **A suitable default value is auto-generated.** You should normally
|
2219
|
+
# not need to pass this option.
|
2099
2220
|
# @return [String]
|
2100
2221
|
#
|
2101
2222
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/UpdateQueryLoggingConfigurationRequest AWS API Documentation
|
2102
2223
|
#
|
2103
2224
|
class UpdateQueryLoggingConfigurationRequest < Struct.new(
|
2104
|
-
:
|
2225
|
+
:workspace_id,
|
2105
2226
|
:destinations,
|
2106
|
-
:
|
2227
|
+
:client_token)
|
2107
2228
|
SENSITIVE = []
|
2108
2229
|
include Aws::Structure
|
2109
2230
|
end
|
@@ -2120,29 +2241,14 @@ module Aws::PrometheusService
|
|
2120
2241
|
include Aws::Structure
|
2121
2242
|
end
|
2122
2243
|
|
2123
|
-
# @!attribute [rw]
|
2124
|
-
# The
|
2244
|
+
# @!attribute [rw] scraper_id
|
2245
|
+
# The ID of the scraper to update.
|
2125
2246
|
# @return [String]
|
2126
2247
|
#
|
2127
|
-
# @!attribute [rw]
|
2128
|
-
#
|
2129
|
-
# of the request. Case-sensitive.
|
2130
|
-
#
|
2131
|
-
# **A suitable default value is auto-generated.** You should normally
|
2132
|
-
# not need to pass this option.
|
2248
|
+
# @!attribute [rw] alias
|
2249
|
+
# The new alias of the scraper.
|
2133
2250
|
# @return [String]
|
2134
2251
|
#
|
2135
|
-
# @!attribute [rw] destination
|
2136
|
-
# The new Amazon Managed Service for Prometheus workspace to send
|
2137
|
-
# metrics to.
|
2138
|
-
# @return [Types::Destination]
|
2139
|
-
#
|
2140
|
-
# @!attribute [rw] role_configuration
|
2141
|
-
# Use this structure to enable cross-account access, so that you can
|
2142
|
-
# use a target account to access Prometheus metrics from source
|
2143
|
-
# accounts.
|
2144
|
-
# @return [Types::RoleConfiguration]
|
2145
|
-
#
|
2146
2252
|
# @!attribute [rw] scrape_configuration
|
2147
2253
|
# Contains the base-64 encoded YAML configuration for the scraper.
|
2148
2254
|
#
|
@@ -2157,31 +2263,46 @@ module Aws::PrometheusService
|
|
2157
2263
|
# [1]: https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-collector-how-to.html
|
2158
2264
|
# @return [Types::ScrapeConfiguration]
|
2159
2265
|
#
|
2160
|
-
# @!attribute [rw]
|
2161
|
-
# The
|
2266
|
+
# @!attribute [rw] destination
|
2267
|
+
# The new Amazon Managed Service for Prometheus workspace to send
|
2268
|
+
# metrics to.
|
2269
|
+
# @return [Types::Destination]
|
2270
|
+
#
|
2271
|
+
# @!attribute [rw] role_configuration
|
2272
|
+
# Use this structure to enable cross-account access, so that you can
|
2273
|
+
# use a target account to access Prometheus metrics from source
|
2274
|
+
# accounts.
|
2275
|
+
# @return [Types::RoleConfiguration]
|
2276
|
+
#
|
2277
|
+
# @!attribute [rw] client_token
|
2278
|
+
# A unique identifier that you can provide to ensure the idempotency
|
2279
|
+
# of the request. Case-sensitive.
|
2280
|
+
#
|
2281
|
+
# **A suitable default value is auto-generated.** You should normally
|
2282
|
+
# not need to pass this option.
|
2162
2283
|
# @return [String]
|
2163
2284
|
#
|
2164
2285
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/UpdateScraperRequest AWS API Documentation
|
2165
2286
|
#
|
2166
2287
|
class UpdateScraperRequest < Struct.new(
|
2288
|
+
:scraper_id,
|
2167
2289
|
:alias,
|
2168
|
-
:
|
2290
|
+
:scrape_configuration,
|
2169
2291
|
:destination,
|
2170
2292
|
:role_configuration,
|
2171
|
-
:
|
2172
|
-
:scraper_id)
|
2293
|
+
:client_token)
|
2173
2294
|
SENSITIVE = []
|
2174
2295
|
include Aws::Structure
|
2175
2296
|
end
|
2176
2297
|
|
2177
|
-
# @!attribute [rw] arn
|
2178
|
-
# The Amazon Resource Name (ARN) of the updated scraper.
|
2179
|
-
# @return [String]
|
2180
|
-
#
|
2181
2298
|
# @!attribute [rw] scraper_id
|
2182
2299
|
# The ID of the updated scraper.
|
2183
2300
|
# @return [String]
|
2184
2301
|
#
|
2302
|
+
# @!attribute [rw] arn
|
2303
|
+
# The Amazon Resource Name (ARN) of the updated scraper.
|
2304
|
+
# @return [String]
|
2305
|
+
#
|
2185
2306
|
# @!attribute [rw] status
|
2186
2307
|
# A structure that displays the current status of the scraper.
|
2187
2308
|
# @return [Types::ScraperStatus]
|
@@ -2194,8 +2315,8 @@ module Aws::PrometheusService
|
|
2194
2315
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/UpdateScraperResponse AWS API Documentation
|
2195
2316
|
#
|
2196
2317
|
class UpdateScraperResponse < Struct.new(
|
2197
|
-
:arn,
|
2198
2318
|
:scraper_id,
|
2319
|
+
:arn,
|
2199
2320
|
:status,
|
2200
2321
|
:tags)
|
2201
2322
|
SENSITIVE = []
|
@@ -2204,6 +2325,10 @@ module Aws::PrometheusService
|
|
2204
2325
|
|
2205
2326
|
# Represents the input of an `UpdateWorkspaceAlias` operation.
|
2206
2327
|
#
|
2328
|
+
# @!attribute [rw] workspace_id
|
2329
|
+
# The ID of the workspace to update.
|
2330
|
+
# @return [String]
|
2331
|
+
#
|
2207
2332
|
# @!attribute [rw] alias
|
2208
2333
|
# The new alias for the workspace. It does not need to be unique.
|
2209
2334
|
#
|
@@ -2220,20 +2345,25 @@ module Aws::PrometheusService
|
|
2220
2345
|
# not need to pass this option.
|
2221
2346
|
# @return [String]
|
2222
2347
|
#
|
2223
|
-
# @!attribute [rw] workspace_id
|
2224
|
-
# The ID of the workspace to update.
|
2225
|
-
# @return [String]
|
2226
|
-
#
|
2227
2348
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/UpdateWorkspaceAliasRequest AWS API Documentation
|
2228
2349
|
#
|
2229
2350
|
class UpdateWorkspaceAliasRequest < Struct.new(
|
2351
|
+
:workspace_id,
|
2230
2352
|
:alias,
|
2231
|
-
:client_token
|
2232
|
-
:workspace_id)
|
2353
|
+
:client_token)
|
2233
2354
|
SENSITIVE = []
|
2234
2355
|
include Aws::Structure
|
2235
2356
|
end
|
2236
2357
|
|
2358
|
+
# @!attribute [rw] workspace_id
|
2359
|
+
# The ID of the workspace that you want to update. To find the IDs of
|
2360
|
+
# your workspaces, use the [ListWorkspaces][1] operation.
|
2361
|
+
#
|
2362
|
+
#
|
2363
|
+
#
|
2364
|
+
# [1]: https://docs.aws.amazon.com/prometheus/latest/APIReference/API_ListWorkspaces.htm
|
2365
|
+
# @return [String]
|
2366
|
+
#
|
2237
2367
|
# @!attribute [rw] client_token
|
2238
2368
|
# You can include a token in your operation to make it an idempotent
|
2239
2369
|
# opeartion.
|
@@ -2254,22 +2384,13 @@ module Aws::PrometheusService
|
|
2254
2384
|
# workspace.
|
2255
2385
|
# @return [Integer]
|
2256
2386
|
#
|
2257
|
-
# @!attribute [rw] workspace_id
|
2258
|
-
# The ID of the workspace that you want to update. To find the IDs of
|
2259
|
-
# your workspaces, use the [ListWorkspaces][1] operation.
|
2260
|
-
#
|
2261
|
-
#
|
2262
|
-
#
|
2263
|
-
# [1]: https://docs.aws.amazon.com/prometheus/latest/APIReference/API_ListWorkspaces.htm
|
2264
|
-
# @return [String]
|
2265
|
-
#
|
2266
2387
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/UpdateWorkspaceConfigurationRequest AWS API Documentation
|
2267
2388
|
#
|
2268
2389
|
class UpdateWorkspaceConfigurationRequest < Struct.new(
|
2390
|
+
:workspace_id,
|
2269
2391
|
:client_token,
|
2270
2392
|
:limits_per_label_set,
|
2271
|
-
:retention_period_in_days
|
2272
|
-
:workspace_id)
|
2393
|
+
:retention_period_in_days)
|
2273
2394
|
SENSITIVE = []
|
2274
2395
|
include Aws::Structure
|
2275
2396
|
end
|
@@ -2289,10 +2410,6 @@ module Aws::PrometheusService
|
|
2289
2410
|
# The input fails to satisfy the constraints specified by an Amazon Web
|
2290
2411
|
# Services service.
|
2291
2412
|
#
|
2292
|
-
# @!attribute [rw] field_list
|
2293
|
-
# The field that caused the error, if applicable.
|
2294
|
-
# @return [Array<Types::ValidationExceptionField>]
|
2295
|
-
#
|
2296
2413
|
# @!attribute [rw] message
|
2297
2414
|
# Description of the error.
|
2298
2415
|
# @return [String]
|
@@ -2301,12 +2418,16 @@ module Aws::PrometheusService
|
|
2301
2418
|
# Reason the request failed validation.
|
2302
2419
|
# @return [String]
|
2303
2420
|
#
|
2421
|
+
# @!attribute [rw] field_list
|
2422
|
+
# The field that caused the error, if applicable.
|
2423
|
+
# @return [Array<Types::ValidationExceptionField>]
|
2424
|
+
#
|
2304
2425
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/ValidationException AWS API Documentation
|
2305
2426
|
#
|
2306
2427
|
class ValidationException < Struct.new(
|
2307
|
-
:field_list,
|
2308
2428
|
:message,
|
2309
|
-
:reason
|
2429
|
+
:reason,
|
2430
|
+
:field_list)
|
2310
2431
|
SENSITIVE = []
|
2311
2432
|
include Aws::Structure
|
2312
2433
|
end
|
@@ -2314,19 +2435,19 @@ module Aws::PrometheusService
|
|
2314
2435
|
# Information about a field passed into a request that resulted in an
|
2315
2436
|
# exception.
|
2316
2437
|
#
|
2317
|
-
# @!attribute [rw] message
|
2318
|
-
# A message describing why the field caused an exception.
|
2319
|
-
# @return [String]
|
2320
|
-
#
|
2321
2438
|
# @!attribute [rw] name
|
2322
2439
|
# The name of the field that caused an exception.
|
2323
2440
|
# @return [String]
|
2324
2441
|
#
|
2442
|
+
# @!attribute [rw] message
|
2443
|
+
# A message describing why the field caused an exception.
|
2444
|
+
# @return [String]
|
2445
|
+
#
|
2325
2446
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/ValidationExceptionField AWS API Documentation
|
2326
2447
|
#
|
2327
2448
|
class ValidationExceptionField < Struct.new(
|
2328
|
-
:
|
2329
|
-
:
|
2449
|
+
:name,
|
2450
|
+
:message)
|
2330
2451
|
SENSITIVE = []
|
2331
2452
|
include Aws::Structure
|
2332
2453
|
end
|
@@ -2334,6 +2455,11 @@ module Aws::PrometheusService
|
|
2334
2455
|
# This structure contains the description of the workspace
|
2335
2456
|
# configuration.
|
2336
2457
|
#
|
2458
|
+
# @!attribute [rw] status
|
2459
|
+
# This structure displays the current status of the workspace
|
2460
|
+
# configuration, and might also contain a reason for that status.
|
2461
|
+
# @return [Types::WorkspaceConfigurationStatus]
|
2462
|
+
#
|
2337
2463
|
# @!attribute [rw] limits_per_label_set
|
2338
2464
|
# This is an array of structures, where each structure displays one
|
2339
2465
|
# label sets for the workspace and the limits for that label set.
|
@@ -2344,17 +2470,12 @@ module Aws::PrometheusService
|
|
2344
2470
|
# workspace.
|
2345
2471
|
# @return [Integer]
|
2346
2472
|
#
|
2347
|
-
# @!attribute [rw] status
|
2348
|
-
# This structure displays the current status of the workspace
|
2349
|
-
# configuration, and might also contain a reason for that status.
|
2350
|
-
# @return [Types::WorkspaceConfigurationStatus]
|
2351
|
-
#
|
2352
2473
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/WorkspaceConfigurationDescription AWS API Documentation
|
2353
2474
|
#
|
2354
2475
|
class WorkspaceConfigurationDescription < Struct.new(
|
2476
|
+
:status,
|
2355
2477
|
:limits_per_label_set,
|
2356
|
-
:retention_period_in_days
|
2357
|
-
:status)
|
2478
|
+
:retention_period_in_days)
|
2358
2479
|
SENSITIVE = []
|
2359
2480
|
include Aws::Structure
|
2360
2481
|
end
|
@@ -2382,6 +2503,11 @@ module Aws::PrometheusService
|
|
2382
2503
|
# The full details about one Amazon Managed Service for Prometheus
|
2383
2504
|
# workspace in your account.
|
2384
2505
|
#
|
2506
|
+
# @!attribute [rw] workspace_id
|
2507
|
+
# The unique ID for the workspace. For example,
|
2508
|
+
# `ws-example1-1234-abcd-5678-ef90abcd1234`.
|
2509
|
+
# @return [String]
|
2510
|
+
#
|
2385
2511
|
# @!attribute [rw] alias
|
2386
2512
|
# The alias that is assigned to this workspace to help identify it. It
|
2387
2513
|
# does not need to be unique.
|
@@ -2392,45 +2518,40 @@ module Aws::PrometheusService
|
|
2392
2518
|
# `arn:aws:aps:<region>:123456789012:workspace/ws-example1-1234-abcd-5678-ef90abcd1234`.
|
2393
2519
|
# @return [String]
|
2394
2520
|
#
|
2395
|
-
# @!attribute [rw]
|
2396
|
-
# The
|
2397
|
-
# @return [
|
2398
|
-
#
|
2399
|
-
# @!attribute [rw] kms_key_arn
|
2400
|
-
# (optional) If the workspace was created with a customer managed KMS
|
2401
|
-
# key, the ARN for the key used.
|
2402
|
-
# @return [String]
|
2521
|
+
# @!attribute [rw] status
|
2522
|
+
# The current status of the workspace.
|
2523
|
+
# @return [Types::WorkspaceStatus]
|
2403
2524
|
#
|
2404
2525
|
# @!attribute [rw] prometheus_endpoint
|
2405
2526
|
# The Prometheus endpoint available for this workspace. For example,
|
2406
2527
|
# `https://aps-workspaces.<region>.amazonaws.com/workspaces/ws-example1-1234-abcd-5678-ef90abcd1234/api/v1/`.
|
2407
2528
|
# @return [String]
|
2408
2529
|
#
|
2409
|
-
# @!attribute [rw]
|
2410
|
-
# The
|
2411
|
-
# @return [
|
2530
|
+
# @!attribute [rw] created_at
|
2531
|
+
# The date and time that the workspace was created.
|
2532
|
+
# @return [Time]
|
2412
2533
|
#
|
2413
2534
|
# @!attribute [rw] tags
|
2414
2535
|
# The list of tag keys and values that are associated with the
|
2415
2536
|
# workspace.
|
2416
2537
|
# @return [Hash<String,String>]
|
2417
2538
|
#
|
2418
|
-
# @!attribute [rw]
|
2419
|
-
#
|
2420
|
-
#
|
2539
|
+
# @!attribute [rw] kms_key_arn
|
2540
|
+
# (optional) If the workspace was created with a customer managed KMS
|
2541
|
+
# key, the ARN for the key used.
|
2421
2542
|
# @return [String]
|
2422
2543
|
#
|
2423
2544
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/WorkspaceDescription AWS API Documentation
|
2424
2545
|
#
|
2425
2546
|
class WorkspaceDescription < Struct.new(
|
2547
|
+
:workspace_id,
|
2426
2548
|
:alias,
|
2427
2549
|
:arn,
|
2428
|
-
:created_at,
|
2429
|
-
:kms_key_arn,
|
2430
|
-
:prometheus_endpoint,
|
2431
2550
|
:status,
|
2551
|
+
:prometheus_endpoint,
|
2552
|
+
:created_at,
|
2432
2553
|
:tags,
|
2433
|
-
:
|
2554
|
+
:kms_key_arn)
|
2434
2555
|
SENSITIVE = []
|
2435
2556
|
include Aws::Structure
|
2436
2557
|
end
|
@@ -2452,6 +2573,10 @@ module Aws::PrometheusService
|
|
2452
2573
|
# The information about one Amazon Managed Service for Prometheus
|
2453
2574
|
# workspace in your account.
|
2454
2575
|
#
|
2576
|
+
# @!attribute [rw] workspace_id
|
2577
|
+
# The unique ID for the workspace.
|
2578
|
+
# @return [String]
|
2579
|
+
#
|
2455
2580
|
# @!attribute [rw] alias
|
2456
2581
|
# The alias that is assigned to this workspace to help identify it. It
|
2457
2582
|
# does not need to be unique.
|
@@ -2461,38 +2586,34 @@ module Aws::PrometheusService
|
|
2461
2586
|
# The ARN of the workspace.
|
2462
2587
|
# @return [String]
|
2463
2588
|
#
|
2464
|
-
# @!attribute [rw] created_at
|
2465
|
-
# The date and time that the workspace was created.
|
2466
|
-
# @return [Time]
|
2467
|
-
#
|
2468
|
-
# @!attribute [rw] kms_key_arn
|
2469
|
-
# (optional) If the workspace was created with a customer managed KMS
|
2470
|
-
# key, the ARN for the key used.
|
2471
|
-
# @return [String]
|
2472
|
-
#
|
2473
2589
|
# @!attribute [rw] status
|
2474
2590
|
# The current status of the workspace.
|
2475
2591
|
# @return [Types::WorkspaceStatus]
|
2476
2592
|
#
|
2593
|
+
# @!attribute [rw] created_at
|
2594
|
+
# The date and time that the workspace was created.
|
2595
|
+
# @return [Time]
|
2596
|
+
#
|
2477
2597
|
# @!attribute [rw] tags
|
2478
2598
|
# The list of tag keys and values that are associated with the
|
2479
2599
|
# workspace.
|
2480
2600
|
# @return [Hash<String,String>]
|
2481
2601
|
#
|
2482
|
-
# @!attribute [rw]
|
2483
|
-
#
|
2602
|
+
# @!attribute [rw] kms_key_arn
|
2603
|
+
# (optional) If the workspace was created with a customer managed KMS
|
2604
|
+
# key, the ARN for the key used.
|
2484
2605
|
# @return [String]
|
2485
2606
|
#
|
2486
2607
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/WorkspaceSummary AWS API Documentation
|
2487
2608
|
#
|
2488
2609
|
class WorkspaceSummary < Struct.new(
|
2610
|
+
:workspace_id,
|
2489
2611
|
:alias,
|
2490
2612
|
:arn,
|
2491
|
-
:created_at,
|
2492
|
-
:kms_key_arn,
|
2493
2613
|
:status,
|
2614
|
+
:created_at,
|
2494
2615
|
:tags,
|
2495
|
-
:
|
2616
|
+
:kms_key_arn)
|
2496
2617
|
SENSITIVE = []
|
2497
2618
|
include Aws::Structure
|
2498
2619
|
end
|