aws-sdk-prometheusservice 1.62.0 → 1.64.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.
@@ -67,15 +67,112 @@ module Aws::PrometheusService
67
67
  # The following table lists the valid waiter names, the operations they call,
68
68
  # and the default `:delay` and `:max_attempts` values.
69
69
  #
70
- # | waiter_name | params | :delay | :max_attempts |
71
- # | ----------------- | --------------------------- | -------- | ------------- |
72
- # | scraper_active | {Client#describe_scraper} | 2 | 60 |
73
- # | scraper_deleted | {Client#describe_scraper} | 2 | 60 |
74
- # | workspace_active | {Client#describe_workspace} | 2 | 60 |
75
- # | workspace_deleted | {Client#describe_workspace} | 2 | 60 |
70
+ # | waiter_name | params | :delay | :max_attempts |
71
+ # | ------------------------ | ---------------------------------- | -------- | ------------- |
72
+ # | anomaly_detector_active | {Client#describe_anomaly_detector} | 2 | 60 |
73
+ # | anomaly_detector_deleted | {Client#describe_anomaly_detector} | 2 | 60 |
74
+ # | scraper_active | {Client#describe_scraper} | 2 | 60 |
75
+ # | scraper_deleted | {Client#describe_scraper} | 2 | 60 |
76
+ # | workspace_active | {Client#describe_workspace} | 2 | 60 |
77
+ # | workspace_deleted | {Client#describe_workspace} | 2 | 60 |
76
78
  #
77
79
  module Waiters
78
80
 
81
+ # Wait until the anomaly detector reaches ACTIVE status
82
+ class AnomalyDetectorActive
83
+
84
+ # @param [Hash] options
85
+ # @option options [required, Client] :client
86
+ # @option options [Integer] :max_attempts (60)
87
+ # @option options [Integer] :delay (2)
88
+ # @option options [Proc] :before_attempt
89
+ # @option options [Proc] :before_wait
90
+ def initialize(options)
91
+ @client = options.fetch(:client)
92
+ @waiter = Aws::Waiters::Waiter.new({
93
+ max_attempts: 60,
94
+ delay: 2,
95
+ poller: Aws::Waiters::Poller.new(
96
+ operation_name: :describe_anomaly_detector,
97
+ acceptors: [
98
+ {
99
+ "matcher" => "path",
100
+ "argument" => "anomaly_detector.status.status_code",
101
+ "state" => "success",
102
+ "expected" => "ACTIVE"
103
+ },
104
+ {
105
+ "matcher" => "path",
106
+ "argument" => "anomaly_detector.status.status_code",
107
+ "state" => "retry",
108
+ "expected" => "CREATING"
109
+ },
110
+ {
111
+ "matcher" => "path",
112
+ "argument" => "anomaly_detector.status.status_code",
113
+ "state" => "retry",
114
+ "expected" => "UPDATING"
115
+ }
116
+ ]
117
+ )
118
+ }.merge(options))
119
+ end
120
+
121
+ # @option (see Client#describe_anomaly_detector)
122
+ # @return (see Client#describe_anomaly_detector)
123
+ def wait(params = {})
124
+ @waiter.wait(client: @client, params: params)
125
+ end
126
+
127
+ # @api private
128
+ attr_reader :waiter
129
+
130
+ end
131
+
132
+ # Wait until the anomaly detector reaches DELETED status
133
+ class AnomalyDetectorDeleted
134
+
135
+ # @param [Hash] options
136
+ # @option options [required, Client] :client
137
+ # @option options [Integer] :max_attempts (60)
138
+ # @option options [Integer] :delay (2)
139
+ # @option options [Proc] :before_attempt
140
+ # @option options [Proc] :before_wait
141
+ def initialize(options)
142
+ @client = options.fetch(:client)
143
+ @waiter = Aws::Waiters::Waiter.new({
144
+ max_attempts: 60,
145
+ delay: 2,
146
+ poller: Aws::Waiters::Poller.new(
147
+ operation_name: :describe_anomaly_detector,
148
+ acceptors: [
149
+ {
150
+ "matcher" => "error",
151
+ "state" => "success",
152
+ "expected" => "ResourceNotFoundException"
153
+ },
154
+ {
155
+ "matcher" => "path",
156
+ "argument" => "anomaly_detector.status.status_code",
157
+ "state" => "retry",
158
+ "expected" => "DELETING"
159
+ }
160
+ ]
161
+ )
162
+ }.merge(options))
163
+ end
164
+
165
+ # @option (see Client#describe_anomaly_detector)
166
+ # @return (see Client#describe_anomaly_detector)
167
+ def wait(params = {})
168
+ @waiter.wait(client: @client, params: params)
169
+ end
170
+
171
+ # @api private
172
+ attr_reader :waiter
173
+
174
+ end
175
+
79
176
  # Wait until a scraper reaches ACTIVE status
80
177
  class ScraperActive
81
178
 
@@ -55,7 +55,7 @@ module Aws::PrometheusService
55
55
  autoload :EndpointProvider, 'aws-sdk-prometheusservice/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-prometheusservice/endpoints'
57
57
 
58
- GEM_VERSION = '1.62.0'
58
+ GEM_VERSION = '1.64.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -90,6 +90,43 @@ module Aws
90
90
  ) -> _CreateAlertManagerDefinitionResponseSuccess
91
91
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAlertManagerDefinitionResponseSuccess
92
92
 
93
+ interface _CreateAnomalyDetectorResponseSuccess
94
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateAnomalyDetectorResponse]
95
+ def anomaly_detector_id: () -> ::String
96
+ def arn: () -> ::String
97
+ def status: () -> Types::AnomalyDetectorStatus
98
+ def tags: () -> ::Hash[::String, ::String]
99
+ end
100
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#create_anomaly_detector-instance_method
101
+ def create_anomaly_detector: (
102
+ workspace_id: ::String,
103
+ alias: ::String,
104
+ ?evaluation_interval_in_seconds: ::Integer,
105
+ ?missing_data_action: {
106
+ mark_as_anomaly: bool?,
107
+ skip: bool?
108
+ },
109
+ configuration: {
110
+ random_cut_forest: {
111
+ query: ::String,
112
+ shingle_size: ::Integer?,
113
+ sample_size: ::Integer?,
114
+ ignore_near_expected_from_above: {
115
+ amount: ::Float?,
116
+ ratio: ::Float?
117
+ }?,
118
+ ignore_near_expected_from_below: {
119
+ amount: ::Float?,
120
+ ratio: ::Float?
121
+ }?
122
+ }?
123
+ },
124
+ ?labels: Hash[::String, ::String],
125
+ ?client_token: ::String,
126
+ ?tags: Hash[::String, ::String]
127
+ ) -> _CreateAnomalyDetectorResponseSuccess
128
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAnomalyDetectorResponseSuccess
129
+
93
130
  interface _CreateLoggingConfigurationResponseSuccess
94
131
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateLoggingConfigurationResponse]
95
132
  def status: () -> Types::LoggingConfigurationStatus
@@ -158,6 +195,10 @@ module Aws
158
195
  cluster_arn: ::String,
159
196
  security_group_ids: Array[::String]?,
160
197
  subnet_ids: Array[::String]
198
+ }?,
199
+ vpc_configuration: {
200
+ security_group_ids: Array[::String],
201
+ subnet_ids: Array[::String]
161
202
  }?
162
203
  },
163
204
  destination: {
@@ -198,6 +239,14 @@ module Aws
198
239
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
199
240
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
200
241
 
242
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#delete_anomaly_detector-instance_method
243
+ def delete_anomaly_detector: (
244
+ workspace_id: ::String,
245
+ anomaly_detector_id: ::String,
246
+ ?client_token: ::String
247
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
248
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
249
+
201
250
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#delete_logging_configuration-instance_method
202
251
  def delete_logging_configuration: (
203
252
  workspace_id: ::String,
@@ -264,6 +313,17 @@ module Aws
264
313
  ) -> _DescribeAlertManagerDefinitionResponseSuccess
265
314
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeAlertManagerDefinitionResponseSuccess
266
315
 
316
+ interface _DescribeAnomalyDetectorResponseSuccess
317
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeAnomalyDetectorResponse]
318
+ def anomaly_detector: () -> Types::AnomalyDetectorDescription
319
+ end
320
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#describe_anomaly_detector-instance_method
321
+ def describe_anomaly_detector: (
322
+ workspace_id: ::String,
323
+ anomaly_detector_id: ::String
324
+ ) -> _DescribeAnomalyDetectorResponseSuccess
325
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeAnomalyDetectorResponseSuccess
326
+
267
327
  interface _DescribeLoggingConfigurationResponseSuccess
268
328
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeLoggingConfigurationResponse]
269
329
  def logging_configuration: () -> Types::LoggingConfigurationMetadata
@@ -360,6 +420,20 @@ module Aws
360
420
  ) -> _GetDefaultScraperConfigurationResponseSuccess
361
421
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDefaultScraperConfigurationResponseSuccess
362
422
 
423
+ interface _ListAnomalyDetectorsResponseSuccess
424
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAnomalyDetectorsResponse]
425
+ def anomaly_detectors: () -> ::Array[Types::AnomalyDetectorSummary]
426
+ def next_token: () -> ::String
427
+ end
428
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#list_anomaly_detectors-instance_method
429
+ def list_anomaly_detectors: (
430
+ workspace_id: ::String,
431
+ ?alias: ::String,
432
+ ?max_results: ::Integer,
433
+ ?next_token: ::String
434
+ ) -> _ListAnomalyDetectorsResponseSuccess
435
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAnomalyDetectorsResponseSuccess
436
+
363
437
  interface _ListRuleGroupsNamespacesResponseSuccess
364
438
  include ::Seahorse::Client::_ResponseSuccess[Types::ListRuleGroupsNamespacesResponse]
365
439
  def rule_groups_namespaces: () -> ::Array[Types::RuleGroupsNamespaceSummary]
@@ -422,6 +496,42 @@ module Aws
422
496
  ) -> _PutAlertManagerDefinitionResponseSuccess
423
497
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutAlertManagerDefinitionResponseSuccess
424
498
 
499
+ interface _PutAnomalyDetectorResponseSuccess
500
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutAnomalyDetectorResponse]
501
+ def anomaly_detector_id: () -> ::String
502
+ def arn: () -> ::String
503
+ def status: () -> Types::AnomalyDetectorStatus
504
+ def tags: () -> ::Hash[::String, ::String]
505
+ end
506
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#put_anomaly_detector-instance_method
507
+ def put_anomaly_detector: (
508
+ workspace_id: ::String,
509
+ anomaly_detector_id: ::String,
510
+ ?evaluation_interval_in_seconds: ::Integer,
511
+ ?missing_data_action: {
512
+ mark_as_anomaly: bool?,
513
+ skip: bool?
514
+ },
515
+ configuration: {
516
+ random_cut_forest: {
517
+ query: ::String,
518
+ shingle_size: ::Integer?,
519
+ sample_size: ::Integer?,
520
+ ignore_near_expected_from_above: {
521
+ amount: ::Float?,
522
+ ratio: ::Float?
523
+ }?,
524
+ ignore_near_expected_from_below: {
525
+ amount: ::Float?,
526
+ ratio: ::Float?
527
+ }?
528
+ }?
529
+ },
530
+ ?labels: Hash[::String, ::String],
531
+ ?client_token: ::String
532
+ ) -> _PutAnomalyDetectorResponseSuccess
533
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutAnomalyDetectorResponseSuccess
534
+
425
535
  interface _PutResourcePolicyResponseSuccess
426
536
  include ::Seahorse::Client::_ResponseSuccess[Types::PutResourcePolicyResponse]
427
537
  def policy_status: () -> ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING")
@@ -584,7 +694,17 @@ module Aws
584
694
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateWorkspaceConfigurationResponseSuccess
585
695
 
586
696
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrometheusService/Client.html#wait_until-instance_method
587
- def wait_until: (:scraper_active waiter_name,
697
+ def wait_until: (:anomaly_detector_active waiter_name,
698
+ workspace_id: ::String,
699
+ anomaly_detector_id: ::String
700
+ ) -> Client::_DescribeAnomalyDetectorResponseSuccess
701
+ | (:anomaly_detector_active waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeAnomalyDetectorResponseSuccess
702
+ | (:anomaly_detector_deleted waiter_name,
703
+ workspace_id: ::String,
704
+ anomaly_detector_id: ::String
705
+ ) -> Client::_DescribeAnomalyDetectorResponseSuccess
706
+ | (:anomaly_detector_deleted waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeAnomalyDetectorResponseSuccess
707
+ | (:scraper_active waiter_name,
588
708
  scraper_id: ::String
589
709
  ) -> Client::_DescribeScraperResponseSuccess
590
710
  | (:scraper_active waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeScraperResponseSuccess
data/sig/types.rbs CHANGED
@@ -32,6 +32,63 @@ module Aws::PrometheusService
32
32
  SENSITIVE: []
33
33
  end
34
34
 
35
+ class AnomalyDetectorConfiguration
36
+ attr_accessor random_cut_forest: Types::RandomCutForestConfiguration
37
+ attr_accessor unknown: untyped
38
+ SENSITIVE: []
39
+
40
+ class RandomCutForest < AnomalyDetectorConfiguration
41
+ end
42
+ class Unknown < AnomalyDetectorConfiguration
43
+ end
44
+ end
45
+
46
+ class AnomalyDetectorDescription
47
+ attr_accessor arn: ::String
48
+ attr_accessor anomaly_detector_id: ::String
49
+ attr_accessor alias: ::String
50
+ attr_accessor evaluation_interval_in_seconds: ::Integer
51
+ attr_accessor missing_data_action: Types::AnomalyDetectorMissingDataAction
52
+ attr_accessor configuration: Types::AnomalyDetectorConfiguration
53
+ attr_accessor labels: ::Hash[::String, ::String]
54
+ attr_accessor status: Types::AnomalyDetectorStatus
55
+ attr_accessor created_at: ::Time
56
+ attr_accessor modified_at: ::Time
57
+ attr_accessor tags: ::Hash[::String, ::String]
58
+ SENSITIVE: []
59
+ end
60
+
61
+ class AnomalyDetectorMissingDataAction
62
+ attr_accessor mark_as_anomaly: bool
63
+ attr_accessor skip: bool
64
+ attr_accessor unknown: untyped
65
+ SENSITIVE: []
66
+
67
+ class MarkAsAnomaly < AnomalyDetectorMissingDataAction
68
+ end
69
+ class Skip < AnomalyDetectorMissingDataAction
70
+ end
71
+ class Unknown < AnomalyDetectorMissingDataAction
72
+ end
73
+ end
74
+
75
+ class AnomalyDetectorStatus
76
+ attr_accessor status_code: ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "CREATION_FAILED" | "UPDATE_FAILED" | "DELETION_FAILED")
77
+ attr_accessor status_reason: ::String
78
+ SENSITIVE: []
79
+ end
80
+
81
+ class AnomalyDetectorSummary
82
+ attr_accessor arn: ::String
83
+ attr_accessor anomaly_detector_id: ::String
84
+ attr_accessor alias: ::String
85
+ attr_accessor status: Types::AnomalyDetectorStatus
86
+ attr_accessor created_at: ::Time
87
+ attr_accessor modified_at: ::Time
88
+ attr_accessor tags: ::Hash[::String, ::String]
89
+ SENSITIVE: []
90
+ end
91
+
35
92
  class CloudWatchLogDestination
36
93
  attr_accessor log_group_arn: ::String
37
94
  SENSITIVE: []
@@ -61,6 +118,26 @@ module Aws::PrometheusService
61
118
  SENSITIVE: []
62
119
  end
63
120
 
121
+ class CreateAnomalyDetectorRequest
122
+ attr_accessor workspace_id: ::String
123
+ attr_accessor alias: ::String
124
+ attr_accessor evaluation_interval_in_seconds: ::Integer
125
+ attr_accessor missing_data_action: Types::AnomalyDetectorMissingDataAction
126
+ attr_accessor configuration: Types::AnomalyDetectorConfiguration
127
+ attr_accessor labels: ::Hash[::String, ::String]
128
+ attr_accessor client_token: ::String
129
+ attr_accessor tags: ::Hash[::String, ::String]
130
+ SENSITIVE: []
131
+ end
132
+
133
+ class CreateAnomalyDetectorResponse
134
+ attr_accessor anomaly_detector_id: ::String
135
+ attr_accessor arn: ::String
136
+ attr_accessor status: Types::AnomalyDetectorStatus
137
+ attr_accessor tags: ::Hash[::String, ::String]
138
+ SENSITIVE: []
139
+ end
140
+
64
141
  class CreateLoggingConfigurationRequest
65
142
  attr_accessor workspace_id: ::String
66
143
  attr_accessor log_group_arn: ::String
@@ -144,6 +221,13 @@ module Aws::PrometheusService
144
221
  SENSITIVE: []
145
222
  end
146
223
 
224
+ class DeleteAnomalyDetectorRequest
225
+ attr_accessor workspace_id: ::String
226
+ attr_accessor anomaly_detector_id: ::String
227
+ attr_accessor client_token: ::String
228
+ SENSITIVE: []
229
+ end
230
+
147
231
  class DeleteLoggingConfigurationRequest
148
232
  attr_accessor workspace_id: ::String
149
233
  attr_accessor client_token: ::String
@@ -204,6 +288,17 @@ module Aws::PrometheusService
204
288
  SENSITIVE: []
205
289
  end
206
290
 
291
+ class DescribeAnomalyDetectorRequest
292
+ attr_accessor workspace_id: ::String
293
+ attr_accessor anomaly_detector_id: ::String
294
+ SENSITIVE: []
295
+ end
296
+
297
+ class DescribeAnomalyDetectorResponse
298
+ attr_accessor anomaly_detector: Types::AnomalyDetectorDescription
299
+ SENSITIVE: []
300
+ end
301
+
207
302
  class DescribeLoggingConfigurationRequest
208
303
  attr_accessor workspace_id: ::String
209
304
  SENSITIVE: []
@@ -317,6 +412,20 @@ module Aws::PrometheusService
317
412
  SENSITIVE: []
318
413
  end
319
414
 
415
+ class IgnoreNearExpected
416
+ attr_accessor amount: ::Float
417
+ attr_accessor ratio: ::Float
418
+ attr_accessor unknown: untyped
419
+ SENSITIVE: []
420
+
421
+ class Amount < IgnoreNearExpected
422
+ end
423
+ class Ratio < IgnoreNearExpected
424
+ end
425
+ class Unknown < IgnoreNearExpected
426
+ end
427
+ end
428
+
320
429
  class InternalServerException
321
430
  attr_accessor message: ::String
322
431
  attr_accessor retry_after_seconds: ::Integer
@@ -334,6 +443,20 @@ module Aws::PrometheusService
334
443
  SENSITIVE: []
335
444
  end
336
445
 
446
+ class ListAnomalyDetectorsRequest
447
+ attr_accessor workspace_id: ::String
448
+ attr_accessor alias: ::String
449
+ attr_accessor max_results: ::Integer
450
+ attr_accessor next_token: ::String
451
+ SENSITIVE: []
452
+ end
453
+
454
+ class ListAnomalyDetectorsResponse
455
+ attr_accessor anomaly_detectors: ::Array[Types::AnomalyDetectorSummary]
456
+ attr_accessor next_token: ::String
457
+ SENSITIVE: []
458
+ end
459
+
337
460
  class ListRuleGroupsNamespacesRequest
338
461
  attr_accessor workspace_id: ::String
339
462
  attr_accessor name: ::String
@@ -422,6 +545,25 @@ module Aws::PrometheusService
422
545
  SENSITIVE: []
423
546
  end
424
547
 
548
+ class PutAnomalyDetectorRequest
549
+ attr_accessor workspace_id: ::String
550
+ attr_accessor anomaly_detector_id: ::String
551
+ attr_accessor evaluation_interval_in_seconds: ::Integer
552
+ attr_accessor missing_data_action: Types::AnomalyDetectorMissingDataAction
553
+ attr_accessor configuration: Types::AnomalyDetectorConfiguration
554
+ attr_accessor labels: ::Hash[::String, ::String]
555
+ attr_accessor client_token: ::String
556
+ SENSITIVE: []
557
+ end
558
+
559
+ class PutAnomalyDetectorResponse
560
+ attr_accessor anomaly_detector_id: ::String
561
+ attr_accessor arn: ::String
562
+ attr_accessor status: Types::AnomalyDetectorStatus
563
+ attr_accessor tags: ::Hash[::String, ::String]
564
+ SENSITIVE: []
565
+ end
566
+
425
567
  class PutResourcePolicyRequest
426
568
  attr_accessor workspace_id: ::String
427
569
  attr_accessor policy_document: ::String
@@ -467,6 +609,15 @@ module Aws::PrometheusService
467
609
  SENSITIVE: []
468
610
  end
469
611
 
612
+ class RandomCutForestConfiguration
613
+ attr_accessor query: ::String
614
+ attr_accessor shingle_size: ::Integer
615
+ attr_accessor sample_size: ::Integer
616
+ attr_accessor ignore_near_expected_from_above: Types::IgnoreNearExpected
617
+ attr_accessor ignore_near_expected_from_below: Types::IgnoreNearExpected
618
+ SENSITIVE: []
619
+ end
620
+
470
621
  class ResourceNotFoundException
471
622
  attr_accessor message: ::String
472
623
  attr_accessor resource_id: ::String
@@ -590,11 +741,14 @@ module Aws::PrometheusService
590
741
 
591
742
  class Source
592
743
  attr_accessor eks_configuration: Types::EksConfiguration
744
+ attr_accessor vpc_configuration: Types::VpcConfiguration
593
745
  attr_accessor unknown: untyped
594
746
  SENSITIVE: []
595
747
 
596
748
  class EksConfiguration < Source
597
749
  end
750
+ class VpcConfiguration < Source
751
+ end
598
752
  class Unknown < Source
599
753
  end
600
754
  end
@@ -712,6 +866,12 @@ module Aws::PrometheusService
712
866
  SENSITIVE: []
713
867
  end
714
868
 
869
+ class VpcConfiguration
870
+ attr_accessor security_group_ids: ::Array[::String]
871
+ attr_accessor subnet_ids: ::Array[::String]
872
+ SENSITIVE: []
873
+ end
874
+
715
875
  class WorkspaceConfigurationDescription
716
876
  attr_accessor status: Types::WorkspaceConfigurationStatus
717
877
  attr_accessor limits_per_label_set: ::Array[Types::LimitsPerLabelSet]
data/sig/waiters.rbs CHANGED
@@ -9,6 +9,28 @@ module Aws
9
9
  module PrometheusService
10
10
  module Waiters
11
11
 
12
+ class AnomalyDetectorActive
13
+ def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void
14
+ | (?Hash[Symbol, untyped]) -> void
15
+
16
+ def wait: (
17
+ workspace_id: ::String,
18
+ anomaly_detector_id: ::String
19
+ ) -> Client::_DescribeAnomalyDetectorResponseSuccess
20
+ | (Hash[Symbol, untyped]) -> Client::_DescribeAnomalyDetectorResponseSuccess
21
+ end
22
+
23
+ class AnomalyDetectorDeleted
24
+ def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void
25
+ | (?Hash[Symbol, untyped]) -> void
26
+
27
+ def wait: (
28
+ workspace_id: ::String,
29
+ anomaly_detector_id: ::String
30
+ ) -> Client::_DescribeAnomalyDetectorResponseSuccess
31
+ | (Hash[Symbol, untyped]) -> Client::_DescribeAnomalyDetectorResponseSuccess
32
+ end
33
+
12
34
  class ScraperActive
13
35
  def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void
14
36
  | (?Hash[Symbol, untyped]) -> void
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-prometheusservice
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.62.0
4
+ version: 1.64.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services