@aws-sdk/client-savingsplans 3.1002.0 → 3.1003.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 CHANGED
@@ -275,6 +275,7 @@ const SavingsPlanProductType = {
275
275
  KEYSPACES: "Keyspaces",
276
276
  LAMBDA: "Lambda",
277
277
  NEPTUNE: "Neptune",
278
+ OPENSEARCH: "OpenSearch",
278
279
  RDS: "RDS",
279
280
  SAGEMAKER: "SageMaker",
280
281
  TIMESTREAM: "Timestream",
@@ -293,6 +294,7 @@ const SavingsPlanRateServiceCode = {
293
294
  DYNAMODB: "AmazonDynamoDB",
294
295
  EC2: "AmazonEC2",
295
296
  ELASTICACHE: "AmazonElastiCache",
297
+ ES: "AmazonES",
296
298
  FARGATE: "AmazonECS",
297
299
  FARGATE_EKS: "AmazonEKS",
298
300
  LAMBDA: "AWSLambda",
@@ -309,8 +311,10 @@ const SavingsPlanRateUnit = {
309
311
  ELASTI_CACHE_PROCESSING_UNIT: "ElastiCacheProcessingUnit",
310
312
  GB_HOURS: "GB-Hours",
311
313
  HOURS: "Hrs",
314
+ JOBS: "Jobs",
312
315
  LAMBDA_GB_SECOND: "Lambda-GB-Second",
313
316
  NCU_HR: "NCU-hr",
317
+ OCU_HRS: "OCU-hours",
314
318
  READ_CAPACITY_UNIT_HRS: "ReadCapacityUnit-Hrs",
315
319
  READ_REQUEST_UNITS: "ReadRequestUnits",
316
320
  REPLICATED_WRITE_CAPACITY_UNIT_HRS: "ReplicatedWriteCapacityUnit-Hrs",
@@ -24,6 +24,7 @@ export const SavingsPlanProductType = {
24
24
  KEYSPACES: "Keyspaces",
25
25
  LAMBDA: "Lambda",
26
26
  NEPTUNE: "Neptune",
27
+ OPENSEARCH: "OpenSearch",
27
28
  RDS: "RDS",
28
29
  SAGEMAKER: "SageMaker",
29
30
  TIMESTREAM: "Timestream",
@@ -42,6 +43,7 @@ export const SavingsPlanRateServiceCode = {
42
43
  DYNAMODB: "AmazonDynamoDB",
43
44
  EC2: "AmazonEC2",
44
45
  ELASTICACHE: "AmazonElastiCache",
46
+ ES: "AmazonES",
45
47
  FARGATE: "AmazonECS",
46
48
  FARGATE_EKS: "AmazonEKS",
47
49
  LAMBDA: "AWSLambda",
@@ -58,8 +60,10 @@ export const SavingsPlanRateUnit = {
58
60
  ELASTI_CACHE_PROCESSING_UNIT: "ElastiCacheProcessingUnit",
59
61
  GB_HOURS: "GB-Hours",
60
62
  HOURS: "Hrs",
63
+ JOBS: "Jobs",
61
64
  LAMBDA_GB_SECOND: "Lambda-GB-Second",
62
65
  NCU_HR: "NCU-hr",
66
+ OCU_HRS: "OCU-hours",
63
67
  READ_CAPACITY_UNIT_HRS: "ReadCapacityUnit-Hrs",
64
68
  READ_REQUEST_UNITS: "ReadRequestUnits",
65
69
  REPLICATED_WRITE_CAPACITY_UNIT_HRS: "ReplicatedWriteCapacityUnit-Hrs",
@@ -57,9 +57,9 @@ declare const DescribeSavingsPlanRatesCommand_base: {
57
57
  * // { // SavingsPlanRate
58
58
  * // rate: "STRING_VALUE",
59
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",
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" || "OCU-hours" || "Jobs",
61
+ * // productType: "EC2" || "Fargate" || "Lambda" || "SageMaker" || "RDS" || "DSQL" || "DynamoDB" || "ElastiCache" || "DocDB" || "Neptune" || "Timestream" || "Keyspaces" || "DMS" || "OpenSearch",
62
+ * // serviceCode: "AmazonEC2" || "AmazonECS" || "AmazonEKS" || "AWSLambda" || "AmazonSageMaker" || "AmazonRDS" || "AuroraDSQL" || "AmazonDynamoDB" || "AmazonElastiCache" || "AmazonDocDB" || "AmazonNeptune" || "AmazonTimestream" || "AmazonMCS" || "AWSDatabaseMigrationSvc" || "AmazonES",
63
63
  * // usageType: "STRING_VALUE",
64
64
  * // operation: "STRING_VALUE",
65
65
  * // properties: [ // SavingsPlanRatePropertyList
@@ -74,7 +74,7 @@ declare const DescribeSavingsPlansCommand_base: {
74
74
  * // savingsPlanType: "Compute" || "EC2Instance" || "SageMaker" || "Database",
75
75
  * // paymentOption: "All Upfront" || "Partial Upfront" || "No Upfront",
76
76
  * // productTypes: [ // SavingsPlanProductTypeList
77
- * // "EC2" || "Fargate" || "Lambda" || "SageMaker" || "RDS" || "DSQL" || "DynamoDB" || "ElastiCache" || "DocDB" || "Neptune" || "Timestream" || "Keyspaces" || "DMS",
77
+ * // "EC2" || "Fargate" || "Lambda" || "SageMaker" || "RDS" || "DSQL" || "DynamoDB" || "ElastiCache" || "DocDB" || "Neptune" || "Timestream" || "Keyspaces" || "DMS" || "OpenSearch",
78
78
  * // ],
79
79
  * // currency: "CNY" || "USD" || "EUR",
80
80
  * // commitment: "STRING_VALUE",
@@ -47,10 +47,10 @@ declare const DescribeSavingsPlansOfferingRatesCommand_base: {
47
47
  * "Compute" || "EC2Instance" || "SageMaker" || "Database",
48
48
  * ],
49
49
  * products: [ // SavingsPlanProductTypeList
50
- * "EC2" || "Fargate" || "Lambda" || "SageMaker" || "RDS" || "DSQL" || "DynamoDB" || "ElastiCache" || "DocDB" || "Neptune" || "Timestream" || "Keyspaces" || "DMS",
50
+ * "EC2" || "Fargate" || "Lambda" || "SageMaker" || "RDS" || "DSQL" || "DynamoDB" || "ElastiCache" || "DocDB" || "Neptune" || "Timestream" || "Keyspaces" || "DMS" || "OpenSearch",
51
51
  * ],
52
52
  * serviceCodes: [ // SavingsPlanRateServiceCodeList
53
- * "AmazonEC2" || "AmazonECS" || "AmazonEKS" || "AWSLambda" || "AmazonSageMaker" || "AmazonRDS" || "AuroraDSQL" || "AmazonDynamoDB" || "AmazonElastiCache" || "AmazonDocDB" || "AmazonNeptune" || "AmazonTimestream" || "AmazonMCS" || "AWSDatabaseMigrationSvc",
53
+ * "AmazonEC2" || "AmazonECS" || "AmazonEKS" || "AWSLambda" || "AmazonSageMaker" || "AmazonRDS" || "AuroraDSQL" || "AmazonDynamoDB" || "AmazonElastiCache" || "AmazonDocDB" || "AmazonNeptune" || "AmazonTimestream" || "AmazonMCS" || "AWSDatabaseMigrationSvc" || "AmazonES",
54
54
  * ],
55
55
  * usageTypes: [ // SavingsPlanRateUsageTypeList
56
56
  * "STRING_VALUE",
@@ -83,9 +83,9 @@ declare const DescribeSavingsPlansOfferingRatesCommand_base: {
83
83
  * // planDescription: "STRING_VALUE",
84
84
  * // },
85
85
  * // rate: "STRING_VALUE",
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",
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" || "OCU-hours" || "Jobs",
87
+ * // productType: "EC2" || "Fargate" || "Lambda" || "SageMaker" || "RDS" || "DSQL" || "DynamoDB" || "ElastiCache" || "DocDB" || "Neptune" || "Timestream" || "Keyspaces" || "DMS" || "OpenSearch",
88
+ * // serviceCode: "AmazonEC2" || "AmazonECS" || "AmazonEKS" || "AWSLambda" || "AmazonSageMaker" || "AmazonRDS" || "AuroraDSQL" || "AmazonDynamoDB" || "AmazonElastiCache" || "AmazonDocDB" || "AmazonNeptune" || "AmazonTimestream" || "AmazonMCS" || "AWSDatabaseMigrationSvc" || "AmazonES",
89
89
  * // usageType: "STRING_VALUE",
90
90
  * // operation: "STRING_VALUE",
91
91
  * // properties: [ // SavingsPlanOfferingRatePropertyList
@@ -43,7 +43,7 @@ declare const DescribeSavingsPlansOfferingsCommand_base: {
43
43
  * paymentOptions: [ // SavingsPlanPaymentOptionList
44
44
  * "All Upfront" || "Partial Upfront" || "No Upfront",
45
45
  * ],
46
- * productType: "EC2" || "Fargate" || "Lambda" || "SageMaker" || "RDS" || "DSQL" || "DynamoDB" || "ElastiCache" || "DocDB" || "Neptune" || "Timestream" || "Keyspaces" || "DMS",
46
+ * productType: "EC2" || "Fargate" || "Lambda" || "SageMaker" || "RDS" || "DSQL" || "DynamoDB" || "ElastiCache" || "DocDB" || "Neptune" || "Timestream" || "Keyspaces" || "DMS" || "OpenSearch",
47
47
  * planTypes: [ // SavingsPlanTypeList
48
48
  * "Compute" || "EC2Instance" || "SageMaker" || "Database",
49
49
  * ],
@@ -83,7 +83,7 @@ declare const DescribeSavingsPlansOfferingsCommand_base: {
83
83
  * // { // SavingsPlanOffering
84
84
  * // offeringId: "STRING_VALUE",
85
85
  * // productTypes: [ // SavingsPlanProductTypeList
86
- * // "EC2" || "Fargate" || "Lambda" || "SageMaker" || "RDS" || "DSQL" || "DynamoDB" || "ElastiCache" || "DocDB" || "Neptune" || "Timestream" || "Keyspaces" || "DMS",
86
+ * // "EC2" || "Fargate" || "Lambda" || "SageMaker" || "RDS" || "DSQL" || "DynamoDB" || "ElastiCache" || "DocDB" || "Neptune" || "Timestream" || "Keyspaces" || "DMS" || "OpenSearch",
87
87
  * // ],
88
88
  * // planType: "Compute" || "EC2Instance" || "SageMaker" || "Database",
89
89
  * // description: "STRING_VALUE",
@@ -44,6 +44,7 @@ export declare const SavingsPlanProductType: {
44
44
  readonly KEYSPACES: "Keyspaces";
45
45
  readonly LAMBDA: "Lambda";
46
46
  readonly NEPTUNE: "Neptune";
47
+ readonly OPENSEARCH: "OpenSearch";
47
48
  readonly RDS: "RDS";
48
49
  readonly SAGEMAKER: "SageMaker";
49
50
  readonly TIMESTREAM: "Timestream";
@@ -78,6 +79,7 @@ export declare const SavingsPlanRateServiceCode: {
78
79
  readonly DYNAMODB: "AmazonDynamoDB";
79
80
  readonly EC2: "AmazonEC2";
80
81
  readonly ELASTICACHE: "AmazonElastiCache";
82
+ readonly ES: "AmazonES";
81
83
  readonly FARGATE: "AmazonECS";
82
84
  readonly FARGATE_EKS: "AmazonEKS";
83
85
  readonly LAMBDA: "AWSLambda";
@@ -102,8 +104,10 @@ export declare const SavingsPlanRateUnit: {
102
104
  readonly ELASTI_CACHE_PROCESSING_UNIT: "ElastiCacheProcessingUnit";
103
105
  readonly GB_HOURS: "GB-Hours";
104
106
  readonly HOURS: "Hrs";
107
+ readonly JOBS: "Jobs";
105
108
  readonly LAMBDA_GB_SECOND: "Lambda-GB-Second";
106
109
  readonly NCU_HR: "NCU-hr";
110
+ readonly OCU_HRS: "OCU-hours";
107
111
  readonly READ_CAPACITY_UNIT_HRS: "ReadCapacityUnit-Hrs";
108
112
  readonly READ_REQUEST_UNITS: "ReadRequestUnits";
109
113
  readonly REPLICATED_WRITE_CAPACITY_UNIT_HRS: "ReplicatedWriteCapacityUnit-Hrs";
@@ -27,6 +27,7 @@ export declare const SavingsPlanProductType: {
27
27
  readonly KEYSPACES: "Keyspaces";
28
28
  readonly LAMBDA: "Lambda";
29
29
  readonly NEPTUNE: "Neptune";
30
+ readonly OPENSEARCH: "OpenSearch";
30
31
  readonly RDS: "RDS";
31
32
  readonly SAGEMAKER: "SageMaker";
32
33
  readonly TIMESTREAM: "Timestream";
@@ -49,6 +50,7 @@ export declare const SavingsPlanRateServiceCode: {
49
50
  readonly DYNAMODB: "AmazonDynamoDB";
50
51
  readonly EC2: "AmazonEC2";
51
52
  readonly ELASTICACHE: "AmazonElastiCache";
53
+ readonly ES: "AmazonES";
52
54
  readonly FARGATE: "AmazonECS";
53
55
  readonly FARGATE_EKS: "AmazonEKS";
54
56
  readonly LAMBDA: "AWSLambda";
@@ -67,8 +69,10 @@ export declare const SavingsPlanRateUnit: {
67
69
  readonly ELASTI_CACHE_PROCESSING_UNIT: "ElastiCacheProcessingUnit";
68
70
  readonly GB_HOURS: "GB-Hours";
69
71
  readonly HOURS: "Hrs";
72
+ readonly JOBS: "Jobs";
70
73
  readonly LAMBDA_GB_SECOND: "Lambda-GB-Second";
71
74
  readonly NCU_HR: "NCU-hr";
75
+ readonly OCU_HRS: "OCU-hours";
72
76
  readonly READ_CAPACITY_UNIT_HRS: "ReadCapacityUnit-Hrs";
73
77
  readonly READ_REQUEST_UNITS: "ReadRequestUnits";
74
78
  readonly REPLICATED_WRITE_CAPACITY_UNIT_HRS: "ReplicatedWriteCapacityUnit-Hrs";
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.1002.0",
4
+ "version": "3.1003.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-savingsplans",
@@ -21,42 +21,42 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.973.17",
25
- "@aws-sdk/credential-provider-node": "^3.972.16",
26
- "@aws-sdk/middleware-host-header": "^3.972.6",
27
- "@aws-sdk/middleware-logger": "^3.972.6",
28
- "@aws-sdk/middleware-recursion-detection": "^3.972.6",
29
- "@aws-sdk/middleware-user-agent": "^3.972.17",
30
- "@aws-sdk/region-config-resolver": "^3.972.6",
31
- "@aws-sdk/types": "^3.973.4",
32
- "@aws-sdk/util-endpoints": "^3.996.3",
33
- "@aws-sdk/util-user-agent-browser": "^3.972.6",
34
- "@aws-sdk/util-user-agent-node": "^3.973.2",
35
- "@smithy/config-resolver": "^4.4.9",
36
- "@smithy/core": "^3.23.7",
37
- "@smithy/fetch-http-handler": "^5.3.12",
38
- "@smithy/hash-node": "^4.2.10",
39
- "@smithy/invalid-dependency": "^4.2.10",
40
- "@smithy/middleware-content-length": "^4.2.10",
41
- "@smithy/middleware-endpoint": "^4.4.21",
42
- "@smithy/middleware-retry": "^4.4.38",
43
- "@smithy/middleware-serde": "^4.2.11",
44
- "@smithy/middleware-stack": "^4.2.10",
45
- "@smithy/node-config-provider": "^4.3.10",
46
- "@smithy/node-http-handler": "^4.4.13",
47
- "@smithy/protocol-http": "^5.3.10",
48
- "@smithy/smithy-client": "^4.12.1",
24
+ "@aws-sdk/core": "^3.973.18",
25
+ "@aws-sdk/credential-provider-node": "^3.972.17",
26
+ "@aws-sdk/middleware-host-header": "^3.972.7",
27
+ "@aws-sdk/middleware-logger": "^3.972.7",
28
+ "@aws-sdk/middleware-recursion-detection": "^3.972.7",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.18",
30
+ "@aws-sdk/region-config-resolver": "^3.972.7",
31
+ "@aws-sdk/types": "^3.973.5",
32
+ "@aws-sdk/util-endpoints": "^3.996.4",
33
+ "@aws-sdk/util-user-agent-browser": "^3.972.7",
34
+ "@aws-sdk/util-user-agent-node": "^3.973.3",
35
+ "@smithy/config-resolver": "^4.4.10",
36
+ "@smithy/core": "^3.23.8",
37
+ "@smithy/fetch-http-handler": "^5.3.13",
38
+ "@smithy/hash-node": "^4.2.11",
39
+ "@smithy/invalid-dependency": "^4.2.11",
40
+ "@smithy/middleware-content-length": "^4.2.11",
41
+ "@smithy/middleware-endpoint": "^4.4.22",
42
+ "@smithy/middleware-retry": "^4.4.39",
43
+ "@smithy/middleware-serde": "^4.2.12",
44
+ "@smithy/middleware-stack": "^4.2.11",
45
+ "@smithy/node-config-provider": "^4.3.11",
46
+ "@smithy/node-http-handler": "^4.4.14",
47
+ "@smithy/protocol-http": "^5.3.11",
48
+ "@smithy/smithy-client": "^4.12.2",
49
49
  "@smithy/types": "^4.13.0",
50
- "@smithy/url-parser": "^4.2.10",
51
- "@smithy/util-base64": "^4.3.1",
52
- "@smithy/util-body-length-browser": "^4.2.1",
53
- "@smithy/util-body-length-node": "^4.2.2",
54
- "@smithy/util-defaults-mode-browser": "^4.3.37",
55
- "@smithy/util-defaults-mode-node": "^4.2.40",
56
- "@smithy/util-endpoints": "^3.3.1",
57
- "@smithy/util-middleware": "^4.2.10",
58
- "@smithy/util-retry": "^4.2.10",
59
- "@smithy/util-utf8": "^4.2.1",
50
+ "@smithy/url-parser": "^4.2.11",
51
+ "@smithy/util-base64": "^4.3.2",
52
+ "@smithy/util-body-length-browser": "^4.2.2",
53
+ "@smithy/util-body-length-node": "^4.2.3",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.38",
55
+ "@smithy/util-defaults-mode-node": "^4.2.41",
56
+ "@smithy/util-endpoints": "^3.3.2",
57
+ "@smithy/util-middleware": "^4.2.11",
58
+ "@smithy/util-retry": "^4.2.11",
59
+ "@smithy/util-utf8": "^4.2.2",
60
60
  "tslib": "^2.6.2"
61
61
  },
62
62
  "devDependencies": {
@@ -71,7 +71,7 @@
71
71
  "node": ">=20.0.0"
72
72
  },
73
73
  "typesVersions": {
74
- "<4.0": {
74
+ "<4.5": {
75
75
  "dist-types/*": [
76
76
  "dist-types/ts3.4/*"
77
77
  ]