@aws-sdk/client-savingsplans 3.940.0 → 3.943.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.
- package/dist-cjs/index.js +33 -0
- package/dist-es/models/enums.js +33 -0
- package/dist-types/commands/DescribeSavingsPlanRatesCommand.d.ts +8 -5
- package/dist-types/commands/DescribeSavingsPlansCommand.d.ts +4 -4
- package/dist-types/commands/DescribeSavingsPlansOfferingRatesCommand.d.ts +9 -9
- package/dist-types/commands/DescribeSavingsPlansOfferingsCommand.d.ts +6 -6
- package/dist-types/models/enums.d.ts +33 -0
- package/dist-types/models/models_0.d.ts +1 -1
- package/dist-types/ts3.4/models/enums.d.ts +33 -0
- package/package.json +5 -5
package/dist-cjs/index.js
CHANGED
|
@@ -767,13 +767,23 @@ const SavingsPlanRateFilterName = {
|
|
|
767
767
|
};
|
|
768
768
|
const CurrencyCode = {
|
|
769
769
|
CNY: "CNY",
|
|
770
|
+
EUR: "EUR",
|
|
770
771
|
USD: "USD",
|
|
771
772
|
};
|
|
772
773
|
const SavingsPlanProductType = {
|
|
774
|
+
DMS: "DMS",
|
|
775
|
+
DOCDB: "DocDB",
|
|
776
|
+
DSQL: "DSQL",
|
|
777
|
+
DYNAMODB: "DynamoDB",
|
|
773
778
|
EC2: "EC2",
|
|
779
|
+
ELASTICACHE: "ElastiCache",
|
|
774
780
|
FARGATE: "Fargate",
|
|
781
|
+
KEYSPACES: "Keyspaces",
|
|
775
782
|
LAMBDA: "Lambda",
|
|
783
|
+
NEPTUNE: "Neptune",
|
|
784
|
+
RDS: "RDS",
|
|
776
785
|
SAGEMAKER: "SageMaker",
|
|
786
|
+
TIMESTREAM: "Timestream",
|
|
777
787
|
};
|
|
778
788
|
const SavingsPlanRatePropertyKey = {
|
|
779
789
|
INSTANCE_FAMILY: "instanceFamily",
|
|
@@ -783,21 +793,43 @@ const SavingsPlanRatePropertyKey = {
|
|
|
783
793
|
TENANCY: "tenancy",
|
|
784
794
|
};
|
|
785
795
|
const SavingsPlanRateServiceCode = {
|
|
796
|
+
AURORA: "AuroraDSQL",
|
|
797
|
+
DMS: "AWSDatabaseMigrationSvc",
|
|
798
|
+
DOCDB: "AmazonDocDB",
|
|
799
|
+
DYNAMODB: "AmazonDynamoDB",
|
|
786
800
|
EC2: "AmazonEC2",
|
|
801
|
+
ELASTICACHE: "AmazonElastiCache",
|
|
787
802
|
FARGATE: "AmazonECS",
|
|
788
803
|
FARGATE_EKS: "AmazonEKS",
|
|
789
804
|
LAMBDA: "AWSLambda",
|
|
805
|
+
MCS: "AmazonMCS",
|
|
806
|
+
NEPTUNE: "AmazonNeptune",
|
|
807
|
+
RDS: "AmazonRDS",
|
|
790
808
|
SAGEMAKER: "AmazonSageMaker",
|
|
809
|
+
TIMESTREAM: "AmazonTimestream",
|
|
791
810
|
};
|
|
792
811
|
const SavingsPlanRateUnit = {
|
|
812
|
+
ACU_HR: "ACU-Hr",
|
|
813
|
+
DCU_HR: "DCU-Hr",
|
|
814
|
+
DPU: "DPU",
|
|
815
|
+
ELASTI_CACHE_PROCESSING_UNIT: "ElastiCacheProcessingUnit",
|
|
816
|
+
GB_HOURS: "GB-Hours",
|
|
793
817
|
HOURS: "Hrs",
|
|
794
818
|
LAMBDA_GB_SECOND: "Lambda-GB-Second",
|
|
819
|
+
NCU_HR: "NCU-hr",
|
|
820
|
+
READ_CAPACITY_UNIT_HRS: "ReadCapacityUnit-Hrs",
|
|
821
|
+
READ_REQUEST_UNITS: "ReadRequestUnits",
|
|
822
|
+
REPLICATED_WRITE_CAPACITY_UNIT_HRS: "ReplicatedWriteCapacityUnit-Hrs",
|
|
823
|
+
REPLICATED_WRITE_REQUEST_UNITS: "ReplicatedWriteRequestUnits",
|
|
795
824
|
REQUEST: "Request",
|
|
825
|
+
WRITE_CAPACITY_UNIT_HRS: "WriteCapacityUnit-Hrs",
|
|
826
|
+
WRITE_REQUEST_UNITS: "WriteRequestUnits",
|
|
796
827
|
};
|
|
797
828
|
const SavingsPlansFilterName = {
|
|
798
829
|
COMMITMENT: "commitment",
|
|
799
830
|
EC2_INSTANCE_FAMILY: "ec2-instance-family",
|
|
800
831
|
END: "end",
|
|
832
|
+
INSTANCE_FAMILY: "instance-family",
|
|
801
833
|
PAYMENT_OPTION: "payment-option",
|
|
802
834
|
REGION: "region",
|
|
803
835
|
SAVINGS_PLAN_TYPE: "savings-plan-type",
|
|
@@ -822,6 +854,7 @@ const SavingsPlanPaymentOption = {
|
|
|
822
854
|
};
|
|
823
855
|
const SavingsPlanType = {
|
|
824
856
|
COMPUTE: "Compute",
|
|
857
|
+
DATABASE: "Database",
|
|
825
858
|
EC2_INSTANCE: "EC2Instance",
|
|
826
859
|
SAGEMAKER: "SageMaker",
|
|
827
860
|
};
|
package/dist-es/models/enums.js
CHANGED
|
@@ -10,13 +10,23 @@ export const SavingsPlanRateFilterName = {
|
|
|
10
10
|
};
|
|
11
11
|
export const CurrencyCode = {
|
|
12
12
|
CNY: "CNY",
|
|
13
|
+
EUR: "EUR",
|
|
13
14
|
USD: "USD",
|
|
14
15
|
};
|
|
15
16
|
export const SavingsPlanProductType = {
|
|
17
|
+
DMS: "DMS",
|
|
18
|
+
DOCDB: "DocDB",
|
|
19
|
+
DSQL: "DSQL",
|
|
20
|
+
DYNAMODB: "DynamoDB",
|
|
16
21
|
EC2: "EC2",
|
|
22
|
+
ELASTICACHE: "ElastiCache",
|
|
17
23
|
FARGATE: "Fargate",
|
|
24
|
+
KEYSPACES: "Keyspaces",
|
|
18
25
|
LAMBDA: "Lambda",
|
|
26
|
+
NEPTUNE: "Neptune",
|
|
27
|
+
RDS: "RDS",
|
|
19
28
|
SAGEMAKER: "SageMaker",
|
|
29
|
+
TIMESTREAM: "Timestream",
|
|
20
30
|
};
|
|
21
31
|
export const SavingsPlanRatePropertyKey = {
|
|
22
32
|
INSTANCE_FAMILY: "instanceFamily",
|
|
@@ -26,21 +36,43 @@ export const SavingsPlanRatePropertyKey = {
|
|
|
26
36
|
TENANCY: "tenancy",
|
|
27
37
|
};
|
|
28
38
|
export const SavingsPlanRateServiceCode = {
|
|
39
|
+
AURORA: "AuroraDSQL",
|
|
40
|
+
DMS: "AWSDatabaseMigrationSvc",
|
|
41
|
+
DOCDB: "AmazonDocDB",
|
|
42
|
+
DYNAMODB: "AmazonDynamoDB",
|
|
29
43
|
EC2: "AmazonEC2",
|
|
44
|
+
ELASTICACHE: "AmazonElastiCache",
|
|
30
45
|
FARGATE: "AmazonECS",
|
|
31
46
|
FARGATE_EKS: "AmazonEKS",
|
|
32
47
|
LAMBDA: "AWSLambda",
|
|
48
|
+
MCS: "AmazonMCS",
|
|
49
|
+
NEPTUNE: "AmazonNeptune",
|
|
50
|
+
RDS: "AmazonRDS",
|
|
33
51
|
SAGEMAKER: "AmazonSageMaker",
|
|
52
|
+
TIMESTREAM: "AmazonTimestream",
|
|
34
53
|
};
|
|
35
54
|
export const SavingsPlanRateUnit = {
|
|
55
|
+
ACU_HR: "ACU-Hr",
|
|
56
|
+
DCU_HR: "DCU-Hr",
|
|
57
|
+
DPU: "DPU",
|
|
58
|
+
ELASTI_CACHE_PROCESSING_UNIT: "ElastiCacheProcessingUnit",
|
|
59
|
+
GB_HOURS: "GB-Hours",
|
|
36
60
|
HOURS: "Hrs",
|
|
37
61
|
LAMBDA_GB_SECOND: "Lambda-GB-Second",
|
|
62
|
+
NCU_HR: "NCU-hr",
|
|
63
|
+
READ_CAPACITY_UNIT_HRS: "ReadCapacityUnit-Hrs",
|
|
64
|
+
READ_REQUEST_UNITS: "ReadRequestUnits",
|
|
65
|
+
REPLICATED_WRITE_CAPACITY_UNIT_HRS: "ReplicatedWriteCapacityUnit-Hrs",
|
|
66
|
+
REPLICATED_WRITE_REQUEST_UNITS: "ReplicatedWriteRequestUnits",
|
|
38
67
|
REQUEST: "Request",
|
|
68
|
+
WRITE_CAPACITY_UNIT_HRS: "WriteCapacityUnit-Hrs",
|
|
69
|
+
WRITE_REQUEST_UNITS: "WriteRequestUnits",
|
|
39
70
|
};
|
|
40
71
|
export const SavingsPlansFilterName = {
|
|
41
72
|
COMMITMENT: "commitment",
|
|
42
73
|
EC2_INSTANCE_FAMILY: "ec2-instance-family",
|
|
43
74
|
END: "end",
|
|
75
|
+
INSTANCE_FAMILY: "instance-family",
|
|
44
76
|
PAYMENT_OPTION: "payment-option",
|
|
45
77
|
REGION: "region",
|
|
46
78
|
SAVINGS_PLAN_TYPE: "savings-plan-type",
|
|
@@ -65,6 +97,7 @@ export const SavingsPlanPaymentOption = {
|
|
|
65
97
|
};
|
|
66
98
|
export const SavingsPlanType = {
|
|
67
99
|
COMPUTE: "Compute",
|
|
100
|
+
DATABASE: "Database",
|
|
68
101
|
EC2_INSTANCE: "EC2Instance",
|
|
69
102
|
SAGEMAKER: "SageMaker",
|
|
70
103
|
};
|
|
@@ -27,7 +27,7 @@ declare const DescribeSavingsPlanRatesCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Describes the rates for
|
|
30
|
+
* <p>Describes the rates for a specific, existing Savings Plan.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -56,10 +56,10 @@ declare const DescribeSavingsPlanRatesCommand_base: {
|
|
|
56
56
|
* // searchResults: [ // SavingsPlanRateList
|
|
57
57
|
* // { // SavingsPlanRate
|
|
58
58
|
* // rate: "STRING_VALUE",
|
|
59
|
-
* // currency: "CNY" || "USD",
|
|
60
|
-
* // unit: "Hrs" || "Lambda-GB-Second" || "Request",
|
|
61
|
-
* // productType: "EC2" || "Fargate" || "Lambda" || "SageMaker",
|
|
62
|
-
* // serviceCode: "AmazonEC2" || "AmazonECS" || "AmazonEKS" || "AWSLambda" || "AmazonSageMaker",
|
|
59
|
+
* // currency: "CNY" || "USD" || "EUR",
|
|
60
|
+
* // 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",
|
|
61
|
+
* // productType: "EC2" || "Fargate" || "Lambda" || "SageMaker" || "RDS" || "DSQL" || "DynamoDB" || "ElastiCache" || "DocDB" || "Neptune" || "Timestream" || "Keyspaces" || "DMS",
|
|
62
|
+
* // serviceCode: "AmazonEC2" || "AmazonECS" || "AmazonEKS" || "AWSLambda" || "AmazonSageMaker" || "AmazonRDS" || "AuroraDSQL" || "AmazonDynamoDB" || "AmazonElastiCache" || "AmazonDocDB" || "AmazonNeptune" || "AmazonTimestream" || "AmazonMCS" || "AWSDatabaseMigrationSvc",
|
|
63
63
|
* // usageType: "STRING_VALUE",
|
|
64
64
|
* // operation: "STRING_VALUE",
|
|
65
65
|
* // properties: [ // SavingsPlanRatePropertyList
|
|
@@ -81,6 +81,9 @@ declare const DescribeSavingsPlanRatesCommand_base: {
|
|
|
81
81
|
* @see {@link DescribeSavingsPlanRatesCommandOutput} for command's `response` shape.
|
|
82
82
|
* @see {@link SavingsplansClientResolvedConfig | config} for SavingsplansClient's `config` shape.
|
|
83
83
|
*
|
|
84
|
+
* @throws {@link InternalServerException} (server fault)
|
|
85
|
+
* <p>An unexpected error occurred.</p>
|
|
86
|
+
*
|
|
84
87
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
85
88
|
* <p>The specified resource was not found.</p>
|
|
86
89
|
*
|
|
@@ -50,7 +50,7 @@ declare const DescribeSavingsPlansCommand_base: {
|
|
|
50
50
|
* ],
|
|
51
51
|
* filters: [ // SavingsPlanFilterList
|
|
52
52
|
* { // SavingsPlanFilter
|
|
53
|
-
* name: "region" || "ec2-instance-family" || "commitment" || "upfront" || "term" || "savings-plan-type" || "payment-option" || "start" || "end",
|
|
53
|
+
* name: "region" || "ec2-instance-family" || "commitment" || "upfront" || "term" || "savings-plan-type" || "payment-option" || "start" || "end" || "instance-family",
|
|
54
54
|
* values: [ // ListOfStrings
|
|
55
55
|
* "STRING_VALUE",
|
|
56
56
|
* ],
|
|
@@ -71,12 +71,12 @@ declare const DescribeSavingsPlansCommand_base: {
|
|
|
71
71
|
* // state: "payment-pending" || "payment-failed" || "active" || "retired" || "queued" || "queued-deleted" || "pending-return" || "returned",
|
|
72
72
|
* // region: "STRING_VALUE",
|
|
73
73
|
* // ec2InstanceFamily: "STRING_VALUE",
|
|
74
|
-
* // savingsPlanType: "Compute" || "EC2Instance" || "SageMaker",
|
|
74
|
+
* // savingsPlanType: "Compute" || "EC2Instance" || "SageMaker" || "Database",
|
|
75
75
|
* // paymentOption: "All Upfront" || "Partial Upfront" || "No Upfront",
|
|
76
76
|
* // productTypes: [ // SavingsPlanProductTypeList
|
|
77
|
-
* // "EC2" || "Fargate" || "Lambda" || "SageMaker",
|
|
77
|
+
* // "EC2" || "Fargate" || "Lambda" || "SageMaker" || "RDS" || "DSQL" || "DynamoDB" || "ElastiCache" || "DocDB" || "Neptune" || "Timestream" || "Keyspaces" || "DMS",
|
|
78
78
|
* // ],
|
|
79
|
-
* // currency: "CNY" || "USD",
|
|
79
|
+
* // currency: "CNY" || "USD" || "EUR",
|
|
80
80
|
* // commitment: "STRING_VALUE",
|
|
81
81
|
* // upfrontPaymentAmount: "STRING_VALUE",
|
|
82
82
|
* // recurringPaymentAmount: "STRING_VALUE",
|
|
@@ -27,7 +27,7 @@ declare const DescribeSavingsPlansOfferingRatesCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Describes the offering rates for
|
|
30
|
+
* <p>Describes the offering rates for Savings Plans you might want to purchase.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -44,13 +44,13 @@ declare const DescribeSavingsPlansOfferingRatesCommand_base: {
|
|
|
44
44
|
* "All Upfront" || "Partial Upfront" || "No Upfront",
|
|
45
45
|
* ],
|
|
46
46
|
* savingsPlanTypes: [ // SavingsPlanTypeList
|
|
47
|
-
* "Compute" || "EC2Instance" || "SageMaker",
|
|
47
|
+
* "Compute" || "EC2Instance" || "SageMaker" || "Database",
|
|
48
48
|
* ],
|
|
49
49
|
* products: [ // SavingsPlanProductTypeList
|
|
50
|
-
* "EC2" || "Fargate" || "Lambda" || "SageMaker",
|
|
50
|
+
* "EC2" || "Fargate" || "Lambda" || "SageMaker" || "RDS" || "DSQL" || "DynamoDB" || "ElastiCache" || "DocDB" || "Neptune" || "Timestream" || "Keyspaces" || "DMS",
|
|
51
51
|
* ],
|
|
52
52
|
* serviceCodes: [ // SavingsPlanRateServiceCodeList
|
|
53
|
-
* "AmazonEC2" || "AmazonECS" || "AmazonEKS" || "AWSLambda" || "AmazonSageMaker",
|
|
53
|
+
* "AmazonEC2" || "AmazonECS" || "AmazonEKS" || "AWSLambda" || "AmazonSageMaker" || "AmazonRDS" || "AuroraDSQL" || "AmazonDynamoDB" || "AmazonElastiCache" || "AmazonDocDB" || "AmazonNeptune" || "AmazonTimestream" || "AmazonMCS" || "AWSDatabaseMigrationSvc",
|
|
54
54
|
* ],
|
|
55
55
|
* usageTypes: [ // SavingsPlanRateUsageTypeList
|
|
56
56
|
* "STRING_VALUE",
|
|
@@ -77,15 +77,15 @@ declare const DescribeSavingsPlansOfferingRatesCommand_base: {
|
|
|
77
77
|
* // savingsPlanOffering: { // ParentSavingsPlanOffering
|
|
78
78
|
* // offeringId: "STRING_VALUE",
|
|
79
79
|
* // paymentOption: "All Upfront" || "Partial Upfront" || "No Upfront",
|
|
80
|
-
* // planType: "Compute" || "EC2Instance" || "SageMaker",
|
|
80
|
+
* // planType: "Compute" || "EC2Instance" || "SageMaker" || "Database",
|
|
81
81
|
* // durationSeconds: Number("long"),
|
|
82
|
-
* // currency: "CNY" || "USD",
|
|
82
|
+
* // currency: "CNY" || "USD" || "EUR",
|
|
83
83
|
* // planDescription: "STRING_VALUE",
|
|
84
84
|
* // },
|
|
85
85
|
* // rate: "STRING_VALUE",
|
|
86
|
-
* // unit: "Hrs" || "Lambda-GB-Second" || "Request",
|
|
87
|
-
* // productType: "EC2" || "Fargate" || "Lambda" || "SageMaker",
|
|
88
|
-
* // serviceCode: "AmazonEC2" || "AmazonECS" || "AmazonEKS" || "AWSLambda" || "AmazonSageMaker",
|
|
86
|
+
* // 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",
|
|
87
|
+
* // productType: "EC2" || "Fargate" || "Lambda" || "SageMaker" || "RDS" || "DSQL" || "DynamoDB" || "ElastiCache" || "DocDB" || "Neptune" || "Timestream" || "Keyspaces" || "DMS",
|
|
88
|
+
* // serviceCode: "AmazonEC2" || "AmazonECS" || "AmazonEKS" || "AWSLambda" || "AmazonSageMaker" || "AmazonRDS" || "AuroraDSQL" || "AmazonDynamoDB" || "AmazonElastiCache" || "AmazonDocDB" || "AmazonNeptune" || "AmazonTimestream" || "AmazonMCS" || "AWSDatabaseMigrationSvc",
|
|
89
89
|
* // usageType: "STRING_VALUE",
|
|
90
90
|
* // operation: "STRING_VALUE",
|
|
91
91
|
* // properties: [ // SavingsPlanOfferingRatePropertyList
|
|
@@ -43,15 +43,15 @@ declare const DescribeSavingsPlansOfferingsCommand_base: {
|
|
|
43
43
|
* paymentOptions: [ // SavingsPlanPaymentOptionList
|
|
44
44
|
* "All Upfront" || "Partial Upfront" || "No Upfront",
|
|
45
45
|
* ],
|
|
46
|
-
* productType: "EC2" || "Fargate" || "Lambda" || "SageMaker",
|
|
46
|
+
* productType: "EC2" || "Fargate" || "Lambda" || "SageMaker" || "RDS" || "DSQL" || "DynamoDB" || "ElastiCache" || "DocDB" || "Neptune" || "Timestream" || "Keyspaces" || "DMS",
|
|
47
47
|
* planTypes: [ // SavingsPlanTypeList
|
|
48
|
-
* "Compute" || "EC2Instance" || "SageMaker",
|
|
48
|
+
* "Compute" || "EC2Instance" || "SageMaker" || "Database",
|
|
49
49
|
* ],
|
|
50
50
|
* durations: [ // DurationsList
|
|
51
51
|
* Number("long"),
|
|
52
52
|
* ],
|
|
53
53
|
* currencies: [ // CurrencyList
|
|
54
|
-
* "CNY" || "USD",
|
|
54
|
+
* "CNY" || "USD" || "EUR",
|
|
55
55
|
* ],
|
|
56
56
|
* descriptions: [ // SavingsPlanDescriptionsList
|
|
57
57
|
* "STRING_VALUE",
|
|
@@ -83,13 +83,13 @@ declare const DescribeSavingsPlansOfferingsCommand_base: {
|
|
|
83
83
|
* // { // SavingsPlanOffering
|
|
84
84
|
* // offeringId: "STRING_VALUE",
|
|
85
85
|
* // productTypes: [ // SavingsPlanProductTypeList
|
|
86
|
-
* // "EC2" || "Fargate" || "Lambda" || "SageMaker",
|
|
86
|
+
* // "EC2" || "Fargate" || "Lambda" || "SageMaker" || "RDS" || "DSQL" || "DynamoDB" || "ElastiCache" || "DocDB" || "Neptune" || "Timestream" || "Keyspaces" || "DMS",
|
|
87
87
|
* // ],
|
|
88
|
-
* // planType: "Compute" || "EC2Instance" || "SageMaker",
|
|
88
|
+
* // planType: "Compute" || "EC2Instance" || "SageMaker" || "Database",
|
|
89
89
|
* // description: "STRING_VALUE",
|
|
90
90
|
* // paymentOption: "All Upfront" || "Partial Upfront" || "No Upfront",
|
|
91
91
|
* // durationSeconds: Number("long"),
|
|
92
|
-
* // currency: "CNY" || "USD",
|
|
92
|
+
* // currency: "CNY" || "USD" || "EUR",
|
|
93
93
|
* // serviceCode: "STRING_VALUE",
|
|
94
94
|
* // usageType: "STRING_VALUE",
|
|
95
95
|
* // operation: "STRING_VALUE",
|
|
@@ -22,6 +22,7 @@ export type SavingsPlanRateFilterName = (typeof SavingsPlanRateFilterName)[keyof
|
|
|
22
22
|
*/
|
|
23
23
|
export declare const CurrencyCode: {
|
|
24
24
|
readonly CNY: "CNY";
|
|
25
|
+
readonly EUR: "EUR";
|
|
25
26
|
readonly USD: "USD";
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
@@ -33,10 +34,19 @@ export type CurrencyCode = (typeof CurrencyCode)[keyof typeof CurrencyCode];
|
|
|
33
34
|
* @enum
|
|
34
35
|
*/
|
|
35
36
|
export declare const SavingsPlanProductType: {
|
|
37
|
+
readonly DMS: "DMS";
|
|
38
|
+
readonly DOCDB: "DocDB";
|
|
39
|
+
readonly DSQL: "DSQL";
|
|
40
|
+
readonly DYNAMODB: "DynamoDB";
|
|
36
41
|
readonly EC2: "EC2";
|
|
42
|
+
readonly ELASTICACHE: "ElastiCache";
|
|
37
43
|
readonly FARGATE: "Fargate";
|
|
44
|
+
readonly KEYSPACES: "Keyspaces";
|
|
38
45
|
readonly LAMBDA: "Lambda";
|
|
46
|
+
readonly NEPTUNE: "Neptune";
|
|
47
|
+
readonly RDS: "RDS";
|
|
39
48
|
readonly SAGEMAKER: "SageMaker";
|
|
49
|
+
readonly TIMESTREAM: "Timestream";
|
|
40
50
|
};
|
|
41
51
|
/**
|
|
42
52
|
* @public
|
|
@@ -62,11 +72,20 @@ export type SavingsPlanRatePropertyKey = (typeof SavingsPlanRatePropertyKey)[key
|
|
|
62
72
|
* @enum
|
|
63
73
|
*/
|
|
64
74
|
export declare const SavingsPlanRateServiceCode: {
|
|
75
|
+
readonly AURORA: "AuroraDSQL";
|
|
76
|
+
readonly DMS: "AWSDatabaseMigrationSvc";
|
|
77
|
+
readonly DOCDB: "AmazonDocDB";
|
|
78
|
+
readonly DYNAMODB: "AmazonDynamoDB";
|
|
65
79
|
readonly EC2: "AmazonEC2";
|
|
80
|
+
readonly ELASTICACHE: "AmazonElastiCache";
|
|
66
81
|
readonly FARGATE: "AmazonECS";
|
|
67
82
|
readonly FARGATE_EKS: "AmazonEKS";
|
|
68
83
|
readonly LAMBDA: "AWSLambda";
|
|
84
|
+
readonly MCS: "AmazonMCS";
|
|
85
|
+
readonly NEPTUNE: "AmazonNeptune";
|
|
86
|
+
readonly RDS: "AmazonRDS";
|
|
69
87
|
readonly SAGEMAKER: "AmazonSageMaker";
|
|
88
|
+
readonly TIMESTREAM: "AmazonTimestream";
|
|
70
89
|
};
|
|
71
90
|
/**
|
|
72
91
|
* @public
|
|
@@ -77,9 +96,21 @@ export type SavingsPlanRateServiceCode = (typeof SavingsPlanRateServiceCode)[key
|
|
|
77
96
|
* @enum
|
|
78
97
|
*/
|
|
79
98
|
export declare const SavingsPlanRateUnit: {
|
|
99
|
+
readonly ACU_HR: "ACU-Hr";
|
|
100
|
+
readonly DCU_HR: "DCU-Hr";
|
|
101
|
+
readonly DPU: "DPU";
|
|
102
|
+
readonly ELASTI_CACHE_PROCESSING_UNIT: "ElastiCacheProcessingUnit";
|
|
103
|
+
readonly GB_HOURS: "GB-Hours";
|
|
80
104
|
readonly HOURS: "Hrs";
|
|
81
105
|
readonly LAMBDA_GB_SECOND: "Lambda-GB-Second";
|
|
106
|
+
readonly NCU_HR: "NCU-hr";
|
|
107
|
+
readonly READ_CAPACITY_UNIT_HRS: "ReadCapacityUnit-Hrs";
|
|
108
|
+
readonly READ_REQUEST_UNITS: "ReadRequestUnits";
|
|
109
|
+
readonly REPLICATED_WRITE_CAPACITY_UNIT_HRS: "ReplicatedWriteCapacityUnit-Hrs";
|
|
110
|
+
readonly REPLICATED_WRITE_REQUEST_UNITS: "ReplicatedWriteRequestUnits";
|
|
82
111
|
readonly REQUEST: "Request";
|
|
112
|
+
readonly WRITE_CAPACITY_UNIT_HRS: "WriteCapacityUnit-Hrs";
|
|
113
|
+
readonly WRITE_REQUEST_UNITS: "WriteRequestUnits";
|
|
83
114
|
};
|
|
84
115
|
/**
|
|
85
116
|
* @public
|
|
@@ -93,6 +124,7 @@ export declare const SavingsPlansFilterName: {
|
|
|
93
124
|
readonly COMMITMENT: "commitment";
|
|
94
125
|
readonly EC2_INSTANCE_FAMILY: "ec2-instance-family";
|
|
95
126
|
readonly END: "end";
|
|
127
|
+
readonly INSTANCE_FAMILY: "instance-family";
|
|
96
128
|
readonly PAYMENT_OPTION: "payment-option";
|
|
97
129
|
readonly REGION: "region";
|
|
98
130
|
readonly SAVINGS_PLAN_TYPE: "savings-plan-type";
|
|
@@ -141,6 +173,7 @@ export type SavingsPlanPaymentOption = (typeof SavingsPlanPaymentOption)[keyof t
|
|
|
141
173
|
*/
|
|
142
174
|
export declare const SavingsPlanType: {
|
|
143
175
|
readonly COMPUTE: "Compute";
|
|
176
|
+
readonly DATABASE: "Database";
|
|
144
177
|
readonly EC2_INSTANCE: "EC2Instance";
|
|
145
178
|
readonly SAGEMAKER: "SageMaker";
|
|
146
179
|
};
|
|
@@ -340,7 +340,7 @@ export interface SavingsPlan {
|
|
|
340
340
|
tags?: Record<string, string> | undefined;
|
|
341
341
|
/**
|
|
342
342
|
* <p>The time until when a return for the Savings Plan can be requested. If the
|
|
343
|
-
* Savings Plan is not returnable, the field reflects the Savings
|
|
343
|
+
* Savings Plan is not returnable, the field reflects the Savings Plans start time.</p>
|
|
344
344
|
* @public
|
|
345
345
|
*/
|
|
346
346
|
returnableUntil?: string | undefined;
|
|
@@ -12,14 +12,24 @@ export type SavingsPlanRateFilterName =
|
|
|
12
12
|
(typeof SavingsPlanRateFilterName)[keyof typeof SavingsPlanRateFilterName];
|
|
13
13
|
export declare const CurrencyCode: {
|
|
14
14
|
readonly CNY: "CNY";
|
|
15
|
+
readonly EUR: "EUR";
|
|
15
16
|
readonly USD: "USD";
|
|
16
17
|
};
|
|
17
18
|
export type CurrencyCode = (typeof CurrencyCode)[keyof typeof CurrencyCode];
|
|
18
19
|
export declare const SavingsPlanProductType: {
|
|
20
|
+
readonly DMS: "DMS";
|
|
21
|
+
readonly DOCDB: "DocDB";
|
|
22
|
+
readonly DSQL: "DSQL";
|
|
23
|
+
readonly DYNAMODB: "DynamoDB";
|
|
19
24
|
readonly EC2: "EC2";
|
|
25
|
+
readonly ELASTICACHE: "ElastiCache";
|
|
20
26
|
readonly FARGATE: "Fargate";
|
|
27
|
+
readonly KEYSPACES: "Keyspaces";
|
|
21
28
|
readonly LAMBDA: "Lambda";
|
|
29
|
+
readonly NEPTUNE: "Neptune";
|
|
30
|
+
readonly RDS: "RDS";
|
|
22
31
|
readonly SAGEMAKER: "SageMaker";
|
|
32
|
+
readonly TIMESTREAM: "Timestream";
|
|
23
33
|
};
|
|
24
34
|
export type SavingsPlanProductType =
|
|
25
35
|
(typeof SavingsPlanProductType)[keyof typeof SavingsPlanProductType];
|
|
@@ -33,18 +43,39 @@ export declare const SavingsPlanRatePropertyKey: {
|
|
|
33
43
|
export type SavingsPlanRatePropertyKey =
|
|
34
44
|
(typeof SavingsPlanRatePropertyKey)[keyof typeof SavingsPlanRatePropertyKey];
|
|
35
45
|
export declare const SavingsPlanRateServiceCode: {
|
|
46
|
+
readonly AURORA: "AuroraDSQL";
|
|
47
|
+
readonly DMS: "AWSDatabaseMigrationSvc";
|
|
48
|
+
readonly DOCDB: "AmazonDocDB";
|
|
49
|
+
readonly DYNAMODB: "AmazonDynamoDB";
|
|
36
50
|
readonly EC2: "AmazonEC2";
|
|
51
|
+
readonly ELASTICACHE: "AmazonElastiCache";
|
|
37
52
|
readonly FARGATE: "AmazonECS";
|
|
38
53
|
readonly FARGATE_EKS: "AmazonEKS";
|
|
39
54
|
readonly LAMBDA: "AWSLambda";
|
|
55
|
+
readonly MCS: "AmazonMCS";
|
|
56
|
+
readonly NEPTUNE: "AmazonNeptune";
|
|
57
|
+
readonly RDS: "AmazonRDS";
|
|
40
58
|
readonly SAGEMAKER: "AmazonSageMaker";
|
|
59
|
+
readonly TIMESTREAM: "AmazonTimestream";
|
|
41
60
|
};
|
|
42
61
|
export type SavingsPlanRateServiceCode =
|
|
43
62
|
(typeof SavingsPlanRateServiceCode)[keyof typeof SavingsPlanRateServiceCode];
|
|
44
63
|
export declare const SavingsPlanRateUnit: {
|
|
64
|
+
readonly ACU_HR: "ACU-Hr";
|
|
65
|
+
readonly DCU_HR: "DCU-Hr";
|
|
66
|
+
readonly DPU: "DPU";
|
|
67
|
+
readonly ELASTI_CACHE_PROCESSING_UNIT: "ElastiCacheProcessingUnit";
|
|
68
|
+
readonly GB_HOURS: "GB-Hours";
|
|
45
69
|
readonly HOURS: "Hrs";
|
|
46
70
|
readonly LAMBDA_GB_SECOND: "Lambda-GB-Second";
|
|
71
|
+
readonly NCU_HR: "NCU-hr";
|
|
72
|
+
readonly READ_CAPACITY_UNIT_HRS: "ReadCapacityUnit-Hrs";
|
|
73
|
+
readonly READ_REQUEST_UNITS: "ReadRequestUnits";
|
|
74
|
+
readonly REPLICATED_WRITE_CAPACITY_UNIT_HRS: "ReplicatedWriteCapacityUnit-Hrs";
|
|
75
|
+
readonly REPLICATED_WRITE_REQUEST_UNITS: "ReplicatedWriteRequestUnits";
|
|
47
76
|
readonly REQUEST: "Request";
|
|
77
|
+
readonly WRITE_CAPACITY_UNIT_HRS: "WriteCapacityUnit-Hrs";
|
|
78
|
+
readonly WRITE_REQUEST_UNITS: "WriteRequestUnits";
|
|
48
79
|
};
|
|
49
80
|
export type SavingsPlanRateUnit =
|
|
50
81
|
(typeof SavingsPlanRateUnit)[keyof typeof SavingsPlanRateUnit];
|
|
@@ -52,6 +83,7 @@ export declare const SavingsPlansFilterName: {
|
|
|
52
83
|
readonly COMMITMENT: "commitment";
|
|
53
84
|
readonly EC2_INSTANCE_FAMILY: "ec2-instance-family";
|
|
54
85
|
readonly END: "end";
|
|
86
|
+
readonly INSTANCE_FAMILY: "instance-family";
|
|
55
87
|
readonly PAYMENT_OPTION: "payment-option";
|
|
56
88
|
readonly REGION: "region";
|
|
57
89
|
readonly SAVINGS_PLAN_TYPE: "savings-plan-type";
|
|
@@ -82,6 +114,7 @@ export type SavingsPlanPaymentOption =
|
|
|
82
114
|
(typeof SavingsPlanPaymentOption)[keyof typeof SavingsPlanPaymentOption];
|
|
83
115
|
export declare const SavingsPlanType: {
|
|
84
116
|
readonly COMPUTE: "Compute";
|
|
117
|
+
readonly DATABASE: "Database";
|
|
85
118
|
readonly EC2_INSTANCE: "EC2Instance";
|
|
86
119
|
readonly SAGEMAKER: "SageMaker";
|
|
87
120
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-savingsplans",
|
|
3
3
|
"description": "AWS SDK for JavaScript Savingsplans Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.943.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-savingsplans",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.943.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.943.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.936.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.936.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.936.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.943.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.936.0",
|
|
30
30
|
"@aws-sdk/types": "3.936.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.936.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.936.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.943.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
35
|
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|