@aws-sdk/client-marketplace-catalog 3.934.0 → 3.935.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
@@ -131,22 +131,6 @@ let AccessDeniedException$1 = class AccessDeniedException extends MarketplaceCat
131
131
  this.Message = opts.Message;
132
132
  }
133
133
  };
134
- const AmiProductVisibilityString = {
135
- Draft: "Draft",
136
- Limited: "Limited",
137
- Public: "Public",
138
- Restricted: "Restricted",
139
- };
140
- const AmiProductSortBy = {
141
- EntityId: "EntityId",
142
- LastModifiedDate: "LastModifiedDate",
143
- ProductTitle: "ProductTitle",
144
- Visibility: "Visibility",
145
- };
146
- const SortOrder = {
147
- ASCENDING: "ASCENDING",
148
- DESCENDING: "DESCENDING",
149
- };
150
134
  let InternalServiceException$1 = class InternalServiceException extends MarketplaceCatalogServiceException$1 {
151
135
  name = "InternalServiceException";
152
136
  $fault = "server";
@@ -217,21 +201,6 @@ let ResourceNotFoundException$1 = class ResourceNotFoundException extends Market
217
201
  this.Message = opts.Message;
218
202
  }
219
203
  };
220
- const FailureCode = {
221
- ClientError: "CLIENT_ERROR",
222
- ServerFault: "SERVER_FAULT",
223
- };
224
- const Intent = {
225
- APPLY: "APPLY",
226
- VALIDATE: "VALIDATE",
227
- };
228
- const ChangeStatus = {
229
- APPLYING: "APPLYING",
230
- CANCELLED: "CANCELLED",
231
- FAILED: "FAILED",
232
- PREPARING: "PREPARING",
233
- SUCCEEDED: "SUCCEEDED",
234
- };
235
204
  let ResourceNotSupportedException$1 = class ResourceNotSupportedException extends MarketplaceCatalogServiceException$1 {
236
205
  name = "ResourceNotSupportedException";
237
206
  $fault = "client";
@@ -246,103 +215,6 @@ let ResourceNotSupportedException$1 = class ResourceNotSupportedException extend
246
215
  this.Message = opts.Message;
247
216
  }
248
217
  };
249
- const ContainerProductVisibilityString = {
250
- Draft: "Draft",
251
- Limited: "Limited",
252
- Public: "Public",
253
- Restricted: "Restricted",
254
- };
255
- const DataProductVisibilityString = {
256
- Draft: "Draft",
257
- Limited: "Limited",
258
- Public: "Public",
259
- Restricted: "Restricted",
260
- Unavailable: "Unavailable",
261
- };
262
- const MachineLearningProductVisibilityString = {
263
- Draft: "Draft",
264
- Limited: "Limited",
265
- Public: "Public",
266
- Restricted: "Restricted",
267
- };
268
- const OfferStateString = {
269
- Draft: "Draft",
270
- Released: "Released",
271
- };
272
- const OfferTargetingString = {
273
- BuyerAccounts: "BuyerAccounts",
274
- CountryCodes: "CountryCodes",
275
- None: "None",
276
- ParticipatingPrograms: "ParticipatingPrograms",
277
- };
278
- const ResaleAuthorizationStatusString = {
279
- Active: "Active",
280
- Draft: "Draft",
281
- Restricted: "Restricted",
282
- };
283
- const SaaSProductVisibilityString = {
284
- Draft: "Draft",
285
- Limited: "Limited",
286
- Public: "Public",
287
- Restricted: "Restricted",
288
- };
289
- const ContainerProductSortBy = {
290
- CompatibleAWSServices: "CompatibleAWSServices",
291
- EntityId: "EntityId",
292
- LastModifiedDate: "LastModifiedDate",
293
- ProductTitle: "ProductTitle",
294
- Visibility: "Visibility",
295
- };
296
- const DataProductSortBy = {
297
- EntityId: "EntityId",
298
- LastModifiedDate: "LastModifiedDate",
299
- ProductTitle: "ProductTitle",
300
- Visibility: "Visibility",
301
- };
302
- const MachineLearningProductSortBy = {
303
- EntityId: "EntityId",
304
- LastModifiedDate: "LastModifiedDate",
305
- ProductTitle: "ProductTitle",
306
- Visibility: "Visibility",
307
- };
308
- const OfferSortBy = {
309
- AvailabilityEndDate: "AvailabilityEndDate",
310
- BuyerAccounts: "BuyerAccounts",
311
- EntityId: "EntityId",
312
- LastModifiedDate: "LastModifiedDate",
313
- Name: "Name",
314
- ProductId: "ProductId",
315
- ReleaseDate: "ReleaseDate",
316
- ResaleAuthorizationId: "ResaleAuthorizationId",
317
- State: "State",
318
- Targeting: "Targeting",
319
- };
320
- const ResaleAuthorizationSortBy = {
321
- AvailabilityEndDate: "AvailabilityEndDate",
322
- CreatedDate: "CreatedDate",
323
- EntityId: "EntityId",
324
- LastModifiedDate: "LastModifiedDate",
325
- ManufacturerAccountId: "ManufacturerAccountId",
326
- ManufacturerLegalName: "ManufacturerLegalName",
327
- Name: "Name",
328
- OfferExtendedStatus: "OfferExtendedStatus",
329
- ProductId: "ProductId",
330
- ProductName: "ProductName",
331
- ResellerAccountID: "ResellerAccountID",
332
- ResellerLegalName: "ResellerLegalName",
333
- Status: "Status",
334
- };
335
- const SaaSProductSortBy = {
336
- DeliveryOptionTypes: "DeliveryOptionTypes",
337
- EntityId: "EntityId",
338
- LastModifiedDate: "LastModifiedDate",
339
- ProductTitle: "ProductTitle",
340
- Visibility: "Visibility",
341
- };
342
- const OwnershipType = {
343
- SELF: "SELF",
344
- SHARED: "SHARED",
345
- };
346
218
  let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends MarketplaceCatalogServiceException$1 {
347
219
  name = "ServiceQuotaExceededException";
348
220
  $fault = "client";
@@ -1594,6 +1466,135 @@ const paginateListChangeSets = core.createPaginator(MarketplaceCatalogClient, Li
1594
1466
 
1595
1467
  const paginateListEntities = core.createPaginator(MarketplaceCatalogClient, ListEntitiesCommand, "NextToken", "NextToken", "MaxResults");
1596
1468
 
1469
+ const AmiProductVisibilityString = {
1470
+ Draft: "Draft",
1471
+ Limited: "Limited",
1472
+ Public: "Public",
1473
+ Restricted: "Restricted",
1474
+ };
1475
+ const AmiProductSortBy = {
1476
+ EntityId: "EntityId",
1477
+ LastModifiedDate: "LastModifiedDate",
1478
+ ProductTitle: "ProductTitle",
1479
+ Visibility: "Visibility",
1480
+ };
1481
+ const SortOrder = {
1482
+ ASCENDING: "ASCENDING",
1483
+ DESCENDING: "DESCENDING",
1484
+ };
1485
+ const FailureCode = {
1486
+ ClientError: "CLIENT_ERROR",
1487
+ ServerFault: "SERVER_FAULT",
1488
+ };
1489
+ const Intent = {
1490
+ APPLY: "APPLY",
1491
+ VALIDATE: "VALIDATE",
1492
+ };
1493
+ const ChangeStatus = {
1494
+ APPLYING: "APPLYING",
1495
+ CANCELLED: "CANCELLED",
1496
+ FAILED: "FAILED",
1497
+ PREPARING: "PREPARING",
1498
+ SUCCEEDED: "SUCCEEDED",
1499
+ };
1500
+ const ContainerProductVisibilityString = {
1501
+ Draft: "Draft",
1502
+ Limited: "Limited",
1503
+ Public: "Public",
1504
+ Restricted: "Restricted",
1505
+ };
1506
+ const DataProductVisibilityString = {
1507
+ Draft: "Draft",
1508
+ Limited: "Limited",
1509
+ Public: "Public",
1510
+ Restricted: "Restricted",
1511
+ Unavailable: "Unavailable",
1512
+ };
1513
+ const MachineLearningProductVisibilityString = {
1514
+ Draft: "Draft",
1515
+ Limited: "Limited",
1516
+ Public: "Public",
1517
+ Restricted: "Restricted",
1518
+ };
1519
+ const OfferStateString = {
1520
+ Draft: "Draft",
1521
+ Released: "Released",
1522
+ };
1523
+ const OfferTargetingString = {
1524
+ BuyerAccounts: "BuyerAccounts",
1525
+ CountryCodes: "CountryCodes",
1526
+ None: "None",
1527
+ ParticipatingPrograms: "ParticipatingPrograms",
1528
+ };
1529
+ const ResaleAuthorizationStatusString = {
1530
+ Active: "Active",
1531
+ Draft: "Draft",
1532
+ Restricted: "Restricted",
1533
+ };
1534
+ const SaaSProductVisibilityString = {
1535
+ Draft: "Draft",
1536
+ Limited: "Limited",
1537
+ Public: "Public",
1538
+ Restricted: "Restricted",
1539
+ };
1540
+ const ContainerProductSortBy = {
1541
+ CompatibleAWSServices: "CompatibleAWSServices",
1542
+ EntityId: "EntityId",
1543
+ LastModifiedDate: "LastModifiedDate",
1544
+ ProductTitle: "ProductTitle",
1545
+ Visibility: "Visibility",
1546
+ };
1547
+ const DataProductSortBy = {
1548
+ EntityId: "EntityId",
1549
+ LastModifiedDate: "LastModifiedDate",
1550
+ ProductTitle: "ProductTitle",
1551
+ Visibility: "Visibility",
1552
+ };
1553
+ const MachineLearningProductSortBy = {
1554
+ EntityId: "EntityId",
1555
+ LastModifiedDate: "LastModifiedDate",
1556
+ ProductTitle: "ProductTitle",
1557
+ Visibility: "Visibility",
1558
+ };
1559
+ const OfferSortBy = {
1560
+ AvailabilityEndDate: "AvailabilityEndDate",
1561
+ BuyerAccounts: "BuyerAccounts",
1562
+ EntityId: "EntityId",
1563
+ LastModifiedDate: "LastModifiedDate",
1564
+ Name: "Name",
1565
+ ProductId: "ProductId",
1566
+ ReleaseDate: "ReleaseDate",
1567
+ ResaleAuthorizationId: "ResaleAuthorizationId",
1568
+ State: "State",
1569
+ Targeting: "Targeting",
1570
+ };
1571
+ const ResaleAuthorizationSortBy = {
1572
+ AvailabilityEndDate: "AvailabilityEndDate",
1573
+ CreatedDate: "CreatedDate",
1574
+ EntityId: "EntityId",
1575
+ LastModifiedDate: "LastModifiedDate",
1576
+ ManufacturerAccountId: "ManufacturerAccountId",
1577
+ ManufacturerLegalName: "ManufacturerLegalName",
1578
+ Name: "Name",
1579
+ OfferExtendedStatus: "OfferExtendedStatus",
1580
+ ProductId: "ProductId",
1581
+ ProductName: "ProductName",
1582
+ ResellerAccountID: "ResellerAccountID",
1583
+ ResellerLegalName: "ResellerLegalName",
1584
+ Status: "Status",
1585
+ };
1586
+ const SaaSProductSortBy = {
1587
+ DeliveryOptionTypes: "DeliveryOptionTypes",
1588
+ EntityId: "EntityId",
1589
+ LastModifiedDate: "LastModifiedDate",
1590
+ ProductTitle: "ProductTitle",
1591
+ Visibility: "Visibility",
1592
+ };
1593
+ const OwnershipType = {
1594
+ SELF: "SELF",
1595
+ SHARED: "SHARED",
1596
+ };
1597
+
1597
1598
  Object.defineProperty(exports, "$Command", {
1598
1599
  enumerable: true,
1599
1600
  get: function () { return smithyClient.Command; }
package/dist-es/index.js CHANGED
@@ -2,5 +2,6 @@ export * from "./MarketplaceCatalogClient";
2
2
  export * from "./MarketplaceCatalog";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
- export * from "./models";
5
+ export * from "./models/enums";
6
+ export * from "./models/errors";
6
7
  export { MarketplaceCatalogServiceException } from "./models/MarketplaceCatalogServiceException";
@@ -0,0 +1,128 @@
1
+ export const AmiProductVisibilityString = {
2
+ Draft: "Draft",
3
+ Limited: "Limited",
4
+ Public: "Public",
5
+ Restricted: "Restricted",
6
+ };
7
+ export const AmiProductSortBy = {
8
+ EntityId: "EntityId",
9
+ LastModifiedDate: "LastModifiedDate",
10
+ ProductTitle: "ProductTitle",
11
+ Visibility: "Visibility",
12
+ };
13
+ export const SortOrder = {
14
+ ASCENDING: "ASCENDING",
15
+ DESCENDING: "DESCENDING",
16
+ };
17
+ export const FailureCode = {
18
+ ClientError: "CLIENT_ERROR",
19
+ ServerFault: "SERVER_FAULT",
20
+ };
21
+ export const Intent = {
22
+ APPLY: "APPLY",
23
+ VALIDATE: "VALIDATE",
24
+ };
25
+ export const ChangeStatus = {
26
+ APPLYING: "APPLYING",
27
+ CANCELLED: "CANCELLED",
28
+ FAILED: "FAILED",
29
+ PREPARING: "PREPARING",
30
+ SUCCEEDED: "SUCCEEDED",
31
+ };
32
+ export const ContainerProductVisibilityString = {
33
+ Draft: "Draft",
34
+ Limited: "Limited",
35
+ Public: "Public",
36
+ Restricted: "Restricted",
37
+ };
38
+ export const DataProductVisibilityString = {
39
+ Draft: "Draft",
40
+ Limited: "Limited",
41
+ Public: "Public",
42
+ Restricted: "Restricted",
43
+ Unavailable: "Unavailable",
44
+ };
45
+ export const MachineLearningProductVisibilityString = {
46
+ Draft: "Draft",
47
+ Limited: "Limited",
48
+ Public: "Public",
49
+ Restricted: "Restricted",
50
+ };
51
+ export const OfferStateString = {
52
+ Draft: "Draft",
53
+ Released: "Released",
54
+ };
55
+ export const OfferTargetingString = {
56
+ BuyerAccounts: "BuyerAccounts",
57
+ CountryCodes: "CountryCodes",
58
+ None: "None",
59
+ ParticipatingPrograms: "ParticipatingPrograms",
60
+ };
61
+ export const ResaleAuthorizationStatusString = {
62
+ Active: "Active",
63
+ Draft: "Draft",
64
+ Restricted: "Restricted",
65
+ };
66
+ export const SaaSProductVisibilityString = {
67
+ Draft: "Draft",
68
+ Limited: "Limited",
69
+ Public: "Public",
70
+ Restricted: "Restricted",
71
+ };
72
+ export const ContainerProductSortBy = {
73
+ CompatibleAWSServices: "CompatibleAWSServices",
74
+ EntityId: "EntityId",
75
+ LastModifiedDate: "LastModifiedDate",
76
+ ProductTitle: "ProductTitle",
77
+ Visibility: "Visibility",
78
+ };
79
+ export const DataProductSortBy = {
80
+ EntityId: "EntityId",
81
+ LastModifiedDate: "LastModifiedDate",
82
+ ProductTitle: "ProductTitle",
83
+ Visibility: "Visibility",
84
+ };
85
+ export const MachineLearningProductSortBy = {
86
+ EntityId: "EntityId",
87
+ LastModifiedDate: "LastModifiedDate",
88
+ ProductTitle: "ProductTitle",
89
+ Visibility: "Visibility",
90
+ };
91
+ export const OfferSortBy = {
92
+ AvailabilityEndDate: "AvailabilityEndDate",
93
+ BuyerAccounts: "BuyerAccounts",
94
+ EntityId: "EntityId",
95
+ LastModifiedDate: "LastModifiedDate",
96
+ Name: "Name",
97
+ ProductId: "ProductId",
98
+ ReleaseDate: "ReleaseDate",
99
+ ResaleAuthorizationId: "ResaleAuthorizationId",
100
+ State: "State",
101
+ Targeting: "Targeting",
102
+ };
103
+ export const ResaleAuthorizationSortBy = {
104
+ AvailabilityEndDate: "AvailabilityEndDate",
105
+ CreatedDate: "CreatedDate",
106
+ EntityId: "EntityId",
107
+ LastModifiedDate: "LastModifiedDate",
108
+ ManufacturerAccountId: "ManufacturerAccountId",
109
+ ManufacturerLegalName: "ManufacturerLegalName",
110
+ Name: "Name",
111
+ OfferExtendedStatus: "OfferExtendedStatus",
112
+ ProductId: "ProductId",
113
+ ProductName: "ProductName",
114
+ ResellerAccountID: "ResellerAccountID",
115
+ ResellerLegalName: "ResellerLegalName",
116
+ Status: "Status",
117
+ };
118
+ export const SaaSProductSortBy = {
119
+ DeliveryOptionTypes: "DeliveryOptionTypes",
120
+ EntityId: "EntityId",
121
+ LastModifiedDate: "LastModifiedDate",
122
+ ProductTitle: "ProductTitle",
123
+ Visibility: "Visibility",
124
+ };
125
+ export const OwnershipType = {
126
+ SELF: "SELF",
127
+ SHARED: "SHARED",
128
+ };
@@ -0,0 +1,113 @@
1
+ import { MarketplaceCatalogServiceException as __BaseException } from "./MarketplaceCatalogServiceException";
2
+ export class AccessDeniedException extends __BaseException {
3
+ name = "AccessDeniedException";
4
+ $fault = "client";
5
+ Message;
6
+ constructor(opts) {
7
+ super({
8
+ name: "AccessDeniedException",
9
+ $fault: "client",
10
+ ...opts,
11
+ });
12
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
13
+ this.Message = opts.Message;
14
+ }
15
+ }
16
+ export class InternalServiceException extends __BaseException {
17
+ name = "InternalServiceException";
18
+ $fault = "server";
19
+ Message;
20
+ constructor(opts) {
21
+ super({
22
+ name: "InternalServiceException",
23
+ $fault: "server",
24
+ ...opts,
25
+ });
26
+ Object.setPrototypeOf(this, InternalServiceException.prototype);
27
+ this.Message = opts.Message;
28
+ }
29
+ }
30
+ export class ThrottlingException extends __BaseException {
31
+ name = "ThrottlingException";
32
+ $fault = "client";
33
+ Message;
34
+ constructor(opts) {
35
+ super({
36
+ name: "ThrottlingException",
37
+ $fault: "client",
38
+ ...opts,
39
+ });
40
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
41
+ this.Message = opts.Message;
42
+ }
43
+ }
44
+ export class ValidationException extends __BaseException {
45
+ name = "ValidationException";
46
+ $fault = "client";
47
+ Message;
48
+ constructor(opts) {
49
+ super({
50
+ name: "ValidationException",
51
+ $fault: "client",
52
+ ...opts,
53
+ });
54
+ Object.setPrototypeOf(this, ValidationException.prototype);
55
+ this.Message = opts.Message;
56
+ }
57
+ }
58
+ export class ResourceInUseException extends __BaseException {
59
+ name = "ResourceInUseException";
60
+ $fault = "client";
61
+ Message;
62
+ constructor(opts) {
63
+ super({
64
+ name: "ResourceInUseException",
65
+ $fault: "client",
66
+ ...opts,
67
+ });
68
+ Object.setPrototypeOf(this, ResourceInUseException.prototype);
69
+ this.Message = opts.Message;
70
+ }
71
+ }
72
+ export class ResourceNotFoundException extends __BaseException {
73
+ name = "ResourceNotFoundException";
74
+ $fault = "client";
75
+ Message;
76
+ constructor(opts) {
77
+ super({
78
+ name: "ResourceNotFoundException",
79
+ $fault: "client",
80
+ ...opts,
81
+ });
82
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
83
+ this.Message = opts.Message;
84
+ }
85
+ }
86
+ export class ResourceNotSupportedException extends __BaseException {
87
+ name = "ResourceNotSupportedException";
88
+ $fault = "client";
89
+ Message;
90
+ constructor(opts) {
91
+ super({
92
+ name: "ResourceNotSupportedException",
93
+ $fault: "client",
94
+ ...opts,
95
+ });
96
+ Object.setPrototypeOf(this, ResourceNotSupportedException.prototype);
97
+ this.Message = opts.Message;
98
+ }
99
+ }
100
+ export class ServiceQuotaExceededException extends __BaseException {
101
+ name = "ServiceQuotaExceededException";
102
+ $fault = "client";
103
+ Message;
104
+ constructor(opts) {
105
+ super({
106
+ name: "ServiceQuotaExceededException",
107
+ $fault: "client",
108
+ ...opts,
109
+ });
110
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
111
+ this.Message = opts.Message;
112
+ }
113
+ }