@aws-sdk/client-marketplace-catalog 3.301.0 → 3.303.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.
@@ -86,19 +86,17 @@ class ValidationException extends MarketplaceCatalogServiceException_1.Marketpla
86
86
  }
87
87
  }
88
88
  exports.ValidationException = ValidationException;
89
- var FailureCode;
90
- (function (FailureCode) {
91
- FailureCode["ClientError"] = "CLIENT_ERROR";
92
- FailureCode["ServerFault"] = "SERVER_FAULT";
93
- })(FailureCode = exports.FailureCode || (exports.FailureCode = {}));
94
- var ChangeStatus;
95
- (function (ChangeStatus) {
96
- ChangeStatus["APPLYING"] = "APPLYING";
97
- ChangeStatus["CANCELLED"] = "CANCELLED";
98
- ChangeStatus["FAILED"] = "FAILED";
99
- ChangeStatus["PREPARING"] = "PREPARING";
100
- ChangeStatus["SUCCEEDED"] = "SUCCEEDED";
101
- })(ChangeStatus = exports.ChangeStatus || (exports.ChangeStatus = {}));
89
+ exports.FailureCode = {
90
+ ClientError: "CLIENT_ERROR",
91
+ ServerFault: "SERVER_FAULT",
92
+ };
93
+ exports.ChangeStatus = {
94
+ APPLYING: "APPLYING",
95
+ CANCELLED: "CANCELLED",
96
+ FAILED: "FAILED",
97
+ PREPARING: "PREPARING",
98
+ SUCCEEDED: "SUCCEEDED",
99
+ };
102
100
  class ResourceNotSupportedException extends MarketplaceCatalogServiceException_1.MarketplaceCatalogServiceException {
103
101
  constructor(opts) {
104
102
  super({
@@ -113,11 +111,10 @@ class ResourceNotSupportedException extends MarketplaceCatalogServiceException_1
113
111
  }
114
112
  }
115
113
  exports.ResourceNotSupportedException = ResourceNotSupportedException;
116
- var SortOrder;
117
- (function (SortOrder) {
118
- SortOrder["ASCENDING"] = "ASCENDING";
119
- SortOrder["DESCENDING"] = "DESCENDING";
120
- })(SortOrder = exports.SortOrder || (exports.SortOrder = {}));
114
+ exports.SortOrder = {
115
+ ASCENDING: "ASCENDING",
116
+ DESCENDING: "DESCENDING",
117
+ };
121
118
  class ServiceQuotaExceededException extends MarketplaceCatalogServiceException_1.MarketplaceCatalogServiceException {
122
119
  constructor(opts) {
123
120
  super({
@@ -77,19 +77,17 @@ export class ValidationException extends __BaseException {
77
77
  this.Message = opts.Message;
78
78
  }
79
79
  }
80
- export var FailureCode;
81
- (function (FailureCode) {
82
- FailureCode["ClientError"] = "CLIENT_ERROR";
83
- FailureCode["ServerFault"] = "SERVER_FAULT";
84
- })(FailureCode || (FailureCode = {}));
85
- export var ChangeStatus;
86
- (function (ChangeStatus) {
87
- ChangeStatus["APPLYING"] = "APPLYING";
88
- ChangeStatus["CANCELLED"] = "CANCELLED";
89
- ChangeStatus["FAILED"] = "FAILED";
90
- ChangeStatus["PREPARING"] = "PREPARING";
91
- ChangeStatus["SUCCEEDED"] = "SUCCEEDED";
92
- })(ChangeStatus || (ChangeStatus = {}));
80
+ export const FailureCode = {
81
+ ClientError: "CLIENT_ERROR",
82
+ ServerFault: "SERVER_FAULT",
83
+ };
84
+ export const ChangeStatus = {
85
+ APPLYING: "APPLYING",
86
+ CANCELLED: "CANCELLED",
87
+ FAILED: "FAILED",
88
+ PREPARING: "PREPARING",
89
+ SUCCEEDED: "SUCCEEDED",
90
+ };
93
91
  export class ResourceNotSupportedException extends __BaseException {
94
92
  constructor(opts) {
95
93
  super({
@@ -103,11 +101,10 @@ export class ResourceNotSupportedException extends __BaseException {
103
101
  this.Message = opts.Message;
104
102
  }
105
103
  }
106
- export var SortOrder;
107
- (function (SortOrder) {
108
- SortOrder["ASCENDING"] = "ASCENDING";
109
- SortOrder["DESCENDING"] = "DESCENDING";
110
- })(SortOrder || (SortOrder = {}));
104
+ export const SortOrder = {
105
+ ASCENDING: "ASCENDING",
106
+ DESCENDING: "DESCENDING",
107
+ };
111
108
  export class ServiceQuotaExceededException extends __BaseException {
112
109
  constructor(opts) {
113
110
  super({
@@ -181,21 +181,31 @@ export interface ChangeSummary {
181
181
  }
182
182
  /**
183
183
  * @public
184
+ * @enum
184
185
  */
185
- export declare enum FailureCode {
186
- ClientError = "CLIENT_ERROR",
187
- ServerFault = "SERVER_FAULT"
188
- }
186
+ export declare const FailureCode: {
187
+ readonly ClientError: "CLIENT_ERROR";
188
+ readonly ServerFault: "SERVER_FAULT";
189
+ };
189
190
  /**
190
191
  * @public
191
192
  */
192
- export declare enum ChangeStatus {
193
- APPLYING = "APPLYING",
194
- CANCELLED = "CANCELLED",
195
- FAILED = "FAILED",
196
- PREPARING = "PREPARING",
197
- SUCCEEDED = "SUCCEEDED"
198
- }
193
+ export type FailureCode = (typeof FailureCode)[keyof typeof FailureCode];
194
+ /**
195
+ * @public
196
+ * @enum
197
+ */
198
+ export declare const ChangeStatus: {
199
+ readonly APPLYING: "APPLYING";
200
+ readonly CANCELLED: "CANCELLED";
201
+ readonly FAILED: "FAILED";
202
+ readonly PREPARING: "PREPARING";
203
+ readonly SUCCEEDED: "SUCCEEDED";
204
+ };
205
+ /**
206
+ * @public
207
+ */
208
+ export type ChangeStatus = (typeof ChangeStatus)[keyof typeof ChangeStatus];
199
209
  /**
200
210
  * @public
201
211
  */
@@ -363,11 +373,16 @@ export interface Filter {
363
373
  }
364
374
  /**
365
375
  * @public
376
+ * @enum
366
377
  */
367
- export declare enum SortOrder {
368
- ASCENDING = "ASCENDING",
369
- DESCENDING = "DESCENDING"
370
- }
378
+ export declare const SortOrder: {
379
+ readonly ASCENDING: "ASCENDING";
380
+ readonly DESCENDING: "DESCENDING";
381
+ };
382
+ /**
383
+ * @public
384
+ */
385
+ export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
371
386
  /**
372
387
  * @public
373
388
  * <p>An object that contains two attributes, <code>SortBy</code> and
@@ -75,17 +75,19 @@ export interface ChangeSummary {
75
75
  ErrorDetailList?: ErrorDetail[];
76
76
  ChangeName?: string;
77
77
  }
78
- export declare enum FailureCode {
79
- ClientError = "CLIENT_ERROR",
80
- ServerFault = "SERVER_FAULT",
81
- }
82
- export declare enum ChangeStatus {
83
- APPLYING = "APPLYING",
84
- CANCELLED = "CANCELLED",
85
- FAILED = "FAILED",
86
- PREPARING = "PREPARING",
87
- SUCCEEDED = "SUCCEEDED",
88
- }
78
+ export declare const FailureCode: {
79
+ readonly ClientError: "CLIENT_ERROR";
80
+ readonly ServerFault: "SERVER_FAULT";
81
+ };
82
+ export type FailureCode = (typeof FailureCode)[keyof typeof FailureCode];
83
+ export declare const ChangeStatus: {
84
+ readonly APPLYING: "APPLYING";
85
+ readonly CANCELLED: "CANCELLED";
86
+ readonly FAILED: "FAILED";
87
+ readonly PREPARING: "PREPARING";
88
+ readonly SUCCEEDED: "SUCCEEDED";
89
+ };
90
+ export type ChangeStatus = (typeof ChangeStatus)[keyof typeof ChangeStatus];
89
91
  export interface DescribeChangeSetResponse {
90
92
  ChangeSetId?: string;
91
93
  ChangeSetArn?: string;
@@ -120,10 +122,11 @@ export interface Filter {
120
122
  Name?: string;
121
123
  ValueList?: string[];
122
124
  }
123
- export declare enum SortOrder {
124
- ASCENDING = "ASCENDING",
125
- DESCENDING = "DESCENDING",
126
- }
125
+ export declare const SortOrder: {
126
+ readonly ASCENDING: "ASCENDING";
127
+ readonly DESCENDING: "DESCENDING";
128
+ };
129
+ export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
127
130
  export interface Sort {
128
131
  SortBy?: string;
129
132
  SortOrder?: SortOrder | string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-marketplace-catalog",
3
3
  "description": "AWS SDK for JavaScript Marketplace Catalog Client for Node.js, Browser and React Native",
4
- "version": "3.301.0",
4
+ "version": "3.303.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,43 +21,43 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.301.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.301.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
24
+ "@aws-sdk/client-sts": "3.303.0",
25
+ "@aws-sdk/config-resolver": "3.303.0",
26
+ "@aws-sdk/credential-provider-node": "3.303.0",
27
+ "@aws-sdk/fetch-http-handler": "3.303.0",
28
+ "@aws-sdk/hash-node": "3.303.0",
29
+ "@aws-sdk/invalid-dependency": "3.303.0",
30
+ "@aws-sdk/middleware-content-length": "3.303.0",
31
+ "@aws-sdk/middleware-endpoint": "3.303.0",
32
+ "@aws-sdk/middleware-host-header": "3.303.0",
33
+ "@aws-sdk/middleware-logger": "3.303.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.303.0",
35
+ "@aws-sdk/middleware-retry": "3.303.0",
36
+ "@aws-sdk/middleware-serde": "3.303.0",
37
+ "@aws-sdk/middleware-signing": "3.303.0",
38
+ "@aws-sdk/middleware-stack": "3.303.0",
39
+ "@aws-sdk/middleware-user-agent": "3.303.0",
40
+ "@aws-sdk/node-config-provider": "3.303.0",
41
+ "@aws-sdk/node-http-handler": "3.303.0",
42
+ "@aws-sdk/protocol-http": "3.303.0",
43
+ "@aws-sdk/smithy-client": "3.303.0",
44
+ "@aws-sdk/types": "3.303.0",
45
+ "@aws-sdk/url-parser": "3.303.0",
46
+ "@aws-sdk/util-base64": "3.303.0",
47
+ "@aws-sdk/util-body-length-browser": "3.303.0",
48
+ "@aws-sdk/util-body-length-node": "3.303.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.303.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.303.0",
51
+ "@aws-sdk/util-endpoints": "3.303.0",
52
+ "@aws-sdk/util-retry": "3.303.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.303.0",
54
+ "@aws-sdk/util-user-agent-node": "3.303.0",
55
+ "@aws-sdk/util-utf8": "3.303.0",
56
56
  "tslib": "^2.5.0",
57
57
  "uuid": "^8.3.2"
58
58
  },
59
59
  "devDependencies": {
60
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
60
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
61
61
  "@tsconfig/node14": "1.0.3",
62
62
  "@types/node": "^14.14.31",
63
63
  "@types/uuid": "^8.3.0",