aws-sdk-devopsguru 1.0.0 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +33 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-devopsguru.rb +2 -2
- data/lib/aws-sdk-devopsguru/client.rb +352 -154
- data/lib/aws-sdk-devopsguru/client_api.rb +355 -297
- data/lib/aws-sdk-devopsguru/errors.rb +16 -6
- data/lib/aws-sdk-devopsguru/resource.rb +1 -1
- data/lib/aws-sdk-devopsguru/types.rb +1031 -337
- metadata +8 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d33465b731f79de2f23b1233cc715ddef2fd6059f2f3908acdfa1b7ba74fd68e
|
4
|
+
data.tar.gz: 4a3bd46d8eb5b549612a3773b432a5163f899fbdf8a486d40cda1e893f688ca5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a8ce893963d239d0510ea1a66bb2ba72fe05d52521687d5961dd777285b4d23545e84e5b12f0ad73493d5f40e4796b3058c9dd61c739d2105d2eeb839ed091a0
|
7
|
+
data.tar.gz: 3e6d9529d8100afb9a7b2076057c038238f92fcf4a303d35161bb7229cce07f5358aa63b6ce4510fb08e20c1766bda5a35a09b8e86e259f82057eca0cfaf4e93
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,33 @@
|
|
1
|
+
Unreleased Changes
|
2
|
+
------------------
|
3
|
+
|
4
|
+
1.5.0 (2021-03-10)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.4.0 (2021-02-16)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Amazon DevOps Guru is GA ready. This API update added a describeFeedback Api allows users to view submitted insight feedback. The release date is 02/16/2021
|
13
|
+
|
14
|
+
1.3.0 (2021-02-02)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.2.0 (2021-01-07)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Add resourceHours field in GetAccountHealth API to show total number of resource hours AWS Dev Ops Guru has done work for in the last hour.
|
23
|
+
|
24
|
+
1.1.0 (2020-12-14)
|
25
|
+
------------------
|
26
|
+
|
27
|
+
* Feature - Documentation updates for DevOps Guru.
|
28
|
+
|
29
|
+
1.0.0 (2020-12-01)
|
30
|
+
------------------
|
31
|
+
|
32
|
+
* Feature - Initial release of `aws-sdk-devopsguru`.
|
33
|
+
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,202 @@
|
|
1
|
+
|
2
|
+
Apache License
|
3
|
+
Version 2.0, January 2004
|
4
|
+
http://www.apache.org/licenses/
|
5
|
+
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
7
|
+
|
8
|
+
1. Definitions.
|
9
|
+
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
12
|
+
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
14
|
+
the copyright owner that is granting the License.
|
15
|
+
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
17
|
+
other entities that control, are controlled by, or are under common
|
18
|
+
control with that entity. For the purposes of this definition,
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
20
|
+
direction or management of such entity, whether by contract or
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
23
|
+
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
25
|
+
exercising permissions granted by this License.
|
26
|
+
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
28
|
+
including but not limited to software source code, documentation
|
29
|
+
source, and configuration files.
|
30
|
+
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
32
|
+
transformation or translation of a Source form, including but
|
33
|
+
not limited to compiled object code, generated documentation,
|
34
|
+
and conversions to other media types.
|
35
|
+
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
37
|
+
Object form, made available under the License, as indicated by a
|
38
|
+
copyright notice that is included in or attached to the work
|
39
|
+
(an example is provided in the Appendix below).
|
40
|
+
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
47
|
+
the Work and Derivative Works thereof.
|
48
|
+
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
50
|
+
the original version of the Work and any modifications or additions
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
62
|
+
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
65
|
+
subsequently incorporated within the Work.
|
66
|
+
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
73
|
+
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
79
|
+
where such license applies only to those patent claims licensable
|
80
|
+
by such Contributor that are necessarily infringed by their
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
83
|
+
institute patent litigation against any entity (including a
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
86
|
+
or contributory patent infringement, then any patent licenses
|
87
|
+
granted to You under this License for that Work shall terminate
|
88
|
+
as of the date such litigation is filed.
|
89
|
+
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
92
|
+
modifications, and in Source or Object form, provided that You
|
93
|
+
meet the following conditions:
|
94
|
+
|
95
|
+
(a) You must give any other recipients of the Work or
|
96
|
+
Derivative Works a copy of this License; and
|
97
|
+
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
99
|
+
stating that You changed the files; and
|
100
|
+
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
103
|
+
attribution notices from the Source form of the Work,
|
104
|
+
excluding those notices that do not pertain to any part of
|
105
|
+
the Derivative Works; and
|
106
|
+
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
109
|
+
include a readable copy of the attribution notices contained
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
112
|
+
of the following places: within a NOTICE text file distributed
|
113
|
+
as part of the Derivative Works; within the Source form or
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
115
|
+
within a display generated by the Derivative Works, if and
|
116
|
+
wherever such third-party notices normally appear. The contents
|
117
|
+
of the NOTICE file are for informational purposes only and
|
118
|
+
do not modify the License. You may add Your own attribution
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
121
|
+
that such additional attribution notices cannot be construed
|
122
|
+
as modifying the License.
|
123
|
+
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
125
|
+
may provide additional or different license terms and conditions
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
129
|
+
the conditions stated in this License.
|
130
|
+
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
134
|
+
this License, without any additional terms or conditions.
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
136
|
+
the terms of any separate license agreement you may have executed
|
137
|
+
with Licensor regarding such Contributions.
|
138
|
+
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
141
|
+
except as required for reasonable and customary use in describing the
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
143
|
+
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
153
|
+
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
159
|
+
incidental, or consequential damages of any character arising as a
|
160
|
+
result of this License or out of the use or inability to use the
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
163
|
+
other commercial damages or losses), even if such Contributor
|
164
|
+
has been advised of the possibility of such damages.
|
165
|
+
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
169
|
+
or other liability obligations and/or rights consistent with this
|
170
|
+
License. However, in accepting such obligations, You may act only
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
175
|
+
of your accepting any such warranty or additional liability.
|
176
|
+
|
177
|
+
END OF TERMS AND CONDITIONS
|
178
|
+
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
180
|
+
|
181
|
+
To apply the Apache License to your work, attach the following
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
183
|
+
replaced with your own identifying information. (Don't include
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
185
|
+
comment syntax for the file format. We also recommend that a
|
186
|
+
file or class name and description of purpose be included on the
|
187
|
+
same "printed page" as the copyright notice for easier
|
188
|
+
identification within third-party archives.
|
189
|
+
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
191
|
+
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
193
|
+
you may not use this file except in compliance with the License.
|
194
|
+
You may obtain a copy of the License at
|
195
|
+
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
197
|
+
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
201
|
+
See the License for the specific language governing permissions and
|
202
|
+
limitations under the License.
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
1.5.0
|
data/lib/aws-sdk-devopsguru.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-devopsguru/customizations'
|
|
48
48
|
# @!group service
|
49
49
|
module Aws::DevOpsGuru
|
50
50
|
|
51
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.5.0'
|
52
52
|
|
53
53
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -327,7 +327,30 @@ module Aws::DevOpsGuru
|
|
327
327
|
|
328
328
|
# @!group API Operations
|
329
329
|
|
330
|
+
# Adds a notification channel to DevOps Guru. A notification channel is
|
331
|
+
# used to notify you about important DevOps Guru events, such as when an
|
332
|
+
# insight is generated.
|
333
|
+
#
|
334
|
+
# If you use an Amazon SNS topic in another account, you must attach a
|
335
|
+
# policy to it that grants DevOps Guru permission to it notifications.
|
336
|
+
# DevOps Guru adds the required policy on your behalf to send
|
337
|
+
# notifications using Amazon SNS in your account. For more information,
|
338
|
+
# see [Permissions for cross account Amazon SNS topics][1].
|
339
|
+
#
|
340
|
+
# If you use an Amazon SNS topic that is encrypted by an AWS Key
|
341
|
+
# Management Service customer-managed key (CMK), then you must add
|
342
|
+
# permissions to the CMK. For more information, see [Permissions for AWS
|
343
|
+
# KMS–encrypted Amazon SNS topics][2].
|
344
|
+
#
|
345
|
+
#
|
346
|
+
#
|
347
|
+
# [1]: https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-required-permissions.html
|
348
|
+
# [2]: https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-kms-permissions.html
|
349
|
+
#
|
330
350
|
# @option params [required, Types::NotificationChannelConfig] :config
|
351
|
+
# A `NotificationChannelConfig` object that specifies what type of
|
352
|
+
# notification channel to add. The one supported notification channel is
|
353
|
+
# Amazon Simple Notification Service (Amazon SNS).
|
331
354
|
#
|
332
355
|
# @return [Types::AddNotificationChannelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
333
356
|
#
|
@@ -338,7 +361,7 @@ module Aws::DevOpsGuru
|
|
338
361
|
# resp = client.add_notification_channel({
|
339
362
|
# config: { # required
|
340
363
|
# sns: { # required
|
341
|
-
# topic_arn: "
|
364
|
+
# topic_arn: "TopicArn",
|
342
365
|
# },
|
343
366
|
# },
|
344
367
|
# })
|
@@ -356,17 +379,24 @@ module Aws::DevOpsGuru
|
|
356
379
|
req.send_request(options)
|
357
380
|
end
|
358
381
|
|
382
|
+
# Returns the number of open reactive insights, the number of open
|
383
|
+
# proactive insights, and the number of metrics analyzed in your AWS
|
384
|
+
# account. Use these numbers to gauge the health of operations in your
|
385
|
+
# AWS account.
|
386
|
+
#
|
359
387
|
# @return [Types::DescribeAccountHealthResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
360
388
|
#
|
361
|
-
# * {Types::DescribeAccountHealthResponse#metrics_analyzed #metrics_analyzed} => Integer
|
362
|
-
# * {Types::DescribeAccountHealthResponse#open_proactive_insights #open_proactive_insights} => Integer
|
363
389
|
# * {Types::DescribeAccountHealthResponse#open_reactive_insights #open_reactive_insights} => Integer
|
390
|
+
# * {Types::DescribeAccountHealthResponse#open_proactive_insights #open_proactive_insights} => Integer
|
391
|
+
# * {Types::DescribeAccountHealthResponse#metrics_analyzed #metrics_analyzed} => Integer
|
392
|
+
# * {Types::DescribeAccountHealthResponse#resource_hours #resource_hours} => Integer
|
364
393
|
#
|
365
394
|
# @example Response structure
|
366
395
|
#
|
367
|
-
# resp.metrics_analyzed #=> Integer
|
368
|
-
# resp.open_proactive_insights #=> Integer
|
369
396
|
# resp.open_reactive_insights #=> Integer
|
397
|
+
# resp.open_proactive_insights #=> Integer
|
398
|
+
# resp.metrics_analyzed #=> Integer
|
399
|
+
# resp.resource_hours #=> Integer
|
370
400
|
#
|
371
401
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeAccountHealth AWS API Documentation
|
372
402
|
#
|
@@ -377,15 +407,27 @@ module Aws::DevOpsGuru
|
|
377
407
|
req.send_request(options)
|
378
408
|
end
|
379
409
|
|
410
|
+
# For the time range passed in, returns the number of open reactive
|
411
|
+
# insight that were created, the number of open proactive insights that
|
412
|
+
# were created, and the Mean Time to Recover (MTTR) for all closed
|
413
|
+
# reactive insights.
|
414
|
+
#
|
380
415
|
# @option params [required, Time,DateTime,Date,Integer,String] :from_time
|
416
|
+
# The start of the time range passed in. The start time granularity is
|
417
|
+
# at the day level. The floor of the start time is used. Returned
|
418
|
+
# information occurred after this day.
|
381
419
|
#
|
382
420
|
# @option params [Time,DateTime,Date,Integer,String] :to_time
|
421
|
+
# The end of the time range passed in. The start time granularity is at
|
422
|
+
# the day level. The floor of the start time is used. Returned
|
423
|
+
# information occurred before this day. If this is not specified, then
|
424
|
+
# the current day is used.
|
383
425
|
#
|
384
426
|
# @return [Types::DescribeAccountOverviewResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
385
427
|
#
|
386
|
-
# * {Types::DescribeAccountOverviewResponse#mean_time_to_recover_in_milliseconds #mean_time_to_recover_in_milliseconds} => Integer
|
387
|
-
# * {Types::DescribeAccountOverviewResponse#proactive_insights #proactive_insights} => Integer
|
388
428
|
# * {Types::DescribeAccountOverviewResponse#reactive_insights #reactive_insights} => Integer
|
429
|
+
# * {Types::DescribeAccountOverviewResponse#proactive_insights #proactive_insights} => Integer
|
430
|
+
# * {Types::DescribeAccountOverviewResponse#mean_time_to_recover_in_milliseconds #mean_time_to_recover_in_milliseconds} => Integer
|
389
431
|
#
|
390
432
|
# @example Request syntax with placeholder values
|
391
433
|
#
|
@@ -396,9 +438,9 @@ module Aws::DevOpsGuru
|
|
396
438
|
#
|
397
439
|
# @example Response structure
|
398
440
|
#
|
399
|
-
# resp.mean_time_to_recover_in_milliseconds #=> Integer
|
400
|
-
# resp.proactive_insights #=> Integer
|
401
441
|
# resp.reactive_insights #=> Integer
|
442
|
+
# resp.proactive_insights #=> Integer
|
443
|
+
# resp.mean_time_to_recover_in_milliseconds #=> Integer
|
402
444
|
#
|
403
445
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeAccountOverview AWS API Documentation
|
404
446
|
#
|
@@ -409,7 +451,10 @@ module Aws::DevOpsGuru
|
|
409
451
|
req.send_request(options)
|
410
452
|
end
|
411
453
|
|
454
|
+
# Returns details about an anomaly that you specify using its ID.
|
455
|
+
#
|
412
456
|
# @option params [required, String] :id
|
457
|
+
# The ID of the anomaly.
|
413
458
|
#
|
414
459
|
# @return [Types::DescribeAnomalyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
415
460
|
#
|
@@ -419,49 +464,49 @@ module Aws::DevOpsGuru
|
|
419
464
|
# @example Request syntax with placeholder values
|
420
465
|
#
|
421
466
|
# resp = client.describe_anomaly({
|
422
|
-
# id: "
|
467
|
+
# id: "AnomalyId", # required
|
423
468
|
# })
|
424
469
|
#
|
425
470
|
# @example Response structure
|
426
471
|
#
|
427
|
-
# resp.proactive_anomaly.anomaly_time_range.end_time #=> Time
|
428
|
-
# resp.proactive_anomaly.anomaly_time_range.start_time #=> Time
|
429
|
-
# resp.proactive_anomaly.associated_insight_id #=> String
|
430
472
|
# resp.proactive_anomaly.id #=> String
|
431
|
-
# resp.proactive_anomaly.limit #=> Float
|
432
|
-
# resp.proactive_anomaly.prediction_time_range.end_time #=> Time
|
433
|
-
# resp.proactive_anomaly.prediction_time_range.start_time #=> Time
|
434
|
-
# resp.proactive_anomaly.resource_collection.cloud_formation.stack_names #=> Array
|
435
|
-
# resp.proactive_anomaly.resource_collection.cloud_formation.stack_names[0] #=> String
|
436
473
|
# resp.proactive_anomaly.severity #=> String, one of "LOW", "MEDIUM", "HIGH"
|
474
|
+
# resp.proactive_anomaly.status #=> String, one of "ONGOING", "CLOSED"
|
475
|
+
# resp.proactive_anomaly.update_time #=> Time
|
476
|
+
# resp.proactive_anomaly.anomaly_time_range.start_time #=> Time
|
477
|
+
# resp.proactive_anomaly.anomaly_time_range.end_time #=> Time
|
478
|
+
# resp.proactive_anomaly.prediction_time_range.start_time #=> Time
|
479
|
+
# resp.proactive_anomaly.prediction_time_range.end_time #=> Time
|
437
480
|
# resp.proactive_anomaly.source_details.cloud_watch_metrics #=> Array
|
481
|
+
# resp.proactive_anomaly.source_details.cloud_watch_metrics[0].metric_name #=> String
|
482
|
+
# resp.proactive_anomaly.source_details.cloud_watch_metrics[0].namespace #=> String
|
438
483
|
# resp.proactive_anomaly.source_details.cloud_watch_metrics[0].dimensions #=> Array
|
439
484
|
# resp.proactive_anomaly.source_details.cloud_watch_metrics[0].dimensions[0].name #=> String
|
440
485
|
# resp.proactive_anomaly.source_details.cloud_watch_metrics[0].dimensions[0].value #=> String
|
441
|
-
# resp.proactive_anomaly.source_details.cloud_watch_metrics[0].metric_name #=> String
|
442
|
-
# resp.proactive_anomaly.source_details.cloud_watch_metrics[0].namespace #=> String
|
443
|
-
# resp.proactive_anomaly.source_details.cloud_watch_metrics[0].period #=> Integer
|
444
486
|
# resp.proactive_anomaly.source_details.cloud_watch_metrics[0].stat #=> String, one of "Sum", "Average", "SampleCount", "Minimum", "Maximum", "p99", "p90", "p50"
|
445
487
|
# resp.proactive_anomaly.source_details.cloud_watch_metrics[0].unit #=> String
|
446
|
-
# resp.proactive_anomaly.
|
447
|
-
# resp.proactive_anomaly.
|
448
|
-
# resp.
|
449
|
-
# resp.
|
450
|
-
# resp.
|
488
|
+
# resp.proactive_anomaly.source_details.cloud_watch_metrics[0].period #=> Integer
|
489
|
+
# resp.proactive_anomaly.associated_insight_id #=> String
|
490
|
+
# resp.proactive_anomaly.resource_collection.cloud_formation.stack_names #=> Array
|
491
|
+
# resp.proactive_anomaly.resource_collection.cloud_formation.stack_names[0] #=> String
|
492
|
+
# resp.proactive_anomaly.limit #=> Float
|
451
493
|
# resp.reactive_anomaly.id #=> String
|
452
|
-
# resp.reactive_anomaly.resource_collection.cloud_formation.stack_names #=> Array
|
453
|
-
# resp.reactive_anomaly.resource_collection.cloud_formation.stack_names[0] #=> String
|
454
494
|
# resp.reactive_anomaly.severity #=> String, one of "LOW", "MEDIUM", "HIGH"
|
495
|
+
# resp.reactive_anomaly.status #=> String, one of "ONGOING", "CLOSED"
|
496
|
+
# resp.reactive_anomaly.anomaly_time_range.start_time #=> Time
|
497
|
+
# resp.reactive_anomaly.anomaly_time_range.end_time #=> Time
|
455
498
|
# resp.reactive_anomaly.source_details.cloud_watch_metrics #=> Array
|
499
|
+
# resp.reactive_anomaly.source_details.cloud_watch_metrics[0].metric_name #=> String
|
500
|
+
# resp.reactive_anomaly.source_details.cloud_watch_metrics[0].namespace #=> String
|
456
501
|
# resp.reactive_anomaly.source_details.cloud_watch_metrics[0].dimensions #=> Array
|
457
502
|
# resp.reactive_anomaly.source_details.cloud_watch_metrics[0].dimensions[0].name #=> String
|
458
503
|
# resp.reactive_anomaly.source_details.cloud_watch_metrics[0].dimensions[0].value #=> String
|
459
|
-
# resp.reactive_anomaly.source_details.cloud_watch_metrics[0].metric_name #=> String
|
460
|
-
# resp.reactive_anomaly.source_details.cloud_watch_metrics[0].namespace #=> String
|
461
|
-
# resp.reactive_anomaly.source_details.cloud_watch_metrics[0].period #=> Integer
|
462
504
|
# resp.reactive_anomaly.source_details.cloud_watch_metrics[0].stat #=> String, one of "Sum", "Average", "SampleCount", "Minimum", "Maximum", "p99", "p90", "p50"
|
463
505
|
# resp.reactive_anomaly.source_details.cloud_watch_metrics[0].unit #=> String
|
464
|
-
# resp.reactive_anomaly.
|
506
|
+
# resp.reactive_anomaly.source_details.cloud_watch_metrics[0].period #=> Integer
|
507
|
+
# resp.reactive_anomaly.associated_insight_id #=> String
|
508
|
+
# resp.reactive_anomaly.resource_collection.cloud_formation.stack_names #=> Array
|
509
|
+
# resp.reactive_anomaly.resource_collection.cloud_formation.stack_names[0] #=> String
|
465
510
|
#
|
466
511
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeAnomaly AWS API Documentation
|
467
512
|
#
|
@@ -472,7 +517,40 @@ module Aws::DevOpsGuru
|
|
472
517
|
req.send_request(options)
|
473
518
|
end
|
474
519
|
|
520
|
+
# Returns the most recent feedback submitted in the current AWS account
|
521
|
+
# and Region.
|
522
|
+
#
|
523
|
+
# @option params [String] :insight_id
|
524
|
+
# The ID of the insight for which the feedback was provided.
|
525
|
+
#
|
526
|
+
# @return [Types::DescribeFeedbackResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
527
|
+
#
|
528
|
+
# * {Types::DescribeFeedbackResponse#insight_feedback #insight_feedback} => Types::InsightFeedback
|
529
|
+
#
|
530
|
+
# @example Request syntax with placeholder values
|
531
|
+
#
|
532
|
+
# resp = client.describe_feedback({
|
533
|
+
# insight_id: "InsightId",
|
534
|
+
# })
|
535
|
+
#
|
536
|
+
# @example Response structure
|
537
|
+
#
|
538
|
+
# resp.insight_feedback.id #=> String
|
539
|
+
# resp.insight_feedback.feedback #=> String, one of "VALID_COLLECTION", "RECOMMENDATION_USEFUL", "ALERT_TOO_SENSITIVE", "DATA_NOISY_ANOMALY", "DATA_INCORRECT"
|
540
|
+
#
|
541
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeFeedback AWS API Documentation
|
542
|
+
#
|
543
|
+
# @overload describe_feedback(params = {})
|
544
|
+
# @param [Hash] params ({})
|
545
|
+
def describe_feedback(params = {}, options = {})
|
546
|
+
req = build_request(:describe_feedback, params)
|
547
|
+
req.send_request(options)
|
548
|
+
end
|
549
|
+
|
550
|
+
# Returns details about an insight that you specify using its ID.
|
551
|
+
#
|
475
552
|
# @option params [required, String] :id
|
553
|
+
# The ID of the insight.
|
476
554
|
#
|
477
555
|
# @return [Types::DescribeInsightResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
478
556
|
#
|
@@ -482,31 +560,31 @@ module Aws::DevOpsGuru
|
|
482
560
|
# @example Request syntax with placeholder values
|
483
561
|
#
|
484
562
|
# resp = client.describe_insight({
|
485
|
-
# id: "
|
563
|
+
# id: "InsightId", # required
|
486
564
|
# })
|
487
565
|
#
|
488
566
|
# @example Response structure
|
489
567
|
#
|
490
568
|
# resp.proactive_insight.id #=> String
|
491
|
-
# resp.proactive_insight.insight_time_range.end_time #=> Time
|
492
|
-
# resp.proactive_insight.insight_time_range.start_time #=> Time
|
493
569
|
# resp.proactive_insight.name #=> String
|
494
|
-
# resp.proactive_insight.
|
570
|
+
# resp.proactive_insight.severity #=> String, one of "LOW", "MEDIUM", "HIGH"
|
571
|
+
# resp.proactive_insight.status #=> String, one of "ONGOING", "CLOSED"
|
572
|
+
# resp.proactive_insight.insight_time_range.start_time #=> Time
|
573
|
+
# resp.proactive_insight.insight_time_range.end_time #=> Time
|
495
574
|
# resp.proactive_insight.prediction_time_range.start_time #=> Time
|
575
|
+
# resp.proactive_insight.prediction_time_range.end_time #=> Time
|
496
576
|
# resp.proactive_insight.resource_collection.cloud_formation.stack_names #=> Array
|
497
577
|
# resp.proactive_insight.resource_collection.cloud_formation.stack_names[0] #=> String
|
498
|
-
# resp.proactive_insight.severity #=> String, one of "LOW", "MEDIUM", "HIGH"
|
499
578
|
# resp.proactive_insight.ssm_ops_item_id #=> String
|
500
|
-
# resp.proactive_insight.status #=> String, one of "ONGOING", "CLOSED"
|
501
579
|
# resp.reactive_insight.id #=> String
|
502
|
-
# resp.reactive_insight.insight_time_range.end_time #=> Time
|
503
|
-
# resp.reactive_insight.insight_time_range.start_time #=> Time
|
504
580
|
# resp.reactive_insight.name #=> String
|
581
|
+
# resp.reactive_insight.severity #=> String, one of "LOW", "MEDIUM", "HIGH"
|
582
|
+
# resp.reactive_insight.status #=> String, one of "ONGOING", "CLOSED"
|
583
|
+
# resp.reactive_insight.insight_time_range.start_time #=> Time
|
584
|
+
# resp.reactive_insight.insight_time_range.end_time #=> Time
|
505
585
|
# resp.reactive_insight.resource_collection.cloud_formation.stack_names #=> Array
|
506
586
|
# resp.reactive_insight.resource_collection.cloud_formation.stack_names[0] #=> String
|
507
|
-
# resp.reactive_insight.severity #=> String, one of "LOW", "MEDIUM", "HIGH"
|
508
587
|
# resp.reactive_insight.ssm_ops_item_id #=> String
|
509
|
-
# resp.reactive_insight.status #=> String, one of "ONGOING", "CLOSED"
|
510
588
|
#
|
511
589
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeInsight AWS API Documentation
|
512
590
|
#
|
@@ -517,9 +595,22 @@ module Aws::DevOpsGuru
|
|
517
595
|
req.send_request(options)
|
518
596
|
end
|
519
597
|
|
520
|
-
#
|
598
|
+
# Returns the number of open proactive insights, open reactive insights,
|
599
|
+
# and the Mean Time to Recover (MTTR) for all closed insights in
|
600
|
+
# resource collections in your account. You specify the type of AWS
|
601
|
+
# resources collection. The one type of AWS resource collection
|
602
|
+
# supported is AWS CloudFormation stacks. DevOps Guru can be configured
|
603
|
+
# to analyze only the AWS resources that are defined in the stacks.
|
521
604
|
#
|
522
605
|
# @option params [required, String] :resource_collection_type
|
606
|
+
# An AWS resource collection type. This type specifies how analyzed AWS
|
607
|
+
# resources are defined. The one type of AWS resource collection
|
608
|
+
# supported is AWS CloudFormation stacks. DevOps Guru can be configured
|
609
|
+
# to analyze only the AWS resources that are defined in the stacks.
|
610
|
+
#
|
611
|
+
# @option params [String] :next_token
|
612
|
+
# The pagination token to use to retrieve the next page of results for
|
613
|
+
# this operation. If this value is null, it retrieves the first page.
|
523
614
|
#
|
524
615
|
# @return [Types::DescribeResourceCollectionHealthResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
525
616
|
#
|
@@ -531,17 +622,17 @@ module Aws::DevOpsGuru
|
|
531
622
|
# @example Request syntax with placeholder values
|
532
623
|
#
|
533
624
|
# resp = client.describe_resource_collection_health({
|
534
|
-
#
|
535
|
-
#
|
625
|
+
# resource_collection_type: "AWS_CLOUD_FORMATION", # required, accepts AWS_CLOUD_FORMATION
|
626
|
+
# next_token: "UuidNextToken",
|
536
627
|
# })
|
537
628
|
#
|
538
629
|
# @example Response structure
|
539
630
|
#
|
540
631
|
# resp.cloud_formation #=> Array
|
541
|
-
# resp.cloud_formation[0].
|
632
|
+
# resp.cloud_formation[0].stack_name #=> String
|
542
633
|
# resp.cloud_formation[0].insight.open_proactive_insights #=> Integer
|
543
634
|
# resp.cloud_formation[0].insight.open_reactive_insights #=> Integer
|
544
|
-
# resp.cloud_formation[0].
|
635
|
+
# resp.cloud_formation[0].insight.mean_time_to_recover_in_milliseconds #=> Integer
|
545
636
|
# resp.next_token #=> String
|
546
637
|
#
|
547
638
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeResourceCollectionHealth AWS API Documentation
|
@@ -553,6 +644,11 @@ module Aws::DevOpsGuru
|
|
553
644
|
req.send_request(options)
|
554
645
|
end
|
555
646
|
|
647
|
+
# Returns the integration status of services that are integrated with
|
648
|
+
# DevOps Guru. The one service that can be integrated with DevOps Guru
|
649
|
+
# is AWS Systems Manager, which can be used to create an OpsItem for
|
650
|
+
# each generated insight.
|
651
|
+
#
|
556
652
|
# @return [Types::DescribeServiceIntegrationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
557
653
|
#
|
558
654
|
# * {Types::DescribeServiceIntegrationResponse#service_integration #service_integration} => Types::ServiceIntegrationConfig
|
@@ -570,29 +666,38 @@ module Aws::DevOpsGuru
|
|
570
666
|
req.send_request(options)
|
571
667
|
end
|
572
668
|
|
573
|
-
#
|
669
|
+
# Returns lists AWS resources that are of the specified resource
|
670
|
+
# collection type. The one type of AWS resource collection supported is
|
671
|
+
# AWS CloudFormation stacks. DevOps Guru can be configured to analyze
|
672
|
+
# only the AWS resources that are defined in the stacks.
|
574
673
|
#
|
575
674
|
# @option params [required, String] :resource_collection_type
|
675
|
+
# The type of AWS resource collections to return. The one valid value is
|
676
|
+
# `CLOUD_FORMATION` for AWS CloudFormation stacks.
|
677
|
+
#
|
678
|
+
# @option params [String] :next_token
|
679
|
+
# The pagination token to use to retrieve the next page of results for
|
680
|
+
# this operation. If this value is null, it retrieves the first page.
|
576
681
|
#
|
577
682
|
# @return [Types::GetResourceCollectionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
578
683
|
#
|
579
|
-
# * {Types::GetResourceCollectionResponse#next_token #next_token} => String
|
580
684
|
# * {Types::GetResourceCollectionResponse#resource_collection #resource_collection} => Types::ResourceCollectionFilter
|
685
|
+
# * {Types::GetResourceCollectionResponse#next_token #next_token} => String
|
581
686
|
#
|
582
687
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
583
688
|
#
|
584
689
|
# @example Request syntax with placeholder values
|
585
690
|
#
|
586
691
|
# resp = client.get_resource_collection({
|
587
|
-
#
|
588
|
-
#
|
692
|
+
# resource_collection_type: "AWS_CLOUD_FORMATION", # required, accepts AWS_CLOUD_FORMATION
|
693
|
+
# next_token: "UuidNextToken",
|
589
694
|
# })
|
590
695
|
#
|
591
696
|
# @example Response structure
|
592
697
|
#
|
593
|
-
# resp.next_token #=> String
|
594
698
|
# resp.resource_collection.cloud_formation.stack_names #=> Array
|
595
699
|
# resp.resource_collection.cloud_formation.stack_names[0] #=> String
|
700
|
+
# resp.next_token #=> String
|
596
701
|
#
|
597
702
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/GetResourceCollection AWS API Documentation
|
598
703
|
#
|
@@ -603,77 +708,88 @@ module Aws::DevOpsGuru
|
|
603
708
|
req.send_request(options)
|
604
709
|
end
|
605
710
|
|
711
|
+
# Returns a list of the anomalies that belong to an insight that you
|
712
|
+
# specify using its ID.
|
713
|
+
#
|
606
714
|
# @option params [required, String] :insight_id
|
715
|
+
# The ID of the insight. The returned anomalies belong to this insight.
|
716
|
+
#
|
717
|
+
# @option params [Types::StartTimeRange] :start_time_range
|
718
|
+
# A time range used to specify when the requested anomalies started. All
|
719
|
+
# returned anomalies started during this time range.
|
607
720
|
#
|
608
721
|
# @option params [Integer] :max_results
|
722
|
+
# The maximum number of results to return with a single call. To
|
723
|
+
# retrieve the remaining results, make another call with the returned
|
724
|
+
# `nextToken` value.
|
609
725
|
#
|
610
726
|
# @option params [String] :next_token
|
611
|
-
#
|
612
|
-
#
|
727
|
+
# The pagination token to use to retrieve the next page of results for
|
728
|
+
# this operation. If this value is null, it retrieves the first page.
|
613
729
|
#
|
614
730
|
# @return [Types::ListAnomaliesForInsightResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
615
731
|
#
|
616
|
-
# * {Types::ListAnomaliesForInsightResponse#next_token #next_token} => String
|
617
732
|
# * {Types::ListAnomaliesForInsightResponse#proactive_anomalies #proactive_anomalies} => Array<Types::ProactiveAnomalySummary>
|
618
733
|
# * {Types::ListAnomaliesForInsightResponse#reactive_anomalies #reactive_anomalies} => Array<Types::ReactiveAnomalySummary>
|
734
|
+
# * {Types::ListAnomaliesForInsightResponse#next_token #next_token} => String
|
619
735
|
#
|
620
736
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
621
737
|
#
|
622
738
|
# @example Request syntax with placeholder values
|
623
739
|
#
|
624
740
|
# resp = client.list_anomalies_for_insight({
|
625
|
-
# insight_id: "
|
626
|
-
# max_results: 1,
|
627
|
-
# next_token: "__stringMin36Max36PatternAF098AF094AF094AF094AF0912",
|
741
|
+
# insight_id: "InsightId", # required
|
628
742
|
# start_time_range: {
|
629
743
|
# from_time: Time.now,
|
630
744
|
# to_time: Time.now,
|
631
745
|
# },
|
746
|
+
# max_results: 1,
|
747
|
+
# next_token: "UuidNextToken",
|
632
748
|
# })
|
633
749
|
#
|
634
750
|
# @example Response structure
|
635
751
|
#
|
636
|
-
# resp.next_token #=> String
|
637
752
|
# resp.proactive_anomalies #=> Array
|
638
|
-
# resp.proactive_anomalies[0].anomaly_time_range.end_time #=> Time
|
639
|
-
# resp.proactive_anomalies[0].anomaly_time_range.start_time #=> Time
|
640
|
-
# resp.proactive_anomalies[0].associated_insight_id #=> String
|
641
753
|
# resp.proactive_anomalies[0].id #=> String
|
642
|
-
# resp.proactive_anomalies[0].limit #=> Float
|
643
|
-
# resp.proactive_anomalies[0].prediction_time_range.end_time #=> Time
|
644
|
-
# resp.proactive_anomalies[0].prediction_time_range.start_time #=> Time
|
645
|
-
# resp.proactive_anomalies[0].resource_collection.cloud_formation.stack_names #=> Array
|
646
|
-
# resp.proactive_anomalies[0].resource_collection.cloud_formation.stack_names[0] #=> String
|
647
754
|
# resp.proactive_anomalies[0].severity #=> String, one of "LOW", "MEDIUM", "HIGH"
|
755
|
+
# resp.proactive_anomalies[0].status #=> String, one of "ONGOING", "CLOSED"
|
756
|
+
# resp.proactive_anomalies[0].update_time #=> Time
|
757
|
+
# resp.proactive_anomalies[0].anomaly_time_range.start_time #=> Time
|
758
|
+
# resp.proactive_anomalies[0].anomaly_time_range.end_time #=> Time
|
759
|
+
# resp.proactive_anomalies[0].prediction_time_range.start_time #=> Time
|
760
|
+
# resp.proactive_anomalies[0].prediction_time_range.end_time #=> Time
|
648
761
|
# resp.proactive_anomalies[0].source_details.cloud_watch_metrics #=> Array
|
762
|
+
# resp.proactive_anomalies[0].source_details.cloud_watch_metrics[0].metric_name #=> String
|
763
|
+
# resp.proactive_anomalies[0].source_details.cloud_watch_metrics[0].namespace #=> String
|
649
764
|
# resp.proactive_anomalies[0].source_details.cloud_watch_metrics[0].dimensions #=> Array
|
650
765
|
# resp.proactive_anomalies[0].source_details.cloud_watch_metrics[0].dimensions[0].name #=> String
|
651
766
|
# resp.proactive_anomalies[0].source_details.cloud_watch_metrics[0].dimensions[0].value #=> String
|
652
|
-
# resp.proactive_anomalies[0].source_details.cloud_watch_metrics[0].metric_name #=> String
|
653
|
-
# resp.proactive_anomalies[0].source_details.cloud_watch_metrics[0].namespace #=> String
|
654
|
-
# resp.proactive_anomalies[0].source_details.cloud_watch_metrics[0].period #=> Integer
|
655
767
|
# resp.proactive_anomalies[0].source_details.cloud_watch_metrics[0].stat #=> String, one of "Sum", "Average", "SampleCount", "Minimum", "Maximum", "p99", "p90", "p50"
|
656
768
|
# resp.proactive_anomalies[0].source_details.cloud_watch_metrics[0].unit #=> String
|
657
|
-
# resp.proactive_anomalies[0].
|
658
|
-
# resp.proactive_anomalies[0].
|
769
|
+
# resp.proactive_anomalies[0].source_details.cloud_watch_metrics[0].period #=> Integer
|
770
|
+
# resp.proactive_anomalies[0].associated_insight_id #=> String
|
771
|
+
# resp.proactive_anomalies[0].resource_collection.cloud_formation.stack_names #=> Array
|
772
|
+
# resp.proactive_anomalies[0].resource_collection.cloud_formation.stack_names[0] #=> String
|
773
|
+
# resp.proactive_anomalies[0].limit #=> Float
|
659
774
|
# resp.reactive_anomalies #=> Array
|
660
|
-
# resp.reactive_anomalies[0].anomaly_time_range.end_time #=> Time
|
661
|
-
# resp.reactive_anomalies[0].anomaly_time_range.start_time #=> Time
|
662
|
-
# resp.reactive_anomalies[0].associated_insight_id #=> String
|
663
775
|
# resp.reactive_anomalies[0].id #=> String
|
664
|
-
# resp.reactive_anomalies[0].resource_collection.cloud_formation.stack_names #=> Array
|
665
|
-
# resp.reactive_anomalies[0].resource_collection.cloud_formation.stack_names[0] #=> String
|
666
776
|
# resp.reactive_anomalies[0].severity #=> String, one of "LOW", "MEDIUM", "HIGH"
|
777
|
+
# resp.reactive_anomalies[0].status #=> String, one of "ONGOING", "CLOSED"
|
778
|
+
# resp.reactive_anomalies[0].anomaly_time_range.start_time #=> Time
|
779
|
+
# resp.reactive_anomalies[0].anomaly_time_range.end_time #=> Time
|
667
780
|
# resp.reactive_anomalies[0].source_details.cloud_watch_metrics #=> Array
|
781
|
+
# resp.reactive_anomalies[0].source_details.cloud_watch_metrics[0].metric_name #=> String
|
782
|
+
# resp.reactive_anomalies[0].source_details.cloud_watch_metrics[0].namespace #=> String
|
668
783
|
# resp.reactive_anomalies[0].source_details.cloud_watch_metrics[0].dimensions #=> Array
|
669
784
|
# resp.reactive_anomalies[0].source_details.cloud_watch_metrics[0].dimensions[0].name #=> String
|
670
785
|
# resp.reactive_anomalies[0].source_details.cloud_watch_metrics[0].dimensions[0].value #=> String
|
671
|
-
# resp.reactive_anomalies[0].source_details.cloud_watch_metrics[0].metric_name #=> String
|
672
|
-
# resp.reactive_anomalies[0].source_details.cloud_watch_metrics[0].namespace #=> String
|
673
|
-
# resp.reactive_anomalies[0].source_details.cloud_watch_metrics[0].period #=> Integer
|
674
786
|
# resp.reactive_anomalies[0].source_details.cloud_watch_metrics[0].stat #=> String, one of "Sum", "Average", "SampleCount", "Minimum", "Maximum", "p99", "p90", "p50"
|
675
787
|
# resp.reactive_anomalies[0].source_details.cloud_watch_metrics[0].unit #=> String
|
676
|
-
# resp.reactive_anomalies[0].
|
788
|
+
# resp.reactive_anomalies[0].source_details.cloud_watch_metrics[0].period #=> Integer
|
789
|
+
# resp.reactive_anomalies[0].associated_insight_id #=> String
|
790
|
+
# resp.reactive_anomalies[0].resource_collection.cloud_formation.stack_names #=> Array
|
791
|
+
# resp.reactive_anomalies[0].resource_collection.cloud_formation.stack_names[0] #=> String
|
792
|
+
# resp.next_token #=> String
|
677
793
|
#
|
678
794
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListAnomaliesForInsight AWS API Documentation
|
679
795
|
#
|
@@ -684,11 +800,21 @@ module Aws::DevOpsGuru
|
|
684
800
|
req.send_request(options)
|
685
801
|
end
|
686
802
|
|
803
|
+
# Returns a list of the events emitted by the resources that are
|
804
|
+
# evaluated by DevOps Guru. You can use filters to specify which events
|
805
|
+
# are returned.
|
806
|
+
#
|
687
807
|
# @option params [required, Types::ListEventsFilters] :filters
|
808
|
+
# A `ListEventsFilters` object used to specify which events to return.
|
688
809
|
#
|
689
810
|
# @option params [Integer] :max_results
|
811
|
+
# The maximum number of results to return with a single call. To
|
812
|
+
# retrieve the remaining results, make another call with the returned
|
813
|
+
# `nextToken` value.
|
690
814
|
#
|
691
815
|
# @option params [String] :next_token
|
816
|
+
# The pagination token to use to retrieve the next page of results for
|
817
|
+
# this operation. If this value is null, it retrieves the first page.
|
692
818
|
#
|
693
819
|
# @return [Types::ListEventsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
694
820
|
#
|
@@ -701,39 +827,39 @@ module Aws::DevOpsGuru
|
|
701
827
|
#
|
702
828
|
# resp = client.list_events({
|
703
829
|
# filters: { # required
|
704
|
-
#
|
705
|
-
# event_class: "INFRASTRUCTURE", # accepts INFRASTRUCTURE, DEPLOYMENT, SECURITY_CHANGE, CONFIG_CHANGE, SCHEMA_CHANGE
|
706
|
-
# event_source: "__stringMin10Max50PatternAZAZ09AmazonawsComAwsEvents",
|
830
|
+
# insight_id: "InsightId",
|
707
831
|
# event_time_range: {
|
708
832
|
# from_time: Time.now, # required
|
709
833
|
# to_time: Time.now, # required
|
710
834
|
# },
|
711
|
-
#
|
835
|
+
# event_class: "INFRASTRUCTURE", # accepts INFRASTRUCTURE, DEPLOYMENT, SECURITY_CHANGE, CONFIG_CHANGE, SCHEMA_CHANGE
|
836
|
+
# event_source: "EventSource",
|
837
|
+
# data_source: "AWS_CLOUD_TRAIL", # accepts AWS_CLOUD_TRAIL, AWS_CODE_DEPLOY
|
712
838
|
# resource_collection: {
|
713
839
|
# cloud_formation: {
|
714
|
-
# stack_names: ["
|
840
|
+
# stack_names: ["StackName"],
|
715
841
|
# },
|
716
842
|
# },
|
717
843
|
# },
|
718
844
|
# max_results: 1,
|
719
|
-
# next_token: "
|
845
|
+
# next_token: "UuidNextToken",
|
720
846
|
# })
|
721
847
|
#
|
722
848
|
# @example Response structure
|
723
849
|
#
|
724
850
|
# resp.events #=> Array
|
725
|
-
# resp.events[0].data_source #=> String, one of "AWS_CLOUD_TRAIL", "AWS_CODE_DEPLOY"
|
726
|
-
# resp.events[0].event_class #=> String, one of "INFRASTRUCTURE", "DEPLOYMENT", "SECURITY_CHANGE", "CONFIG_CHANGE", "SCHEMA_CHANGE"
|
727
|
-
# resp.events[0].event_source #=> String
|
728
|
-
# resp.events[0].id #=> String
|
729
|
-
# resp.events[0].name #=> String
|
730
851
|
# resp.events[0].resource_collection.cloud_formation.stack_names #=> Array
|
731
852
|
# resp.events[0].resource_collection.cloud_formation.stack_names[0] #=> String
|
853
|
+
# resp.events[0].id #=> String
|
854
|
+
# resp.events[0].time #=> Time
|
855
|
+
# resp.events[0].event_source #=> String
|
856
|
+
# resp.events[0].name #=> String
|
857
|
+
# resp.events[0].data_source #=> String, one of "AWS_CLOUD_TRAIL", "AWS_CODE_DEPLOY"
|
858
|
+
# resp.events[0].event_class #=> String, one of "INFRASTRUCTURE", "DEPLOYMENT", "SECURITY_CHANGE", "CONFIG_CHANGE", "SCHEMA_CHANGE"
|
732
859
|
# resp.events[0].resources #=> Array
|
733
|
-
# resp.events[0].resources[0].arn #=> String
|
734
|
-
# resp.events[0].resources[0].name #=> String
|
735
860
|
# resp.events[0].resources[0].type #=> String
|
736
|
-
# resp.events[0].
|
861
|
+
# resp.events[0].resources[0].name #=> String
|
862
|
+
# resp.events[0].resources[0].arn #=> String
|
737
863
|
# resp.next_token #=> String
|
738
864
|
#
|
739
865
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListEvents AWS API Documentation
|
@@ -745,69 +871,80 @@ module Aws::DevOpsGuru
|
|
745
871
|
req.send_request(options)
|
746
872
|
end
|
747
873
|
|
874
|
+
# Returns a list of insights in your AWS account. You can specify which
|
875
|
+
# insights are returned by their start time and status (`ONGOING`,
|
876
|
+
# `CLOSED`, or `ANY`).
|
877
|
+
#
|
878
|
+
# @option params [required, Types::ListInsightsStatusFilter] :status_filter
|
879
|
+
# A filter used to filter the returned insights by their status. You can
|
880
|
+
# specify one status filter.
|
881
|
+
#
|
748
882
|
# @option params [Integer] :max_results
|
883
|
+
# The maximum number of results to return with a single call. To
|
884
|
+
# retrieve the remaining results, make another call with the returned
|
885
|
+
# `nextToken` value.
|
749
886
|
#
|
750
887
|
# @option params [String] :next_token
|
751
|
-
#
|
752
|
-
#
|
888
|
+
# The pagination token to use to retrieve the next page of results for
|
889
|
+
# this operation. If this value is null, it retrieves the first page.
|
753
890
|
#
|
754
891
|
# @return [Types::ListInsightsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
755
892
|
#
|
756
|
-
# * {Types::ListInsightsResponse#next_token #next_token} => String
|
757
893
|
# * {Types::ListInsightsResponse#proactive_insights #proactive_insights} => Array<Types::ProactiveInsightSummary>
|
758
894
|
# * {Types::ListInsightsResponse#reactive_insights #reactive_insights} => Array<Types::ReactiveInsightSummary>
|
895
|
+
# * {Types::ListInsightsResponse#next_token #next_token} => String
|
759
896
|
#
|
760
897
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
761
898
|
#
|
762
899
|
# @example Request syntax with placeholder values
|
763
900
|
#
|
764
901
|
# resp = client.list_insights({
|
765
|
-
# max_results: 1,
|
766
|
-
# next_token: "__stringMin36Max36PatternAF098AF094AF094AF094AF0912",
|
767
902
|
# status_filter: { # required
|
768
|
-
#
|
769
|
-
# start_time_range: { # required
|
770
|
-
# from_time: Time.now,
|
771
|
-
# to_time: Time.now,
|
772
|
-
# },
|
903
|
+
# ongoing: {
|
773
904
|
# type: "REACTIVE", # required, accepts REACTIVE, PROACTIVE
|
774
905
|
# },
|
775
906
|
# closed: {
|
907
|
+
# type: "REACTIVE", # required, accepts REACTIVE, PROACTIVE
|
776
908
|
# end_time_range: { # required
|
777
909
|
# from_time: Time.now,
|
778
910
|
# to_time: Time.now,
|
779
911
|
# },
|
780
|
-
# type: "REACTIVE", # required, accepts REACTIVE, PROACTIVE
|
781
912
|
# },
|
782
|
-
#
|
913
|
+
# any: {
|
783
914
|
# type: "REACTIVE", # required, accepts REACTIVE, PROACTIVE
|
915
|
+
# start_time_range: { # required
|
916
|
+
# from_time: Time.now,
|
917
|
+
# to_time: Time.now,
|
918
|
+
# },
|
784
919
|
# },
|
785
920
|
# },
|
921
|
+
# max_results: 1,
|
922
|
+
# next_token: "UuidNextToken",
|
786
923
|
# })
|
787
924
|
#
|
788
925
|
# @example Response structure
|
789
926
|
#
|
790
|
-
# resp.next_token #=> String
|
791
927
|
# resp.proactive_insights #=> Array
|
792
928
|
# resp.proactive_insights[0].id #=> String
|
793
|
-
# resp.proactive_insights[0].insight_time_range.end_time #=> Time
|
794
|
-
# resp.proactive_insights[0].insight_time_range.start_time #=> Time
|
795
929
|
# resp.proactive_insights[0].name #=> String
|
796
|
-
# resp.proactive_insights[0].
|
930
|
+
# resp.proactive_insights[0].severity #=> String, one of "LOW", "MEDIUM", "HIGH"
|
931
|
+
# resp.proactive_insights[0].status #=> String, one of "ONGOING", "CLOSED"
|
932
|
+
# resp.proactive_insights[0].insight_time_range.start_time #=> Time
|
933
|
+
# resp.proactive_insights[0].insight_time_range.end_time #=> Time
|
797
934
|
# resp.proactive_insights[0].prediction_time_range.start_time #=> Time
|
935
|
+
# resp.proactive_insights[0].prediction_time_range.end_time #=> Time
|
798
936
|
# resp.proactive_insights[0].resource_collection.cloud_formation.stack_names #=> Array
|
799
937
|
# resp.proactive_insights[0].resource_collection.cloud_formation.stack_names[0] #=> String
|
800
|
-
# resp.proactive_insights[0].severity #=> String, one of "LOW", "MEDIUM", "HIGH"
|
801
|
-
# resp.proactive_insights[0].status #=> String, one of "ONGOING", "CLOSED"
|
802
938
|
# resp.reactive_insights #=> Array
|
803
939
|
# resp.reactive_insights[0].id #=> String
|
804
|
-
# resp.reactive_insights[0].insight_time_range.end_time #=> Time
|
805
|
-
# resp.reactive_insights[0].insight_time_range.start_time #=> Time
|
806
940
|
# resp.reactive_insights[0].name #=> String
|
807
|
-
# resp.reactive_insights[0].resource_collection.cloud_formation.stack_names #=> Array
|
808
|
-
# resp.reactive_insights[0].resource_collection.cloud_formation.stack_names[0] #=> String
|
809
941
|
# resp.reactive_insights[0].severity #=> String, one of "LOW", "MEDIUM", "HIGH"
|
810
942
|
# resp.reactive_insights[0].status #=> String, one of "ONGOING", "CLOSED"
|
943
|
+
# resp.reactive_insights[0].insight_time_range.start_time #=> Time
|
944
|
+
# resp.reactive_insights[0].insight_time_range.end_time #=> Time
|
945
|
+
# resp.reactive_insights[0].resource_collection.cloud_formation.stack_names #=> Array
|
946
|
+
# resp.reactive_insights[0].resource_collection.cloud_formation.stack_names[0] #=> String
|
947
|
+
# resp.next_token #=> String
|
811
948
|
#
|
812
949
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListInsights AWS API Documentation
|
813
950
|
#
|
@@ -818,7 +955,15 @@ module Aws::DevOpsGuru
|
|
818
955
|
req.send_request(options)
|
819
956
|
end
|
820
957
|
|
958
|
+
# Returns a list of notification channels configured for DevOps Guru.
|
959
|
+
# Each notification channel is used to notify you when DevOps Guru
|
960
|
+
# generates an insight that contains information about how to improve
|
961
|
+
# your operations. The one supported notification channel is Amazon
|
962
|
+
# Simple Notification Service (Amazon SNS).
|
963
|
+
#
|
821
964
|
# @option params [String] :next_token
|
965
|
+
# The pagination token to use to retrieve the next page of results for
|
966
|
+
# this operation. If this value is null, it retrieves the first page.
|
822
967
|
#
|
823
968
|
# @return [Types::ListNotificationChannelsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
824
969
|
#
|
@@ -830,14 +975,14 @@ module Aws::DevOpsGuru
|
|
830
975
|
# @example Request syntax with placeholder values
|
831
976
|
#
|
832
977
|
# resp = client.list_notification_channels({
|
833
|
-
# next_token: "
|
978
|
+
# next_token: "UuidNextToken",
|
834
979
|
# })
|
835
980
|
#
|
836
981
|
# @example Response structure
|
837
982
|
#
|
838
983
|
# resp.channels #=> Array
|
839
|
-
# resp.channels[0].config.sns.topic_arn #=> String
|
840
984
|
# resp.channels[0].id #=> String
|
985
|
+
# resp.channels[0].config.sns.topic_arn #=> String
|
841
986
|
# resp.next_token #=> String
|
842
987
|
#
|
843
988
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListNotificationChannels AWS API Documentation
|
@@ -849,32 +994,43 @@ module Aws::DevOpsGuru
|
|
849
994
|
req.send_request(options)
|
850
995
|
end
|
851
996
|
|
997
|
+
# Returns a list of a specified insight's recommendations. Each
|
998
|
+
# recommendation includes a list of related metrics and a list of
|
999
|
+
# related events.
|
1000
|
+
#
|
852
1001
|
# @option params [required, String] :insight_id
|
1002
|
+
# The ID of the requested insight.
|
853
1003
|
#
|
854
1004
|
# @option params [String] :next_token
|
1005
|
+
# The pagination token to use to retrieve the next page of results for
|
1006
|
+
# this operation. If this value is null, it retrieves the first page.
|
855
1007
|
#
|
856
1008
|
# @return [Types::ListRecommendationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
857
1009
|
#
|
858
|
-
# * {Types::ListRecommendationsResponse#next_token #next_token} => String
|
859
1010
|
# * {Types::ListRecommendationsResponse#recommendations #recommendations} => Array<Types::Recommendation>
|
1011
|
+
# * {Types::ListRecommendationsResponse#next_token #next_token} => String
|
860
1012
|
#
|
861
1013
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
862
1014
|
#
|
863
1015
|
# @example Request syntax with placeholder values
|
864
1016
|
#
|
865
1017
|
# resp = client.list_recommendations({
|
866
|
-
# insight_id: "
|
867
|
-
# next_token: "
|
1018
|
+
# insight_id: "InsightId", # required
|
1019
|
+
# next_token: "UuidNextToken",
|
868
1020
|
# })
|
869
1021
|
#
|
870
1022
|
# @example Response structure
|
871
1023
|
#
|
872
|
-
# resp.next_token #=> String
|
873
1024
|
# resp.recommendations #=> Array
|
874
1025
|
# resp.recommendations[0].description #=> String
|
875
1026
|
# resp.recommendations[0].link #=> String
|
876
1027
|
# resp.recommendations[0].name #=> String
|
877
1028
|
# resp.recommendations[0].reason #=> String
|
1029
|
+
# resp.recommendations[0].related_events #=> Array
|
1030
|
+
# resp.recommendations[0].related_events[0].name #=> String
|
1031
|
+
# resp.recommendations[0].related_events[0].resources #=> Array
|
1032
|
+
# resp.recommendations[0].related_events[0].resources[0].name #=> String
|
1033
|
+
# resp.recommendations[0].related_events[0].resources[0].type #=> String
|
878
1034
|
# resp.recommendations[0].related_anomalies #=> Array
|
879
1035
|
# resp.recommendations[0].related_anomalies[0].resources #=> Array
|
880
1036
|
# resp.recommendations[0].related_anomalies[0].resources[0].name #=> String
|
@@ -883,11 +1039,7 @@ module Aws::DevOpsGuru
|
|
883
1039
|
# resp.recommendations[0].related_anomalies[0].source_details[0].cloud_watch_metrics #=> Array
|
884
1040
|
# resp.recommendations[0].related_anomalies[0].source_details[0].cloud_watch_metrics[0].metric_name #=> String
|
885
1041
|
# resp.recommendations[0].related_anomalies[0].source_details[0].cloud_watch_metrics[0].namespace #=> String
|
886
|
-
# resp.
|
887
|
-
# resp.recommendations[0].related_events[0].name #=> String
|
888
|
-
# resp.recommendations[0].related_events[0].resources #=> Array
|
889
|
-
# resp.recommendations[0].related_events[0].resources[0].name #=> String
|
890
|
-
# resp.recommendations[0].related_events[0].resources[0].type #=> String
|
1042
|
+
# resp.next_token #=> String
|
891
1043
|
#
|
892
1044
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListRecommendations AWS API Documentation
|
893
1045
|
#
|
@@ -898,7 +1050,11 @@ module Aws::DevOpsGuru
|
|
898
1050
|
req.send_request(options)
|
899
1051
|
end
|
900
1052
|
|
1053
|
+
# Collects customer feedback about the specified insight.
|
1054
|
+
#
|
901
1055
|
# @option params [Types::InsightFeedback] :insight_feedback
|
1056
|
+
# The feedback from customers is about the recommendations in this
|
1057
|
+
# insight.
|
902
1058
|
#
|
903
1059
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
904
1060
|
#
|
@@ -906,8 +1062,8 @@ module Aws::DevOpsGuru
|
|
906
1062
|
#
|
907
1063
|
# resp = client.put_feedback({
|
908
1064
|
# insight_feedback: {
|
1065
|
+
# id: "InsightId",
|
909
1066
|
# feedback: "VALID_COLLECTION", # accepts VALID_COLLECTION, RECOMMENDATION_USEFUL, ALERT_TOO_SENSITIVE, DATA_NOISY_ANOMALY, DATA_INCORRECT
|
910
|
-
# id: "__stringMin1Max100PatternW",
|
911
1067
|
# },
|
912
1068
|
# })
|
913
1069
|
#
|
@@ -920,14 +1076,19 @@ module Aws::DevOpsGuru
|
|
920
1076
|
req.send_request(options)
|
921
1077
|
end
|
922
1078
|
|
1079
|
+
# Removes a notification channel from DevOps Guru. A notification
|
1080
|
+
# channel is used to notify you when DevOps Guru generates an insight
|
1081
|
+
# that contains information about how to improve your operations.
|
1082
|
+
#
|
923
1083
|
# @option params [required, String] :id
|
1084
|
+
# The ID of the notification channel to be removed.
|
924
1085
|
#
|
925
1086
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
926
1087
|
#
|
927
1088
|
# @example Request syntax with placeholder values
|
928
1089
|
#
|
929
1090
|
# resp = client.remove_notification_channel({
|
930
|
-
# id: "
|
1091
|
+
# id: "NotificationChannelId", # required
|
931
1092
|
# })
|
932
1093
|
#
|
933
1094
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/RemoveNotificationChannel AWS API Documentation
|
@@ -939,68 +1100,88 @@ module Aws::DevOpsGuru
|
|
939
1100
|
req.send_request(options)
|
940
1101
|
end
|
941
1102
|
|
1103
|
+
# Returns a list of insights in your AWS account. You can specify which
|
1104
|
+
# insights are returned by their start time, one or more statuses
|
1105
|
+
# (`ONGOING`, `CLOSED`, and `CLOSED`), one or more severities (`LOW`,
|
1106
|
+
# `MEDIUM`, and `HIGH`), and type (`REACTIVE` or `PROACTIVE`).
|
1107
|
+
#
|
1108
|
+
# Use the `Filters` parameter to specify status and severity search
|
1109
|
+
# parameters. Use the `Type` parameter to specify `REACTIVE` or
|
1110
|
+
# `PROACTIVE` in your search.
|
1111
|
+
#
|
1112
|
+
# @option params [required, Types::StartTimeRange] :start_time_range
|
1113
|
+
# The start of the time range passed in. Returned insights occurred
|
1114
|
+
# after this time.
|
1115
|
+
#
|
942
1116
|
# @option params [Types::SearchInsightsFilters] :filters
|
1117
|
+
# A `SearchInsightsFilters` object that is used to set the severity and
|
1118
|
+
# status filters on your insight search.
|
943
1119
|
#
|
944
1120
|
# @option params [Integer] :max_results
|
1121
|
+
# The maximum number of results to return with a single call. To
|
1122
|
+
# retrieve the remaining results, make another call with the returned
|
1123
|
+
# `nextToken` value.
|
945
1124
|
#
|
946
1125
|
# @option params [String] :next_token
|
947
|
-
#
|
948
|
-
#
|
1126
|
+
# The pagination token to use to retrieve the next page of results for
|
1127
|
+
# this operation. If this value is null, it retrieves the first page.
|
949
1128
|
#
|
950
1129
|
# @option params [required, String] :type
|
1130
|
+
# The type of insights you are searching for (`REACTIVE` or
|
1131
|
+
# `PROACTIVE`).
|
951
1132
|
#
|
952
1133
|
# @return [Types::SearchInsightsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
953
1134
|
#
|
954
|
-
# * {Types::SearchInsightsResponse#next_token #next_token} => String
|
955
1135
|
# * {Types::SearchInsightsResponse#proactive_insights #proactive_insights} => Array<Types::ProactiveInsightSummary>
|
956
1136
|
# * {Types::SearchInsightsResponse#reactive_insights #reactive_insights} => Array<Types::ReactiveInsightSummary>
|
1137
|
+
# * {Types::SearchInsightsResponse#next_token #next_token} => String
|
957
1138
|
#
|
958
1139
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
959
1140
|
#
|
960
1141
|
# @example Request syntax with placeholder values
|
961
1142
|
#
|
962
1143
|
# resp = client.search_insights({
|
1144
|
+
# start_time_range: { # required
|
1145
|
+
# from_time: Time.now,
|
1146
|
+
# to_time: Time.now,
|
1147
|
+
# },
|
963
1148
|
# filters: {
|
1149
|
+
# severities: ["LOW"], # accepts LOW, MEDIUM, HIGH
|
1150
|
+
# statuses: ["ONGOING"], # accepts ONGOING, CLOSED
|
964
1151
|
# resource_collection: {
|
965
1152
|
# cloud_formation: {
|
966
|
-
# stack_names: ["
|
1153
|
+
# stack_names: ["StackName"],
|
967
1154
|
# },
|
968
1155
|
# },
|
969
|
-
# severities: ["LOW"], # accepts LOW, MEDIUM, HIGH
|
970
|
-
# statuses: ["ONGOING"], # accepts ONGOING, CLOSED
|
971
1156
|
# },
|
972
1157
|
# max_results: 1,
|
973
|
-
# next_token: "
|
974
|
-
# start_time_range: { # required
|
975
|
-
# from_time: Time.now,
|
976
|
-
# to_time: Time.now,
|
977
|
-
# },
|
1158
|
+
# next_token: "UuidNextToken",
|
978
1159
|
# type: "REACTIVE", # required, accepts REACTIVE, PROACTIVE
|
979
1160
|
# })
|
980
1161
|
#
|
981
1162
|
# @example Response structure
|
982
1163
|
#
|
983
|
-
# resp.next_token #=> String
|
984
1164
|
# resp.proactive_insights #=> Array
|
985
1165
|
# resp.proactive_insights[0].id #=> String
|
986
|
-
# resp.proactive_insights[0].insight_time_range.end_time #=> Time
|
987
|
-
# resp.proactive_insights[0].insight_time_range.start_time #=> Time
|
988
1166
|
# resp.proactive_insights[0].name #=> String
|
989
|
-
# resp.proactive_insights[0].
|
1167
|
+
# resp.proactive_insights[0].severity #=> String, one of "LOW", "MEDIUM", "HIGH"
|
1168
|
+
# resp.proactive_insights[0].status #=> String, one of "ONGOING", "CLOSED"
|
1169
|
+
# resp.proactive_insights[0].insight_time_range.start_time #=> Time
|
1170
|
+
# resp.proactive_insights[0].insight_time_range.end_time #=> Time
|
990
1171
|
# resp.proactive_insights[0].prediction_time_range.start_time #=> Time
|
1172
|
+
# resp.proactive_insights[0].prediction_time_range.end_time #=> Time
|
991
1173
|
# resp.proactive_insights[0].resource_collection.cloud_formation.stack_names #=> Array
|
992
1174
|
# resp.proactive_insights[0].resource_collection.cloud_formation.stack_names[0] #=> String
|
993
|
-
# resp.proactive_insights[0].severity #=> String, one of "LOW", "MEDIUM", "HIGH"
|
994
|
-
# resp.proactive_insights[0].status #=> String, one of "ONGOING", "CLOSED"
|
995
1175
|
# resp.reactive_insights #=> Array
|
996
1176
|
# resp.reactive_insights[0].id #=> String
|
997
|
-
# resp.reactive_insights[0].insight_time_range.end_time #=> Time
|
998
|
-
# resp.reactive_insights[0].insight_time_range.start_time #=> Time
|
999
1177
|
# resp.reactive_insights[0].name #=> String
|
1000
|
-
# resp.reactive_insights[0].resource_collection.cloud_formation.stack_names #=> Array
|
1001
|
-
# resp.reactive_insights[0].resource_collection.cloud_formation.stack_names[0] #=> String
|
1002
1178
|
# resp.reactive_insights[0].severity #=> String, one of "LOW", "MEDIUM", "HIGH"
|
1003
1179
|
# resp.reactive_insights[0].status #=> String, one of "ONGOING", "CLOSED"
|
1180
|
+
# resp.reactive_insights[0].insight_time_range.start_time #=> Time
|
1181
|
+
# resp.reactive_insights[0].insight_time_range.end_time #=> Time
|
1182
|
+
# resp.reactive_insights[0].resource_collection.cloud_formation.stack_names #=> Array
|
1183
|
+
# resp.reactive_insights[0].resource_collection.cloud_formation.stack_names[0] #=> String
|
1184
|
+
# resp.next_token #=> String
|
1004
1185
|
#
|
1005
1186
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/SearchInsights AWS API Documentation
|
1006
1187
|
#
|
@@ -1011,9 +1192,18 @@ module Aws::DevOpsGuru
|
|
1011
1192
|
req.send_request(options)
|
1012
1193
|
end
|
1013
1194
|
|
1195
|
+
# Updates the collection of resources that DevOps Guru analyzes. The one
|
1196
|
+
# type of AWS resource collection supported is AWS CloudFormation
|
1197
|
+
# stacks. DevOps Guru can be configured to analyze only the AWS
|
1198
|
+
# resources that are defined in the stacks. This method also creates the
|
1199
|
+
# IAM role required for you to use DevOps Guru.
|
1200
|
+
#
|
1014
1201
|
# @option params [required, String] :action
|
1202
|
+
# Specifies if the resource collection in the request is added or
|
1203
|
+
# deleted to the resource collection.
|
1015
1204
|
#
|
1016
1205
|
# @option params [required, Types::UpdateResourceCollectionFilter] :resource_collection
|
1206
|
+
# Contains information used to update a collection of AWS resources.
|
1017
1207
|
#
|
1018
1208
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1019
1209
|
#
|
@@ -1023,7 +1213,7 @@ module Aws::DevOpsGuru
|
|
1023
1213
|
# action: "ADD", # required, accepts ADD, REMOVE
|
1024
1214
|
# resource_collection: { # required
|
1025
1215
|
# cloud_formation: {
|
1026
|
-
# stack_names: ["
|
1216
|
+
# stack_names: ["StackName"],
|
1027
1217
|
# },
|
1028
1218
|
# },
|
1029
1219
|
# })
|
@@ -1037,7 +1227,15 @@ module Aws::DevOpsGuru
|
|
1037
1227
|
req.send_request(options)
|
1038
1228
|
end
|
1039
1229
|
|
1230
|
+
# Enables or disables integration with a service that can be integrated
|
1231
|
+
# with DevOps Guru. The one service that can be integrated with DevOps
|
1232
|
+
# Guru is AWS Systems Manager, which can be used to create an OpsItem
|
1233
|
+
# for each generated insight.
|
1234
|
+
#
|
1040
1235
|
# @option params [required, Types::UpdateServiceIntegrationConfig] :service_integration
|
1236
|
+
# An `IntegratedServiceConfig` object used to specify the integrated
|
1237
|
+
# service you want to update, and whether you want to update it to
|
1238
|
+
# enabled or disabled.
|
1041
1239
|
#
|
1042
1240
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1043
1241
|
#
|
@@ -1073,7 +1271,7 @@ module Aws::DevOpsGuru
|
|
1073
1271
|
params: params,
|
1074
1272
|
config: config)
|
1075
1273
|
context[:gem_name] = 'aws-sdk-devopsguru'
|
1076
|
-
context[:gem_version] = '1.
|
1274
|
+
context[:gem_version] = '1.5.0'
|
1077
1275
|
Seahorse::Client::Request.new(handlers, context)
|
1078
1276
|
end
|
1079
1277
|
|