@aws-sdk/client-marketplace-metering 3.52.0 → 3.53.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 +11 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/MarketplaceMeteringServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +223 -1
- package/dist-cjs/protocols/Aws_json1_1.js +109 -321
- package/dist-es/index.js +1 -0
- package/dist-es/models/MarketplaceMeteringServiceException.js +12 -0
- package/dist-es/models/models_0.js +206 -1
- package/dist-es/protocols/Aws_json1_1.js +174 -304
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/MarketplaceMeteringServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +121 -69
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/MarketplaceMeteringServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +87 -69
- package/package.json +25 -25
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
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.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @aws-sdk/client-marketplace-metering
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MarketplaceMeteringServiceException = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
tslib_1.__exportStar(require("./MarketplaceMetering"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./MarketplaceMeteringClient"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./commands"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./models"), exports);
|
|
9
|
+
var MarketplaceMeteringServiceException_1 = require("./models/MarketplaceMeteringServiceException");
|
|
10
|
+
Object.defineProperty(exports, "MarketplaceMeteringServiceException", { enumerable: true, get: function () { return MarketplaceMeteringServiceException_1.MarketplaceMeteringServiceException; } });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MarketplaceMeteringServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
class MarketplaceMeteringServiceException extends smithy_client_1.ServiceException {
|
|
6
|
+
constructor(options) {
|
|
7
|
+
super(options);
|
|
8
|
+
Object.setPrototypeOf(this, MarketplaceMeteringServiceException.prototype);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.MarketplaceMeteringServiceException = MarketplaceMeteringServiceException;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ResolveCustomerResult = exports.ResolveCustomerRequest = exports.RegisterUsageResult = exports.RegisterUsageRequest = exports.MeterUsageResult = exports.MeterUsageRequest = exports.BatchMeterUsageResult = exports.UsageRecordResult = exports.UsageRecordResultStatus = exports.BatchMeterUsageRequest = exports.UsageRecord = exports.UsageAllocation = exports.Tag = void 0;
|
|
3
|
+
exports.ResolveCustomerResult = exports.ResolveCustomerRequest = exports.InvalidTokenException = exports.ExpiredTokenException = exports.RegisterUsageResult = exports.RegisterUsageRequest = exports.PlatformNotSupportedException = exports.InvalidRegionException = exports.InvalidPublicKeyVersionException = exports.MeterUsageResult = exports.MeterUsageRequest = exports.InvalidEndpointRegionException = exports.DuplicateRequestException = exports.CustomerNotEntitledException = exports.TimestampOutOfBoundsException = exports.ThrottlingException = exports.InvalidUsageDimensionException = exports.InvalidUsageAllocationsException = exports.InvalidTagException = exports.InvalidProductCodeException = exports.InvalidCustomerIdentifierException = exports.InternalServiceErrorException = exports.DisabledApiException = exports.BatchMeterUsageResult = exports.UsageRecordResult = exports.UsageRecordResultStatus = exports.BatchMeterUsageRequest = exports.UsageRecord = exports.UsageAllocation = exports.Tag = void 0;
|
|
4
|
+
const MarketplaceMeteringServiceException_1 = require("./MarketplaceMeteringServiceException");
|
|
4
5
|
var Tag;
|
|
5
6
|
(function (Tag) {
|
|
6
7
|
Tag.filterSensitiveLog = (obj) => ({
|
|
@@ -43,6 +44,162 @@ var BatchMeterUsageResult;
|
|
|
43
44
|
...obj,
|
|
44
45
|
});
|
|
45
46
|
})(BatchMeterUsageResult = exports.BatchMeterUsageResult || (exports.BatchMeterUsageResult = {}));
|
|
47
|
+
class DisabledApiException extends MarketplaceMeteringServiceException_1.MarketplaceMeteringServiceException {
|
|
48
|
+
constructor(opts) {
|
|
49
|
+
super({
|
|
50
|
+
name: "DisabledApiException",
|
|
51
|
+
$fault: "client",
|
|
52
|
+
...opts,
|
|
53
|
+
});
|
|
54
|
+
this.name = "DisabledApiException";
|
|
55
|
+
this.$fault = "client";
|
|
56
|
+
Object.setPrototypeOf(this, DisabledApiException.prototype);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
exports.DisabledApiException = DisabledApiException;
|
|
60
|
+
class InternalServiceErrorException extends MarketplaceMeteringServiceException_1.MarketplaceMeteringServiceException {
|
|
61
|
+
constructor(opts) {
|
|
62
|
+
super({
|
|
63
|
+
name: "InternalServiceErrorException",
|
|
64
|
+
$fault: "server",
|
|
65
|
+
...opts,
|
|
66
|
+
});
|
|
67
|
+
this.name = "InternalServiceErrorException";
|
|
68
|
+
this.$fault = "server";
|
|
69
|
+
Object.setPrototypeOf(this, InternalServiceErrorException.prototype);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
exports.InternalServiceErrorException = InternalServiceErrorException;
|
|
73
|
+
class InvalidCustomerIdentifierException extends MarketplaceMeteringServiceException_1.MarketplaceMeteringServiceException {
|
|
74
|
+
constructor(opts) {
|
|
75
|
+
super({
|
|
76
|
+
name: "InvalidCustomerIdentifierException",
|
|
77
|
+
$fault: "client",
|
|
78
|
+
...opts,
|
|
79
|
+
});
|
|
80
|
+
this.name = "InvalidCustomerIdentifierException";
|
|
81
|
+
this.$fault = "client";
|
|
82
|
+
Object.setPrototypeOf(this, InvalidCustomerIdentifierException.prototype);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
exports.InvalidCustomerIdentifierException = InvalidCustomerIdentifierException;
|
|
86
|
+
class InvalidProductCodeException extends MarketplaceMeteringServiceException_1.MarketplaceMeteringServiceException {
|
|
87
|
+
constructor(opts) {
|
|
88
|
+
super({
|
|
89
|
+
name: "InvalidProductCodeException",
|
|
90
|
+
$fault: "client",
|
|
91
|
+
...opts,
|
|
92
|
+
});
|
|
93
|
+
this.name = "InvalidProductCodeException";
|
|
94
|
+
this.$fault = "client";
|
|
95
|
+
Object.setPrototypeOf(this, InvalidProductCodeException.prototype);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
exports.InvalidProductCodeException = InvalidProductCodeException;
|
|
99
|
+
class InvalidTagException extends MarketplaceMeteringServiceException_1.MarketplaceMeteringServiceException {
|
|
100
|
+
constructor(opts) {
|
|
101
|
+
super({
|
|
102
|
+
name: "InvalidTagException",
|
|
103
|
+
$fault: "client",
|
|
104
|
+
...opts,
|
|
105
|
+
});
|
|
106
|
+
this.name = "InvalidTagException";
|
|
107
|
+
this.$fault = "client";
|
|
108
|
+
Object.setPrototypeOf(this, InvalidTagException.prototype);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
exports.InvalidTagException = InvalidTagException;
|
|
112
|
+
class InvalidUsageAllocationsException extends MarketplaceMeteringServiceException_1.MarketplaceMeteringServiceException {
|
|
113
|
+
constructor(opts) {
|
|
114
|
+
super({
|
|
115
|
+
name: "InvalidUsageAllocationsException",
|
|
116
|
+
$fault: "client",
|
|
117
|
+
...opts,
|
|
118
|
+
});
|
|
119
|
+
this.name = "InvalidUsageAllocationsException";
|
|
120
|
+
this.$fault = "client";
|
|
121
|
+
Object.setPrototypeOf(this, InvalidUsageAllocationsException.prototype);
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
exports.InvalidUsageAllocationsException = InvalidUsageAllocationsException;
|
|
125
|
+
class InvalidUsageDimensionException extends MarketplaceMeteringServiceException_1.MarketplaceMeteringServiceException {
|
|
126
|
+
constructor(opts) {
|
|
127
|
+
super({
|
|
128
|
+
name: "InvalidUsageDimensionException",
|
|
129
|
+
$fault: "client",
|
|
130
|
+
...opts,
|
|
131
|
+
});
|
|
132
|
+
this.name = "InvalidUsageDimensionException";
|
|
133
|
+
this.$fault = "client";
|
|
134
|
+
Object.setPrototypeOf(this, InvalidUsageDimensionException.prototype);
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
exports.InvalidUsageDimensionException = InvalidUsageDimensionException;
|
|
138
|
+
class ThrottlingException extends MarketplaceMeteringServiceException_1.MarketplaceMeteringServiceException {
|
|
139
|
+
constructor(opts) {
|
|
140
|
+
super({
|
|
141
|
+
name: "ThrottlingException",
|
|
142
|
+
$fault: "client",
|
|
143
|
+
...opts,
|
|
144
|
+
});
|
|
145
|
+
this.name = "ThrottlingException";
|
|
146
|
+
this.$fault = "client";
|
|
147
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
exports.ThrottlingException = ThrottlingException;
|
|
151
|
+
class TimestampOutOfBoundsException extends MarketplaceMeteringServiceException_1.MarketplaceMeteringServiceException {
|
|
152
|
+
constructor(opts) {
|
|
153
|
+
super({
|
|
154
|
+
name: "TimestampOutOfBoundsException",
|
|
155
|
+
$fault: "client",
|
|
156
|
+
...opts,
|
|
157
|
+
});
|
|
158
|
+
this.name = "TimestampOutOfBoundsException";
|
|
159
|
+
this.$fault = "client";
|
|
160
|
+
Object.setPrototypeOf(this, TimestampOutOfBoundsException.prototype);
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
exports.TimestampOutOfBoundsException = TimestampOutOfBoundsException;
|
|
164
|
+
class CustomerNotEntitledException extends MarketplaceMeteringServiceException_1.MarketplaceMeteringServiceException {
|
|
165
|
+
constructor(opts) {
|
|
166
|
+
super({
|
|
167
|
+
name: "CustomerNotEntitledException",
|
|
168
|
+
$fault: "client",
|
|
169
|
+
...opts,
|
|
170
|
+
});
|
|
171
|
+
this.name = "CustomerNotEntitledException";
|
|
172
|
+
this.$fault = "client";
|
|
173
|
+
Object.setPrototypeOf(this, CustomerNotEntitledException.prototype);
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
exports.CustomerNotEntitledException = CustomerNotEntitledException;
|
|
177
|
+
class DuplicateRequestException extends MarketplaceMeteringServiceException_1.MarketplaceMeteringServiceException {
|
|
178
|
+
constructor(opts) {
|
|
179
|
+
super({
|
|
180
|
+
name: "DuplicateRequestException",
|
|
181
|
+
$fault: "client",
|
|
182
|
+
...opts,
|
|
183
|
+
});
|
|
184
|
+
this.name = "DuplicateRequestException";
|
|
185
|
+
this.$fault = "client";
|
|
186
|
+
Object.setPrototypeOf(this, DuplicateRequestException.prototype);
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
exports.DuplicateRequestException = DuplicateRequestException;
|
|
190
|
+
class InvalidEndpointRegionException extends MarketplaceMeteringServiceException_1.MarketplaceMeteringServiceException {
|
|
191
|
+
constructor(opts) {
|
|
192
|
+
super({
|
|
193
|
+
name: "InvalidEndpointRegionException",
|
|
194
|
+
$fault: "client",
|
|
195
|
+
...opts,
|
|
196
|
+
});
|
|
197
|
+
this.name = "InvalidEndpointRegionException";
|
|
198
|
+
this.$fault = "client";
|
|
199
|
+
Object.setPrototypeOf(this, InvalidEndpointRegionException.prototype);
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
exports.InvalidEndpointRegionException = InvalidEndpointRegionException;
|
|
46
203
|
var MeterUsageRequest;
|
|
47
204
|
(function (MeterUsageRequest) {
|
|
48
205
|
MeterUsageRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -55,6 +212,45 @@ var MeterUsageResult;
|
|
|
55
212
|
...obj,
|
|
56
213
|
});
|
|
57
214
|
})(MeterUsageResult = exports.MeterUsageResult || (exports.MeterUsageResult = {}));
|
|
215
|
+
class InvalidPublicKeyVersionException extends MarketplaceMeteringServiceException_1.MarketplaceMeteringServiceException {
|
|
216
|
+
constructor(opts) {
|
|
217
|
+
super({
|
|
218
|
+
name: "InvalidPublicKeyVersionException",
|
|
219
|
+
$fault: "client",
|
|
220
|
+
...opts,
|
|
221
|
+
});
|
|
222
|
+
this.name = "InvalidPublicKeyVersionException";
|
|
223
|
+
this.$fault = "client";
|
|
224
|
+
Object.setPrototypeOf(this, InvalidPublicKeyVersionException.prototype);
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
exports.InvalidPublicKeyVersionException = InvalidPublicKeyVersionException;
|
|
228
|
+
class InvalidRegionException extends MarketplaceMeteringServiceException_1.MarketplaceMeteringServiceException {
|
|
229
|
+
constructor(opts) {
|
|
230
|
+
super({
|
|
231
|
+
name: "InvalidRegionException",
|
|
232
|
+
$fault: "client",
|
|
233
|
+
...opts,
|
|
234
|
+
});
|
|
235
|
+
this.name = "InvalidRegionException";
|
|
236
|
+
this.$fault = "client";
|
|
237
|
+
Object.setPrototypeOf(this, InvalidRegionException.prototype);
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
exports.InvalidRegionException = InvalidRegionException;
|
|
241
|
+
class PlatformNotSupportedException extends MarketplaceMeteringServiceException_1.MarketplaceMeteringServiceException {
|
|
242
|
+
constructor(opts) {
|
|
243
|
+
super({
|
|
244
|
+
name: "PlatformNotSupportedException",
|
|
245
|
+
$fault: "client",
|
|
246
|
+
...opts,
|
|
247
|
+
});
|
|
248
|
+
this.name = "PlatformNotSupportedException";
|
|
249
|
+
this.$fault = "client";
|
|
250
|
+
Object.setPrototypeOf(this, PlatformNotSupportedException.prototype);
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
exports.PlatformNotSupportedException = PlatformNotSupportedException;
|
|
58
254
|
var RegisterUsageRequest;
|
|
59
255
|
(function (RegisterUsageRequest) {
|
|
60
256
|
RegisterUsageRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -67,6 +263,32 @@ var RegisterUsageResult;
|
|
|
67
263
|
...obj,
|
|
68
264
|
});
|
|
69
265
|
})(RegisterUsageResult = exports.RegisterUsageResult || (exports.RegisterUsageResult = {}));
|
|
266
|
+
class ExpiredTokenException extends MarketplaceMeteringServiceException_1.MarketplaceMeteringServiceException {
|
|
267
|
+
constructor(opts) {
|
|
268
|
+
super({
|
|
269
|
+
name: "ExpiredTokenException",
|
|
270
|
+
$fault: "client",
|
|
271
|
+
...opts,
|
|
272
|
+
});
|
|
273
|
+
this.name = "ExpiredTokenException";
|
|
274
|
+
this.$fault = "client";
|
|
275
|
+
Object.setPrototypeOf(this, ExpiredTokenException.prototype);
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
exports.ExpiredTokenException = ExpiredTokenException;
|
|
279
|
+
class InvalidTokenException extends MarketplaceMeteringServiceException_1.MarketplaceMeteringServiceException {
|
|
280
|
+
constructor(opts) {
|
|
281
|
+
super({
|
|
282
|
+
name: "InvalidTokenException",
|
|
283
|
+
$fault: "client",
|
|
284
|
+
...opts,
|
|
285
|
+
});
|
|
286
|
+
this.name = "InvalidTokenException";
|
|
287
|
+
this.$fault = "client";
|
|
288
|
+
Object.setPrototypeOf(this, InvalidTokenException.prototype);
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
exports.InvalidTokenException = InvalidTokenException;
|
|
70
292
|
var ResolveCustomerRequest;
|
|
71
293
|
(function (ResolveCustomerRequest) {
|
|
72
294
|
ResolveCustomerRequest.filterSensitiveLog = (obj) => ({
|