@aws-sdk/client-marketplace-metering 3.1147.0 → 3.1149.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 CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1146.0";
72
+ var version = "3.1148.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -142,6 +142,7 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
142
142
  customEndpointFunctions.aws = awsEndpointFunctions;
143
143
 
144
144
  class MarketplaceMeteringServiceException extends ServiceException {
145
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.marketplacemetering#MarketplaceMeteringServiceException";
145
146
  constructor(options) {
146
147
  super(options);
147
148
  Object.setPrototypeOf(this, MarketplaceMeteringServiceException.prototype);
@@ -149,6 +150,7 @@ class MarketplaceMeteringServiceException extends ServiceException {
149
150
  }
150
151
 
151
152
  class DisabledApiException extends MarketplaceMeteringServiceException {
153
+ static shapeId = "com.amazonaws.marketplacemetering#DisabledApiException";
152
154
  name = "DisabledApiException";
153
155
  $fault = "client";
154
156
  constructor(opts) {
@@ -161,6 +163,7 @@ class DisabledApiException extends MarketplaceMeteringServiceException {
161
163
  }
162
164
  }
163
165
  class InternalServiceErrorException extends MarketplaceMeteringServiceException {
166
+ static shapeId = "com.amazonaws.marketplacemetering#InternalServiceErrorException";
164
167
  name = "InternalServiceErrorException";
165
168
  $fault = "server";
166
169
  constructor(opts) {
@@ -173,6 +176,7 @@ class InternalServiceErrorException extends MarketplaceMeteringServiceException
173
176
  }
174
177
  }
175
178
  class InvalidCustomerIdentifierException extends MarketplaceMeteringServiceException {
179
+ static shapeId = "com.amazonaws.marketplacemetering#InvalidCustomerIdentifierException";
176
180
  name = "InvalidCustomerIdentifierException";
177
181
  $fault = "client";
178
182
  constructor(opts) {
@@ -185,6 +189,7 @@ class InvalidCustomerIdentifierException extends MarketplaceMeteringServiceExcep
185
189
  }
186
190
  }
187
191
  class InvalidLicenseException extends MarketplaceMeteringServiceException {
192
+ static shapeId = "com.amazonaws.marketplacemetering#InvalidLicenseException";
188
193
  name = "InvalidLicenseException";
189
194
  $fault = "client";
190
195
  constructor(opts) {
@@ -197,6 +202,7 @@ class InvalidLicenseException extends MarketplaceMeteringServiceException {
197
202
  }
198
203
  }
199
204
  class InvalidProductCodeException extends MarketplaceMeteringServiceException {
205
+ static shapeId = "com.amazonaws.marketplacemetering#InvalidProductCodeException";
200
206
  name = "InvalidProductCodeException";
201
207
  $fault = "client";
202
208
  constructor(opts) {
@@ -209,6 +215,7 @@ class InvalidProductCodeException extends MarketplaceMeteringServiceException {
209
215
  }
210
216
  }
211
217
  class InvalidTagException extends MarketplaceMeteringServiceException {
218
+ static shapeId = "com.amazonaws.marketplacemetering#InvalidTagException";
212
219
  name = "InvalidTagException";
213
220
  $fault = "client";
214
221
  constructor(opts) {
@@ -221,6 +228,7 @@ class InvalidTagException extends MarketplaceMeteringServiceException {
221
228
  }
222
229
  }
223
230
  class InvalidUsageAllocationsException extends MarketplaceMeteringServiceException {
231
+ static shapeId = "com.amazonaws.marketplacemetering#InvalidUsageAllocationsException";
224
232
  name = "InvalidUsageAllocationsException";
225
233
  $fault = "client";
226
234
  constructor(opts) {
@@ -233,6 +241,7 @@ class InvalidUsageAllocationsException extends MarketplaceMeteringServiceExcepti
233
241
  }
234
242
  }
235
243
  class InvalidUsageDimensionException extends MarketplaceMeteringServiceException {
244
+ static shapeId = "com.amazonaws.marketplacemetering#InvalidUsageDimensionException";
236
245
  name = "InvalidUsageDimensionException";
237
246
  $fault = "client";
238
247
  constructor(opts) {
@@ -245,6 +254,7 @@ class InvalidUsageDimensionException extends MarketplaceMeteringServiceException
245
254
  }
246
255
  }
247
256
  class ThrottlingException extends MarketplaceMeteringServiceException {
257
+ static shapeId = "com.amazonaws.marketplacemetering#ThrottlingException";
248
258
  name = "ThrottlingException";
249
259
  $fault = "client";
250
260
  constructor(opts) {
@@ -257,6 +267,7 @@ class ThrottlingException extends MarketplaceMeteringServiceException {
257
267
  }
258
268
  }
259
269
  class TimestampOutOfBoundsException extends MarketplaceMeteringServiceException {
270
+ static shapeId = "com.amazonaws.marketplacemetering#TimestampOutOfBoundsException";
260
271
  name = "TimestampOutOfBoundsException";
261
272
  $fault = "client";
262
273
  constructor(opts) {
@@ -269,6 +280,7 @@ class TimestampOutOfBoundsException extends MarketplaceMeteringServiceException
269
280
  }
270
281
  }
271
282
  class CustomerNotEntitledException extends MarketplaceMeteringServiceException {
283
+ static shapeId = "com.amazonaws.marketplacemetering#CustomerNotEntitledException";
272
284
  name = "CustomerNotEntitledException";
273
285
  $fault = "client";
274
286
  constructor(opts) {
@@ -281,6 +293,7 @@ class CustomerNotEntitledException extends MarketplaceMeteringServiceException {
281
293
  }
282
294
  }
283
295
  class DuplicateRequestException extends MarketplaceMeteringServiceException {
296
+ static shapeId = "com.amazonaws.marketplacemetering#DuplicateRequestException";
284
297
  name = "DuplicateRequestException";
285
298
  $fault = "client";
286
299
  constructor(opts) {
@@ -293,6 +306,7 @@ class DuplicateRequestException extends MarketplaceMeteringServiceException {
293
306
  }
294
307
  }
295
308
  class IdempotencyConflictException extends MarketplaceMeteringServiceException {
309
+ static shapeId = "com.amazonaws.marketplacemetering#IdempotencyConflictException";
296
310
  name = "IdempotencyConflictException";
297
311
  $fault = "client";
298
312
  constructor(opts) {
@@ -305,6 +319,7 @@ class IdempotencyConflictException extends MarketplaceMeteringServiceException {
305
319
  }
306
320
  }
307
321
  class InvalidEndpointRegionException extends MarketplaceMeteringServiceException {
322
+ static shapeId = "com.amazonaws.marketplacemetering#InvalidEndpointRegionException";
308
323
  name = "InvalidEndpointRegionException";
309
324
  $fault = "client";
310
325
  constructor(opts) {
@@ -317,6 +332,7 @@ class InvalidEndpointRegionException extends MarketplaceMeteringServiceException
317
332
  }
318
333
  }
319
334
  class InvalidPublicKeyVersionException extends MarketplaceMeteringServiceException {
335
+ static shapeId = "com.amazonaws.marketplacemetering#InvalidPublicKeyVersionException";
320
336
  name = "InvalidPublicKeyVersionException";
321
337
  $fault = "client";
322
338
  constructor(opts) {
@@ -329,6 +345,7 @@ class InvalidPublicKeyVersionException extends MarketplaceMeteringServiceExcepti
329
345
  }
330
346
  }
331
347
  class InvalidRegionException extends MarketplaceMeteringServiceException {
348
+ static shapeId = "com.amazonaws.marketplacemetering#InvalidRegionException";
332
349
  name = "InvalidRegionException";
333
350
  $fault = "client";
334
351
  constructor(opts) {
@@ -341,6 +358,7 @@ class InvalidRegionException extends MarketplaceMeteringServiceException {
341
358
  }
342
359
  }
343
360
  class PlatformNotSupportedException extends MarketplaceMeteringServiceException {
361
+ static shapeId = "com.amazonaws.marketplacemetering#PlatformNotSupportedException";
344
362
  name = "PlatformNotSupportedException";
345
363
  $fault = "client";
346
364
  constructor(opts) {
@@ -353,6 +371,7 @@ class PlatformNotSupportedException extends MarketplaceMeteringServiceException
353
371
  }
354
372
  }
355
373
  class ExpiredTokenException extends MarketplaceMeteringServiceException {
374
+ static shapeId = "com.amazonaws.marketplacemetering#ExpiredTokenException";
356
375
  name = "ExpiredTokenException";
357
376
  $fault = "client";
358
377
  constructor(opts) {
@@ -365,6 +384,7 @@ class ExpiredTokenException extends MarketplaceMeteringServiceException {
365
384
  }
366
385
  }
367
386
  class InvalidTokenException extends MarketplaceMeteringServiceException {
387
+ static shapeId = "com.amazonaws.marketplacemetering#InvalidTokenException";
368
388
  name = "InvalidTokenException";
369
389
  $fault = "client";
370
390
  constructor(opts) {
@@ -377,6 +397,7 @@ class InvalidTokenException extends MarketplaceMeteringServiceException {
377
397
  }
378
398
  }
379
399
 
400
+ const _AI = "AgreementId";
380
401
  const _AUQ = "AllocatedUsageQuantity";
381
402
  const _BMU = "BatchMeterUsage";
382
403
  const _BMUR = "BatchMeterUsageRequest";
@@ -404,6 +425,7 @@ const _IUAE = "InvalidUsageAllocationsException";
404
425
  const _IUDE = "InvalidUsageDimensionException";
405
426
  const _K = "Key";
406
427
  const _LA = "LicenseArn";
428
+ const _M = "Metadata";
407
429
  const _MRI = "MeteringRecordId";
408
430
  const _MU = "MeterUsage";
409
431
  const _MUR = "MeterUsageRequest";
@@ -580,6 +602,11 @@ var BatchMeterUsageResult$ = [3, n0, _BMURa,
580
602
  [_R, _URn],
581
603
  [() => UsageRecordResultList, () => UsageRecordList]
582
604
  ];
605
+ var Metadata$ = [3, n0, _M,
606
+ 0,
607
+ [_AI],
608
+ [0]
609
+ ];
583
610
  var MeterUsageRequest$ = [3, n0, _MUR,
584
611
  0,
585
612
  [_PC, _T, _UD, _UQ, _DR, _UA, _CT],
@@ -607,8 +634,8 @@ var ResolveCustomerRequest$ = [3, n0, _RCR,
607
634
  ];
608
635
  var ResolveCustomerResult$ = [3, n0, _RCRe,
609
636
  0,
610
- [_CI, _PC, _CAWSAI, _LA],
611
- [0, 0, 0, 0]
637
+ [_CI, _PC, _CAWSAI, _LA, _M],
638
+ [0, 0, 0, 0, () => Metadata$]
612
639
  ];
613
640
  var Tag$ = [3, n0, _Ta,
614
641
  0,
@@ -873,6 +900,7 @@ exports.MarketplaceMetering = MarketplaceMetering;
873
900
  exports.MarketplaceMeteringClient = MarketplaceMeteringClient;
874
901
  exports.MarketplaceMeteringServiceException = MarketplaceMeteringServiceException;
875
902
  exports.MarketplaceMeteringServiceException$ = MarketplaceMeteringServiceException$;
903
+ exports.Metadata$ = Metadata$;
876
904
  exports.MeterUsage$ = MeterUsage$;
877
905
  exports.MeterUsageCommand = MeterUsageCommand;
878
906
  exports.MeterUsageRequest$ = MeterUsageRequest$;
@@ -1,6 +1,7 @@
1
1
  import { ServiceException as __ServiceException, } from "@smithy/core/client";
2
2
  export { __ServiceException };
3
3
  export class MarketplaceMeteringServiceException extends __ServiceException {
4
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.marketplacemetering#MarketplaceMeteringServiceException";
4
5
  constructor(options) {
5
6
  super(options);
6
7
  Object.setPrototypeOf(this, MarketplaceMeteringServiceException.prototype);
@@ -1,5 +1,6 @@
1
1
  import { MarketplaceMeteringServiceException as __BaseException } from "./MarketplaceMeteringServiceException";
2
2
  export class DisabledApiException extends __BaseException {
3
+ static shapeId = "com.amazonaws.marketplacemetering#DisabledApiException";
3
4
  name = "DisabledApiException";
4
5
  $fault = "client";
5
6
  constructor(opts) {
@@ -12,6 +13,7 @@ export class DisabledApiException extends __BaseException {
12
13
  }
13
14
  }
14
15
  export class InternalServiceErrorException extends __BaseException {
16
+ static shapeId = "com.amazonaws.marketplacemetering#InternalServiceErrorException";
15
17
  name = "InternalServiceErrorException";
16
18
  $fault = "server";
17
19
  constructor(opts) {
@@ -24,6 +26,7 @@ export class InternalServiceErrorException extends __BaseException {
24
26
  }
25
27
  }
26
28
  export class InvalidCustomerIdentifierException extends __BaseException {
29
+ static shapeId = "com.amazonaws.marketplacemetering#InvalidCustomerIdentifierException";
27
30
  name = "InvalidCustomerIdentifierException";
28
31
  $fault = "client";
29
32
  constructor(opts) {
@@ -36,6 +39,7 @@ export class InvalidCustomerIdentifierException extends __BaseException {
36
39
  }
37
40
  }
38
41
  export class InvalidLicenseException extends __BaseException {
42
+ static shapeId = "com.amazonaws.marketplacemetering#InvalidLicenseException";
39
43
  name = "InvalidLicenseException";
40
44
  $fault = "client";
41
45
  constructor(opts) {
@@ -48,6 +52,7 @@ export class InvalidLicenseException extends __BaseException {
48
52
  }
49
53
  }
50
54
  export class InvalidProductCodeException extends __BaseException {
55
+ static shapeId = "com.amazonaws.marketplacemetering#InvalidProductCodeException";
51
56
  name = "InvalidProductCodeException";
52
57
  $fault = "client";
53
58
  constructor(opts) {
@@ -60,6 +65,7 @@ export class InvalidProductCodeException extends __BaseException {
60
65
  }
61
66
  }
62
67
  export class InvalidTagException extends __BaseException {
68
+ static shapeId = "com.amazonaws.marketplacemetering#InvalidTagException";
63
69
  name = "InvalidTagException";
64
70
  $fault = "client";
65
71
  constructor(opts) {
@@ -72,6 +78,7 @@ export class InvalidTagException extends __BaseException {
72
78
  }
73
79
  }
74
80
  export class InvalidUsageAllocationsException extends __BaseException {
81
+ static shapeId = "com.amazonaws.marketplacemetering#InvalidUsageAllocationsException";
75
82
  name = "InvalidUsageAllocationsException";
76
83
  $fault = "client";
77
84
  constructor(opts) {
@@ -84,6 +91,7 @@ export class InvalidUsageAllocationsException extends __BaseException {
84
91
  }
85
92
  }
86
93
  export class InvalidUsageDimensionException extends __BaseException {
94
+ static shapeId = "com.amazonaws.marketplacemetering#InvalidUsageDimensionException";
87
95
  name = "InvalidUsageDimensionException";
88
96
  $fault = "client";
89
97
  constructor(opts) {
@@ -96,6 +104,7 @@ export class InvalidUsageDimensionException extends __BaseException {
96
104
  }
97
105
  }
98
106
  export class ThrottlingException extends __BaseException {
107
+ static shapeId = "com.amazonaws.marketplacemetering#ThrottlingException";
99
108
  name = "ThrottlingException";
100
109
  $fault = "client";
101
110
  constructor(opts) {
@@ -108,6 +117,7 @@ export class ThrottlingException extends __BaseException {
108
117
  }
109
118
  }
110
119
  export class TimestampOutOfBoundsException extends __BaseException {
120
+ static shapeId = "com.amazonaws.marketplacemetering#TimestampOutOfBoundsException";
111
121
  name = "TimestampOutOfBoundsException";
112
122
  $fault = "client";
113
123
  constructor(opts) {
@@ -120,6 +130,7 @@ export class TimestampOutOfBoundsException extends __BaseException {
120
130
  }
121
131
  }
122
132
  export class CustomerNotEntitledException extends __BaseException {
133
+ static shapeId = "com.amazonaws.marketplacemetering#CustomerNotEntitledException";
123
134
  name = "CustomerNotEntitledException";
124
135
  $fault = "client";
125
136
  constructor(opts) {
@@ -132,6 +143,7 @@ export class CustomerNotEntitledException extends __BaseException {
132
143
  }
133
144
  }
134
145
  export class DuplicateRequestException extends __BaseException {
146
+ static shapeId = "com.amazonaws.marketplacemetering#DuplicateRequestException";
135
147
  name = "DuplicateRequestException";
136
148
  $fault = "client";
137
149
  constructor(opts) {
@@ -144,6 +156,7 @@ export class DuplicateRequestException extends __BaseException {
144
156
  }
145
157
  }
146
158
  export class IdempotencyConflictException extends __BaseException {
159
+ static shapeId = "com.amazonaws.marketplacemetering#IdempotencyConflictException";
147
160
  name = "IdempotencyConflictException";
148
161
  $fault = "client";
149
162
  constructor(opts) {
@@ -156,6 +169,7 @@ export class IdempotencyConflictException extends __BaseException {
156
169
  }
157
170
  }
158
171
  export class InvalidEndpointRegionException extends __BaseException {
172
+ static shapeId = "com.amazonaws.marketplacemetering#InvalidEndpointRegionException";
159
173
  name = "InvalidEndpointRegionException";
160
174
  $fault = "client";
161
175
  constructor(opts) {
@@ -168,6 +182,7 @@ export class InvalidEndpointRegionException extends __BaseException {
168
182
  }
169
183
  }
170
184
  export class InvalidPublicKeyVersionException extends __BaseException {
185
+ static shapeId = "com.amazonaws.marketplacemetering#InvalidPublicKeyVersionException";
171
186
  name = "InvalidPublicKeyVersionException";
172
187
  $fault = "client";
173
188
  constructor(opts) {
@@ -180,6 +195,7 @@ export class InvalidPublicKeyVersionException extends __BaseException {
180
195
  }
181
196
  }
182
197
  export class InvalidRegionException extends __BaseException {
198
+ static shapeId = "com.amazonaws.marketplacemetering#InvalidRegionException";
183
199
  name = "InvalidRegionException";
184
200
  $fault = "client";
185
201
  constructor(opts) {
@@ -192,6 +208,7 @@ export class InvalidRegionException extends __BaseException {
192
208
  }
193
209
  }
194
210
  export class PlatformNotSupportedException extends __BaseException {
211
+ static shapeId = "com.amazonaws.marketplacemetering#PlatformNotSupportedException";
195
212
  name = "PlatformNotSupportedException";
196
213
  $fault = "client";
197
214
  constructor(opts) {
@@ -204,6 +221,7 @@ export class PlatformNotSupportedException extends __BaseException {
204
221
  }
205
222
  }
206
223
  export class ExpiredTokenException extends __BaseException {
224
+ static shapeId = "com.amazonaws.marketplacemetering#ExpiredTokenException";
207
225
  name = "ExpiredTokenException";
208
226
  $fault = "client";
209
227
  constructor(opts) {
@@ -216,6 +234,7 @@ export class ExpiredTokenException extends __BaseException {
216
234
  }
217
235
  }
218
236
  export class InvalidTokenException extends __BaseException {
237
+ static shapeId = "com.amazonaws.marketplacemetering#InvalidTokenException";
219
238
  name = "InvalidTokenException";
220
239
  $fault = "client";
221
240
  constructor(opts) {
@@ -1,3 +1,4 @@
1
+ const _AI = "AgreementId";
1
2
  const _AUQ = "AllocatedUsageQuantity";
2
3
  const _BMU = "BatchMeterUsage";
3
4
  const _BMUR = "BatchMeterUsageRequest";
@@ -25,6 +26,7 @@ const _IUAE = "InvalidUsageAllocationsException";
25
26
  const _IUDE = "InvalidUsageDimensionException";
26
27
  const _K = "Key";
27
28
  const _LA = "LicenseArn";
29
+ const _M = "Metadata";
28
30
  const _MRI = "MeteringRecordId";
29
31
  const _MU = "MeterUsage";
30
32
  const _MUR = "MeterUsageRequest";
@@ -204,6 +206,11 @@ export var BatchMeterUsageResult$ = [3, n0, _BMURa,
204
206
  [_R, _URn],
205
207
  [() => UsageRecordResultList, () => UsageRecordList]
206
208
  ];
209
+ export var Metadata$ = [3, n0, _M,
210
+ 0,
211
+ [_AI],
212
+ [0]
213
+ ];
207
214
  export var MeterUsageRequest$ = [3, n0, _MUR,
208
215
  0,
209
216
  [_PC, _T, _UD, _UQ, _DR, _UA, _CT],
@@ -231,8 +238,8 @@ export var ResolveCustomerRequest$ = [3, n0, _RCR,
231
238
  ];
232
239
  export var ResolveCustomerResult$ = [3, n0, _RCRe,
233
240
  0,
234
- [_CI, _PC, _CAWSAI, _LA],
235
- [0, 0, 0, 0]
241
+ [_CI, _PC, _CAWSAI, _LA, _M],
242
+ [0, 0, 0, 0, () => Metadata$]
236
243
  ];
237
244
  export var Tag$ = [3, n0, _Ta,
238
245
  0,
@@ -44,8 +44,19 @@ declare const BatchMeterUsageCommand_base: {
44
44
  * <p>
45
45
  * <code>BatchMeterUsage</code> can process up to 25
46
46
  * <code>UsageRecords</code> at a time, and each request must be less than
47
- * 1 MB in size. Optionally, you can have multiple usage allocations for
48
- * usage data that's split into buckets according to predefined tags.</p>
47
+ * 1 MB in size.</p>
48
+ * <p>
49
+ * <b>Vendor-metered tagging</b>
50
+ * </p>
51
+ * <p>
52
+ * <code>BatchMeterUsage</code> supports vendor-metered tagging. Optionally, you can
53
+ * split the usage in a <code>UsageRecord</code> into buckets by including
54
+ * <code>UsageAllocations</code>, where each <code>UsageAllocation</code> has a set of
55
+ * <code>Tags</code> that you define. Vendor-metered tagging doesn't change the price,
56
+ * dimensions, or the total usage that you report. It gives buyers a more granular view of
57
+ * their usage of your product so they can perform cost allocation in the Amazon Web Services Billing and
58
+ * Cost Management console. For more information, see <a href="https://docs.aws.amazon.com/marketplace/latest/userguide/metering-for-usage.html#saas-vendor-metered-tagging">Vendor-metered tagging</a> and <a href="https://docs.aws.amazon.com/marketplace/latest/userguide/saas-code-examples.html#saas-batchmeterusage-tagging">BatchMeterUsage with usage allocation tagging code example</a> in the
59
+ * <i>Amazon Web Services Marketplace Seller Guide</i>.</p>
49
60
  * <p>
50
61
  * <code>BatchMeterUsage</code> returns a list of
51
62
  * <code>UsageRecordResult</code> objects, which have each
@@ -62,6 +62,9 @@ declare const ResolveCustomerCommand_base: {
62
62
  * // ProductCode: "STRING_VALUE",
63
63
  * // CustomerAWSAccountId: "STRING_VALUE",
64
64
  * // LicenseArn: "STRING_VALUE",
65
+ * // Metadata: { // Metadata
66
+ * // AgreementId: "STRING_VALUE",
67
+ * // },
65
68
  * // };
66
69
  *
67
70
  * ```
@@ -7,6 +7,7 @@ export { __ServiceException };
7
7
  * Base exception class for all service exceptions from MarketplaceMetering service.
8
8
  */
9
9
  export declare class MarketplaceMeteringServiceException extends __ServiceException {
10
+ static readonly shapeId: string;
10
11
  /**
11
12
  * @internal
12
13
  */
@@ -5,6 +5,7 @@ import { MarketplaceMeteringServiceException as __BaseException } from "./Market
5
5
  * @public
6
6
  */
7
7
  export declare class DisabledApiException extends __BaseException {
8
+ static readonly shapeId: string;
8
9
  readonly name: "DisabledApiException";
9
10
  readonly $fault: "client";
10
11
  /**
@@ -18,6 +19,7 @@ export declare class DisabledApiException extends __BaseException {
18
19
  * @public
19
20
  */
20
21
  export declare class InternalServiceErrorException extends __BaseException {
22
+ static readonly shapeId: string;
21
23
  readonly name: "InternalServiceErrorException";
22
24
  readonly $fault: "server";
23
25
  /**
@@ -31,6 +33,7 @@ export declare class InternalServiceErrorException extends __BaseException {
31
33
  * @public
32
34
  */
33
35
  export declare class InvalidCustomerIdentifierException extends __BaseException {
36
+ static readonly shapeId: string;
34
37
  readonly name: "InvalidCustomerIdentifierException";
35
38
  readonly $fault: "client";
36
39
  /**
@@ -43,6 +46,7 @@ export declare class InvalidCustomerIdentifierException extends __BaseException
43
46
  * @public
44
47
  */
45
48
  export declare class InvalidLicenseException extends __BaseException {
49
+ static readonly shapeId: string;
46
50
  readonly name: "InvalidLicenseException";
47
51
  readonly $fault: "client";
48
52
  /**
@@ -56,6 +60,7 @@ export declare class InvalidLicenseException extends __BaseException {
56
60
  * @public
57
61
  */
58
62
  export declare class InvalidProductCodeException extends __BaseException {
63
+ static readonly shapeId: string;
59
64
  readonly name: "InvalidProductCodeException";
60
65
  readonly $fault: "client";
61
66
  /**
@@ -68,6 +73,7 @@ export declare class InvalidProductCodeException extends __BaseException {
68
73
  * @public
69
74
  */
70
75
  export declare class InvalidTagException extends __BaseException {
76
+ static readonly shapeId: string;
71
77
  readonly name: "InvalidTagException";
72
78
  readonly $fault: "client";
73
79
  /**
@@ -80,6 +86,7 @@ export declare class InvalidTagException extends __BaseException {
80
86
  * @public
81
87
  */
82
88
  export declare class InvalidUsageAllocationsException extends __BaseException {
89
+ static readonly shapeId: string;
83
90
  readonly name: "InvalidUsageAllocationsException";
84
91
  readonly $fault: "client";
85
92
  /**
@@ -93,6 +100,7 @@ export declare class InvalidUsageAllocationsException extends __BaseException {
93
100
  * @public
94
101
  */
95
102
  export declare class InvalidUsageDimensionException extends __BaseException {
103
+ static readonly shapeId: string;
96
104
  readonly name: "InvalidUsageDimensionException";
97
105
  readonly $fault: "client";
98
106
  /**
@@ -105,6 +113,7 @@ export declare class InvalidUsageDimensionException extends __BaseException {
105
113
  * @public
106
114
  */
107
115
  export declare class ThrottlingException extends __BaseException {
116
+ static readonly shapeId: string;
108
117
  readonly name: "ThrottlingException";
109
118
  readonly $fault: "client";
110
119
  /**
@@ -121,6 +130,7 @@ export declare class ThrottlingException extends __BaseException {
121
130
  * @public
122
131
  */
123
132
  export declare class TimestampOutOfBoundsException extends __BaseException {
133
+ static readonly shapeId: string;
124
134
  readonly name: "TimestampOutOfBoundsException";
125
135
  readonly $fault: "client";
126
136
  /**
@@ -134,6 +144,7 @@ export declare class TimestampOutOfBoundsException extends __BaseException {
134
144
  * @public
135
145
  */
136
146
  export declare class CustomerNotEntitledException extends __BaseException {
147
+ static readonly shapeId: string;
137
148
  readonly name: "CustomerNotEntitledException";
138
149
  readonly $fault: "client";
139
150
  /**
@@ -148,6 +159,7 @@ export declare class CustomerNotEntitledException extends __BaseException {
148
159
  * @public
149
160
  */
150
161
  export declare class DuplicateRequestException extends __BaseException {
162
+ static readonly shapeId: string;
151
163
  readonly name: "DuplicateRequestException";
152
164
  readonly $fault: "client";
153
165
  /**
@@ -160,6 +172,7 @@ export declare class DuplicateRequestException extends __BaseException {
160
172
  * @public
161
173
  */
162
174
  export declare class IdempotencyConflictException extends __BaseException {
175
+ static readonly shapeId: string;
163
176
  readonly name: "IdempotencyConflictException";
164
177
  readonly $fault: "client";
165
178
  /**
@@ -174,6 +187,7 @@ export declare class IdempotencyConflictException extends __BaseException {
174
187
  * @public
175
188
  */
176
189
  export declare class InvalidEndpointRegionException extends __BaseException {
190
+ static readonly shapeId: string;
177
191
  readonly name: "InvalidEndpointRegionException";
178
192
  readonly $fault: "client";
179
193
  /**
@@ -186,6 +200,7 @@ export declare class InvalidEndpointRegionException extends __BaseException {
186
200
  * @public
187
201
  */
188
202
  export declare class InvalidPublicKeyVersionException extends __BaseException {
203
+ static readonly shapeId: string;
189
204
  readonly name: "InvalidPublicKeyVersionException";
190
205
  readonly $fault: "client";
191
206
  /**
@@ -201,6 +216,7 @@ export declare class InvalidPublicKeyVersionException extends __BaseException {
201
216
  * @public
202
217
  */
203
218
  export declare class InvalidRegionException extends __BaseException {
219
+ static readonly shapeId: string;
204
220
  readonly name: "InvalidRegionException";
205
221
  readonly $fault: "client";
206
222
  /**
@@ -213,6 +229,7 @@ export declare class InvalidRegionException extends __BaseException {
213
229
  * @public
214
230
  */
215
231
  export declare class PlatformNotSupportedException extends __BaseException {
232
+ static readonly shapeId: string;
216
233
  readonly name: "PlatformNotSupportedException";
217
234
  readonly $fault: "client";
218
235
  /**
@@ -229,6 +246,7 @@ export declare class PlatformNotSupportedException extends __BaseException {
229
246
  * @public
230
247
  */
231
248
  export declare class ExpiredTokenException extends __BaseException {
249
+ static readonly shapeId: string;
232
250
  readonly name: "ExpiredTokenException";
233
251
  readonly $fault: "client";
234
252
  /**
@@ -241,6 +259,7 @@ export declare class ExpiredTokenException extends __BaseException {
241
259
  * @public
242
260
  */
243
261
  export declare class InvalidTokenException extends __BaseException {
262
+ static readonly shapeId: string;
244
263
  readonly name: "InvalidTokenException";
245
264
  readonly $fault: "client";
246
265
  /**
@@ -331,10 +331,23 @@ export interface ResolveCustomerRequest {
331
331
  */
332
332
  RegistrationToken: string | undefined;
333
333
  }
334
+ /**
335
+ * <p>Metadata associated with a resolved customer. Includes the <code>AgreementId</code> of
336
+ * the Amazon Web Services Marketplace agreement the customer accepted.</p>
337
+ * @public
338
+ */
339
+ export interface Metadata {
340
+ /**
341
+ * <p>The unique identifier of the Amazon Web Services Marketplace agreement the customer accepted. Use it to
342
+ * call Amazon Web Services Marketplace Agreement APIs.</p>
343
+ * @public
344
+ */
345
+ AgreementId?: string | undefined;
346
+ }
334
347
  /**
335
348
  * <p>The result of the <code>ResolveCustomer</code> operation. Contains the
336
349
  * <code>CustomerIdentifier</code> along with the <code>CustomerAWSAccountId</code>,
337
- * <code>ProductCode</code>, and <code>LicenseArn</code>.</p>
350
+ * <code>ProductCode</code>, <code>LicenseArn</code>, and <code>Metadata</code>.</p>
338
351
  * @public
339
352
  */
340
353
  export interface ResolveCustomerResult {
@@ -369,4 +382,10 @@ export interface ResolveCustomerResult {
369
382
  * @public
370
383
  */
371
384
  LicenseArn?: string | undefined;
385
+ /**
386
+ * <p>The metadata associated with the resolved customer, including the
387
+ * <code>AgreementId</code> of the Amazon Web Services Marketplace agreement the customer accepted.</p>
388
+ * @public
389
+ */
390
+ Metadata?: Metadata | undefined;
372
391
  }
@@ -28,6 +28,7 @@ export declare var TimestampOutOfBoundsException$: StaticErrorSchema;
28
28
  export declare const errorTypeRegistries: TypeRegistry[];
29
29
  export declare var BatchMeterUsageRequest$: StaticStructureSchema;
30
30
  export declare var BatchMeterUsageResult$: StaticStructureSchema;
31
+ export declare var Metadata$: StaticStructureSchema;
31
32
  export declare var MeterUsageRequest$: StaticStructureSchema;
32
33
  export declare var MeterUsageResult$: StaticStructureSchema;
33
34
  export declare var RegisterUsageRequest$: StaticStructureSchema;
@@ -5,5 +5,6 @@ import {
5
5
  export { __ServiceExceptionOptions };
6
6
  export { __ServiceException };
7
7
  export declare class MarketplaceMeteringServiceException extends __ServiceException {
8
+ static readonly shapeId: string;
8
9
  constructor(options: __ServiceExceptionOptions);
9
10
  }
@@ -1,96 +1,115 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
2
2
  import { MarketplaceMeteringServiceException as __BaseException } from "./MarketplaceMeteringServiceException";
3
3
  export declare class DisabledApiException extends __BaseException {
4
+ static readonly shapeId: string;
4
5
  readonly name: "DisabledApiException";
5
6
  readonly $fault: "client";
6
7
  constructor(opts: __ExceptionOptionType<DisabledApiException, __BaseException>);
7
8
  }
8
9
  export declare class InternalServiceErrorException extends __BaseException {
10
+ static readonly shapeId: string;
9
11
  readonly name: "InternalServiceErrorException";
10
12
  readonly $fault: "server";
11
13
  constructor(opts: __ExceptionOptionType<InternalServiceErrorException, __BaseException>);
12
14
  }
13
15
  export declare class InvalidCustomerIdentifierException extends __BaseException {
16
+ static readonly shapeId: string;
14
17
  readonly name: "InvalidCustomerIdentifierException";
15
18
  readonly $fault: "client";
16
19
  constructor(opts: __ExceptionOptionType<InvalidCustomerIdentifierException, __BaseException>);
17
20
  }
18
21
  export declare class InvalidLicenseException extends __BaseException {
22
+ static readonly shapeId: string;
19
23
  readonly name: "InvalidLicenseException";
20
24
  readonly $fault: "client";
21
25
  constructor(opts: __ExceptionOptionType<InvalidLicenseException, __BaseException>);
22
26
  }
23
27
  export declare class InvalidProductCodeException extends __BaseException {
28
+ static readonly shapeId: string;
24
29
  readonly name: "InvalidProductCodeException";
25
30
  readonly $fault: "client";
26
31
  constructor(opts: __ExceptionOptionType<InvalidProductCodeException, __BaseException>);
27
32
  }
28
33
  export declare class InvalidTagException extends __BaseException {
34
+ static readonly shapeId: string;
29
35
  readonly name: "InvalidTagException";
30
36
  readonly $fault: "client";
31
37
  constructor(opts: __ExceptionOptionType<InvalidTagException, __BaseException>);
32
38
  }
33
39
  export declare class InvalidUsageAllocationsException extends __BaseException {
40
+ static readonly shapeId: string;
34
41
  readonly name: "InvalidUsageAllocationsException";
35
42
  readonly $fault: "client";
36
43
  constructor(opts: __ExceptionOptionType<InvalidUsageAllocationsException, __BaseException>);
37
44
  }
38
45
  export declare class InvalidUsageDimensionException extends __BaseException {
46
+ static readonly shapeId: string;
39
47
  readonly name: "InvalidUsageDimensionException";
40
48
  readonly $fault: "client";
41
49
  constructor(opts: __ExceptionOptionType<InvalidUsageDimensionException, __BaseException>);
42
50
  }
43
51
  export declare class ThrottlingException extends __BaseException {
52
+ static readonly shapeId: string;
44
53
  readonly name: "ThrottlingException";
45
54
  readonly $fault: "client";
46
55
  constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
47
56
  }
48
57
  export declare class TimestampOutOfBoundsException extends __BaseException {
58
+ static readonly shapeId: string;
49
59
  readonly name: "TimestampOutOfBoundsException";
50
60
  readonly $fault: "client";
51
61
  constructor(opts: __ExceptionOptionType<TimestampOutOfBoundsException, __BaseException>);
52
62
  }
53
63
  export declare class CustomerNotEntitledException extends __BaseException {
64
+ static readonly shapeId: string;
54
65
  readonly name: "CustomerNotEntitledException";
55
66
  readonly $fault: "client";
56
67
  constructor(opts: __ExceptionOptionType<CustomerNotEntitledException, __BaseException>);
57
68
  }
58
69
  export declare class DuplicateRequestException extends __BaseException {
70
+ static readonly shapeId: string;
59
71
  readonly name: "DuplicateRequestException";
60
72
  readonly $fault: "client";
61
73
  constructor(opts: __ExceptionOptionType<DuplicateRequestException, __BaseException>);
62
74
  }
63
75
  export declare class IdempotencyConflictException extends __BaseException {
76
+ static readonly shapeId: string;
64
77
  readonly name: "IdempotencyConflictException";
65
78
  readonly $fault: "client";
66
79
  constructor(opts: __ExceptionOptionType<IdempotencyConflictException, __BaseException>);
67
80
  }
68
81
  export declare class InvalidEndpointRegionException extends __BaseException {
82
+ static readonly shapeId: string;
69
83
  readonly name: "InvalidEndpointRegionException";
70
84
  readonly $fault: "client";
71
85
  constructor(opts: __ExceptionOptionType<InvalidEndpointRegionException, __BaseException>);
72
86
  }
73
87
  export declare class InvalidPublicKeyVersionException extends __BaseException {
88
+ static readonly shapeId: string;
74
89
  readonly name: "InvalidPublicKeyVersionException";
75
90
  readonly $fault: "client";
76
91
  constructor(opts: __ExceptionOptionType<InvalidPublicKeyVersionException, __BaseException>);
77
92
  }
78
93
  export declare class InvalidRegionException extends __BaseException {
94
+ static readonly shapeId: string;
79
95
  readonly name: "InvalidRegionException";
80
96
  readonly $fault: "client";
81
97
  constructor(opts: __ExceptionOptionType<InvalidRegionException, __BaseException>);
82
98
  }
83
99
  export declare class PlatformNotSupportedException extends __BaseException {
100
+ static readonly shapeId: string;
84
101
  readonly name: "PlatformNotSupportedException";
85
102
  readonly $fault: "client";
86
103
  constructor(opts: __ExceptionOptionType<PlatformNotSupportedException, __BaseException>);
87
104
  }
88
105
  export declare class ExpiredTokenException extends __BaseException {
106
+ static readonly shapeId: string;
89
107
  readonly name: "ExpiredTokenException";
90
108
  readonly $fault: "client";
91
109
  constructor(opts: __ExceptionOptionType<ExpiredTokenException, __BaseException>);
92
110
  }
93
111
  export declare class InvalidTokenException extends __BaseException {
112
+ static readonly shapeId: string;
94
113
  readonly name: "InvalidTokenException";
95
114
  readonly $fault: "client";
96
115
  constructor(opts: __ExceptionOptionType<InvalidTokenException, __BaseException>);
@@ -53,9 +53,13 @@ export interface RegisterUsageResult {
53
53
  export interface ResolveCustomerRequest {
54
54
  RegistrationToken: string | undefined;
55
55
  }
56
+ export interface Metadata {
57
+ AgreementId?: string | undefined;
58
+ }
56
59
  export interface ResolveCustomerResult {
57
60
  CustomerIdentifier?: string | undefined;
58
61
  ProductCode?: string | undefined;
59
62
  CustomerAWSAccountId?: string | undefined;
60
63
  LicenseArn?: string | undefined;
64
+ Metadata?: Metadata | undefined;
61
65
  }
@@ -23,6 +23,7 @@ export declare var TimestampOutOfBoundsException$: StaticErrorSchema;
23
23
  export declare const errorTypeRegistries: TypeRegistry[];
24
24
  export declare var BatchMeterUsageRequest$: StaticStructureSchema;
25
25
  export declare var BatchMeterUsageResult$: StaticStructureSchema;
26
+ export declare var Metadata$: StaticStructureSchema;
26
27
  export declare var MeterUsageRequest$: StaticStructureSchema;
27
28
  export declare var MeterUsageResult$: StaticStructureSchema;
28
29
  export declare var RegisterUsageRequest$: StaticStructureSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-marketplace-metering",
3
- "version": "3.1147.0",
3
+ "version": "3.1149.0",
4
4
  "description": "AWS SDK for JavaScript Marketplace Metering Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-marketplace-metering",
6
6
  "license": "Apache-2.0",
@@ -46,10 +46,10 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.978.1",
50
- "@aws-sdk/credential-provider-node": "^3.972.84",
49
+ "@aws-sdk/core": "^3.978.2",
50
+ "@aws-sdk/credential-provider-node": "^3.972.85",
51
51
  "@aws-sdk/types": "^3.974.6",
52
- "@smithy/core": "^3.35.0",
52
+ "@smithy/core": "^3.35.2",
53
53
  "@smithy/fetch-http-handler": "^5.8.0",
54
54
  "@smithy/node-http-handler": "^4.12.1",
55
55
  "@smithy/types": "^4.19.0",