aws-sdk-devopsguru 1.22.0 → 1.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a438548b64db73351f1ba1bf8c8d31f6e4ec8d7ddb5900e981b50634b30709bc
4
- data.tar.gz: 2fb42fc6deb6994009bc70a5767269c25b4fa24eb0de525255400e21e59b7690
3
+ metadata.gz: b78409e5f12b3554d99d580bb93596e059e6fcff9b3cdaffb8dd4ebc1f8ed2cf
4
+ data.tar.gz: 12ac76d290297f8d0d13f4a43cd83ab582668991d6bb80b6d8ccbf608caf3583
5
5
  SHA512:
6
- metadata.gz: 3e201d8d8fcc3cacc4f8430fbc16d2a59bbaf55c8f047ef5a38b483f1dace50da73ae2a1d023f024160e3ac88d32d1521cc071fff66d57118bd48d3f11781030
7
- data.tar.gz: eed370330e3d6dc5176ddcf6a2dc5b970894c1568885bc3b4d85660f59069bcac3096f171865138b7d9c49bbd700937fedb88a66b0bfc4256bc2db868d597a9f
6
+ metadata.gz: 8d596928400bc27386fbea990ab283937711345415b4b1755bac000916b2236c7f3ad7ee3f159a256a619ed3b488574db3fc2b850f1e961350233b7c7ad7ce64
7
+ data.tar.gz: ca60c67d1afdd0233e9bc6351a6fec2ba3ba214eebb569e6759fee15e00e4354defb4b2582b22738fbcc10fe752750565c85ebba60c09d1b12100f8b4817ac84
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.23.0 (2022-04-12)
5
+ ------------------
6
+
7
+ * Feature - This release adds new APIs DeleteInsight to deletes the insight along with the associated anomalies, events and recommendations.
8
+
4
9
  1.22.0 (2022-03-04)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.22.0
1
+ 1.23.0
@@ -358,8 +358,15 @@ module Aws::DevOpsGuru
358
358
  # If you use an Amazon SNS topic in another account, you must attach a
359
359
  # policy to it that grants DevOps Guru permission to it notifications.
360
360
  # DevOps Guru adds the required policy on your behalf to send
361
+ # notifications using Amazon SNS in your account. DevOps Guru only
362
+ # supports standard SNS topics. For more information, see [Permissions
363
+ # for cross account Amazon SNS topics][1].
364
+ #
365
+ # If you use an Amazon SNS topic in another account, you must attach a
366
+ # policy to it that grants DevOps Guru permission to it notifications.
367
+ # DevOps Guru adds the required policy on your behalf to send
361
368
  # notifications using Amazon SNS in your account. For more information,
362
- # see [Permissions for cross account Amazon SNS topics][1].
369
+ # see Permissions for cross account Amazon SNS topics.
363
370
  #
364
371
  # If you use an Amazon SNS topic that is encrypted by an Amazon Web
365
372
  # Services Key Management Service customer-managed key (CMK), then you
@@ -404,6 +411,29 @@ module Aws::DevOpsGuru
404
411
  req.send_request(options)
405
412
  end
406
413
 
414
+ # Deletes the insight along with the associated anomalies, events and
415
+ # recommendations.
416
+ #
417
+ # @option params [required, String] :id
418
+ # The ID of the insight.
419
+ #
420
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
421
+ #
422
+ # @example Request syntax with placeholder values
423
+ #
424
+ # resp = client.delete_insight({
425
+ # id: "InsightId", # required
426
+ # })
427
+ #
428
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DeleteInsight AWS API Documentation
429
+ #
430
+ # @overload delete_insight(params = {})
431
+ # @param [Hash] params ({})
432
+ def delete_insight(params = {}, options = {})
433
+ req = build_request(:delete_insight, params)
434
+ req.send_request(options)
435
+ end
436
+
407
437
  # Returns the number of open reactive insights, the number of open
408
438
  # proactive insights, and the number of metrics analyzed in your Amazon
409
439
  # Web Services account. Use these numbers to gauge the health of
@@ -631,8 +661,11 @@ module Aws::DevOpsGuru
631
661
  req.send_request(options)
632
662
  end
633
663
 
634
- # This operation lists details about a DevOps Guru event source that is
635
- # shared with your
 account.
664
+ # Returns the integration status of services that are integrated with
665
+ # DevOps Guru your
 accountas Consumer via EventBridge. The one service that can be
666
+ # integrated with DevOps Guru is Amazon CodeGuru Profiler, which can
667
+ # produce proactive recommendations which can be stored and viewed in
668
+ # DevOps Guru.
636
669
  #
637
670
  # @return [Types::DescribeEventSourcesConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
638
671
  #
@@ -2020,10 +2053,14 @@ module Aws::DevOpsGuru
2020
2053
  req.send_request(options)
2021
2054
  end
2022
2055
 
2023
- # Updates the event source configuration.
2056
+ # Enables or disables integration with a service that can be integrated
2057
+ # with DevOps Guru. The one service that can be integrated with DevOps
2058
+ # Guru is Amazon CodeGuru Profiler, which can produce proactive
2059
+ # recommendations which can be stored and viewed in DevOps Guru.
2024
2060
  #
2025
2061
  # @option params [Types::EventSourcesConfig] :event_sources
2026
- # The name of the event source.
2062
+ # Configuration information about the integration of DevOps Guru as the
2063
+ # Consumer via EventBridge with another AWS Service.
2027
2064
  #
2028
2065
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2029
2066
  #
@@ -2135,7 +2172,7 @@ module Aws::DevOpsGuru
2135
2172
  params: params,
2136
2173
  config: config)
2137
2174
  context[:gem_name] = 'aws-sdk-devopsguru'
2138
- context[:gem_version] = '1.22.0'
2175
+ context[:gem_version] = '1.23.0'
2139
2176
  Seahorse::Client::Request.new(handlers, context)
2140
2177
  end
2141
2178
 
@@ -67,6 +67,8 @@ module Aws::DevOpsGuru
67
67
  CostEstimationStatus = Shapes::StringShape.new(name: 'CostEstimationStatus')
68
68
  CostEstimationTagValues = Shapes::ListShape.new(name: 'CostEstimationTagValues')
69
69
  CostEstimationTimeRange = Shapes::StructureShape.new(name: 'CostEstimationTimeRange')
70
+ DeleteInsightRequest = Shapes::StructureShape.new(name: 'DeleteInsightRequest')
71
+ DeleteInsightResponse = Shapes::StructureShape.new(name: 'DeleteInsightResponse')
70
72
  DescribeAccountHealthRequest = Shapes::StructureShape.new(name: 'DescribeAccountHealthRequest')
71
73
  DescribeAccountHealthResponse = Shapes::StructureShape.new(name: 'DescribeAccountHealthResponse')
72
74
  DescribeAccountOverviewRequest = Shapes::StructureShape.new(name: 'DescribeAccountOverviewRequest')
@@ -413,6 +415,11 @@ module Aws::DevOpsGuru
413
415
  CostEstimationTimeRange.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTime"))
414
416
  CostEstimationTimeRange.struct_class = Types::CostEstimationTimeRange
415
417
 
418
+ DeleteInsightRequest.add_member(:id, Shapes::ShapeRef.new(shape: InsightId, required: true, location: "uri", location_name: "Id"))
419
+ DeleteInsightRequest.struct_class = Types::DeleteInsightRequest
420
+
421
+ DeleteInsightResponse.struct_class = Types::DeleteInsightResponse
422
+
416
423
  DescribeAccountHealthRequest.struct_class = Types::DescribeAccountHealthRequest
417
424
 
418
425
  DescribeAccountHealthResponse.add_member(:open_reactive_insights, Shapes::ShapeRef.new(shape: NumOpenReactiveInsights, required: true, location_name: "OpenReactiveInsights"))
@@ -1141,6 +1148,20 @@ module Aws::DevOpsGuru
1141
1148
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1142
1149
  end)
1143
1150
 
1151
+ api.add_operation(:delete_insight, Seahorse::Model::Operation.new.tap do |o|
1152
+ o.name = "DeleteInsight"
1153
+ o.http_method = "DELETE"
1154
+ o.http_request_uri = "/insights/{Id}"
1155
+ o.input = Shapes::ShapeRef.new(shape: DeleteInsightRequest)
1156
+ o.output = Shapes::ShapeRef.new(shape: DeleteInsightResponse)
1157
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1158
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1159
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1160
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1161
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1162
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1163
+ end)
1164
+
1144
1165
  api.add_operation(:describe_account_health, Seahorse::Model::Operation.new.tap do |o|
1145
1166
  o.name = "DescribeAccountHealth"
1146
1167
  o.http_method = "GET"
@@ -114,7 +114,8 @@ module Aws::DevOpsGuru
114
114
  end
115
115
 
116
116
  # Information about your account's integration with Amazon CodeGuru
117
- # Profiler.
117
+ # Profiler. This returns whether DevOps Guru is configured to consume
118
+ # recommendations generated from Amazon CodeGuru Profiler.
118
119
  #
119
120
  # @note When making an API call, you may pass AmazonCodeGuruProfilerIntegration
120
121
  # data as a hash:
@@ -124,7 +125,9 @@ module Aws::DevOpsGuru
124
125
  # }
125
126
  #
126
127
  # @!attribute [rw] status
127
- # The status of the CodeGuru Profiler integration.
128
+ # The status of the CodeGuru Profiler integration. Specifies if DevOps
129
+ # Guru is enabled to consume recommendations that are generated from
130
+ # Amazon CodeGuru Profiler.
128
131
  # @return [String]
129
132
  #
130
133
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/AmazonCodeGuruProfilerIntegration AWS API Documentation
@@ -204,8 +207,9 @@ module Aws::DevOpsGuru
204
207
  include Aws::Structure
205
208
  end
206
209
 
207
- # Metadata about an anomaly. The anomaly is detected using analysis of
208
- # the metric data
 over a period of timethe metric data

210
+ # Metadata about the detection source that generates proactive
211
+ # anomalies. The data
 overanomaly is detected using analysis of the metric data

212
+ # over a period of time
209
213
  #
210
214
  # @!attribute [rw] source
211
215
  # The source of the anomaly.
@@ -582,6 +586,29 @@ module Aws::DevOpsGuru
582
586
  include Aws::Structure
583
587
  end
584
588
 
589
+ # @note When making an API call, you may pass DeleteInsightRequest
590
+ # data as a hash:
591
+ #
592
+ # {
593
+ # id: "InsightId", # required
594
+ # }
595
+ #
596
+ # @!attribute [rw] id
597
+ # The ID of the insight.
598
+ # @return [String]
599
+ #
600
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DeleteInsightRequest AWS API Documentation
601
+ #
602
+ class DeleteInsightRequest < Struct.new(
603
+ :id)
604
+ SENSITIVE = []
605
+ include Aws::Structure
606
+ end
607
+
608
+ # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DeleteInsightResponse AWS API Documentation
609
+ #
610
+ class DeleteInsightResponse < Aws::EmptyStructure; end
611
+
585
612
  # @api private
586
613
  #
587
614
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeAccountHealthRequest AWS API Documentation
@@ -725,7 +752,7 @@ module Aws::DevOpsGuru
725
752
  class DescribeEventSourcesConfigRequest < Aws::EmptyStructure; end
726
753
 
727
754
  # @!attribute [rw] event_sources
728
- # The name of the event source.
755
+ # Lists the event sources in the configuration.
729
756
  # @return [Types::EventSourcesConfig]
730
757
  #
731
758
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeEventSourcesConfigResponse AWS API Documentation
@@ -1288,7 +1315,8 @@ module Aws::DevOpsGuru
1288
1315
  include Aws::Structure
1289
1316
  end
1290
1317
 
1291
- # Describes the event sources.
1318
+ # Information about the integration of DevOps Guru as consumer with
1319
+ # another AWS service, such as AWS CodeGuru Profiler via EventBridge.
1292
1320
  #
1293
1321
  # @note When making an API call, you may pass EventSourcesConfig
1294
1322
  # data as a hash:
@@ -1300,6 +1328,8 @@ module Aws::DevOpsGuru
1300
1328
  # }
1301
1329
  #
1302
1330
  # @!attribute [rw] amazon_code_guru_profiler
1331
+ # Information about whether DevOps Guru is configured to consume
1332
+ # recommendations which are generated from AWS CodeGuru Profiler.
1303
1333
  # @return [Types::AmazonCodeGuruProfilerIntegration]
1304
1334
  #
1305
1335
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/EventSourcesConfig AWS API Documentation
@@ -2180,8 +2210,15 @@ module Aws::DevOpsGuru
2180
2210
  # If you use an Amazon SNS topic in another account, you must attach a
2181
2211
  # policy to it that grants DevOps Guru permission to it notifications.
2182
2212
  # DevOps Guru adds the required policy on your behalf to send
2213
+ # notifications using Amazon SNS in your account. DevOps Guru only
2214
+ # supports standard SNS topics. For more information, see [Permissions
2215
+ # for cross account Amazon SNS topics][1].
2216
+ #
2217
+ # If you use an Amazon SNS topic in another account, you must attach a
2218
+ # policy to it that grants DevOps Guru permission to it notifications.
2219
+ # DevOps Guru adds the required policy on your behalf to send
2183
2220
  # notifications using Amazon SNS in your account. For more information,
2184
- # see [Permissions for cross account Amazon SNS topics][1].
2221
+ # see Permissions for cross account Amazon SNS topics.
2185
2222
  #
2186
2223
  # If you use an Amazon SNS topic that is encrypted by an Amazon Web
2187
2224
  # Services Key Management Service customer-managed key (CMK), then you
@@ -2232,9 +2269,15 @@ module Aws::DevOpsGuru
2232
2269
  # If you use an Amazon SNS topic in another account, you must attach a
2233
2270
  # policy to it that grants DevOps Guru permission to it notifications.
2234
2271
  # DevOps Guru adds the required policy on your behalf to send
2272
+ # notifications using Amazon SNS in your account. DevOps Guru only
2273
+ # supports standard SNS topics. For more information, see [Permissions
2274
+ # for cross account Amazon SNS topics][1].
2275
+ #
2276
+ # If you use an Amazon SNS topic in another account, you must attach a
2277
+ # policy to it that grants DevOps Guru permission to it notifications.
2278
+ # DevOps Guru adds the required policy on your behalf to send
2235
2279
  # notifications using Amazon SNS in your account. For more
2236
- # information, see [Permissions for cross account Amazon SNS
2237
- # topics][1].
2280
+ # information, see Permissions for cross account Amazon SNS topics.
2238
2281
  #
2239
2282
  # If you use an Amazon SNS topic that is encrypted by an Amazon Web
2240
2283
  # Services Key Management Service customer-managed key (CMK), then you
@@ -2863,7 +2906,7 @@ module Aws::DevOpsGuru
2863
2906
  # @return [Float]
2864
2907
  #
2865
2908
  # @!attribute [rw] source_metadata
2866
- # Returns the metadata of the source.
2909
+ # The metadata of the source which detects proactive anomalies.
2867
2910
  # @return [Types::AnomalySourceMetadata]
2868
2911
  #
2869
2912
  # @!attribute [rw] anomaly_resources
@@ -4386,8 +4429,15 @@ module Aws::DevOpsGuru
4386
4429
  # If you use an Amazon SNS topic in another account, you must attach a
4387
4430
  # policy to it that grants DevOps Guru permission to it notifications.
4388
4431
  # DevOps Guru adds the required policy on your behalf to send
4432
+ # notifications using Amazon SNS in your account. DevOps Guru only
4433
+ # supports standard SNS topics. For more information, see [Permissions
4434
+ # for cross account Amazon SNS topics][1].
4435
+ #
4436
+ # If you use an Amazon SNS topic in another account, you must attach a
4437
+ # policy to it that grants DevOps Guru permission to it notifications.
4438
+ # DevOps Guru adds the required policy on your behalf to send
4389
4439
  # notifications using Amazon SNS in your account. For more information,
4390
- # see [Permissions for cross account Amazon SNS topics][1].
4440
+ # see Permissions for cross account Amazon SNS topics.
4391
4441
  #
4392
4442
  # If you use an Amazon SNS topic that is encrypted by an Amazon Web
4393
4443
  # Services Key Management Service customer-managed key (CMK), then you
@@ -4805,7 +4855,8 @@ module Aws::DevOpsGuru
4805
4855
  # }
4806
4856
  #
4807
4857
  # @!attribute [rw] event_sources
4808
- # The name of the event source.
4858
+ # Configuration information about the integration of DevOps Guru as
4859
+ # the Consumer via EventBridge with another AWS Service.
4809
4860
  # @return [Types::EventSourcesConfig]
4810
4861
  #
4811
4862
  # @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/UpdateEventSourcesConfigRequest AWS API Documentation
@@ -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.22.0'
51
+ GEM_VERSION = '1.23.0'
52
52
 
53
53
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-devopsguru
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.22.0
4
+ version: 1.23.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-04 00:00:00.000000000 Z
11
+ date: 2022-04-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core