aws-sdk-prometheusservice 1.20.0 → 1.21.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.
@@ -26,29 +26,29 @@ module Aws::PrometheusService
26
26
 
27
27
  # Represents the properties of an alert manager definition.
28
28
  #
29
- # @!attribute [rw] created_at
30
- # The time when the alert manager definition was created.
31
- # @return [Time]
29
+ # @!attribute [rw] status
30
+ # The status of alert manager definition.
31
+ # @return [Types::AlertManagerDefinitionStatus]
32
32
  #
33
33
  # @!attribute [rw] data
34
34
  # The alert manager definition.
35
35
  # @return [String]
36
36
  #
37
+ # @!attribute [rw] created_at
38
+ # The time when the alert manager definition was created.
39
+ # @return [Time]
40
+ #
37
41
  # @!attribute [rw] modified_at
38
42
  # The time when the alert manager definition was modified.
39
43
  # @return [Time]
40
44
  #
41
- # @!attribute [rw] status
42
- # The status of alert manager definition.
43
- # @return [Types::AlertManagerDefinitionStatus]
44
- #
45
45
  # @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/AlertManagerDefinitionDescription AWS API Documentation
46
46
  #
47
47
  class AlertManagerDefinitionDescription < Struct.new(
48
- :created_at,
48
+ :status,
49
49
  :data,
50
- :modified_at,
51
- :status)
50
+ :created_at,
51
+ :modified_at)
52
52
  SENSITIVE = []
53
53
  include Aws::Structure
54
54
  end
@@ -98,29 +98,29 @@ module Aws::PrometheusService
98
98
 
99
99
  # Represents the input of a CreateAlertManagerDefinition operation.
100
100
  #
101
- # @!attribute [rw] client_token
102
- # Optional, unique, case-sensitive, user-provided identifier to ensure
103
- # the idempotency of the request.
104
- #
105
- # **A suitable default value is auto-generated.** You should normally
106
- # not need to pass this option.
101
+ # @!attribute [rw] workspace_id
102
+ # The ID of the workspace in which to create the alert manager
103
+ # definition.
107
104
  # @return [String]
108
105
  #
109
106
  # @!attribute [rw] data
110
107
  # The alert manager definition data.
111
108
  # @return [String]
112
109
  #
113
- # @!attribute [rw] workspace_id
114
- # The ID of the workspace in which to create the alert manager
115
- # definition.
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
116
  # @return [String]
117
117
  #
118
118
  # @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/CreateAlertManagerDefinitionRequest AWS API Documentation
119
119
  #
120
120
  class CreateAlertManagerDefinitionRequest < Struct.new(
121
- :client_token,
121
+ :workspace_id,
122
122
  :data,
123
- :workspace_id)
123
+ :client_token)
124
124
  SENSITIVE = []
125
125
  include Aws::Structure
126
126
  end
@@ -141,12 +141,8 @@ module Aws::PrometheusService
141
141
 
142
142
  # Represents the input of a CreateLoggingConfiguration operation.
143
143
  #
144
- # @!attribute [rw] client_token
145
- # Optional, unique, case-sensitive, user-provided identifier to ensure
146
- # the idempotency of the request.
147
- #
148
- # **A suitable default value is auto-generated.** You should normally
149
- # not need to pass this option.
144
+ # @!attribute [rw] workspace_id
145
+ # The ID of the workspace to vend logs to.
150
146
  # @return [String]
151
147
  #
152
148
  # @!attribute [rw] log_group_arn
@@ -154,16 +150,20 @@ module Aws::PrometheusService
154
150
  # published.
155
151
  # @return [String]
156
152
  #
157
- # @!attribute [rw] workspace_id
158
- # The ID of the workspace to vend logs to.
153
+ # @!attribute [rw] client_token
154
+ # Optional, unique, case-sensitive, user-provided identifier to ensure
155
+ # the idempotency of the request.
156
+ #
157
+ # **A suitable default value is auto-generated.** You should normally
158
+ # not need to pass this option.
159
159
  # @return [String]
160
160
  #
161
161
  # @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/CreateLoggingConfigurationRequest AWS API Documentation
162
162
  #
163
163
  class CreateLoggingConfigurationRequest < Struct.new(
164
- :client_token,
164
+ :workspace_id,
165
165
  :log_group_arn,
166
- :workspace_id)
166
+ :client_token)
167
167
  SENSITIVE = []
168
168
  include Aws::Structure
169
169
  end
@@ -184,52 +184,52 @@ module Aws::PrometheusService
184
184
 
185
185
  # Represents the input of a CreateRuleGroupsNamespace operation.
186
186
  #
187
- # @!attribute [rw] client_token
188
- # Optional, unique, case-sensitive, user-provided identifier to ensure
189
- # the idempotency of the request.
187
+ # @!attribute [rw] workspace_id
188
+ # The ID of the workspace in which to create the rule group namespace.
189
+ # @return [String]
190
190
  #
191
- # **A suitable default value is auto-generated.** You should normally
192
- # not need to pass this option.
191
+ # @!attribute [rw] name
192
+ # The rule groups namespace name.
193
193
  # @return [String]
194
194
  #
195
195
  # @!attribute [rw] data
196
196
  # The namespace data that define the rule groups.
197
197
  # @return [String]
198
198
  #
199
- # @!attribute [rw] name
200
- # The rule groups namespace name.
199
+ # @!attribute [rw] client_token
200
+ # Optional, unique, case-sensitive, user-provided identifier to ensure
201
+ # the idempotency of the request.
202
+ #
203
+ # **A suitable default value is auto-generated.** You should normally
204
+ # not need to pass this option.
201
205
  # @return [String]
202
206
  #
203
207
  # @!attribute [rw] tags
204
208
  # Optional, user-provided tags for this rule groups namespace.
205
209
  # @return [Hash<String,String>]
206
210
  #
207
- # @!attribute [rw] workspace_id
208
- # The ID of the workspace in which to create the rule group namespace.
209
- # @return [String]
210
- #
211
211
  # @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/CreateRuleGroupsNamespaceRequest AWS API Documentation
212
212
  #
213
213
  class CreateRuleGroupsNamespaceRequest < Struct.new(
214
- :client_token,
215
- :data,
214
+ :workspace_id,
216
215
  :name,
217
- :tags,
218
- :workspace_id)
216
+ :data,
217
+ :client_token,
218
+ :tags)
219
219
  SENSITIVE = []
220
220
  include Aws::Structure
221
221
  end
222
222
 
223
223
  # Represents the output of a CreateRuleGroupsNamespace operation.
224
224
  #
225
- # @!attribute [rw] arn
226
- # The Amazon Resource Name (ARN) of this rule groups namespace.
227
- # @return [String]
228
- #
229
225
  # @!attribute [rw] name
230
226
  # The rule groups namespace name.
231
227
  # @return [String]
232
228
  #
229
+ # @!attribute [rw] arn
230
+ # The Amazon Resource Name (ARN) of this rule groups namespace.
231
+ # @return [String]
232
+ #
233
233
  # @!attribute [rw] status
234
234
  # The status of rule groups namespace.
235
235
  # @return [Types::RuleGroupsNamespaceStatus]
@@ -241,8 +241,8 @@ module Aws::PrometheusService
241
241
  # @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/CreateRuleGroupsNamespaceResponse AWS API Documentation
242
242
  #
243
243
  class CreateRuleGroupsNamespaceResponse < Struct.new(
244
- :arn,
245
244
  :name,
245
+ :arn,
246
246
  :status,
247
247
  :tags)
248
248
  SENSITIVE = []
@@ -280,6 +280,10 @@ module Aws::PrometheusService
280
280
 
281
281
  # Represents the output of a CreateWorkspace operation.
282
282
  #
283
+ # @!attribute [rw] workspace_id
284
+ # The generated ID of the workspace that was just created.
285
+ # @return [String]
286
+ #
283
287
  # @!attribute [rw] arn
284
288
  # The ARN of the workspace that was just created.
285
289
  # @return [String]
@@ -293,23 +297,24 @@ module Aws::PrometheusService
293
297
  # The tags of this workspace.
294
298
  # @return [Hash<String,String>]
295
299
  #
296
- # @!attribute [rw] workspace_id
297
- # The generated ID of the workspace that was just created.
298
- # @return [String]
299
- #
300
300
  # @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/CreateWorkspaceResponse AWS API Documentation
301
301
  #
302
302
  class CreateWorkspaceResponse < Struct.new(
303
+ :workspace_id,
303
304
  :arn,
304
305
  :status,
305
- :tags,
306
- :workspace_id)
306
+ :tags)
307
307
  SENSITIVE = []
308
308
  include Aws::Structure
309
309
  end
310
310
 
311
311
  # Represents the input of a DeleteAlertManagerDefinition operation.
312
312
  #
313
+ # @!attribute [rw] workspace_id
314
+ # The ID of the workspace in which to delete the alert manager
315
+ # definition.
316
+ # @return [String]
317
+ #
313
318
  # @!attribute [rw] client_token
314
319
  # Optional, unique, case-sensitive, user-provided identifier to ensure
315
320
  # the idempotency of the request.
@@ -318,22 +323,21 @@ module Aws::PrometheusService
318
323
  # not need to pass this option.
319
324
  # @return [String]
320
325
  #
321
- # @!attribute [rw] workspace_id
322
- # The ID of the workspace in which to delete the alert manager
323
- # definition.
324
- # @return [String]
325
- #
326
326
  # @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DeleteAlertManagerDefinitionRequest AWS API Documentation
327
327
  #
328
328
  class DeleteAlertManagerDefinitionRequest < Struct.new(
329
- :client_token,
330
- :workspace_id)
329
+ :workspace_id,
330
+ :client_token)
331
331
  SENSITIVE = []
332
332
  include Aws::Structure
333
333
  end
334
334
 
335
335
  # Represents the input of a DeleteLoggingConfiguration operation.
336
336
  #
337
+ # @!attribute [rw] workspace_id
338
+ # The ID of the workspace to vend logs to.
339
+ # @return [String]
340
+ #
337
341
  # @!attribute [rw] client_token
338
342
  # Optional, unique, case-sensitive, user-provided identifier to ensure
339
343
  # the idempotency of the request.
@@ -342,49 +346,49 @@ module Aws::PrometheusService
342
346
  # not need to pass this option.
343
347
  # @return [String]
344
348
  #
345
- # @!attribute [rw] workspace_id
346
- # The ID of the workspace to vend logs to.
347
- # @return [String]
348
- #
349
349
  # @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DeleteLoggingConfigurationRequest AWS API Documentation
350
350
  #
351
351
  class DeleteLoggingConfigurationRequest < Struct.new(
352
- :client_token,
353
- :workspace_id)
352
+ :workspace_id,
353
+ :client_token)
354
354
  SENSITIVE = []
355
355
  include Aws::Structure
356
356
  end
357
357
 
358
358
  # Represents the input of a DeleteRuleGroupsNamespace operation.
359
359
  #
360
- # @!attribute [rw] client_token
361
- # Optional, unique, case-sensitive, user-provided identifier to ensure
362
- # the idempotency of the request.
363
- #
364
- # **A suitable default value is auto-generated.** You should normally
365
- # not need to pass this option.
360
+ # @!attribute [rw] workspace_id
361
+ # The ID of the workspace to delete rule group definition.
366
362
  # @return [String]
367
363
  #
368
364
  # @!attribute [rw] name
369
365
  # The rule groups namespace name.
370
366
  # @return [String]
371
367
  #
372
- # @!attribute [rw] workspace_id
373
- # The ID of the workspace to delete rule group definition.
368
+ # @!attribute [rw] client_token
369
+ # Optional, unique, case-sensitive, user-provided identifier to ensure
370
+ # the idempotency of the request.
371
+ #
372
+ # **A suitable default value is auto-generated.** You should normally
373
+ # not need to pass this option.
374
374
  # @return [String]
375
375
  #
376
376
  # @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DeleteRuleGroupsNamespaceRequest AWS API Documentation
377
377
  #
378
378
  class DeleteRuleGroupsNamespaceRequest < Struct.new(
379
- :client_token,
379
+ :workspace_id,
380
380
  :name,
381
- :workspace_id)
381
+ :client_token)
382
382
  SENSITIVE = []
383
383
  include Aws::Structure
384
384
  end
385
385
 
386
386
  # Represents the input of a DeleteWorkspace operation.
387
387
  #
388
+ # @!attribute [rw] workspace_id
389
+ # The ID of the workspace to delete.
390
+ # @return [String]
391
+ #
388
392
  # @!attribute [rw] client_token
389
393
  # Optional, unique, case-sensitive, user-provided identifier to ensure
390
394
  # the idempotency of the request.
@@ -393,15 +397,11 @@ module Aws::PrometheusService
393
397
  # not need to pass this option.
394
398
  # @return [String]
395
399
  #
396
- # @!attribute [rw] workspace_id
397
- # The ID of the workspace to delete.
398
- # @return [String]
399
- #
400
400
  # @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DeleteWorkspaceRequest AWS API Documentation
401
401
  #
402
402
  class DeleteWorkspaceRequest < Struct.new(
403
- :client_token,
404
- :workspace_id)
403
+ :workspace_id,
404
+ :client_token)
405
405
  SENSITIVE = []
406
406
  include Aws::Structure
407
407
  end
@@ -466,19 +466,19 @@ module Aws::PrometheusService
466
466
 
467
467
  # Represents the input of a DescribeRuleGroupsNamespace operation.
468
468
  #
469
- # @!attribute [rw] name
470
- # The rule groups namespace.
471
- # @return [String]
472
- #
473
469
  # @!attribute [rw] workspace_id
474
470
  # The ID of the workspace to describe.
475
471
  # @return [String]
476
472
  #
473
+ # @!attribute [rw] name
474
+ # The rule groups namespace.
475
+ # @return [String]
476
+ #
477
477
  # @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DescribeRuleGroupsNamespaceRequest AWS API Documentation
478
478
  #
479
479
  class DescribeRuleGroupsNamespaceRequest < Struct.new(
480
- :name,
481
- :workspace_id)
480
+ :workspace_id,
481
+ :name)
482
482
  SENSITIVE = []
483
483
  include Aws::Structure
484
484
  end
@@ -546,9 +546,9 @@ module Aws::PrometheusService
546
546
 
547
547
  # Represents the input of a ListRuleGroupsNamespaces operation.
548
548
  #
549
- # @!attribute [rw] max_results
550
- # Maximum results to return in response (default=100, maximum=1000).
551
- # @return [Integer]
549
+ # @!attribute [rw] workspace_id
550
+ # The ID of the workspace.
551
+ # @return [String]
552
552
  #
553
553
  # @!attribute [rw] name
554
554
  # Optional filter for rule groups namespace name. Only the rule groups
@@ -561,36 +561,36 @@ module Aws::PrometheusService
561
561
  # ListRuleGroupsNamespaces request.
562
562
  # @return [String]
563
563
  #
564
- # @!attribute [rw] workspace_id
565
- # The ID of the workspace.
566
- # @return [String]
564
+ # @!attribute [rw] max_results
565
+ # Maximum results to return in response (default=100, maximum=1000).
566
+ # @return [Integer]
567
567
  #
568
568
  # @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/ListRuleGroupsNamespacesRequest AWS API Documentation
569
569
  #
570
570
  class ListRuleGroupsNamespacesRequest < Struct.new(
571
- :max_results,
571
+ :workspace_id,
572
572
  :name,
573
573
  :next_token,
574
- :workspace_id)
574
+ :max_results)
575
575
  SENSITIVE = []
576
576
  include Aws::Structure
577
577
  end
578
578
 
579
579
  # Represents the output of a ListRuleGroupsNamespaces operation.
580
580
  #
581
- # @!attribute [rw] next_token
582
- # Pagination token to use when requesting the next page in this list.
583
- # @return [String]
584
- #
585
581
  # @!attribute [rw] rule_groups_namespaces
586
582
  # The list of the selected rule groups namespaces.
587
583
  # @return [Array<Types::RuleGroupsNamespaceSummary>]
588
584
  #
585
+ # @!attribute [rw] next_token
586
+ # Pagination token to use when requesting the next page in this list.
587
+ # @return [String]
588
+ #
589
589
  # @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/ListRuleGroupsNamespacesResponse AWS API Documentation
590
590
  #
591
591
  class ListRuleGroupsNamespacesResponse < Struct.new(
592
- :next_token,
593
- :rule_groups_namespaces)
592
+ :rule_groups_namespaces,
593
+ :next_token)
594
594
  SENSITIVE = []
595
595
  include Aws::Structure
596
596
  end
@@ -621,6 +621,12 @@ module Aws::PrometheusService
621
621
 
622
622
  # Represents the input of a ListWorkspaces operation.
623
623
  #
624
+ # @!attribute [rw] next_token
625
+ # Pagination token to request the next page in a paginated list. This
626
+ # token is obtained from the output of the previous ListWorkspaces
627
+ # request.
628
+ # @return [String]
629
+ #
624
630
  # @!attribute [rw] alias
625
631
  # Optional filter for workspace alias. Only the workspaces with
626
632
  # aliases that begin with this value will be returned.
@@ -630,73 +636,67 @@ module Aws::PrometheusService
630
636
  # Maximum results to return in response (default=100, maximum=1000).
631
637
  # @return [Integer]
632
638
  #
633
- # @!attribute [rw] next_token
634
- # Pagination token to request the next page in a paginated list. This
635
- # token is obtained from the output of the previous ListWorkspaces
636
- # request.
637
- # @return [String]
638
- #
639
639
  # @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/ListWorkspacesRequest AWS API Documentation
640
640
  #
641
641
  class ListWorkspacesRequest < Struct.new(
642
+ :next_token,
642
643
  :alias,
643
- :max_results,
644
- :next_token)
644
+ :max_results)
645
645
  SENSITIVE = []
646
646
  include Aws::Structure
647
647
  end
648
648
 
649
649
  # Represents the output of a ListWorkspaces operation.
650
650
  #
651
- # @!attribute [rw] next_token
652
- # Pagination token to use when requesting the next page in this list.
653
- # @return [String]
654
- #
655
651
  # @!attribute [rw] workspaces
656
652
  # The list of existing workspaces, including those undergoing creation
657
653
  # or deletion.
658
654
  # @return [Array<Types::WorkspaceSummary>]
659
655
  #
656
+ # @!attribute [rw] next_token
657
+ # Pagination token to use when requesting the next page in this list.
658
+ # @return [String]
659
+ #
660
660
  # @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/ListWorkspacesResponse AWS API Documentation
661
661
  #
662
662
  class ListWorkspacesResponse < Struct.new(
663
- :next_token,
664
- :workspaces)
663
+ :workspaces,
664
+ :next_token)
665
665
  SENSITIVE = []
666
666
  include Aws::Structure
667
667
  end
668
668
 
669
669
  # Represents the properties of a logging configuration metadata.
670
670
  #
671
- # @!attribute [rw] created_at
672
- # The time when the logging configuration was created.
673
- # @return [Time]
671
+ # @!attribute [rw] status
672
+ # The status of the logging configuration.
673
+ # @return [Types::LoggingConfigurationStatus]
674
+ #
675
+ # @!attribute [rw] workspace
676
+ # The workspace where the logging configuration exists.
677
+ # @return [String]
674
678
  #
675
679
  # @!attribute [rw] log_group_arn
676
680
  # The ARN of the CW log group to which the vended log data will be
677
681
  # published.
678
682
  # @return [String]
679
683
  #
684
+ # @!attribute [rw] created_at
685
+ # The time when the logging configuration was created.
686
+ # @return [Time]
687
+ #
680
688
  # @!attribute [rw] modified_at
681
689
  # The time when the logging configuration was modified.
682
690
  # @return [Time]
683
691
  #
684
- # @!attribute [rw] status
685
- # The status of the logging configuration.
686
- # @return [Types::LoggingConfigurationStatus]
687
- #
688
- # @!attribute [rw] workspace
689
- # The workspace where the logging configuration exists.
690
- # @return [String]
691
- #
692
692
  # @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/LoggingConfigurationMetadata AWS API Documentation
693
693
  #
694
694
  class LoggingConfigurationMetadata < Struct.new(
695
- :created_at,
696
- :log_group_arn,
697
- :modified_at,
698
695
  :status,
699
- :workspace)
696
+ :workspace,
697
+ :log_group_arn,
698
+ :created_at,
699
+ :modified_at)
700
700
  SENSITIVE = []
701
701
  include Aws::Structure
702
702
  end
@@ -722,29 +722,29 @@ module Aws::PrometheusService
722
722
 
723
723
  # Represents the input of a PutAlertManagerDefinition operation.
724
724
  #
725
- # @!attribute [rw] client_token
726
- # Optional, unique, case-sensitive, user-provided identifier to ensure
727
- # the idempotency of the request.
728
- #
729
- # **A suitable default value is auto-generated.** You should normally
730
- # not need to pass this option.
725
+ # @!attribute [rw] workspace_id
726
+ # The ID of the workspace in which to update the alert manager
727
+ # definition.
731
728
  # @return [String]
732
729
  #
733
730
  # @!attribute [rw] data
734
731
  # The alert manager definition data.
735
732
  # @return [String]
736
733
  #
737
- # @!attribute [rw] workspace_id
738
- # The ID of the workspace in which to update the alert manager
739
- # definition.
734
+ # @!attribute [rw] client_token
735
+ # Optional, unique, case-sensitive, user-provided identifier to ensure
736
+ # the idempotency of the request.
737
+ #
738
+ # **A suitable default value is auto-generated.** You should normally
739
+ # not need to pass this option.
740
740
  # @return [String]
741
741
  #
742
742
  # @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/PutAlertManagerDefinitionRequest AWS API Documentation
743
743
  #
744
744
  class PutAlertManagerDefinitionRequest < Struct.new(
745
- :client_token,
745
+ :workspace_id,
746
746
  :data,
747
- :workspace_id)
747
+ :client_token)
748
748
  SENSITIVE = []
749
749
  include Aws::Structure
750
750
  end
@@ -765,47 +765,47 @@ module Aws::PrometheusService
765
765
 
766
766
  # Represents the input of a PutRuleGroupsNamespace operation.
767
767
  #
768
- # @!attribute [rw] client_token
769
- # Optional, unique, case-sensitive, user-provided identifier to ensure
770
- # the idempotency of the request.
768
+ # @!attribute [rw] workspace_id
769
+ # The ID of the workspace in which to update the rule group namespace.
770
+ # @return [String]
771
771
  #
772
- # **A suitable default value is auto-generated.** You should normally
773
- # not need to pass this option.
772
+ # @!attribute [rw] name
773
+ # The rule groups namespace name.
774
774
  # @return [String]
775
775
  #
776
776
  # @!attribute [rw] data
777
777
  # The namespace data that define the rule groups.
778
778
  # @return [String]
779
779
  #
780
- # @!attribute [rw] name
781
- # The rule groups namespace name.
782
- # @return [String]
780
+ # @!attribute [rw] client_token
781
+ # Optional, unique, case-sensitive, user-provided identifier to ensure
782
+ # the idempotency of the request.
783
783
  #
784
- # @!attribute [rw] workspace_id
785
- # The ID of the workspace in which to update the rule group namespace.
784
+ # **A suitable default value is auto-generated.** You should normally
785
+ # not need to pass this option.
786
786
  # @return [String]
787
787
  #
788
788
  # @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/PutRuleGroupsNamespaceRequest AWS API Documentation
789
789
  #
790
790
  class PutRuleGroupsNamespaceRequest < Struct.new(
791
- :client_token,
792
- :data,
791
+ :workspace_id,
793
792
  :name,
794
- :workspace_id)
793
+ :data,
794
+ :client_token)
795
795
  SENSITIVE = []
796
796
  include Aws::Structure
797
797
  end
798
798
 
799
799
  # Represents the output of a PutRuleGroupsNamespace operation.
800
800
  #
801
- # @!attribute [rw] arn
802
- # The Amazon Resource Name (ARN) of this rule groups namespace.
803
- # @return [String]
804
- #
805
801
  # @!attribute [rw] name
806
802
  # The rule groups namespace name.
807
803
  # @return [String]
808
804
  #
805
+ # @!attribute [rw] arn
806
+ # The Amazon Resource Name (ARN) of this rule groups namespace.
807
+ # @return [String]
808
+ #
809
809
  # @!attribute [rw] status
810
810
  # The status of rule groups namespace.
811
811
  # @return [Types::RuleGroupsNamespaceStatus]
@@ -817,8 +817,8 @@ module Aws::PrometheusService
817
817
  # @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/PutRuleGroupsNamespaceResponse AWS API Documentation
818
818
  #
819
819
  class PutRuleGroupsNamespaceResponse < Struct.new(
820
- :arn,
821
820
  :name,
821
+ :arn,
822
822
  :status,
823
823
  :tags)
824
824
  SENSITIVE = []
@@ -855,26 +855,26 @@ module Aws::PrometheusService
855
855
  # The Amazon Resource Name (ARN) of this rule groups namespace.
856
856
  # @return [String]
857
857
  #
858
- # @!attribute [rw] created_at
859
- # The time when the rule groups namespace was created.
860
- # @return [Time]
858
+ # @!attribute [rw] name
859
+ # The rule groups namespace name.
860
+ # @return [String]
861
+ #
862
+ # @!attribute [rw] status
863
+ # The status of rule groups namespace.
864
+ # @return [Types::RuleGroupsNamespaceStatus]
861
865
  #
862
866
  # @!attribute [rw] data
863
867
  # The rule groups namespace data.
864
868
  # @return [String]
865
869
  #
870
+ # @!attribute [rw] created_at
871
+ # The time when the rule groups namespace was created.
872
+ # @return [Time]
873
+ #
866
874
  # @!attribute [rw] modified_at
867
875
  # The time when the rule groups namespace was modified.
868
876
  # @return [Time]
869
877
  #
870
- # @!attribute [rw] name
871
- # The rule groups namespace name.
872
- # @return [String]
873
- #
874
- # @!attribute [rw] status
875
- # The status of rule groups namespace.
876
- # @return [Types::RuleGroupsNamespaceStatus]
877
- #
878
878
  # @!attribute [rw] tags
879
879
  # The tags of this rule groups namespace.
880
880
  # @return [Hash<String,String>]
@@ -883,11 +883,11 @@ module Aws::PrometheusService
883
883
  #
884
884
  class RuleGroupsNamespaceDescription < Struct.new(
885
885
  :arn,
886
- :created_at,
887
- :data,
888
- :modified_at,
889
886
  :name,
890
887
  :status,
888
+ :data,
889
+ :created_at,
890
+ :modified_at,
891
891
  :tags)
892
892
  SENSITIVE = []
893
893
  include Aws::Structure
@@ -918,14 +918,6 @@ module Aws::PrometheusService
918
918
  # The Amazon Resource Name (ARN) of this rule groups namespace.
919
919
  # @return [String]
920
920
  #
921
- # @!attribute [rw] created_at
922
- # The time when the rule groups namespace was created.
923
- # @return [Time]
924
- #
925
- # @!attribute [rw] modified_at
926
- # The time when the rule groups namespace was modified.
927
- # @return [Time]
928
- #
929
921
  # @!attribute [rw] name
930
922
  # The rule groups namespace name.
931
923
  # @return [String]
@@ -934,6 +926,14 @@ module Aws::PrometheusService
934
926
  # The status of rule groups namespace.
935
927
  # @return [Types::RuleGroupsNamespaceStatus]
936
928
  #
929
+ # @!attribute [rw] created_at
930
+ # The time when the rule groups namespace was created.
931
+ # @return [Time]
932
+ #
933
+ # @!attribute [rw] modified_at
934
+ # The time when the rule groups namespace was modified.
935
+ # @return [Time]
936
+ #
937
937
  # @!attribute [rw] tags
938
938
  # The tags of this rule groups namespace.
939
939
  # @return [Hash<String,String>]
@@ -942,10 +942,10 @@ module Aws::PrometheusService
942
942
  #
943
943
  class RuleGroupsNamespaceSummary < Struct.new(
944
944
  :arn,
945
- :created_at,
946
- :modified_at,
947
945
  :name,
948
946
  :status,
947
+ :created_at,
948
+ :modified_at,
949
949
  :tags)
950
950
  SENSITIVE = []
951
951
  include Aws::Structure
@@ -957,10 +957,6 @@ module Aws::PrometheusService
957
957
  # Description of the error.
958
958
  # @return [String]
959
959
  #
960
- # @!attribute [rw] quota_code
961
- # Service Quotas requirement to identify originating quota.
962
- # @return [String]
963
- #
964
960
  # @!attribute [rw] resource_id
965
961
  # Identifier of the resource affected.
966
962
  # @return [String]
@@ -973,14 +969,18 @@ module Aws::PrometheusService
973
969
  # Service Quotas requirement to identify originating service.
974
970
  # @return [String]
975
971
  #
972
+ # @!attribute [rw] quota_code
973
+ # Service Quotas requirement to identify originating quota.
974
+ # @return [String]
975
+ #
976
976
  # @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/ServiceQuotaExceededException AWS API Documentation
977
977
  #
978
978
  class ServiceQuotaExceededException < Struct.new(
979
979
  :message,
980
- :quota_code,
981
980
  :resource_id,
982
981
  :resource_type,
983
- :service_code)
982
+ :service_code,
983
+ :quota_code)
984
984
  SENSITIVE = []
985
985
  include Aws::Structure
986
986
  end
@@ -1012,6 +1012,10 @@ module Aws::PrometheusService
1012
1012
  # Description of the error.
1013
1013
  # @return [String]
1014
1014
  #
1015
+ # @!attribute [rw] service_code
1016
+ # Service Quotas requirement to identify originating service.
1017
+ # @return [String]
1018
+ #
1015
1019
  # @!attribute [rw] quota_code
1016
1020
  # Service Quotas requirement to identify originating quota.
1017
1021
  # @return [String]
@@ -1020,17 +1024,13 @@ module Aws::PrometheusService
1020
1024
  # Advice to clients on when the call can be safely retried.
1021
1025
  # @return [Integer]
1022
1026
  #
1023
- # @!attribute [rw] service_code
1024
- # Service Quotas requirement to identify originating service.
1025
- # @return [String]
1026
- #
1027
1027
  # @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/ThrottlingException AWS API Documentation
1028
1028
  #
1029
1029
  class ThrottlingException < Struct.new(
1030
1030
  :message,
1031
+ :service_code,
1031
1032
  :quota_code,
1032
- :retry_after_seconds,
1033
- :service_code)
1033
+ :retry_after_seconds)
1034
1034
  SENSITIVE = []
1035
1035
  include Aws::Structure
1036
1036
  end
@@ -1058,12 +1058,8 @@ module Aws::PrometheusService
1058
1058
 
1059
1059
  # Represents the input of an UpdateLoggingConfiguration operation.
1060
1060
  #
1061
- # @!attribute [rw] client_token
1062
- # Optional, unique, case-sensitive, user-provided identifier to ensure
1063
- # the idempotency of the request.
1064
- #
1065
- # **A suitable default value is auto-generated.** You should normally
1066
- # not need to pass this option.
1061
+ # @!attribute [rw] workspace_id
1062
+ # The ID of the workspace to vend logs to.
1067
1063
  # @return [String]
1068
1064
  #
1069
1065
  # @!attribute [rw] log_group_arn
@@ -1071,16 +1067,20 @@ module Aws::PrometheusService
1071
1067
  # published.
1072
1068
  # @return [String]
1073
1069
  #
1074
- # @!attribute [rw] workspace_id
1075
- # The ID of the workspace to vend logs to.
1070
+ # @!attribute [rw] client_token
1071
+ # Optional, unique, case-sensitive, user-provided identifier to ensure
1072
+ # the idempotency of the request.
1073
+ #
1074
+ # **A suitable default value is auto-generated.** You should normally
1075
+ # not need to pass this option.
1076
1076
  # @return [String]
1077
1077
  #
1078
1078
  # @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/UpdateLoggingConfigurationRequest AWS API Documentation
1079
1079
  #
1080
1080
  class UpdateLoggingConfigurationRequest < Struct.new(
1081
- :client_token,
1081
+ :workspace_id,
1082
1082
  :log_group_arn,
1083
- :workspace_id)
1083
+ :client_token)
1084
1084
  SENSITIVE = []
1085
1085
  include Aws::Structure
1086
1086
  end
@@ -1101,6 +1101,10 @@ module Aws::PrometheusService
1101
1101
 
1102
1102
  # Represents the input of an UpdateWorkspaceAlias operation.
1103
1103
  #
1104
+ # @!attribute [rw] workspace_id
1105
+ # The ID of the workspace being updated.
1106
+ # @return [String]
1107
+ #
1104
1108
  # @!attribute [rw] alias
1105
1109
  # The new alias of the workspace.
1106
1110
  # @return [String]
@@ -1113,16 +1117,12 @@ module Aws::PrometheusService
1113
1117
  # not need to pass this option.
1114
1118
  # @return [String]
1115
1119
  #
1116
- # @!attribute [rw] workspace_id
1117
- # The ID of the workspace being updated.
1118
- # @return [String]
1119
- #
1120
1120
  # @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/UpdateWorkspaceAliasRequest AWS API Documentation
1121
1121
  #
1122
1122
  class UpdateWorkspaceAliasRequest < Struct.new(
1123
+ :workspace_id,
1123
1124
  :alias,
1124
- :client_token,
1125
- :workspace_id)
1125
+ :client_token)
1126
1126
  SENSITIVE = []
1127
1127
  include Aws::Structure
1128
1128
  end
@@ -1130,11 +1130,6 @@ module Aws::PrometheusService
1130
1130
  # The input fails to satisfy the constraints specified by an AWS
1131
1131
  # service.
1132
1132
  #
1133
- # @!attribute [rw] field_list
1134
- # The field that caused the error, if applicable. If more than one
1135
- # field caused the error, pick one and elaborate in the message.
1136
- # @return [Array<Types::ValidationExceptionField>]
1137
- #
1138
1133
  # @!attribute [rw] message
1139
1134
  # Description of the error.
1140
1135
  # @return [String]
@@ -1143,12 +1138,17 @@ module Aws::PrometheusService
1143
1138
  # Reason the request failed validation.
1144
1139
  # @return [String]
1145
1140
  #
1141
+ # @!attribute [rw] field_list
1142
+ # The field that caused the error, if applicable. If more than one
1143
+ # field caused the error, pick one and elaborate in the message.
1144
+ # @return [Array<Types::ValidationExceptionField>]
1145
+ #
1146
1146
  # @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/ValidationException AWS API Documentation
1147
1147
  #
1148
1148
  class ValidationException < Struct.new(
1149
- :field_list,
1150
1149
  :message,
1151
- :reason)
1150
+ :reason,
1151
+ :field_list)
1152
1152
  SENSITIVE = []
1153
1153
  include Aws::Structure
1154
1154
  end
@@ -1156,25 +1156,29 @@ module Aws::PrometheusService
1156
1156
  # Stores information about a field passed inside a request that resulted
1157
1157
  # in an exception.
1158
1158
  #
1159
- # @!attribute [rw] message
1160
- # Message describing why the field failed validation.
1161
- # @return [String]
1162
- #
1163
1159
  # @!attribute [rw] name
1164
1160
  # The field name.
1165
1161
  # @return [String]
1166
1162
  #
1163
+ # @!attribute [rw] message
1164
+ # Message describing why the field failed validation.
1165
+ # @return [String]
1166
+ #
1167
1167
  # @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/ValidationExceptionField AWS API Documentation
1168
1168
  #
1169
1169
  class ValidationExceptionField < Struct.new(
1170
- :message,
1171
- :name)
1170
+ :name,
1171
+ :message)
1172
1172
  SENSITIVE = []
1173
1173
  include Aws::Structure
1174
1174
  end
1175
1175
 
1176
1176
  # Represents the properties of a workspace.
1177
1177
  #
1178
+ # @!attribute [rw] workspace_id
1179
+ # Unique string identifying this workspace.
1180
+ # @return [String]
1181
+ #
1178
1182
  # @!attribute [rw] alias
1179
1183
  # Alias of this workspace.
1180
1184
  # @return [String]
@@ -1183,36 +1187,32 @@ module Aws::PrometheusService
1183
1187
  # The Amazon Resource Name (ARN) of this workspace.
1184
1188
  # @return [String]
1185
1189
  #
1186
- # @!attribute [rw] created_at
1187
- # The time when the workspace was created.
1188
- # @return [Time]
1190
+ # @!attribute [rw] status
1191
+ # The status of this workspace.
1192
+ # @return [Types::WorkspaceStatus]
1189
1193
  #
1190
1194
  # @!attribute [rw] prometheus_endpoint
1191
1195
  # Prometheus endpoint URI.
1192
1196
  # @return [String]
1193
1197
  #
1194
- # @!attribute [rw] status
1195
- # The status of this workspace.
1196
- # @return [Types::WorkspaceStatus]
1198
+ # @!attribute [rw] created_at
1199
+ # The time when the workspace was created.
1200
+ # @return [Time]
1197
1201
  #
1198
1202
  # @!attribute [rw] tags
1199
1203
  # The tags of this workspace.
1200
1204
  # @return [Hash<String,String>]
1201
1205
  #
1202
- # @!attribute [rw] workspace_id
1203
- # Unique string identifying this workspace.
1204
- # @return [String]
1205
- #
1206
1206
  # @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/WorkspaceDescription AWS API Documentation
1207
1207
  #
1208
1208
  class WorkspaceDescription < Struct.new(
1209
+ :workspace_id,
1209
1210
  :alias,
1210
1211
  :arn,
1211
- :created_at,
1212
- :prometheus_endpoint,
1213
1212
  :status,
1214
- :tags,
1215
- :workspace_id)
1213
+ :prometheus_endpoint,
1214
+ :created_at,
1215
+ :tags)
1216
1216
  SENSITIVE = []
1217
1217
  include Aws::Structure
1218
1218
  end
@@ -1233,6 +1233,10 @@ module Aws::PrometheusService
1233
1233
 
1234
1234
  # Represents a summary of the properties of a workspace.
1235
1235
  #
1236
+ # @!attribute [rw] workspace_id
1237
+ # Unique string identifying this workspace.
1238
+ # @return [String]
1239
+ #
1236
1240
  # @!attribute [rw] alias
1237
1241
  # Alias of this workspace.
1238
1242
  # @return [String]
@@ -1241,31 +1245,27 @@ module Aws::PrometheusService
1241
1245
  # The AmazonResourceName of this workspace.
1242
1246
  # @return [String]
1243
1247
  #
1244
- # @!attribute [rw] created_at
1245
- # The time when the workspace was created.
1246
- # @return [Time]
1247
- #
1248
1248
  # @!attribute [rw] status
1249
1249
  # The status of this workspace.
1250
1250
  # @return [Types::WorkspaceStatus]
1251
1251
  #
1252
+ # @!attribute [rw] created_at
1253
+ # The time when the workspace was created.
1254
+ # @return [Time]
1255
+ #
1252
1256
  # @!attribute [rw] tags
1253
1257
  # The tags of this workspace.
1254
1258
  # @return [Hash<String,String>]
1255
1259
  #
1256
- # @!attribute [rw] workspace_id
1257
- # Unique string identifying this workspace.
1258
- # @return [String]
1259
- #
1260
1260
  # @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/WorkspaceSummary AWS API Documentation
1261
1261
  #
1262
1262
  class WorkspaceSummary < Struct.new(
1263
+ :workspace_id,
1263
1264
  :alias,
1264
1265
  :arn,
1265
- :created_at,
1266
1266
  :status,
1267
- :tags,
1268
- :workspace_id)
1267
+ :created_at,
1268
+ :tags)
1269
1269
  SENSITIVE = []
1270
1270
  include Aws::Structure
1271
1271
  end