@aws-sdk/client-savingsplans 3.489.0 → 3.495.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/Savingsplans.js +1 -29
- package/dist-cjs/SavingsplansClient.js +1 -43
- package/dist-cjs/commands/CreateSavingsPlanCommand.js +1 -28
- package/dist-cjs/commands/DeleteQueuedSavingsPlanCommand.js +1 -28
- package/dist-cjs/commands/DescribeSavingsPlanRatesCommand.js +1 -28
- package/dist-cjs/commands/DescribeSavingsPlansCommand.js +1 -28
- package/dist-cjs/commands/DescribeSavingsPlansOfferingRatesCommand.js +1 -28
- package/dist-cjs/commands/DescribeSavingsPlansOfferingsCommand.js +1 -28
- package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
- package/dist-cjs/commands/TagResourceCommand.js +1 -28
- package/dist-cjs/commands/UntagResourceCommand.js +1 -28
- package/dist-cjs/commands/index.js +1 -12
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +1138 -10
- package/dist-cjs/models/SavingsplansServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -140
- package/dist-cjs/protocols/Aws_restJson1.js +1 -625
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/package.json +40 -40
|
@@ -1,12 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SavingsplansServiceException = exports.__ServiceException = void 0;
|
|
4
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
-
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
-
class SavingsplansServiceException extends smithy_client_1.ServiceException {
|
|
7
|
-
constructor(options) {
|
|
8
|
-
super(options);
|
|
9
|
-
Object.setPrototypeOf(this, SavingsplansServiceException.prototype);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
exports.SavingsplansServiceException = SavingsplansServiceException;
|
|
1
|
+
module.exports = require("../index.js");
|
package/dist-cjs/models/index.js
CHANGED
|
@@ -1,140 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SavingsPlanOfferingPropertyKey = exports.SavingsPlanOfferingFilterAttribute = exports.SavingsPlanRateFilterAttribute = exports.SavingsPlanType = exports.SavingsPlanPaymentOption = exports.SavingsPlanState = exports.SavingsPlansFilterName = exports.SavingsPlanRateUnit = exports.SavingsPlanRateServiceCode = exports.SavingsPlanRatePropertyKey = exports.SavingsPlanProductType = exports.CurrencyCode = exports.SavingsPlanRateFilterName = exports.ValidationException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = void 0;
|
|
4
|
-
const SavingsplansServiceException_1 = require("./SavingsplansServiceException");
|
|
5
|
-
class InternalServerException extends SavingsplansServiceException_1.SavingsplansServiceException {
|
|
6
|
-
constructor(opts) {
|
|
7
|
-
super({
|
|
8
|
-
name: "InternalServerException",
|
|
9
|
-
$fault: "server",
|
|
10
|
-
...opts,
|
|
11
|
-
});
|
|
12
|
-
this.name = "InternalServerException";
|
|
13
|
-
this.$fault = "server";
|
|
14
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
exports.InternalServerException = InternalServerException;
|
|
18
|
-
class ResourceNotFoundException extends SavingsplansServiceException_1.SavingsplansServiceException {
|
|
19
|
-
constructor(opts) {
|
|
20
|
-
super({
|
|
21
|
-
name: "ResourceNotFoundException",
|
|
22
|
-
$fault: "client",
|
|
23
|
-
...opts,
|
|
24
|
-
});
|
|
25
|
-
this.name = "ResourceNotFoundException";
|
|
26
|
-
this.$fault = "client";
|
|
27
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
31
|
-
class ServiceQuotaExceededException extends SavingsplansServiceException_1.SavingsplansServiceException {
|
|
32
|
-
constructor(opts) {
|
|
33
|
-
super({
|
|
34
|
-
name: "ServiceQuotaExceededException",
|
|
35
|
-
$fault: "client",
|
|
36
|
-
...opts,
|
|
37
|
-
});
|
|
38
|
-
this.name = "ServiceQuotaExceededException";
|
|
39
|
-
this.$fault = "client";
|
|
40
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
44
|
-
class ValidationException extends SavingsplansServiceException_1.SavingsplansServiceException {
|
|
45
|
-
constructor(opts) {
|
|
46
|
-
super({
|
|
47
|
-
name: "ValidationException",
|
|
48
|
-
$fault: "client",
|
|
49
|
-
...opts,
|
|
50
|
-
});
|
|
51
|
-
this.name = "ValidationException";
|
|
52
|
-
this.$fault = "client";
|
|
53
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
exports.ValidationException = ValidationException;
|
|
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.CurrencyCode = {
|
|
68
|
-
CNY: "CNY",
|
|
69
|
-
USD: "USD",
|
|
70
|
-
};
|
|
71
|
-
exports.SavingsPlanProductType = {
|
|
72
|
-
EC2: "EC2",
|
|
73
|
-
FARGATE: "Fargate",
|
|
74
|
-
LAMBDA: "Lambda",
|
|
75
|
-
SAGEMAKER: "SageMaker",
|
|
76
|
-
};
|
|
77
|
-
exports.SavingsPlanRatePropertyKey = {
|
|
78
|
-
INSTANCE_FAMILY: "instanceFamily",
|
|
79
|
-
INSTANCE_TYPE: "instanceType",
|
|
80
|
-
PRODUCT_DESCRIPTION: "productDescription",
|
|
81
|
-
REGION: "region",
|
|
82
|
-
TENANCY: "tenancy",
|
|
83
|
-
};
|
|
84
|
-
exports.SavingsPlanRateServiceCode = {
|
|
85
|
-
EC2: "AmazonEC2",
|
|
86
|
-
FARGATE: "AmazonECS",
|
|
87
|
-
FARGATE_EKS: "AmazonEKS",
|
|
88
|
-
LAMBDA: "AWSLambda",
|
|
89
|
-
SAGEMAKER: "AmazonSageMaker",
|
|
90
|
-
};
|
|
91
|
-
exports.SavingsPlanRateUnit = {
|
|
92
|
-
HOURS: "Hrs",
|
|
93
|
-
LAMBDA_GB_SECOND: "Lambda-GB-Second",
|
|
94
|
-
REQUEST: "Request",
|
|
95
|
-
};
|
|
96
|
-
exports.SavingsPlansFilterName = {
|
|
97
|
-
COMMITMENT: "commitment",
|
|
98
|
-
EC2_INSTANCE_FAMILY: "ec2-instance-family",
|
|
99
|
-
END: "end",
|
|
100
|
-
PAYMENT_OPTION: "payment-option",
|
|
101
|
-
REGION: "region",
|
|
102
|
-
SAVINGS_PLAN_TYPE: "savings-plan-type",
|
|
103
|
-
START: "start",
|
|
104
|
-
TERM: "term",
|
|
105
|
-
UPFRONT: "upfront",
|
|
106
|
-
};
|
|
107
|
-
exports.SavingsPlanState = {
|
|
108
|
-
ACTIVE: "active",
|
|
109
|
-
PAYMENT_FAILED: "payment-failed",
|
|
110
|
-
PAYMENT_PENDING: "payment-pending",
|
|
111
|
-
QUEUED: "queued",
|
|
112
|
-
QUEUED_DELETED: "queued-deleted",
|
|
113
|
-
RETIRED: "retired",
|
|
114
|
-
};
|
|
115
|
-
exports.SavingsPlanPaymentOption = {
|
|
116
|
-
ALL_UPFRONT: "All Upfront",
|
|
117
|
-
NO_UPFRONT: "No Upfront",
|
|
118
|
-
PARTIAL_UPFRONT: "Partial Upfront",
|
|
119
|
-
};
|
|
120
|
-
exports.SavingsPlanType = {
|
|
121
|
-
COMPUTE: "Compute",
|
|
122
|
-
EC2_INSTANCE: "EC2Instance",
|
|
123
|
-
SAGEMAKER: "SageMaker",
|
|
124
|
-
};
|
|
125
|
-
exports.SavingsPlanRateFilterAttribute = {
|
|
126
|
-
INSTANCE_FAMILY: "instanceFamily",
|
|
127
|
-
INSTANCE_TYPE: "instanceType",
|
|
128
|
-
PRODUCT_DESCRIPTION: "productDescription",
|
|
129
|
-
PRODUCT_ID: "productId",
|
|
130
|
-
REGION: "region",
|
|
131
|
-
TENANCY: "tenancy",
|
|
132
|
-
};
|
|
133
|
-
exports.SavingsPlanOfferingFilterAttribute = {
|
|
134
|
-
instanceFamily: "instanceFamily",
|
|
135
|
-
region: "region",
|
|
136
|
-
};
|
|
137
|
-
exports.SavingsPlanOfferingPropertyKey = {
|
|
138
|
-
INSTANCE_FAMILY: "instanceFamily",
|
|
139
|
-
REGION: "region",
|
|
140
|
-
};
|
|
1
|
+
module.exports = require("../index.js");
|