aws-sdk-prometheusservice 1.7.0 → 1.8.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 +509 -2
- data/lib/aws-sdk-prometheusservice/client_api.rb +269 -0
- data/lib/aws-sdk-prometheusservice/types.rb +613 -0
- data/lib/aws-sdk-prometheusservice/waiters.rb +172 -0
- data/lib/aws-sdk-prometheusservice.rb +3 -2
- metadata +3 -2
@@ -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
|
@@ -118,6 +298,75 @@ module Aws::PrometheusService
|
|
118
298
|
include Aws::Structure
|
119
299
|
end
|
120
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,
|
365
|
+
:workspace_id)
|
366
|
+
SENSITIVE = []
|
367
|
+
include Aws::Structure
|
368
|
+
end
|
369
|
+
|
121
370
|
# Represents the input of a DeleteWorkspace operation.
|
122
371
|
#
|
123
372
|
# @note When making an API call, you may pass DeleteWorkspaceRequest
|
@@ -149,6 +398,83 @@ module Aws::PrometheusService
|
|
149
398
|
include Aws::Structure
|
150
399
|
end
|
151
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
|
+
|
152
478
|
# Represents the input of a DescribeWorkspace operation.
|
153
479
|
#
|
154
480
|
# @note When making an API call, you may pass DescribeWorkspaceRequest
|
@@ -203,6 +529,67 @@ module Aws::PrometheusService
|
|
203
529
|
include Aws::Structure
|
204
530
|
end
|
205
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
|
+
|
206
593
|
# @note When making an API call, you may pass ListTagsForResourceRequest
|
207
594
|
# data as a hash:
|
208
595
|
#
|
@@ -290,6 +677,130 @@ module Aws::PrometheusService
|
|
290
677
|
include Aws::Structure
|
291
678
|
end
|
292
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
|
+
|
293
804
|
# Request references a resource which does not exist.
|
294
805
|
#
|
295
806
|
# @!attribute [rw] message
|
@@ -314,6 +825,108 @@ module Aws::PrometheusService
|
|
314
825
|
include Aws::Structure
|
315
826
|
end
|
316
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
|
+
|
317
930
|
# Request would cause a service quota to be exceeded.
|
318
931
|
#
|
319
932
|
# @!attribute [rw] message
|