aws-sdk-prometheusservice 1.6.0 → 1.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-prometheusservice/client.rb +614 -2
- data/lib/aws-sdk-prometheusservice/client_api.rb +345 -0
- data/lib/aws-sdk-prometheusservice/types.rb +728 -1
- data/lib/aws-sdk-prometheusservice/waiters.rb +172 -0
- data/lib/aws-sdk-prometheusservice.rb +3 -2
- metadata +5 -4
@@ -24,6 +24,54 @@ module Aws::PrometheusService
|
|
24
24
|
include Aws::Structure
|
25
25
|
end
|
26
26
|
|
27
|
+
# Represents the properties of an alert manager definition.
|
28
|
+
#
|
29
|
+
# @!attribute [rw] created_at
|
30
|
+
# The time when the alert manager definition was created.
|
31
|
+
# @return [Time]
|
32
|
+
#
|
33
|
+
# @!attribute [rw] data
|
34
|
+
# The alert manager definition.
|
35
|
+
# @return [String]
|
36
|
+
#
|
37
|
+
# @!attribute [rw] modified_at
|
38
|
+
# The time when the alert manager definition was modified.
|
39
|
+
# @return [Time]
|
40
|
+
#
|
41
|
+
# @!attribute [rw] status
|
42
|
+
# The status of alert manager definition.
|
43
|
+
# @return [Types::AlertManagerDefinitionStatus]
|
44
|
+
#
|
45
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/AlertManagerDefinitionDescription AWS API Documentation
|
46
|
+
#
|
47
|
+
class AlertManagerDefinitionDescription < Struct.new(
|
48
|
+
:created_at,
|
49
|
+
:data,
|
50
|
+
:modified_at,
|
51
|
+
:status)
|
52
|
+
SENSITIVE = []
|
53
|
+
include Aws::Structure
|
54
|
+
end
|
55
|
+
|
56
|
+
# Represents the status of a definition.
|
57
|
+
#
|
58
|
+
# @!attribute [rw] status_code
|
59
|
+
# Status code of this definition.
|
60
|
+
# @return [String]
|
61
|
+
#
|
62
|
+
# @!attribute [rw] status_reason
|
63
|
+
# The reason for failure if any.
|
64
|
+
# @return [String]
|
65
|
+
#
|
66
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/AlertManagerDefinitionStatus AWS API Documentation
|
67
|
+
#
|
68
|
+
class AlertManagerDefinitionStatus < Struct.new(
|
69
|
+
:status_code,
|
70
|
+
:status_reason)
|
71
|
+
SENSITIVE = []
|
72
|
+
include Aws::Structure
|
73
|
+
end
|
74
|
+
|
27
75
|
# Updating or deleting a resource can cause an inconsistent state.
|
28
76
|
#
|
29
77
|
# @!attribute [rw] message
|
@@ -48,6 +96,138 @@ module Aws::PrometheusService
|
|
48
96
|
include Aws::Structure
|
49
97
|
end
|
50
98
|
|
99
|
+
# Represents the input of a CreateAlertManagerDefinition operation.
|
100
|
+
#
|
101
|
+
# @note When making an API call, you may pass CreateAlertManagerDefinitionRequest
|
102
|
+
# data as a hash:
|
103
|
+
#
|
104
|
+
# {
|
105
|
+
# client_token: "IdempotencyToken",
|
106
|
+
# data: "data", # required
|
107
|
+
# workspace_id: "WorkspaceId", # required
|
108
|
+
# }
|
109
|
+
#
|
110
|
+
# @!attribute [rw] client_token
|
111
|
+
# Optional, unique, case-sensitive, user-provided identifier to ensure
|
112
|
+
# the idempotency of the request.
|
113
|
+
#
|
114
|
+
# **A suitable default value is auto-generated.** You should normally
|
115
|
+
# not need to pass this option.
|
116
|
+
# @return [String]
|
117
|
+
#
|
118
|
+
# @!attribute [rw] data
|
119
|
+
# The alert manager definition data.
|
120
|
+
# @return [String]
|
121
|
+
#
|
122
|
+
# @!attribute [rw] workspace_id
|
123
|
+
# The ID of the workspace in which to create the alert manager
|
124
|
+
# definition.
|
125
|
+
# @return [String]
|
126
|
+
#
|
127
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/CreateAlertManagerDefinitionRequest AWS API Documentation
|
128
|
+
#
|
129
|
+
class CreateAlertManagerDefinitionRequest < Struct.new(
|
130
|
+
:client_token,
|
131
|
+
:data,
|
132
|
+
:workspace_id)
|
133
|
+
SENSITIVE = []
|
134
|
+
include Aws::Structure
|
135
|
+
end
|
136
|
+
|
137
|
+
# Represents the output of a CreateAlertManagerDefinition operation.
|
138
|
+
#
|
139
|
+
# @!attribute [rw] status
|
140
|
+
# The status of alert manager definition.
|
141
|
+
# @return [Types::AlertManagerDefinitionStatus]
|
142
|
+
#
|
143
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/CreateAlertManagerDefinitionResponse AWS API Documentation
|
144
|
+
#
|
145
|
+
class CreateAlertManagerDefinitionResponse < Struct.new(
|
146
|
+
:status)
|
147
|
+
SENSITIVE = []
|
148
|
+
include Aws::Structure
|
149
|
+
end
|
150
|
+
|
151
|
+
# Represents the input of a CreateRuleGroupsNamespace operation.
|
152
|
+
#
|
153
|
+
# @note When making an API call, you may pass CreateRuleGroupsNamespaceRequest
|
154
|
+
# data as a hash:
|
155
|
+
#
|
156
|
+
# {
|
157
|
+
# client_token: "IdempotencyToken",
|
158
|
+
# data: "data", # required
|
159
|
+
# name: "RuleGroupsNamespaceName", # required
|
160
|
+
# tags: {
|
161
|
+
# "TagKey" => "TagValue",
|
162
|
+
# },
|
163
|
+
# workspace_id: "WorkspaceId", # required
|
164
|
+
# }
|
165
|
+
#
|
166
|
+
# @!attribute [rw] client_token
|
167
|
+
# Optional, unique, case-sensitive, user-provided identifier to ensure
|
168
|
+
# the idempotency of the request.
|
169
|
+
#
|
170
|
+
# **A suitable default value is auto-generated.** You should normally
|
171
|
+
# not need to pass this option.
|
172
|
+
# @return [String]
|
173
|
+
#
|
174
|
+
# @!attribute [rw] data
|
175
|
+
# The namespace data that define the rule groups.
|
176
|
+
# @return [String]
|
177
|
+
#
|
178
|
+
# @!attribute [rw] name
|
179
|
+
# The rule groups namespace name.
|
180
|
+
# @return [String]
|
181
|
+
#
|
182
|
+
# @!attribute [rw] tags
|
183
|
+
# Optional, user-provided tags for this rule groups namespace.
|
184
|
+
# @return [Hash<String,String>]
|
185
|
+
#
|
186
|
+
# @!attribute [rw] workspace_id
|
187
|
+
# The ID of the workspace in which to create the rule group namespace.
|
188
|
+
# @return [String]
|
189
|
+
#
|
190
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/CreateRuleGroupsNamespaceRequest AWS API Documentation
|
191
|
+
#
|
192
|
+
class CreateRuleGroupsNamespaceRequest < Struct.new(
|
193
|
+
:client_token,
|
194
|
+
:data,
|
195
|
+
:name,
|
196
|
+
:tags,
|
197
|
+
:workspace_id)
|
198
|
+
SENSITIVE = []
|
199
|
+
include Aws::Structure
|
200
|
+
end
|
201
|
+
|
202
|
+
# Represents the output of a CreateRuleGroupsNamespace operation.
|
203
|
+
#
|
204
|
+
# @!attribute [rw] arn
|
205
|
+
# The Amazon Resource Name (ARN) of this rule groups namespace.
|
206
|
+
# @return [String]
|
207
|
+
#
|
208
|
+
# @!attribute [rw] name
|
209
|
+
# The rule groups namespace name.
|
210
|
+
# @return [String]
|
211
|
+
#
|
212
|
+
# @!attribute [rw] status
|
213
|
+
# The status of rule groups namespace.
|
214
|
+
# @return [Types::RuleGroupsNamespaceStatus]
|
215
|
+
#
|
216
|
+
# @!attribute [rw] tags
|
217
|
+
# The tags of this rule groups namespace.
|
218
|
+
# @return [Hash<String,String>]
|
219
|
+
#
|
220
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/CreateRuleGroupsNamespaceResponse AWS API Documentation
|
221
|
+
#
|
222
|
+
class CreateRuleGroupsNamespaceResponse < Struct.new(
|
223
|
+
:arn,
|
224
|
+
:name,
|
225
|
+
:status,
|
226
|
+
:tags)
|
227
|
+
SENSITIVE = []
|
228
|
+
include Aws::Structure
|
229
|
+
end
|
230
|
+
|
51
231
|
# Represents the input of a CreateWorkspace operation.
|
52
232
|
#
|
53
233
|
# @note When making an API call, you may pass CreateWorkspaceRequest
|
@@ -56,6 +236,9 @@ module Aws::PrometheusService
|
|
56
236
|
# {
|
57
237
|
# alias: "WorkspaceAlias",
|
58
238
|
# client_token: "IdempotencyToken",
|
239
|
+
# tags: {
|
240
|
+
# "TagKey" => "TagValue",
|
241
|
+
# },
|
59
242
|
# }
|
60
243
|
#
|
61
244
|
# @!attribute [rw] alias
|
@@ -71,11 +254,16 @@ module Aws::PrometheusService
|
|
71
254
|
# not need to pass this option.
|
72
255
|
# @return [String]
|
73
256
|
#
|
257
|
+
# @!attribute [rw] tags
|
258
|
+
# Optional, user-provided tags for this workspace.
|
259
|
+
# @return [Hash<String,String>]
|
260
|
+
#
|
74
261
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/CreateWorkspaceRequest AWS API Documentation
|
75
262
|
#
|
76
263
|
class CreateWorkspaceRequest < Struct.new(
|
77
264
|
:alias,
|
78
|
-
:client_token
|
265
|
+
:client_token,
|
266
|
+
:tags)
|
79
267
|
SENSITIVE = []
|
80
268
|
include Aws::Structure
|
81
269
|
end
|
@@ -91,6 +279,10 @@ module Aws::PrometheusService
|
|
91
279
|
# CREATING).
|
92
280
|
# @return [Types::WorkspaceStatus]
|
93
281
|
#
|
282
|
+
# @!attribute [rw] tags
|
283
|
+
# The tags of this workspace.
|
284
|
+
# @return [Hash<String,String>]
|
285
|
+
#
|
94
286
|
# @!attribute [rw] workspace_id
|
95
287
|
# The generated ID of the workspace that was just created.
|
96
288
|
# @return [String]
|
@@ -100,6 +292,76 @@ module Aws::PrometheusService
|
|
100
292
|
class CreateWorkspaceResponse < Struct.new(
|
101
293
|
:arn,
|
102
294
|
:status,
|
295
|
+
:tags,
|
296
|
+
:workspace_id)
|
297
|
+
SENSITIVE = []
|
298
|
+
include Aws::Structure
|
299
|
+
end
|
300
|
+
|
301
|
+
# Represents the input of a DeleteAlertManagerDefinition operation.
|
302
|
+
#
|
303
|
+
# @note When making an API call, you may pass DeleteAlertManagerDefinitionRequest
|
304
|
+
# data as a hash:
|
305
|
+
#
|
306
|
+
# {
|
307
|
+
# client_token: "IdempotencyToken",
|
308
|
+
# workspace_id: "WorkspaceId", # required
|
309
|
+
# }
|
310
|
+
#
|
311
|
+
# @!attribute [rw] client_token
|
312
|
+
# Optional, unique, case-sensitive, user-provided identifier to ensure
|
313
|
+
# the idempotency of the request.
|
314
|
+
#
|
315
|
+
# **A suitable default value is auto-generated.** You should normally
|
316
|
+
# not need to pass this option.
|
317
|
+
# @return [String]
|
318
|
+
#
|
319
|
+
# @!attribute [rw] workspace_id
|
320
|
+
# The ID of the workspace in which to delete the alert manager
|
321
|
+
# definition.
|
322
|
+
# @return [String]
|
323
|
+
#
|
324
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DeleteAlertManagerDefinitionRequest AWS API Documentation
|
325
|
+
#
|
326
|
+
class DeleteAlertManagerDefinitionRequest < Struct.new(
|
327
|
+
:client_token,
|
328
|
+
:workspace_id)
|
329
|
+
SENSITIVE = []
|
330
|
+
include Aws::Structure
|
331
|
+
end
|
332
|
+
|
333
|
+
# Represents the input of a DeleteRuleGroupsNamespace operation.
|
334
|
+
#
|
335
|
+
# @note When making an API call, you may pass DeleteRuleGroupsNamespaceRequest
|
336
|
+
# data as a hash:
|
337
|
+
#
|
338
|
+
# {
|
339
|
+
# client_token: "IdempotencyToken",
|
340
|
+
# name: "RuleGroupsNamespaceName", # required
|
341
|
+
# workspace_id: "WorkspaceId", # required
|
342
|
+
# }
|
343
|
+
#
|
344
|
+
# @!attribute [rw] client_token
|
345
|
+
# Optional, unique, case-sensitive, user-provided identifier to ensure
|
346
|
+
# the idempotency of the request.
|
347
|
+
#
|
348
|
+
# **A suitable default value is auto-generated.** You should normally
|
349
|
+
# not need to pass this option.
|
350
|
+
# @return [String]
|
351
|
+
#
|
352
|
+
# @!attribute [rw] name
|
353
|
+
# The rule groups namespace name.
|
354
|
+
# @return [String]
|
355
|
+
#
|
356
|
+
# @!attribute [rw] workspace_id
|
357
|
+
# The ID of the workspace to delete rule group definition.
|
358
|
+
# @return [String]
|
359
|
+
#
|
360
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DeleteRuleGroupsNamespaceRequest AWS API Documentation
|
361
|
+
#
|
362
|
+
class DeleteRuleGroupsNamespaceRequest < Struct.new(
|
363
|
+
:client_token,
|
364
|
+
:name,
|
103
365
|
:workspace_id)
|
104
366
|
SENSITIVE = []
|
105
367
|
include Aws::Structure
|
@@ -136,6 +398,83 @@ module Aws::PrometheusService
|
|
136
398
|
include Aws::Structure
|
137
399
|
end
|
138
400
|
|
401
|
+
# Represents the input of a DescribeAlertManagerDefinition operation.
|
402
|
+
#
|
403
|
+
# @note When making an API call, you may pass DescribeAlertManagerDefinitionRequest
|
404
|
+
# data as a hash:
|
405
|
+
#
|
406
|
+
# {
|
407
|
+
# workspace_id: "WorkspaceId", # required
|
408
|
+
# }
|
409
|
+
#
|
410
|
+
# @!attribute [rw] workspace_id
|
411
|
+
# The ID of the workspace to describe.
|
412
|
+
# @return [String]
|
413
|
+
#
|
414
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DescribeAlertManagerDefinitionRequest AWS API Documentation
|
415
|
+
#
|
416
|
+
class DescribeAlertManagerDefinitionRequest < Struct.new(
|
417
|
+
:workspace_id)
|
418
|
+
SENSITIVE = []
|
419
|
+
include Aws::Structure
|
420
|
+
end
|
421
|
+
|
422
|
+
# Represents the output of a DescribeAlertManagerDefinition operation.
|
423
|
+
#
|
424
|
+
# @!attribute [rw] alert_manager_definition
|
425
|
+
# The properties of the selected workspace's alert manager
|
426
|
+
# definition.
|
427
|
+
# @return [Types::AlertManagerDefinitionDescription]
|
428
|
+
#
|
429
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DescribeAlertManagerDefinitionResponse AWS API Documentation
|
430
|
+
#
|
431
|
+
class DescribeAlertManagerDefinitionResponse < Struct.new(
|
432
|
+
:alert_manager_definition)
|
433
|
+
SENSITIVE = []
|
434
|
+
include Aws::Structure
|
435
|
+
end
|
436
|
+
|
437
|
+
# Represents the input of a DescribeRuleGroupsNamespace operation.
|
438
|
+
#
|
439
|
+
# @note When making an API call, you may pass DescribeRuleGroupsNamespaceRequest
|
440
|
+
# data as a hash:
|
441
|
+
#
|
442
|
+
# {
|
443
|
+
# name: "RuleGroupsNamespaceName", # required
|
444
|
+
# workspace_id: "WorkspaceId", # required
|
445
|
+
# }
|
446
|
+
#
|
447
|
+
# @!attribute [rw] name
|
448
|
+
# The rule groups namespace.
|
449
|
+
# @return [String]
|
450
|
+
#
|
451
|
+
# @!attribute [rw] workspace_id
|
452
|
+
# The ID of the workspace to describe.
|
453
|
+
# @return [String]
|
454
|
+
#
|
455
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DescribeRuleGroupsNamespaceRequest AWS API Documentation
|
456
|
+
#
|
457
|
+
class DescribeRuleGroupsNamespaceRequest < Struct.new(
|
458
|
+
:name,
|
459
|
+
:workspace_id)
|
460
|
+
SENSITIVE = []
|
461
|
+
include Aws::Structure
|
462
|
+
end
|
463
|
+
|
464
|
+
# Represents the output of a DescribeRuleGroupsNamespace operation.
|
465
|
+
#
|
466
|
+
# @!attribute [rw] rule_groups_namespace
|
467
|
+
# The selected rule groups namespace.
|
468
|
+
# @return [Types::RuleGroupsNamespaceDescription]
|
469
|
+
#
|
470
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DescribeRuleGroupsNamespaceResponse AWS API Documentation
|
471
|
+
#
|
472
|
+
class DescribeRuleGroupsNamespaceResponse < Struct.new(
|
473
|
+
:rule_groups_namespace)
|
474
|
+
SENSITIVE = []
|
475
|
+
include Aws::Structure
|
476
|
+
end
|
477
|
+
|
139
478
|
# Represents the input of a DescribeWorkspace operation.
|
140
479
|
#
|
141
480
|
# @note When making an API call, you may pass DescribeWorkspaceRequest
|
@@ -190,6 +529,98 @@ module Aws::PrometheusService
|
|
190
529
|
include Aws::Structure
|
191
530
|
end
|
192
531
|
|
532
|
+
# Represents the input of a ListRuleGroupsNamespaces operation.
|
533
|
+
#
|
534
|
+
# @note When making an API call, you may pass ListRuleGroupsNamespacesRequest
|
535
|
+
# data as a hash:
|
536
|
+
#
|
537
|
+
# {
|
538
|
+
# max_results: 1,
|
539
|
+
# name: "RuleGroupsNamespaceName",
|
540
|
+
# next_token: "PaginationToken",
|
541
|
+
# workspace_id: "WorkspaceId", # required
|
542
|
+
# }
|
543
|
+
#
|
544
|
+
# @!attribute [rw] max_results
|
545
|
+
# Maximum results to return in response (default=100, maximum=1000).
|
546
|
+
# @return [Integer]
|
547
|
+
#
|
548
|
+
# @!attribute [rw] name
|
549
|
+
# Optional filter for rule groups namespace name. Only the rule groups
|
550
|
+
# namespace that begin with this value will be returned.
|
551
|
+
# @return [String]
|
552
|
+
#
|
553
|
+
# @!attribute [rw] next_token
|
554
|
+
# Pagination token to request the next page in a paginated list. This
|
555
|
+
# token is obtained from the output of the previous
|
556
|
+
# ListRuleGroupsNamespaces request.
|
557
|
+
# @return [String]
|
558
|
+
#
|
559
|
+
# @!attribute [rw] workspace_id
|
560
|
+
# The ID of the workspace.
|
561
|
+
# @return [String]
|
562
|
+
#
|
563
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/ListRuleGroupsNamespacesRequest AWS API Documentation
|
564
|
+
#
|
565
|
+
class ListRuleGroupsNamespacesRequest < Struct.new(
|
566
|
+
:max_results,
|
567
|
+
:name,
|
568
|
+
:next_token,
|
569
|
+
:workspace_id)
|
570
|
+
SENSITIVE = []
|
571
|
+
include Aws::Structure
|
572
|
+
end
|
573
|
+
|
574
|
+
# Represents the output of a ListRuleGroupsNamespaces operation.
|
575
|
+
#
|
576
|
+
# @!attribute [rw] next_token
|
577
|
+
# Pagination token to use when requesting the next page in this list.
|
578
|
+
# @return [String]
|
579
|
+
#
|
580
|
+
# @!attribute [rw] rule_groups_namespaces
|
581
|
+
# The list of the selected rule groups namespaces.
|
582
|
+
# @return [Array<Types::RuleGroupsNamespaceSummary>]
|
583
|
+
#
|
584
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/ListRuleGroupsNamespacesResponse AWS API Documentation
|
585
|
+
#
|
586
|
+
class ListRuleGroupsNamespacesResponse < Struct.new(
|
587
|
+
:next_token,
|
588
|
+
:rule_groups_namespaces)
|
589
|
+
SENSITIVE = []
|
590
|
+
include Aws::Structure
|
591
|
+
end
|
592
|
+
|
593
|
+
# @note When making an API call, you may pass ListTagsForResourceRequest
|
594
|
+
# data as a hash:
|
595
|
+
#
|
596
|
+
# {
|
597
|
+
# resource_arn: "String", # required
|
598
|
+
# }
|
599
|
+
#
|
600
|
+
# @!attribute [rw] resource_arn
|
601
|
+
# The ARN of the resource.
|
602
|
+
# @return [String]
|
603
|
+
#
|
604
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/ListTagsForResourceRequest AWS API Documentation
|
605
|
+
#
|
606
|
+
class ListTagsForResourceRequest < Struct.new(
|
607
|
+
:resource_arn)
|
608
|
+
SENSITIVE = []
|
609
|
+
include Aws::Structure
|
610
|
+
end
|
611
|
+
|
612
|
+
# @!attribute [rw] tags
|
613
|
+
# The list of tags assigned to the resource.
|
614
|
+
# @return [Hash<String,String>]
|
615
|
+
#
|
616
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/ListTagsForResourceResponse AWS API Documentation
|
617
|
+
#
|
618
|
+
class ListTagsForResourceResponse < Struct.new(
|
619
|
+
:tags)
|
620
|
+
SENSITIVE = []
|
621
|
+
include Aws::Structure
|
622
|
+
end
|
623
|
+
|
193
624
|
# Represents the input of a ListWorkspaces operation.
|
194
625
|
#
|
195
626
|
# @note When making an API call, you may pass ListWorkspacesRequest
|
@@ -246,6 +677,130 @@ module Aws::PrometheusService
|
|
246
677
|
include Aws::Structure
|
247
678
|
end
|
248
679
|
|
680
|
+
# Represents the input of a PutAlertManagerDefinition operation.
|
681
|
+
#
|
682
|
+
# @note When making an API call, you may pass PutAlertManagerDefinitionRequest
|
683
|
+
# data as a hash:
|
684
|
+
#
|
685
|
+
# {
|
686
|
+
# client_token: "IdempotencyToken",
|
687
|
+
# data: "data", # required
|
688
|
+
# workspace_id: "WorkspaceId", # required
|
689
|
+
# }
|
690
|
+
#
|
691
|
+
# @!attribute [rw] client_token
|
692
|
+
# Optional, unique, case-sensitive, user-provided identifier to ensure
|
693
|
+
# the idempotency of the request.
|
694
|
+
#
|
695
|
+
# **A suitable default value is auto-generated.** You should normally
|
696
|
+
# not need to pass this option.
|
697
|
+
# @return [String]
|
698
|
+
#
|
699
|
+
# @!attribute [rw] data
|
700
|
+
# The alert manager definition data.
|
701
|
+
# @return [String]
|
702
|
+
#
|
703
|
+
# @!attribute [rw] workspace_id
|
704
|
+
# The ID of the workspace in which to update the alert manager
|
705
|
+
# definition.
|
706
|
+
# @return [String]
|
707
|
+
#
|
708
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/PutAlertManagerDefinitionRequest AWS API Documentation
|
709
|
+
#
|
710
|
+
class PutAlertManagerDefinitionRequest < Struct.new(
|
711
|
+
:client_token,
|
712
|
+
:data,
|
713
|
+
:workspace_id)
|
714
|
+
SENSITIVE = []
|
715
|
+
include Aws::Structure
|
716
|
+
end
|
717
|
+
|
718
|
+
# Represents the output of a PutAlertManagerDefinition operation.
|
719
|
+
#
|
720
|
+
# @!attribute [rw] status
|
721
|
+
# The status of alert manager definition.
|
722
|
+
# @return [Types::AlertManagerDefinitionStatus]
|
723
|
+
#
|
724
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/PutAlertManagerDefinitionResponse AWS API Documentation
|
725
|
+
#
|
726
|
+
class PutAlertManagerDefinitionResponse < Struct.new(
|
727
|
+
:status)
|
728
|
+
SENSITIVE = []
|
729
|
+
include Aws::Structure
|
730
|
+
end
|
731
|
+
|
732
|
+
# Represents the input of a PutRuleGroupsNamespace operation.
|
733
|
+
#
|
734
|
+
# @note When making an API call, you may pass PutRuleGroupsNamespaceRequest
|
735
|
+
# data as a hash:
|
736
|
+
#
|
737
|
+
# {
|
738
|
+
# client_token: "IdempotencyToken",
|
739
|
+
# data: "data", # required
|
740
|
+
# name: "RuleGroupsNamespaceName", # required
|
741
|
+
# workspace_id: "WorkspaceId", # required
|
742
|
+
# }
|
743
|
+
#
|
744
|
+
# @!attribute [rw] client_token
|
745
|
+
# Optional, unique, case-sensitive, user-provided identifier to ensure
|
746
|
+
# the idempotency of the request.
|
747
|
+
#
|
748
|
+
# **A suitable default value is auto-generated.** You should normally
|
749
|
+
# not need to pass this option.
|
750
|
+
# @return [String]
|
751
|
+
#
|
752
|
+
# @!attribute [rw] data
|
753
|
+
# The namespace data that define the rule groups.
|
754
|
+
# @return [String]
|
755
|
+
#
|
756
|
+
# @!attribute [rw] name
|
757
|
+
# The rule groups namespace name.
|
758
|
+
# @return [String]
|
759
|
+
#
|
760
|
+
# @!attribute [rw] workspace_id
|
761
|
+
# The ID of the workspace in which to update the rule group namespace.
|
762
|
+
# @return [String]
|
763
|
+
#
|
764
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/PutRuleGroupsNamespaceRequest AWS API Documentation
|
765
|
+
#
|
766
|
+
class PutRuleGroupsNamespaceRequest < Struct.new(
|
767
|
+
:client_token,
|
768
|
+
:data,
|
769
|
+
:name,
|
770
|
+
:workspace_id)
|
771
|
+
SENSITIVE = []
|
772
|
+
include Aws::Structure
|
773
|
+
end
|
774
|
+
|
775
|
+
# Represents the output of a PutRuleGroupsNamespace operation.
|
776
|
+
#
|
777
|
+
# @!attribute [rw] arn
|
778
|
+
# The Amazon Resource Name (ARN) of this rule groups namespace.
|
779
|
+
# @return [String]
|
780
|
+
#
|
781
|
+
# @!attribute [rw] name
|
782
|
+
# The rule groups namespace name.
|
783
|
+
# @return [String]
|
784
|
+
#
|
785
|
+
# @!attribute [rw] status
|
786
|
+
# The status of rule groups namespace.
|
787
|
+
# @return [Types::RuleGroupsNamespaceStatus]
|
788
|
+
#
|
789
|
+
# @!attribute [rw] tags
|
790
|
+
# The tags of this rule groups namespace.
|
791
|
+
# @return [Hash<String,String>]
|
792
|
+
#
|
793
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/PutRuleGroupsNamespaceResponse AWS API Documentation
|
794
|
+
#
|
795
|
+
class PutRuleGroupsNamespaceResponse < Struct.new(
|
796
|
+
:arn,
|
797
|
+
:name,
|
798
|
+
:status,
|
799
|
+
:tags)
|
800
|
+
SENSITIVE = []
|
801
|
+
include Aws::Structure
|
802
|
+
end
|
803
|
+
|
249
804
|
# Request references a resource which does not exist.
|
250
805
|
#
|
251
806
|
# @!attribute [rw] message
|
@@ -270,6 +825,108 @@ module Aws::PrometheusService
|
|
270
825
|
include Aws::Structure
|
271
826
|
end
|
272
827
|
|
828
|
+
# Represents a description of the rule groups namespace.
|
829
|
+
#
|
830
|
+
# @!attribute [rw] arn
|
831
|
+
# The Amazon Resource Name (ARN) of this rule groups namespace.
|
832
|
+
# @return [String]
|
833
|
+
#
|
834
|
+
# @!attribute [rw] created_at
|
835
|
+
# The time when the rule groups namespace was created.
|
836
|
+
# @return [Time]
|
837
|
+
#
|
838
|
+
# @!attribute [rw] data
|
839
|
+
# The rule groups namespace data.
|
840
|
+
# @return [String]
|
841
|
+
#
|
842
|
+
# @!attribute [rw] modified_at
|
843
|
+
# The time when the rule groups namespace was modified.
|
844
|
+
# @return [Time]
|
845
|
+
#
|
846
|
+
# @!attribute [rw] name
|
847
|
+
# The rule groups namespace name.
|
848
|
+
# @return [String]
|
849
|
+
#
|
850
|
+
# @!attribute [rw] status
|
851
|
+
# The status of rule groups namespace.
|
852
|
+
# @return [Types::RuleGroupsNamespaceStatus]
|
853
|
+
#
|
854
|
+
# @!attribute [rw] tags
|
855
|
+
# The tags of this rule groups namespace.
|
856
|
+
# @return [Hash<String,String>]
|
857
|
+
#
|
858
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/RuleGroupsNamespaceDescription AWS API Documentation
|
859
|
+
#
|
860
|
+
class RuleGroupsNamespaceDescription < Struct.new(
|
861
|
+
:arn,
|
862
|
+
:created_at,
|
863
|
+
:data,
|
864
|
+
:modified_at,
|
865
|
+
:name,
|
866
|
+
:status,
|
867
|
+
:tags)
|
868
|
+
SENSITIVE = []
|
869
|
+
include Aws::Structure
|
870
|
+
end
|
871
|
+
|
872
|
+
# Represents the status of a namespace.
|
873
|
+
#
|
874
|
+
# @!attribute [rw] status_code
|
875
|
+
# Status code of this namespace.
|
876
|
+
# @return [String]
|
877
|
+
#
|
878
|
+
# @!attribute [rw] status_reason
|
879
|
+
# The reason for failure if any.
|
880
|
+
# @return [String]
|
881
|
+
#
|
882
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/RuleGroupsNamespaceStatus AWS API Documentation
|
883
|
+
#
|
884
|
+
class RuleGroupsNamespaceStatus < Struct.new(
|
885
|
+
:status_code,
|
886
|
+
:status_reason)
|
887
|
+
SENSITIVE = []
|
888
|
+
include Aws::Structure
|
889
|
+
end
|
890
|
+
|
891
|
+
# Represents a summary of the rule groups namespace.
|
892
|
+
#
|
893
|
+
# @!attribute [rw] arn
|
894
|
+
# The Amazon Resource Name (ARN) of this rule groups namespace.
|
895
|
+
# @return [String]
|
896
|
+
#
|
897
|
+
# @!attribute [rw] created_at
|
898
|
+
# The time when the rule groups namespace was created.
|
899
|
+
# @return [Time]
|
900
|
+
#
|
901
|
+
# @!attribute [rw] modified_at
|
902
|
+
# The time when the rule groups namespace was modified.
|
903
|
+
# @return [Time]
|
904
|
+
#
|
905
|
+
# @!attribute [rw] name
|
906
|
+
# The rule groups namespace name.
|
907
|
+
# @return [String]
|
908
|
+
#
|
909
|
+
# @!attribute [rw] status
|
910
|
+
# The status of rule groups namespace.
|
911
|
+
# @return [Types::RuleGroupsNamespaceStatus]
|
912
|
+
#
|
913
|
+
# @!attribute [rw] tags
|
914
|
+
# The tags of this rule groups namespace.
|
915
|
+
# @return [Hash<String,String>]
|
916
|
+
#
|
917
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/RuleGroupsNamespaceSummary AWS API Documentation
|
918
|
+
#
|
919
|
+
class RuleGroupsNamespaceSummary < Struct.new(
|
920
|
+
:arn,
|
921
|
+
:created_at,
|
922
|
+
:modified_at,
|
923
|
+
:name,
|
924
|
+
:status,
|
925
|
+
:tags)
|
926
|
+
SENSITIVE = []
|
927
|
+
include Aws::Structure
|
928
|
+
end
|
929
|
+
|
273
930
|
# Request would cause a service quota to be exceeded.
|
274
931
|
#
|
275
932
|
# @!attribute [rw] message
|
@@ -304,6 +961,37 @@ module Aws::PrometheusService
|
|
304
961
|
include Aws::Structure
|
305
962
|
end
|
306
963
|
|
964
|
+
# @note When making an API call, you may pass TagResourceRequest
|
965
|
+
# data as a hash:
|
966
|
+
#
|
967
|
+
# {
|
968
|
+
# resource_arn: "String", # required
|
969
|
+
# tags: { # required
|
970
|
+
# "TagKey" => "TagValue",
|
971
|
+
# },
|
972
|
+
# }
|
973
|
+
#
|
974
|
+
# @!attribute [rw] resource_arn
|
975
|
+
# The ARN of the resource.
|
976
|
+
# @return [String]
|
977
|
+
#
|
978
|
+
# @!attribute [rw] tags
|
979
|
+
# The list of tags assigned to the resource.
|
980
|
+
# @return [Hash<String,String>]
|
981
|
+
#
|
982
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/TagResourceRequest AWS API Documentation
|
983
|
+
#
|
984
|
+
class TagResourceRequest < Struct.new(
|
985
|
+
:resource_arn,
|
986
|
+
:tags)
|
987
|
+
SENSITIVE = []
|
988
|
+
include Aws::Structure
|
989
|
+
end
|
990
|
+
|
991
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/TagResourceResponse AWS API Documentation
|
992
|
+
#
|
993
|
+
class TagResourceResponse < Aws::EmptyStructure; end
|
994
|
+
|
307
995
|
# Request was denied due to request throttling.
|
308
996
|
#
|
309
997
|
# @!attribute [rw] message
|
@@ -333,6 +1021,35 @@ module Aws::PrometheusService
|
|
333
1021
|
include Aws::Structure
|
334
1022
|
end
|
335
1023
|
|
1024
|
+
# @note When making an API call, you may pass UntagResourceRequest
|
1025
|
+
# data as a hash:
|
1026
|
+
#
|
1027
|
+
# {
|
1028
|
+
# resource_arn: "String", # required
|
1029
|
+
# tag_keys: ["TagKey"], # required
|
1030
|
+
# }
|
1031
|
+
#
|
1032
|
+
# @!attribute [rw] resource_arn
|
1033
|
+
# The ARN of the resource.
|
1034
|
+
# @return [String]
|
1035
|
+
#
|
1036
|
+
# @!attribute [rw] tag_keys
|
1037
|
+
# One or more tag keys
|
1038
|
+
# @return [Array<String>]
|
1039
|
+
#
|
1040
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/UntagResourceRequest AWS API Documentation
|
1041
|
+
#
|
1042
|
+
class UntagResourceRequest < Struct.new(
|
1043
|
+
:resource_arn,
|
1044
|
+
:tag_keys)
|
1045
|
+
SENSITIVE = []
|
1046
|
+
include Aws::Structure
|
1047
|
+
end
|
1048
|
+
|
1049
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/UntagResourceResponse AWS API Documentation
|
1050
|
+
#
|
1051
|
+
class UntagResourceResponse < Aws::EmptyStructure; end
|
1052
|
+
|
336
1053
|
# Represents the input of an UpdateWorkspaceAlias operation.
|
337
1054
|
#
|
338
1055
|
# @note When making an API call, you may pass UpdateWorkspaceAliasRequest
|
@@ -438,6 +1155,10 @@ module Aws::PrometheusService
|
|
438
1155
|
# The status of this workspace.
|
439
1156
|
# @return [Types::WorkspaceStatus]
|
440
1157
|
#
|
1158
|
+
# @!attribute [rw] tags
|
1159
|
+
# The tags of this workspace.
|
1160
|
+
# @return [Hash<String,String>]
|
1161
|
+
#
|
441
1162
|
# @!attribute [rw] workspace_id
|
442
1163
|
# Unique string identifying this workspace.
|
443
1164
|
# @return [String]
|
@@ -450,6 +1171,7 @@ module Aws::PrometheusService
|
|
450
1171
|
:created_at,
|
451
1172
|
:prometheus_endpoint,
|
452
1173
|
:status,
|
1174
|
+
:tags,
|
453
1175
|
:workspace_id)
|
454
1176
|
SENSITIVE = []
|
455
1177
|
include Aws::Structure
|
@@ -487,6 +1209,10 @@ module Aws::PrometheusService
|
|
487
1209
|
# The status of this workspace.
|
488
1210
|
# @return [Types::WorkspaceStatus]
|
489
1211
|
#
|
1212
|
+
# @!attribute [rw] tags
|
1213
|
+
# The tags of this workspace.
|
1214
|
+
# @return [Hash<String,String>]
|
1215
|
+
#
|
490
1216
|
# @!attribute [rw] workspace_id
|
491
1217
|
# Unique string identifying this workspace.
|
492
1218
|
# @return [String]
|
@@ -498,6 +1224,7 @@ module Aws::PrometheusService
|
|
498
1224
|
:arn,
|
499
1225
|
:created_at,
|
500
1226
|
:status,
|
1227
|
+
:tags,
|
501
1228
|
:workspace_id)
|
502
1229
|
SENSITIVE = []
|
503
1230
|
include Aws::Structure
|