@aws-sdk/client-marketplace-agreement 3.933.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 +32 -31
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +31 -0
- package/dist-es/models/errors.js +79 -0
- package/dist-es/models/models_0.js +1 -110
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +63 -0
- package/dist-types/models/errors.d.ts +109 -0
- package/dist-types/models/models_0.d.ts +1 -170
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +37 -0
- package/dist-types/ts3.4/models/errors.d.ts +48 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1 -83
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -131,17 +131,6 @@ let AccessDeniedException$1 = class AccessDeniedException extends MarketplaceAgr
|
|
|
131
131
|
this.requestId = opts.requestId;
|
|
132
132
|
}
|
|
133
133
|
};
|
|
134
|
-
const AgreementStatus = {
|
|
135
|
-
ACTIVE: "ACTIVE",
|
|
136
|
-
ARCHIVED: "ARCHIVED",
|
|
137
|
-
CANCELLED: "CANCELLED",
|
|
138
|
-
EXPIRED: "EXPIRED",
|
|
139
|
-
RENEWED: "RENEWED",
|
|
140
|
-
REPLACED: "REPLACED",
|
|
141
|
-
ROLLED_BACK: "ROLLED_BACK",
|
|
142
|
-
SUPERSEDED: "SUPERSEDED",
|
|
143
|
-
TERMINATED: "TERMINATED",
|
|
144
|
-
};
|
|
145
134
|
let InternalServerException$1 = class InternalServerException extends MarketplaceAgreementServiceException$1 {
|
|
146
135
|
name = "InternalServerException";
|
|
147
136
|
$fault = "server";
|
|
@@ -156,9 +145,6 @@ let InternalServerException$1 = class InternalServerException extends Marketplac
|
|
|
156
145
|
this.requestId = opts.requestId;
|
|
157
146
|
}
|
|
158
147
|
};
|
|
159
|
-
const ResourceType = {
|
|
160
|
-
AGREEMENT: "Agreement",
|
|
161
|
-
};
|
|
162
148
|
let ResourceNotFoundException$1 = class ResourceNotFoundException extends MarketplaceAgreementServiceException$1 {
|
|
163
149
|
name = "ResourceNotFoundException";
|
|
164
150
|
$fault = "client";
|
|
@@ -191,19 +177,6 @@ let ThrottlingException$1 = class ThrottlingException extends MarketplaceAgreeme
|
|
|
191
177
|
this.requestId = opts.requestId;
|
|
192
178
|
}
|
|
193
179
|
};
|
|
194
|
-
const ValidationExceptionReason = {
|
|
195
|
-
INVALID_AGREEMENT_ID: "INVALID_AGREEMENT_ID",
|
|
196
|
-
INVALID_CATALOG: "INVALID_CATALOG",
|
|
197
|
-
INVALID_FILTER_NAME: "INVALID_FILTER_NAME",
|
|
198
|
-
INVALID_FILTER_VALUES: "INVALID_FILTER_VALUES",
|
|
199
|
-
INVALID_MAX_RESULTS: "INVALID_MAX_RESULTS",
|
|
200
|
-
INVALID_NEXT_TOKEN: "INVALID_NEXT_TOKEN",
|
|
201
|
-
INVALID_SORT_BY: "INVALID_SORT_BY",
|
|
202
|
-
INVALID_SORT_ORDER: "INVALID_SORT_ORDER",
|
|
203
|
-
MISSING_AGREEMENT_ID: "MISSING_AGREEMENT_ID",
|
|
204
|
-
OTHER: "OTHER",
|
|
205
|
-
UNSUPPORTED_FILTERS: "UNSUPPORTED_FILTERS",
|
|
206
|
-
};
|
|
207
180
|
let ValidationException$1 = class ValidationException extends MarketplaceAgreementServiceException$1 {
|
|
208
181
|
name = "ValidationException";
|
|
209
182
|
$fault = "client";
|
|
@@ -222,10 +195,6 @@ let ValidationException$1 = class ValidationException extends MarketplaceAgreeme
|
|
|
222
195
|
this.fields = opts.fields;
|
|
223
196
|
}
|
|
224
197
|
};
|
|
225
|
-
const SortOrder = {
|
|
226
|
-
ASCENDING: "ASCENDING",
|
|
227
|
-
DESCENDING: "DESCENDING",
|
|
228
|
-
};
|
|
229
198
|
|
|
230
199
|
const _A = "Acceptor";
|
|
231
200
|
const _ADE = "AccessDeniedException";
|
|
@@ -645,6 +614,38 @@ const paginateGetAgreementTerms = core.createPaginator(MarketplaceAgreementClien
|
|
|
645
614
|
|
|
646
615
|
const paginateSearchAgreements = core.createPaginator(MarketplaceAgreementClient, SearchAgreementsCommand, "nextToken", "nextToken", "maxResults");
|
|
647
616
|
|
|
617
|
+
const AgreementStatus = {
|
|
618
|
+
ACTIVE: "ACTIVE",
|
|
619
|
+
ARCHIVED: "ARCHIVED",
|
|
620
|
+
CANCELLED: "CANCELLED",
|
|
621
|
+
EXPIRED: "EXPIRED",
|
|
622
|
+
RENEWED: "RENEWED",
|
|
623
|
+
REPLACED: "REPLACED",
|
|
624
|
+
ROLLED_BACK: "ROLLED_BACK",
|
|
625
|
+
SUPERSEDED: "SUPERSEDED",
|
|
626
|
+
TERMINATED: "TERMINATED",
|
|
627
|
+
};
|
|
628
|
+
const ResourceType = {
|
|
629
|
+
AGREEMENT: "Agreement",
|
|
630
|
+
};
|
|
631
|
+
const ValidationExceptionReason = {
|
|
632
|
+
INVALID_AGREEMENT_ID: "INVALID_AGREEMENT_ID",
|
|
633
|
+
INVALID_CATALOG: "INVALID_CATALOG",
|
|
634
|
+
INVALID_FILTER_NAME: "INVALID_FILTER_NAME",
|
|
635
|
+
INVALID_FILTER_VALUES: "INVALID_FILTER_VALUES",
|
|
636
|
+
INVALID_MAX_RESULTS: "INVALID_MAX_RESULTS",
|
|
637
|
+
INVALID_NEXT_TOKEN: "INVALID_NEXT_TOKEN",
|
|
638
|
+
INVALID_SORT_BY: "INVALID_SORT_BY",
|
|
639
|
+
INVALID_SORT_ORDER: "INVALID_SORT_ORDER",
|
|
640
|
+
MISSING_AGREEMENT_ID: "MISSING_AGREEMENT_ID",
|
|
641
|
+
OTHER: "OTHER",
|
|
642
|
+
UNSUPPORTED_FILTERS: "UNSUPPORTED_FILTERS",
|
|
643
|
+
};
|
|
644
|
+
const SortOrder = {
|
|
645
|
+
ASCENDING: "ASCENDING",
|
|
646
|
+
DESCENDING: "DESCENDING",
|
|
647
|
+
};
|
|
648
|
+
|
|
648
649
|
Object.defineProperty(exports, "$Command", {
|
|
649
650
|
enumerable: true,
|
|
650
651
|
get: function () { return smithyClient.Command; }
|
package/dist-es/index.js
CHANGED
|
@@ -2,5 +2,6 @@ export * from "./MarketplaceAgreementClient";
|
|
|
2
2
|
export * from "./MarketplaceAgreement";
|
|
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 { MarketplaceAgreementServiceException } from "./models/MarketplaceAgreementServiceException";
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export const AgreementStatus = {
|
|
2
|
+
ACTIVE: "ACTIVE",
|
|
3
|
+
ARCHIVED: "ARCHIVED",
|
|
4
|
+
CANCELLED: "CANCELLED",
|
|
5
|
+
EXPIRED: "EXPIRED",
|
|
6
|
+
RENEWED: "RENEWED",
|
|
7
|
+
REPLACED: "REPLACED",
|
|
8
|
+
ROLLED_BACK: "ROLLED_BACK",
|
|
9
|
+
SUPERSEDED: "SUPERSEDED",
|
|
10
|
+
TERMINATED: "TERMINATED",
|
|
11
|
+
};
|
|
12
|
+
export const ResourceType = {
|
|
13
|
+
AGREEMENT: "Agreement",
|
|
14
|
+
};
|
|
15
|
+
export const ValidationExceptionReason = {
|
|
16
|
+
INVALID_AGREEMENT_ID: "INVALID_AGREEMENT_ID",
|
|
17
|
+
INVALID_CATALOG: "INVALID_CATALOG",
|
|
18
|
+
INVALID_FILTER_NAME: "INVALID_FILTER_NAME",
|
|
19
|
+
INVALID_FILTER_VALUES: "INVALID_FILTER_VALUES",
|
|
20
|
+
INVALID_MAX_RESULTS: "INVALID_MAX_RESULTS",
|
|
21
|
+
INVALID_NEXT_TOKEN: "INVALID_NEXT_TOKEN",
|
|
22
|
+
INVALID_SORT_BY: "INVALID_SORT_BY",
|
|
23
|
+
INVALID_SORT_ORDER: "INVALID_SORT_ORDER",
|
|
24
|
+
MISSING_AGREEMENT_ID: "MISSING_AGREEMENT_ID",
|
|
25
|
+
OTHER: "OTHER",
|
|
26
|
+
UNSUPPORTED_FILTERS: "UNSUPPORTED_FILTERS",
|
|
27
|
+
};
|
|
28
|
+
export const SortOrder = {
|
|
29
|
+
ASCENDING: "ASCENDING",
|
|
30
|
+
DESCENDING: "DESCENDING",
|
|
31
|
+
};
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { MarketplaceAgreementServiceException as __BaseException } from "./MarketplaceAgreementServiceException";
|
|
2
|
+
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
name = "AccessDeniedException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
requestId;
|
|
6
|
+
constructor(opts) {
|
|
7
|
+
super({
|
|
8
|
+
name: "AccessDeniedException",
|
|
9
|
+
$fault: "client",
|
|
10
|
+
...opts,
|
|
11
|
+
});
|
|
12
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
|
+
this.requestId = opts.requestId;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export class InternalServerException extends __BaseException {
|
|
17
|
+
name = "InternalServerException";
|
|
18
|
+
$fault = "server";
|
|
19
|
+
requestId;
|
|
20
|
+
constructor(opts) {
|
|
21
|
+
super({
|
|
22
|
+
name: "InternalServerException",
|
|
23
|
+
$fault: "server",
|
|
24
|
+
...opts,
|
|
25
|
+
});
|
|
26
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
27
|
+
this.requestId = opts.requestId;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
31
|
+
name = "ResourceNotFoundException";
|
|
32
|
+
$fault = "client";
|
|
33
|
+
requestId;
|
|
34
|
+
resourceId;
|
|
35
|
+
resourceType;
|
|
36
|
+
constructor(opts) {
|
|
37
|
+
super({
|
|
38
|
+
name: "ResourceNotFoundException",
|
|
39
|
+
$fault: "client",
|
|
40
|
+
...opts,
|
|
41
|
+
});
|
|
42
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
43
|
+
this.requestId = opts.requestId;
|
|
44
|
+
this.resourceId = opts.resourceId;
|
|
45
|
+
this.resourceType = opts.resourceType;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
export class ThrottlingException extends __BaseException {
|
|
49
|
+
name = "ThrottlingException";
|
|
50
|
+
$fault = "client";
|
|
51
|
+
requestId;
|
|
52
|
+
constructor(opts) {
|
|
53
|
+
super({
|
|
54
|
+
name: "ThrottlingException",
|
|
55
|
+
$fault: "client",
|
|
56
|
+
...opts,
|
|
57
|
+
});
|
|
58
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
59
|
+
this.requestId = opts.requestId;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
export class ValidationException extends __BaseException {
|
|
63
|
+
name = "ValidationException";
|
|
64
|
+
$fault = "client";
|
|
65
|
+
requestId;
|
|
66
|
+
reason;
|
|
67
|
+
fields;
|
|
68
|
+
constructor(opts) {
|
|
69
|
+
super({
|
|
70
|
+
name: "ValidationException",
|
|
71
|
+
$fault: "client",
|
|
72
|
+
...opts,
|
|
73
|
+
});
|
|
74
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
75
|
+
this.requestId = opts.requestId;
|
|
76
|
+
this.reason = opts.reason;
|
|
77
|
+
this.fields = opts.fields;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
@@ -1,110 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export class AccessDeniedException extends __BaseException {
|
|
3
|
-
name = "AccessDeniedException";
|
|
4
|
-
$fault = "client";
|
|
5
|
-
requestId;
|
|
6
|
-
constructor(opts) {
|
|
7
|
-
super({
|
|
8
|
-
name: "AccessDeniedException",
|
|
9
|
-
$fault: "client",
|
|
10
|
-
...opts,
|
|
11
|
-
});
|
|
12
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
|
-
this.requestId = opts.requestId;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
export const AgreementStatus = {
|
|
17
|
-
ACTIVE: "ACTIVE",
|
|
18
|
-
ARCHIVED: "ARCHIVED",
|
|
19
|
-
CANCELLED: "CANCELLED",
|
|
20
|
-
EXPIRED: "EXPIRED",
|
|
21
|
-
RENEWED: "RENEWED",
|
|
22
|
-
REPLACED: "REPLACED",
|
|
23
|
-
ROLLED_BACK: "ROLLED_BACK",
|
|
24
|
-
SUPERSEDED: "SUPERSEDED",
|
|
25
|
-
TERMINATED: "TERMINATED",
|
|
26
|
-
};
|
|
27
|
-
export class InternalServerException extends __BaseException {
|
|
28
|
-
name = "InternalServerException";
|
|
29
|
-
$fault = "server";
|
|
30
|
-
requestId;
|
|
31
|
-
constructor(opts) {
|
|
32
|
-
super({
|
|
33
|
-
name: "InternalServerException",
|
|
34
|
-
$fault: "server",
|
|
35
|
-
...opts,
|
|
36
|
-
});
|
|
37
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
38
|
-
this.requestId = opts.requestId;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
export const ResourceType = {
|
|
42
|
-
AGREEMENT: "Agreement",
|
|
43
|
-
};
|
|
44
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
45
|
-
name = "ResourceNotFoundException";
|
|
46
|
-
$fault = "client";
|
|
47
|
-
requestId;
|
|
48
|
-
resourceId;
|
|
49
|
-
resourceType;
|
|
50
|
-
constructor(opts) {
|
|
51
|
-
super({
|
|
52
|
-
name: "ResourceNotFoundException",
|
|
53
|
-
$fault: "client",
|
|
54
|
-
...opts,
|
|
55
|
-
});
|
|
56
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
57
|
-
this.requestId = opts.requestId;
|
|
58
|
-
this.resourceId = opts.resourceId;
|
|
59
|
-
this.resourceType = opts.resourceType;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
export class ThrottlingException extends __BaseException {
|
|
63
|
-
name = "ThrottlingException";
|
|
64
|
-
$fault = "client";
|
|
65
|
-
requestId;
|
|
66
|
-
constructor(opts) {
|
|
67
|
-
super({
|
|
68
|
-
name: "ThrottlingException",
|
|
69
|
-
$fault: "client",
|
|
70
|
-
...opts,
|
|
71
|
-
});
|
|
72
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
73
|
-
this.requestId = opts.requestId;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
export const ValidationExceptionReason = {
|
|
77
|
-
INVALID_AGREEMENT_ID: "INVALID_AGREEMENT_ID",
|
|
78
|
-
INVALID_CATALOG: "INVALID_CATALOG",
|
|
79
|
-
INVALID_FILTER_NAME: "INVALID_FILTER_NAME",
|
|
80
|
-
INVALID_FILTER_VALUES: "INVALID_FILTER_VALUES",
|
|
81
|
-
INVALID_MAX_RESULTS: "INVALID_MAX_RESULTS",
|
|
82
|
-
INVALID_NEXT_TOKEN: "INVALID_NEXT_TOKEN",
|
|
83
|
-
INVALID_SORT_BY: "INVALID_SORT_BY",
|
|
84
|
-
INVALID_SORT_ORDER: "INVALID_SORT_ORDER",
|
|
85
|
-
MISSING_AGREEMENT_ID: "MISSING_AGREEMENT_ID",
|
|
86
|
-
OTHER: "OTHER",
|
|
87
|
-
UNSUPPORTED_FILTERS: "UNSUPPORTED_FILTERS",
|
|
88
|
-
};
|
|
89
|
-
export class ValidationException extends __BaseException {
|
|
90
|
-
name = "ValidationException";
|
|
91
|
-
$fault = "client";
|
|
92
|
-
requestId;
|
|
93
|
-
reason;
|
|
94
|
-
fields;
|
|
95
|
-
constructor(opts) {
|
|
96
|
-
super({
|
|
97
|
-
name: "ValidationException",
|
|
98
|
-
$fault: "client",
|
|
99
|
-
...opts,
|
|
100
|
-
});
|
|
101
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
102
|
-
this.requestId = opts.requestId;
|
|
103
|
-
this.reason = opts.reason;
|
|
104
|
-
this.fields = opts.fields;
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
export const SortOrder = {
|
|
108
|
-
ASCENDING: "ASCENDING",
|
|
109
|
-
DESCENDING: "DESCENDING",
|
|
110
|
-
};
|
|
1
|
+
export {};
|
|
@@ -136,7 +136,7 @@ const _va = "values";
|
|
|
136
136
|
const _val = "value";
|
|
137
137
|
const n0 = "com.amazonaws.marketplaceagreement";
|
|
138
138
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
139
|
-
import { AccessDeniedException as __AccessDeniedException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/
|
|
139
|
+
import { AccessDeniedException as __AccessDeniedException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
|
|
140
140
|
import { MarketplaceAgreementServiceException as __MarketplaceAgreementServiceException } from "../models/MarketplaceAgreementServiceException";
|
|
141
141
|
export var Acceptor = [3, n0, _A, 0, [_aI], [0]];
|
|
142
142
|
export var AccessDeniedException = [
|
package/dist-types/index.d.ts
CHANGED
|
@@ -30,5 +30,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
30
30
|
export type { MarketplaceAgreementExtensionConfiguration } from "./extensionConfiguration";
|
|
31
31
|
export * from "./commands";
|
|
32
32
|
export * from "./pagination";
|
|
33
|
-
export * from "./models";
|
|
33
|
+
export * from "./models/enums";
|
|
34
|
+
export * from "./models/errors";
|
|
35
|
+
export type * from "./models/models_0";
|
|
34
36
|
export { MarketplaceAgreementServiceException } from "./models/MarketplaceAgreementServiceException";
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const AgreementStatus: {
|
|
6
|
+
readonly ACTIVE: "ACTIVE";
|
|
7
|
+
readonly ARCHIVED: "ARCHIVED";
|
|
8
|
+
readonly CANCELLED: "CANCELLED";
|
|
9
|
+
readonly EXPIRED: "EXPIRED";
|
|
10
|
+
readonly RENEWED: "RENEWED";
|
|
11
|
+
readonly REPLACED: "REPLACED";
|
|
12
|
+
readonly ROLLED_BACK: "ROLLED_BACK";
|
|
13
|
+
readonly SUPERSEDED: "SUPERSEDED";
|
|
14
|
+
readonly TERMINATED: "TERMINATED";
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*/
|
|
19
|
+
export type AgreementStatus = (typeof AgreementStatus)[keyof typeof AgreementStatus];
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* @enum
|
|
23
|
+
*/
|
|
24
|
+
export declare const ResourceType: {
|
|
25
|
+
readonly AGREEMENT: "Agreement";
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
*/
|
|
30
|
+
export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
|
|
31
|
+
/**
|
|
32
|
+
* @public
|
|
33
|
+
* @enum
|
|
34
|
+
*/
|
|
35
|
+
export declare const ValidationExceptionReason: {
|
|
36
|
+
readonly INVALID_AGREEMENT_ID: "INVALID_AGREEMENT_ID";
|
|
37
|
+
readonly INVALID_CATALOG: "INVALID_CATALOG";
|
|
38
|
+
readonly INVALID_FILTER_NAME: "INVALID_FILTER_NAME";
|
|
39
|
+
readonly INVALID_FILTER_VALUES: "INVALID_FILTER_VALUES";
|
|
40
|
+
readonly INVALID_MAX_RESULTS: "INVALID_MAX_RESULTS";
|
|
41
|
+
readonly INVALID_NEXT_TOKEN: "INVALID_NEXT_TOKEN";
|
|
42
|
+
readonly INVALID_SORT_BY: "INVALID_SORT_BY";
|
|
43
|
+
readonly INVALID_SORT_ORDER: "INVALID_SORT_ORDER";
|
|
44
|
+
readonly MISSING_AGREEMENT_ID: "MISSING_AGREEMENT_ID";
|
|
45
|
+
readonly OTHER: "OTHER";
|
|
46
|
+
readonly UNSUPPORTED_FILTERS: "UNSUPPORTED_FILTERS";
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* @public
|
|
50
|
+
*/
|
|
51
|
+
export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
52
|
+
/**
|
|
53
|
+
* @public
|
|
54
|
+
* @enum
|
|
55
|
+
*/
|
|
56
|
+
export declare const SortOrder: {
|
|
57
|
+
readonly ASCENDING: "ASCENDING";
|
|
58
|
+
readonly DESCENDING: "DESCENDING";
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* @public
|
|
62
|
+
*/
|
|
63
|
+
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { ResourceType, ValidationExceptionReason } from "./enums";
|
|
3
|
+
import { MarketplaceAgreementServiceException as __BaseException } from "./MarketplaceAgreementServiceException";
|
|
4
|
+
import { ValidationExceptionField } from "./models_0";
|
|
5
|
+
/**
|
|
6
|
+
* <p>User does not have sufficient access to perform this action.</p>
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
10
|
+
readonly name: "AccessDeniedException";
|
|
11
|
+
readonly $fault: "client";
|
|
12
|
+
/**
|
|
13
|
+
* <p>The unique identifier for the error.</p>
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
requestId?: string | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* @internal
|
|
19
|
+
*/
|
|
20
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* <p>Unexpected error during processing of request.</p>
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
export declare class InternalServerException extends __BaseException {
|
|
27
|
+
readonly name: "InternalServerException";
|
|
28
|
+
readonly $fault: "server";
|
|
29
|
+
/**
|
|
30
|
+
* <p>The unique identifier for the error.</p>
|
|
31
|
+
* @public
|
|
32
|
+
*/
|
|
33
|
+
requestId?: string | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* @internal
|
|
36
|
+
*/
|
|
37
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* <p>Request references a resource which does not exist.</p>
|
|
41
|
+
* @public
|
|
42
|
+
*/
|
|
43
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
44
|
+
readonly name: "ResourceNotFoundException";
|
|
45
|
+
readonly $fault: "client";
|
|
46
|
+
/**
|
|
47
|
+
* <p>The unique identifier for the error.</p>
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
50
|
+
requestId?: string | undefined;
|
|
51
|
+
/**
|
|
52
|
+
* <p>The unique identifier for the resource.</p>
|
|
53
|
+
* @public
|
|
54
|
+
*/
|
|
55
|
+
resourceId?: string | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* <p>The type of resource.</p>
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
resourceType?: ResourceType | undefined;
|
|
61
|
+
/**
|
|
62
|
+
* @internal
|
|
63
|
+
*/
|
|
64
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* <p>Request was denied due to request throttling.</p>
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
export declare class ThrottlingException extends __BaseException {
|
|
71
|
+
readonly name: "ThrottlingException";
|
|
72
|
+
readonly $fault: "client";
|
|
73
|
+
/**
|
|
74
|
+
* <p>The unique identifier for the error.</p>
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
requestId?: string | undefined;
|
|
78
|
+
/**
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
81
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
export declare class ValidationException extends __BaseException {
|
|
88
|
+
readonly name: "ValidationException";
|
|
89
|
+
readonly $fault: "client";
|
|
90
|
+
/**
|
|
91
|
+
* <p>The unique identifier associated with the error.</p>
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
requestId?: string | undefined;
|
|
95
|
+
/**
|
|
96
|
+
* <p>The reason associated with the error.</p>
|
|
97
|
+
* @public
|
|
98
|
+
*/
|
|
99
|
+
reason?: ValidationExceptionReason | undefined;
|
|
100
|
+
/**
|
|
101
|
+
* <p>The fields associated with the error.</p>
|
|
102
|
+
* @public
|
|
103
|
+
*/
|
|
104
|
+
fields?: ValidationExceptionField[] | undefined;
|
|
105
|
+
/**
|
|
106
|
+
* @internal
|
|
107
|
+
*/
|
|
108
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
109
|
+
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { MarketplaceAgreementServiceException as __BaseException } from "./MarketplaceAgreementServiceException";
|
|
1
|
+
import { AgreementStatus, SortOrder } from "./enums";
|
|
3
2
|
/**
|
|
4
3
|
* <p>Enables you and your customers to move your existing agreements to AWS Marketplace. The
|
|
5
4
|
* customer won't be charged for product usage in AWS Marketplace because they already paid
|
|
@@ -733,42 +732,6 @@ export interface Acceptor {
|
|
|
733
732
|
*/
|
|
734
733
|
accountId?: string | undefined;
|
|
735
734
|
}
|
|
736
|
-
/**
|
|
737
|
-
* <p>User does not have sufficient access to perform this action.</p>
|
|
738
|
-
* @public
|
|
739
|
-
*/
|
|
740
|
-
export declare class AccessDeniedException extends __BaseException {
|
|
741
|
-
readonly name: "AccessDeniedException";
|
|
742
|
-
readonly $fault: "client";
|
|
743
|
-
/**
|
|
744
|
-
* <p>The unique identifier for the error.</p>
|
|
745
|
-
* @public
|
|
746
|
-
*/
|
|
747
|
-
requestId?: string | undefined;
|
|
748
|
-
/**
|
|
749
|
-
* @internal
|
|
750
|
-
*/
|
|
751
|
-
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
752
|
-
}
|
|
753
|
-
/**
|
|
754
|
-
* @public
|
|
755
|
-
* @enum
|
|
756
|
-
*/
|
|
757
|
-
export declare const AgreementStatus: {
|
|
758
|
-
readonly ACTIVE: "ACTIVE";
|
|
759
|
-
readonly ARCHIVED: "ARCHIVED";
|
|
760
|
-
readonly CANCELLED: "CANCELLED";
|
|
761
|
-
readonly EXPIRED: "EXPIRED";
|
|
762
|
-
readonly RENEWED: "RENEWED";
|
|
763
|
-
readonly REPLACED: "REPLACED";
|
|
764
|
-
readonly ROLLED_BACK: "ROLLED_BACK";
|
|
765
|
-
readonly SUPERSEDED: "SUPERSEDED";
|
|
766
|
-
readonly TERMINATED: "TERMINATED";
|
|
767
|
-
};
|
|
768
|
-
/**
|
|
769
|
-
* @public
|
|
770
|
-
*/
|
|
771
|
-
export type AgreementStatus = (typeof AgreementStatus)[keyof typeof AgreementStatus];
|
|
772
735
|
/**
|
|
773
736
|
* <p>The list of resources involved in the agreement.</p>
|
|
774
737
|
* @public
|
|
@@ -1030,78 +993,6 @@ export interface DescribeAgreementOutput {
|
|
|
1030
993
|
*/
|
|
1031
994
|
status?: AgreementStatus | undefined;
|
|
1032
995
|
}
|
|
1033
|
-
/**
|
|
1034
|
-
* <p>Unexpected error during processing of request.</p>
|
|
1035
|
-
* @public
|
|
1036
|
-
*/
|
|
1037
|
-
export declare class InternalServerException extends __BaseException {
|
|
1038
|
-
readonly name: "InternalServerException";
|
|
1039
|
-
readonly $fault: "server";
|
|
1040
|
-
/**
|
|
1041
|
-
* <p>The unique identifier for the error.</p>
|
|
1042
|
-
* @public
|
|
1043
|
-
*/
|
|
1044
|
-
requestId?: string | undefined;
|
|
1045
|
-
/**
|
|
1046
|
-
* @internal
|
|
1047
|
-
*/
|
|
1048
|
-
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
1049
|
-
}
|
|
1050
|
-
/**
|
|
1051
|
-
* @public
|
|
1052
|
-
* @enum
|
|
1053
|
-
*/
|
|
1054
|
-
export declare const ResourceType: {
|
|
1055
|
-
readonly AGREEMENT: "Agreement";
|
|
1056
|
-
};
|
|
1057
|
-
/**
|
|
1058
|
-
* @public
|
|
1059
|
-
*/
|
|
1060
|
-
export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
|
|
1061
|
-
/**
|
|
1062
|
-
* <p>Request references a resource which does not exist.</p>
|
|
1063
|
-
* @public
|
|
1064
|
-
*/
|
|
1065
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
1066
|
-
readonly name: "ResourceNotFoundException";
|
|
1067
|
-
readonly $fault: "client";
|
|
1068
|
-
/**
|
|
1069
|
-
* <p>The unique identifier for the error.</p>
|
|
1070
|
-
* @public
|
|
1071
|
-
*/
|
|
1072
|
-
requestId?: string | undefined;
|
|
1073
|
-
/**
|
|
1074
|
-
* <p>The unique identifier for the resource.</p>
|
|
1075
|
-
* @public
|
|
1076
|
-
*/
|
|
1077
|
-
resourceId?: string | undefined;
|
|
1078
|
-
/**
|
|
1079
|
-
* <p>The type of resource.</p>
|
|
1080
|
-
* @public
|
|
1081
|
-
*/
|
|
1082
|
-
resourceType?: ResourceType | undefined;
|
|
1083
|
-
/**
|
|
1084
|
-
* @internal
|
|
1085
|
-
*/
|
|
1086
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
1087
|
-
}
|
|
1088
|
-
/**
|
|
1089
|
-
* <p>Request was denied due to request throttling.</p>
|
|
1090
|
-
* @public
|
|
1091
|
-
*/
|
|
1092
|
-
export declare class ThrottlingException extends __BaseException {
|
|
1093
|
-
readonly name: "ThrottlingException";
|
|
1094
|
-
readonly $fault: "client";
|
|
1095
|
-
/**
|
|
1096
|
-
* <p>The unique identifier for the error.</p>
|
|
1097
|
-
* @public
|
|
1098
|
-
*/
|
|
1099
|
-
requestId?: string | undefined;
|
|
1100
|
-
/**
|
|
1101
|
-
* @internal
|
|
1102
|
-
*/
|
|
1103
|
-
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
1104
|
-
}
|
|
1105
996
|
/**
|
|
1106
997
|
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
1107
998
|
* @public
|
|
@@ -1118,54 +1009,6 @@ export interface ValidationExceptionField {
|
|
|
1118
1009
|
*/
|
|
1119
1010
|
message: string | undefined;
|
|
1120
1011
|
}
|
|
1121
|
-
/**
|
|
1122
|
-
* @public
|
|
1123
|
-
* @enum
|
|
1124
|
-
*/
|
|
1125
|
-
export declare const ValidationExceptionReason: {
|
|
1126
|
-
readonly INVALID_AGREEMENT_ID: "INVALID_AGREEMENT_ID";
|
|
1127
|
-
readonly INVALID_CATALOG: "INVALID_CATALOG";
|
|
1128
|
-
readonly INVALID_FILTER_NAME: "INVALID_FILTER_NAME";
|
|
1129
|
-
readonly INVALID_FILTER_VALUES: "INVALID_FILTER_VALUES";
|
|
1130
|
-
readonly INVALID_MAX_RESULTS: "INVALID_MAX_RESULTS";
|
|
1131
|
-
readonly INVALID_NEXT_TOKEN: "INVALID_NEXT_TOKEN";
|
|
1132
|
-
readonly INVALID_SORT_BY: "INVALID_SORT_BY";
|
|
1133
|
-
readonly INVALID_SORT_ORDER: "INVALID_SORT_ORDER";
|
|
1134
|
-
readonly MISSING_AGREEMENT_ID: "MISSING_AGREEMENT_ID";
|
|
1135
|
-
readonly OTHER: "OTHER";
|
|
1136
|
-
readonly UNSUPPORTED_FILTERS: "UNSUPPORTED_FILTERS";
|
|
1137
|
-
};
|
|
1138
|
-
/**
|
|
1139
|
-
* @public
|
|
1140
|
-
*/
|
|
1141
|
-
export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
1142
|
-
/**
|
|
1143
|
-
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
1144
|
-
* @public
|
|
1145
|
-
*/
|
|
1146
|
-
export declare class ValidationException extends __BaseException {
|
|
1147
|
-
readonly name: "ValidationException";
|
|
1148
|
-
readonly $fault: "client";
|
|
1149
|
-
/**
|
|
1150
|
-
* <p>The unique identifier associated with the error.</p>
|
|
1151
|
-
* @public
|
|
1152
|
-
*/
|
|
1153
|
-
requestId?: string | undefined;
|
|
1154
|
-
/**
|
|
1155
|
-
* <p>The reason associated with the error.</p>
|
|
1156
|
-
* @public
|
|
1157
|
-
*/
|
|
1158
|
-
reason?: ValidationExceptionReason | undefined;
|
|
1159
|
-
/**
|
|
1160
|
-
* <p>The fields associated with the error.</p>
|
|
1161
|
-
* @public
|
|
1162
|
-
*/
|
|
1163
|
-
fields?: ValidationExceptionField[] | undefined;
|
|
1164
|
-
/**
|
|
1165
|
-
* @internal
|
|
1166
|
-
*/
|
|
1167
|
-
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
1168
|
-
}
|
|
1169
1012
|
/**
|
|
1170
1013
|
* @public
|
|
1171
1014
|
*/
|
|
@@ -1220,18 +1063,6 @@ export interface Filter {
|
|
|
1220
1063
|
*/
|
|
1221
1064
|
values?: string[] | undefined;
|
|
1222
1065
|
}
|
|
1223
|
-
/**
|
|
1224
|
-
* @public
|
|
1225
|
-
* @enum
|
|
1226
|
-
*/
|
|
1227
|
-
export declare const SortOrder: {
|
|
1228
|
-
readonly ASCENDING: "ASCENDING";
|
|
1229
|
-
readonly DESCENDING: "DESCENDING";
|
|
1230
|
-
};
|
|
1231
|
-
/**
|
|
1232
|
-
* @public
|
|
1233
|
-
*/
|
|
1234
|
-
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
|
|
1235
1066
|
/**
|
|
1236
1067
|
* <p>An object that contains the <code>SortBy</code> and <code>SortOrder</code>
|
|
1237
1068
|
* attributes.</p>
|
|
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
5
5
|
export { MarketplaceAgreementExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
|
-
export * from "./models";
|
|
8
|
+
export * from "./models/enums";
|
|
9
|
+
export * from "./models/errors";
|
|
10
|
+
export * from "./models/models_0";
|
|
9
11
|
export { MarketplaceAgreementServiceException } from "./models/MarketplaceAgreementServiceException";
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export declare const AgreementStatus: {
|
|
2
|
+
readonly ACTIVE: "ACTIVE";
|
|
3
|
+
readonly ARCHIVED: "ARCHIVED";
|
|
4
|
+
readonly CANCELLED: "CANCELLED";
|
|
5
|
+
readonly EXPIRED: "EXPIRED";
|
|
6
|
+
readonly RENEWED: "RENEWED";
|
|
7
|
+
readonly REPLACED: "REPLACED";
|
|
8
|
+
readonly ROLLED_BACK: "ROLLED_BACK";
|
|
9
|
+
readonly SUPERSEDED: "SUPERSEDED";
|
|
10
|
+
readonly TERMINATED: "TERMINATED";
|
|
11
|
+
};
|
|
12
|
+
export type AgreementStatus =
|
|
13
|
+
(typeof AgreementStatus)[keyof typeof AgreementStatus];
|
|
14
|
+
export declare const ResourceType: {
|
|
15
|
+
readonly AGREEMENT: "Agreement";
|
|
16
|
+
};
|
|
17
|
+
export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
|
|
18
|
+
export declare const ValidationExceptionReason: {
|
|
19
|
+
readonly INVALID_AGREEMENT_ID: "INVALID_AGREEMENT_ID";
|
|
20
|
+
readonly INVALID_CATALOG: "INVALID_CATALOG";
|
|
21
|
+
readonly INVALID_FILTER_NAME: "INVALID_FILTER_NAME";
|
|
22
|
+
readonly INVALID_FILTER_VALUES: "INVALID_FILTER_VALUES";
|
|
23
|
+
readonly INVALID_MAX_RESULTS: "INVALID_MAX_RESULTS";
|
|
24
|
+
readonly INVALID_NEXT_TOKEN: "INVALID_NEXT_TOKEN";
|
|
25
|
+
readonly INVALID_SORT_BY: "INVALID_SORT_BY";
|
|
26
|
+
readonly INVALID_SORT_ORDER: "INVALID_SORT_ORDER";
|
|
27
|
+
readonly MISSING_AGREEMENT_ID: "MISSING_AGREEMENT_ID";
|
|
28
|
+
readonly OTHER: "OTHER";
|
|
29
|
+
readonly UNSUPPORTED_FILTERS: "UNSUPPORTED_FILTERS";
|
|
30
|
+
};
|
|
31
|
+
export type ValidationExceptionReason =
|
|
32
|
+
(typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
33
|
+
export declare const SortOrder: {
|
|
34
|
+
readonly ASCENDING: "ASCENDING";
|
|
35
|
+
readonly DESCENDING: "DESCENDING";
|
|
36
|
+
};
|
|
37
|
+
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { ResourceType, ValidationExceptionReason } from "./enums";
|
|
3
|
+
import { MarketplaceAgreementServiceException as __BaseException } from "./MarketplaceAgreementServiceException";
|
|
4
|
+
import { ValidationExceptionField } from "./models_0";
|
|
5
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
6
|
+
readonly name: "AccessDeniedException";
|
|
7
|
+
readonly $fault: "client";
|
|
8
|
+
requestId?: string | undefined;
|
|
9
|
+
constructor(
|
|
10
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
11
|
+
);
|
|
12
|
+
}
|
|
13
|
+
export declare class InternalServerException extends __BaseException {
|
|
14
|
+
readonly name: "InternalServerException";
|
|
15
|
+
readonly $fault: "server";
|
|
16
|
+
requestId?: string | undefined;
|
|
17
|
+
constructor(
|
|
18
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
19
|
+
);
|
|
20
|
+
}
|
|
21
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
22
|
+
readonly name: "ResourceNotFoundException";
|
|
23
|
+
readonly $fault: "client";
|
|
24
|
+
requestId?: string | undefined;
|
|
25
|
+
resourceId?: string | undefined;
|
|
26
|
+
resourceType?: ResourceType | undefined;
|
|
27
|
+
constructor(
|
|
28
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
29
|
+
);
|
|
30
|
+
}
|
|
31
|
+
export declare class ThrottlingException extends __BaseException {
|
|
32
|
+
readonly name: "ThrottlingException";
|
|
33
|
+
readonly $fault: "client";
|
|
34
|
+
requestId?: string | undefined;
|
|
35
|
+
constructor(
|
|
36
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
37
|
+
);
|
|
38
|
+
}
|
|
39
|
+
export declare class ValidationException extends __BaseException {
|
|
40
|
+
readonly name: "ValidationException";
|
|
41
|
+
readonly $fault: "client";
|
|
42
|
+
requestId?: string | undefined;
|
|
43
|
+
reason?: ValidationExceptionReason | undefined;
|
|
44
|
+
fields?: ValidationExceptionField[] | undefined;
|
|
45
|
+
constructor(
|
|
46
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
47
|
+
);
|
|
48
|
+
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { MarketplaceAgreementServiceException as __BaseException } from "./MarketplaceAgreementServiceException";
|
|
1
|
+
import { AgreementStatus, SortOrder } from "./enums";
|
|
3
2
|
export interface ByolPricingTerm {
|
|
4
3
|
type?: string | undefined;
|
|
5
4
|
}
|
|
@@ -301,27 +300,6 @@ export declare namespace AcceptedTerm {
|
|
|
301
300
|
export interface Acceptor {
|
|
302
301
|
accountId?: string | undefined;
|
|
303
302
|
}
|
|
304
|
-
export declare class AccessDeniedException extends __BaseException {
|
|
305
|
-
readonly name: "AccessDeniedException";
|
|
306
|
-
readonly $fault: "client";
|
|
307
|
-
requestId?: string | undefined;
|
|
308
|
-
constructor(
|
|
309
|
-
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
310
|
-
);
|
|
311
|
-
}
|
|
312
|
-
export declare const AgreementStatus: {
|
|
313
|
-
readonly ACTIVE: "ACTIVE";
|
|
314
|
-
readonly ARCHIVED: "ARCHIVED";
|
|
315
|
-
readonly CANCELLED: "CANCELLED";
|
|
316
|
-
readonly EXPIRED: "EXPIRED";
|
|
317
|
-
readonly RENEWED: "RENEWED";
|
|
318
|
-
readonly REPLACED: "REPLACED";
|
|
319
|
-
readonly ROLLED_BACK: "ROLLED_BACK";
|
|
320
|
-
readonly SUPERSEDED: "SUPERSEDED";
|
|
321
|
-
readonly TERMINATED: "TERMINATED";
|
|
322
|
-
};
|
|
323
|
-
export type AgreementStatus =
|
|
324
|
-
(typeof AgreementStatus)[keyof typeof AgreementStatus];
|
|
325
303
|
export interface Resource {
|
|
326
304
|
id?: string | undefined;
|
|
327
305
|
type?: string | undefined;
|
|
@@ -363,65 +341,10 @@ export interface DescribeAgreementOutput {
|
|
|
363
341
|
proposalSummary?: ProposalSummary | undefined;
|
|
364
342
|
status?: AgreementStatus | undefined;
|
|
365
343
|
}
|
|
366
|
-
export declare class InternalServerException extends __BaseException {
|
|
367
|
-
readonly name: "InternalServerException";
|
|
368
|
-
readonly $fault: "server";
|
|
369
|
-
requestId?: string | undefined;
|
|
370
|
-
constructor(
|
|
371
|
-
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
372
|
-
);
|
|
373
|
-
}
|
|
374
|
-
export declare const ResourceType: {
|
|
375
|
-
readonly AGREEMENT: "Agreement";
|
|
376
|
-
};
|
|
377
|
-
export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
|
|
378
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
379
|
-
readonly name: "ResourceNotFoundException";
|
|
380
|
-
readonly $fault: "client";
|
|
381
|
-
requestId?: string | undefined;
|
|
382
|
-
resourceId?: string | undefined;
|
|
383
|
-
resourceType?: ResourceType | undefined;
|
|
384
|
-
constructor(
|
|
385
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
386
|
-
);
|
|
387
|
-
}
|
|
388
|
-
export declare class ThrottlingException extends __BaseException {
|
|
389
|
-
readonly name: "ThrottlingException";
|
|
390
|
-
readonly $fault: "client";
|
|
391
|
-
requestId?: string | undefined;
|
|
392
|
-
constructor(
|
|
393
|
-
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
394
|
-
);
|
|
395
|
-
}
|
|
396
344
|
export interface ValidationExceptionField {
|
|
397
345
|
name: string | undefined;
|
|
398
346
|
message: string | undefined;
|
|
399
347
|
}
|
|
400
|
-
export declare const ValidationExceptionReason: {
|
|
401
|
-
readonly INVALID_AGREEMENT_ID: "INVALID_AGREEMENT_ID";
|
|
402
|
-
readonly INVALID_CATALOG: "INVALID_CATALOG";
|
|
403
|
-
readonly INVALID_FILTER_NAME: "INVALID_FILTER_NAME";
|
|
404
|
-
readonly INVALID_FILTER_VALUES: "INVALID_FILTER_VALUES";
|
|
405
|
-
readonly INVALID_MAX_RESULTS: "INVALID_MAX_RESULTS";
|
|
406
|
-
readonly INVALID_NEXT_TOKEN: "INVALID_NEXT_TOKEN";
|
|
407
|
-
readonly INVALID_SORT_BY: "INVALID_SORT_BY";
|
|
408
|
-
readonly INVALID_SORT_ORDER: "INVALID_SORT_ORDER";
|
|
409
|
-
readonly MISSING_AGREEMENT_ID: "MISSING_AGREEMENT_ID";
|
|
410
|
-
readonly OTHER: "OTHER";
|
|
411
|
-
readonly UNSUPPORTED_FILTERS: "UNSUPPORTED_FILTERS";
|
|
412
|
-
};
|
|
413
|
-
export type ValidationExceptionReason =
|
|
414
|
-
(typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
415
|
-
export declare class ValidationException extends __BaseException {
|
|
416
|
-
readonly name: "ValidationException";
|
|
417
|
-
readonly $fault: "client";
|
|
418
|
-
requestId?: string | undefined;
|
|
419
|
-
reason?: ValidationExceptionReason | undefined;
|
|
420
|
-
fields?: ValidationExceptionField[] | undefined;
|
|
421
|
-
constructor(
|
|
422
|
-
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
423
|
-
);
|
|
424
|
-
}
|
|
425
348
|
export interface GetAgreementTermsInput {
|
|
426
349
|
agreementId: string | undefined;
|
|
427
350
|
maxResults?: number | undefined;
|
|
@@ -435,11 +358,6 @@ export interface Filter {
|
|
|
435
358
|
name?: string | undefined;
|
|
436
359
|
values?: string[] | undefined;
|
|
437
360
|
}
|
|
438
|
-
export declare const SortOrder: {
|
|
439
|
-
readonly ASCENDING: "ASCENDING";
|
|
440
|
-
readonly DESCENDING: "DESCENDING";
|
|
441
|
-
};
|
|
442
|
-
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
|
|
443
361
|
export interface Sort {
|
|
444
362
|
sortBy?: string | undefined;
|
|
445
363
|
sortOrder?: SortOrder | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-marketplace-agreement",
|
|
3
3
|
"description": "AWS SDK for JavaScript Marketplace Agreement Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.935.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-marketplace-agreement",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.935.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.935.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.930.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.930.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.933.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.935.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.930.0",
|
|
30
30
|
"@aws-sdk/types": "3.930.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.930.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.930.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.935.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
35
|
+
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
37
|
"@smithy/hash-node": "^4.2.5",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.12",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.6",
|
|
43
43
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
44
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
45
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
46
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
47
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
48
48
|
"@smithy/types": "^4.9.0",
|
|
49
49
|
"@smithy/url-parser": "^4.2.5",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.11",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.14",
|
|
55
55
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
56
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
57
|
"@smithy/util-retry": "^4.2.5",
|
package/dist-es/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|