@aws-sdk/client-savingsplans 3.721.0 → 3.723.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 +81 -60
- package/dist-es/SavingsplansClient.js +1 -0
- package/dist-es/models/models_0.js +8 -8
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
- package/package.json +43 -43
package/dist-cjs/index.js
CHANGED
|
@@ -151,7 +151,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
|
|
|
151
151
|
}, "resolveRuntimeExtensions");
|
|
152
152
|
|
|
153
153
|
// src/SavingsplansClient.ts
|
|
154
|
-
var
|
|
154
|
+
var SavingsplansClient = class extends import_smithy_client.Client {
|
|
155
|
+
static {
|
|
156
|
+
__name(this, "SavingsplansClient");
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* The resolved configuration of SavingsplansClient class. This is resolved and normalized from the {@link SavingsplansClientConfig | constructor configuration interface}.
|
|
160
|
+
*/
|
|
161
|
+
config;
|
|
155
162
|
constructor(...[configuration]) {
|
|
156
163
|
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
157
164
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
@@ -161,7 +168,7 @@ var _SavingsplansClient = class _SavingsplansClient extends import_smithy_client
|
|
|
161
168
|
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
162
169
|
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
163
170
|
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
164
|
-
const _config_8 = resolveRuntimeExtensions(_config_7,
|
|
171
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
165
172
|
super(_config_8);
|
|
166
173
|
this.config = _config_8;
|
|
167
174
|
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
@@ -189,8 +196,6 @@ var _SavingsplansClient = class _SavingsplansClient extends import_smithy_client
|
|
|
189
196
|
super.destroy();
|
|
190
197
|
}
|
|
191
198
|
};
|
|
192
|
-
__name(_SavingsplansClient, "SavingsplansClient");
|
|
193
|
-
var SavingsplansClient = _SavingsplansClient;
|
|
194
199
|
|
|
195
200
|
// src/Savingsplans.ts
|
|
196
201
|
|
|
@@ -208,7 +213,10 @@ var import_uuid = require("uuid");
|
|
|
208
213
|
|
|
209
214
|
// src/models/SavingsplansServiceException.ts
|
|
210
215
|
|
|
211
|
-
var
|
|
216
|
+
var SavingsplansServiceException = class _SavingsplansServiceException extends import_smithy_client.ServiceException {
|
|
217
|
+
static {
|
|
218
|
+
__name(this, "SavingsplansServiceException");
|
|
219
|
+
}
|
|
212
220
|
/**
|
|
213
221
|
* @internal
|
|
214
222
|
*/
|
|
@@ -217,11 +225,14 @@ var _SavingsplansServiceException = class _SavingsplansServiceException extends
|
|
|
217
225
|
Object.setPrototypeOf(this, _SavingsplansServiceException.prototype);
|
|
218
226
|
}
|
|
219
227
|
};
|
|
220
|
-
__name(_SavingsplansServiceException, "SavingsplansServiceException");
|
|
221
|
-
var SavingsplansServiceException = _SavingsplansServiceException;
|
|
222
228
|
|
|
223
229
|
// src/models/models_0.ts
|
|
224
|
-
var
|
|
230
|
+
var InternalServerException = class _InternalServerException extends SavingsplansServiceException {
|
|
231
|
+
static {
|
|
232
|
+
__name(this, "InternalServerException");
|
|
233
|
+
}
|
|
234
|
+
name = "InternalServerException";
|
|
235
|
+
$fault = "server";
|
|
225
236
|
/**
|
|
226
237
|
* @internal
|
|
227
238
|
*/
|
|
@@ -231,14 +242,15 @@ var _InternalServerException = class _InternalServerException extends Savingspla
|
|
|
231
242
|
$fault: "server",
|
|
232
243
|
...opts
|
|
233
244
|
});
|
|
234
|
-
this.name = "InternalServerException";
|
|
235
|
-
this.$fault = "server";
|
|
236
245
|
Object.setPrototypeOf(this, _InternalServerException.prototype);
|
|
237
246
|
}
|
|
238
247
|
};
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
248
|
+
var ResourceNotFoundException = class _ResourceNotFoundException extends SavingsplansServiceException {
|
|
249
|
+
static {
|
|
250
|
+
__name(this, "ResourceNotFoundException");
|
|
251
|
+
}
|
|
252
|
+
name = "ResourceNotFoundException";
|
|
253
|
+
$fault = "client";
|
|
242
254
|
/**
|
|
243
255
|
* @internal
|
|
244
256
|
*/
|
|
@@ -248,14 +260,15 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends Saving
|
|
|
248
260
|
$fault: "client",
|
|
249
261
|
...opts
|
|
250
262
|
});
|
|
251
|
-
this.name = "ResourceNotFoundException";
|
|
252
|
-
this.$fault = "client";
|
|
253
263
|
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
254
264
|
}
|
|
255
265
|
};
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
266
|
+
var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends SavingsplansServiceException {
|
|
267
|
+
static {
|
|
268
|
+
__name(this, "ServiceQuotaExceededException");
|
|
269
|
+
}
|
|
270
|
+
name = "ServiceQuotaExceededException";
|
|
271
|
+
$fault = "client";
|
|
259
272
|
/**
|
|
260
273
|
* @internal
|
|
261
274
|
*/
|
|
@@ -265,14 +278,15 @@ var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extend
|
|
|
265
278
|
$fault: "client",
|
|
266
279
|
...opts
|
|
267
280
|
});
|
|
268
|
-
this.name = "ServiceQuotaExceededException";
|
|
269
|
-
this.$fault = "client";
|
|
270
281
|
Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
|
|
271
282
|
}
|
|
272
283
|
};
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
284
|
+
var ValidationException = class _ValidationException extends SavingsplansServiceException {
|
|
285
|
+
static {
|
|
286
|
+
__name(this, "ValidationException");
|
|
287
|
+
}
|
|
288
|
+
name = "ValidationException";
|
|
289
|
+
$fault = "client";
|
|
276
290
|
/**
|
|
277
291
|
* @internal
|
|
278
292
|
*/
|
|
@@ -282,13 +296,9 @@ var _ValidationException = class _ValidationException extends SavingsplansServic
|
|
|
282
296
|
$fault: "client",
|
|
283
297
|
...opts
|
|
284
298
|
});
|
|
285
|
-
this.name = "ValidationException";
|
|
286
|
-
this.$fault = "client";
|
|
287
299
|
Object.setPrototypeOf(this, _ValidationException.prototype);
|
|
288
300
|
}
|
|
289
301
|
};
|
|
290
|
-
__name(_ValidationException, "ValidationException");
|
|
291
|
-
var ValidationException = _ValidationException;
|
|
292
302
|
var SavingsPlanRateFilterName = {
|
|
293
303
|
INSTANCE_TYPE: "instanceType",
|
|
294
304
|
OPERATION: "operation",
|
|
@@ -786,141 +796,151 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
|
786
796
|
}), "deserializeMetadata");
|
|
787
797
|
|
|
788
798
|
// src/commands/CreateSavingsPlanCommand.ts
|
|
789
|
-
var
|
|
799
|
+
var CreateSavingsPlanCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
790
800
|
return [
|
|
791
801
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
792
802
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
793
803
|
];
|
|
794
804
|
}).s("AWSSavingsPlan", "CreateSavingsPlan", {}).n("SavingsplansClient", "CreateSavingsPlanCommand").f(void 0, void 0).ser(se_CreateSavingsPlanCommand).de(de_CreateSavingsPlanCommand).build() {
|
|
805
|
+
static {
|
|
806
|
+
__name(this, "CreateSavingsPlanCommand");
|
|
807
|
+
}
|
|
795
808
|
};
|
|
796
|
-
__name(_CreateSavingsPlanCommand, "CreateSavingsPlanCommand");
|
|
797
|
-
var CreateSavingsPlanCommand = _CreateSavingsPlanCommand;
|
|
798
809
|
|
|
799
810
|
// src/commands/DeleteQueuedSavingsPlanCommand.ts
|
|
800
811
|
|
|
801
812
|
|
|
802
813
|
|
|
803
|
-
var
|
|
814
|
+
var DeleteQueuedSavingsPlanCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
804
815
|
return [
|
|
805
816
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
806
817
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
807
818
|
];
|
|
808
819
|
}).s("AWSSavingsPlan", "DeleteQueuedSavingsPlan", {}).n("SavingsplansClient", "DeleteQueuedSavingsPlanCommand").f(void 0, void 0).ser(se_DeleteQueuedSavingsPlanCommand).de(de_DeleteQueuedSavingsPlanCommand).build() {
|
|
820
|
+
static {
|
|
821
|
+
__name(this, "DeleteQueuedSavingsPlanCommand");
|
|
822
|
+
}
|
|
809
823
|
};
|
|
810
|
-
__name(_DeleteQueuedSavingsPlanCommand, "DeleteQueuedSavingsPlanCommand");
|
|
811
|
-
var DeleteQueuedSavingsPlanCommand = _DeleteQueuedSavingsPlanCommand;
|
|
812
824
|
|
|
813
825
|
// src/commands/DescribeSavingsPlanRatesCommand.ts
|
|
814
826
|
|
|
815
827
|
|
|
816
828
|
|
|
817
|
-
var
|
|
829
|
+
var DescribeSavingsPlanRatesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
818
830
|
return [
|
|
819
831
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
820
832
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
821
833
|
];
|
|
822
834
|
}).s("AWSSavingsPlan", "DescribeSavingsPlanRates", {}).n("SavingsplansClient", "DescribeSavingsPlanRatesCommand").f(void 0, void 0).ser(se_DescribeSavingsPlanRatesCommand).de(de_DescribeSavingsPlanRatesCommand).build() {
|
|
835
|
+
static {
|
|
836
|
+
__name(this, "DescribeSavingsPlanRatesCommand");
|
|
837
|
+
}
|
|
823
838
|
};
|
|
824
|
-
__name(_DescribeSavingsPlanRatesCommand, "DescribeSavingsPlanRatesCommand");
|
|
825
|
-
var DescribeSavingsPlanRatesCommand = _DescribeSavingsPlanRatesCommand;
|
|
826
839
|
|
|
827
840
|
// src/commands/DescribeSavingsPlansCommand.ts
|
|
828
841
|
|
|
829
842
|
|
|
830
843
|
|
|
831
|
-
var
|
|
844
|
+
var DescribeSavingsPlansCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
832
845
|
return [
|
|
833
846
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
834
847
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
835
848
|
];
|
|
836
849
|
}).s("AWSSavingsPlan", "DescribeSavingsPlans", {}).n("SavingsplansClient", "DescribeSavingsPlansCommand").f(void 0, void 0).ser(se_DescribeSavingsPlansCommand).de(de_DescribeSavingsPlansCommand).build() {
|
|
850
|
+
static {
|
|
851
|
+
__name(this, "DescribeSavingsPlansCommand");
|
|
852
|
+
}
|
|
837
853
|
};
|
|
838
|
-
__name(_DescribeSavingsPlansCommand, "DescribeSavingsPlansCommand");
|
|
839
|
-
var DescribeSavingsPlansCommand = _DescribeSavingsPlansCommand;
|
|
840
854
|
|
|
841
855
|
// src/commands/DescribeSavingsPlansOfferingRatesCommand.ts
|
|
842
856
|
|
|
843
857
|
|
|
844
858
|
|
|
845
|
-
var
|
|
859
|
+
var DescribeSavingsPlansOfferingRatesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
846
860
|
return [
|
|
847
861
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
848
862
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
849
863
|
];
|
|
850
864
|
}).s("AWSSavingsPlan", "DescribeSavingsPlansOfferingRates", {}).n("SavingsplansClient", "DescribeSavingsPlansOfferingRatesCommand").f(void 0, void 0).ser(se_DescribeSavingsPlansOfferingRatesCommand).de(de_DescribeSavingsPlansOfferingRatesCommand).build() {
|
|
865
|
+
static {
|
|
866
|
+
__name(this, "DescribeSavingsPlansOfferingRatesCommand");
|
|
867
|
+
}
|
|
851
868
|
};
|
|
852
|
-
__name(_DescribeSavingsPlansOfferingRatesCommand, "DescribeSavingsPlansOfferingRatesCommand");
|
|
853
|
-
var DescribeSavingsPlansOfferingRatesCommand = _DescribeSavingsPlansOfferingRatesCommand;
|
|
854
869
|
|
|
855
870
|
// src/commands/DescribeSavingsPlansOfferingsCommand.ts
|
|
856
871
|
|
|
857
872
|
|
|
858
873
|
|
|
859
|
-
var
|
|
874
|
+
var DescribeSavingsPlansOfferingsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
860
875
|
return [
|
|
861
876
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
862
877
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
863
878
|
];
|
|
864
879
|
}).s("AWSSavingsPlan", "DescribeSavingsPlansOfferings", {}).n("SavingsplansClient", "DescribeSavingsPlansOfferingsCommand").f(void 0, void 0).ser(se_DescribeSavingsPlansOfferingsCommand).de(de_DescribeSavingsPlansOfferingsCommand).build() {
|
|
880
|
+
static {
|
|
881
|
+
__name(this, "DescribeSavingsPlansOfferingsCommand");
|
|
882
|
+
}
|
|
865
883
|
};
|
|
866
|
-
__name(_DescribeSavingsPlansOfferingsCommand, "DescribeSavingsPlansOfferingsCommand");
|
|
867
|
-
var DescribeSavingsPlansOfferingsCommand = _DescribeSavingsPlansOfferingsCommand;
|
|
868
884
|
|
|
869
885
|
// src/commands/ListTagsForResourceCommand.ts
|
|
870
886
|
|
|
871
887
|
|
|
872
888
|
|
|
873
|
-
var
|
|
889
|
+
var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
874
890
|
return [
|
|
875
891
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
876
892
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
877
893
|
];
|
|
878
894
|
}).s("AWSSavingsPlan", "ListTagsForResource", {}).n("SavingsplansClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
|
|
895
|
+
static {
|
|
896
|
+
__name(this, "ListTagsForResourceCommand");
|
|
897
|
+
}
|
|
879
898
|
};
|
|
880
|
-
__name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
|
|
881
|
-
var ListTagsForResourceCommand = _ListTagsForResourceCommand;
|
|
882
899
|
|
|
883
900
|
// src/commands/ReturnSavingsPlanCommand.ts
|
|
884
901
|
|
|
885
902
|
|
|
886
903
|
|
|
887
|
-
var
|
|
904
|
+
var ReturnSavingsPlanCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
888
905
|
return [
|
|
889
906
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
890
907
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
891
908
|
];
|
|
892
909
|
}).s("AWSSavingsPlan", "ReturnSavingsPlan", {}).n("SavingsplansClient", "ReturnSavingsPlanCommand").f(void 0, void 0).ser(se_ReturnSavingsPlanCommand).de(de_ReturnSavingsPlanCommand).build() {
|
|
910
|
+
static {
|
|
911
|
+
__name(this, "ReturnSavingsPlanCommand");
|
|
912
|
+
}
|
|
893
913
|
};
|
|
894
|
-
__name(_ReturnSavingsPlanCommand, "ReturnSavingsPlanCommand");
|
|
895
|
-
var ReturnSavingsPlanCommand = _ReturnSavingsPlanCommand;
|
|
896
914
|
|
|
897
915
|
// src/commands/TagResourceCommand.ts
|
|
898
916
|
|
|
899
917
|
|
|
900
918
|
|
|
901
|
-
var
|
|
919
|
+
var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
902
920
|
return [
|
|
903
921
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
904
922
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
905
923
|
];
|
|
906
924
|
}).s("AWSSavingsPlan", "TagResource", {}).n("SavingsplansClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
|
|
925
|
+
static {
|
|
926
|
+
__name(this, "TagResourceCommand");
|
|
927
|
+
}
|
|
907
928
|
};
|
|
908
|
-
__name(_TagResourceCommand, "TagResourceCommand");
|
|
909
|
-
var TagResourceCommand = _TagResourceCommand;
|
|
910
929
|
|
|
911
930
|
// src/commands/UntagResourceCommand.ts
|
|
912
931
|
|
|
913
932
|
|
|
914
933
|
|
|
915
|
-
var
|
|
934
|
+
var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
916
935
|
return [
|
|
917
936
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
918
937
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
919
938
|
];
|
|
920
939
|
}).s("AWSSavingsPlan", "UntagResource", {}).n("SavingsplansClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
|
|
940
|
+
static {
|
|
941
|
+
__name(this, "UntagResourceCommand");
|
|
942
|
+
}
|
|
921
943
|
};
|
|
922
|
-
__name(_UntagResourceCommand, "UntagResourceCommand");
|
|
923
|
-
var UntagResourceCommand = _UntagResourceCommand;
|
|
924
944
|
|
|
925
945
|
// src/Savingsplans.ts
|
|
926
946
|
var commands = {
|
|
@@ -935,10 +955,11 @@ var commands = {
|
|
|
935
955
|
TagResourceCommand,
|
|
936
956
|
UntagResourceCommand
|
|
937
957
|
};
|
|
938
|
-
var
|
|
958
|
+
var Savingsplans = class extends SavingsplansClient {
|
|
959
|
+
static {
|
|
960
|
+
__name(this, "Savingsplans");
|
|
961
|
+
}
|
|
939
962
|
};
|
|
940
|
-
__name(_Savingsplans, "Savingsplans");
|
|
941
|
-
var Savingsplans = _Savingsplans;
|
|
942
963
|
(0, import_smithy_client.createAggregatedClient)(commands, Savingsplans);
|
|
943
964
|
// Annotate the CommonJS export names for ESM import in node:
|
|
944
965
|
|
|
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
|
14
14
|
import { resolveRuntimeExtensions } from "./runtimeExtensions";
|
|
15
15
|
export { __Client };
|
|
16
16
|
export class SavingsplansClient extends __Client {
|
|
17
|
+
config;
|
|
17
18
|
constructor(...[configuration]) {
|
|
18
19
|
const _config_0 = __getRuntimeConfig(configuration || {});
|
|
19
20
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import { SavingsplansServiceException as __BaseException } from "./SavingsplansServiceException";
|
|
2
2
|
export class InternalServerException extends __BaseException {
|
|
3
|
+
name = "InternalServerException";
|
|
4
|
+
$fault = "server";
|
|
3
5
|
constructor(opts) {
|
|
4
6
|
super({
|
|
5
7
|
name: "InternalServerException",
|
|
6
8
|
$fault: "server",
|
|
7
9
|
...opts,
|
|
8
10
|
});
|
|
9
|
-
this.name = "InternalServerException";
|
|
10
|
-
this.$fault = "server";
|
|
11
11
|
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
export class ResourceNotFoundException extends __BaseException {
|
|
15
|
+
name = "ResourceNotFoundException";
|
|
16
|
+
$fault = "client";
|
|
15
17
|
constructor(opts) {
|
|
16
18
|
super({
|
|
17
19
|
name: "ResourceNotFoundException",
|
|
18
20
|
$fault: "client",
|
|
19
21
|
...opts,
|
|
20
22
|
});
|
|
21
|
-
this.name = "ResourceNotFoundException";
|
|
22
|
-
this.$fault = "client";
|
|
23
23
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
export class ServiceQuotaExceededException extends __BaseException {
|
|
27
|
+
name = "ServiceQuotaExceededException";
|
|
28
|
+
$fault = "client";
|
|
27
29
|
constructor(opts) {
|
|
28
30
|
super({
|
|
29
31
|
name: "ServiceQuotaExceededException",
|
|
30
32
|
$fault: "client",
|
|
31
33
|
...opts,
|
|
32
34
|
});
|
|
33
|
-
this.name = "ServiceQuotaExceededException";
|
|
34
|
-
this.$fault = "client";
|
|
35
35
|
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
export class ValidationException extends __BaseException {
|
|
39
|
+
name = "ValidationException";
|
|
40
|
+
$fault = "client";
|
|
39
41
|
constructor(opts) {
|
|
40
42
|
super({
|
|
41
43
|
name: "ValidationException",
|
|
42
44
|
$fault: "client",
|
|
43
45
|
...opts,
|
|
44
46
|
});
|
|
45
|
-
this.name = "ValidationException";
|
|
46
|
-
this.$fault = "client";
|
|
47
47
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
48
48
|
}
|
|
49
49
|
}
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: SavingsplansClientConfig) => {
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<any>;
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: SavingsplansClientConfig) => {
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<string>;
|
|
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: SavingsplansClientConfig) => {
|
|
|
22
22
|
region: string | import("@smithy/types").Provider<any>;
|
|
23
23
|
profile?: string | undefined;
|
|
24
24
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
25
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
25
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
26
26
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
27
27
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: SavingsplansClientConfig) => {
|
|
|
31
31
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
32
32
|
userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
|
|
33
33
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
34
|
-
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> | undefined;
|
|
34
|
+
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;
|
|
35
35
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
36
36
|
logger?: import("@smithy/types").Logger | undefined;
|
|
37
37
|
}) => import("@smithy/types").EndpointV2;
|
|
@@ -6,9 +6,11 @@ export declare const getRuntimeConfig: (config: SavingsplansClientConfig) => {
|
|
|
6
6
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
7
|
>;
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
|
-
credentialDefaultProvider:
|
|
10
|
-
input: any
|
|
11
|
-
|
|
9
|
+
credentialDefaultProvider:
|
|
10
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
+
| ((
|
|
12
|
+
_: unknown
|
|
13
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
12
14
|
defaultUserAgentProvider: (
|
|
13
15
|
config?:
|
|
14
16
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
@@ -6,13 +6,15 @@ export declare const getRuntimeConfig: (config: SavingsplansClientConfig) => {
|
|
|
6
6
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
7
|
>;
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
|
-
credentialDefaultProvider:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
9
|
+
credentialDefaultProvider:
|
|
10
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
+
| ((
|
|
12
|
+
init?:
|
|
13
|
+
| import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
14
|
+
| undefined
|
|
15
|
+
) => import("@smithy/types").MemoizedProvider<
|
|
16
|
+
import("@smithy/types").AwsCredentialIdentity
|
|
17
|
+
>);
|
|
16
18
|
defaultUserAgentProvider: (
|
|
17
19
|
config?:
|
|
18
20
|
| import("@aws-sdk/util-user-agent-node").PreviouslyResolved
|
|
@@ -28,9 +28,11 @@ export declare const getRuntimeConfig: (config: SavingsplansClientConfig) => {
|
|
|
28
28
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
29
29
|
| undefined
|
|
30
30
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
31
|
-
credentialDefaultProvider:
|
|
32
|
-
input: any
|
|
33
|
-
|
|
31
|
+
credentialDefaultProvider:
|
|
32
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
33
|
+
| ((
|
|
34
|
+
_: unknown
|
|
35
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
34
36
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
35
37
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
36
38
|
logger: import("@smithy/types").Logger;
|
|
@@ -50,11 +52,21 @@ export declare const getRuntimeConfig: (config: SavingsplansClientConfig) => {
|
|
|
50
52
|
| import("@smithy/types").RetryStrategyV2
|
|
51
53
|
| undefined;
|
|
52
54
|
endpoint?:
|
|
53
|
-
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
55
|
+
| ((
|
|
56
|
+
| string
|
|
57
|
+
| import("@smithy/types").Endpoint
|
|
58
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
59
|
+
| import("@smithy/types").EndpointV2
|
|
60
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
61
|
+
) &
|
|
62
|
+
(
|
|
63
|
+
| string
|
|
64
|
+
| import("@smithy/types").Provider<string>
|
|
65
|
+
| import("@smithy/types").Endpoint
|
|
66
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
67
|
+
| import("@smithy/types").EndpointV2
|
|
68
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
69
|
+
))
|
|
58
70
|
| undefined;
|
|
59
71
|
endpointProvider: (
|
|
60
72
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
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.723.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-savingsplans",
|
|
@@ -20,58 +20,58 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^
|
|
37
|
-
"@smithy/core": "^
|
|
38
|
-
"@smithy/fetch-http-handler": "^
|
|
39
|
-
"@smithy/hash-node": "^
|
|
40
|
-
"@smithy/invalid-dependency": "^
|
|
41
|
-
"@smithy/middleware-content-length": "^
|
|
42
|
-
"@smithy/middleware-endpoint": "^
|
|
43
|
-
"@smithy/middleware-retry": "^
|
|
44
|
-
"@smithy/middleware-serde": "^
|
|
45
|
-
"@smithy/middleware-stack": "^
|
|
46
|
-
"@smithy/node-config-provider": "^
|
|
47
|
-
"@smithy/node-http-handler": "^
|
|
48
|
-
"@smithy/protocol-http": "^
|
|
49
|
-
"@smithy/smithy-client": "^
|
|
50
|
-
"@smithy/types": "^
|
|
51
|
-
"@smithy/url-parser": "^
|
|
52
|
-
"@smithy/util-base64": "^
|
|
53
|
-
"@smithy/util-body-length-browser": "^
|
|
54
|
-
"@smithy/util-body-length-node": "^
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^
|
|
57
|
-
"@smithy/util-endpoints": "^
|
|
58
|
-
"@smithy/util-middleware": "^
|
|
59
|
-
"@smithy/util-retry": "^
|
|
60
|
-
"@smithy/util-utf8": "^
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.723.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.723.0",
|
|
25
|
+
"@aws-sdk/core": "3.723.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.723.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.723.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.723.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.723.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.723.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.723.0",
|
|
32
|
+
"@aws-sdk/types": "3.723.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.723.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.723.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.723.0",
|
|
36
|
+
"@smithy/config-resolver": "^4.0.0",
|
|
37
|
+
"@smithy/core": "^3.0.0",
|
|
38
|
+
"@smithy/fetch-http-handler": "^5.0.0",
|
|
39
|
+
"@smithy/hash-node": "^4.0.0",
|
|
40
|
+
"@smithy/invalid-dependency": "^4.0.0",
|
|
41
|
+
"@smithy/middleware-content-length": "^4.0.0",
|
|
42
|
+
"@smithy/middleware-endpoint": "^4.0.0",
|
|
43
|
+
"@smithy/middleware-retry": "^4.0.0",
|
|
44
|
+
"@smithy/middleware-serde": "^4.0.0",
|
|
45
|
+
"@smithy/middleware-stack": "^4.0.0",
|
|
46
|
+
"@smithy/node-config-provider": "^4.0.0",
|
|
47
|
+
"@smithy/node-http-handler": "^4.0.0",
|
|
48
|
+
"@smithy/protocol-http": "^5.0.0",
|
|
49
|
+
"@smithy/smithy-client": "^4.0.0",
|
|
50
|
+
"@smithy/types": "^4.0.0",
|
|
51
|
+
"@smithy/url-parser": "^4.0.0",
|
|
52
|
+
"@smithy/util-base64": "^4.0.0",
|
|
53
|
+
"@smithy/util-body-length-browser": "^4.0.0",
|
|
54
|
+
"@smithy/util-body-length-node": "^4.0.0",
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^4.0.0",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^4.0.0",
|
|
57
|
+
"@smithy/util-endpoints": "^3.0.0",
|
|
58
|
+
"@smithy/util-middleware": "^4.0.0",
|
|
59
|
+
"@smithy/util-retry": "^4.0.0",
|
|
60
|
+
"@smithy/util-utf8": "^4.0.0",
|
|
61
61
|
"@types/uuid": "^9.0.1",
|
|
62
62
|
"tslib": "^2.6.2",
|
|
63
63
|
"uuid": "^9.0.1"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
|
-
"@tsconfig/
|
|
67
|
-
"@types/node": "^
|
|
66
|
+
"@tsconfig/node18": "18.2.4",
|
|
67
|
+
"@types/node": "^18.19.69",
|
|
68
68
|
"concurrently": "7.0.0",
|
|
69
69
|
"downlevel-dts": "0.10.1",
|
|
70
70
|
"rimraf": "3.0.2",
|
|
71
|
-
"typescript": "~
|
|
71
|
+
"typescript": "~5.2.2"
|
|
72
72
|
},
|
|
73
73
|
"engines": {
|
|
74
|
-
"node": ">=
|
|
74
|
+
"node": ">=18.0.0"
|
|
75
75
|
},
|
|
76
76
|
"typesVersions": {
|
|
77
77
|
"<4.0": {
|