aws-sdk-devopsguru 1.29.0 → 1.30.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-devopsguru/client.rb +3 -1
- data/lib/aws-sdk-devopsguru/client_api.rb +2 -0
- data/lib/aws-sdk-devopsguru/endpoint_parameters.rb +0 -3
- data/lib/aws-sdk-devopsguru/endpoint_provider.rb +27 -24
- data/lib/aws-sdk-devopsguru/types.rb +25 -11
- data/lib/aws-sdk-devopsguru.rb +1 -1
- 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: fb6a50cf0617efd38feaabf7009affec557c26ac7b3721f0d9be7da36067cb01
|
4
|
+
data.tar.gz: 6c74b061b4a828984c2a31b7e0011f2af2f25a7e69c77b91ace01fce6b349f45
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5e28de50a9b36131b0fae20554f98d1eb4effa25db1c4c0fbdcb1d156a2b927c5a57ca0711a36d609af5515d55c2cdc53699f50f2251419afdb758342809373
|
7
|
+
data.tar.gz: 9c9a6a2fab6b34995aa2cd4d7c034e916d074199f258d829014e4b418ecbaf96c2bc5459d86b36b2aced38b47bc457ccd741cc12750d8d6fba7ebbc3492ed23f
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.30.0 (2023-02-27)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds the description field on ListAnomaliesForInsight and DescribeAnomaly API responses for proactive anomalies.
|
8
|
+
|
4
9
|
1.29.0 (2023-02-01)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.30.0
|
@@ -614,6 +614,7 @@ module Aws::DevOpsGuru
|
|
614
614
|
# resp.proactive_anomaly.anomaly_resources #=> Array
|
615
615
|
# resp.proactive_anomaly.anomaly_resources[0].name #=> String
|
616
616
|
# resp.proactive_anomaly.anomaly_resources[0].type #=> String
|
617
|
+
# resp.proactive_anomaly.description #=> String
|
617
618
|
# resp.reactive_anomaly.id #=> String
|
618
619
|
# resp.reactive_anomaly.severity #=> String, one of "LOW", "MEDIUM", "HIGH"
|
619
620
|
# resp.reactive_anomaly.status #=> String, one of "ONGOING", "CLOSED"
|
@@ -1294,6 +1295,7 @@ module Aws::DevOpsGuru
|
|
1294
1295
|
# resp.proactive_anomalies[0].anomaly_resources #=> Array
|
1295
1296
|
# resp.proactive_anomalies[0].anomaly_resources[0].name #=> String
|
1296
1297
|
# resp.proactive_anomalies[0].anomaly_resources[0].type #=> String
|
1298
|
+
# resp.proactive_anomalies[0].description #=> String
|
1297
1299
|
# resp.reactive_anomalies #=> Array
|
1298
1300
|
# resp.reactive_anomalies[0].id #=> String
|
1299
1301
|
# resp.reactive_anomalies[0].severity #=> String, one of "LOW", "MEDIUM", "HIGH"
|
@@ -2332,7 +2334,7 @@ module Aws::DevOpsGuru
|
|
2332
2334
|
params: params,
|
2333
2335
|
config: config)
|
2334
2336
|
context[:gem_name] = 'aws-sdk-devopsguru'
|
2335
|
-
context[:gem_version] = '1.
|
2337
|
+
context[:gem_version] = '1.30.0'
|
2336
2338
|
Seahorse::Client::Request.new(handlers, context)
|
2337
2339
|
end
|
2338
2340
|
|
@@ -863,6 +863,7 @@ module Aws::DevOpsGuru
|
|
863
863
|
ProactiveAnomaly.add_member(:limit, Shapes::ShapeRef.new(shape: AnomalyLimit, location_name: "Limit"))
|
864
864
|
ProactiveAnomaly.add_member(:source_metadata, Shapes::ShapeRef.new(shape: AnomalySourceMetadata, location_name: "SourceMetadata"))
|
865
865
|
ProactiveAnomaly.add_member(:anomaly_resources, Shapes::ShapeRef.new(shape: AnomalyResources, location_name: "AnomalyResources"))
|
866
|
+
ProactiveAnomaly.add_member(:description, Shapes::ShapeRef.new(shape: AnomalyDescription, location_name: "Description"))
|
866
867
|
ProactiveAnomaly.struct_class = Types::ProactiveAnomaly
|
867
868
|
|
868
869
|
ProactiveAnomalySummary.add_member(:id, Shapes::ShapeRef.new(shape: AnomalyId, location_name: "Id"))
|
@@ -878,6 +879,7 @@ module Aws::DevOpsGuru
|
|
878
879
|
ProactiveAnomalySummary.add_member(:limit, Shapes::ShapeRef.new(shape: AnomalyLimit, location_name: "Limit"))
|
879
880
|
ProactiveAnomalySummary.add_member(:source_metadata, Shapes::ShapeRef.new(shape: AnomalySourceMetadata, location_name: "SourceMetadata"))
|
880
881
|
ProactiveAnomalySummary.add_member(:anomaly_resources, Shapes::ShapeRef.new(shape: AnomalyResources, location_name: "AnomalyResources"))
|
882
|
+
ProactiveAnomalySummary.add_member(:description, Shapes::ShapeRef.new(shape: AnomalyDescription, location_name: "Description"))
|
881
883
|
ProactiveAnomalySummary.struct_class = Types::ProactiveAnomalySummary
|
882
884
|
|
883
885
|
ProactiveInsight.add_member(:id, Shapes::ShapeRef.new(shape: InsightId, location_name: "Id"))
|
@@ -50,9 +50,6 @@ module Aws::DevOpsGuru
|
|
50
50
|
|
51
51
|
def initialize(options = {})
|
52
52
|
self[:region] = options[:region]
|
53
|
-
if self[:region].nil?
|
54
|
-
raise ArgumentError, "Missing required EndpointParameter: :region"
|
55
|
-
end
|
56
53
|
self[:use_dual_stack] = options[:use_dual_stack]
|
57
54
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
58
55
|
if self[:use_dual_stack].nil?
|
@@ -14,36 +14,39 @@ module Aws::DevOpsGuru
|
|
14
14
|
use_dual_stack = parameters.use_dual_stack
|
15
15
|
use_fips = parameters.use_fips
|
16
16
|
endpoint = parameters.endpoint
|
17
|
-
if
|
18
|
-
if Aws::Endpoints::Matchers.set?(endpoint)
|
19
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
-
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
-
end
|
22
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
-
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
-
end
|
25
|
-
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
-
end
|
27
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
-
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
-
return Aws::Endpoints::Endpoint.new(url: "https://devops-guru-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
-
end
|
31
|
-
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
-
end
|
17
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
33
18
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
-
|
35
|
-
return Aws::Endpoints::Endpoint.new(url: "https://devops-guru-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
|
-
end
|
37
|
-
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
19
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
38
20
|
end
|
39
21
|
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
40
|
-
|
41
|
-
|
22
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
23
|
+
end
|
24
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
25
|
+
end
|
26
|
+
if Aws::Endpoints::Matchers.set?(region)
|
27
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
29
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
30
|
+
return Aws::Endpoints::Endpoint.new(url: "https://devops-guru-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
31
|
+
end
|
32
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
|
+
end
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://devops-guru-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
|
+
end
|
38
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
39
|
+
end
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
41
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
42
|
+
return Aws::Endpoints::Endpoint.new(url: "https://devops-guru.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
43
|
+
end
|
44
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
42
45
|
end
|
43
|
-
|
46
|
+
return Aws::Endpoints::Endpoint.new(url: "https://devops-guru.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
44
47
|
end
|
45
|
-
return Aws::Endpoints::Endpoint.new(url: "https://devops-guru.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
46
48
|
end
|
49
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
47
50
|
raise ArgumentError, 'No endpoint could be resolved'
|
48
51
|
|
49
52
|
end
|
@@ -553,7 +553,7 @@ module Aws::DevOpsGuru
|
|
553
553
|
#
|
554
554
|
#
|
555
555
|
#
|
556
|
-
# [1]: https://
|
556
|
+
# [1]: https://docs.aws.amazon.com/whitepapers/latest/tagging-best-practices/tagging-best-practices.html
|
557
557
|
# @return [Array<Types::TagCostEstimationResourceCollectionFilter>]
|
558
558
|
#
|
559
559
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/CostEstimationResourceCollectionFilter AWS API Documentation
|
@@ -1000,7 +1000,7 @@ module Aws::DevOpsGuru
|
|
1000
1000
|
#
|
1001
1001
|
#
|
1002
1002
|
#
|
1003
|
-
# [1]: https://
|
1003
|
+
# [1]: https://docs.aws.amazon.com/whitepapers/latest/tagging-best-practices/tagging-best-practices.html
|
1004
1004
|
# @return [Array<Types::TagHealth>]
|
1005
1005
|
#
|
1006
1006
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeOrganizationResourceCollectionHealthResponse AWS API Documentation
|
@@ -1096,7 +1096,7 @@ module Aws::DevOpsGuru
|
|
1096
1096
|
#
|
1097
1097
|
#
|
1098
1098
|
#
|
1099
|
-
# [1]: https://
|
1099
|
+
# [1]: https://docs.aws.amazon.com/whitepapers/latest/tagging-best-practices/tagging-best-practices.html
|
1100
1100
|
# @return [Array<Types::TagHealth>]
|
1101
1101
|
#
|
1102
1102
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeResourceCollectionHealthResponse AWS API Documentation
|
@@ -2800,6 +2800,10 @@ module Aws::DevOpsGuru
|
|
2800
2800
|
# behavior.
|
2801
2801
|
# @return [Array<Types::AnomalyResource>]
|
2802
2802
|
#
|
2803
|
+
# @!attribute [rw] description
|
2804
|
+
# A description of the proactive anomaly.
|
2805
|
+
# @return [String]
|
2806
|
+
#
|
2803
2807
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ProactiveAnomaly AWS API Documentation
|
2804
2808
|
#
|
2805
2809
|
class ProactiveAnomaly < Struct.new(
|
@@ -2815,7 +2819,8 @@ module Aws::DevOpsGuru
|
|
2815
2819
|
:resource_collection,
|
2816
2820
|
:limit,
|
2817
2821
|
:source_metadata,
|
2818
|
-
:anomaly_resources
|
2822
|
+
:anomaly_resources,
|
2823
|
+
:description)
|
2819
2824
|
SENSITIVE = []
|
2820
2825
|
include Aws::Structure
|
2821
2826
|
end
|
@@ -2900,6 +2905,10 @@ module Aws::DevOpsGuru
|
|
2900
2905
|
# behavior.
|
2901
2906
|
# @return [Array<Types::AnomalyResource>]
|
2902
2907
|
#
|
2908
|
+
# @!attribute [rw] description
|
2909
|
+
# A description of the proactive anomaly.
|
2910
|
+
# @return [String]
|
2911
|
+
#
|
2903
2912
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ProactiveAnomalySummary AWS API Documentation
|
2904
2913
|
#
|
2905
2914
|
class ProactiveAnomalySummary < Struct.new(
|
@@ -2915,7 +2924,8 @@ module Aws::DevOpsGuru
|
|
2915
2924
|
:resource_collection,
|
2916
2925
|
:limit,
|
2917
2926
|
:source_metadata,
|
2918
|
-
:anomaly_resources
|
2927
|
+
:anomaly_resources,
|
2928
|
+
:description)
|
2919
2929
|
SENSITIVE = []
|
2920
2930
|
include Aws::Structure
|
2921
2931
|
end
|
@@ -3822,7 +3832,7 @@ module Aws::DevOpsGuru
|
|
3822
3832
|
#
|
3823
3833
|
#
|
3824
3834
|
#
|
3825
|
-
# [1]: https://
|
3835
|
+
# [1]: https://docs.aws.amazon.com/whitepapers/latest/tagging-best-practices/tagging-best-practices.html
|
3826
3836
|
# @return [Array<Types::TagCollection>]
|
3827
3837
|
#
|
3828
3838
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ResourceCollection AWS API Documentation
|
@@ -3886,7 +3896,7 @@ module Aws::DevOpsGuru
|
|
3886
3896
|
#
|
3887
3897
|
#
|
3888
3898
|
#
|
3889
|
-
# [1]: https://
|
3899
|
+
# [1]: https://docs.aws.amazon.com/whitepapers/latest/tagging-best-practices/tagging-best-practices.html
|
3890
3900
|
# @return [Array<Types::TagCollectionFilter>]
|
3891
3901
|
#
|
3892
3902
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ResourceCollectionFilter AWS API Documentation
|
@@ -3922,8 +3932,12 @@ module Aws::DevOpsGuru
|
|
3922
3932
|
include Aws::Structure
|
3923
3933
|
end
|
3924
3934
|
|
3925
|
-
# Specifies
|
3926
|
-
#
|
3935
|
+
# Specifies values used to filter responses when searching for insights.
|
3936
|
+
# You can use a `ResourceCollection`, `ServiceCollection`, array of
|
3937
|
+
# severities, and an array of status values. Each filter type contains
|
3938
|
+
# one or more values to search for. If you specify multiple filter
|
3939
|
+
# types, the filter types are joined with an `AND`, and the request
|
3940
|
+
# returns only results that match all of the specified filters.
|
3927
3941
|
#
|
3928
3942
|
# @!attribute [rw] severities
|
3929
3943
|
# An array of severity values used to search for insights.
|
@@ -4399,7 +4413,7 @@ module Aws::DevOpsGuru
|
|
4399
4413
|
#
|
4400
4414
|
#
|
4401
4415
|
#
|
4402
|
-
# [1]: https://
|
4416
|
+
# [1]: https://docs.aws.amazon.com/whitepapers/latest/tagging-best-practices/tagging-best-practices.html
|
4403
4417
|
#
|
4404
4418
|
# @!attribute [rw] app_boundary_key
|
4405
4419
|
# An Amazon Web Services tag *key* that is used to identify the Amazon
|
@@ -4721,7 +4735,7 @@ module Aws::DevOpsGuru
|
|
4721
4735
|
#
|
4722
4736
|
#
|
4723
4737
|
#
|
4724
|
-
# [1]: https://
|
4738
|
+
# [1]: https://docs.aws.amazon.com/whitepapers/latest/tagging-best-practices/tagging-best-practices.html
|
4725
4739
|
# @return [Array<Types::UpdateTagCollectionFilter>]
|
4726
4740
|
#
|
4727
4741
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/UpdateResourceCollectionFilter AWS API Documentation
|
data/lib/aws-sdk-devopsguru.rb
CHANGED
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.30.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: 2023-02-
|
11
|
+
date: 2023-02-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|