aws-sdk-devopsguru 1.5.0 → 1.6.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/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-devopsguru.rb +1 -1
- data/lib/aws-sdk-devopsguru/client.rb +122 -8
- data/lib/aws-sdk-devopsguru/client_api.rb +113 -0
- data/lib/aws-sdk-devopsguru/types.rb +389 -38
- metadata +5 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2fd414df48ea23965e02f9066ed1c37dfb4f0c1155d30a8cfd4b722047b83af6
|
4
|
+
data.tar.gz: '01084c0243a069b0218f19d666c22a2761d549abedbaee543b7062a99b0269e3'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad5126847a008274aff8d2047fa390ae9e31cc6efa4d90e39d98abefa34bfe97f07affa347f9674fbacca32d8de948a58bcc7d1a825fe21a7997ad38bc25f858
|
7
|
+
data.tar.gz: 6721cbc7a9fd1307e10f400b40443775b5a825778055d20a35e247a91cea85fd738b8073105dc0692065c168ffefdb94e2cb92cf82673cdfc2478ffc8eaf7d1d
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.6.0 (2021-05-04)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Added GetCostEstimation and StartCostEstimation to get the monthly resource usage cost and added ability to view resource health by AWS service name and to search insights be AWS service name.
|
8
|
+
|
4
9
|
1.5.0 (2021-03-10)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.6.0
|
data/lib/aws-sdk-devopsguru.rb
CHANGED
@@ -600,13 +600,15 @@ module Aws::DevOpsGuru
|
|
600
600
|
# resource collections in your account. You specify the type of AWS
|
601
601
|
# resources collection. The one type of AWS resource collection
|
602
602
|
# supported is AWS CloudFormation stacks. DevOps Guru can be configured
|
603
|
-
# to analyze only the AWS resources that are defined in the stacks.
|
603
|
+
# to analyze only the AWS resources that are defined in the stacks. You
|
604
|
+
# can specify up to 500 AWS CloudFormation stacks.
|
604
605
|
#
|
605
606
|
# @option params [required, String] :resource_collection_type
|
606
607
|
# An AWS resource collection type. This type specifies how analyzed AWS
|
607
608
|
# resources are defined. The one type of AWS resource collection
|
608
609
|
# supported is AWS CloudFormation stacks. DevOps Guru can be configured
|
609
|
-
# to analyze only the AWS resources that are defined in the stacks.
|
610
|
+
# to analyze only the AWS resources that are defined in the stacks. You
|
611
|
+
# can specify up to 500 AWS CloudFormation stacks.
|
610
612
|
#
|
611
613
|
# @option params [String] :next_token
|
612
614
|
# The pagination token to use to retrieve the next page of results for
|
@@ -615,6 +617,7 @@ module Aws::DevOpsGuru
|
|
615
617
|
# @return [Types::DescribeResourceCollectionHealthResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
616
618
|
#
|
617
619
|
# * {Types::DescribeResourceCollectionHealthResponse#cloud_formation #cloud_formation} => Array<Types::CloudFormationHealth>
|
620
|
+
# * {Types::DescribeResourceCollectionHealthResponse#service #service} => Array<Types::ServiceHealth>
|
618
621
|
# * {Types::DescribeResourceCollectionHealthResponse#next_token #next_token} => String
|
619
622
|
#
|
620
623
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
@@ -622,7 +625,7 @@ module Aws::DevOpsGuru
|
|
622
625
|
# @example Request syntax with placeholder values
|
623
626
|
#
|
624
627
|
# resp = client.describe_resource_collection_health({
|
625
|
-
# resource_collection_type: "AWS_CLOUD_FORMATION", # required, accepts AWS_CLOUD_FORMATION
|
628
|
+
# resource_collection_type: "AWS_CLOUD_FORMATION", # required, accepts AWS_CLOUD_FORMATION, AWS_SERVICE
|
626
629
|
# next_token: "UuidNextToken",
|
627
630
|
# })
|
628
631
|
#
|
@@ -633,6 +636,10 @@ module Aws::DevOpsGuru
|
|
633
636
|
# resp.cloud_formation[0].insight.open_proactive_insights #=> Integer
|
634
637
|
# resp.cloud_formation[0].insight.open_reactive_insights #=> Integer
|
635
638
|
# resp.cloud_formation[0].insight.mean_time_to_recover_in_milliseconds #=> Integer
|
639
|
+
# resp.service #=> Array
|
640
|
+
# resp.service[0].service_name #=> String, one of "API_GATEWAY", "APPLICATION_ELB", "AUTO_SCALING_GROUP", "CLOUD_FRONT", "DYNAMO_DB", "EC2", "ECS", "EKS", "ELASTIC_BEANSTALK", "ELASTI_CACHE", "ELB", "ES", "KINESIS", "LAMBDA", "NAT_GATEWAY", "NETWORK_ELB", "RDS", "REDSHIFT", "ROUTE_53", "S3", "SAGE_MAKER", "SNS", "SQS", "STEP_FUNCTIONS", "SWF"
|
641
|
+
# resp.service[0].insight.open_proactive_insights #=> Integer
|
642
|
+
# resp.service[0].insight.open_reactive_insights #=> Integer
|
636
643
|
# resp.next_token #=> String
|
637
644
|
#
|
638
645
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeResourceCollectionHealth AWS API Documentation
|
@@ -666,10 +673,66 @@ module Aws::DevOpsGuru
|
|
666
673
|
req.send_request(options)
|
667
674
|
end
|
668
675
|
|
676
|
+
# Returns an estimate of the monthly cost for DevOps Guru to analyze
|
677
|
+
# your AWS resources. For more information, see [Estimate your Amazon
|
678
|
+
# DevOps Guru costs][1] and [Amazon DevOps Guru pricing][2].
|
679
|
+
#
|
680
|
+
#
|
681
|
+
#
|
682
|
+
# [1]: https://docs.aws.amazon.com/devops-guru/latest/userguide/cost-estimate.html
|
683
|
+
# [2]: http://aws.amazon.com/devops-guru/pricing/
|
684
|
+
#
|
685
|
+
# @option params [String] :next_token
|
686
|
+
# The pagination token to use to retrieve the next page of results for
|
687
|
+
# this operation. If this value is null, it retrieves the first page.
|
688
|
+
#
|
689
|
+
# @return [Types::GetCostEstimationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
690
|
+
#
|
691
|
+
# * {Types::GetCostEstimationResponse#resource_collection #resource_collection} => Types::CostEstimationResourceCollectionFilter
|
692
|
+
# * {Types::GetCostEstimationResponse#status #status} => String
|
693
|
+
# * {Types::GetCostEstimationResponse#costs #costs} => Array<Types::ServiceResourceCost>
|
694
|
+
# * {Types::GetCostEstimationResponse#time_range #time_range} => Types::CostEstimationTimeRange
|
695
|
+
# * {Types::GetCostEstimationResponse#total_cost #total_cost} => Float
|
696
|
+
# * {Types::GetCostEstimationResponse#next_token #next_token} => String
|
697
|
+
#
|
698
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
699
|
+
#
|
700
|
+
# @example Request syntax with placeholder values
|
701
|
+
#
|
702
|
+
# resp = client.get_cost_estimation({
|
703
|
+
# next_token: "UuidNextToken",
|
704
|
+
# })
|
705
|
+
#
|
706
|
+
# @example Response structure
|
707
|
+
#
|
708
|
+
# resp.resource_collection.cloud_formation.stack_names #=> Array
|
709
|
+
# resp.resource_collection.cloud_formation.stack_names[0] #=> String
|
710
|
+
# resp.status #=> String, one of "ONGOING", "COMPLETED"
|
711
|
+
# resp.costs #=> Array
|
712
|
+
# resp.costs[0].type #=> String
|
713
|
+
# resp.costs[0].state #=> String, one of "ACTIVE", "INACTIVE"
|
714
|
+
# resp.costs[0].count #=> Integer
|
715
|
+
# resp.costs[0].unit_cost #=> Float
|
716
|
+
# resp.costs[0].cost #=> Float
|
717
|
+
# resp.time_range.start_time #=> Time
|
718
|
+
# resp.time_range.end_time #=> Time
|
719
|
+
# resp.total_cost #=> Float
|
720
|
+
# resp.next_token #=> String
|
721
|
+
#
|
722
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/GetCostEstimation AWS API Documentation
|
723
|
+
#
|
724
|
+
# @overload get_cost_estimation(params = {})
|
725
|
+
# @param [Hash] params ({})
|
726
|
+
def get_cost_estimation(params = {}, options = {})
|
727
|
+
req = build_request(:get_cost_estimation, params)
|
728
|
+
req.send_request(options)
|
729
|
+
end
|
730
|
+
|
669
731
|
# Returns lists AWS resources that are of the specified resource
|
670
732
|
# collection type. The one type of AWS resource collection supported is
|
671
733
|
# AWS CloudFormation stacks. DevOps Guru can be configured to analyze
|
672
|
-
# only the AWS resources that are defined in the stacks.
|
734
|
+
# only the AWS resources that are defined in the stacks. You can specify
|
735
|
+
# up to 500 AWS CloudFormation stacks.
|
673
736
|
#
|
674
737
|
# @option params [required, String] :resource_collection_type
|
675
738
|
# The type of AWS resource collections to return. The one valid value is
|
@@ -689,7 +752,7 @@ module Aws::DevOpsGuru
|
|
689
752
|
# @example Request syntax with placeholder values
|
690
753
|
#
|
691
754
|
# resp = client.get_resource_collection({
|
692
|
-
# resource_collection_type: "AWS_CLOUD_FORMATION", # required, accepts AWS_CLOUD_FORMATION
|
755
|
+
# resource_collection_type: "AWS_CLOUD_FORMATION", # required, accepts AWS_CLOUD_FORMATION, AWS_SERVICE
|
693
756
|
# next_token: "UuidNextToken",
|
694
757
|
# })
|
695
758
|
#
|
@@ -935,6 +998,8 @@ module Aws::DevOpsGuru
|
|
935
998
|
# resp.proactive_insights[0].prediction_time_range.end_time #=> Time
|
936
999
|
# resp.proactive_insights[0].resource_collection.cloud_formation.stack_names #=> Array
|
937
1000
|
# resp.proactive_insights[0].resource_collection.cloud_formation.stack_names[0] #=> String
|
1001
|
+
# resp.proactive_insights[0].service_collection.service_names #=> Array
|
1002
|
+
# resp.proactive_insights[0].service_collection.service_names[0] #=> String, one of "API_GATEWAY", "APPLICATION_ELB", "AUTO_SCALING_GROUP", "CLOUD_FRONT", "DYNAMO_DB", "EC2", "ECS", "EKS", "ELASTIC_BEANSTALK", "ELASTI_CACHE", "ELB", "ES", "KINESIS", "LAMBDA", "NAT_GATEWAY", "NETWORK_ELB", "RDS", "REDSHIFT", "ROUTE_53", "S3", "SAGE_MAKER", "SNS", "SQS", "STEP_FUNCTIONS", "SWF"
|
938
1003
|
# resp.reactive_insights #=> Array
|
939
1004
|
# resp.reactive_insights[0].id #=> String
|
940
1005
|
# resp.reactive_insights[0].name #=> String
|
@@ -944,6 +1009,8 @@ module Aws::DevOpsGuru
|
|
944
1009
|
# resp.reactive_insights[0].insight_time_range.end_time #=> Time
|
945
1010
|
# resp.reactive_insights[0].resource_collection.cloud_formation.stack_names #=> Array
|
946
1011
|
# resp.reactive_insights[0].resource_collection.cloud_formation.stack_names[0] #=> String
|
1012
|
+
# resp.reactive_insights[0].service_collection.service_names #=> Array
|
1013
|
+
# resp.reactive_insights[0].service_collection.service_names[0] #=> String, one of "API_GATEWAY", "APPLICATION_ELB", "AUTO_SCALING_GROUP", "CLOUD_FRONT", "DYNAMO_DB", "EC2", "ECS", "EKS", "ELASTIC_BEANSTALK", "ELASTI_CACHE", "ELB", "ES", "KINESIS", "LAMBDA", "NAT_GATEWAY", "NETWORK_ELB", "RDS", "REDSHIFT", "ROUTE_53", "S3", "SAGE_MAKER", "SNS", "SQS", "STEP_FUNCTIONS", "SWF"
|
947
1014
|
# resp.next_token #=> String
|
948
1015
|
#
|
949
1016
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListInsights AWS API Documentation
|
@@ -1005,6 +1072,9 @@ module Aws::DevOpsGuru
|
|
1005
1072
|
# The pagination token to use to retrieve the next page of results for
|
1006
1073
|
# this operation. If this value is null, it retrieves the first page.
|
1007
1074
|
#
|
1075
|
+
# @option params [String] :locale
|
1076
|
+
# A locale that specifies the language to use for recommendations.
|
1077
|
+
#
|
1008
1078
|
# @return [Types::ListRecommendationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1009
1079
|
#
|
1010
1080
|
# * {Types::ListRecommendationsResponse#recommendations #recommendations} => Array<Types::Recommendation>
|
@@ -1017,6 +1087,7 @@ module Aws::DevOpsGuru
|
|
1017
1087
|
# resp = client.list_recommendations({
|
1018
1088
|
# insight_id: "InsightId", # required
|
1019
1089
|
# next_token: "UuidNextToken",
|
1090
|
+
# locale: "DE_DE", # accepts DE_DE, EN_US, EN_GB, ES_ES, FR_FR, IT_IT, JA_JP, KO_KR, PT_BR, ZH_CN, ZH_TW
|
1020
1091
|
# })
|
1021
1092
|
#
|
1022
1093
|
# @example Response structure
|
@@ -1153,6 +1224,9 @@ module Aws::DevOpsGuru
|
|
1153
1224
|
# stack_names: ["StackName"],
|
1154
1225
|
# },
|
1155
1226
|
# },
|
1227
|
+
# service_collection: {
|
1228
|
+
# service_names: ["API_GATEWAY"], # accepts API_GATEWAY, APPLICATION_ELB, AUTO_SCALING_GROUP, CLOUD_FRONT, DYNAMO_DB, EC2, ECS, EKS, ELASTIC_BEANSTALK, ELASTI_CACHE, ELB, ES, KINESIS, LAMBDA, NAT_GATEWAY, NETWORK_ELB, RDS, REDSHIFT, ROUTE_53, S3, SAGE_MAKER, SNS, SQS, STEP_FUNCTIONS, SWF
|
1229
|
+
# },
|
1156
1230
|
# },
|
1157
1231
|
# max_results: 1,
|
1158
1232
|
# next_token: "UuidNextToken",
|
@@ -1172,6 +1246,8 @@ module Aws::DevOpsGuru
|
|
1172
1246
|
# resp.proactive_insights[0].prediction_time_range.end_time #=> Time
|
1173
1247
|
# resp.proactive_insights[0].resource_collection.cloud_formation.stack_names #=> Array
|
1174
1248
|
# resp.proactive_insights[0].resource_collection.cloud_formation.stack_names[0] #=> String
|
1249
|
+
# resp.proactive_insights[0].service_collection.service_names #=> Array
|
1250
|
+
# resp.proactive_insights[0].service_collection.service_names[0] #=> String, one of "API_GATEWAY", "APPLICATION_ELB", "AUTO_SCALING_GROUP", "CLOUD_FRONT", "DYNAMO_DB", "EC2", "ECS", "EKS", "ELASTIC_BEANSTALK", "ELASTI_CACHE", "ELB", "ES", "KINESIS", "LAMBDA", "NAT_GATEWAY", "NETWORK_ELB", "RDS", "REDSHIFT", "ROUTE_53", "S3", "SAGE_MAKER", "SNS", "SQS", "STEP_FUNCTIONS", "SWF"
|
1175
1251
|
# resp.reactive_insights #=> Array
|
1176
1252
|
# resp.reactive_insights[0].id #=> String
|
1177
1253
|
# resp.reactive_insights[0].name #=> String
|
@@ -1181,6 +1257,8 @@ module Aws::DevOpsGuru
|
|
1181
1257
|
# resp.reactive_insights[0].insight_time_range.end_time #=> Time
|
1182
1258
|
# resp.reactive_insights[0].resource_collection.cloud_formation.stack_names #=> Array
|
1183
1259
|
# resp.reactive_insights[0].resource_collection.cloud_formation.stack_names[0] #=> String
|
1260
|
+
# resp.reactive_insights[0].service_collection.service_names #=> Array
|
1261
|
+
# resp.reactive_insights[0].service_collection.service_names[0] #=> String, one of "API_GATEWAY", "APPLICATION_ELB", "AUTO_SCALING_GROUP", "CLOUD_FRONT", "DYNAMO_DB", "EC2", "ECS", "EKS", "ELASTIC_BEANSTALK", "ELASTI_CACHE", "ELB", "ES", "KINESIS", "LAMBDA", "NAT_GATEWAY", "NETWORK_ELB", "RDS", "REDSHIFT", "ROUTE_53", "S3", "SAGE_MAKER", "SNS", "SQS", "STEP_FUNCTIONS", "SWF"
|
1184
1262
|
# resp.next_token #=> String
|
1185
1263
|
#
|
1186
1264
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/SearchInsights AWS API Documentation
|
@@ -1192,11 +1270,47 @@ module Aws::DevOpsGuru
|
|
1192
1270
|
req.send_request(options)
|
1193
1271
|
end
|
1194
1272
|
|
1273
|
+
# Starts the creation of an estimate of the monthly cost to analyze your
|
1274
|
+
# AWS resources.
|
1275
|
+
#
|
1276
|
+
# @option params [required, Types::CostEstimationResourceCollectionFilter] :resource_collection
|
1277
|
+
# The collection of AWS resources used to create a monthly DevOps Guru
|
1278
|
+
# cost estimate.
|
1279
|
+
#
|
1280
|
+
# @option params [String] :client_token
|
1281
|
+
# The idempotency token used to identify each cost estimate request.
|
1282
|
+
#
|
1283
|
+
# **A suitable default value is auto-generated.** You should normally
|
1284
|
+
# not need to pass this option.**
|
1285
|
+
#
|
1286
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1287
|
+
#
|
1288
|
+
# @example Request syntax with placeholder values
|
1289
|
+
#
|
1290
|
+
# resp = client.start_cost_estimation({
|
1291
|
+
# resource_collection: { # required
|
1292
|
+
# cloud_formation: {
|
1293
|
+
# stack_names: ["StackName"],
|
1294
|
+
# },
|
1295
|
+
# },
|
1296
|
+
# client_token: "ClientToken",
|
1297
|
+
# })
|
1298
|
+
#
|
1299
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/StartCostEstimation AWS API Documentation
|
1300
|
+
#
|
1301
|
+
# @overload start_cost_estimation(params = {})
|
1302
|
+
# @param [Hash] params ({})
|
1303
|
+
def start_cost_estimation(params = {}, options = {})
|
1304
|
+
req = build_request(:start_cost_estimation, params)
|
1305
|
+
req.send_request(options)
|
1306
|
+
end
|
1307
|
+
|
1195
1308
|
# Updates the collection of resources that DevOps Guru analyzes. The one
|
1196
1309
|
# type of AWS resource collection supported is AWS CloudFormation
|
1197
1310
|
# stacks. DevOps Guru can be configured to analyze only the AWS
|
1198
|
-
# resources that are defined in the stacks.
|
1199
|
-
#
|
1311
|
+
# resources that are defined in the stacks. You can specify up to 500
|
1312
|
+
# AWS CloudFormation stacks. This method also creates the IAM role
|
1313
|
+
# required for you to use DevOps Guru.
|
1200
1314
|
#
|
1201
1315
|
# @option params [required, String] :action
|
1202
1316
|
# Specifies if the resource collection in the request is added or
|
@@ -1271,7 +1385,7 @@ module Aws::DevOpsGuru
|
|
1271
1385
|
params: params,
|
1272
1386
|
config: config)
|
1273
1387
|
context[:gem_name] = 'aws-sdk-devopsguru'
|
1274
|
-
context[:gem_version] = '1.
|
1388
|
+
context[:gem_version] = '1.6.0'
|
1275
1389
|
Seahorse::Client::Request.new(handlers, context)
|
1276
1390
|
end
|
1277
1391
|
|
@@ -23,8 +23,10 @@ module Aws::DevOpsGuru
|
|
23
23
|
AnomalyStatus = Shapes::StringShape.new(name: 'AnomalyStatus')
|
24
24
|
AnomalyTimeRange = Shapes::StructureShape.new(name: 'AnomalyTimeRange')
|
25
25
|
Channels = Shapes::ListShape.new(name: 'Channels')
|
26
|
+
ClientToken = Shapes::StringShape.new(name: 'ClientToken')
|
26
27
|
CloudFormationCollection = Shapes::StructureShape.new(name: 'CloudFormationCollection')
|
27
28
|
CloudFormationCollectionFilter = Shapes::StructureShape.new(name: 'CloudFormationCollectionFilter')
|
29
|
+
CloudFormationCostEstimationResourceCollectionFilter = Shapes::StructureShape.new(name: 'CloudFormationCostEstimationResourceCollectionFilter')
|
28
30
|
CloudFormationHealth = Shapes::StructureShape.new(name: 'CloudFormationHealth')
|
29
31
|
CloudFormationHealths = Shapes::ListShape.new(name: 'CloudFormationHealths')
|
30
32
|
CloudWatchMetricsDetail = Shapes::StructureShape.new(name: 'CloudWatchMetricsDetail')
|
@@ -39,6 +41,13 @@ module Aws::DevOpsGuru
|
|
39
41
|
CloudWatchMetricsStat = Shapes::StringShape.new(name: 'CloudWatchMetricsStat')
|
40
42
|
CloudWatchMetricsUnit = Shapes::StringShape.new(name: 'CloudWatchMetricsUnit')
|
41
43
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
44
|
+
Cost = Shapes::FloatShape.new(name: 'Cost')
|
45
|
+
CostEstimationResourceCollectionFilter = Shapes::StructureShape.new(name: 'CostEstimationResourceCollectionFilter')
|
46
|
+
CostEstimationServiceResourceCount = Shapes::IntegerShape.new(name: 'CostEstimationServiceResourceCount')
|
47
|
+
CostEstimationServiceResourceState = Shapes::StringShape.new(name: 'CostEstimationServiceResourceState')
|
48
|
+
CostEstimationStackNames = Shapes::ListShape.new(name: 'CostEstimationStackNames')
|
49
|
+
CostEstimationStatus = Shapes::StringShape.new(name: 'CostEstimationStatus')
|
50
|
+
CostEstimationTimeRange = Shapes::StructureShape.new(name: 'CostEstimationTimeRange')
|
42
51
|
DescribeAccountHealthRequest = Shapes::StructureShape.new(name: 'DescribeAccountHealthRequest')
|
43
52
|
DescribeAccountHealthResponse = Shapes::StructureShape.new(name: 'DescribeAccountHealthResponse')
|
44
53
|
DescribeAccountOverviewRequest = Shapes::StructureShape.new(name: 'DescribeAccountOverviewRequest')
|
@@ -71,6 +80,8 @@ module Aws::DevOpsGuru
|
|
71
80
|
EventSource = Shapes::StringShape.new(name: 'EventSource')
|
72
81
|
EventTimeRange = Shapes::StructureShape.new(name: 'EventTimeRange')
|
73
82
|
Events = Shapes::ListShape.new(name: 'Events')
|
83
|
+
GetCostEstimationRequest = Shapes::StructureShape.new(name: 'GetCostEstimationRequest')
|
84
|
+
GetCostEstimationResponse = Shapes::StructureShape.new(name: 'GetCostEstimationResponse')
|
74
85
|
GetResourceCollectionRequest = Shapes::StructureShape.new(name: 'GetResourceCollectionRequest')
|
75
86
|
GetResourceCollectionResponse = Shapes::StructureShape.new(name: 'GetResourceCollectionResponse')
|
76
87
|
InsightFeedback = Shapes::StructureShape.new(name: 'InsightFeedback')
|
@@ -103,6 +114,7 @@ module Aws::DevOpsGuru
|
|
103
114
|
ListNotificationChannelsResponse = Shapes::StructureShape.new(name: 'ListNotificationChannelsResponse')
|
104
115
|
ListRecommendationsRequest = Shapes::StructureShape.new(name: 'ListRecommendationsRequest')
|
105
116
|
ListRecommendationsResponse = Shapes::StructureShape.new(name: 'ListRecommendationsResponse')
|
117
|
+
Locale = Shapes::StringShape.new(name: 'Locale')
|
106
118
|
MeanTimeToRecoverInMilliseconds = Shapes::IntegerShape.new(name: 'MeanTimeToRecoverInMilliseconds')
|
107
119
|
NotificationChannel = Shapes::StructureShape.new(name: 'NotificationChannel')
|
108
120
|
NotificationChannelConfig = Shapes::StructureShape.new(name: 'NotificationChannelConfig')
|
@@ -164,17 +176,28 @@ module Aws::DevOpsGuru
|
|
164
176
|
ResourceIdString = Shapes::StringShape.new(name: 'ResourceIdString')
|
165
177
|
ResourceIdType = Shapes::StringShape.new(name: 'ResourceIdType')
|
166
178
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
179
|
+
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
167
180
|
RetryAfterSeconds = Shapes::IntegerShape.new(name: 'RetryAfterSeconds')
|
168
181
|
SearchInsightsFilters = Shapes::StructureShape.new(name: 'SearchInsightsFilters')
|
169
182
|
SearchInsightsMaxResults = Shapes::IntegerShape.new(name: 'SearchInsightsMaxResults')
|
170
183
|
SearchInsightsRequest = Shapes::StructureShape.new(name: 'SearchInsightsRequest')
|
171
184
|
SearchInsightsResponse = Shapes::StructureShape.new(name: 'SearchInsightsResponse')
|
185
|
+
ServiceCollection = Shapes::StructureShape.new(name: 'ServiceCollection')
|
186
|
+
ServiceHealth = Shapes::StructureShape.new(name: 'ServiceHealth')
|
187
|
+
ServiceHealths = Shapes::ListShape.new(name: 'ServiceHealths')
|
188
|
+
ServiceInsightHealth = Shapes::StructureShape.new(name: 'ServiceInsightHealth')
|
172
189
|
ServiceIntegrationConfig = Shapes::StructureShape.new(name: 'ServiceIntegrationConfig')
|
190
|
+
ServiceName = Shapes::StringShape.new(name: 'ServiceName')
|
191
|
+
ServiceNames = Shapes::ListShape.new(name: 'ServiceNames')
|
173
192
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
193
|
+
ServiceResourceCost = Shapes::StructureShape.new(name: 'ServiceResourceCost')
|
194
|
+
ServiceResourceCosts = Shapes::ListShape.new(name: 'ServiceResourceCosts')
|
174
195
|
SnsChannelConfig = Shapes::StructureShape.new(name: 'SnsChannelConfig')
|
175
196
|
SsmOpsItemId = Shapes::StringShape.new(name: 'SsmOpsItemId')
|
176
197
|
StackName = Shapes::StringShape.new(name: 'StackName')
|
177
198
|
StackNames = Shapes::ListShape.new(name: 'StackNames')
|
199
|
+
StartCostEstimationRequest = Shapes::StructureShape.new(name: 'StartCostEstimationRequest')
|
200
|
+
StartCostEstimationResponse = Shapes::StructureShape.new(name: 'StartCostEstimationResponse')
|
178
201
|
StartTimeRange = Shapes::StructureShape.new(name: 'StartTimeRange')
|
179
202
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
180
203
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
@@ -218,6 +241,9 @@ module Aws::DevOpsGuru
|
|
218
241
|
CloudFormationCollectionFilter.add_member(:stack_names, Shapes::ShapeRef.new(shape: StackNames, location_name: "StackNames"))
|
219
242
|
CloudFormationCollectionFilter.struct_class = Types::CloudFormationCollectionFilter
|
220
243
|
|
244
|
+
CloudFormationCostEstimationResourceCollectionFilter.add_member(:stack_names, Shapes::ShapeRef.new(shape: CostEstimationStackNames, location_name: "StackNames"))
|
245
|
+
CloudFormationCostEstimationResourceCollectionFilter.struct_class = Types::CloudFormationCostEstimationResourceCollectionFilter
|
246
|
+
|
221
247
|
CloudFormationHealth.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackName, location_name: "StackName"))
|
222
248
|
CloudFormationHealth.add_member(:insight, Shapes::ShapeRef.new(shape: InsightHealth, location_name: "Insight"))
|
223
249
|
CloudFormationHealth.struct_class = Types::CloudFormationHealth
|
@@ -245,6 +271,15 @@ module Aws::DevOpsGuru
|
|
245
271
|
ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceIdType, required: true, location_name: "ResourceType"))
|
246
272
|
ConflictException.struct_class = Types::ConflictException
|
247
273
|
|
274
|
+
CostEstimationResourceCollectionFilter.add_member(:cloud_formation, Shapes::ShapeRef.new(shape: CloudFormationCostEstimationResourceCollectionFilter, location_name: "CloudFormation"))
|
275
|
+
CostEstimationResourceCollectionFilter.struct_class = Types::CostEstimationResourceCollectionFilter
|
276
|
+
|
277
|
+
CostEstimationStackNames.member = Shapes::ShapeRef.new(shape: StackName)
|
278
|
+
|
279
|
+
CostEstimationTimeRange.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StartTime"))
|
280
|
+
CostEstimationTimeRange.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTime"))
|
281
|
+
CostEstimationTimeRange.struct_class = Types::CostEstimationTimeRange
|
282
|
+
|
248
283
|
DescribeAccountHealthRequest.struct_class = Types::DescribeAccountHealthRequest
|
249
284
|
|
250
285
|
DescribeAccountHealthResponse.add_member(:open_reactive_insights, Shapes::ShapeRef.new(shape: NumOpenReactiveInsights, required: true, location_name: "OpenReactiveInsights"))
|
@@ -287,6 +322,7 @@ module Aws::DevOpsGuru
|
|
287
322
|
DescribeResourceCollectionHealthRequest.struct_class = Types::DescribeResourceCollectionHealthRequest
|
288
323
|
|
289
324
|
DescribeResourceCollectionHealthResponse.add_member(:cloud_formation, Shapes::ShapeRef.new(shape: CloudFormationHealths, required: true, location_name: "CloudFormation"))
|
325
|
+
DescribeResourceCollectionHealthResponse.add_member(:service, Shapes::ShapeRef.new(shape: ServiceHealths, location_name: "Service"))
|
290
326
|
DescribeResourceCollectionHealthResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: UuidNextToken, location_name: "NextToken"))
|
291
327
|
DescribeResourceCollectionHealthResponse.struct_class = Types::DescribeResourceCollectionHealthResponse
|
292
328
|
|
@@ -322,6 +358,17 @@ module Aws::DevOpsGuru
|
|
322
358
|
|
323
359
|
Events.member = Shapes::ShapeRef.new(shape: Event)
|
324
360
|
|
361
|
+
GetCostEstimationRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: UuidNextToken, location: "querystring", location_name: "NextToken"))
|
362
|
+
GetCostEstimationRequest.struct_class = Types::GetCostEstimationRequest
|
363
|
+
|
364
|
+
GetCostEstimationResponse.add_member(:resource_collection, Shapes::ShapeRef.new(shape: CostEstimationResourceCollectionFilter, location_name: "ResourceCollection"))
|
365
|
+
GetCostEstimationResponse.add_member(:status, Shapes::ShapeRef.new(shape: CostEstimationStatus, location_name: "Status"))
|
366
|
+
GetCostEstimationResponse.add_member(:costs, Shapes::ShapeRef.new(shape: ServiceResourceCosts, location_name: "Costs"))
|
367
|
+
GetCostEstimationResponse.add_member(:time_range, Shapes::ShapeRef.new(shape: CostEstimationTimeRange, location_name: "TimeRange"))
|
368
|
+
GetCostEstimationResponse.add_member(:total_cost, Shapes::ShapeRef.new(shape: Cost, location_name: "TotalCost"))
|
369
|
+
GetCostEstimationResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: UuidNextToken, location_name: "NextToken"))
|
370
|
+
GetCostEstimationResponse.struct_class = Types::GetCostEstimationResponse
|
371
|
+
|
325
372
|
GetResourceCollectionRequest.add_member(:resource_collection_type, Shapes::ShapeRef.new(shape: ResourceCollectionType, required: true, location: "uri", location_name: "ResourceCollectionType"))
|
326
373
|
GetResourceCollectionRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: UuidNextToken, location: "querystring", location_name: "NextToken"))
|
327
374
|
GetResourceCollectionRequest.struct_class = Types::GetResourceCollectionRequest
|
@@ -414,6 +461,7 @@ module Aws::DevOpsGuru
|
|
414
461
|
|
415
462
|
ListRecommendationsRequest.add_member(:insight_id, Shapes::ShapeRef.new(shape: InsightId, required: true, location_name: "InsightId"))
|
416
463
|
ListRecommendationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: UuidNextToken, location_name: "NextToken"))
|
464
|
+
ListRecommendationsRequest.add_member(:locale, Shapes::ShapeRef.new(shape: Locale, location_name: "Locale"))
|
417
465
|
ListRecommendationsRequest.struct_class = Types::ListRecommendationsRequest
|
418
466
|
|
419
467
|
ListRecommendationsResponse.add_member(:recommendations, Shapes::ShapeRef.new(shape: Recommendations, location_name: "Recommendations"))
|
@@ -480,6 +528,7 @@ module Aws::DevOpsGuru
|
|
480
528
|
ProactiveInsightSummary.add_member(:insight_time_range, Shapes::ShapeRef.new(shape: InsightTimeRange, location_name: "InsightTimeRange"))
|
481
529
|
ProactiveInsightSummary.add_member(:prediction_time_range, Shapes::ShapeRef.new(shape: PredictionTimeRange, location_name: "PredictionTimeRange"))
|
482
530
|
ProactiveInsightSummary.add_member(:resource_collection, Shapes::ShapeRef.new(shape: ResourceCollection, location_name: "ResourceCollection"))
|
531
|
+
ProactiveInsightSummary.add_member(:service_collection, Shapes::ShapeRef.new(shape: ServiceCollection, location_name: "ServiceCollection"))
|
483
532
|
ProactiveInsightSummary.struct_class = Types::ProactiveInsightSummary
|
484
533
|
|
485
534
|
ProactiveInsights.member = Shapes::ShapeRef.new(shape: ProactiveInsightSummary)
|
@@ -524,6 +573,7 @@ module Aws::DevOpsGuru
|
|
524
573
|
ReactiveInsightSummary.add_member(:status, Shapes::ShapeRef.new(shape: InsightStatus, location_name: "Status"))
|
525
574
|
ReactiveInsightSummary.add_member(:insight_time_range, Shapes::ShapeRef.new(shape: InsightTimeRange, location_name: "InsightTimeRange"))
|
526
575
|
ReactiveInsightSummary.add_member(:resource_collection, Shapes::ShapeRef.new(shape: ResourceCollection, location_name: "ResourceCollection"))
|
576
|
+
ReactiveInsightSummary.add_member(:service_collection, Shapes::ShapeRef.new(shape: ServiceCollection, location_name: "ServiceCollection"))
|
527
577
|
ReactiveInsightSummary.struct_class = Types::ReactiveInsightSummary
|
528
578
|
|
529
579
|
ReactiveInsights.member = Shapes::ShapeRef.new(shape: ReactiveInsightSummary)
|
@@ -592,6 +642,7 @@ module Aws::DevOpsGuru
|
|
592
642
|
SearchInsightsFilters.add_member(:severities, Shapes::ShapeRef.new(shape: InsightSeverities, location_name: "Severities"))
|
593
643
|
SearchInsightsFilters.add_member(:statuses, Shapes::ShapeRef.new(shape: InsightStatuses, location_name: "Statuses"))
|
594
644
|
SearchInsightsFilters.add_member(:resource_collection, Shapes::ShapeRef.new(shape: ResourceCollection, location_name: "ResourceCollection"))
|
645
|
+
SearchInsightsFilters.add_member(:service_collection, Shapes::ShapeRef.new(shape: ServiceCollection, location_name: "ServiceCollection"))
|
595
646
|
SearchInsightsFilters.struct_class = Types::SearchInsightsFilters
|
596
647
|
|
597
648
|
SearchInsightsRequest.add_member(:start_time_range, Shapes::ShapeRef.new(shape: StartTimeRange, required: true, location_name: "StartTimeRange"))
|
@@ -606,17 +657,47 @@ module Aws::DevOpsGuru
|
|
606
657
|
SearchInsightsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: UuidNextToken, location_name: "NextToken"))
|
607
658
|
SearchInsightsResponse.struct_class = Types::SearchInsightsResponse
|
608
659
|
|
660
|
+
ServiceCollection.add_member(:service_names, Shapes::ShapeRef.new(shape: ServiceNames, location_name: "ServiceNames"))
|
661
|
+
ServiceCollection.struct_class = Types::ServiceCollection
|
662
|
+
|
663
|
+
ServiceHealth.add_member(:service_name, Shapes::ShapeRef.new(shape: ServiceName, location_name: "ServiceName"))
|
664
|
+
ServiceHealth.add_member(:insight, Shapes::ShapeRef.new(shape: ServiceInsightHealth, location_name: "Insight"))
|
665
|
+
ServiceHealth.struct_class = Types::ServiceHealth
|
666
|
+
|
667
|
+
ServiceHealths.member = Shapes::ShapeRef.new(shape: ServiceHealth)
|
668
|
+
|
669
|
+
ServiceInsightHealth.add_member(:open_proactive_insights, Shapes::ShapeRef.new(shape: NumOpenProactiveInsights, location_name: "OpenProactiveInsights"))
|
670
|
+
ServiceInsightHealth.add_member(:open_reactive_insights, Shapes::ShapeRef.new(shape: NumOpenReactiveInsights, location_name: "OpenReactiveInsights"))
|
671
|
+
ServiceInsightHealth.struct_class = Types::ServiceInsightHealth
|
672
|
+
|
609
673
|
ServiceIntegrationConfig.add_member(:ops_center, Shapes::ShapeRef.new(shape: OpsCenterIntegration, location_name: "OpsCenter"))
|
610
674
|
ServiceIntegrationConfig.struct_class = Types::ServiceIntegrationConfig
|
611
675
|
|
676
|
+
ServiceNames.member = Shapes::ShapeRef.new(shape: ServiceName)
|
677
|
+
|
612
678
|
ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageString, location_name: "Message"))
|
613
679
|
ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
|
614
680
|
|
681
|
+
ServiceResourceCost.add_member(:type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "Type"))
|
682
|
+
ServiceResourceCost.add_member(:state, Shapes::ShapeRef.new(shape: CostEstimationServiceResourceState, location_name: "State"))
|
683
|
+
ServiceResourceCost.add_member(:count, Shapes::ShapeRef.new(shape: CostEstimationServiceResourceCount, location_name: "Count"))
|
684
|
+
ServiceResourceCost.add_member(:unit_cost, Shapes::ShapeRef.new(shape: Cost, location_name: "UnitCost"))
|
685
|
+
ServiceResourceCost.add_member(:cost, Shapes::ShapeRef.new(shape: Cost, location_name: "Cost"))
|
686
|
+
ServiceResourceCost.struct_class = Types::ServiceResourceCost
|
687
|
+
|
688
|
+
ServiceResourceCosts.member = Shapes::ShapeRef.new(shape: ServiceResourceCost)
|
689
|
+
|
615
690
|
SnsChannelConfig.add_member(:topic_arn, Shapes::ShapeRef.new(shape: TopicArn, location_name: "TopicArn"))
|
616
691
|
SnsChannelConfig.struct_class = Types::SnsChannelConfig
|
617
692
|
|
618
693
|
StackNames.member = Shapes::ShapeRef.new(shape: StackName)
|
619
694
|
|
695
|
+
StartCostEstimationRequest.add_member(:resource_collection, Shapes::ShapeRef.new(shape: CostEstimationResourceCollectionFilter, required: true, location_name: "ResourceCollection"))
|
696
|
+
StartCostEstimationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
697
|
+
StartCostEstimationRequest.struct_class = Types::StartCostEstimationRequest
|
698
|
+
|
699
|
+
StartCostEstimationResponse.struct_class = Types::StartCostEstimationResponse
|
700
|
+
|
620
701
|
StartTimeRange.add_member(:from_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "FromTime"))
|
621
702
|
StartTimeRange.add_member(:to_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ToTime"))
|
622
703
|
StartTimeRange.struct_class = Types::StartTimeRange
|
@@ -785,6 +866,24 @@ module Aws::DevOpsGuru
|
|
785
866
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
786
867
|
end)
|
787
868
|
|
869
|
+
api.add_operation(:get_cost_estimation, Seahorse::Model::Operation.new.tap do |o|
|
870
|
+
o.name = "GetCostEstimation"
|
871
|
+
o.http_method = "GET"
|
872
|
+
o.http_request_uri = "/cost-estimation"
|
873
|
+
o.input = Shapes::ShapeRef.new(shape: GetCostEstimationRequest)
|
874
|
+
o.output = Shapes::ShapeRef.new(shape: GetCostEstimationResponse)
|
875
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
876
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
877
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
878
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
879
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
880
|
+
o[:pager] = Aws::Pager.new(
|
881
|
+
tokens: {
|
882
|
+
"next_token" => "next_token"
|
883
|
+
}
|
884
|
+
)
|
885
|
+
end)
|
886
|
+
|
788
887
|
api.add_operation(:get_resource_collection, Seahorse::Model::Operation.new.tap do |o|
|
789
888
|
o.name = "GetResourceCollection"
|
790
889
|
o.http_method = "GET"
|
@@ -940,6 +1039,20 @@ module Aws::DevOpsGuru
|
|
940
1039
|
)
|
941
1040
|
end)
|
942
1041
|
|
1042
|
+
api.add_operation(:start_cost_estimation, Seahorse::Model::Operation.new.tap do |o|
|
1043
|
+
o.name = "StartCostEstimation"
|
1044
|
+
o.http_method = "PUT"
|
1045
|
+
o.http_request_uri = "/cost-estimation"
|
1046
|
+
o.input = Shapes::ShapeRef.new(shape: StartCostEstimationRequest)
|
1047
|
+
o.output = Shapes::ShapeRef.new(shape: StartCostEstimationResponse)
|
1048
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1049
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1050
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1051
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1052
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1053
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1054
|
+
end)
|
1055
|
+
|
943
1056
|
api.add_operation(:update_resource_collection, Seahorse::Model::Operation.new.tap do |o|
|
944
1057
|
o.name = "UpdateResourceCollection"
|
945
1058
|
o.http_method = "PUT"
|
@@ -105,9 +105,10 @@ module Aws::DevOpsGuru
|
|
105
105
|
include Aws::Structure
|
106
106
|
end
|
107
107
|
|
108
|
-
# Information about AWS CloudFormation stacks. You can use
|
109
|
-
# specify which AWS resources in your account to analyze. For
|
110
|
-
# information, see [Stacks][1] in the *AWS CloudFormation User
|
108
|
+
# Information about AWS CloudFormation stacks. You can use up to 500
|
109
|
+
# stacks to specify which AWS resources in your account to analyze. For
|
110
|
+
# more information, see [Stacks][1] in the *AWS CloudFormation User
|
111
|
+
# Guide*.
|
111
112
|
#
|
112
113
|
#
|
113
114
|
#
|
@@ -132,9 +133,10 @@ module Aws::DevOpsGuru
|
|
132
133
|
include Aws::Structure
|
133
134
|
end
|
134
135
|
|
135
|
-
# Information about AWS CloudFormation stacks. You can use
|
136
|
-
# specify which AWS resources in your account to analyze. For
|
137
|
-
# information, see [Stacks][1] in the *AWS CloudFormation User
|
136
|
+
# Information about AWS CloudFormation stacks. You can use up to 500
|
137
|
+
# stacks to specify which AWS resources in your account to analyze. For
|
138
|
+
# more information, see [Stacks][1] in the *AWS CloudFormation User
|
139
|
+
# Guide*.
|
138
140
|
#
|
139
141
|
#
|
140
142
|
#
|
@@ -152,6 +154,36 @@ module Aws::DevOpsGuru
|
|
152
154
|
include Aws::Structure
|
153
155
|
end
|
154
156
|
|
157
|
+
# Information about an AWS CloudFormation stack used to create a monthly
|
158
|
+
# cost estimate for DevOps Guru to analyze AWS resources. The maximum
|
159
|
+
# number of stacks you can specify for a cost estimate is one. The
|
160
|
+
# estimate created is for the cost to analyze the AWS resources defined
|
161
|
+
# by the stack. For more information, see [Stacks][1] in the *AWS
|
162
|
+
# CloudFormation User Guide*.
|
163
|
+
#
|
164
|
+
#
|
165
|
+
#
|
166
|
+
# [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacks.html
|
167
|
+
#
|
168
|
+
# @note When making an API call, you may pass CloudFormationCostEstimationResourceCollectionFilter
|
169
|
+
# data as a hash:
|
170
|
+
#
|
171
|
+
# {
|
172
|
+
# stack_names: ["StackName"],
|
173
|
+
# }
|
174
|
+
#
|
175
|
+
# @!attribute [rw] stack_names
|
176
|
+
# An array of CloudFormation stack names. Its size is fixed at 1 item.
|
177
|
+
# @return [Array<String>]
|
178
|
+
#
|
179
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/CloudFormationCostEstimationResourceCollectionFilter AWS API Documentation
|
180
|
+
#
|
181
|
+
class CloudFormationCostEstimationResourceCollectionFilter < Struct.new(
|
182
|
+
:stack_names)
|
183
|
+
SENSITIVE = []
|
184
|
+
include Aws::Structure
|
185
|
+
end
|
186
|
+
|
155
187
|
# Information about the health of AWS resources in your account that are
|
156
188
|
# specified by an AWS CloudFormation stack.
|
157
189
|
#
|
@@ -274,6 +306,57 @@ module Aws::DevOpsGuru
|
|
274
306
|
include Aws::Structure
|
275
307
|
end
|
276
308
|
|
309
|
+
# Information about a filter used to specify which AWS resources are
|
310
|
+
# analyzed to create a monthly DevOps Guru cost estimate. For more
|
311
|
+
# information, see [Estimate your Amazon DevOps Guru costs][1] and
|
312
|
+
# [Amazon DevOps Guru pricing][2].
|
313
|
+
#
|
314
|
+
#
|
315
|
+
#
|
316
|
+
# [1]: https://docs.aws.amazon.com/devops-guru/latest/userguide/cost-estimate.html
|
317
|
+
# [2]: http://aws.amazon.com/devops-guru/pricing/
|
318
|
+
#
|
319
|
+
# @note When making an API call, you may pass CostEstimationResourceCollectionFilter
|
320
|
+
# data as a hash:
|
321
|
+
#
|
322
|
+
# {
|
323
|
+
# cloud_formation: {
|
324
|
+
# stack_names: ["StackName"],
|
325
|
+
# },
|
326
|
+
# }
|
327
|
+
#
|
328
|
+
# @!attribute [rw] cloud_formation
|
329
|
+
# An object that specifies the CloudFormation stack that defines the
|
330
|
+
# AWS resources used to create a monthly estimate for DevOps Guru.
|
331
|
+
# @return [Types::CloudFormationCostEstimationResourceCollectionFilter]
|
332
|
+
#
|
333
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/CostEstimationResourceCollectionFilter AWS API Documentation
|
334
|
+
#
|
335
|
+
class CostEstimationResourceCollectionFilter < Struct.new(
|
336
|
+
:cloud_formation)
|
337
|
+
SENSITIVE = []
|
338
|
+
include Aws::Structure
|
339
|
+
end
|
340
|
+
|
341
|
+
# The time range of a cost estimation.
|
342
|
+
#
|
343
|
+
# @!attribute [rw] start_time
|
344
|
+
# The start time of the cost estimation.
|
345
|
+
# @return [Time]
|
346
|
+
#
|
347
|
+
# @!attribute [rw] end_time
|
348
|
+
# The end time of the cost estimation.
|
349
|
+
# @return [Time]
|
350
|
+
#
|
351
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/CostEstimationTimeRange AWS API Documentation
|
352
|
+
#
|
353
|
+
class CostEstimationTimeRange < Struct.new(
|
354
|
+
:start_time,
|
355
|
+
:end_time)
|
356
|
+
SENSITIVE = []
|
357
|
+
include Aws::Structure
|
358
|
+
end
|
359
|
+
|
277
360
|
# @api private
|
278
361
|
#
|
279
362
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeAccountHealthRequest AWS API Documentation
|
@@ -386,11 +469,11 @@ module Aws::DevOpsGuru
|
|
386
469
|
end
|
387
470
|
|
388
471
|
# @!attribute [rw] proactive_anomaly
|
389
|
-
#
|
472
|
+
# A `ReactiveAnomaly` object that represents the requested anomaly.
|
390
473
|
# @return [Types::ProactiveAnomaly]
|
391
474
|
#
|
392
475
|
# @!attribute [rw] reactive_anomaly
|
393
|
-
#
|
476
|
+
# A `ProactiveAnomaly` object that represents the requested anomaly.
|
394
477
|
# @return [Types::ReactiveAnomaly]
|
395
478
|
#
|
396
479
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeAnomalyResponse AWS API Documentation
|
@@ -453,11 +536,11 @@ module Aws::DevOpsGuru
|
|
453
536
|
end
|
454
537
|
|
455
538
|
# @!attribute [rw] proactive_insight
|
456
|
-
#
|
539
|
+
# A `ProactiveInsight` object that represents the requested insight.
|
457
540
|
# @return [Types::ProactiveInsight]
|
458
541
|
#
|
459
542
|
# @!attribute [rw] reactive_insight
|
460
|
-
#
|
543
|
+
# A `ReactiveInsight` object that represents the requested insight.
|
461
544
|
# @return [Types::ReactiveInsight]
|
462
545
|
#
|
463
546
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeInsightResponse AWS API Documentation
|
@@ -473,7 +556,7 @@ module Aws::DevOpsGuru
|
|
473
556
|
# data as a hash:
|
474
557
|
#
|
475
558
|
# {
|
476
|
-
# resource_collection_type: "AWS_CLOUD_FORMATION", # required, accepts AWS_CLOUD_FORMATION
|
559
|
+
# resource_collection_type: "AWS_CLOUD_FORMATION", # required, accepts AWS_CLOUD_FORMATION, AWS_SERVICE
|
477
560
|
# next_token: "UuidNextToken",
|
478
561
|
# }
|
479
562
|
#
|
@@ -482,7 +565,7 @@ module Aws::DevOpsGuru
|
|
482
565
|
# AWS resources are defined. The one type of AWS resource collection
|
483
566
|
# supported is AWS CloudFormation stacks. DevOps Guru can be
|
484
567
|
# configured to analyze only the AWS resources that are defined in the
|
485
|
-
# stacks.
|
568
|
+
# stacks. You can specify up to 500 AWS CloudFormation stacks.
|
486
569
|
# @return [String]
|
487
570
|
#
|
488
571
|
# @!attribute [rw] next_token
|
@@ -505,6 +588,11 @@ module Aws::DevOpsGuru
|
|
505
588
|
# information.
|
506
589
|
# @return [Array<Types::CloudFormationHealth>]
|
507
590
|
#
|
591
|
+
# @!attribute [rw] service
|
592
|
+
# An array of `ServiceHealth` objects that describes the health of the
|
593
|
+
# AWS services associated with the resources in the collection.
|
594
|
+
# @return [Array<Types::ServiceHealth>]
|
595
|
+
#
|
508
596
|
# @!attribute [rw] next_token
|
509
597
|
# The pagination token to use to retrieve the next page of results for
|
510
598
|
# this operation. If there are no more pages, this value is null.
|
@@ -514,6 +602,7 @@ module Aws::DevOpsGuru
|
|
514
602
|
#
|
515
603
|
class DescribeResourceCollectionHealthResponse < Struct.new(
|
516
604
|
:cloud_formation,
|
605
|
+
:service,
|
517
606
|
:next_token)
|
518
607
|
SENSITIVE = []
|
519
608
|
include Aws::Structure
|
@@ -574,7 +663,8 @@ module Aws::DevOpsGuru
|
|
574
663
|
# A collection of AWS resources supported by DevOps Guru. The one type
|
575
664
|
# of AWS resource collection supported is AWS CloudFormation stacks.
|
576
665
|
# DevOps Guru can be configured to analyze only the AWS resources that
|
577
|
-
# are defined in the stacks.
|
666
|
+
# are defined in the stacks. You can specify up to 500 AWS
|
667
|
+
# CloudFormation stacks.
|
578
668
|
# @return [Types::ResourceCollection]
|
579
669
|
#
|
580
670
|
# @!attribute [rw] id
|
@@ -680,11 +770,75 @@ module Aws::DevOpsGuru
|
|
680
770
|
include Aws::Structure
|
681
771
|
end
|
682
772
|
|
773
|
+
# @note When making an API call, you may pass GetCostEstimationRequest
|
774
|
+
# data as a hash:
|
775
|
+
#
|
776
|
+
# {
|
777
|
+
# next_token: "UuidNextToken",
|
778
|
+
# }
|
779
|
+
#
|
780
|
+
# @!attribute [rw] next_token
|
781
|
+
# The pagination token to use to retrieve the next page of results for
|
782
|
+
# this operation. If this value is null, it retrieves the first page.
|
783
|
+
# @return [String]
|
784
|
+
#
|
785
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/GetCostEstimationRequest AWS API Documentation
|
786
|
+
#
|
787
|
+
class GetCostEstimationRequest < Struct.new(
|
788
|
+
:next_token)
|
789
|
+
SENSITIVE = []
|
790
|
+
include Aws::Structure
|
791
|
+
end
|
792
|
+
|
793
|
+
# @!attribute [rw] resource_collection
|
794
|
+
# The collection of the AWS resources used to create your monthly
|
795
|
+
# DevOps Guru cost estimate.
|
796
|
+
# @return [Types::CostEstimationResourceCollectionFilter]
|
797
|
+
#
|
798
|
+
# @!attribute [rw] status
|
799
|
+
# The status of creating this cost estimate. If it's still in
|
800
|
+
# progress, the status `ONGOING` is returned. If it is finished, the
|
801
|
+
# status `COMPLETED` is returned.
|
802
|
+
# @return [String]
|
803
|
+
#
|
804
|
+
# @!attribute [rw] costs
|
805
|
+
# An array of `ResourceCost` objects that each contains details about
|
806
|
+
# the monthly cost estimate to analyze one of your AWS resources.
|
807
|
+
# @return [Array<Types::ServiceResourceCost>]
|
808
|
+
#
|
809
|
+
# @!attribute [rw] time_range
|
810
|
+
# The start and end time of the cost estimation.
|
811
|
+
# @return [Types::CostEstimationTimeRange]
|
812
|
+
#
|
813
|
+
# @!attribute [rw] total_cost
|
814
|
+
# The estimated monthly cost to analyze the AWS resources. This value
|
815
|
+
# is the sum of the estimated costs to analyze each resource in the
|
816
|
+
# `Costs` object in this response.
|
817
|
+
# @return [Float]
|
818
|
+
#
|
819
|
+
# @!attribute [rw] next_token
|
820
|
+
# The pagination token to use to retrieve the next page of results for
|
821
|
+
# this operation. If there are no more pages, this value is null.
|
822
|
+
# @return [String]
|
823
|
+
#
|
824
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/GetCostEstimationResponse AWS API Documentation
|
825
|
+
#
|
826
|
+
class GetCostEstimationResponse < Struct.new(
|
827
|
+
:resource_collection,
|
828
|
+
:status,
|
829
|
+
:costs,
|
830
|
+
:time_range,
|
831
|
+
:total_cost,
|
832
|
+
:next_token)
|
833
|
+
SENSITIVE = []
|
834
|
+
include Aws::Structure
|
835
|
+
end
|
836
|
+
|
683
837
|
# @note When making an API call, you may pass GetResourceCollectionRequest
|
684
838
|
# data as a hash:
|
685
839
|
#
|
686
840
|
# {
|
687
|
-
# resource_collection_type: "AWS_CLOUD_FORMATION", # required, accepts AWS_CLOUD_FORMATION
|
841
|
+
# resource_collection_type: "AWS_CLOUD_FORMATION", # required, accepts AWS_CLOUD_FORMATION, AWS_SERVICE
|
688
842
|
# next_token: "UuidNextToken",
|
689
843
|
# }
|
690
844
|
#
|
@@ -711,7 +865,8 @@ module Aws::DevOpsGuru
|
|
711
865
|
# The requested list of AWS resource collections. The one type of AWS
|
712
866
|
# resource collection supported is AWS CloudFormation stacks. DevOps
|
713
867
|
# Guru can be configured to analyze only the AWS resources that are
|
714
|
-
# defined in the stacks.
|
868
|
+
# defined in the stacks. You can specify up to 500 AWS CloudFormation
|
869
|
+
# stacks.
|
715
870
|
# @return [Types::ResourceCollectionFilter]
|
716
871
|
#
|
717
872
|
# @!attribute [rw] next_token
|
@@ -939,7 +1094,8 @@ module Aws::DevOpsGuru
|
|
939
1094
|
# A collection of AWS resources supported by DevOps Guru. The one type
|
940
1095
|
# of AWS resource collection supported is AWS CloudFormation stacks.
|
941
1096
|
# DevOps Guru can be configured to analyze only the AWS resources that
|
942
|
-
# are defined in the stacks.
|
1097
|
+
# are defined in the stacks. You can specify up to 500 AWS
|
1098
|
+
# CloudFormation stacks.
|
943
1099
|
# @return [Types::ResourceCollection]
|
944
1100
|
#
|
945
1101
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListEventsFilters AWS API Documentation
|
@@ -1274,6 +1430,7 @@ module Aws::DevOpsGuru
|
|
1274
1430
|
# {
|
1275
1431
|
# insight_id: "InsightId", # required
|
1276
1432
|
# next_token: "UuidNextToken",
|
1433
|
+
# locale: "DE_DE", # accepts DE_DE, EN_US, EN_GB, ES_ES, FR_FR, IT_IT, JA_JP, KO_KR, PT_BR, ZH_CN, ZH_TW
|
1277
1434
|
# }
|
1278
1435
|
#
|
1279
1436
|
# @!attribute [rw] insight_id
|
@@ -1285,11 +1442,16 @@ module Aws::DevOpsGuru
|
|
1285
1442
|
# this operation. If this value is null, it retrieves the first page.
|
1286
1443
|
# @return [String]
|
1287
1444
|
#
|
1445
|
+
# @!attribute [rw] locale
|
1446
|
+
# A locale that specifies the language to use for recommendations.
|
1447
|
+
# @return [String]
|
1448
|
+
#
|
1288
1449
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListRecommendationsRequest AWS API Documentation
|
1289
1450
|
#
|
1290
1451
|
class ListRecommendationsRequest < Struct.new(
|
1291
1452
|
:insight_id,
|
1292
|
-
:next_token
|
1453
|
+
:next_token,
|
1454
|
+
:locale)
|
1293
1455
|
SENSITIVE = []
|
1294
1456
|
include Aws::Structure
|
1295
1457
|
end
|
@@ -1499,7 +1661,8 @@ module Aws::DevOpsGuru
|
|
1499
1661
|
# A collection of AWS resources supported by DevOps Guru. The one type
|
1500
1662
|
# of AWS resource collection supported is AWS CloudFormation stacks.
|
1501
1663
|
# DevOps Guru can be configured to analyze only the AWS resources that
|
1502
|
-
# are defined in the stacks.
|
1664
|
+
# are defined in the stacks. You can specify up to 500 AWS
|
1665
|
+
# CloudFormation stacks.
|
1503
1666
|
# @return [Types::ResourceCollection]
|
1504
1667
|
#
|
1505
1668
|
# @!attribute [rw] limit
|
@@ -1569,7 +1732,8 @@ module Aws::DevOpsGuru
|
|
1569
1732
|
# A collection of AWS resources supported by DevOps Guru. The one type
|
1570
1733
|
# of AWS resource collection supported is AWS CloudFormation stacks.
|
1571
1734
|
# DevOps Guru can be configured to analyze only the AWS resources that
|
1572
|
-
# are defined in the stacks.
|
1735
|
+
# are defined in the stacks. You can specify up to 500 AWS
|
1736
|
+
# CloudFormation stacks.
|
1573
1737
|
# @return [Types::ResourceCollection]
|
1574
1738
|
#
|
1575
1739
|
# @!attribute [rw] limit
|
@@ -1628,7 +1792,8 @@ module Aws::DevOpsGuru
|
|
1628
1792
|
# A collection of AWS resources supported by DevOps Guru. The one type
|
1629
1793
|
# of AWS resource collection supported is AWS CloudFormation stacks.
|
1630
1794
|
# DevOps Guru can be configured to analyze only the AWS resources that
|
1631
|
-
# are defined in the stacks.
|
1795
|
+
# are defined in the stacks. You can specify up to 500 AWS
|
1796
|
+
# CloudFormation stacks.
|
1632
1797
|
# @return [Types::ResourceCollection]
|
1633
1798
|
#
|
1634
1799
|
# @!attribute [rw] ssm_ops_item_id
|
@@ -1685,9 +1850,14 @@ module Aws::DevOpsGuru
|
|
1685
1850
|
# A collection of AWS resources supported by DevOps Guru. The one type
|
1686
1851
|
# of AWS resource collection supported is AWS CloudFormation stacks.
|
1687
1852
|
# DevOps Guru can be configured to analyze only the AWS resources that
|
1688
|
-
# are defined in the stacks.
|
1853
|
+
# are defined in the stacks. You can specify up to 500 AWS
|
1854
|
+
# CloudFormation stacks.
|
1689
1855
|
# @return [Types::ResourceCollection]
|
1690
1856
|
#
|
1857
|
+
# @!attribute [rw] service_collection
|
1858
|
+
# A collection of the names of AWS services.
|
1859
|
+
# @return [Types::ServiceCollection]
|
1860
|
+
#
|
1691
1861
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ProactiveInsightSummary AWS API Documentation
|
1692
1862
|
#
|
1693
1863
|
class ProactiveInsightSummary < Struct.new(
|
@@ -1697,7 +1867,8 @@ module Aws::DevOpsGuru
|
|
1697
1867
|
:status,
|
1698
1868
|
:insight_time_range,
|
1699
1869
|
:prediction_time_range,
|
1700
|
-
:resource_collection
|
1870
|
+
:resource_collection,
|
1871
|
+
:service_collection)
|
1701
1872
|
SENSITIVE = []
|
1702
1873
|
include Aws::Structure
|
1703
1874
|
end
|
@@ -1764,7 +1935,8 @@ module Aws::DevOpsGuru
|
|
1764
1935
|
# A collection of AWS resources supported by DevOps Guru. The one type
|
1765
1936
|
# of AWS resource collection supported is AWS CloudFormation stacks.
|
1766
1937
|
# DevOps Guru can be configured to analyze only the AWS resources that
|
1767
|
-
# are defined in the stacks.
|
1938
|
+
# are defined in the stacks. You can specify up to 500 AWS
|
1939
|
+
# CloudFormation stacks.
|
1768
1940
|
# @return [Types::ResourceCollection]
|
1769
1941
|
#
|
1770
1942
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ReactiveAnomaly AWS API Documentation
|
@@ -1816,7 +1988,8 @@ module Aws::DevOpsGuru
|
|
1816
1988
|
# A collection of AWS resources supported by DevOps Guru. The one type
|
1817
1989
|
# of AWS resource collection supported is AWS CloudFormation stacks.
|
1818
1990
|
# DevOps Guru can be configured to analyze only the AWS resources that
|
1819
|
-
# are defined in the stacks.
|
1991
|
+
# are defined in the stacks. You can specify up to 500 AWS
|
1992
|
+
# CloudFormation stacks.
|
1820
1993
|
# @return [Types::ResourceCollection]
|
1821
1994
|
#
|
1822
1995
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ReactiveAnomalySummary AWS API Documentation
|
@@ -1861,7 +2034,8 @@ module Aws::DevOpsGuru
|
|
1861
2034
|
# A collection of AWS resources supported by DevOps Guru. The one type
|
1862
2035
|
# of AWS resource collection supported is AWS CloudFormation stacks.
|
1863
2036
|
# DevOps Guru can be configured to analyze only the AWS resources that
|
1864
|
-
# are defined in the stacks.
|
2037
|
+
# are defined in the stacks. You can specify up to 500 AWS
|
2038
|
+
# CloudFormation stacks.
|
1865
2039
|
# @return [Types::ResourceCollection]
|
1866
2040
|
#
|
1867
2041
|
# @!attribute [rw] ssm_ops_item_id
|
@@ -1912,9 +2086,14 @@ module Aws::DevOpsGuru
|
|
1912
2086
|
# A collection of AWS resources supported by DevOps Guru. The one type
|
1913
2087
|
# of AWS resource collection supported is AWS CloudFormation stacks.
|
1914
2088
|
# DevOps Guru can be configured to analyze only the AWS resources that
|
1915
|
-
# are defined in the stacks.
|
2089
|
+
# are defined in the stacks. You can specify up to 500 AWS
|
2090
|
+
# CloudFormation stacks.
|
1916
2091
|
# @return [Types::ResourceCollection]
|
1917
2092
|
#
|
2093
|
+
# @!attribute [rw] service_collection
|
2094
|
+
# A collection of the names of AWS services.
|
2095
|
+
# @return [Types::ServiceCollection]
|
2096
|
+
#
|
1918
2097
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ReactiveInsightSummary AWS API Documentation
|
1919
2098
|
#
|
1920
2099
|
class ReactiveInsightSummary < Struct.new(
|
@@ -1923,7 +2102,8 @@ module Aws::DevOpsGuru
|
|
1923
2102
|
:severity,
|
1924
2103
|
:status,
|
1925
2104
|
:insight_time_range,
|
1926
|
-
:resource_collection
|
2105
|
+
:resource_collection,
|
2106
|
+
:service_collection)
|
1927
2107
|
SENSITIVE = []
|
1928
2108
|
include Aws::Structure
|
1929
2109
|
end
|
@@ -2062,7 +2242,8 @@ module Aws::DevOpsGuru
|
|
2062
2242
|
#
|
2063
2243
|
# @!attribute [rw] resources
|
2064
2244
|
# A `ResourceCollection` object that contains arrays of the names of
|
2065
|
-
# AWS CloudFormation stacks.
|
2245
|
+
# AWS CloudFormation stacks. You can specify up to 500 AWS
|
2246
|
+
# CloudFormation stacks.
|
2066
2247
|
# @return [Array<Types::RecommendationRelatedEventResource>]
|
2067
2248
|
#
|
2068
2249
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/RecommendationRelatedEvent AWS API Documentation
|
@@ -2122,7 +2303,8 @@ module Aws::DevOpsGuru
|
|
2122
2303
|
# A collection of AWS resources supported by DevOps Guru. The one type
|
2123
2304
|
# of AWS resource collection supported is AWS CloudFormation stacks.
|
2124
2305
|
# DevOps Guru can be configured to analyze only the AWS resources that
|
2125
|
-
# are defined in the stacks.
|
2306
|
+
# are defined in the stacks. You can specify up to 500 AWS
|
2307
|
+
# CloudFormation stacks.
|
2126
2308
|
#
|
2127
2309
|
# @note When making an API call, you may pass ResourceCollection
|
2128
2310
|
# data as a hash:
|
@@ -2135,7 +2317,8 @@ module Aws::DevOpsGuru
|
|
2135
2317
|
#
|
2136
2318
|
# @!attribute [rw] cloud_formation
|
2137
2319
|
# An array of the names of AWS CloudFormation stacks. The stacks
|
2138
|
-
# define AWS resources that DevOps Guru analyzes.
|
2320
|
+
# define AWS resources that DevOps Guru analyzes. You can specify up
|
2321
|
+
# to 500 AWS CloudFormation stacks.
|
2139
2322
|
# @return [Types::CloudFormationCollection]
|
2140
2323
|
#
|
2141
2324
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ResourceCollection AWS API Documentation
|
@@ -2150,9 +2333,10 @@ module Aws::DevOpsGuru
|
|
2150
2333
|
# analyzed for anomalous behavior by DevOps Guru.
|
2151
2334
|
#
|
2152
2335
|
# @!attribute [rw] cloud_formation
|
2153
|
-
# Information about AWS CloudFormation stacks. You can use
|
2154
|
-
# specify which AWS resources in your account to analyze.
|
2155
|
-
# information, see [Stacks][1] in the *AWS CloudFormation
|
2336
|
+
# Information about AWS CloudFormation stacks. You can use up to 500
|
2337
|
+
# stacks to specify which AWS resources in your account to analyze.
|
2338
|
+
# For more information, see [Stacks][1] in the *AWS CloudFormation
|
2339
|
+
# User Guide*.
|
2156
2340
|
#
|
2157
2341
|
#
|
2158
2342
|
#
|
@@ -2204,6 +2388,9 @@ module Aws::DevOpsGuru
|
|
2204
2388
|
# stack_names: ["StackName"],
|
2205
2389
|
# },
|
2206
2390
|
# },
|
2391
|
+
# service_collection: {
|
2392
|
+
# service_names: ["API_GATEWAY"], # accepts API_GATEWAY, APPLICATION_ELB, AUTO_SCALING_GROUP, CLOUD_FRONT, DYNAMO_DB, EC2, ECS, EKS, ELASTIC_BEANSTALK, ELASTI_CACHE, ELB, ES, KINESIS, LAMBDA, NAT_GATEWAY, NETWORK_ELB, RDS, REDSHIFT, ROUTE_53, S3, SAGE_MAKER, SNS, SQS, STEP_FUNCTIONS, SWF
|
2393
|
+
# },
|
2207
2394
|
# }
|
2208
2395
|
#
|
2209
2396
|
# @!attribute [rw] severities
|
@@ -2218,15 +2405,21 @@ module Aws::DevOpsGuru
|
|
2218
2405
|
# A collection of AWS resources supported by DevOps Guru. The one type
|
2219
2406
|
# of AWS resource collection supported is AWS CloudFormation stacks.
|
2220
2407
|
# DevOps Guru can be configured to analyze only the AWS resources that
|
2221
|
-
# are defined in the stacks.
|
2408
|
+
# are defined in the stacks. You can specify up to 500 AWS
|
2409
|
+
# CloudFormation stacks.
|
2222
2410
|
# @return [Types::ResourceCollection]
|
2223
2411
|
#
|
2412
|
+
# @!attribute [rw] service_collection
|
2413
|
+
# A collection of the names of AWS services.
|
2414
|
+
# @return [Types::ServiceCollection]
|
2415
|
+
#
|
2224
2416
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/SearchInsightsFilters AWS API Documentation
|
2225
2417
|
#
|
2226
2418
|
class SearchInsightsFilters < Struct.new(
|
2227
2419
|
:severities,
|
2228
2420
|
:statuses,
|
2229
|
-
:resource_collection
|
2421
|
+
:resource_collection,
|
2422
|
+
:service_collection)
|
2230
2423
|
SENSITIVE = []
|
2231
2424
|
include Aws::Structure
|
2232
2425
|
end
|
@@ -2247,6 +2440,9 @@ module Aws::DevOpsGuru
|
|
2247
2440
|
# stack_names: ["StackName"],
|
2248
2441
|
# },
|
2249
2442
|
# },
|
2443
|
+
# service_collection: {
|
2444
|
+
# service_names: ["API_GATEWAY"], # accepts API_GATEWAY, APPLICATION_ELB, AUTO_SCALING_GROUP, CLOUD_FRONT, DYNAMO_DB, EC2, ECS, EKS, ELASTIC_BEANSTALK, ELASTI_CACHE, ELB, ES, KINESIS, LAMBDA, NAT_GATEWAY, NETWORK_ELB, RDS, REDSHIFT, ROUTE_53, S3, SAGE_MAKER, SNS, SQS, STEP_FUNCTIONS, SWF
|
2445
|
+
# },
|
2250
2446
|
# },
|
2251
2447
|
# max_results: 1,
|
2252
2448
|
# next_token: "UuidNextToken",
|
@@ -2314,6 +2510,68 @@ module Aws::DevOpsGuru
|
|
2314
2510
|
include Aws::Structure
|
2315
2511
|
end
|
2316
2512
|
|
2513
|
+
# A collection of the names of AWS services.
|
2514
|
+
#
|
2515
|
+
# @note When making an API call, you may pass ServiceCollection
|
2516
|
+
# data as a hash:
|
2517
|
+
#
|
2518
|
+
# {
|
2519
|
+
# service_names: ["API_GATEWAY"], # accepts API_GATEWAY, APPLICATION_ELB, AUTO_SCALING_GROUP, CLOUD_FRONT, DYNAMO_DB, EC2, ECS, EKS, ELASTIC_BEANSTALK, ELASTI_CACHE, ELB, ES, KINESIS, LAMBDA, NAT_GATEWAY, NETWORK_ELB, RDS, REDSHIFT, ROUTE_53, S3, SAGE_MAKER, SNS, SQS, STEP_FUNCTIONS, SWF
|
2520
|
+
# }
|
2521
|
+
#
|
2522
|
+
# @!attribute [rw] service_names
|
2523
|
+
# An array of strings that each specifies the name of an AWS service.
|
2524
|
+
# @return [Array<String>]
|
2525
|
+
#
|
2526
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ServiceCollection AWS API Documentation
|
2527
|
+
#
|
2528
|
+
class ServiceCollection < Struct.new(
|
2529
|
+
:service_names)
|
2530
|
+
SENSITIVE = []
|
2531
|
+
include Aws::Structure
|
2532
|
+
end
|
2533
|
+
|
2534
|
+
# Represents the health of an AWS service.
|
2535
|
+
#
|
2536
|
+
# @!attribute [rw] service_name
|
2537
|
+
# The name of the AWS service.
|
2538
|
+
# @return [String]
|
2539
|
+
#
|
2540
|
+
# @!attribute [rw] insight
|
2541
|
+
# Represents the health of an AWS service. This is a
|
2542
|
+
# `ServiceInsightHealth` that contains the number of open proactive
|
2543
|
+
# and reactive insights for this service.
|
2544
|
+
# @return [Types::ServiceInsightHealth]
|
2545
|
+
#
|
2546
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ServiceHealth AWS API Documentation
|
2547
|
+
#
|
2548
|
+
class ServiceHealth < Struct.new(
|
2549
|
+
:service_name,
|
2550
|
+
:insight)
|
2551
|
+
SENSITIVE = []
|
2552
|
+
include Aws::Structure
|
2553
|
+
end
|
2554
|
+
|
2555
|
+
# Contains the number of open proactive and reactive insights in an
|
2556
|
+
# analyzed AWS service.
|
2557
|
+
#
|
2558
|
+
# @!attribute [rw] open_proactive_insights
|
2559
|
+
# The number of open proactive insights in the AWS service
|
2560
|
+
# @return [Integer]
|
2561
|
+
#
|
2562
|
+
# @!attribute [rw] open_reactive_insights
|
2563
|
+
# The number of open reactive insights in the AWS service
|
2564
|
+
# @return [Integer]
|
2565
|
+
#
|
2566
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ServiceInsightHealth AWS API Documentation
|
2567
|
+
#
|
2568
|
+
class ServiceInsightHealth < Struct.new(
|
2569
|
+
:open_proactive_insights,
|
2570
|
+
:open_reactive_insights)
|
2571
|
+
SENSITIVE = []
|
2572
|
+
include Aws::Structure
|
2573
|
+
end
|
2574
|
+
|
2317
2575
|
# Information about the integration of DevOps Guru with another AWS
|
2318
2576
|
# service, such as AWS Systems Manager.
|
2319
2577
|
#
|
@@ -2343,6 +2601,59 @@ module Aws::DevOpsGuru
|
|
2343
2601
|
include Aws::Structure
|
2344
2602
|
end
|
2345
2603
|
|
2604
|
+
# An object that contains information about the estimated monthly cost
|
2605
|
+
# to analyze an AWS resource. For more information, see [Estimate your
|
2606
|
+
# Amazon DevOps Guru costs][1] and [Amazon DevOps Guru pricing][2].
|
2607
|
+
#
|
2608
|
+
#
|
2609
|
+
#
|
2610
|
+
# [1]: https://docs.aws.amazon.com/devops-guru/latest/userguide/cost-estimate.html
|
2611
|
+
# [2]: http://aws.amazon.com/devops-guru/pricing/
|
2612
|
+
#
|
2613
|
+
# @!attribute [rw] type
|
2614
|
+
# The type of the AWS resource.
|
2615
|
+
# @return [String]
|
2616
|
+
#
|
2617
|
+
# @!attribute [rw] state
|
2618
|
+
# The state of the resource. The resource is `ACTIVE` if it produces
|
2619
|
+
# metrics, events, or logs within an hour, otherwise it is `INACTIVE`.
|
2620
|
+
# You pay for the number of active AWS resource hours analyzed for
|
2621
|
+
# each resource. Inactive resources are not charged.
|
2622
|
+
# @return [String]
|
2623
|
+
#
|
2624
|
+
# @!attribute [rw] count
|
2625
|
+
# The number of active resources analyzed for this service to create a
|
2626
|
+
# monthly cost estimate.
|
2627
|
+
# @return [Integer]
|
2628
|
+
#
|
2629
|
+
# @!attribute [rw] unit_cost
|
2630
|
+
# The price per hour to analyze the resources in the service. For more
|
2631
|
+
# information, see [Estimate your Amazon DevOps Guru costs][1] and
|
2632
|
+
# [Amazon DevOps Guru pricing][2].
|
2633
|
+
#
|
2634
|
+
#
|
2635
|
+
#
|
2636
|
+
# [1]: https://docs.aws.amazon.com/devops-guru/latest/userguide/cost-estimate.html
|
2637
|
+
# [2]: http://aws.amazon.com/devops-guru/pricing/
|
2638
|
+
# @return [Float]
|
2639
|
+
#
|
2640
|
+
# @!attribute [rw] cost
|
2641
|
+
# The total estimated monthly cost to analyze the active resources for
|
2642
|
+
# this resource.
|
2643
|
+
# @return [Float]
|
2644
|
+
#
|
2645
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ServiceResourceCost AWS API Documentation
|
2646
|
+
#
|
2647
|
+
class ServiceResourceCost < Struct.new(
|
2648
|
+
:type,
|
2649
|
+
:state,
|
2650
|
+
:count,
|
2651
|
+
:unit_cost,
|
2652
|
+
:cost)
|
2653
|
+
SENSITIVE = []
|
2654
|
+
include Aws::Structure
|
2655
|
+
end
|
2656
|
+
|
2346
2657
|
# Contains the Amazon Resource Name (ARN) of an Amazon Simple
|
2347
2658
|
# Notification Service topic.
|
2348
2659
|
#
|
@@ -2382,6 +2693,43 @@ module Aws::DevOpsGuru
|
|
2382
2693
|
include Aws::Structure
|
2383
2694
|
end
|
2384
2695
|
|
2696
|
+
# @note When making an API call, you may pass StartCostEstimationRequest
|
2697
|
+
# data as a hash:
|
2698
|
+
#
|
2699
|
+
# {
|
2700
|
+
# resource_collection: { # required
|
2701
|
+
# cloud_formation: {
|
2702
|
+
# stack_names: ["StackName"],
|
2703
|
+
# },
|
2704
|
+
# },
|
2705
|
+
# client_token: "ClientToken",
|
2706
|
+
# }
|
2707
|
+
#
|
2708
|
+
# @!attribute [rw] resource_collection
|
2709
|
+
# The collection of AWS resources used to create a monthly DevOps Guru
|
2710
|
+
# cost estimate.
|
2711
|
+
# @return [Types::CostEstimationResourceCollectionFilter]
|
2712
|
+
#
|
2713
|
+
# @!attribute [rw] client_token
|
2714
|
+
# The idempotency token used to identify each cost estimate request.
|
2715
|
+
#
|
2716
|
+
# **A suitable default value is auto-generated.** You should normally
|
2717
|
+
# not need to pass this option.
|
2718
|
+
# @return [String]
|
2719
|
+
#
|
2720
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/StartCostEstimationRequest AWS API Documentation
|
2721
|
+
#
|
2722
|
+
class StartCostEstimationRequest < Struct.new(
|
2723
|
+
:resource_collection,
|
2724
|
+
:client_token)
|
2725
|
+
SENSITIVE = []
|
2726
|
+
include Aws::Structure
|
2727
|
+
end
|
2728
|
+
|
2729
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/StartCostEstimationResponse AWS API Documentation
|
2730
|
+
#
|
2731
|
+
class StartCostEstimationResponse < Aws::EmptyStructure; end
|
2732
|
+
|
2385
2733
|
# A time range used to specify when the behavior of an insight or
|
2386
2734
|
# anomaly started.
|
2387
2735
|
#
|
@@ -2441,7 +2789,8 @@ module Aws::DevOpsGuru
|
|
2441
2789
|
end
|
2442
2790
|
|
2443
2791
|
# Contains the names of AWS CloudFormation stacks used to update a
|
2444
|
-
# collection of stacks.
|
2792
|
+
# collection of stacks. You can specify up to 500 AWS CloudFormation
|
2793
|
+
# stacks.
|
2445
2794
|
#
|
2446
2795
|
# @note When making an API call, you may pass UpdateCloudFormationCollectionFilter
|
2447
2796
|
# data as a hash:
|
@@ -2451,7 +2800,8 @@ module Aws::DevOpsGuru
|
|
2451
2800
|
# }
|
2452
2801
|
#
|
2453
2802
|
# @!attribute [rw] stack_names
|
2454
|
-
# An array of the
|
2803
|
+
# An array of the names of the AWS CloudFormation stacks to update.
|
2804
|
+
# You can specify up to 500 AWS CloudFormation stacks.
|
2455
2805
|
# @return [Array<String>]
|
2456
2806
|
#
|
2457
2807
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/UpdateCloudFormationCollectionFilter AWS API Documentation
|
@@ -2474,7 +2824,8 @@ module Aws::DevOpsGuru
|
|
2474
2824
|
# }
|
2475
2825
|
#
|
2476
2826
|
# @!attribute [rw] cloud_formation
|
2477
|
-
# An collection of AWS CloudFormation stacks.
|
2827
|
+
# An collection of AWS CloudFormation stacks. You can specify up to
|
2828
|
+
# 500 AWS CloudFormation stacks.
|
2478
2829
|
# @return [Types::UpdateCloudFormationCollectionFilter]
|
2479
2830
|
#
|
2480
2831
|
# @see http://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/UpdateResourceCollectionFilter AWS API Documentation
|
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.6.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-
|
11
|
+
date: 2021-05-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -66,8 +66,8 @@ homepage: https://github.com/aws/aws-sdk-ruby
|
|
66
66
|
licenses:
|
67
67
|
- Apache-2.0
|
68
68
|
metadata:
|
69
|
-
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/
|
70
|
-
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/
|
69
|
+
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-devopsguru
|
70
|
+
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-devopsguru/CHANGELOG.md
|
71
71
|
post_install_message:
|
72
72
|
rdoc_options: []
|
73
73
|
require_paths:
|
@@ -83,8 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
83
83
|
- !ruby/object:Gem::Version
|
84
84
|
version: '0'
|
85
85
|
requirements: []
|
86
|
-
|
87
|
-
rubygems_version: 2.7.6.2
|
86
|
+
rubygems_version: 3.1.6
|
88
87
|
signing_key:
|
89
88
|
specification_version: 4
|
90
89
|
summary: AWS SDK for Ruby - Amazon DevOps Guru
|