aws-sdk-savingsplans 1.69.0 → 1.70.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-savingsplans/client.rb +26 -25
- data/lib/aws-sdk-savingsplans/client_api.rb +1 -0
- data/lib/aws-sdk-savingsplans/types.rb +1 -1
- data/lib/aws-sdk-savingsplans.rb +1 -1
- data/sig/client.rbs +7 -7
- data/sig/types.rbs +22 -22
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 22411e10ba203cbc1f6a8d6e824b64473b99bfb7af7dfffc20b1c4b9ded0ff92
|
|
4
|
+
data.tar.gz: 1bea77c2ac26f825662f1aae0b48f21ac70f0afd6ddd2928ebb5e8eed5ac8d95
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ad89b3aeffcad943a8192fd49b7f0b83688f8cca5d3b77ff2182309efbfbcb2459cc1083515a7930c689eab1597224a5087fab9d13fd96102e78649be188447c
|
|
7
|
+
data.tar.gz: fe9dffafed06223799e2a36b3e9f68b642b6971f3c81a73258af7f72de14c807ad8d78d4df4e0cd0c0ecfcc503a82dab6b5abe7693f7a90f6284262529505b3e
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.70.0
|
|
@@ -557,7 +557,7 @@ module Aws::SavingsPlans
|
|
|
557
557
|
req.send_request(options)
|
|
558
558
|
end
|
|
559
559
|
|
|
560
|
-
# Describes the rates for
|
|
560
|
+
# Describes the rates for a specific, existing Savings Plan.
|
|
561
561
|
#
|
|
562
562
|
# @option params [required, String] :savings_plan_id
|
|
563
563
|
# The ID of the Savings Plan.
|
|
@@ -598,10 +598,10 @@ module Aws::SavingsPlans
|
|
|
598
598
|
# resp.savings_plan_id #=> String
|
|
599
599
|
# resp.search_results #=> Array
|
|
600
600
|
# resp.search_results[0].rate #=> String
|
|
601
|
-
# resp.search_results[0].currency #=> String, one of "CNY", "USD"
|
|
602
|
-
# resp.search_results[0].unit #=> String, one of "Hrs", "Lambda-GB-Second", "Request"
|
|
603
|
-
# resp.search_results[0].product_type #=> String, one of "EC2", "Fargate", "Lambda", "SageMaker"
|
|
604
|
-
# resp.search_results[0].service_code #=> String, one of "AmazonEC2", "AmazonECS", "AmazonEKS", "AWSLambda", "AmazonSageMaker"
|
|
601
|
+
# resp.search_results[0].currency #=> String, one of "CNY", "USD", "EUR"
|
|
602
|
+
# resp.search_results[0].unit #=> String, one of "Hrs", "Lambda-GB-Second", "Request", "ACU-Hr", "ReadRequestUnits", "WriteRequestUnits", "ReadCapacityUnit-Hrs", "WriteCapacityUnit-Hrs", "ReplicatedWriteRequestUnits", "ReplicatedWriteCapacityUnit-Hrs", "GB-Hours", "DPU", "ElastiCacheProcessingUnit", "DCU-Hr", "NCU-hr"
|
|
603
|
+
# resp.search_results[0].product_type #=> String, one of "EC2", "Fargate", "Lambda", "SageMaker", "RDS", "DSQL", "DynamoDB", "ElastiCache", "DocDB", "Neptune", "Timestream", "Keyspaces", "DMS"
|
|
604
|
+
# resp.search_results[0].service_code #=> String, one of "AmazonEC2", "AmazonECS", "AmazonEKS", "AWSLambda", "AmazonSageMaker", "AmazonRDS", "AuroraDSQL", "AmazonDynamoDB", "AmazonElastiCache", "AmazonDocDB", "AmazonNeptune", "AmazonTimestream", "AmazonMCS", "AWSDatabaseMigrationSvc"
|
|
605
605
|
# resp.search_results[0].usage_type #=> String
|
|
606
606
|
# resp.search_results[0].operation #=> String
|
|
607
607
|
# resp.search_results[0].properties #=> Array
|
|
@@ -655,7 +655,7 @@ module Aws::SavingsPlans
|
|
|
655
655
|
# states: ["payment-pending"], # accepts payment-pending, payment-failed, active, retired, queued, queued-deleted, pending-return, returned
|
|
656
656
|
# filters: [
|
|
657
657
|
# {
|
|
658
|
-
# name: "region", # accepts region, ec2-instance-family, commitment, upfront, term, savings-plan-type, payment-option, start, end
|
|
658
|
+
# name: "region", # accepts region, ec2-instance-family, commitment, upfront, term, savings-plan-type, payment-option, start, end, instance-family
|
|
659
659
|
# values: ["String"],
|
|
660
660
|
# },
|
|
661
661
|
# ],
|
|
@@ -673,11 +673,11 @@ module Aws::SavingsPlans
|
|
|
673
673
|
# resp.savings_plans[0].state #=> String, one of "payment-pending", "payment-failed", "active", "retired", "queued", "queued-deleted", "pending-return", "returned"
|
|
674
674
|
# resp.savings_plans[0].region #=> String
|
|
675
675
|
# resp.savings_plans[0].ec2_instance_family #=> String
|
|
676
|
-
# resp.savings_plans[0].savings_plan_type #=> String, one of "Compute", "EC2Instance", "SageMaker"
|
|
676
|
+
# resp.savings_plans[0].savings_plan_type #=> String, one of "Compute", "EC2Instance", "SageMaker", "Database"
|
|
677
677
|
# resp.savings_plans[0].payment_option #=> String, one of "All Upfront", "Partial Upfront", "No Upfront"
|
|
678
678
|
# resp.savings_plans[0].product_types #=> Array
|
|
679
|
-
# resp.savings_plans[0].product_types[0] #=> String, one of "EC2", "Fargate", "Lambda", "SageMaker"
|
|
680
|
-
# resp.savings_plans[0].currency #=> String, one of "CNY", "USD"
|
|
679
|
+
# resp.savings_plans[0].product_types[0] #=> String, one of "EC2", "Fargate", "Lambda", "SageMaker", "RDS", "DSQL", "DynamoDB", "ElastiCache", "DocDB", "Neptune", "Timestream", "Keyspaces", "DMS"
|
|
680
|
+
# resp.savings_plans[0].currency #=> String, one of "CNY", "USD", "EUR"
|
|
681
681
|
# resp.savings_plans[0].commitment #=> String
|
|
682
682
|
# resp.savings_plans[0].upfront_payment_amount #=> String
|
|
683
683
|
# resp.savings_plans[0].recurring_payment_amount #=> String
|
|
@@ -696,7 +696,8 @@ module Aws::SavingsPlans
|
|
|
696
696
|
req.send_request(options)
|
|
697
697
|
end
|
|
698
698
|
|
|
699
|
-
# Describes the offering rates for
|
|
699
|
+
# Describes the offering rates for Savings Plans you might want to
|
|
700
|
+
# purchase.
|
|
700
701
|
#
|
|
701
702
|
# @option params [Array<String>] :savings_plan_offering_ids
|
|
702
703
|
# The IDs of the offerings.
|
|
@@ -741,9 +742,9 @@ module Aws::SavingsPlans
|
|
|
741
742
|
# resp = client.describe_savings_plans_offering_rates({
|
|
742
743
|
# savings_plan_offering_ids: ["UUID"],
|
|
743
744
|
# savings_plan_payment_options: ["All Upfront"], # accepts All Upfront, Partial Upfront, No Upfront
|
|
744
|
-
# savings_plan_types: ["Compute"], # accepts Compute, EC2Instance, SageMaker
|
|
745
|
-
# products: ["EC2"], # accepts EC2, Fargate, Lambda, SageMaker
|
|
746
|
-
# service_codes: ["AmazonEC2"], # accepts AmazonEC2, AmazonECS, AmazonEKS, AWSLambda, AmazonSageMaker
|
|
745
|
+
# savings_plan_types: ["Compute"], # accepts Compute, EC2Instance, SageMaker, Database
|
|
746
|
+
# products: ["EC2"], # accepts EC2, Fargate, Lambda, SageMaker, RDS, DSQL, DynamoDB, ElastiCache, DocDB, Neptune, Timestream, Keyspaces, DMS
|
|
747
|
+
# service_codes: ["AmazonEC2"], # accepts AmazonEC2, AmazonECS, AmazonEKS, AWSLambda, AmazonSageMaker, AmazonRDS, AuroraDSQL, AmazonDynamoDB, AmazonElastiCache, AmazonDocDB, AmazonNeptune, AmazonTimestream, AmazonMCS, AWSDatabaseMigrationSvc
|
|
747
748
|
# usage_types: ["SavingsPlanRateUsageType"],
|
|
748
749
|
# operations: ["SavingsPlanRateOperation"],
|
|
749
750
|
# filters: [
|
|
@@ -761,14 +762,14 @@ module Aws::SavingsPlans
|
|
|
761
762
|
# resp.search_results #=> Array
|
|
762
763
|
# resp.search_results[0].savings_plan_offering.offering_id #=> String
|
|
763
764
|
# resp.search_results[0].savings_plan_offering.payment_option #=> String, one of "All Upfront", "Partial Upfront", "No Upfront"
|
|
764
|
-
# resp.search_results[0].savings_plan_offering.plan_type #=> String, one of "Compute", "EC2Instance", "SageMaker"
|
|
765
|
+
# resp.search_results[0].savings_plan_offering.plan_type #=> String, one of "Compute", "EC2Instance", "SageMaker", "Database"
|
|
765
766
|
# resp.search_results[0].savings_plan_offering.duration_seconds #=> Integer
|
|
766
|
-
# resp.search_results[0].savings_plan_offering.currency #=> String, one of "CNY", "USD"
|
|
767
|
+
# resp.search_results[0].savings_plan_offering.currency #=> String, one of "CNY", "USD", "EUR"
|
|
767
768
|
# resp.search_results[0].savings_plan_offering.plan_description #=> String
|
|
768
769
|
# resp.search_results[0].rate #=> String
|
|
769
|
-
# resp.search_results[0].unit #=> String, one of "Hrs", "Lambda-GB-Second", "Request"
|
|
770
|
-
# resp.search_results[0].product_type #=> String, one of "EC2", "Fargate", "Lambda", "SageMaker"
|
|
771
|
-
# resp.search_results[0].service_code #=> String, one of "AmazonEC2", "AmazonECS", "AmazonEKS", "AWSLambda", "AmazonSageMaker"
|
|
770
|
+
# resp.search_results[0].unit #=> String, one of "Hrs", "Lambda-GB-Second", "Request", "ACU-Hr", "ReadRequestUnits", "WriteRequestUnits", "ReadCapacityUnit-Hrs", "WriteCapacityUnit-Hrs", "ReplicatedWriteRequestUnits", "ReplicatedWriteCapacityUnit-Hrs", "GB-Hours", "DPU", "ElastiCacheProcessingUnit", "DCU-Hr", "NCU-hr"
|
|
771
|
+
# resp.search_results[0].product_type #=> String, one of "EC2", "Fargate", "Lambda", "SageMaker", "RDS", "DSQL", "DynamoDB", "ElastiCache", "DocDB", "Neptune", "Timestream", "Keyspaces", "DMS"
|
|
772
|
+
# resp.search_results[0].service_code #=> String, one of "AmazonEC2", "AmazonECS", "AmazonEKS", "AWSLambda", "AmazonSageMaker", "AmazonRDS", "AuroraDSQL", "AmazonDynamoDB", "AmazonElastiCache", "AmazonDocDB", "AmazonNeptune", "AmazonTimestream", "AmazonMCS", "AWSDatabaseMigrationSvc"
|
|
772
773
|
# resp.search_results[0].usage_type #=> String
|
|
773
774
|
# resp.search_results[0].operation #=> String
|
|
774
775
|
# resp.search_results[0].properties #=> Array
|
|
@@ -839,10 +840,10 @@ module Aws::SavingsPlans
|
|
|
839
840
|
# resp = client.describe_savings_plans_offerings({
|
|
840
841
|
# offering_ids: ["UUID"],
|
|
841
842
|
# payment_options: ["All Upfront"], # accepts All Upfront, Partial Upfront, No Upfront
|
|
842
|
-
# product_type: "EC2", # accepts EC2, Fargate, Lambda, SageMaker
|
|
843
|
-
# plan_types: ["Compute"], # accepts Compute, EC2Instance, SageMaker
|
|
843
|
+
# product_type: "EC2", # accepts EC2, Fargate, Lambda, SageMaker, RDS, DSQL, DynamoDB, ElastiCache, DocDB, Neptune, Timestream, Keyspaces, DMS
|
|
844
|
+
# plan_types: ["Compute"], # accepts Compute, EC2Instance, SageMaker, Database
|
|
844
845
|
# durations: [1],
|
|
845
|
-
# currencies: ["CNY"], # accepts CNY, USD
|
|
846
|
+
# currencies: ["CNY"], # accepts CNY, USD, EUR
|
|
846
847
|
# descriptions: ["SavingsPlanDescription"],
|
|
847
848
|
# service_codes: ["SavingsPlanServiceCode"],
|
|
848
849
|
# usage_types: ["SavingsPlanUsageType"],
|
|
@@ -862,12 +863,12 @@ module Aws::SavingsPlans
|
|
|
862
863
|
# resp.search_results #=> Array
|
|
863
864
|
# resp.search_results[0].offering_id #=> String
|
|
864
865
|
# resp.search_results[0].product_types #=> Array
|
|
865
|
-
# resp.search_results[0].product_types[0] #=> String, one of "EC2", "Fargate", "Lambda", "SageMaker"
|
|
866
|
-
# resp.search_results[0].plan_type #=> String, one of "Compute", "EC2Instance", "SageMaker"
|
|
866
|
+
# resp.search_results[0].product_types[0] #=> String, one of "EC2", "Fargate", "Lambda", "SageMaker", "RDS", "DSQL", "DynamoDB", "ElastiCache", "DocDB", "Neptune", "Timestream", "Keyspaces", "DMS"
|
|
867
|
+
# resp.search_results[0].plan_type #=> String, one of "Compute", "EC2Instance", "SageMaker", "Database"
|
|
867
868
|
# resp.search_results[0].description #=> String
|
|
868
869
|
# resp.search_results[0].payment_option #=> String, one of "All Upfront", "Partial Upfront", "No Upfront"
|
|
869
870
|
# resp.search_results[0].duration_seconds #=> Integer
|
|
870
|
-
# resp.search_results[0].currency #=> String, one of "CNY", "USD"
|
|
871
|
+
# resp.search_results[0].currency #=> String, one of "CNY", "USD", "EUR"
|
|
871
872
|
# resp.search_results[0].service_code #=> String
|
|
872
873
|
# resp.search_results[0].usage_type #=> String
|
|
873
874
|
# resp.search_results[0].operation #=> String
|
|
@@ -1023,7 +1024,7 @@ module Aws::SavingsPlans
|
|
|
1023
1024
|
tracer: tracer
|
|
1024
1025
|
)
|
|
1025
1026
|
context[:gem_name] = 'aws-sdk-savingsplans'
|
|
1026
|
-
context[:gem_version] = '1.
|
|
1027
|
+
context[:gem_version] = '1.70.0'
|
|
1027
1028
|
Seahorse::Client::Request.new(handlers, context)
|
|
1028
1029
|
end
|
|
1029
1030
|
|
|
@@ -437,6 +437,7 @@ module Aws::SavingsPlans
|
|
|
437
437
|
o.output = Shapes::ShapeRef.new(shape: DescribeSavingsPlanRatesResponse)
|
|
438
438
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
439
439
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
440
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
440
441
|
end)
|
|
441
442
|
|
|
442
443
|
api.add_operation(:describe_savings_plans, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -564,7 +564,7 @@ module Aws::SavingsPlans
|
|
|
564
564
|
# @!attribute [rw] returnable_until
|
|
565
565
|
# The time until when a return for the Savings Plan can be requested.
|
|
566
566
|
# If the Savings Plan is not returnable, the field reflects the
|
|
567
|
-
# Savings
|
|
567
|
+
# Savings Plans start time.
|
|
568
568
|
# @return [String]
|
|
569
569
|
#
|
|
570
570
|
# @see http://docs.aws.amazon.com/goto/WebAPI/savingsplans-2019-06-28/SavingsPlan AWS API Documentation
|
data/lib/aws-sdk-savingsplans.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -136,7 +136,7 @@ module Aws
|
|
|
136
136
|
?states: Array[("payment-pending" | "payment-failed" | "active" | "retired" | "queued" | "queued-deleted" | "pending-return" | "returned")],
|
|
137
137
|
?filters: Array[
|
|
138
138
|
{
|
|
139
|
-
name: ("region" | "ec2-instance-family" | "commitment" | "upfront" | "term" | "savings-plan-type" | "payment-option" | "start" | "end")?,
|
|
139
|
+
name: ("region" | "ec2-instance-family" | "commitment" | "upfront" | "term" | "savings-plan-type" | "payment-option" | "start" | "end" | "instance-family")?,
|
|
140
140
|
values: Array[::String]?
|
|
141
141
|
},
|
|
142
142
|
]
|
|
@@ -152,9 +152,9 @@ module Aws
|
|
|
152
152
|
def describe_savings_plans_offering_rates: (
|
|
153
153
|
?savings_plan_offering_ids: Array[::String],
|
|
154
154
|
?savings_plan_payment_options: Array[("All Upfront" | "Partial Upfront" | "No Upfront")],
|
|
155
|
-
?savings_plan_types: Array[("Compute" | "EC2Instance" | "SageMaker")],
|
|
156
|
-
?products: Array[("EC2" | "Fargate" | "Lambda" | "SageMaker")],
|
|
157
|
-
?service_codes: Array[("AmazonEC2" | "AmazonECS" | "AmazonEKS" | "AWSLambda" | "AmazonSageMaker")],
|
|
155
|
+
?savings_plan_types: Array[("Compute" | "EC2Instance" | "SageMaker" | "Database")],
|
|
156
|
+
?products: Array[("EC2" | "Fargate" | "Lambda" | "SageMaker" | "RDS" | "DSQL" | "DynamoDB" | "ElastiCache" | "DocDB" | "Neptune" | "Timestream" | "Keyspaces" | "DMS")],
|
|
157
|
+
?service_codes: Array[("AmazonEC2" | "AmazonECS" | "AmazonEKS" | "AWSLambda" | "AmazonSageMaker" | "AmazonRDS" | "AuroraDSQL" | "AmazonDynamoDB" | "AmazonElastiCache" | "AmazonDocDB" | "AmazonNeptune" | "AmazonTimestream" | "AmazonMCS" | "AWSDatabaseMigrationSvc")],
|
|
158
158
|
?usage_types: Array[::String],
|
|
159
159
|
?operations: Array[::String],
|
|
160
160
|
?filters: Array[
|
|
@@ -177,10 +177,10 @@ module Aws
|
|
|
177
177
|
def describe_savings_plans_offerings: (
|
|
178
178
|
?offering_ids: Array[::String],
|
|
179
179
|
?payment_options: Array[("All Upfront" | "Partial Upfront" | "No Upfront")],
|
|
180
|
-
?product_type: ("EC2" | "Fargate" | "Lambda" | "SageMaker"),
|
|
181
|
-
?plan_types: Array[("Compute" | "EC2Instance" | "SageMaker")],
|
|
180
|
+
?product_type: ("EC2" | "Fargate" | "Lambda" | "SageMaker" | "RDS" | "DSQL" | "DynamoDB" | "ElastiCache" | "DocDB" | "Neptune" | "Timestream" | "Keyspaces" | "DMS"),
|
|
181
|
+
?plan_types: Array[("Compute" | "EC2Instance" | "SageMaker" | "Database")],
|
|
182
182
|
?durations: Array[::Integer],
|
|
183
|
-
?currencies: Array[("CNY" | "USD")],
|
|
183
|
+
?currencies: Array[("CNY" | "USD" | "EUR")],
|
|
184
184
|
?descriptions: Array[::String],
|
|
185
185
|
?service_codes: Array[::String],
|
|
186
186
|
?usage_types: Array[::String],
|
data/sig/types.rbs
CHANGED
|
@@ -49,9 +49,9 @@ module Aws::SavingsPlans
|
|
|
49
49
|
class DescribeSavingsPlansOfferingRatesRequest
|
|
50
50
|
attr_accessor savings_plan_offering_ids: ::Array[::String]
|
|
51
51
|
attr_accessor savings_plan_payment_options: ::Array[("All Upfront" | "Partial Upfront" | "No Upfront")]
|
|
52
|
-
attr_accessor savings_plan_types: ::Array[("Compute" | "EC2Instance" | "SageMaker")]
|
|
53
|
-
attr_accessor products: ::Array[("EC2" | "Fargate" | "Lambda" | "SageMaker")]
|
|
54
|
-
attr_accessor service_codes: ::Array[("AmazonEC2" | "AmazonECS" | "AmazonEKS" | "AWSLambda" | "AmazonSageMaker")]
|
|
52
|
+
attr_accessor savings_plan_types: ::Array[("Compute" | "EC2Instance" | "SageMaker" | "Database")]
|
|
53
|
+
attr_accessor products: ::Array[("EC2" | "Fargate" | "Lambda" | "SageMaker" | "RDS" | "DSQL" | "DynamoDB" | "ElastiCache" | "DocDB" | "Neptune" | "Timestream" | "Keyspaces" | "DMS")]
|
|
54
|
+
attr_accessor service_codes: ::Array[("AmazonEC2" | "AmazonECS" | "AmazonEKS" | "AWSLambda" | "AmazonSageMaker" | "AmazonRDS" | "AuroraDSQL" | "AmazonDynamoDB" | "AmazonElastiCache" | "AmazonDocDB" | "AmazonNeptune" | "AmazonTimestream" | "AmazonMCS" | "AWSDatabaseMigrationSvc")]
|
|
55
55
|
attr_accessor usage_types: ::Array[::String]
|
|
56
56
|
attr_accessor operations: ::Array[::String]
|
|
57
57
|
attr_accessor filters: ::Array[Types::SavingsPlanOfferingRateFilterElement]
|
|
@@ -69,10 +69,10 @@ module Aws::SavingsPlans
|
|
|
69
69
|
class DescribeSavingsPlansOfferingsRequest
|
|
70
70
|
attr_accessor offering_ids: ::Array[::String]
|
|
71
71
|
attr_accessor payment_options: ::Array[("All Upfront" | "Partial Upfront" | "No Upfront")]
|
|
72
|
-
attr_accessor product_type: ("EC2" | "Fargate" | "Lambda" | "SageMaker")
|
|
73
|
-
attr_accessor plan_types: ::Array[("Compute" | "EC2Instance" | "SageMaker")]
|
|
72
|
+
attr_accessor product_type: ("EC2" | "Fargate" | "Lambda" | "SageMaker" | "RDS" | "DSQL" | "DynamoDB" | "ElastiCache" | "DocDB" | "Neptune" | "Timestream" | "Keyspaces" | "DMS")
|
|
73
|
+
attr_accessor plan_types: ::Array[("Compute" | "EC2Instance" | "SageMaker" | "Database")]
|
|
74
74
|
attr_accessor durations: ::Array[::Integer]
|
|
75
|
-
attr_accessor currencies: ::Array[("CNY" | "USD")]
|
|
75
|
+
attr_accessor currencies: ::Array[("CNY" | "USD" | "EUR")]
|
|
76
76
|
attr_accessor descriptions: ::Array[::String]
|
|
77
77
|
attr_accessor service_codes: ::Array[::String]
|
|
78
78
|
attr_accessor usage_types: ::Array[::String]
|
|
@@ -123,9 +123,9 @@ module Aws::SavingsPlans
|
|
|
123
123
|
class ParentSavingsPlanOffering
|
|
124
124
|
attr_accessor offering_id: ::String
|
|
125
125
|
attr_accessor payment_option: ("All Upfront" | "Partial Upfront" | "No Upfront")
|
|
126
|
-
attr_accessor plan_type: ("Compute" | "EC2Instance" | "SageMaker")
|
|
126
|
+
attr_accessor plan_type: ("Compute" | "EC2Instance" | "SageMaker" | "Database")
|
|
127
127
|
attr_accessor duration_seconds: ::Integer
|
|
128
|
-
attr_accessor currency: ("CNY" | "USD")
|
|
128
|
+
attr_accessor currency: ("CNY" | "USD" | "EUR")
|
|
129
129
|
attr_accessor plan_description: ::String
|
|
130
130
|
SENSITIVE: []
|
|
131
131
|
end
|
|
@@ -156,10 +156,10 @@ module Aws::SavingsPlans
|
|
|
156
156
|
attr_accessor state: ("payment-pending" | "payment-failed" | "active" | "retired" | "queued" | "queued-deleted" | "pending-return" | "returned")
|
|
157
157
|
attr_accessor region: ::String
|
|
158
158
|
attr_accessor ec2_instance_family: ::String
|
|
159
|
-
attr_accessor savings_plan_type: ("Compute" | "EC2Instance" | "SageMaker")
|
|
159
|
+
attr_accessor savings_plan_type: ("Compute" | "EC2Instance" | "SageMaker" | "Database")
|
|
160
160
|
attr_accessor payment_option: ("All Upfront" | "Partial Upfront" | "No Upfront")
|
|
161
|
-
attr_accessor product_types: ::Array[("EC2" | "Fargate" | "Lambda" | "SageMaker")]
|
|
162
|
-
attr_accessor currency: ("CNY" | "USD")
|
|
161
|
+
attr_accessor product_types: ::Array[("EC2" | "Fargate" | "Lambda" | "SageMaker" | "RDS" | "DSQL" | "DynamoDB" | "ElastiCache" | "DocDB" | "Neptune" | "Timestream" | "Keyspaces" | "DMS")]
|
|
162
|
+
attr_accessor currency: ("CNY" | "USD" | "EUR")
|
|
163
163
|
attr_accessor commitment: ::String
|
|
164
164
|
attr_accessor upfront_payment_amount: ::String
|
|
165
165
|
attr_accessor recurring_payment_amount: ::String
|
|
@@ -170,19 +170,19 @@ module Aws::SavingsPlans
|
|
|
170
170
|
end
|
|
171
171
|
|
|
172
172
|
class SavingsPlanFilter
|
|
173
|
-
attr_accessor name: ("region" | "ec2-instance-family" | "commitment" | "upfront" | "term" | "savings-plan-type" | "payment-option" | "start" | "end")
|
|
173
|
+
attr_accessor name: ("region" | "ec2-instance-family" | "commitment" | "upfront" | "term" | "savings-plan-type" | "payment-option" | "start" | "end" | "instance-family")
|
|
174
174
|
attr_accessor values: ::Array[::String]
|
|
175
175
|
SENSITIVE: []
|
|
176
176
|
end
|
|
177
177
|
|
|
178
178
|
class SavingsPlanOffering
|
|
179
179
|
attr_accessor offering_id: ::String
|
|
180
|
-
attr_accessor product_types: ::Array[("EC2" | "Fargate" | "Lambda" | "SageMaker")]
|
|
181
|
-
attr_accessor plan_type: ("Compute" | "EC2Instance" | "SageMaker")
|
|
180
|
+
attr_accessor product_types: ::Array[("EC2" | "Fargate" | "Lambda" | "SageMaker" | "RDS" | "DSQL" | "DynamoDB" | "ElastiCache" | "DocDB" | "Neptune" | "Timestream" | "Keyspaces" | "DMS")]
|
|
181
|
+
attr_accessor plan_type: ("Compute" | "EC2Instance" | "SageMaker" | "Database")
|
|
182
182
|
attr_accessor description: ::String
|
|
183
183
|
attr_accessor payment_option: ("All Upfront" | "Partial Upfront" | "No Upfront")
|
|
184
184
|
attr_accessor duration_seconds: ::Integer
|
|
185
|
-
attr_accessor currency: ("CNY" | "USD")
|
|
185
|
+
attr_accessor currency: ("CNY" | "USD" | "EUR")
|
|
186
186
|
attr_accessor service_code: ::String
|
|
187
187
|
attr_accessor usage_type: ::String
|
|
188
188
|
attr_accessor operation: ::String
|
|
@@ -205,9 +205,9 @@ module Aws::SavingsPlans
|
|
|
205
205
|
class SavingsPlanOfferingRate
|
|
206
206
|
attr_accessor savings_plan_offering: Types::ParentSavingsPlanOffering
|
|
207
207
|
attr_accessor rate: ::String
|
|
208
|
-
attr_accessor unit: ("Hrs" | "Lambda-GB-Second" | "Request")
|
|
209
|
-
attr_accessor product_type: ("EC2" | "Fargate" | "Lambda" | "SageMaker")
|
|
210
|
-
attr_accessor service_code: ("AmazonEC2" | "AmazonECS" | "AmazonEKS" | "AWSLambda" | "AmazonSageMaker")
|
|
208
|
+
attr_accessor unit: ("Hrs" | "Lambda-GB-Second" | "Request" | "ACU-Hr" | "ReadRequestUnits" | "WriteRequestUnits" | "ReadCapacityUnit-Hrs" | "WriteCapacityUnit-Hrs" | "ReplicatedWriteRequestUnits" | "ReplicatedWriteCapacityUnit-Hrs" | "GB-Hours" | "DPU" | "ElastiCacheProcessingUnit" | "DCU-Hr" | "NCU-hr")
|
|
209
|
+
attr_accessor product_type: ("EC2" | "Fargate" | "Lambda" | "SageMaker" | "RDS" | "DSQL" | "DynamoDB" | "ElastiCache" | "DocDB" | "Neptune" | "Timestream" | "Keyspaces" | "DMS")
|
|
210
|
+
attr_accessor service_code: ("AmazonEC2" | "AmazonECS" | "AmazonEKS" | "AWSLambda" | "AmazonSageMaker" | "AmazonRDS" | "AuroraDSQL" | "AmazonDynamoDB" | "AmazonElastiCache" | "AmazonDocDB" | "AmazonNeptune" | "AmazonTimestream" | "AmazonMCS" | "AWSDatabaseMigrationSvc")
|
|
211
211
|
attr_accessor usage_type: ::String
|
|
212
212
|
attr_accessor operation: ::String
|
|
213
213
|
attr_accessor properties: ::Array[Types::SavingsPlanOfferingRateProperty]
|
|
@@ -228,10 +228,10 @@ module Aws::SavingsPlans
|
|
|
228
228
|
|
|
229
229
|
class SavingsPlanRate
|
|
230
230
|
attr_accessor rate: ::String
|
|
231
|
-
attr_accessor currency: ("CNY" | "USD")
|
|
232
|
-
attr_accessor unit: ("Hrs" | "Lambda-GB-Second" | "Request")
|
|
233
|
-
attr_accessor product_type: ("EC2" | "Fargate" | "Lambda" | "SageMaker")
|
|
234
|
-
attr_accessor service_code: ("AmazonEC2" | "AmazonECS" | "AmazonEKS" | "AWSLambda" | "AmazonSageMaker")
|
|
231
|
+
attr_accessor currency: ("CNY" | "USD" | "EUR")
|
|
232
|
+
attr_accessor unit: ("Hrs" | "Lambda-GB-Second" | "Request" | "ACU-Hr" | "ReadRequestUnits" | "WriteRequestUnits" | "ReadCapacityUnit-Hrs" | "WriteCapacityUnit-Hrs" | "ReplicatedWriteRequestUnits" | "ReplicatedWriteCapacityUnit-Hrs" | "GB-Hours" | "DPU" | "ElastiCacheProcessingUnit" | "DCU-Hr" | "NCU-hr")
|
|
233
|
+
attr_accessor product_type: ("EC2" | "Fargate" | "Lambda" | "SageMaker" | "RDS" | "DSQL" | "DynamoDB" | "ElastiCache" | "DocDB" | "Neptune" | "Timestream" | "Keyspaces" | "DMS")
|
|
234
|
+
attr_accessor service_code: ("AmazonEC2" | "AmazonECS" | "AmazonEKS" | "AWSLambda" | "AmazonSageMaker" | "AmazonRDS" | "AuroraDSQL" | "AmazonDynamoDB" | "AmazonElastiCache" | "AmazonDocDB" | "AmazonNeptune" | "AmazonTimestream" | "AmazonMCS" | "AWSDatabaseMigrationSvc")
|
|
235
235
|
attr_accessor usage_type: ::String
|
|
236
236
|
attr_accessor operation: ::String
|
|
237
237
|
attr_accessor properties: ::Array[Types::SavingsPlanRateProperty]
|