@aws-sdk/client-savingsplans 3.952.0 → 3.954.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 +156 -121
- package/dist-cjs/runtimeConfig.shared.js +6 -1
- package/dist-es/commands/CreateSavingsPlanCommand.js +2 -2
- package/dist-es/commands/DeleteQueuedSavingsPlanCommand.js +2 -2
- package/dist-es/commands/DescribeSavingsPlanRatesCommand.js +2 -2
- package/dist-es/commands/DescribeSavingsPlansCommand.js +2 -2
- package/dist-es/commands/DescribeSavingsPlansOfferingRatesCommand.js +2 -2
- package/dist-es/commands/DescribeSavingsPlansOfferingsCommand.js +2 -2
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-es/commands/ReturnSavingsPlanCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +2 -2
- package/dist-es/commands/UntagResourceCommand.js +2 -2
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.shared.js +6 -1
- package/dist-es/schemas/schemas_0.js +107 -119
- package/dist-types/SavingsplansClient.d.ts +1 -10
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +6 -2
- package/dist-types/runtimeConfig.d.ts +6 -2
- package/dist-types/runtimeConfig.native.d.ts +6 -2
- package/dist-types/runtimeConfig.shared.d.ts +6 -1
- package/dist-types/schemas/schemas_0.d.ts +48 -79
- package/dist-types/ts3.4/SavingsplansClient.d.ts +0 -4
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +47 -79
- package/package.json +34 -34
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { DescribeSavingsPlansOfferingRates } from "../schemas/schemas_0";
|
|
4
|
+
import { DescribeSavingsPlansOfferingRates$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class DescribeSavingsPlansOfferingRatesCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class DescribeSavingsPlansOfferingRatesCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AWSSavingsPlan", "DescribeSavingsPlansOfferingRates", {})
|
|
13
13
|
.n("SavingsplansClient", "DescribeSavingsPlansOfferingRatesCommand")
|
|
14
|
-
.sc(DescribeSavingsPlansOfferingRates)
|
|
14
|
+
.sc(DescribeSavingsPlansOfferingRates$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { DescribeSavingsPlansOfferings } from "../schemas/schemas_0";
|
|
4
|
+
import { DescribeSavingsPlansOfferings$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class DescribeSavingsPlansOfferingsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class DescribeSavingsPlansOfferingsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AWSSavingsPlan", "DescribeSavingsPlansOfferings", {})
|
|
13
13
|
.n("SavingsplansClient", "DescribeSavingsPlansOfferingsCommand")
|
|
14
|
-
.sc(DescribeSavingsPlansOfferings)
|
|
14
|
+
.sc(DescribeSavingsPlansOfferings$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ListTagsForResource } from "../schemas/schemas_0";
|
|
4
|
+
import { ListTagsForResource$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListTagsForResourceCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class ListTagsForResourceCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AWSSavingsPlan", "ListTagsForResource", {})
|
|
13
13
|
.n("SavingsplansClient", "ListTagsForResourceCommand")
|
|
14
|
-
.sc(ListTagsForResource)
|
|
14
|
+
.sc(ListTagsForResource$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ReturnSavingsPlan } from "../schemas/schemas_0";
|
|
4
|
+
import { ReturnSavingsPlan$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ReturnSavingsPlanCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class ReturnSavingsPlanCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AWSSavingsPlan", "ReturnSavingsPlan", {})
|
|
13
13
|
.n("SavingsplansClient", "ReturnSavingsPlanCommand")
|
|
14
|
-
.sc(ReturnSavingsPlan)
|
|
14
|
+
.sc(ReturnSavingsPlan$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { TagResource } from "../schemas/schemas_0";
|
|
4
|
+
import { TagResource$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class TagResourceCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class TagResourceCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AWSSavingsPlan", "TagResource", {})
|
|
13
13
|
.n("SavingsplansClient", "TagResourceCommand")
|
|
14
|
-
.sc(TagResource)
|
|
14
|
+
.sc(TagResource$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UntagResource } from "../schemas/schemas_0";
|
|
4
|
+
import { UntagResource$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UntagResourceCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UntagResourceCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AWSSavingsPlan", "UntagResource", {})
|
|
13
13
|
.n("SavingsplansClient", "UntagResourceCommand")
|
|
14
|
-
.sc(UntagResource)
|
|
14
|
+
.sc(UntagResource$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./SavingsplansClient";
|
|
2
2
|
export * from "./Savingsplans";
|
|
3
3
|
export * from "./commands";
|
|
4
|
+
export * from "./schemas/schemas_0";
|
|
4
5
|
export * from "./models/enums";
|
|
5
6
|
export * from "./models/errors";
|
|
6
7
|
export { SavingsplansServiceException } from "./models/SavingsplansServiceException";
|
|
@@ -23,7 +23,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
23
|
},
|
|
24
24
|
],
|
|
25
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
-
protocol: config?.protocol ??
|
|
26
|
+
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
27
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
28
|
+
defaultNamespace: "com.amazonaws.savingsplans",
|
|
29
|
+
version: "2019-06-28",
|
|
30
|
+
serviceTarget: "AWSSavingsPlan",
|
|
31
|
+
},
|
|
27
32
|
serviceId: config?.serviceId ?? "savingsplans",
|
|
28
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
29
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
@@ -124,9 +124,9 @@ const _v = "values";
|
|
|
124
124
|
const _va = "value";
|
|
125
125
|
const n0 = "com.amazonaws.savingsplans";
|
|
126
126
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
127
|
-
import { InternalServerException
|
|
128
|
-
import { SavingsplansServiceException
|
|
129
|
-
export var CreateSavingsPlanRequest = [
|
|
127
|
+
import { InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ValidationException, } from "../models/errors";
|
|
128
|
+
import { SavingsplansServiceException } from "../models/SavingsplansServiceException";
|
|
129
|
+
export var CreateSavingsPlanRequest$ = [
|
|
130
130
|
3,
|
|
131
131
|
n0,
|
|
132
132
|
_CSPR,
|
|
@@ -134,10 +134,10 @@ export var CreateSavingsPlanRequest = [
|
|
|
134
134
|
[_sPOI, _c, _uPA, _pT, _cT, _t],
|
|
135
135
|
[0, 0, 0, 4, [0, 4], 128 | 0],
|
|
136
136
|
];
|
|
137
|
-
export var CreateSavingsPlanResponse = [3, n0, _CSPRr, 0, [_sPI], [0]];
|
|
138
|
-
export var DeleteQueuedSavingsPlanRequest = [3, n0, _DQSPR, 0, [_sPI], [0]];
|
|
139
|
-
export var DeleteQueuedSavingsPlanResponse = [3, n0, _DQSPRe, 0, [], []];
|
|
140
|
-
export var DescribeSavingsPlanRatesRequest = [
|
|
137
|
+
export var CreateSavingsPlanResponse$ = [3, n0, _CSPRr, 0, [_sPI], [0]];
|
|
138
|
+
export var DeleteQueuedSavingsPlanRequest$ = [3, n0, _DQSPR, 0, [_sPI], [0]];
|
|
139
|
+
export var DeleteQueuedSavingsPlanResponse$ = [3, n0, _DQSPRe, 0, [], []];
|
|
140
|
+
export var DescribeSavingsPlanRatesRequest$ = [
|
|
141
141
|
3,
|
|
142
142
|
n0,
|
|
143
143
|
_DSPRR,
|
|
@@ -145,7 +145,7 @@ export var DescribeSavingsPlanRatesRequest = [
|
|
|
145
145
|
[_sPI, _f, _nT, _mR],
|
|
146
146
|
[0, () => SavingsPlanRateFilterList, 0, 1],
|
|
147
147
|
];
|
|
148
|
-
export var DescribeSavingsPlanRatesResponse = [
|
|
148
|
+
export var DescribeSavingsPlanRatesResponse$ = [
|
|
149
149
|
3,
|
|
150
150
|
n0,
|
|
151
151
|
_DSPRRe,
|
|
@@ -153,7 +153,7 @@ export var DescribeSavingsPlanRatesResponse = [
|
|
|
153
153
|
[_sPI, _sR, _nT],
|
|
154
154
|
[0, () => SavingsPlanRateList, 0],
|
|
155
155
|
];
|
|
156
|
-
export var DescribeSavingsPlansOfferingRatesRequest = [
|
|
156
|
+
export var DescribeSavingsPlansOfferingRatesRequest$ = [
|
|
157
157
|
3,
|
|
158
158
|
n0,
|
|
159
159
|
_DSPORR,
|
|
@@ -161,7 +161,7 @@ export var DescribeSavingsPlansOfferingRatesRequest = [
|
|
|
161
161
|
[_sPOIa, _sPPO, _sPT, _p, _sC, _uT, _o, _f, _nT, _mR],
|
|
162
162
|
[64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, () => SavingsPlanOfferingRateFiltersList, 0, 1],
|
|
163
163
|
];
|
|
164
|
-
export var DescribeSavingsPlansOfferingRatesResponse = [
|
|
164
|
+
export var DescribeSavingsPlansOfferingRatesResponse$ = [
|
|
165
165
|
3,
|
|
166
166
|
n0,
|
|
167
167
|
_DSPORRe,
|
|
@@ -169,7 +169,7 @@ export var DescribeSavingsPlansOfferingRatesResponse = [
|
|
|
169
169
|
[_sR, _nT],
|
|
170
170
|
[() => SavingsPlanOfferingRatesList, 0],
|
|
171
171
|
];
|
|
172
|
-
export var DescribeSavingsPlansOfferingsRequest = [
|
|
172
|
+
export var DescribeSavingsPlansOfferingsRequest$ = [
|
|
173
173
|
3,
|
|
174
174
|
n0,
|
|
175
175
|
_DSPOR,
|
|
@@ -191,7 +191,7 @@ export var DescribeSavingsPlansOfferingsRequest = [
|
|
|
191
191
|
1,
|
|
192
192
|
],
|
|
193
193
|
];
|
|
194
|
-
export var DescribeSavingsPlansOfferingsResponse = [
|
|
194
|
+
export var DescribeSavingsPlansOfferingsResponse$ = [
|
|
195
195
|
3,
|
|
196
196
|
n0,
|
|
197
197
|
_DSPORe,
|
|
@@ -199,7 +199,7 @@ export var DescribeSavingsPlansOfferingsResponse = [
|
|
|
199
199
|
[_sR, _nT],
|
|
200
200
|
[() => SavingsPlanOfferingsList, 0],
|
|
201
201
|
];
|
|
202
|
-
export var DescribeSavingsPlansRequest = [
|
|
202
|
+
export var DescribeSavingsPlansRequest$ = [
|
|
203
203
|
3,
|
|
204
204
|
n0,
|
|
205
205
|
_DSPR,
|
|
@@ -207,7 +207,7 @@ export var DescribeSavingsPlansRequest = [
|
|
|
207
207
|
[_sPA, _sPIa, _nT, _mR, _s, _f],
|
|
208
208
|
[64 | 0, 64 | 0, 0, 1, 64 | 0, () => SavingsPlanFilterList],
|
|
209
209
|
];
|
|
210
|
-
export var DescribeSavingsPlansResponse = [
|
|
210
|
+
export var DescribeSavingsPlansResponse$ = [
|
|
211
211
|
3,
|
|
212
212
|
n0,
|
|
213
213
|
_DSPRe,
|
|
@@ -215,7 +215,7 @@ export var DescribeSavingsPlansResponse = [
|
|
|
215
215
|
[_sP, _nT],
|
|
216
216
|
[() => SavingsPlanList, 0],
|
|
217
217
|
];
|
|
218
|
-
export var InternalServerException = [
|
|
218
|
+
export var InternalServerException$ = [
|
|
219
219
|
-3,
|
|
220
220
|
n0,
|
|
221
221
|
_ISE,
|
|
@@ -223,10 +223,10 @@ export var InternalServerException = [
|
|
|
223
223
|
[_m],
|
|
224
224
|
[0],
|
|
225
225
|
];
|
|
226
|
-
TypeRegistry.for(n0).registerError(InternalServerException
|
|
227
|
-
export var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_rA], [0]];
|
|
228
|
-
export var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_t], [128 | 0]];
|
|
229
|
-
export var ParentSavingsPlanOffering = [
|
|
226
|
+
TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
|
|
227
|
+
export var ListTagsForResourceRequest$ = [3, n0, _LTFRR, 0, [_rA], [0]];
|
|
228
|
+
export var ListTagsForResourceResponse$ = [3, n0, _LTFRRi, 0, [_t], [128 | 0]];
|
|
229
|
+
export var ParentSavingsPlanOffering$ = [
|
|
230
230
|
3,
|
|
231
231
|
n0,
|
|
232
232
|
_PSPO,
|
|
@@ -234,7 +234,7 @@ export var ParentSavingsPlanOffering = [
|
|
|
234
234
|
[_oIf, _pOa, _pTla, _dS, _cur, _pD],
|
|
235
235
|
[0, 0, 0, 1, 0, 0],
|
|
236
236
|
];
|
|
237
|
-
export var ResourceNotFoundException = [
|
|
237
|
+
export var ResourceNotFoundException$ = [
|
|
238
238
|
-3,
|
|
239
239
|
n0,
|
|
240
240
|
_RNFE,
|
|
@@ -242,10 +242,10 @@ export var ResourceNotFoundException = [
|
|
|
242
242
|
[_m],
|
|
243
243
|
[0],
|
|
244
244
|
];
|
|
245
|
-
TypeRegistry.for(n0).registerError(ResourceNotFoundException
|
|
246
|
-
export var ReturnSavingsPlanRequest = [3, n0, _RSPR, 0, [_sPI, _cT], [0, [0, 4]]];
|
|
247
|
-
export var ReturnSavingsPlanResponse = [3, n0, _RSPRe, 0, [_sPI], [0]];
|
|
248
|
-
export var SavingsPlan = [
|
|
245
|
+
TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
246
|
+
export var ReturnSavingsPlanRequest$ = [3, n0, _RSPR, 0, [_sPI, _cT], [0, [0, 4]]];
|
|
247
|
+
export var ReturnSavingsPlanResponse$ = [3, n0, _RSPRe, 0, [_sPI], [0]];
|
|
248
|
+
export var SavingsPlan$ = [
|
|
249
249
|
3,
|
|
250
250
|
n0,
|
|
251
251
|
_SP,
|
|
@@ -253,8 +253,8 @@ export var SavingsPlan = [
|
|
|
253
253
|
[_oIf, _sPI, _sPAa, _des, _st, _en, _sta, _r, _eIF, _sPTa, _pOa, _pTro, _cur, _c, _uPA, _rPA, _tDIS, _t, _rU],
|
|
254
254
|
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 64 | 0, 0, 0, 0, 0, 1, 128 | 0, 0],
|
|
255
255
|
];
|
|
256
|
-
export var SavingsPlanFilter = [3, n0, _SPF, 0, [_n, _v], [0, 64 | 0]];
|
|
257
|
-
export var SavingsPlanOffering = [
|
|
256
|
+
export var SavingsPlanFilter$ = [3, n0, _SPF, 0, [_n, _v], [0, 64 | 0]];
|
|
257
|
+
export var SavingsPlanOffering$ = [
|
|
258
258
|
3,
|
|
259
259
|
n0,
|
|
260
260
|
_SPO,
|
|
@@ -262,19 +262,19 @@ export var SavingsPlanOffering = [
|
|
|
262
262
|
[_oIf, _pTro, _pTla, _des, _pOa, _dS, _cur, _sCe, _uTs, _op, _pr],
|
|
263
263
|
[0, 64 | 0, 0, 0, 0, 1, 0, 0, 0, 0, () => SavingsPlanOfferingPropertyList],
|
|
264
264
|
];
|
|
265
|
-
export var SavingsPlanOfferingFilterElement = [3, n0, _SPOFE, 0, [_n, _v], [0, 64 | 0]];
|
|
266
|
-
export var SavingsPlanOfferingProperty = [3, n0, _SPOP, 0, [_n, _va], [0, 0]];
|
|
267
|
-
export var SavingsPlanOfferingRate = [
|
|
265
|
+
export var SavingsPlanOfferingFilterElement$ = [3, n0, _SPOFE, 0, [_n, _v], [0, 64 | 0]];
|
|
266
|
+
export var SavingsPlanOfferingProperty$ = [3, n0, _SPOP, 0, [_n, _va], [0, 0]];
|
|
267
|
+
export var SavingsPlanOfferingRate$ = [
|
|
268
268
|
3,
|
|
269
269
|
n0,
|
|
270
270
|
_SPOR,
|
|
271
271
|
0,
|
|
272
272
|
[_sPO, _ra, _u, _pTr, _sCe, _uTs, _op, _pr],
|
|
273
|
-
[() => ParentSavingsPlanOffering
|
|
273
|
+
[() => ParentSavingsPlanOffering$, 0, 0, 0, 0, 0, 0, () => SavingsPlanOfferingRatePropertyList],
|
|
274
274
|
];
|
|
275
|
-
export var SavingsPlanOfferingRateFilterElement = [3, n0, _SPORFE, 0, [_n, _v], [0, 64 | 0]];
|
|
276
|
-
export var SavingsPlanOfferingRateProperty = [3, n0, _SPORP, 0, [_n, _va], [0, 0]];
|
|
277
|
-
export var SavingsPlanRate = [
|
|
275
|
+
export var SavingsPlanOfferingRateFilterElement$ = [3, n0, _SPORFE, 0, [_n, _v], [0, 64 | 0]];
|
|
276
|
+
export var SavingsPlanOfferingRateProperty$ = [3, n0, _SPORP, 0, [_n, _va], [0, 0]];
|
|
277
|
+
export var SavingsPlanRate$ = [
|
|
278
278
|
3,
|
|
279
279
|
n0,
|
|
280
280
|
_SPR,
|
|
@@ -282,9 +282,9 @@ export var SavingsPlanRate = [
|
|
|
282
282
|
[_ra, _cur, _u, _pTr, _sCe, _uTs, _op, _pr],
|
|
283
283
|
[0, 0, 0, 0, 0, 0, 0, () => SavingsPlanRatePropertyList],
|
|
284
284
|
];
|
|
285
|
-
export var SavingsPlanRateFilter = [3, n0, _SPRF, 0, [_n, _v], [0, 64 | 0]];
|
|
286
|
-
export var SavingsPlanRateProperty = [3, n0, _SPRP, 0, [_n, _va], [0, 0]];
|
|
287
|
-
export var ServiceQuotaExceededException = [
|
|
285
|
+
export var SavingsPlanRateFilter$ = [3, n0, _SPRF, 0, [_n, _v], [0, 64 | 0]];
|
|
286
|
+
export var SavingsPlanRateProperty$ = [3, n0, _SPRP, 0, [_n, _va], [0, 0]];
|
|
287
|
+
export var ServiceQuotaExceededException$ = [
|
|
288
288
|
-3,
|
|
289
289
|
n0,
|
|
290
290
|
_SQEE,
|
|
@@ -292,12 +292,12 @@ export var ServiceQuotaExceededException = [
|
|
|
292
292
|
[_m],
|
|
293
293
|
[0],
|
|
294
294
|
];
|
|
295
|
-
TypeRegistry.for(n0).registerError(ServiceQuotaExceededException
|
|
296
|
-
export var TagResourceRequest = [3, n0, _TRR, 0, [_rA, _t], [0, 128 | 0]];
|
|
297
|
-
export var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
|
|
298
|
-
export var UntagResourceRequest = [3, n0, _URR, 0, [_rA, _tK], [0, 64 | 0]];
|
|
299
|
-
export var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
|
|
300
|
-
export var ValidationException = [
|
|
295
|
+
TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
296
|
+
export var TagResourceRequest$ = [3, n0, _TRR, 0, [_rA, _t], [0, 128 | 0]];
|
|
297
|
+
export var TagResourceResponse$ = [3, n0, _TRRa, 0, [], []];
|
|
298
|
+
export var UntagResourceRequest$ = [3, n0, _URR, 0, [_rA, _tK], [0, 64 | 0]];
|
|
299
|
+
export var UntagResourceResponse$ = [3, n0, _URRn, 0, [], []];
|
|
300
|
+
export var ValidationException$ = [
|
|
301
301
|
-3,
|
|
302
302
|
n0,
|
|
303
303
|
_VE,
|
|
@@ -305,135 +305,123 @@ export var ValidationException = [
|
|
|
305
305
|
[_m],
|
|
306
306
|
[0],
|
|
307
307
|
];
|
|
308
|
-
TypeRegistry.for(n0).registerError(ValidationException
|
|
309
|
-
export var SavingsplansServiceException = [-3, _sm, "SavingsplansServiceException", 0, [], []];
|
|
310
|
-
TypeRegistry.for(_sm).registerError(SavingsplansServiceException
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
_SPOFL,
|
|
324
|
-
0,
|
|
325
|
-
() => SavingsPlanOfferingFilterElement,
|
|
326
|
-
];
|
|
327
|
-
export var SavingsPlanOfferingPropertyList = [1, n0, _SPOPL, 0, () => SavingsPlanOfferingProperty];
|
|
328
|
-
export var SavingsPlanOfferingRateFiltersList = [
|
|
308
|
+
TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
|
|
309
|
+
export var SavingsplansServiceException$ = [-3, _sm, "SavingsplansServiceException", 0, [], []];
|
|
310
|
+
TypeRegistry.for(_sm).registerError(SavingsplansServiceException$, SavingsplansServiceException);
|
|
311
|
+
var CurrencyList = 64 | 0;
|
|
312
|
+
var DurationsList = 64 | 1;
|
|
313
|
+
var FilterValuesList = 64 | 0;
|
|
314
|
+
var ListOfStrings = 64 | 0;
|
|
315
|
+
var SavingsPlanArnList = 64 | 0;
|
|
316
|
+
var SavingsPlanDescriptionsList = 64 | 0;
|
|
317
|
+
var SavingsPlanFilterList = [1, n0, _SPFL, 0, () => SavingsPlanFilter$];
|
|
318
|
+
var SavingsPlanIdList = 64 | 0;
|
|
319
|
+
var SavingsPlanList = [1, n0, _SPL, 0, () => SavingsPlan$];
|
|
320
|
+
var SavingsPlanOfferingFiltersList = [1, n0, _SPOFL, 0, () => SavingsPlanOfferingFilterElement$];
|
|
321
|
+
var SavingsPlanOfferingPropertyList = [1, n0, _SPOPL, 0, () => SavingsPlanOfferingProperty$];
|
|
322
|
+
var SavingsPlanOfferingRateFiltersList = [
|
|
329
323
|
1,
|
|
330
324
|
n0,
|
|
331
325
|
_SPORFL,
|
|
332
326
|
0,
|
|
333
|
-
() => SavingsPlanOfferingRateFilterElement
|
|
334
|
-
];
|
|
335
|
-
export var SavingsPlanOfferingRatePropertyList = [
|
|
336
|
-
1,
|
|
337
|
-
n0,
|
|
338
|
-
_SPORPL,
|
|
339
|
-
0,
|
|
340
|
-
() => SavingsPlanOfferingRateProperty,
|
|
327
|
+
() => SavingsPlanOfferingRateFilterElement$,
|
|
341
328
|
];
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
329
|
+
var SavingsPlanOfferingRatePropertyList = [1, n0, _SPORPL, 0, () => SavingsPlanOfferingRateProperty$];
|
|
330
|
+
var SavingsPlanOfferingRatesList = [1, n0, _SPORL, 0, () => SavingsPlanOfferingRate$];
|
|
331
|
+
var SavingsPlanOfferingsList = [1, n0, _SPOL, 0, () => SavingsPlanOffering$];
|
|
332
|
+
var SavingsPlanOperationList = 64 | 0;
|
|
333
|
+
var SavingsPlanPaymentOptionList = 64 | 0;
|
|
334
|
+
var SavingsPlanProductTypeList = 64 | 0;
|
|
335
|
+
var SavingsPlanRateFilterList = [1, n0, _SPRFL, 0, () => SavingsPlanRateFilter$];
|
|
336
|
+
var SavingsPlanRateList = [1, n0, _SPRL, 0, () => SavingsPlanRate$];
|
|
337
|
+
var SavingsPlanRateOperationList = 64 | 0;
|
|
338
|
+
var SavingsPlanRatePropertyList = [1, n0, _SPRPL, 0, () => SavingsPlanRateProperty$];
|
|
339
|
+
var SavingsPlanRateServiceCodeList = 64 | 0;
|
|
340
|
+
var SavingsPlanRateUsageTypeList = 64 | 0;
|
|
341
|
+
var SavingsPlanServiceCodeList = 64 | 0;
|
|
342
|
+
var SavingsPlanStateList = 64 | 0;
|
|
343
|
+
var SavingsPlanTypeList = 64 | 0;
|
|
344
|
+
var SavingsPlanUsageTypeList = 64 | 0;
|
|
345
|
+
var TagKeyList = 64 | 0;
|
|
346
|
+
var UUIDs = 64 | 0;
|
|
347
|
+
var TagMap = 128 | 0;
|
|
348
|
+
export var CreateSavingsPlan$ = [
|
|
361
349
|
9,
|
|
362
350
|
n0,
|
|
363
351
|
_CSP,
|
|
364
352
|
{ [_h]: ["POST", "/CreateSavingsPlan", 200] },
|
|
365
|
-
() => CreateSavingsPlanRequest
|
|
366
|
-
() => CreateSavingsPlanResponse
|
|
353
|
+
() => CreateSavingsPlanRequest$,
|
|
354
|
+
() => CreateSavingsPlanResponse$,
|
|
367
355
|
];
|
|
368
|
-
export var DeleteQueuedSavingsPlan = [
|
|
356
|
+
export var DeleteQueuedSavingsPlan$ = [
|
|
369
357
|
9,
|
|
370
358
|
n0,
|
|
371
359
|
_DQSP,
|
|
372
360
|
{ [_h]: ["POST", "/DeleteQueuedSavingsPlan", 200] },
|
|
373
|
-
() => DeleteQueuedSavingsPlanRequest
|
|
374
|
-
() => DeleteQueuedSavingsPlanResponse
|
|
361
|
+
() => DeleteQueuedSavingsPlanRequest$,
|
|
362
|
+
() => DeleteQueuedSavingsPlanResponse$,
|
|
375
363
|
];
|
|
376
|
-
export var DescribeSavingsPlanRates = [
|
|
364
|
+
export var DescribeSavingsPlanRates$ = [
|
|
377
365
|
9,
|
|
378
366
|
n0,
|
|
379
367
|
_DSPRes,
|
|
380
368
|
{ [_h]: ["POST", "/DescribeSavingsPlanRates", 200] },
|
|
381
|
-
() => DescribeSavingsPlanRatesRequest
|
|
382
|
-
() => DescribeSavingsPlanRatesResponse
|
|
369
|
+
() => DescribeSavingsPlanRatesRequest$,
|
|
370
|
+
() => DescribeSavingsPlanRatesResponse$,
|
|
383
371
|
];
|
|
384
|
-
export var DescribeSavingsPlans = [
|
|
372
|
+
export var DescribeSavingsPlans$ = [
|
|
385
373
|
9,
|
|
386
374
|
n0,
|
|
387
375
|
_DSP,
|
|
388
376
|
{ [_h]: ["POST", "/DescribeSavingsPlans", 200] },
|
|
389
|
-
() => DescribeSavingsPlansRequest
|
|
390
|
-
() => DescribeSavingsPlansResponse
|
|
377
|
+
() => DescribeSavingsPlansRequest$,
|
|
378
|
+
() => DescribeSavingsPlansResponse$,
|
|
391
379
|
];
|
|
392
|
-
export var DescribeSavingsPlansOfferingRates = [
|
|
380
|
+
export var DescribeSavingsPlansOfferingRates$ = [
|
|
393
381
|
9,
|
|
394
382
|
n0,
|
|
395
383
|
_DSPORes,
|
|
396
384
|
{ [_h]: ["POST", "/DescribeSavingsPlansOfferingRates", 200] },
|
|
397
|
-
() => DescribeSavingsPlansOfferingRatesRequest
|
|
398
|
-
() => DescribeSavingsPlansOfferingRatesResponse
|
|
385
|
+
() => DescribeSavingsPlansOfferingRatesRequest$,
|
|
386
|
+
() => DescribeSavingsPlansOfferingRatesResponse$,
|
|
399
387
|
];
|
|
400
|
-
export var DescribeSavingsPlansOfferings = [
|
|
388
|
+
export var DescribeSavingsPlansOfferings$ = [
|
|
401
389
|
9,
|
|
402
390
|
n0,
|
|
403
391
|
_DSPO,
|
|
404
392
|
{ [_h]: ["POST", "/DescribeSavingsPlansOfferings", 200] },
|
|
405
|
-
() => DescribeSavingsPlansOfferingsRequest
|
|
406
|
-
() => DescribeSavingsPlansOfferingsResponse
|
|
393
|
+
() => DescribeSavingsPlansOfferingsRequest$,
|
|
394
|
+
() => DescribeSavingsPlansOfferingsResponse$,
|
|
407
395
|
];
|
|
408
|
-
export var ListTagsForResource = [
|
|
396
|
+
export var ListTagsForResource$ = [
|
|
409
397
|
9,
|
|
410
398
|
n0,
|
|
411
399
|
_LTFR,
|
|
412
400
|
{ [_h]: ["POST", "/ListTagsForResource", 200] },
|
|
413
|
-
() => ListTagsForResourceRequest
|
|
414
|
-
() => ListTagsForResourceResponse
|
|
401
|
+
() => ListTagsForResourceRequest$,
|
|
402
|
+
() => ListTagsForResourceResponse$,
|
|
415
403
|
];
|
|
416
|
-
export var ReturnSavingsPlan = [
|
|
404
|
+
export var ReturnSavingsPlan$ = [
|
|
417
405
|
9,
|
|
418
406
|
n0,
|
|
419
407
|
_RSP,
|
|
420
408
|
{ [_h]: ["POST", "/ReturnSavingsPlan", 200] },
|
|
421
|
-
() => ReturnSavingsPlanRequest
|
|
422
|
-
() => ReturnSavingsPlanResponse
|
|
409
|
+
() => ReturnSavingsPlanRequest$,
|
|
410
|
+
() => ReturnSavingsPlanResponse$,
|
|
423
411
|
];
|
|
424
|
-
export var TagResource = [
|
|
412
|
+
export var TagResource$ = [
|
|
425
413
|
9,
|
|
426
414
|
n0,
|
|
427
415
|
_TR,
|
|
428
416
|
{ [_h]: ["POST", "/TagResource", 200] },
|
|
429
|
-
() => TagResourceRequest
|
|
430
|
-
() => TagResourceResponse
|
|
417
|
+
() => TagResourceRequest$,
|
|
418
|
+
() => TagResourceResponse$,
|
|
431
419
|
];
|
|
432
|
-
export var UntagResource = [
|
|
420
|
+
export var UntagResource$ = [
|
|
433
421
|
9,
|
|
434
422
|
n0,
|
|
435
423
|
_UR,
|
|
436
424
|
{ [_h]: ["POST", "/UntagResource", 200] },
|
|
437
|
-
() => UntagResourceRequest
|
|
438
|
-
() => UntagResourceResponse
|
|
425
|
+
() => UntagResourceRequest$,
|
|
426
|
+
() => UntagResourceResponse$,
|
|
439
427
|
];
|
|
@@ -5,7 +5,7 @@ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/m
|
|
|
5
5
|
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
6
|
import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
7
|
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
|
|
8
|
-
import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type
|
|
8
|
+
import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import { CreateSavingsPlanCommandInput, CreateSavingsPlanCommandOutput } from "./commands/CreateSavingsPlanCommand";
|
|
11
11
|
import { DeleteQueuedSavingsPlanCommandInput, DeleteQueuedSavingsPlanCommandOutput } from "./commands/DeleteQueuedSavingsPlanCommand";
|
|
@@ -151,15 +151,6 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
151
151
|
* Optional extensions
|
|
152
152
|
*/
|
|
153
153
|
extensions?: RuntimeExtension[];
|
|
154
|
-
/**
|
|
155
|
-
* The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
|
|
156
|
-
* may be overridden. A default will always be set by the client.
|
|
157
|
-
* Available options depend on the service's supported protocols and will not be validated by
|
|
158
|
-
* the client.
|
|
159
|
-
* @alpha
|
|
160
|
-
*
|
|
161
|
-
*/
|
|
162
|
-
protocol?: ClientProtocol<HttpRequest, HttpResponse>;
|
|
163
154
|
/**
|
|
164
155
|
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
165
156
|
*/
|
package/dist-types/index.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
12
12
|
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
13
13
|
export type { SavingsplansExtensionConfiguration } from "./extensionConfiguration";
|
|
14
14
|
export * from "./commands";
|
|
15
|
+
export * from "./schemas/schemas_0";
|
|
15
16
|
export * from "./models/enums";
|
|
16
17
|
export * from "./models/errors";
|
|
17
18
|
export type * from "./models/models_0";
|
|
@@ -17,8 +17,13 @@ export declare const getRuntimeConfig: (config: SavingsplansClientConfig) => {
|
|
|
17
17
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
18
18
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
19
19
|
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
20
|
-
apiVersion: string;
|
|
21
20
|
cacheMiddleware?: boolean | undefined;
|
|
21
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
22
|
+
protocolSettings: {
|
|
23
|
+
defaultNamespace?: string;
|
|
24
|
+
[setting: string]: unknown;
|
|
25
|
+
};
|
|
26
|
+
apiVersion: string;
|
|
22
27
|
urlParser: import("@smithy/types").UrlParser;
|
|
23
28
|
base64Decoder: import("@smithy/types").Decoder;
|
|
24
29
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -29,7 +34,6 @@ export declare const getRuntimeConfig: (config: SavingsplansClientConfig) => {
|
|
|
29
34
|
profile?: string;
|
|
30
35
|
logger: import("@smithy/types").Logger;
|
|
31
36
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
32
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
33
37
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
34
38
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
35
39
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
@@ -19,8 +19,13 @@ export declare const getRuntimeConfig: (config: SavingsplansClientConfig) => {
|
|
|
19
19
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
20
20
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
21
21
|
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
22
|
-
apiVersion: string;
|
|
23
22
|
cacheMiddleware?: boolean | undefined;
|
|
23
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
24
|
+
protocolSettings: {
|
|
25
|
+
defaultNamespace?: string;
|
|
26
|
+
[setting: string]: unknown;
|
|
27
|
+
};
|
|
28
|
+
apiVersion: string;
|
|
24
29
|
urlParser: import("@smithy/types").UrlParser;
|
|
25
30
|
base64Decoder: import("@smithy/types").Decoder;
|
|
26
31
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -31,7 +36,6 @@ export declare const getRuntimeConfig: (config: SavingsplansClientConfig) => {
|
|
|
31
36
|
profile?: string;
|
|
32
37
|
logger: import("@smithy/types").Logger;
|
|
33
38
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
34
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
35
39
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
36
40
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
37
41
|
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
@@ -6,8 +6,13 @@ export declare const getRuntimeConfig: (config: SavingsplansClientConfig) => {
|
|
|
6
6
|
runtime: string;
|
|
7
7
|
sha256: import("@smithy/types").HashConstructor;
|
|
8
8
|
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
9
|
-
apiVersion: string;
|
|
10
9
|
cacheMiddleware?: boolean;
|
|
10
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
11
|
+
protocolSettings: {
|
|
12
|
+
defaultNamespace?: string;
|
|
13
|
+
[setting: string]: unknown;
|
|
14
|
+
};
|
|
15
|
+
apiVersion: string;
|
|
11
16
|
urlParser: import("@smithy/types").UrlParser;
|
|
12
17
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
13
18
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -27,7 +32,6 @@ export declare const getRuntimeConfig: (config: SavingsplansClientConfig) => {
|
|
|
27
32
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
33
|
logger: import("@smithy/types").Logger;
|
|
29
34
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
30
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
31
35
|
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
32
36
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
33
37
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|