aws-sdk-costoptimizationhub 1.42.0 → 1.43.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-costoptimizationhub/client.rb +1 -1
- data/lib/aws-sdk-costoptimizationhub.rb +1 -1
- data/sig/client.rbs +2 -36
- data/sig/params.rbs +32 -0
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 114632fc5af5ee14c3b8d6b394d89e5ddd18a7af0b019755ae87a0a59e2f8a55
|
|
4
|
+
data.tar.gz: e9e954e8b35f26ea1f73d3ca880b600f88b0919ebfc36bb134bbcbb075697e5d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3454a6b15ef4685394bd28434f3516056220f0d08ebab8cd154166c77a6a02fe06e90867a4c15c6e7b579da014e0711e2a87ae2e46c658daf372b215151e35b3
|
|
7
|
+
data.tar.gz: e1ff211e9c8ab461c7e060de757f84d48b419bc42f9d6b2eb1b5604c4b23744c5cc874cdcd06ae9a242853f2714661e426a48fd59ddfa52d806edfaed829c787
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.43.0
|
|
@@ -1580,7 +1580,7 @@ module Aws::CostOptimizationHub
|
|
|
1580
1580
|
tracer: tracer
|
|
1581
1581
|
)
|
|
1582
1582
|
context[:gem_name] = 'aws-sdk-costoptimizationhub'
|
|
1583
|
-
context[:gem_version] = '1.
|
|
1583
|
+
context[:gem_version] = '1.43.0'
|
|
1584
1584
|
Seahorse::Client::Request.new(handlers, context)
|
|
1585
1585
|
end
|
|
1586
1586
|
|
data/sig/client.rbs
CHANGED
|
@@ -170,24 +170,7 @@ module Aws
|
|
|
170
170
|
end
|
|
171
171
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostOptimizationHub/Client.html#list_recommendation_summaries-instance_method
|
|
172
172
|
def list_recommendation_summaries: (
|
|
173
|
-
?filter:
|
|
174
|
-
restart_needed: bool?,
|
|
175
|
-
rollback_possible: bool?,
|
|
176
|
-
implementation_efforts: Array[("VeryLow" | "Low" | "Medium" | "High" | "VeryHigh")]?,
|
|
177
|
-
account_ids: Array[::String]?,
|
|
178
|
-
regions: Array[::String]?,
|
|
179
|
-
resource_types: Array[("Ec2Instance" | "LambdaFunction" | "EbsVolume" | "EcsService" | "Ec2AutoScalingGroup" | "Ec2InstanceSavingsPlans" | "ComputeSavingsPlans" | "SageMakerSavingsPlans" | "Ec2ReservedInstances" | "RdsReservedInstances" | "OpenSearchReservedInstances" | "RedshiftReservedInstances" | "ElastiCacheReservedInstances" | "RdsDbInstanceStorage" | "RdsDbInstance" | "AuroraDbClusterStorage" | "DynamoDbReservedCapacity" | "MemoryDbReservedInstances" | "NatGateway")]?,
|
|
180
|
-
action_types: Array[("Rightsize" | "Stop" | "Upgrade" | "PurchaseSavingsPlans" | "PurchaseReservedInstances" | "MigrateToGraviton" | "Delete" | "ScaleIn")]?,
|
|
181
|
-
tags: Array[
|
|
182
|
-
{
|
|
183
|
-
key: ::String?,
|
|
184
|
-
value: ::String?
|
|
185
|
-
},
|
|
186
|
-
]?,
|
|
187
|
-
resource_ids: Array[::String]?,
|
|
188
|
-
resource_arns: Array[::String]?,
|
|
189
|
-
recommendation_ids: Array[::String]?
|
|
190
|
-
},
|
|
173
|
+
?filter: Params::filter,
|
|
191
174
|
group_by: ::String,
|
|
192
175
|
?max_results: ::Integer,
|
|
193
176
|
?metrics: Array[("SavingsPercentage")],
|
|
@@ -202,24 +185,7 @@ module Aws
|
|
|
202
185
|
end
|
|
203
186
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostOptimizationHub/Client.html#list_recommendations-instance_method
|
|
204
187
|
def list_recommendations: (
|
|
205
|
-
?filter:
|
|
206
|
-
restart_needed: bool?,
|
|
207
|
-
rollback_possible: bool?,
|
|
208
|
-
implementation_efforts: Array[("VeryLow" | "Low" | "Medium" | "High" | "VeryHigh")]?,
|
|
209
|
-
account_ids: Array[::String]?,
|
|
210
|
-
regions: Array[::String]?,
|
|
211
|
-
resource_types: Array[("Ec2Instance" | "LambdaFunction" | "EbsVolume" | "EcsService" | "Ec2AutoScalingGroup" | "Ec2InstanceSavingsPlans" | "ComputeSavingsPlans" | "SageMakerSavingsPlans" | "Ec2ReservedInstances" | "RdsReservedInstances" | "OpenSearchReservedInstances" | "RedshiftReservedInstances" | "ElastiCacheReservedInstances" | "RdsDbInstanceStorage" | "RdsDbInstance" | "AuroraDbClusterStorage" | "DynamoDbReservedCapacity" | "MemoryDbReservedInstances" | "NatGateway")]?,
|
|
212
|
-
action_types: Array[("Rightsize" | "Stop" | "Upgrade" | "PurchaseSavingsPlans" | "PurchaseReservedInstances" | "MigrateToGraviton" | "Delete" | "ScaleIn")]?,
|
|
213
|
-
tags: Array[
|
|
214
|
-
{
|
|
215
|
-
key: ::String?,
|
|
216
|
-
value: ::String?
|
|
217
|
-
},
|
|
218
|
-
]?,
|
|
219
|
-
resource_ids: Array[::String]?,
|
|
220
|
-
resource_arns: Array[::String]?,
|
|
221
|
-
recommendation_ids: Array[::String]?
|
|
222
|
-
},
|
|
188
|
+
?filter: Params::filter,
|
|
223
189
|
?order_by: {
|
|
224
190
|
dimension: ::String?,
|
|
225
191
|
order: ("Asc" | "Desc")?
|
data/sig/params.rbs
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
|
2
|
+
#
|
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
5
|
+
#
|
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
|
7
|
+
|
|
8
|
+
module Aws
|
|
9
|
+
module CostOptimizationHub
|
|
10
|
+
module Params
|
|
11
|
+
type filter = {
|
|
12
|
+
restart_needed: bool?,
|
|
13
|
+
rollback_possible: bool?,
|
|
14
|
+
implementation_efforts: Array[("VeryLow" | "Low" | "Medium" | "High" | "VeryHigh")]?,
|
|
15
|
+
account_ids: Array[::String]?,
|
|
16
|
+
regions: Array[::String]?,
|
|
17
|
+
resource_types: Array[("Ec2Instance" | "LambdaFunction" | "EbsVolume" | "EcsService" | "Ec2AutoScalingGroup" | "Ec2InstanceSavingsPlans" | "ComputeSavingsPlans" | "SageMakerSavingsPlans" | "Ec2ReservedInstances" | "RdsReservedInstances" | "OpenSearchReservedInstances" | "RedshiftReservedInstances" | "ElastiCacheReservedInstances" | "RdsDbInstanceStorage" | "RdsDbInstance" | "AuroraDbClusterStorage" | "DynamoDbReservedCapacity" | "MemoryDbReservedInstances" | "NatGateway")]?,
|
|
18
|
+
action_types: Array[("Rightsize" | "Stop" | "Upgrade" | "PurchaseSavingsPlans" | "PurchaseReservedInstances" | "MigrateToGraviton" | "Delete" | "ScaleIn")]?,
|
|
19
|
+
tags: Array[
|
|
20
|
+
{
|
|
21
|
+
key: ::String?,
|
|
22
|
+
value: ::String?
|
|
23
|
+
}
|
|
24
|
+
]?,
|
|
25
|
+
resource_ids: Array[::String]?,
|
|
26
|
+
resource_arns: Array[::String]?,
|
|
27
|
+
recommendation_ids: Array[::String]?
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-costoptimizationhub
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.43.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
@@ -68,6 +68,7 @@ files:
|
|
|
68
68
|
- lib/aws-sdk-costoptimizationhub/waiters.rb
|
|
69
69
|
- sig/client.rbs
|
|
70
70
|
- sig/errors.rbs
|
|
71
|
+
- sig/params.rbs
|
|
71
72
|
- sig/resource.rbs
|
|
72
73
|
- sig/types.rbs
|
|
73
74
|
- sig/waiters.rbs
|