@aws-sdk/client-savingsplans 3.121.0 → 3.127.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/CHANGELOG.md +8 -0
- package/dist-cjs/protocols/Aws_restJson1.js +59 -92
- package/dist-es/protocols/Aws_restJson1.js +34 -67
- package/package.json +26 -26
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.127.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.126.0...v3.127.0) (2022-07-11)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-savingsplans
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [3.121.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.120.0...v3.121.0) (2022-06-30)
|
|
7
15
|
|
|
8
16
|
|
|
@@ -16,14 +16,11 @@ const serializeAws_restJson1CreateSavingsPlanCommand = async (input, context) =>
|
|
|
16
16
|
let body;
|
|
17
17
|
body = JSON.stringify({
|
|
18
18
|
clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
19
|
-
...(input.commitment
|
|
20
|
-
...(input.purchaseTime
|
|
21
|
-
|
|
22
|
-
...(input.
|
|
23
|
-
|
|
24
|
-
...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
|
|
25
|
-
...(input.upfrontPaymentAmount !== undefined &&
|
|
26
|
-
input.upfrontPaymentAmount !== null && { upfrontPaymentAmount: input.upfrontPaymentAmount }),
|
|
19
|
+
...(input.commitment != null && { commitment: input.commitment }),
|
|
20
|
+
...(input.purchaseTime != null && { purchaseTime: Math.round(input.purchaseTime.getTime() / 1000) }),
|
|
21
|
+
...(input.savingsPlanOfferingId != null && { savingsPlanOfferingId: input.savingsPlanOfferingId }),
|
|
22
|
+
...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
|
|
23
|
+
...(input.upfrontPaymentAmount != null && { upfrontPaymentAmount: input.upfrontPaymentAmount }),
|
|
27
24
|
});
|
|
28
25
|
return new protocol_http_1.HttpRequest({
|
|
29
26
|
protocol,
|
|
@@ -44,7 +41,7 @@ const serializeAws_restJson1DeleteQueuedSavingsPlanCommand = async (input, conte
|
|
|
44
41
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/DeleteQueuedSavingsPlan";
|
|
45
42
|
let body;
|
|
46
43
|
body = JSON.stringify({
|
|
47
|
-
...(input.savingsPlanId
|
|
44
|
+
...(input.savingsPlanId != null && { savingsPlanId: input.savingsPlanId }),
|
|
48
45
|
});
|
|
49
46
|
return new protocol_http_1.HttpRequest({
|
|
50
47
|
protocol,
|
|
@@ -65,11 +62,10 @@ const serializeAws_restJson1DescribeSavingsPlanRatesCommand = async (input, cont
|
|
|
65
62
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/DescribeSavingsPlanRates";
|
|
66
63
|
let body;
|
|
67
64
|
body = JSON.stringify({
|
|
68
|
-
...(input.filters
|
|
69
|
-
|
|
70
|
-
...(input.
|
|
71
|
-
...(input.
|
|
72
|
-
...(input.savingsPlanId !== undefined && input.savingsPlanId !== null && { savingsPlanId: input.savingsPlanId }),
|
|
65
|
+
...(input.filters != null && { filters: serializeAws_restJson1SavingsPlanRateFilterList(input.filters, context) }),
|
|
66
|
+
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
67
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
68
|
+
...(input.savingsPlanId != null && { savingsPlanId: input.savingsPlanId }),
|
|
73
69
|
});
|
|
74
70
|
return new protocol_http_1.HttpRequest({
|
|
75
71
|
protocol,
|
|
@@ -90,20 +86,16 @@ const serializeAws_restJson1DescribeSavingsPlansCommand = async (input, context)
|
|
|
90
86
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/DescribeSavingsPlans";
|
|
91
87
|
let body;
|
|
92
88
|
body = JSON.stringify({
|
|
93
|
-
...(input.filters
|
|
94
|
-
|
|
95
|
-
...(input.
|
|
96
|
-
...(input.
|
|
97
|
-
...(input.savingsPlanArns !== undefined &&
|
|
98
|
-
input.savingsPlanArns !== null && {
|
|
89
|
+
...(input.filters != null && { filters: serializeAws_restJson1SavingsPlanFilterList(input.filters, context) }),
|
|
90
|
+
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
91
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
92
|
+
...(input.savingsPlanArns != null && {
|
|
99
93
|
savingsPlanArns: serializeAws_restJson1SavingsPlanArnList(input.savingsPlanArns, context),
|
|
100
94
|
}),
|
|
101
|
-
...(input.savingsPlanIds
|
|
102
|
-
input.savingsPlanIds !== null && {
|
|
95
|
+
...(input.savingsPlanIds != null && {
|
|
103
96
|
savingsPlanIds: serializeAws_restJson1SavingsPlanIdList(input.savingsPlanIds, context),
|
|
104
97
|
}),
|
|
105
|
-
...(input.states
|
|
106
|
-
input.states !== null && { states: serializeAws_restJson1SavingsPlanStateList(input.states, context) }),
|
|
98
|
+
...(input.states != null && { states: serializeAws_restJson1SavingsPlanStateList(input.states, context) }),
|
|
107
99
|
});
|
|
108
100
|
return new protocol_http_1.HttpRequest({
|
|
109
101
|
protocol,
|
|
@@ -124,38 +116,30 @@ const serializeAws_restJson1DescribeSavingsPlansOfferingRatesCommand = async (in
|
|
|
124
116
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/DescribeSavingsPlansOfferingRates";
|
|
125
117
|
let body;
|
|
126
118
|
body = JSON.stringify({
|
|
127
|
-
...(input.filters
|
|
128
|
-
input.filters !== null && {
|
|
119
|
+
...(input.filters != null && {
|
|
129
120
|
filters: serializeAws_restJson1SavingsPlanOfferingRateFiltersList(input.filters, context),
|
|
130
121
|
}),
|
|
131
|
-
...(input.maxResults
|
|
132
|
-
...(input.nextToken
|
|
133
|
-
...(input.operations
|
|
134
|
-
input.operations !== null && {
|
|
122
|
+
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
123
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
124
|
+
...(input.operations != null && {
|
|
135
125
|
operations: serializeAws_restJson1SavingsPlanRateOperationList(input.operations, context),
|
|
136
126
|
}),
|
|
137
|
-
...(input.products
|
|
138
|
-
input.products !== null && {
|
|
127
|
+
...(input.products != null && {
|
|
139
128
|
products: serializeAws_restJson1SavingsPlanProductTypeList(input.products, context),
|
|
140
129
|
}),
|
|
141
|
-
...(input.savingsPlanOfferingIds
|
|
142
|
-
input.savingsPlanOfferingIds !== null && {
|
|
130
|
+
...(input.savingsPlanOfferingIds != null && {
|
|
143
131
|
savingsPlanOfferingIds: serializeAws_restJson1UUIDs(input.savingsPlanOfferingIds, context),
|
|
144
132
|
}),
|
|
145
|
-
...(input.savingsPlanPaymentOptions
|
|
146
|
-
input.savingsPlanPaymentOptions !== null && {
|
|
133
|
+
...(input.savingsPlanPaymentOptions != null && {
|
|
147
134
|
savingsPlanPaymentOptions: serializeAws_restJson1SavingsPlanPaymentOptionList(input.savingsPlanPaymentOptions, context),
|
|
148
135
|
}),
|
|
149
|
-
...(input.savingsPlanTypes
|
|
150
|
-
input.savingsPlanTypes !== null && {
|
|
136
|
+
...(input.savingsPlanTypes != null && {
|
|
151
137
|
savingsPlanTypes: serializeAws_restJson1SavingsPlanTypeList(input.savingsPlanTypes, context),
|
|
152
138
|
}),
|
|
153
|
-
...(input.serviceCodes
|
|
154
|
-
input.serviceCodes !== null && {
|
|
139
|
+
...(input.serviceCodes != null && {
|
|
155
140
|
serviceCodes: serializeAws_restJson1SavingsPlanRateServiceCodeList(input.serviceCodes, context),
|
|
156
141
|
}),
|
|
157
|
-
...(input.usageTypes
|
|
158
|
-
input.usageTypes !== null && {
|
|
142
|
+
...(input.usageTypes != null && {
|
|
159
143
|
usageTypes: serializeAws_restJson1SavingsPlanRateUsageTypeList(input.usageTypes, context),
|
|
160
144
|
}),
|
|
161
145
|
});
|
|
@@ -178,39 +162,29 @@ const serializeAws_restJson1DescribeSavingsPlansOfferingsCommand = async (input,
|
|
|
178
162
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/DescribeSavingsPlansOfferings";
|
|
179
163
|
let body;
|
|
180
164
|
body = JSON.stringify({
|
|
181
|
-
...(input.currencies
|
|
182
|
-
|
|
183
|
-
...(input.descriptions !== undefined &&
|
|
184
|
-
input.descriptions !== null && {
|
|
165
|
+
...(input.currencies != null && { currencies: serializeAws_restJson1CurrencyList(input.currencies, context) }),
|
|
166
|
+
...(input.descriptions != null && {
|
|
185
167
|
descriptions: serializeAws_restJson1SavingsPlanDescriptionsList(input.descriptions, context),
|
|
186
168
|
}),
|
|
187
|
-
...(input.durations
|
|
188
|
-
|
|
189
|
-
...(input.filters !== undefined &&
|
|
190
|
-
input.filters !== null && {
|
|
169
|
+
...(input.durations != null && { durations: serializeAws_restJson1DurationsList(input.durations, context) }),
|
|
170
|
+
...(input.filters != null && {
|
|
191
171
|
filters: serializeAws_restJson1SavingsPlanOfferingFiltersList(input.filters, context),
|
|
192
172
|
}),
|
|
193
|
-
...(input.maxResults
|
|
194
|
-
...(input.nextToken
|
|
195
|
-
...(input.offeringIds
|
|
196
|
-
|
|
197
|
-
...(input.operations !== undefined &&
|
|
198
|
-
input.operations !== null && {
|
|
173
|
+
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
174
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
175
|
+
...(input.offeringIds != null && { offeringIds: serializeAws_restJson1UUIDs(input.offeringIds, context) }),
|
|
176
|
+
...(input.operations != null && {
|
|
199
177
|
operations: serializeAws_restJson1SavingsPlanOperationList(input.operations, context),
|
|
200
178
|
}),
|
|
201
|
-
...(input.paymentOptions
|
|
202
|
-
input.paymentOptions !== null && {
|
|
179
|
+
...(input.paymentOptions != null && {
|
|
203
180
|
paymentOptions: serializeAws_restJson1SavingsPlanPaymentOptionList(input.paymentOptions, context),
|
|
204
181
|
}),
|
|
205
|
-
...(input.planTypes
|
|
206
|
-
|
|
207
|
-
...(input.
|
|
208
|
-
...(input.serviceCodes !== undefined &&
|
|
209
|
-
input.serviceCodes !== null && {
|
|
182
|
+
...(input.planTypes != null && { planTypes: serializeAws_restJson1SavingsPlanTypeList(input.planTypes, context) }),
|
|
183
|
+
...(input.productType != null && { productType: input.productType }),
|
|
184
|
+
...(input.serviceCodes != null && {
|
|
210
185
|
serviceCodes: serializeAws_restJson1SavingsPlanServiceCodeList(input.serviceCodes, context),
|
|
211
186
|
}),
|
|
212
|
-
...(input.usageTypes
|
|
213
|
-
input.usageTypes !== null && {
|
|
187
|
+
...(input.usageTypes != null && {
|
|
214
188
|
usageTypes: serializeAws_restJson1SavingsPlanUsageTypeList(input.usageTypes, context),
|
|
215
189
|
}),
|
|
216
190
|
});
|
|
@@ -233,7 +207,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
|
|
|
233
207
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/ListTagsForResource";
|
|
234
208
|
let body;
|
|
235
209
|
body = JSON.stringify({
|
|
236
|
-
...(input.resourceArn
|
|
210
|
+
...(input.resourceArn != null && { resourceArn: input.resourceArn }),
|
|
237
211
|
});
|
|
238
212
|
return new protocol_http_1.HttpRequest({
|
|
239
213
|
protocol,
|
|
@@ -254,8 +228,8 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
|
|
|
254
228
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/TagResource";
|
|
255
229
|
let body;
|
|
256
230
|
body = JSON.stringify({
|
|
257
|
-
...(input.resourceArn
|
|
258
|
-
...(input.tags
|
|
231
|
+
...(input.resourceArn != null && { resourceArn: input.resourceArn }),
|
|
232
|
+
...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
|
|
259
233
|
});
|
|
260
234
|
return new protocol_http_1.HttpRequest({
|
|
261
235
|
protocol,
|
|
@@ -276,9 +250,8 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
|
|
|
276
250
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/UntagResource";
|
|
277
251
|
let body;
|
|
278
252
|
body = JSON.stringify({
|
|
279
|
-
...(input.resourceArn
|
|
280
|
-
...(input.tagKeys
|
|
281
|
-
input.tagKeys !== null && { tagKeys: serializeAws_restJson1TagKeyList(input.tagKeys, context) }),
|
|
253
|
+
...(input.resourceArn != null && { resourceArn: input.resourceArn }),
|
|
254
|
+
...(input.tagKeys != null && { tagKeys: serializeAws_restJson1TagKeyList(input.tagKeys, context) }),
|
|
282
255
|
});
|
|
283
256
|
return new protocol_http_1.HttpRequest({
|
|
284
257
|
protocol,
|
|
@@ -802,9 +775,8 @@ const serializeAws_restJson1SavingsPlanDescriptionsList = (input, context) => {
|
|
|
802
775
|
};
|
|
803
776
|
const serializeAws_restJson1SavingsPlanFilter = (input, context) => {
|
|
804
777
|
return {
|
|
805
|
-
...(input.name
|
|
806
|
-
...(input.values
|
|
807
|
-
input.values !== null && { values: serializeAws_restJson1ListOfStrings(input.values, context) }),
|
|
778
|
+
...(input.name != null && { name: input.name }),
|
|
779
|
+
...(input.values != null && { values: serializeAws_restJson1ListOfStrings(input.values, context) }),
|
|
808
780
|
};
|
|
809
781
|
};
|
|
810
782
|
const serializeAws_restJson1SavingsPlanFilterList = (input, context) => {
|
|
@@ -829,9 +801,8 @@ const serializeAws_restJson1SavingsPlanIdList = (input, context) => {
|
|
|
829
801
|
};
|
|
830
802
|
const serializeAws_restJson1SavingsPlanOfferingFilterElement = (input, context) => {
|
|
831
803
|
return {
|
|
832
|
-
...(input.name
|
|
833
|
-
...(input.values
|
|
834
|
-
input.values !== null && { values: serializeAws_restJson1FilterValuesList(input.values, context) }),
|
|
804
|
+
...(input.name != null && { name: input.name }),
|
|
805
|
+
...(input.values != null && { values: serializeAws_restJson1FilterValuesList(input.values, context) }),
|
|
835
806
|
};
|
|
836
807
|
};
|
|
837
808
|
const serializeAws_restJson1SavingsPlanOfferingFiltersList = (input, context) => {
|
|
@@ -846,9 +817,8 @@ const serializeAws_restJson1SavingsPlanOfferingFiltersList = (input, context) =>
|
|
|
846
817
|
};
|
|
847
818
|
const serializeAws_restJson1SavingsPlanOfferingRateFilterElement = (input, context) => {
|
|
848
819
|
return {
|
|
849
|
-
...(input.name
|
|
850
|
-
...(input.values
|
|
851
|
-
input.values !== null && { values: serializeAws_restJson1FilterValuesList(input.values, context) }),
|
|
820
|
+
...(input.name != null && { name: input.name }),
|
|
821
|
+
...(input.values != null && { values: serializeAws_restJson1FilterValuesList(input.values, context) }),
|
|
852
822
|
};
|
|
853
823
|
};
|
|
854
824
|
const serializeAws_restJson1SavingsPlanOfferingRateFiltersList = (input, context) => {
|
|
@@ -893,9 +863,8 @@ const serializeAws_restJson1SavingsPlanProductTypeList = (input, context) => {
|
|
|
893
863
|
};
|
|
894
864
|
const serializeAws_restJson1SavingsPlanRateFilter = (input, context) => {
|
|
895
865
|
return {
|
|
896
|
-
...(input.name
|
|
897
|
-
...(input.values
|
|
898
|
-
input.values !== null && { values: serializeAws_restJson1ListOfStrings(input.values, context) }),
|
|
866
|
+
...(input.name != null && { name: input.name }),
|
|
867
|
+
...(input.values != null && { values: serializeAws_restJson1ListOfStrings(input.values, context) }),
|
|
899
868
|
};
|
|
900
869
|
};
|
|
901
870
|
const serializeAws_restJson1SavingsPlanRateFilterList = (input, context) => {
|
|
@@ -1028,7 +997,7 @@ const deserializeAws_restJson1SavingsPlan = (output, context) => {
|
|
|
1028
997
|
end: (0, smithy_client_1.expectString)(output.end),
|
|
1029
998
|
offeringId: (0, smithy_client_1.expectString)(output.offeringId),
|
|
1030
999
|
paymentOption: (0, smithy_client_1.expectString)(output.paymentOption),
|
|
1031
|
-
productTypes: output.productTypes
|
|
1000
|
+
productTypes: output.productTypes != null
|
|
1032
1001
|
? deserializeAws_restJson1SavingsPlanProductTypeList(output.productTypes, context)
|
|
1033
1002
|
: undefined,
|
|
1034
1003
|
recurringPaymentAmount: (0, smithy_client_1.expectString)(output.recurringPaymentAmount),
|
|
@@ -1038,9 +1007,7 @@ const deserializeAws_restJson1SavingsPlan = (output, context) => {
|
|
|
1038
1007
|
savingsPlanType: (0, smithy_client_1.expectString)(output.savingsPlanType),
|
|
1039
1008
|
start: (0, smithy_client_1.expectString)(output.start),
|
|
1040
1009
|
state: (0, smithy_client_1.expectString)(output.state),
|
|
1041
|
-
tags: output.tags
|
|
1042
|
-
? deserializeAws_restJson1TagMap(output.tags, context)
|
|
1043
|
-
: undefined,
|
|
1010
|
+
tags: output.tags != null ? deserializeAws_restJson1TagMap(output.tags, context) : undefined,
|
|
1044
1011
|
termDurationInSeconds: (0, smithy_client_1.expectLong)(output.termDurationInSeconds),
|
|
1045
1012
|
upfrontPaymentAmount: (0, smithy_client_1.expectString)(output.upfrontPaymentAmount),
|
|
1046
1013
|
};
|
|
@@ -1065,10 +1032,10 @@ const deserializeAws_restJson1SavingsPlanOffering = (output, context) => {
|
|
|
1065
1032
|
operation: (0, smithy_client_1.expectString)(output.operation),
|
|
1066
1033
|
paymentOption: (0, smithy_client_1.expectString)(output.paymentOption),
|
|
1067
1034
|
planType: (0, smithy_client_1.expectString)(output.planType),
|
|
1068
|
-
productTypes: output.productTypes
|
|
1035
|
+
productTypes: output.productTypes != null
|
|
1069
1036
|
? deserializeAws_restJson1SavingsPlanProductTypeList(output.productTypes, context)
|
|
1070
1037
|
: undefined,
|
|
1071
|
-
properties: output.properties
|
|
1038
|
+
properties: output.properties != null
|
|
1072
1039
|
? deserializeAws_restJson1SavingsPlanOfferingPropertyList(output.properties, context)
|
|
1073
1040
|
: undefined,
|
|
1074
1041
|
serviceCode: (0, smithy_client_1.expectString)(output.serviceCode),
|
|
@@ -1096,11 +1063,11 @@ const deserializeAws_restJson1SavingsPlanOfferingRate = (output, context) => {
|
|
|
1096
1063
|
return {
|
|
1097
1064
|
operation: (0, smithy_client_1.expectString)(output.operation),
|
|
1098
1065
|
productType: (0, smithy_client_1.expectString)(output.productType),
|
|
1099
|
-
properties: output.properties
|
|
1066
|
+
properties: output.properties != null
|
|
1100
1067
|
? deserializeAws_restJson1SavingsPlanOfferingRatePropertyList(output.properties, context)
|
|
1101
1068
|
: undefined,
|
|
1102
1069
|
rate: (0, smithy_client_1.expectString)(output.rate),
|
|
1103
|
-
savingsPlanOffering: output.savingsPlanOffering
|
|
1070
|
+
savingsPlanOffering: output.savingsPlanOffering != null
|
|
1104
1071
|
? deserializeAws_restJson1ParentSavingsPlanOffering(output.savingsPlanOffering, context)
|
|
1105
1072
|
: undefined,
|
|
1106
1073
|
serviceCode: (0, smithy_client_1.expectString)(output.serviceCode),
|
|
@@ -1163,7 +1130,7 @@ const deserializeAws_restJson1SavingsPlanRate = (output, context) => {
|
|
|
1163
1130
|
currency: (0, smithy_client_1.expectString)(output.currency),
|
|
1164
1131
|
operation: (0, smithy_client_1.expectString)(output.operation),
|
|
1165
1132
|
productType: (0, smithy_client_1.expectString)(output.productType),
|
|
1166
|
-
properties: output.properties
|
|
1133
|
+
properties: output.properties != null
|
|
1167
1134
|
? deserializeAws_restJson1SavingsPlanRatePropertyList(output.properties, context)
|
|
1168
1135
|
: undefined,
|
|
1169
1136
|
rate: (0, smithy_client_1.expectString)(output.rate),
|
|
@@ -16,10 +16,7 @@ export var serializeAws_restJson1CreateSavingsPlanCommand = function (input, con
|
|
|
16
16
|
"content-type": "application/json",
|
|
17
17
|
};
|
|
18
18
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/CreateSavingsPlan";
|
|
19
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({ clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.commitment
|
|
20
|
-
input.purchaseTime !== null && { purchaseTime: Math.round(input.purchaseTime.getTime() / 1000) })), (input.savingsPlanOfferingId !== undefined &&
|
|
21
|
-
input.savingsPlanOfferingId !== null && { savingsPlanOfferingId: input.savingsPlanOfferingId })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_restJson1TagMap(input.tags, context) })), (input.upfrontPaymentAmount !== undefined &&
|
|
22
|
-
input.upfrontPaymentAmount !== null && { upfrontPaymentAmount: input.upfrontPaymentAmount })));
|
|
19
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({ clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.commitment != null && { commitment: input.commitment })), (input.purchaseTime != null && { purchaseTime: Math.round(input.purchaseTime.getTime() / 1000) })), (input.savingsPlanOfferingId != null && { savingsPlanOfferingId: input.savingsPlanOfferingId })), (input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) })), (input.upfrontPaymentAmount != null && { upfrontPaymentAmount: input.upfrontPaymentAmount })));
|
|
23
20
|
return [2, new __HttpRequest({
|
|
24
21
|
protocol: protocol,
|
|
25
22
|
hostname: hostname,
|
|
@@ -43,7 +40,7 @@ export var serializeAws_restJson1DeleteQueuedSavingsPlanCommand = function (inpu
|
|
|
43
40
|
"content-type": "application/json",
|
|
44
41
|
};
|
|
45
42
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/DeleteQueuedSavingsPlan";
|
|
46
|
-
body = JSON.stringify(__assign({}, (input.savingsPlanId
|
|
43
|
+
body = JSON.stringify(__assign({}, (input.savingsPlanId != null && { savingsPlanId: input.savingsPlanId })));
|
|
47
44
|
return [2, new __HttpRequest({
|
|
48
45
|
protocol: protocol,
|
|
49
46
|
hostname: hostname,
|
|
@@ -67,8 +64,7 @@ export var serializeAws_restJson1DescribeSavingsPlanRatesCommand = function (inp
|
|
|
67
64
|
"content-type": "application/json",
|
|
68
65
|
};
|
|
69
66
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/DescribeSavingsPlanRates";
|
|
70
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.filters
|
|
71
|
-
input.filters !== null && { filters: serializeAws_restJson1SavingsPlanRateFilterList(input.filters, context) })), (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })), (input.savingsPlanId !== undefined && input.savingsPlanId !== null && { savingsPlanId: input.savingsPlanId })));
|
|
67
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.filters != null && { filters: serializeAws_restJson1SavingsPlanRateFilterList(input.filters, context) })), (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken })), (input.savingsPlanId != null && { savingsPlanId: input.savingsPlanId })));
|
|
72
68
|
return [2, new __HttpRequest({
|
|
73
69
|
protocol: protocol,
|
|
74
70
|
hostname: hostname,
|
|
@@ -92,15 +88,11 @@ export var serializeAws_restJson1DescribeSavingsPlansCommand = function (input,
|
|
|
92
88
|
"content-type": "application/json",
|
|
93
89
|
};
|
|
94
90
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/DescribeSavingsPlans";
|
|
95
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.filters
|
|
96
|
-
input.filters !== null && { filters: serializeAws_restJson1SavingsPlanFilterList(input.filters, context) })), (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })), (input.savingsPlanArns !== undefined &&
|
|
97
|
-
input.savingsPlanArns !== null && {
|
|
91
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.filters != null && { filters: serializeAws_restJson1SavingsPlanFilterList(input.filters, context) })), (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken })), (input.savingsPlanArns != null && {
|
|
98
92
|
savingsPlanArns: serializeAws_restJson1SavingsPlanArnList(input.savingsPlanArns, context),
|
|
99
|
-
})), (input.savingsPlanIds
|
|
100
|
-
input.savingsPlanIds !== null && {
|
|
93
|
+
})), (input.savingsPlanIds != null && {
|
|
101
94
|
savingsPlanIds: serializeAws_restJson1SavingsPlanIdList(input.savingsPlanIds, context),
|
|
102
|
-
})), (input.states
|
|
103
|
-
input.states !== null && { states: serializeAws_restJson1SavingsPlanStateList(input.states, context) })));
|
|
95
|
+
})), (input.states != null && { states: serializeAws_restJson1SavingsPlanStateList(input.states, context) })));
|
|
104
96
|
return [2, new __HttpRequest({
|
|
105
97
|
protocol: protocol,
|
|
106
98
|
hostname: hostname,
|
|
@@ -124,29 +116,21 @@ export var serializeAws_restJson1DescribeSavingsPlansOfferingRatesCommand = func
|
|
|
124
116
|
"content-type": "application/json",
|
|
125
117
|
};
|
|
126
118
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/DescribeSavingsPlansOfferingRates";
|
|
127
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.filters
|
|
128
|
-
input.filters !== null && {
|
|
119
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.filters != null && {
|
|
129
120
|
filters: serializeAws_restJson1SavingsPlanOfferingRateFiltersList(input.filters, context),
|
|
130
|
-
})), (input.maxResults
|
|
131
|
-
input.operations !== null && {
|
|
121
|
+
})), (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken })), (input.operations != null && {
|
|
132
122
|
operations: serializeAws_restJson1SavingsPlanRateOperationList(input.operations, context),
|
|
133
|
-
})), (input.products
|
|
134
|
-
input.products !== null && {
|
|
123
|
+
})), (input.products != null && {
|
|
135
124
|
products: serializeAws_restJson1SavingsPlanProductTypeList(input.products, context),
|
|
136
|
-
})), (input.savingsPlanOfferingIds
|
|
137
|
-
input.savingsPlanOfferingIds !== null && {
|
|
125
|
+
})), (input.savingsPlanOfferingIds != null && {
|
|
138
126
|
savingsPlanOfferingIds: serializeAws_restJson1UUIDs(input.savingsPlanOfferingIds, context),
|
|
139
|
-
})), (input.savingsPlanPaymentOptions
|
|
140
|
-
input.savingsPlanPaymentOptions !== null && {
|
|
127
|
+
})), (input.savingsPlanPaymentOptions != null && {
|
|
141
128
|
savingsPlanPaymentOptions: serializeAws_restJson1SavingsPlanPaymentOptionList(input.savingsPlanPaymentOptions, context),
|
|
142
|
-
})), (input.savingsPlanTypes
|
|
143
|
-
input.savingsPlanTypes !== null && {
|
|
129
|
+
})), (input.savingsPlanTypes != null && {
|
|
144
130
|
savingsPlanTypes: serializeAws_restJson1SavingsPlanTypeList(input.savingsPlanTypes, context),
|
|
145
|
-
})), (input.serviceCodes
|
|
146
|
-
input.serviceCodes !== null && {
|
|
131
|
+
})), (input.serviceCodes != null && {
|
|
147
132
|
serviceCodes: serializeAws_restJson1SavingsPlanRateServiceCodeList(input.serviceCodes, context),
|
|
148
|
-
})), (input.usageTypes
|
|
149
|
-
input.usageTypes !== null && {
|
|
133
|
+
})), (input.usageTypes != null && {
|
|
150
134
|
usageTypes: serializeAws_restJson1SavingsPlanRateUsageTypeList(input.usageTypes, context),
|
|
151
135
|
})));
|
|
152
136
|
return [2, new __HttpRequest({
|
|
@@ -172,27 +156,17 @@ export var serializeAws_restJson1DescribeSavingsPlansOfferingsCommand = function
|
|
|
172
156
|
"content-type": "application/json",
|
|
173
157
|
};
|
|
174
158
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/DescribeSavingsPlansOfferings";
|
|
175
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.currencies
|
|
176
|
-
input.currencies !== null && { currencies: serializeAws_restJson1CurrencyList(input.currencies, context) })), (input.descriptions !== undefined &&
|
|
177
|
-
input.descriptions !== null && {
|
|
159
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.currencies != null && { currencies: serializeAws_restJson1CurrencyList(input.currencies, context) })), (input.descriptions != null && {
|
|
178
160
|
descriptions: serializeAws_restJson1SavingsPlanDescriptionsList(input.descriptions, context),
|
|
179
|
-
})), (input.durations
|
|
180
|
-
input.durations !== null && { durations: serializeAws_restJson1DurationsList(input.durations, context) })), (input.filters !== undefined &&
|
|
181
|
-
input.filters !== null && {
|
|
161
|
+
})), (input.durations != null && { durations: serializeAws_restJson1DurationsList(input.durations, context) })), (input.filters != null && {
|
|
182
162
|
filters: serializeAws_restJson1SavingsPlanOfferingFiltersList(input.filters, context),
|
|
183
|
-
})), (input.maxResults
|
|
184
|
-
input.offeringIds !== null && { offeringIds: serializeAws_restJson1UUIDs(input.offeringIds, context) })), (input.operations !== undefined &&
|
|
185
|
-
input.operations !== null && {
|
|
163
|
+
})), (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken })), (input.offeringIds != null && { offeringIds: serializeAws_restJson1UUIDs(input.offeringIds, context) })), (input.operations != null && {
|
|
186
164
|
operations: serializeAws_restJson1SavingsPlanOperationList(input.operations, context),
|
|
187
|
-
})), (input.paymentOptions
|
|
188
|
-
input.paymentOptions !== null && {
|
|
165
|
+
})), (input.paymentOptions != null && {
|
|
189
166
|
paymentOptions: serializeAws_restJson1SavingsPlanPaymentOptionList(input.paymentOptions, context),
|
|
190
|
-
})), (input.planTypes
|
|
191
|
-
input.planTypes !== null && { planTypes: serializeAws_restJson1SavingsPlanTypeList(input.planTypes, context) })), (input.productType !== undefined && input.productType !== null && { productType: input.productType })), (input.serviceCodes !== undefined &&
|
|
192
|
-
input.serviceCodes !== null && {
|
|
167
|
+
})), (input.planTypes != null && { planTypes: serializeAws_restJson1SavingsPlanTypeList(input.planTypes, context) })), (input.productType != null && { productType: input.productType })), (input.serviceCodes != null && {
|
|
193
168
|
serviceCodes: serializeAws_restJson1SavingsPlanServiceCodeList(input.serviceCodes, context),
|
|
194
|
-
})), (input.usageTypes
|
|
195
|
-
input.usageTypes !== null && {
|
|
169
|
+
})), (input.usageTypes != null && {
|
|
196
170
|
usageTypes: serializeAws_restJson1SavingsPlanUsageTypeList(input.usageTypes, context),
|
|
197
171
|
})));
|
|
198
172
|
return [2, new __HttpRequest({
|
|
@@ -218,7 +192,7 @@ export var serializeAws_restJson1ListTagsForResourceCommand = function (input, c
|
|
|
218
192
|
"content-type": "application/json",
|
|
219
193
|
};
|
|
220
194
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/ListTagsForResource";
|
|
221
|
-
body = JSON.stringify(__assign({}, (input.resourceArn
|
|
195
|
+
body = JSON.stringify(__assign({}, (input.resourceArn != null && { resourceArn: input.resourceArn })));
|
|
222
196
|
return [2, new __HttpRequest({
|
|
223
197
|
protocol: protocol,
|
|
224
198
|
hostname: hostname,
|
|
@@ -242,7 +216,7 @@ export var serializeAws_restJson1TagResourceCommand = function (input, context)
|
|
|
242
216
|
"content-type": "application/json",
|
|
243
217
|
};
|
|
244
218
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/TagResource";
|
|
245
|
-
body = JSON.stringify(__assign(__assign({}, (input.resourceArn
|
|
219
|
+
body = JSON.stringify(__assign(__assign({}, (input.resourceArn != null && { resourceArn: input.resourceArn })), (input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) })));
|
|
246
220
|
return [2, new __HttpRequest({
|
|
247
221
|
protocol: protocol,
|
|
248
222
|
hostname: hostname,
|
|
@@ -266,8 +240,7 @@ export var serializeAws_restJson1UntagResourceCommand = function (input, context
|
|
|
266
240
|
"content-type": "application/json",
|
|
267
241
|
};
|
|
268
242
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/UntagResource";
|
|
269
|
-
body = JSON.stringify(__assign(__assign({}, (input.resourceArn
|
|
270
|
-
input.tagKeys !== null && { tagKeys: serializeAws_restJson1TagKeyList(input.tagKeys, context) })));
|
|
243
|
+
body = JSON.stringify(__assign(__assign({}, (input.resourceArn != null && { resourceArn: input.resourceArn })), (input.tagKeys != null && { tagKeys: serializeAws_restJson1TagKeyList(input.tagKeys, context) })));
|
|
271
244
|
return [2, new __HttpRequest({
|
|
272
245
|
protocol: protocol,
|
|
273
246
|
hostname: hostname,
|
|
@@ -972,8 +945,7 @@ var serializeAws_restJson1SavingsPlanDescriptionsList = function (input, context
|
|
|
972
945
|
});
|
|
973
946
|
};
|
|
974
947
|
var serializeAws_restJson1SavingsPlanFilter = function (input, context) {
|
|
975
|
-
return __assign(__assign({}, (input.name
|
|
976
|
-
input.values !== null && { values: serializeAws_restJson1ListOfStrings(input.values, context) }));
|
|
948
|
+
return __assign(__assign({}, (input.name != null && { name: input.name })), (input.values != null && { values: serializeAws_restJson1ListOfStrings(input.values, context) }));
|
|
977
949
|
};
|
|
978
950
|
var serializeAws_restJson1SavingsPlanFilterList = function (input, context) {
|
|
979
951
|
return input
|
|
@@ -996,8 +968,7 @@ var serializeAws_restJson1SavingsPlanIdList = function (input, context) {
|
|
|
996
968
|
});
|
|
997
969
|
};
|
|
998
970
|
var serializeAws_restJson1SavingsPlanOfferingFilterElement = function (input, context) {
|
|
999
|
-
return __assign(__assign({}, (input.name
|
|
1000
|
-
input.values !== null && { values: serializeAws_restJson1FilterValuesList(input.values, context) }));
|
|
971
|
+
return __assign(__assign({}, (input.name != null && { name: input.name })), (input.values != null && { values: serializeAws_restJson1FilterValuesList(input.values, context) }));
|
|
1001
972
|
};
|
|
1002
973
|
var serializeAws_restJson1SavingsPlanOfferingFiltersList = function (input, context) {
|
|
1003
974
|
return input
|
|
@@ -1010,8 +981,7 @@ var serializeAws_restJson1SavingsPlanOfferingFiltersList = function (input, cont
|
|
|
1010
981
|
});
|
|
1011
982
|
};
|
|
1012
983
|
var serializeAws_restJson1SavingsPlanOfferingRateFilterElement = function (input, context) {
|
|
1013
|
-
return __assign(__assign({}, (input.name
|
|
1014
|
-
input.values !== null && { values: serializeAws_restJson1FilterValuesList(input.values, context) }));
|
|
984
|
+
return __assign(__assign({}, (input.name != null && { name: input.name })), (input.values != null && { values: serializeAws_restJson1FilterValuesList(input.values, context) }));
|
|
1015
985
|
};
|
|
1016
986
|
var serializeAws_restJson1SavingsPlanOfferingRateFiltersList = function (input, context) {
|
|
1017
987
|
return input
|
|
@@ -1054,8 +1024,7 @@ var serializeAws_restJson1SavingsPlanProductTypeList = function (input, context)
|
|
|
1054
1024
|
});
|
|
1055
1025
|
};
|
|
1056
1026
|
var serializeAws_restJson1SavingsPlanRateFilter = function (input, context) {
|
|
1057
|
-
return __assign(__assign({}, (input.name
|
|
1058
|
-
input.values !== null && { values: serializeAws_restJson1ListOfStrings(input.values, context) }));
|
|
1027
|
+
return __assign(__assign({}, (input.name != null && { name: input.name })), (input.values != null && { values: serializeAws_restJson1ListOfStrings(input.values, context) }));
|
|
1059
1028
|
};
|
|
1060
1029
|
var serializeAws_restJson1SavingsPlanRateFilterList = function (input, context) {
|
|
1061
1030
|
return input
|
|
@@ -1186,7 +1155,7 @@ var deserializeAws_restJson1SavingsPlan = function (output, context) {
|
|
|
1186
1155
|
end: __expectString(output.end),
|
|
1187
1156
|
offeringId: __expectString(output.offeringId),
|
|
1188
1157
|
paymentOption: __expectString(output.paymentOption),
|
|
1189
|
-
productTypes: output.productTypes
|
|
1158
|
+
productTypes: output.productTypes != null
|
|
1190
1159
|
? deserializeAws_restJson1SavingsPlanProductTypeList(output.productTypes, context)
|
|
1191
1160
|
: undefined,
|
|
1192
1161
|
recurringPaymentAmount: __expectString(output.recurringPaymentAmount),
|
|
@@ -1196,9 +1165,7 @@ var deserializeAws_restJson1SavingsPlan = function (output, context) {
|
|
|
1196
1165
|
savingsPlanType: __expectString(output.savingsPlanType),
|
|
1197
1166
|
start: __expectString(output.start),
|
|
1198
1167
|
state: __expectString(output.state),
|
|
1199
|
-
tags: output.tags
|
|
1200
|
-
? deserializeAws_restJson1TagMap(output.tags, context)
|
|
1201
|
-
: undefined,
|
|
1168
|
+
tags: output.tags != null ? deserializeAws_restJson1TagMap(output.tags, context) : undefined,
|
|
1202
1169
|
termDurationInSeconds: __expectLong(output.termDurationInSeconds),
|
|
1203
1170
|
upfrontPaymentAmount: __expectString(output.upfrontPaymentAmount),
|
|
1204
1171
|
};
|
|
@@ -1223,10 +1190,10 @@ var deserializeAws_restJson1SavingsPlanOffering = function (output, context) {
|
|
|
1223
1190
|
operation: __expectString(output.operation),
|
|
1224
1191
|
paymentOption: __expectString(output.paymentOption),
|
|
1225
1192
|
planType: __expectString(output.planType),
|
|
1226
|
-
productTypes: output.productTypes
|
|
1193
|
+
productTypes: output.productTypes != null
|
|
1227
1194
|
? deserializeAws_restJson1SavingsPlanProductTypeList(output.productTypes, context)
|
|
1228
1195
|
: undefined,
|
|
1229
|
-
properties: output.properties
|
|
1196
|
+
properties: output.properties != null
|
|
1230
1197
|
? deserializeAws_restJson1SavingsPlanOfferingPropertyList(output.properties, context)
|
|
1231
1198
|
: undefined,
|
|
1232
1199
|
serviceCode: __expectString(output.serviceCode),
|
|
@@ -1254,11 +1221,11 @@ var deserializeAws_restJson1SavingsPlanOfferingRate = function (output, context)
|
|
|
1254
1221
|
return {
|
|
1255
1222
|
operation: __expectString(output.operation),
|
|
1256
1223
|
productType: __expectString(output.productType),
|
|
1257
|
-
properties: output.properties
|
|
1224
|
+
properties: output.properties != null
|
|
1258
1225
|
? deserializeAws_restJson1SavingsPlanOfferingRatePropertyList(output.properties, context)
|
|
1259
1226
|
: undefined,
|
|
1260
1227
|
rate: __expectString(output.rate),
|
|
1261
|
-
savingsPlanOffering: output.savingsPlanOffering
|
|
1228
|
+
savingsPlanOffering: output.savingsPlanOffering != null
|
|
1262
1229
|
? deserializeAws_restJson1ParentSavingsPlanOffering(output.savingsPlanOffering, context)
|
|
1263
1230
|
: undefined,
|
|
1264
1231
|
serviceCode: __expectString(output.serviceCode),
|
|
@@ -1321,7 +1288,7 @@ var deserializeAws_restJson1SavingsPlanRate = function (output, context) {
|
|
|
1321
1288
|
currency: __expectString(output.currency),
|
|
1322
1289
|
operation: __expectString(output.operation),
|
|
1323
1290
|
productType: __expectString(output.productType),
|
|
1324
|
-
properties: output.properties
|
|
1291
|
+
properties: output.properties != null
|
|
1325
1292
|
? deserializeAws_restJson1SavingsPlanRatePropertyList(output.properties, context)
|
|
1326
1293
|
: undefined,
|
|
1327
1294
|
rate: __expectString(output.rate),
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-savingsplans",
|
|
3
3
|
"description": "AWS SDK for JavaScript Savingsplans Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.127.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",
|
|
@@ -18,35 +18,35 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
31
|
-
"@aws-sdk/middleware-retry": "3.
|
|
32
|
-
"@aws-sdk/middleware-serde": "3.
|
|
33
|
-
"@aws-sdk/middleware-signing": "3.
|
|
34
|
-
"@aws-sdk/middleware-stack": "3.
|
|
35
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
36
|
-
"@aws-sdk/node-config-provider": "3.
|
|
37
|
-
"@aws-sdk/node-http-handler": "3.
|
|
38
|
-
"@aws-sdk/protocol-http": "3.
|
|
39
|
-
"@aws-sdk/smithy-client": "3.
|
|
40
|
-
"@aws-sdk/types": "3.
|
|
41
|
-
"@aws-sdk/url-parser": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.127.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.127.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.127.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.127.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.127.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.127.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.127.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.127.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.127.0",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "3.127.0",
|
|
31
|
+
"@aws-sdk/middleware-retry": "3.127.0",
|
|
32
|
+
"@aws-sdk/middleware-serde": "3.127.0",
|
|
33
|
+
"@aws-sdk/middleware-signing": "3.127.0",
|
|
34
|
+
"@aws-sdk/middleware-stack": "3.127.0",
|
|
35
|
+
"@aws-sdk/middleware-user-agent": "3.127.0",
|
|
36
|
+
"@aws-sdk/node-config-provider": "3.127.0",
|
|
37
|
+
"@aws-sdk/node-http-handler": "3.127.0",
|
|
38
|
+
"@aws-sdk/protocol-http": "3.127.0",
|
|
39
|
+
"@aws-sdk/smithy-client": "3.127.0",
|
|
40
|
+
"@aws-sdk/types": "3.127.0",
|
|
41
|
+
"@aws-sdk/url-parser": "3.127.0",
|
|
42
42
|
"@aws-sdk/util-base64-browser": "3.109.0",
|
|
43
43
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
44
44
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
45
45
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
46
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
47
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
49
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
46
|
+
"@aws-sdk/util-defaults-mode-browser": "3.127.0",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-node": "3.127.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-browser": "3.127.0",
|
|
49
|
+
"@aws-sdk/util-user-agent-node": "3.127.0",
|
|
50
50
|
"@aws-sdk/util-utf8-browser": "3.109.0",
|
|
51
51
|
"@aws-sdk/util-utf8-node": "3.109.0",
|
|
52
52
|
"tslib": "^2.3.1",
|