aws-sdk-devopsguru 1.3.0 → 1.4.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 +4 -4
- data/lib/aws-sdk-devopsguru.rb +1 -1
- data/lib/aws-sdk-devopsguru/client.rb +31 -1
- data/lib/aws-sdk-devopsguru/client_api.rb +21 -0
- data/lib/aws-sdk-devopsguru/types.rb +31 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 03d2d75b3bb6e5c387eb9bd608546fc82dd14bb7b4fe471e43fa3fef34e6f0e3
|
|
4
|
+
data.tar.gz: cbe648d9b12d00635cf1080e2a6cc9d1d9972056039d6c4452d97ce3c26004ed
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8c3431e483000fb0e4d85ae3c07b932615247b730f427ff7da36d2d9b90e7f9a45d55b5be9129540fbb658e850db02feb725aa5dcc52bd70b52e7e714ea0ba8d
|
|
7
|
+
data.tar.gz: 564c723c92e9e37f896521247e998f7010dff84a67fe252950a80e4f8f6ec6c29c721dbe047f567d04c5acc27c74694c193a83d58cf61f5055cc47f30253633c
|
data/lib/aws-sdk-devopsguru.rb
CHANGED
|
@@ -517,6 +517,36 @@ module Aws::DevOpsGuru
|
|
|
517
517
|
req.send_request(options)
|
|
518
518
|
end
|
|
519
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
|
+
|
|
520
550
|
# Returns details about an insight that you specify using its ID.
|
|
521
551
|
#
|
|
522
552
|
# @option params [required, String] :id
|
|
@@ -1241,7 +1271,7 @@ module Aws::DevOpsGuru
|
|
|
1241
1271
|
params: params,
|
|
1242
1272
|
config: config)
|
|
1243
1273
|
context[:gem_name] = 'aws-sdk-devopsguru'
|
|
1244
|
-
context[:gem_version] = '1.
|
|
1274
|
+
context[:gem_version] = '1.4.0'
|
|
1245
1275
|
Seahorse::Client::Request.new(handlers, context)
|
|
1246
1276
|
end
|
|
1247
1277
|
|
|
@@ -45,6 +45,8 @@ module Aws::DevOpsGuru
|
|
|
45
45
|
DescribeAccountOverviewResponse = Shapes::StructureShape.new(name: 'DescribeAccountOverviewResponse')
|
|
46
46
|
DescribeAnomalyRequest = Shapes::StructureShape.new(name: 'DescribeAnomalyRequest')
|
|
47
47
|
DescribeAnomalyResponse = Shapes::StructureShape.new(name: 'DescribeAnomalyResponse')
|
|
48
|
+
DescribeFeedbackRequest = Shapes::StructureShape.new(name: 'DescribeFeedbackRequest')
|
|
49
|
+
DescribeFeedbackResponse = Shapes::StructureShape.new(name: 'DescribeFeedbackResponse')
|
|
48
50
|
DescribeInsightRequest = Shapes::StructureShape.new(name: 'DescribeInsightRequest')
|
|
49
51
|
DescribeInsightResponse = Shapes::StructureShape.new(name: 'DescribeInsightResponse')
|
|
50
52
|
DescribeResourceCollectionHealthRequest = Shapes::StructureShape.new(name: 'DescribeResourceCollectionHealthRequest')
|
|
@@ -267,6 +269,12 @@ module Aws::DevOpsGuru
|
|
|
267
269
|
DescribeAnomalyResponse.add_member(:reactive_anomaly, Shapes::ShapeRef.new(shape: ReactiveAnomaly, location_name: "ReactiveAnomaly"))
|
|
268
270
|
DescribeAnomalyResponse.struct_class = Types::DescribeAnomalyResponse
|
|
269
271
|
|
|
272
|
+
DescribeFeedbackRequest.add_member(:insight_id, Shapes::ShapeRef.new(shape: InsightId, location_name: "InsightId"))
|
|
273
|
+
DescribeFeedbackRequest.struct_class = Types::DescribeFeedbackRequest
|
|
274
|
+
|
|
275
|
+
DescribeFeedbackResponse.add_member(:insight_feedback, Shapes::ShapeRef.new(shape: InsightFeedback, location_name: "InsightFeedback"))
|
|
276
|
+
DescribeFeedbackResponse.struct_class = Types::DescribeFeedbackResponse
|
|
277
|
+
|
|
270
278
|
DescribeInsightRequest.add_member(:id, Shapes::ShapeRef.new(shape: InsightId, required: true, location: "uri", location_name: "Id"))
|
|
271
279
|
DescribeInsightRequest.struct_class = Types::DescribeInsightRequest
|
|
272
280
|
|
|
@@ -722,6 +730,19 @@ module Aws::DevOpsGuru
|
|
|
722
730
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
723
731
|
end)
|
|
724
732
|
|
|
733
|
+
api.add_operation(:describe_feedback, Seahorse::Model::Operation.new.tap do |o|
|
|
734
|
+
o.name = "DescribeFeedback"
|
|
735
|
+
o.http_method = "POST"
|
|
736
|
+
o.http_request_uri = "/feedback"
|
|
737
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeFeedbackRequest)
|
|
738
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeFeedbackResponse)
|
|
739
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
740
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
741
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
742
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
743
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
744
|
+
end)
|
|
745
|
+
|
|
725
746
|
api.add_operation(:describe_insight, Seahorse::Model::Operation.new.tap do |o|
|
|
726
747
|
o.name = "DescribeInsight"
|
|
727
748
|
o.http_method = "GET"
|
|
@@ -402,6 +402,37 @@ module Aws::DevOpsGuru
|
|
|
402
402
|
include Aws::Structure
|
|
403
403
|
end
|
|
404
404
|
|
|
405
|
+
# @note When making an API call, you may pass DescribeFeedbackRequest
|
|
406
|
+
# data as a hash:
|
|
407
|
+
#
|
|
408
|
+
# {
|
|
409
|
+
# insight_id: "InsightId",
|
|
410
|
+
# }
|
|
411
|
+
#
|
|
412
|
+
# @!attribute [rw] insight_id
|
|
413
|
+
# The ID of the insight for which the feedback was provided.
|
|
414
|
+
# @return [String]
|
|
415
|
+
#
|
|
416
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeFeedbackRequest AWS API Documentation
|
|
417
|
+
#
|
|
418
|
+
class DescribeFeedbackRequest < Struct.new(
|
|
419
|
+
:insight_id)
|
|
420
|
+
SENSITIVE = []
|
|
421
|
+
include Aws::Structure
|
|
422
|
+
end
|
|
423
|
+
|
|
424
|
+
# @!attribute [rw] insight_feedback
|
|
425
|
+
# Information about insight feedback received from a customer.
|
|
426
|
+
# @return [Types::InsightFeedback]
|
|
427
|
+
#
|
|
428
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeFeedbackResponse AWS API Documentation
|
|
429
|
+
#
|
|
430
|
+
class DescribeFeedbackResponse < Struct.new(
|
|
431
|
+
:insight_feedback)
|
|
432
|
+
SENSITIVE = []
|
|
433
|
+
include Aws::Structure
|
|
434
|
+
end
|
|
435
|
+
|
|
405
436
|
# @note When making an API call, you may pass DescribeInsightRequest
|
|
406
437
|
# data as a hash:
|
|
407
438
|
#
|
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.
|
|
4
|
+
version: 1.4.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: 2021-02-
|
|
11
|
+
date: 2021-02-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|