aws-sdk-devopsguru 1.39.0 → 1.41.0

Sign up to get free protection for your applications and to get access to all the features.
data/sig/client.rbs ADDED
@@ -0,0 +1,616 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module DevOpsGuru
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DevOpsGuru/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?stub_responses: untyped,
52
+ ?token_provider: untyped,
53
+ ?use_dualstack_endpoint: bool,
54
+ ?use_fips_endpoint: bool,
55
+ ?validate_params: bool,
56
+ ?endpoint_provider: untyped,
57
+ ?http_proxy: String,
58
+ ?http_open_timeout: (Float | Integer),
59
+ ?http_read_timeout: (Float | Integer),
60
+ ?http_idle_timeout: (Float | Integer),
61
+ ?http_continue_timeout: (Float | Integer),
62
+ ?ssl_timeout: (Float | Integer | nil),
63
+ ?http_wire_trace: bool,
64
+ ?ssl_verify_peer: bool,
65
+ ?ssl_ca_bundle: String,
66
+ ?ssl_ca_directory: String,
67
+ ?ssl_ca_store: String,
68
+ ?on_chunk_received: Proc,
69
+ ?on_chunk_sent: Proc,
70
+ ?raise_response_errors: bool
71
+ ) -> instance
72
+ | (?Hash[Symbol, untyped]) -> instance
73
+
74
+
75
+ interface _AddNotificationChannelResponseSuccess
76
+ include ::Seahorse::Client::_ResponseSuccess[Types::AddNotificationChannelResponse]
77
+ def id: () -> ::String
78
+ end
79
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DevOpsGuru/Client.html#add_notification_channel-instance_method
80
+ def add_notification_channel: (
81
+ config: {
82
+ sns: {
83
+ topic_arn: ::String?
84
+ },
85
+ filters: {
86
+ severities: Array[("LOW" | "MEDIUM" | "HIGH")]?,
87
+ message_types: Array[("NEW_INSIGHT" | "CLOSED_INSIGHT" | "NEW_ASSOCIATION" | "SEVERITY_UPGRADED" | "NEW_RECOMMENDATION")]?
88
+ }?
89
+ }
90
+ ) -> _AddNotificationChannelResponseSuccess
91
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AddNotificationChannelResponseSuccess
92
+
93
+ interface _DeleteInsightResponseSuccess
94
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteInsightResponse]
95
+ end
96
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DevOpsGuru/Client.html#delete_insight-instance_method
97
+ def delete_insight: (
98
+ id: ::String
99
+ ) -> _DeleteInsightResponseSuccess
100
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteInsightResponseSuccess
101
+
102
+ interface _DescribeAccountHealthResponseSuccess
103
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeAccountHealthResponse]
104
+ def open_reactive_insights: () -> ::Integer
105
+ def open_proactive_insights: () -> ::Integer
106
+ def metrics_analyzed: () -> ::Integer
107
+ def resource_hours: () -> ::Integer
108
+ def analyzed_resource_count: () -> ::Integer
109
+ end
110
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DevOpsGuru/Client.html#describe_account_health-instance_method
111
+ def describe_account_health: (
112
+ ) -> _DescribeAccountHealthResponseSuccess
113
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeAccountHealthResponseSuccess
114
+
115
+ interface _DescribeAccountOverviewResponseSuccess
116
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeAccountOverviewResponse]
117
+ def reactive_insights: () -> ::Integer
118
+ def proactive_insights: () -> ::Integer
119
+ def mean_time_to_recover_in_milliseconds: () -> ::Integer
120
+ end
121
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DevOpsGuru/Client.html#describe_account_overview-instance_method
122
+ def describe_account_overview: (
123
+ from_time: ::Time,
124
+ ?to_time: ::Time
125
+ ) -> _DescribeAccountOverviewResponseSuccess
126
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeAccountOverviewResponseSuccess
127
+
128
+ interface _DescribeAnomalyResponseSuccess
129
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeAnomalyResponse]
130
+ def proactive_anomaly: () -> Types::ProactiveAnomaly
131
+ def reactive_anomaly: () -> Types::ReactiveAnomaly
132
+ end
133
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DevOpsGuru/Client.html#describe_anomaly-instance_method
134
+ def describe_anomaly: (
135
+ id: ::String,
136
+ ?account_id: ::String
137
+ ) -> _DescribeAnomalyResponseSuccess
138
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeAnomalyResponseSuccess
139
+
140
+ interface _DescribeEventSourcesConfigResponseSuccess
141
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeEventSourcesConfigResponse]
142
+ def event_sources: () -> Types::EventSourcesConfig
143
+ end
144
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DevOpsGuru/Client.html#describe_event_sources_config-instance_method
145
+ def describe_event_sources_config: (
146
+ ) -> _DescribeEventSourcesConfigResponseSuccess
147
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeEventSourcesConfigResponseSuccess
148
+
149
+ interface _DescribeFeedbackResponseSuccess
150
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeFeedbackResponse]
151
+ def insight_feedback: () -> Types::InsightFeedback
152
+ end
153
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DevOpsGuru/Client.html#describe_feedback-instance_method
154
+ def describe_feedback: (
155
+ ?insight_id: ::String
156
+ ) -> _DescribeFeedbackResponseSuccess
157
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeFeedbackResponseSuccess
158
+
159
+ interface _DescribeInsightResponseSuccess
160
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeInsightResponse]
161
+ def proactive_insight: () -> Types::ProactiveInsight
162
+ def reactive_insight: () -> Types::ReactiveInsight
163
+ end
164
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DevOpsGuru/Client.html#describe_insight-instance_method
165
+ def describe_insight: (
166
+ id: ::String,
167
+ ?account_id: ::String
168
+ ) -> _DescribeInsightResponseSuccess
169
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeInsightResponseSuccess
170
+
171
+ interface _DescribeOrganizationHealthResponseSuccess
172
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeOrganizationHealthResponse]
173
+ def open_reactive_insights: () -> ::Integer
174
+ def open_proactive_insights: () -> ::Integer
175
+ def metrics_analyzed: () -> ::Integer
176
+ def resource_hours: () -> ::Integer
177
+ end
178
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DevOpsGuru/Client.html#describe_organization_health-instance_method
179
+ def describe_organization_health: (
180
+ ?account_ids: Array[::String],
181
+ ?organizational_unit_ids: Array[::String]
182
+ ) -> _DescribeOrganizationHealthResponseSuccess
183
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeOrganizationHealthResponseSuccess
184
+
185
+ interface _DescribeOrganizationOverviewResponseSuccess
186
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeOrganizationOverviewResponse]
187
+ def reactive_insights: () -> ::Integer
188
+ def proactive_insights: () -> ::Integer
189
+ end
190
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DevOpsGuru/Client.html#describe_organization_overview-instance_method
191
+ def describe_organization_overview: (
192
+ from_time: ::Time,
193
+ ?to_time: ::Time,
194
+ ?account_ids: Array[::String],
195
+ ?organizational_unit_ids: Array[::String]
196
+ ) -> _DescribeOrganizationOverviewResponseSuccess
197
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeOrganizationOverviewResponseSuccess
198
+
199
+ interface _DescribeOrganizationResourceCollectionHealthResponseSuccess
200
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeOrganizationResourceCollectionHealthResponse]
201
+ def cloud_formation: () -> ::Array[Types::CloudFormationHealth]
202
+ def service: () -> ::Array[Types::ServiceHealth]
203
+ def account: () -> ::Array[Types::AccountHealth]
204
+ def next_token: () -> ::String
205
+ def tags: () -> ::Array[Types::TagHealth]
206
+ end
207
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DevOpsGuru/Client.html#describe_organization_resource_collection_health-instance_method
208
+ def describe_organization_resource_collection_health: (
209
+ organization_resource_collection_type: ("AWS_CLOUD_FORMATION" | "AWS_SERVICE" | "AWS_ACCOUNT" | "AWS_TAGS"),
210
+ ?account_ids: Array[::String],
211
+ ?organizational_unit_ids: Array[::String],
212
+ ?next_token: ::String,
213
+ ?max_results: ::Integer
214
+ ) -> _DescribeOrganizationResourceCollectionHealthResponseSuccess
215
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeOrganizationResourceCollectionHealthResponseSuccess
216
+
217
+ interface _DescribeResourceCollectionHealthResponseSuccess
218
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeResourceCollectionHealthResponse]
219
+ def cloud_formation: () -> ::Array[Types::CloudFormationHealth]
220
+ def service: () -> ::Array[Types::ServiceHealth]
221
+ def next_token: () -> ::String
222
+ def tags: () -> ::Array[Types::TagHealth]
223
+ end
224
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DevOpsGuru/Client.html#describe_resource_collection_health-instance_method
225
+ def describe_resource_collection_health: (
226
+ resource_collection_type: ("AWS_CLOUD_FORMATION" | "AWS_SERVICE" | "AWS_TAGS"),
227
+ ?next_token: ::String
228
+ ) -> _DescribeResourceCollectionHealthResponseSuccess
229
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeResourceCollectionHealthResponseSuccess
230
+
231
+ interface _DescribeServiceIntegrationResponseSuccess
232
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeServiceIntegrationResponse]
233
+ def service_integration: () -> Types::ServiceIntegrationConfig
234
+ end
235
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DevOpsGuru/Client.html#describe_service_integration-instance_method
236
+ def describe_service_integration: (
237
+ ) -> _DescribeServiceIntegrationResponseSuccess
238
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeServiceIntegrationResponseSuccess
239
+
240
+ interface _GetCostEstimationResponseSuccess
241
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetCostEstimationResponse]
242
+ def resource_collection: () -> Types::CostEstimationResourceCollectionFilter
243
+ def status: () -> ("ONGOING" | "COMPLETED")
244
+ def costs: () -> ::Array[Types::ServiceResourceCost]
245
+ def time_range: () -> Types::CostEstimationTimeRange
246
+ def total_cost: () -> ::Float
247
+ def next_token: () -> ::String
248
+ end
249
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DevOpsGuru/Client.html#get_cost_estimation-instance_method
250
+ def get_cost_estimation: (
251
+ ?next_token: ::String
252
+ ) -> _GetCostEstimationResponseSuccess
253
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCostEstimationResponseSuccess
254
+
255
+ interface _GetResourceCollectionResponseSuccess
256
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetResourceCollectionResponse]
257
+ def resource_collection: () -> Types::ResourceCollectionFilter
258
+ def next_token: () -> ::String
259
+ end
260
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DevOpsGuru/Client.html#get_resource_collection-instance_method
261
+ def get_resource_collection: (
262
+ resource_collection_type: ("AWS_CLOUD_FORMATION" | "AWS_SERVICE" | "AWS_TAGS"),
263
+ ?next_token: ::String
264
+ ) -> _GetResourceCollectionResponseSuccess
265
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetResourceCollectionResponseSuccess
266
+
267
+ interface _ListAnomaliesForInsightResponseSuccess
268
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAnomaliesForInsightResponse]
269
+ def proactive_anomalies: () -> ::Array[Types::ProactiveAnomalySummary]
270
+ def reactive_anomalies: () -> ::Array[Types::ReactiveAnomalySummary]
271
+ def next_token: () -> ::String
272
+ end
273
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DevOpsGuru/Client.html#list_anomalies_for_insight-instance_method
274
+ def list_anomalies_for_insight: (
275
+ insight_id: ::String,
276
+ ?start_time_range: {
277
+ from_time: ::Time?,
278
+ to_time: ::Time?
279
+ },
280
+ ?max_results: ::Integer,
281
+ ?next_token: ::String,
282
+ ?account_id: ::String,
283
+ ?filters: {
284
+ service_collection: {
285
+ service_names: Array[("API_GATEWAY" | "APPLICATION_ELB" | "AUTO_SCALING_GROUP" | "CLOUD_FRONT" | "DYNAMO_DB" | "EC2" | "ECS" | "EKS" | "ELASTIC_BEANSTALK" | "ELASTI_CACHE" | "ELB" | "ES" | "KINESIS" | "LAMBDA" | "NAT_GATEWAY" | "NETWORK_ELB" | "RDS" | "REDSHIFT" | "ROUTE_53" | "S3" | "SAGE_MAKER" | "SNS" | "SQS" | "STEP_FUNCTIONS" | "SWF")]?
286
+ }?
287
+ }
288
+ ) -> _ListAnomaliesForInsightResponseSuccess
289
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAnomaliesForInsightResponseSuccess
290
+
291
+ interface _ListAnomalousLogGroupsResponseSuccess
292
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAnomalousLogGroupsResponse]
293
+ def insight_id: () -> ::String
294
+ def anomalous_log_groups: () -> ::Array[Types::AnomalousLogGroup]
295
+ def next_token: () -> ::String
296
+ end
297
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DevOpsGuru/Client.html#list_anomalous_log_groups-instance_method
298
+ def list_anomalous_log_groups: (
299
+ insight_id: ::String,
300
+ ?max_results: ::Integer,
301
+ ?next_token: ::String
302
+ ) -> _ListAnomalousLogGroupsResponseSuccess
303
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAnomalousLogGroupsResponseSuccess
304
+
305
+ interface _ListEventsResponseSuccess
306
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListEventsResponse]
307
+ def events: () -> ::Array[Types::Event]
308
+ def next_token: () -> ::String
309
+ end
310
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DevOpsGuru/Client.html#list_events-instance_method
311
+ def list_events: (
312
+ filters: {
313
+ insight_id: ::String?,
314
+ event_time_range: {
315
+ from_time: ::Time,
316
+ to_time: ::Time
317
+ }?,
318
+ event_class: ("INFRASTRUCTURE" | "DEPLOYMENT" | "SECURITY_CHANGE" | "CONFIG_CHANGE" | "SCHEMA_CHANGE")?,
319
+ event_source: ::String?,
320
+ data_source: ("AWS_CLOUD_TRAIL" | "AWS_CODE_DEPLOY")?,
321
+ resource_collection: {
322
+ cloud_formation: {
323
+ stack_names: Array[::String]?
324
+ }?,
325
+ tags: Array[
326
+ {
327
+ app_boundary_key: ::String,
328
+ tag_values: Array[::String]
329
+ },
330
+ ]?
331
+ }?
332
+ },
333
+ ?max_results: ::Integer,
334
+ ?next_token: ::String,
335
+ ?account_id: ::String
336
+ ) -> _ListEventsResponseSuccess
337
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListEventsResponseSuccess
338
+
339
+ interface _ListInsightsResponseSuccess
340
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListInsightsResponse]
341
+ def proactive_insights: () -> ::Array[Types::ProactiveInsightSummary]
342
+ def reactive_insights: () -> ::Array[Types::ReactiveInsightSummary]
343
+ def next_token: () -> ::String
344
+ end
345
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DevOpsGuru/Client.html#list_insights-instance_method
346
+ def list_insights: (
347
+ status_filter: {
348
+ ongoing: {
349
+ type: ("REACTIVE" | "PROACTIVE")
350
+ }?,
351
+ closed: {
352
+ type: ("REACTIVE" | "PROACTIVE"),
353
+ end_time_range: {
354
+ from_time: ::Time?,
355
+ to_time: ::Time?
356
+ }
357
+ }?,
358
+ any: {
359
+ type: ("REACTIVE" | "PROACTIVE"),
360
+ start_time_range: {
361
+ from_time: ::Time?,
362
+ to_time: ::Time?
363
+ }
364
+ }?
365
+ },
366
+ ?max_results: ::Integer,
367
+ ?next_token: ::String
368
+ ) -> _ListInsightsResponseSuccess
369
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListInsightsResponseSuccess
370
+
371
+ interface _ListMonitoredResourcesResponseSuccess
372
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListMonitoredResourcesResponse]
373
+ def monitored_resource_identifiers: () -> ::Array[Types::MonitoredResourceIdentifier]
374
+ def next_token: () -> ::String
375
+ end
376
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DevOpsGuru/Client.html#list_monitored_resources-instance_method
377
+ def list_monitored_resources: (
378
+ ?filters: {
379
+ resource_permission: ("FULL_PERMISSION" | "MISSING_PERMISSION"),
380
+ resource_type_filters: Array[("LOG_GROUPS" | "CLOUDFRONT_DISTRIBUTION" | "DYNAMODB_TABLE" | "EC2_NAT_GATEWAY" | "ECS_CLUSTER" | "ECS_SERVICE" | "EKS_CLUSTER" | "ELASTIC_BEANSTALK_ENVIRONMENT" | "ELASTIC_LOAD_BALANCER_LOAD_BALANCER" | "ELASTIC_LOAD_BALANCING_V2_LOAD_BALANCER" | "ELASTIC_LOAD_BALANCING_V2_TARGET_GROUP" | "ELASTICACHE_CACHE_CLUSTER" | "ELASTICSEARCH_DOMAIN" | "KINESIS_STREAM" | "LAMBDA_FUNCTION" | "OPEN_SEARCH_SERVICE_DOMAIN" | "RDS_DB_INSTANCE" | "RDS_DB_CLUSTER" | "REDSHIFT_CLUSTER" | "ROUTE53_HOSTED_ZONE" | "ROUTE53_HEALTH_CHECK" | "S3_BUCKET" | "SAGEMAKER_ENDPOINT" | "SNS_TOPIC" | "SQS_QUEUE" | "STEP_FUNCTIONS_ACTIVITY" | "STEP_FUNCTIONS_STATE_MACHINE")]
381
+ },
382
+ ?max_results: ::Integer,
383
+ ?next_token: ::String
384
+ ) -> _ListMonitoredResourcesResponseSuccess
385
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListMonitoredResourcesResponseSuccess
386
+
387
+ interface _ListNotificationChannelsResponseSuccess
388
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListNotificationChannelsResponse]
389
+ def channels: () -> ::Array[Types::NotificationChannel]
390
+ def next_token: () -> ::String
391
+ end
392
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DevOpsGuru/Client.html#list_notification_channels-instance_method
393
+ def list_notification_channels: (
394
+ ?next_token: ::String
395
+ ) -> _ListNotificationChannelsResponseSuccess
396
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListNotificationChannelsResponseSuccess
397
+
398
+ interface _ListOrganizationInsightsResponseSuccess
399
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListOrganizationInsightsResponse]
400
+ def proactive_insights: () -> ::Array[Types::ProactiveOrganizationInsightSummary]
401
+ def reactive_insights: () -> ::Array[Types::ReactiveOrganizationInsightSummary]
402
+ def next_token: () -> ::String
403
+ end
404
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DevOpsGuru/Client.html#list_organization_insights-instance_method
405
+ def list_organization_insights: (
406
+ status_filter: {
407
+ ongoing: {
408
+ type: ("REACTIVE" | "PROACTIVE")
409
+ }?,
410
+ closed: {
411
+ type: ("REACTIVE" | "PROACTIVE"),
412
+ end_time_range: {
413
+ from_time: ::Time?,
414
+ to_time: ::Time?
415
+ }
416
+ }?,
417
+ any: {
418
+ type: ("REACTIVE" | "PROACTIVE"),
419
+ start_time_range: {
420
+ from_time: ::Time?,
421
+ to_time: ::Time?
422
+ }
423
+ }?
424
+ },
425
+ ?max_results: ::Integer,
426
+ ?account_ids: Array[::String],
427
+ ?organizational_unit_ids: Array[::String],
428
+ ?next_token: ::String
429
+ ) -> _ListOrganizationInsightsResponseSuccess
430
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListOrganizationInsightsResponseSuccess
431
+
432
+ interface _ListRecommendationsResponseSuccess
433
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListRecommendationsResponse]
434
+ def recommendations: () -> ::Array[Types::Recommendation]
435
+ def next_token: () -> ::String
436
+ end
437
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DevOpsGuru/Client.html#list_recommendations-instance_method
438
+ def list_recommendations: (
439
+ insight_id: ::String,
440
+ ?next_token: ::String,
441
+ ?locale: ("DE_DE" | "EN_US" | "EN_GB" | "ES_ES" | "FR_FR" | "IT_IT" | "JA_JP" | "KO_KR" | "PT_BR" | "ZH_CN" | "ZH_TW"),
442
+ ?account_id: ::String
443
+ ) -> _ListRecommendationsResponseSuccess
444
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRecommendationsResponseSuccess
445
+
446
+ interface _PutFeedbackResponseSuccess
447
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutFeedbackResponse]
448
+ end
449
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DevOpsGuru/Client.html#put_feedback-instance_method
450
+ def put_feedback: (
451
+ ?insight_feedback: {
452
+ id: ::String?,
453
+ feedback: ("VALID_COLLECTION" | "RECOMMENDATION_USEFUL" | "ALERT_TOO_SENSITIVE" | "DATA_NOISY_ANOMALY" | "DATA_INCORRECT")?
454
+ }
455
+ ) -> _PutFeedbackResponseSuccess
456
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutFeedbackResponseSuccess
457
+
458
+ interface _RemoveNotificationChannelResponseSuccess
459
+ include ::Seahorse::Client::_ResponseSuccess[Types::RemoveNotificationChannelResponse]
460
+ end
461
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DevOpsGuru/Client.html#remove_notification_channel-instance_method
462
+ def remove_notification_channel: (
463
+ id: ::String
464
+ ) -> _RemoveNotificationChannelResponseSuccess
465
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RemoveNotificationChannelResponseSuccess
466
+
467
+ interface _SearchInsightsResponseSuccess
468
+ include ::Seahorse::Client::_ResponseSuccess[Types::SearchInsightsResponse]
469
+ def proactive_insights: () -> ::Array[Types::ProactiveInsightSummary]
470
+ def reactive_insights: () -> ::Array[Types::ReactiveInsightSummary]
471
+ def next_token: () -> ::String
472
+ end
473
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DevOpsGuru/Client.html#search_insights-instance_method
474
+ def search_insights: (
475
+ start_time_range: {
476
+ from_time: ::Time?,
477
+ to_time: ::Time?
478
+ },
479
+ ?filters: {
480
+ severities: Array[("LOW" | "MEDIUM" | "HIGH")]?,
481
+ statuses: Array[("ONGOING" | "CLOSED")]?,
482
+ resource_collection: {
483
+ cloud_formation: {
484
+ stack_names: Array[::String]?
485
+ }?,
486
+ tags: Array[
487
+ {
488
+ app_boundary_key: ::String,
489
+ tag_values: Array[::String]
490
+ },
491
+ ]?
492
+ }?,
493
+ service_collection: {
494
+ service_names: Array[("API_GATEWAY" | "APPLICATION_ELB" | "AUTO_SCALING_GROUP" | "CLOUD_FRONT" | "DYNAMO_DB" | "EC2" | "ECS" | "EKS" | "ELASTIC_BEANSTALK" | "ELASTI_CACHE" | "ELB" | "ES" | "KINESIS" | "LAMBDA" | "NAT_GATEWAY" | "NETWORK_ELB" | "RDS" | "REDSHIFT" | "ROUTE_53" | "S3" | "SAGE_MAKER" | "SNS" | "SQS" | "STEP_FUNCTIONS" | "SWF")]?
495
+ }?
496
+ },
497
+ ?max_results: ::Integer,
498
+ ?next_token: ::String,
499
+ type: ("REACTIVE" | "PROACTIVE")
500
+ ) -> _SearchInsightsResponseSuccess
501
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SearchInsightsResponseSuccess
502
+
503
+ interface _SearchOrganizationInsightsResponseSuccess
504
+ include ::Seahorse::Client::_ResponseSuccess[Types::SearchOrganizationInsightsResponse]
505
+ def proactive_insights: () -> ::Array[Types::ProactiveInsightSummary]
506
+ def reactive_insights: () -> ::Array[Types::ReactiveInsightSummary]
507
+ def next_token: () -> ::String
508
+ end
509
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DevOpsGuru/Client.html#search_organization_insights-instance_method
510
+ def search_organization_insights: (
511
+ account_ids: Array[::String],
512
+ start_time_range: {
513
+ from_time: ::Time?,
514
+ to_time: ::Time?
515
+ },
516
+ ?filters: {
517
+ severities: Array[("LOW" | "MEDIUM" | "HIGH")]?,
518
+ statuses: Array[("ONGOING" | "CLOSED")]?,
519
+ resource_collection: {
520
+ cloud_formation: {
521
+ stack_names: Array[::String]?
522
+ }?,
523
+ tags: Array[
524
+ {
525
+ app_boundary_key: ::String,
526
+ tag_values: Array[::String]
527
+ },
528
+ ]?
529
+ }?,
530
+ service_collection: {
531
+ service_names: Array[("API_GATEWAY" | "APPLICATION_ELB" | "AUTO_SCALING_GROUP" | "CLOUD_FRONT" | "DYNAMO_DB" | "EC2" | "ECS" | "EKS" | "ELASTIC_BEANSTALK" | "ELASTI_CACHE" | "ELB" | "ES" | "KINESIS" | "LAMBDA" | "NAT_GATEWAY" | "NETWORK_ELB" | "RDS" | "REDSHIFT" | "ROUTE_53" | "S3" | "SAGE_MAKER" | "SNS" | "SQS" | "STEP_FUNCTIONS" | "SWF")]?
532
+ }?
533
+ },
534
+ ?max_results: ::Integer,
535
+ ?next_token: ::String,
536
+ type: ("REACTIVE" | "PROACTIVE")
537
+ ) -> _SearchOrganizationInsightsResponseSuccess
538
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SearchOrganizationInsightsResponseSuccess
539
+
540
+ interface _StartCostEstimationResponseSuccess
541
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartCostEstimationResponse]
542
+ end
543
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DevOpsGuru/Client.html#start_cost_estimation-instance_method
544
+ def start_cost_estimation: (
545
+ resource_collection: {
546
+ cloud_formation: {
547
+ stack_names: Array[::String]?
548
+ }?,
549
+ tags: Array[
550
+ {
551
+ app_boundary_key: ::String,
552
+ tag_values: Array[::String]
553
+ },
554
+ ]?
555
+ },
556
+ ?client_token: ::String
557
+ ) -> _StartCostEstimationResponseSuccess
558
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartCostEstimationResponseSuccess
559
+
560
+ interface _UpdateEventSourcesConfigResponseSuccess
561
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateEventSourcesConfigResponse]
562
+ end
563
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DevOpsGuru/Client.html#update_event_sources_config-instance_method
564
+ def update_event_sources_config: (
565
+ ?event_sources: {
566
+ amazon_code_guru_profiler: {
567
+ status: ("ENABLED" | "DISABLED")?
568
+ }?
569
+ }
570
+ ) -> _UpdateEventSourcesConfigResponseSuccess
571
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateEventSourcesConfigResponseSuccess
572
+
573
+ interface _UpdateResourceCollectionResponseSuccess
574
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateResourceCollectionResponse]
575
+ end
576
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DevOpsGuru/Client.html#update_resource_collection-instance_method
577
+ def update_resource_collection: (
578
+ action: ("ADD" | "REMOVE"),
579
+ resource_collection: {
580
+ cloud_formation: {
581
+ stack_names: Array[::String]?
582
+ }?,
583
+ tags: Array[
584
+ {
585
+ app_boundary_key: ::String,
586
+ tag_values: Array[::String]
587
+ },
588
+ ]?
589
+ }
590
+ ) -> _UpdateResourceCollectionResponseSuccess
591
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateResourceCollectionResponseSuccess
592
+
593
+ interface _UpdateServiceIntegrationResponseSuccess
594
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateServiceIntegrationResponse]
595
+ end
596
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DevOpsGuru/Client.html#update_service_integration-instance_method
597
+ def update_service_integration: (
598
+ service_integration: {
599
+ ops_center: {
600
+ opt_in_status: ("ENABLED" | "DISABLED")?
601
+ }?,
602
+ logs_anomaly_detection: {
603
+ opt_in_status: ("ENABLED" | "DISABLED")?
604
+ }?,
605
+ kms_server_side_encryption: {
606
+ kms_key_id: ::String?,
607
+ opt_in_status: ("ENABLED" | "DISABLED")?,
608
+ type: ("CUSTOMER_MANAGED_KEY" | "AWS_OWNED_KMS_KEY")?
609
+ }?
610
+ }
611
+ ) -> _UpdateServiceIntegrationResponseSuccess
612
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateServiceIntegrationResponseSuccess
613
+ end
614
+ end
615
+ end
616
+