@aws-sdk/client-savingsplans 3.300.0 → 3.303.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.
@@ -54,95 +54,83 @@ class ValidationException extends SavingsplansServiceException_1.SavingsplansSer
54
54
  }
55
55
  }
56
56
  exports.ValidationException = ValidationException;
57
- var SavingsPlanRateFilterName;
58
- (function (SavingsPlanRateFilterName) {
59
- SavingsPlanRateFilterName["INSTANCE_TYPE"] = "instanceType";
60
- SavingsPlanRateFilterName["OPERATION"] = "operation";
61
- SavingsPlanRateFilterName["PRODUCT_DESCRIPTION"] = "productDescription";
62
- SavingsPlanRateFilterName["PRODUCT_TYPE"] = "productType";
63
- SavingsPlanRateFilterName["REGION"] = "region";
64
- SavingsPlanRateFilterName["SERVICE_CODE"] = "serviceCode";
65
- SavingsPlanRateFilterName["TENANCY"] = "tenancy";
66
- SavingsPlanRateFilterName["USAGE_TYPE"] = "usageType";
67
- })(SavingsPlanRateFilterName = exports.SavingsPlanRateFilterName || (exports.SavingsPlanRateFilterName = {}));
68
- var SavingsPlanProductType;
69
- (function (SavingsPlanProductType) {
70
- SavingsPlanProductType["EC2"] = "EC2";
71
- SavingsPlanProductType["FARGATE"] = "Fargate";
72
- SavingsPlanProductType["LAMBDA"] = "Lambda";
73
- SavingsPlanProductType["SAGEMAKER"] = "SageMaker";
74
- })(SavingsPlanProductType = exports.SavingsPlanProductType || (exports.SavingsPlanProductType = {}));
75
- var SavingsPlanRatePropertyKey;
76
- (function (SavingsPlanRatePropertyKey) {
77
- SavingsPlanRatePropertyKey["INSTANCE_FAMILY"] = "instanceFamily";
78
- SavingsPlanRatePropertyKey["INSTANCE_TYPE"] = "instanceType";
79
- SavingsPlanRatePropertyKey["PRODUCT_DESCRIPTION"] = "productDescription";
80
- SavingsPlanRatePropertyKey["REGION"] = "region";
81
- SavingsPlanRatePropertyKey["TENANCY"] = "tenancy";
82
- })(SavingsPlanRatePropertyKey = exports.SavingsPlanRatePropertyKey || (exports.SavingsPlanRatePropertyKey = {}));
83
- var SavingsPlanRateServiceCode;
84
- (function (SavingsPlanRateServiceCode) {
85
- SavingsPlanRateServiceCode["EC2"] = "AmazonEC2";
86
- SavingsPlanRateServiceCode["FARGATE"] = "AmazonECS";
87
- SavingsPlanRateServiceCode["FARGATE_EKS"] = "AmazonEKS";
88
- SavingsPlanRateServiceCode["LAMBDA"] = "AWSLambda";
89
- SavingsPlanRateServiceCode["SAGEMAKER"] = "AmazonSageMaker";
90
- })(SavingsPlanRateServiceCode = exports.SavingsPlanRateServiceCode || (exports.SavingsPlanRateServiceCode = {}));
91
- var SavingsPlanRateUnit;
92
- (function (SavingsPlanRateUnit) {
93
- SavingsPlanRateUnit["HOURS"] = "Hrs";
94
- SavingsPlanRateUnit["LAMBDA_GB_SECOND"] = "Lambda-GB-Second";
95
- SavingsPlanRateUnit["REQUEST"] = "Request";
96
- })(SavingsPlanRateUnit = exports.SavingsPlanRateUnit || (exports.SavingsPlanRateUnit = {}));
97
- var SavingsPlansFilterName;
98
- (function (SavingsPlansFilterName) {
99
- SavingsPlansFilterName["COMMITMENT"] = "commitment";
100
- SavingsPlansFilterName["EC2_INSTANCE_FAMILY"] = "ec2-instance-family";
101
- SavingsPlansFilterName["END"] = "end";
102
- SavingsPlansFilterName["PAYMENT_OPTION"] = "payment-option";
103
- SavingsPlansFilterName["REGION"] = "region";
104
- SavingsPlansFilterName["SAVINGS_PLAN_TYPE"] = "savings-plan-type";
105
- SavingsPlansFilterName["START"] = "start";
106
- SavingsPlansFilterName["TERM"] = "term";
107
- SavingsPlansFilterName["UPFRONT"] = "upfront";
108
- })(SavingsPlansFilterName = exports.SavingsPlansFilterName || (exports.SavingsPlansFilterName = {}));
109
- var SavingsPlanState;
110
- (function (SavingsPlanState) {
111
- SavingsPlanState["ACTIVE"] = "active";
112
- SavingsPlanState["PAYMENT_FAILED"] = "payment-failed";
113
- SavingsPlanState["PAYMENT_PENDING"] = "payment-pending";
114
- SavingsPlanState["QUEUED"] = "queued";
115
- SavingsPlanState["QUEUED_DELETED"] = "queued-deleted";
116
- SavingsPlanState["RETIRED"] = "retired";
117
- })(SavingsPlanState = exports.SavingsPlanState || (exports.SavingsPlanState = {}));
118
- var SavingsPlanPaymentOption;
119
- (function (SavingsPlanPaymentOption) {
120
- SavingsPlanPaymentOption["ALL_UPFRONT"] = "All Upfront";
121
- SavingsPlanPaymentOption["NO_UPFRONT"] = "No Upfront";
122
- SavingsPlanPaymentOption["PARTIAL_UPFRONT"] = "Partial Upfront";
123
- })(SavingsPlanPaymentOption = exports.SavingsPlanPaymentOption || (exports.SavingsPlanPaymentOption = {}));
124
- var SavingsPlanType;
125
- (function (SavingsPlanType) {
126
- SavingsPlanType["COMPUTE"] = "Compute";
127
- SavingsPlanType["EC2_INSTANCE"] = "EC2Instance";
128
- SavingsPlanType["SAGEMAKER"] = "SageMaker";
129
- })(SavingsPlanType = exports.SavingsPlanType || (exports.SavingsPlanType = {}));
130
- var SavingsPlanRateFilterAttribute;
131
- (function (SavingsPlanRateFilterAttribute) {
132
- SavingsPlanRateFilterAttribute["INSTANCE_FAMILY"] = "instanceFamily";
133
- SavingsPlanRateFilterAttribute["INSTANCE_TYPE"] = "instanceType";
134
- SavingsPlanRateFilterAttribute["PRODUCT_DESCRIPTION"] = "productDescription";
135
- SavingsPlanRateFilterAttribute["PRODUCT_ID"] = "productId";
136
- SavingsPlanRateFilterAttribute["REGION"] = "region";
137
- SavingsPlanRateFilterAttribute["TENANCY"] = "tenancy";
138
- })(SavingsPlanRateFilterAttribute = exports.SavingsPlanRateFilterAttribute || (exports.SavingsPlanRateFilterAttribute = {}));
139
- var SavingsPlanOfferingFilterAttribute;
140
- (function (SavingsPlanOfferingFilterAttribute) {
141
- SavingsPlanOfferingFilterAttribute["instanceFamily"] = "instanceFamily";
142
- SavingsPlanOfferingFilterAttribute["region"] = "region";
143
- })(SavingsPlanOfferingFilterAttribute = exports.SavingsPlanOfferingFilterAttribute || (exports.SavingsPlanOfferingFilterAttribute = {}));
144
- var SavingsPlanOfferingPropertyKey;
145
- (function (SavingsPlanOfferingPropertyKey) {
146
- SavingsPlanOfferingPropertyKey["INSTANCE_FAMILY"] = "instanceFamily";
147
- SavingsPlanOfferingPropertyKey["REGION"] = "region";
148
- })(SavingsPlanOfferingPropertyKey = exports.SavingsPlanOfferingPropertyKey || (exports.SavingsPlanOfferingPropertyKey = {}));
57
+ exports.SavingsPlanRateFilterName = {
58
+ INSTANCE_TYPE: "instanceType",
59
+ OPERATION: "operation",
60
+ PRODUCT_DESCRIPTION: "productDescription",
61
+ PRODUCT_TYPE: "productType",
62
+ REGION: "region",
63
+ SERVICE_CODE: "serviceCode",
64
+ TENANCY: "tenancy",
65
+ USAGE_TYPE: "usageType",
66
+ };
67
+ exports.SavingsPlanProductType = {
68
+ EC2: "EC2",
69
+ FARGATE: "Fargate",
70
+ LAMBDA: "Lambda",
71
+ SAGEMAKER: "SageMaker",
72
+ };
73
+ exports.SavingsPlanRatePropertyKey = {
74
+ INSTANCE_FAMILY: "instanceFamily",
75
+ INSTANCE_TYPE: "instanceType",
76
+ PRODUCT_DESCRIPTION: "productDescription",
77
+ REGION: "region",
78
+ TENANCY: "tenancy",
79
+ };
80
+ exports.SavingsPlanRateServiceCode = {
81
+ EC2: "AmazonEC2",
82
+ FARGATE: "AmazonECS",
83
+ FARGATE_EKS: "AmazonEKS",
84
+ LAMBDA: "AWSLambda",
85
+ SAGEMAKER: "AmazonSageMaker",
86
+ };
87
+ exports.SavingsPlanRateUnit = {
88
+ HOURS: "Hrs",
89
+ LAMBDA_GB_SECOND: "Lambda-GB-Second",
90
+ REQUEST: "Request",
91
+ };
92
+ exports.SavingsPlansFilterName = {
93
+ COMMITMENT: "commitment",
94
+ EC2_INSTANCE_FAMILY: "ec2-instance-family",
95
+ END: "end",
96
+ PAYMENT_OPTION: "payment-option",
97
+ REGION: "region",
98
+ SAVINGS_PLAN_TYPE: "savings-plan-type",
99
+ START: "start",
100
+ TERM: "term",
101
+ UPFRONT: "upfront",
102
+ };
103
+ exports.SavingsPlanState = {
104
+ ACTIVE: "active",
105
+ PAYMENT_FAILED: "payment-failed",
106
+ PAYMENT_PENDING: "payment-pending",
107
+ QUEUED: "queued",
108
+ QUEUED_DELETED: "queued-deleted",
109
+ RETIRED: "retired",
110
+ };
111
+ exports.SavingsPlanPaymentOption = {
112
+ ALL_UPFRONT: "All Upfront",
113
+ NO_UPFRONT: "No Upfront",
114
+ PARTIAL_UPFRONT: "Partial Upfront",
115
+ };
116
+ exports.SavingsPlanType = {
117
+ COMPUTE: "Compute",
118
+ EC2_INSTANCE: "EC2Instance",
119
+ SAGEMAKER: "SageMaker",
120
+ };
121
+ exports.SavingsPlanRateFilterAttribute = {
122
+ INSTANCE_FAMILY: "instanceFamily",
123
+ INSTANCE_TYPE: "instanceType",
124
+ PRODUCT_DESCRIPTION: "productDescription",
125
+ PRODUCT_ID: "productId",
126
+ REGION: "region",
127
+ TENANCY: "tenancy",
128
+ };
129
+ exports.SavingsPlanOfferingFilterAttribute = {
130
+ instanceFamily: "instanceFamily",
131
+ region: "region",
132
+ };
133
+ exports.SavingsPlanOfferingPropertyKey = {
134
+ INSTANCE_FAMILY: "instanceFamily",
135
+ REGION: "region",
136
+ };
@@ -47,95 +47,83 @@ export class ValidationException extends __BaseException {
47
47
  Object.setPrototypeOf(this, ValidationException.prototype);
48
48
  }
49
49
  }
50
- export var SavingsPlanRateFilterName;
51
- (function (SavingsPlanRateFilterName) {
52
- SavingsPlanRateFilterName["INSTANCE_TYPE"] = "instanceType";
53
- SavingsPlanRateFilterName["OPERATION"] = "operation";
54
- SavingsPlanRateFilterName["PRODUCT_DESCRIPTION"] = "productDescription";
55
- SavingsPlanRateFilterName["PRODUCT_TYPE"] = "productType";
56
- SavingsPlanRateFilterName["REGION"] = "region";
57
- SavingsPlanRateFilterName["SERVICE_CODE"] = "serviceCode";
58
- SavingsPlanRateFilterName["TENANCY"] = "tenancy";
59
- SavingsPlanRateFilterName["USAGE_TYPE"] = "usageType";
60
- })(SavingsPlanRateFilterName || (SavingsPlanRateFilterName = {}));
61
- export var SavingsPlanProductType;
62
- (function (SavingsPlanProductType) {
63
- SavingsPlanProductType["EC2"] = "EC2";
64
- SavingsPlanProductType["FARGATE"] = "Fargate";
65
- SavingsPlanProductType["LAMBDA"] = "Lambda";
66
- SavingsPlanProductType["SAGEMAKER"] = "SageMaker";
67
- })(SavingsPlanProductType || (SavingsPlanProductType = {}));
68
- export var SavingsPlanRatePropertyKey;
69
- (function (SavingsPlanRatePropertyKey) {
70
- SavingsPlanRatePropertyKey["INSTANCE_FAMILY"] = "instanceFamily";
71
- SavingsPlanRatePropertyKey["INSTANCE_TYPE"] = "instanceType";
72
- SavingsPlanRatePropertyKey["PRODUCT_DESCRIPTION"] = "productDescription";
73
- SavingsPlanRatePropertyKey["REGION"] = "region";
74
- SavingsPlanRatePropertyKey["TENANCY"] = "tenancy";
75
- })(SavingsPlanRatePropertyKey || (SavingsPlanRatePropertyKey = {}));
76
- export var SavingsPlanRateServiceCode;
77
- (function (SavingsPlanRateServiceCode) {
78
- SavingsPlanRateServiceCode["EC2"] = "AmazonEC2";
79
- SavingsPlanRateServiceCode["FARGATE"] = "AmazonECS";
80
- SavingsPlanRateServiceCode["FARGATE_EKS"] = "AmazonEKS";
81
- SavingsPlanRateServiceCode["LAMBDA"] = "AWSLambda";
82
- SavingsPlanRateServiceCode["SAGEMAKER"] = "AmazonSageMaker";
83
- })(SavingsPlanRateServiceCode || (SavingsPlanRateServiceCode = {}));
84
- export var SavingsPlanRateUnit;
85
- (function (SavingsPlanRateUnit) {
86
- SavingsPlanRateUnit["HOURS"] = "Hrs";
87
- SavingsPlanRateUnit["LAMBDA_GB_SECOND"] = "Lambda-GB-Second";
88
- SavingsPlanRateUnit["REQUEST"] = "Request";
89
- })(SavingsPlanRateUnit || (SavingsPlanRateUnit = {}));
90
- export var SavingsPlansFilterName;
91
- (function (SavingsPlansFilterName) {
92
- SavingsPlansFilterName["COMMITMENT"] = "commitment";
93
- SavingsPlansFilterName["EC2_INSTANCE_FAMILY"] = "ec2-instance-family";
94
- SavingsPlansFilterName["END"] = "end";
95
- SavingsPlansFilterName["PAYMENT_OPTION"] = "payment-option";
96
- SavingsPlansFilterName["REGION"] = "region";
97
- SavingsPlansFilterName["SAVINGS_PLAN_TYPE"] = "savings-plan-type";
98
- SavingsPlansFilterName["START"] = "start";
99
- SavingsPlansFilterName["TERM"] = "term";
100
- SavingsPlansFilterName["UPFRONT"] = "upfront";
101
- })(SavingsPlansFilterName || (SavingsPlansFilterName = {}));
102
- export var SavingsPlanState;
103
- (function (SavingsPlanState) {
104
- SavingsPlanState["ACTIVE"] = "active";
105
- SavingsPlanState["PAYMENT_FAILED"] = "payment-failed";
106
- SavingsPlanState["PAYMENT_PENDING"] = "payment-pending";
107
- SavingsPlanState["QUEUED"] = "queued";
108
- SavingsPlanState["QUEUED_DELETED"] = "queued-deleted";
109
- SavingsPlanState["RETIRED"] = "retired";
110
- })(SavingsPlanState || (SavingsPlanState = {}));
111
- export var SavingsPlanPaymentOption;
112
- (function (SavingsPlanPaymentOption) {
113
- SavingsPlanPaymentOption["ALL_UPFRONT"] = "All Upfront";
114
- SavingsPlanPaymentOption["NO_UPFRONT"] = "No Upfront";
115
- SavingsPlanPaymentOption["PARTIAL_UPFRONT"] = "Partial Upfront";
116
- })(SavingsPlanPaymentOption || (SavingsPlanPaymentOption = {}));
117
- export var SavingsPlanType;
118
- (function (SavingsPlanType) {
119
- SavingsPlanType["COMPUTE"] = "Compute";
120
- SavingsPlanType["EC2_INSTANCE"] = "EC2Instance";
121
- SavingsPlanType["SAGEMAKER"] = "SageMaker";
122
- })(SavingsPlanType || (SavingsPlanType = {}));
123
- export var SavingsPlanRateFilterAttribute;
124
- (function (SavingsPlanRateFilterAttribute) {
125
- SavingsPlanRateFilterAttribute["INSTANCE_FAMILY"] = "instanceFamily";
126
- SavingsPlanRateFilterAttribute["INSTANCE_TYPE"] = "instanceType";
127
- SavingsPlanRateFilterAttribute["PRODUCT_DESCRIPTION"] = "productDescription";
128
- SavingsPlanRateFilterAttribute["PRODUCT_ID"] = "productId";
129
- SavingsPlanRateFilterAttribute["REGION"] = "region";
130
- SavingsPlanRateFilterAttribute["TENANCY"] = "tenancy";
131
- })(SavingsPlanRateFilterAttribute || (SavingsPlanRateFilterAttribute = {}));
132
- export var SavingsPlanOfferingFilterAttribute;
133
- (function (SavingsPlanOfferingFilterAttribute) {
134
- SavingsPlanOfferingFilterAttribute["instanceFamily"] = "instanceFamily";
135
- SavingsPlanOfferingFilterAttribute["region"] = "region";
136
- })(SavingsPlanOfferingFilterAttribute || (SavingsPlanOfferingFilterAttribute = {}));
137
- export var SavingsPlanOfferingPropertyKey;
138
- (function (SavingsPlanOfferingPropertyKey) {
139
- SavingsPlanOfferingPropertyKey["INSTANCE_FAMILY"] = "instanceFamily";
140
- SavingsPlanOfferingPropertyKey["REGION"] = "region";
141
- })(SavingsPlanOfferingPropertyKey || (SavingsPlanOfferingPropertyKey = {}));
50
+ export const SavingsPlanRateFilterName = {
51
+ INSTANCE_TYPE: "instanceType",
52
+ OPERATION: "operation",
53
+ PRODUCT_DESCRIPTION: "productDescription",
54
+ PRODUCT_TYPE: "productType",
55
+ REGION: "region",
56
+ SERVICE_CODE: "serviceCode",
57
+ TENANCY: "tenancy",
58
+ USAGE_TYPE: "usageType",
59
+ };
60
+ export const SavingsPlanProductType = {
61
+ EC2: "EC2",
62
+ FARGATE: "Fargate",
63
+ LAMBDA: "Lambda",
64
+ SAGEMAKER: "SageMaker",
65
+ };
66
+ export const SavingsPlanRatePropertyKey = {
67
+ INSTANCE_FAMILY: "instanceFamily",
68
+ INSTANCE_TYPE: "instanceType",
69
+ PRODUCT_DESCRIPTION: "productDescription",
70
+ REGION: "region",
71
+ TENANCY: "tenancy",
72
+ };
73
+ export const SavingsPlanRateServiceCode = {
74
+ EC2: "AmazonEC2",
75
+ FARGATE: "AmazonECS",
76
+ FARGATE_EKS: "AmazonEKS",
77
+ LAMBDA: "AWSLambda",
78
+ SAGEMAKER: "AmazonSageMaker",
79
+ };
80
+ export const SavingsPlanRateUnit = {
81
+ HOURS: "Hrs",
82
+ LAMBDA_GB_SECOND: "Lambda-GB-Second",
83
+ REQUEST: "Request",
84
+ };
85
+ export const SavingsPlansFilterName = {
86
+ COMMITMENT: "commitment",
87
+ EC2_INSTANCE_FAMILY: "ec2-instance-family",
88
+ END: "end",
89
+ PAYMENT_OPTION: "payment-option",
90
+ REGION: "region",
91
+ SAVINGS_PLAN_TYPE: "savings-plan-type",
92
+ START: "start",
93
+ TERM: "term",
94
+ UPFRONT: "upfront",
95
+ };
96
+ export const SavingsPlanState = {
97
+ ACTIVE: "active",
98
+ PAYMENT_FAILED: "payment-failed",
99
+ PAYMENT_PENDING: "payment-pending",
100
+ QUEUED: "queued",
101
+ QUEUED_DELETED: "queued-deleted",
102
+ RETIRED: "retired",
103
+ };
104
+ export const SavingsPlanPaymentOption = {
105
+ ALL_UPFRONT: "All Upfront",
106
+ NO_UPFRONT: "No Upfront",
107
+ PARTIAL_UPFRONT: "Partial Upfront",
108
+ };
109
+ export const SavingsPlanType = {
110
+ COMPUTE: "Compute",
111
+ EC2_INSTANCE: "EC2Instance",
112
+ SAGEMAKER: "SageMaker",
113
+ };
114
+ export const SavingsPlanRateFilterAttribute = {
115
+ INSTANCE_FAMILY: "instanceFamily",
116
+ INSTANCE_TYPE: "instanceType",
117
+ PRODUCT_DESCRIPTION: "productDescription",
118
+ PRODUCT_ID: "productId",
119
+ REGION: "region",
120
+ TENANCY: "tenancy",
121
+ };
122
+ export const SavingsPlanOfferingFilterAttribute = {
123
+ instanceFamily: "instanceFamily",
124
+ region: "region",
125
+ };
126
+ export const SavingsPlanOfferingPropertyKey = {
127
+ INSTANCE_FAMILY: "instanceFamily",
128
+ REGION: "region",
129
+ };
@@ -26,13 +26,13 @@ export interface CreateSavingsPlanCommandOutput extends CreateSavingsPlanRespons
26
26
  * import { SavingsplansClient, CreateSavingsPlanCommand } from "@aws-sdk/client-savingsplans"; // ES Modules import
27
27
  * // const { SavingsplansClient, CreateSavingsPlanCommand } = require("@aws-sdk/client-savingsplans"); // CommonJS import
28
28
  * const client = new SavingsplansClient(config);
29
- * const input = {
29
+ * const input = { // CreateSavingsPlanRequest
30
30
  * savingsPlanOfferingId: "STRING_VALUE", // required
31
31
  * commitment: "STRING_VALUE", // required
32
32
  * upfrontPaymentAmount: "STRING_VALUE",
33
33
  * purchaseTime: new Date("TIMESTAMP"),
34
34
  * clientToken: "STRING_VALUE",
35
- * tags: {
35
+ * tags: { // TagMap
36
36
  * "<keys>": "STRING_VALUE",
37
37
  * },
38
38
  * };
@@ -26,7 +26,7 @@ export interface DeleteQueuedSavingsPlanCommandOutput extends DeleteQueuedSaving
26
26
  * import { SavingsplansClient, DeleteQueuedSavingsPlanCommand } from "@aws-sdk/client-savingsplans"; // ES Modules import
27
27
  * // const { SavingsplansClient, DeleteQueuedSavingsPlanCommand } = require("@aws-sdk/client-savingsplans"); // CommonJS import
28
28
  * const client = new SavingsplansClient(config);
29
- * const input = {
29
+ * const input = { // DeleteQueuedSavingsPlanRequest
30
30
  * savingsPlanId: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new DeleteQueuedSavingsPlanCommand(input);
@@ -26,12 +26,12 @@ export interface DescribeSavingsPlanRatesCommandOutput extends DescribeSavingsPl
26
26
  * import { SavingsplansClient, DescribeSavingsPlanRatesCommand } from "@aws-sdk/client-savingsplans"; // ES Modules import
27
27
  * // const { SavingsplansClient, DescribeSavingsPlanRatesCommand } = require("@aws-sdk/client-savingsplans"); // CommonJS import
28
28
  * const client = new SavingsplansClient(config);
29
- * const input = {
29
+ * const input = { // DescribeSavingsPlanRatesRequest
30
30
  * savingsPlanId: "STRING_VALUE", // required
31
- * filters: [
32
- * {
31
+ * filters: [ // SavingsPlanRateFilterList
32
+ * { // SavingsPlanRateFilter
33
33
  * name: "STRING_VALUE",
34
- * values: [
34
+ * values: [ // ListOfStrings
35
35
  * "STRING_VALUE",
36
36
  * ],
37
37
  * },
@@ -26,22 +26,22 @@ export interface DescribeSavingsPlansCommandOutput extends DescribeSavingsPlansR
26
26
  * import { SavingsplansClient, DescribeSavingsPlansCommand } from "@aws-sdk/client-savingsplans"; // ES Modules import
27
27
  * // const { SavingsplansClient, DescribeSavingsPlansCommand } = require("@aws-sdk/client-savingsplans"); // CommonJS import
28
28
  * const client = new SavingsplansClient(config);
29
- * const input = {
30
- * savingsPlanArns: [
29
+ * const input = { // DescribeSavingsPlansRequest
30
+ * savingsPlanArns: [ // SavingsPlanArnList
31
31
  * "STRING_VALUE",
32
32
  * ],
33
- * savingsPlanIds: [
33
+ * savingsPlanIds: [ // SavingsPlanIdList
34
34
  * "STRING_VALUE",
35
35
  * ],
36
36
  * nextToken: "STRING_VALUE",
37
37
  * maxResults: Number("int"),
38
- * states: [
38
+ * states: [ // SavingsPlanStateList
39
39
  * "STRING_VALUE",
40
40
  * ],
41
- * filters: [
42
- * {
41
+ * filters: [ // SavingsPlanFilterList
42
+ * { // SavingsPlanFilter
43
43
  * name: "STRING_VALUE",
44
- * values: [
44
+ * values: [ // ListOfStrings
45
45
  * "STRING_VALUE",
46
46
  * ],
47
47
  * },
@@ -26,32 +26,32 @@ export interface DescribeSavingsPlansOfferingRatesCommandOutput extends Describe
26
26
  * import { SavingsplansClient, DescribeSavingsPlansOfferingRatesCommand } from "@aws-sdk/client-savingsplans"; // ES Modules import
27
27
  * // const { SavingsplansClient, DescribeSavingsPlansOfferingRatesCommand } = require("@aws-sdk/client-savingsplans"); // CommonJS import
28
28
  * const client = new SavingsplansClient(config);
29
- * const input = {
30
- * savingsPlanOfferingIds: [
29
+ * const input = { // DescribeSavingsPlansOfferingRatesRequest
30
+ * savingsPlanOfferingIds: [ // UUIDs
31
31
  * "STRING_VALUE",
32
32
  * ],
33
- * savingsPlanPaymentOptions: [
33
+ * savingsPlanPaymentOptions: [ // SavingsPlanPaymentOptionList
34
34
  * "STRING_VALUE",
35
35
  * ],
36
- * savingsPlanTypes: [
36
+ * savingsPlanTypes: [ // SavingsPlanTypeList
37
37
  * "STRING_VALUE",
38
38
  * ],
39
- * products: [
39
+ * products: [ // SavingsPlanProductTypeList
40
40
  * "STRING_VALUE",
41
41
  * ],
42
- * serviceCodes: [
42
+ * serviceCodes: [ // SavingsPlanRateServiceCodeList
43
43
  * "STRING_VALUE",
44
44
  * ],
45
- * usageTypes: [
45
+ * usageTypes: [ // SavingsPlanRateUsageTypeList
46
46
  * "STRING_VALUE",
47
47
  * ],
48
- * operations: [
48
+ * operations: [ // SavingsPlanRateOperationList
49
49
  * "STRING_VALUE",
50
50
  * ],
51
- * filters: [
52
- * {
51
+ * filters: [ // SavingsPlanOfferingRateFiltersList
52
+ * { // SavingsPlanOfferingRateFilterElement
53
53
  * name: "STRING_VALUE",
54
- * values: [
54
+ * values: [ // FilterValuesList
55
55
  * "STRING_VALUE",
56
56
  * ],
57
57
  * },
@@ -26,39 +26,39 @@ export interface DescribeSavingsPlansOfferingsCommandOutput extends DescribeSavi
26
26
  * import { SavingsplansClient, DescribeSavingsPlansOfferingsCommand } from "@aws-sdk/client-savingsplans"; // ES Modules import
27
27
  * // const { SavingsplansClient, DescribeSavingsPlansOfferingsCommand } = require("@aws-sdk/client-savingsplans"); // CommonJS import
28
28
  * const client = new SavingsplansClient(config);
29
- * const input = {
30
- * offeringIds: [
29
+ * const input = { // DescribeSavingsPlansOfferingsRequest
30
+ * offeringIds: [ // UUIDs
31
31
  * "STRING_VALUE",
32
32
  * ],
33
- * paymentOptions: [
33
+ * paymentOptions: [ // SavingsPlanPaymentOptionList
34
34
  * "STRING_VALUE",
35
35
  * ],
36
36
  * productType: "STRING_VALUE",
37
- * planTypes: [
37
+ * planTypes: [ // SavingsPlanTypeList
38
38
  * "STRING_VALUE",
39
39
  * ],
40
- * durations: [
40
+ * durations: [ // DurationsList
41
41
  * Number("long"),
42
42
  * ],
43
- * currencies: [
43
+ * currencies: [ // CurrencyList
44
44
  * "STRING_VALUE",
45
45
  * ],
46
- * descriptions: [
46
+ * descriptions: [ // SavingsPlanDescriptionsList
47
47
  * "STRING_VALUE",
48
48
  * ],
49
- * serviceCodes: [
49
+ * serviceCodes: [ // SavingsPlanServiceCodeList
50
50
  * "STRING_VALUE",
51
51
  * ],
52
- * usageTypes: [
52
+ * usageTypes: [ // SavingsPlanUsageTypeList
53
53
  * "STRING_VALUE",
54
54
  * ],
55
- * operations: [
55
+ * operations: [ // SavingsPlanOperationList
56
56
  * "STRING_VALUE",
57
57
  * ],
58
- * filters: [
59
- * {
58
+ * filters: [ // SavingsPlanOfferingFiltersList
59
+ * { // SavingsPlanOfferingFilterElement
60
60
  * name: "STRING_VALUE",
61
- * values: [
61
+ * values: [ // FilterValuesList
62
62
  * "STRING_VALUE",
63
63
  * ],
64
64
  * },
@@ -26,7 +26,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
26
26
  * import { SavingsplansClient, ListTagsForResourceCommand } from "@aws-sdk/client-savingsplans"; // ES Modules import
27
27
  * // const { SavingsplansClient, ListTagsForResourceCommand } = require("@aws-sdk/client-savingsplans"); // CommonJS import
28
28
  * const client = new SavingsplansClient(config);
29
- * const input = {
29
+ * const input = { // ListTagsForResourceRequest
30
30
  * resourceArn: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new ListTagsForResourceCommand(input);
@@ -26,9 +26,9 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
26
26
  * import { SavingsplansClient, TagResourceCommand } from "@aws-sdk/client-savingsplans"; // ES Modules import
27
27
  * // const { SavingsplansClient, TagResourceCommand } = require("@aws-sdk/client-savingsplans"); // CommonJS import
28
28
  * const client = new SavingsplansClient(config);
29
- * const input = {
29
+ * const input = { // TagResourceRequest
30
30
  * resourceArn: "STRING_VALUE", // required
31
- * tags: { // required
31
+ * tags: { // TagMap // required
32
32
  * "<keys>": "STRING_VALUE",
33
33
  * },
34
34
  * };
@@ -26,9 +26,9 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
26
26
  * import { SavingsplansClient, UntagResourceCommand } from "@aws-sdk/client-savingsplans"; // ES Modules import
27
27
  * // const { SavingsplansClient, UntagResourceCommand } = require("@aws-sdk/client-savingsplans"); // CommonJS import
28
28
  * const client = new SavingsplansClient(config);
29
- * const input = {
29
+ * const input = { // UntagResourceRequest
30
30
  * resourceArn: "STRING_VALUE", // required
31
- * tagKeys: [ // required
31
+ * tagKeys: [ // TagKeyList // required
32
32
  * "STRING_VALUE",
33
33
  * ],
34
34
  * };
@@ -104,17 +104,22 @@ export interface DeleteQueuedSavingsPlanResponse {
104
104
  }
105
105
  /**
106
106
  * @public
107
+ * @enum
107
108
  */
108
- export declare enum SavingsPlanRateFilterName {
109
- INSTANCE_TYPE = "instanceType",
110
- OPERATION = "operation",
111
- PRODUCT_DESCRIPTION = "productDescription",
112
- PRODUCT_TYPE = "productType",
113
- REGION = "region",
114
- SERVICE_CODE = "serviceCode",
115
- TENANCY = "tenancy",
116
- USAGE_TYPE = "usageType"
117
- }
109
+ export declare const SavingsPlanRateFilterName: {
110
+ readonly INSTANCE_TYPE: "instanceType";
111
+ readonly OPERATION: "operation";
112
+ readonly PRODUCT_DESCRIPTION: "productDescription";
113
+ readonly PRODUCT_TYPE: "productType";
114
+ readonly REGION: "region";
115
+ readonly SERVICE_CODE: "serviceCode";
116
+ readonly TENANCY: "tenancy";
117
+ readonly USAGE_TYPE: "usageType";
118
+ };
119
+ /**
120
+ * @public
121
+ */
122
+ export type SavingsPlanRateFilterName = (typeof SavingsPlanRateFilterName)[keyof typeof SavingsPlanRateFilterName];
118
123
  /**
119
124
  * @public
120
125
  * <p>Information about a filter.</p>
@@ -157,23 +162,33 @@ export interface DescribeSavingsPlanRatesRequest {
157
162
  export type CurrencyCode = "CNY" | "USD";
158
163
  /**
159
164
  * @public
165
+ * @enum
160
166
  */
161
- export declare enum SavingsPlanProductType {
162
- EC2 = "EC2",
163
- FARGATE = "Fargate",
164
- LAMBDA = "Lambda",
165
- SAGEMAKER = "SageMaker"
166
- }
167
+ export declare const SavingsPlanProductType: {
168
+ readonly EC2: "EC2";
169
+ readonly FARGATE: "Fargate";
170
+ readonly LAMBDA: "Lambda";
171
+ readonly SAGEMAKER: "SageMaker";
172
+ };
167
173
  /**
168
174
  * @public
169
175
  */
170
- export declare enum SavingsPlanRatePropertyKey {
171
- INSTANCE_FAMILY = "instanceFamily",
172
- INSTANCE_TYPE = "instanceType",
173
- PRODUCT_DESCRIPTION = "productDescription",
174
- REGION = "region",
175
- TENANCY = "tenancy"
176
- }
176
+ export type SavingsPlanProductType = (typeof SavingsPlanProductType)[keyof typeof SavingsPlanProductType];
177
+ /**
178
+ * @public
179
+ * @enum
180
+ */
181
+ export declare const SavingsPlanRatePropertyKey: {
182
+ readonly INSTANCE_FAMILY: "instanceFamily";
183
+ readonly INSTANCE_TYPE: "instanceType";
184
+ readonly PRODUCT_DESCRIPTION: "productDescription";
185
+ readonly REGION: "region";
186
+ readonly TENANCY: "tenancy";
187
+ };
188
+ /**
189
+ * @public
190
+ */
191
+ export type SavingsPlanRatePropertyKey = (typeof SavingsPlanRatePropertyKey)[keyof typeof SavingsPlanRatePropertyKey];
177
192
  /**
178
193
  * @public
179
194
  * <p>Information about a property.</p>
@@ -190,22 +205,32 @@ export interface SavingsPlanRateProperty {
190
205
  }
191
206
  /**
192
207
  * @public
208
+ * @enum
193
209
  */
194
- export declare enum SavingsPlanRateServiceCode {
195
- EC2 = "AmazonEC2",
196
- FARGATE = "AmazonECS",
197
- FARGATE_EKS = "AmazonEKS",
198
- LAMBDA = "AWSLambda",
199
- SAGEMAKER = "AmazonSageMaker"
200
- }
210
+ export declare const SavingsPlanRateServiceCode: {
211
+ readonly EC2: "AmazonEC2";
212
+ readonly FARGATE: "AmazonECS";
213
+ readonly FARGATE_EKS: "AmazonEKS";
214
+ readonly LAMBDA: "AWSLambda";
215
+ readonly SAGEMAKER: "AmazonSageMaker";
216
+ };
201
217
  /**
202
218
  * @public
203
219
  */
204
- export declare enum SavingsPlanRateUnit {
205
- HOURS = "Hrs",
206
- LAMBDA_GB_SECOND = "Lambda-GB-Second",
207
- REQUEST = "Request"
208
- }
220
+ export type SavingsPlanRateServiceCode = (typeof SavingsPlanRateServiceCode)[keyof typeof SavingsPlanRateServiceCode];
221
+ /**
222
+ * @public
223
+ * @enum
224
+ */
225
+ export declare const SavingsPlanRateUnit: {
226
+ readonly HOURS: "Hrs";
227
+ readonly LAMBDA_GB_SECOND: "Lambda-GB-Second";
228
+ readonly REQUEST: "Request";
229
+ };
230
+ /**
231
+ * @public
232
+ */
233
+ export type SavingsPlanRateUnit = (typeof SavingsPlanRateUnit)[keyof typeof SavingsPlanRateUnit];
209
234
  /**
210
235
  * @public
211
236
  * <p>Information about a Savings Plan rate.</p>
@@ -264,18 +289,23 @@ export interface DescribeSavingsPlanRatesResponse {
264
289
  }
265
290
  /**
266
291
  * @public
292
+ * @enum
267
293
  */
268
- export declare enum SavingsPlansFilterName {
269
- COMMITMENT = "commitment",
270
- EC2_INSTANCE_FAMILY = "ec2-instance-family",
271
- END = "end",
272
- PAYMENT_OPTION = "payment-option",
273
- REGION = "region",
274
- SAVINGS_PLAN_TYPE = "savings-plan-type",
275
- START = "start",
276
- TERM = "term",
277
- UPFRONT = "upfront"
278
- }
294
+ export declare const SavingsPlansFilterName: {
295
+ readonly COMMITMENT: "commitment";
296
+ readonly EC2_INSTANCE_FAMILY: "ec2-instance-family";
297
+ readonly END: "end";
298
+ readonly PAYMENT_OPTION: "payment-option";
299
+ readonly REGION: "region";
300
+ readonly SAVINGS_PLAN_TYPE: "savings-plan-type";
301
+ readonly START: "start";
302
+ readonly TERM: "term";
303
+ readonly UPFRONT: "upfront";
304
+ };
305
+ /**
306
+ * @public
307
+ */
308
+ export type SavingsPlansFilterName = (typeof SavingsPlansFilterName)[keyof typeof SavingsPlansFilterName];
279
309
  /**
280
310
  * @public
281
311
  * <p>Information about a filter.</p>
@@ -292,15 +322,20 @@ export interface SavingsPlanFilter {
292
322
  }
293
323
  /**
294
324
  * @public
325
+ * @enum
295
326
  */
296
- export declare enum SavingsPlanState {
297
- ACTIVE = "active",
298
- PAYMENT_FAILED = "payment-failed",
299
- PAYMENT_PENDING = "payment-pending",
300
- QUEUED = "queued",
301
- QUEUED_DELETED = "queued-deleted",
302
- RETIRED = "retired"
303
- }
327
+ export declare const SavingsPlanState: {
328
+ readonly ACTIVE: "active";
329
+ readonly PAYMENT_FAILED: "payment-failed";
330
+ readonly PAYMENT_PENDING: "payment-pending";
331
+ readonly QUEUED: "queued";
332
+ readonly QUEUED_DELETED: "queued-deleted";
333
+ readonly RETIRED: "retired";
334
+ };
335
+ /**
336
+ * @public
337
+ */
338
+ export type SavingsPlanState = (typeof SavingsPlanState)[keyof typeof SavingsPlanState];
304
339
  /**
305
340
  * @public
306
341
  */
@@ -333,20 +368,30 @@ export interface DescribeSavingsPlansRequest {
333
368
  }
334
369
  /**
335
370
  * @public
371
+ * @enum
336
372
  */
337
- export declare enum SavingsPlanPaymentOption {
338
- ALL_UPFRONT = "All Upfront",
339
- NO_UPFRONT = "No Upfront",
340
- PARTIAL_UPFRONT = "Partial Upfront"
341
- }
373
+ export declare const SavingsPlanPaymentOption: {
374
+ readonly ALL_UPFRONT: "All Upfront";
375
+ readonly NO_UPFRONT: "No Upfront";
376
+ readonly PARTIAL_UPFRONT: "Partial Upfront";
377
+ };
342
378
  /**
343
379
  * @public
344
380
  */
345
- export declare enum SavingsPlanType {
346
- COMPUTE = "Compute",
347
- EC2_INSTANCE = "EC2Instance",
348
- SAGEMAKER = "SageMaker"
349
- }
381
+ export type SavingsPlanPaymentOption = (typeof SavingsPlanPaymentOption)[keyof typeof SavingsPlanPaymentOption];
382
+ /**
383
+ * @public
384
+ * @enum
385
+ */
386
+ export declare const SavingsPlanType: {
387
+ readonly COMPUTE: "Compute";
388
+ readonly EC2_INSTANCE: "EC2Instance";
389
+ readonly SAGEMAKER: "SageMaker";
390
+ };
391
+ /**
392
+ * @public
393
+ */
394
+ export type SavingsPlanType = (typeof SavingsPlanType)[keyof typeof SavingsPlanType];
350
395
  /**
351
396
  * @public
352
397
  * <p>Information about a Savings Plan.</p>
@@ -441,15 +486,20 @@ export interface DescribeSavingsPlansResponse {
441
486
  }
442
487
  /**
443
488
  * @public
489
+ * @enum
444
490
  */
445
- export declare enum SavingsPlanRateFilterAttribute {
446
- INSTANCE_FAMILY = "instanceFamily",
447
- INSTANCE_TYPE = "instanceType",
448
- PRODUCT_DESCRIPTION = "productDescription",
449
- PRODUCT_ID = "productId",
450
- REGION = "region",
451
- TENANCY = "tenancy"
452
- }
491
+ export declare const SavingsPlanRateFilterAttribute: {
492
+ readonly INSTANCE_FAMILY: "instanceFamily";
493
+ readonly INSTANCE_TYPE: "instanceType";
494
+ readonly PRODUCT_DESCRIPTION: "productDescription";
495
+ readonly PRODUCT_ID: "productId";
496
+ readonly REGION: "region";
497
+ readonly TENANCY: "tenancy";
498
+ };
499
+ /**
500
+ * @public
501
+ */
502
+ export type SavingsPlanRateFilterAttribute = (typeof SavingsPlanRateFilterAttribute)[keyof typeof SavingsPlanRateFilterAttribute];
453
503
  /**
454
504
  * @public
455
505
  * <p>Information about a filter.</p>
@@ -608,11 +658,16 @@ export interface DescribeSavingsPlansOfferingRatesResponse {
608
658
  }
609
659
  /**
610
660
  * @public
661
+ * @enum
611
662
  */
612
- export declare enum SavingsPlanOfferingFilterAttribute {
613
- instanceFamily = "instanceFamily",
614
- region = "region"
615
- }
663
+ export declare const SavingsPlanOfferingFilterAttribute: {
664
+ readonly instanceFamily: "instanceFamily";
665
+ readonly region: "region";
666
+ };
667
+ /**
668
+ * @public
669
+ */
670
+ export type SavingsPlanOfferingFilterAttribute = (typeof SavingsPlanOfferingFilterAttribute)[keyof typeof SavingsPlanOfferingFilterAttribute];
616
671
  /**
617
672
  * @public
618
673
  * <p>Information about a filter.</p>
@@ -687,11 +742,16 @@ export interface DescribeSavingsPlansOfferingsRequest {
687
742
  }
688
743
  /**
689
744
  * @public
745
+ * @enum
690
746
  */
691
- export declare enum SavingsPlanOfferingPropertyKey {
692
- INSTANCE_FAMILY = "instanceFamily",
693
- REGION = "region"
694
- }
747
+ export declare const SavingsPlanOfferingPropertyKey: {
748
+ readonly INSTANCE_FAMILY: "instanceFamily";
749
+ readonly REGION: "region";
750
+ };
751
+ /**
752
+ * @public
753
+ */
754
+ export type SavingsPlanOfferingPropertyKey = (typeof SavingsPlanOfferingPropertyKey)[keyof typeof SavingsPlanOfferingPropertyKey];
695
755
  /**
696
756
  * @public
697
757
  * <p>Information about a property.</p>
@@ -43,16 +43,18 @@ export interface DeleteQueuedSavingsPlanRequest {
43
43
  savingsPlanId: string | undefined;
44
44
  }
45
45
  export interface DeleteQueuedSavingsPlanResponse {}
46
- export declare enum SavingsPlanRateFilterName {
47
- INSTANCE_TYPE = "instanceType",
48
- OPERATION = "operation",
49
- PRODUCT_DESCRIPTION = "productDescription",
50
- PRODUCT_TYPE = "productType",
51
- REGION = "region",
52
- SERVICE_CODE = "serviceCode",
53
- TENANCY = "tenancy",
54
- USAGE_TYPE = "usageType",
55
- }
46
+ export declare const SavingsPlanRateFilterName: {
47
+ readonly INSTANCE_TYPE: "instanceType";
48
+ readonly OPERATION: "operation";
49
+ readonly PRODUCT_DESCRIPTION: "productDescription";
50
+ readonly PRODUCT_TYPE: "productType";
51
+ readonly REGION: "region";
52
+ readonly SERVICE_CODE: "serviceCode";
53
+ readonly TENANCY: "tenancy";
54
+ readonly USAGE_TYPE: "usageType";
55
+ };
56
+ export type SavingsPlanRateFilterName =
57
+ (typeof SavingsPlanRateFilterName)[keyof typeof SavingsPlanRateFilterName];
56
58
  export interface SavingsPlanRateFilter {
57
59
  name?: SavingsPlanRateFilterName | string;
58
60
  values?: string[];
@@ -64,35 +66,43 @@ export interface DescribeSavingsPlanRatesRequest {
64
66
  maxResults?: number;
65
67
  }
66
68
  export type CurrencyCode = "CNY" | "USD";
67
- export declare enum SavingsPlanProductType {
68
- EC2 = "EC2",
69
- FARGATE = "Fargate",
70
- LAMBDA = "Lambda",
71
- SAGEMAKER = "SageMaker",
72
- }
73
- export declare enum SavingsPlanRatePropertyKey {
74
- INSTANCE_FAMILY = "instanceFamily",
75
- INSTANCE_TYPE = "instanceType",
76
- PRODUCT_DESCRIPTION = "productDescription",
77
- REGION = "region",
78
- TENANCY = "tenancy",
79
- }
69
+ export declare const SavingsPlanProductType: {
70
+ readonly EC2: "EC2";
71
+ readonly FARGATE: "Fargate";
72
+ readonly LAMBDA: "Lambda";
73
+ readonly SAGEMAKER: "SageMaker";
74
+ };
75
+ export type SavingsPlanProductType =
76
+ (typeof SavingsPlanProductType)[keyof typeof SavingsPlanProductType];
77
+ export declare const SavingsPlanRatePropertyKey: {
78
+ readonly INSTANCE_FAMILY: "instanceFamily";
79
+ readonly INSTANCE_TYPE: "instanceType";
80
+ readonly PRODUCT_DESCRIPTION: "productDescription";
81
+ readonly REGION: "region";
82
+ readonly TENANCY: "tenancy";
83
+ };
84
+ export type SavingsPlanRatePropertyKey =
85
+ (typeof SavingsPlanRatePropertyKey)[keyof typeof SavingsPlanRatePropertyKey];
80
86
  export interface SavingsPlanRateProperty {
81
87
  name?: SavingsPlanRatePropertyKey | string;
82
88
  value?: string;
83
89
  }
84
- export declare enum SavingsPlanRateServiceCode {
85
- EC2 = "AmazonEC2",
86
- FARGATE = "AmazonECS",
87
- FARGATE_EKS = "AmazonEKS",
88
- LAMBDA = "AWSLambda",
89
- SAGEMAKER = "AmazonSageMaker",
90
- }
91
- export declare enum SavingsPlanRateUnit {
92
- HOURS = "Hrs",
93
- LAMBDA_GB_SECOND = "Lambda-GB-Second",
94
- REQUEST = "Request",
95
- }
90
+ export declare const SavingsPlanRateServiceCode: {
91
+ readonly EC2: "AmazonEC2";
92
+ readonly FARGATE: "AmazonECS";
93
+ readonly FARGATE_EKS: "AmazonEKS";
94
+ readonly LAMBDA: "AWSLambda";
95
+ readonly SAGEMAKER: "AmazonSageMaker";
96
+ };
97
+ export type SavingsPlanRateServiceCode =
98
+ (typeof SavingsPlanRateServiceCode)[keyof typeof SavingsPlanRateServiceCode];
99
+ export declare const SavingsPlanRateUnit: {
100
+ readonly HOURS: "Hrs";
101
+ readonly LAMBDA_GB_SECOND: "Lambda-GB-Second";
102
+ readonly REQUEST: "Request";
103
+ };
104
+ export type SavingsPlanRateUnit =
105
+ (typeof SavingsPlanRateUnit)[keyof typeof SavingsPlanRateUnit];
96
106
  export interface SavingsPlanRate {
97
107
  rate?: string;
98
108
  currency?: CurrencyCode | string;
@@ -108,29 +118,33 @@ export interface DescribeSavingsPlanRatesResponse {
108
118
  searchResults?: SavingsPlanRate[];
109
119
  nextToken?: string;
110
120
  }
111
- export declare enum SavingsPlansFilterName {
112
- COMMITMENT = "commitment",
113
- EC2_INSTANCE_FAMILY = "ec2-instance-family",
114
- END = "end",
115
- PAYMENT_OPTION = "payment-option",
116
- REGION = "region",
117
- SAVINGS_PLAN_TYPE = "savings-plan-type",
118
- START = "start",
119
- TERM = "term",
120
- UPFRONT = "upfront",
121
- }
121
+ export declare const SavingsPlansFilterName: {
122
+ readonly COMMITMENT: "commitment";
123
+ readonly EC2_INSTANCE_FAMILY: "ec2-instance-family";
124
+ readonly END: "end";
125
+ readonly PAYMENT_OPTION: "payment-option";
126
+ readonly REGION: "region";
127
+ readonly SAVINGS_PLAN_TYPE: "savings-plan-type";
128
+ readonly START: "start";
129
+ readonly TERM: "term";
130
+ readonly UPFRONT: "upfront";
131
+ };
132
+ export type SavingsPlansFilterName =
133
+ (typeof SavingsPlansFilterName)[keyof typeof SavingsPlansFilterName];
122
134
  export interface SavingsPlanFilter {
123
135
  name?: SavingsPlansFilterName | string;
124
136
  values?: string[];
125
137
  }
126
- export declare enum SavingsPlanState {
127
- ACTIVE = "active",
128
- PAYMENT_FAILED = "payment-failed",
129
- PAYMENT_PENDING = "payment-pending",
130
- QUEUED = "queued",
131
- QUEUED_DELETED = "queued-deleted",
132
- RETIRED = "retired",
133
- }
138
+ export declare const SavingsPlanState: {
139
+ readonly ACTIVE: "active";
140
+ readonly PAYMENT_FAILED: "payment-failed";
141
+ readonly PAYMENT_PENDING: "payment-pending";
142
+ readonly QUEUED: "queued";
143
+ readonly QUEUED_DELETED: "queued-deleted";
144
+ readonly RETIRED: "retired";
145
+ };
146
+ export type SavingsPlanState =
147
+ (typeof SavingsPlanState)[keyof typeof SavingsPlanState];
134
148
  export interface DescribeSavingsPlansRequest {
135
149
  savingsPlanArns?: string[];
136
150
  savingsPlanIds?: string[];
@@ -139,16 +153,20 @@ export interface DescribeSavingsPlansRequest {
139
153
  states?: (SavingsPlanState | string)[];
140
154
  filters?: SavingsPlanFilter[];
141
155
  }
142
- export declare enum SavingsPlanPaymentOption {
143
- ALL_UPFRONT = "All Upfront",
144
- NO_UPFRONT = "No Upfront",
145
- PARTIAL_UPFRONT = "Partial Upfront",
146
- }
147
- export declare enum SavingsPlanType {
148
- COMPUTE = "Compute",
149
- EC2_INSTANCE = "EC2Instance",
150
- SAGEMAKER = "SageMaker",
151
- }
156
+ export declare const SavingsPlanPaymentOption: {
157
+ readonly ALL_UPFRONT: "All Upfront";
158
+ readonly NO_UPFRONT: "No Upfront";
159
+ readonly PARTIAL_UPFRONT: "Partial Upfront";
160
+ };
161
+ export type SavingsPlanPaymentOption =
162
+ (typeof SavingsPlanPaymentOption)[keyof typeof SavingsPlanPaymentOption];
163
+ export declare const SavingsPlanType: {
164
+ readonly COMPUTE: "Compute";
165
+ readonly EC2_INSTANCE: "EC2Instance";
166
+ readonly SAGEMAKER: "SageMaker";
167
+ };
168
+ export type SavingsPlanType =
169
+ (typeof SavingsPlanType)[keyof typeof SavingsPlanType];
152
170
  export interface SavingsPlan {
153
171
  offeringId?: string;
154
172
  savingsPlanId?: string;
@@ -173,14 +191,16 @@ export interface DescribeSavingsPlansResponse {
173
191
  savingsPlans?: SavingsPlan[];
174
192
  nextToken?: string;
175
193
  }
176
- export declare enum SavingsPlanRateFilterAttribute {
177
- INSTANCE_FAMILY = "instanceFamily",
178
- INSTANCE_TYPE = "instanceType",
179
- PRODUCT_DESCRIPTION = "productDescription",
180
- PRODUCT_ID = "productId",
181
- REGION = "region",
182
- TENANCY = "tenancy",
183
- }
194
+ export declare const SavingsPlanRateFilterAttribute: {
195
+ readonly INSTANCE_FAMILY: "instanceFamily";
196
+ readonly INSTANCE_TYPE: "instanceType";
197
+ readonly PRODUCT_DESCRIPTION: "productDescription";
198
+ readonly PRODUCT_ID: "productId";
199
+ readonly REGION: "region";
200
+ readonly TENANCY: "tenancy";
201
+ };
202
+ export type SavingsPlanRateFilterAttribute =
203
+ (typeof SavingsPlanRateFilterAttribute)[keyof typeof SavingsPlanRateFilterAttribute];
184
204
  export interface SavingsPlanOfferingRateFilterElement {
185
205
  name?: SavingsPlanRateFilterAttribute | string;
186
206
  values?: string[];
@@ -223,10 +243,12 @@ export interface DescribeSavingsPlansOfferingRatesResponse {
223
243
  searchResults?: SavingsPlanOfferingRate[];
224
244
  nextToken?: string;
225
245
  }
226
- export declare enum SavingsPlanOfferingFilterAttribute {
227
- instanceFamily = "instanceFamily",
228
- region = "region",
229
- }
246
+ export declare const SavingsPlanOfferingFilterAttribute: {
247
+ readonly instanceFamily: "instanceFamily";
248
+ readonly region: "region";
249
+ };
250
+ export type SavingsPlanOfferingFilterAttribute =
251
+ (typeof SavingsPlanOfferingFilterAttribute)[keyof typeof SavingsPlanOfferingFilterAttribute];
230
252
  export interface SavingsPlanOfferingFilterElement {
231
253
  name?: SavingsPlanOfferingFilterAttribute | string;
232
254
  values?: string[];
@@ -246,10 +268,12 @@ export interface DescribeSavingsPlansOfferingsRequest {
246
268
  nextToken?: string;
247
269
  maxResults?: number;
248
270
  }
249
- export declare enum SavingsPlanOfferingPropertyKey {
250
- INSTANCE_FAMILY = "instanceFamily",
251
- REGION = "region",
252
- }
271
+ export declare const SavingsPlanOfferingPropertyKey: {
272
+ readonly INSTANCE_FAMILY: "instanceFamily";
273
+ readonly REGION: "region";
274
+ };
275
+ export type SavingsPlanOfferingPropertyKey =
276
+ (typeof SavingsPlanOfferingPropertyKey)[keyof typeof SavingsPlanOfferingPropertyKey];
253
277
  export interface SavingsPlanOfferingProperty {
254
278
  name?: SavingsPlanOfferingPropertyKey | string;
255
279
  value?: string;
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.300.0",
4
+ "version": "3.303.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,43 +21,43 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.300.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.300.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
24
+ "@aws-sdk/client-sts": "3.303.0",
25
+ "@aws-sdk/config-resolver": "3.303.0",
26
+ "@aws-sdk/credential-provider-node": "3.303.0",
27
+ "@aws-sdk/fetch-http-handler": "3.303.0",
28
+ "@aws-sdk/hash-node": "3.303.0",
29
+ "@aws-sdk/invalid-dependency": "3.303.0",
30
+ "@aws-sdk/middleware-content-length": "3.303.0",
31
+ "@aws-sdk/middleware-endpoint": "3.303.0",
32
+ "@aws-sdk/middleware-host-header": "3.303.0",
33
+ "@aws-sdk/middleware-logger": "3.303.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.303.0",
35
+ "@aws-sdk/middleware-retry": "3.303.0",
36
+ "@aws-sdk/middleware-serde": "3.303.0",
37
+ "@aws-sdk/middleware-signing": "3.303.0",
38
+ "@aws-sdk/middleware-stack": "3.303.0",
39
+ "@aws-sdk/middleware-user-agent": "3.303.0",
40
+ "@aws-sdk/node-config-provider": "3.303.0",
41
+ "@aws-sdk/node-http-handler": "3.303.0",
42
+ "@aws-sdk/protocol-http": "3.303.0",
43
+ "@aws-sdk/smithy-client": "3.303.0",
44
+ "@aws-sdk/types": "3.303.0",
45
+ "@aws-sdk/url-parser": "3.303.0",
46
+ "@aws-sdk/util-base64": "3.303.0",
47
+ "@aws-sdk/util-body-length-browser": "3.303.0",
48
+ "@aws-sdk/util-body-length-node": "3.303.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.303.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.303.0",
51
+ "@aws-sdk/util-endpoints": "3.303.0",
52
+ "@aws-sdk/util-retry": "3.303.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.303.0",
54
+ "@aws-sdk/util-user-agent-node": "3.303.0",
55
+ "@aws-sdk/util-utf8": "3.303.0",
56
56
  "tslib": "^2.5.0",
57
57
  "uuid": "^8.3.2"
58
58
  },
59
59
  "devDependencies": {
60
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
60
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
61
61
  "@tsconfig/node14": "1.0.3",
62
62
  "@types/node": "^14.14.31",
63
63
  "@types/uuid": "^8.3.0",