@aws-sdk/client-pricing 3.934.0 → 3.936.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 +8 -7
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +7 -0
- package/dist-es/models/errors.js +117 -0
- package/dist-es/models/models_0.js +1 -124
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +15 -0
- package/dist-types/models/errors.d.ts +111 -0
- package/dist-types/models/models_0.d.ts +2 -126
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +8 -0
- package/dist-types/ts3.4/models/errors.d.ts +68 -0
- package/dist-types/ts3.4/models/models_0.d.ts +2 -79
- package/package.json +19 -19
- 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
|
@@ -233,13 +233,6 @@ let ResourceNotFoundException$1 = class ResourceNotFoundException extends Pricin
|
|
|
233
233
|
this.Message = opts.Message;
|
|
234
234
|
}
|
|
235
235
|
};
|
|
236
|
-
const FilterType = {
|
|
237
|
-
ANY_OF: "ANY_OF",
|
|
238
|
-
CONTAINS: "CONTAINS",
|
|
239
|
-
EQUALS: "EQUALS",
|
|
240
|
-
NONE_OF: "NONE_OF",
|
|
241
|
-
TERM_MATCH: "TERM_MATCH",
|
|
242
|
-
};
|
|
243
236
|
|
|
244
237
|
const _ADE = "AccessDeniedException";
|
|
245
238
|
const _AN = "AttributeName";
|
|
@@ -575,6 +568,14 @@ const paginateGetProducts = core.createPaginator(PricingClient, GetProductsComma
|
|
|
575
568
|
|
|
576
569
|
const paginateListPriceLists = core.createPaginator(PricingClient, ListPriceListsCommand, "NextToken", "NextToken", "MaxResults");
|
|
577
570
|
|
|
571
|
+
const FilterType = {
|
|
572
|
+
ANY_OF: "ANY_OF",
|
|
573
|
+
CONTAINS: "CONTAINS",
|
|
574
|
+
EQUALS: "EQUALS",
|
|
575
|
+
NONE_OF: "NONE_OF",
|
|
576
|
+
TERM_MATCH: "TERM_MATCH",
|
|
577
|
+
};
|
|
578
|
+
|
|
578
579
|
Object.defineProperty(exports, "$Command", {
|
|
579
580
|
enumerable: true,
|
|
580
581
|
get: function () { return smithyClient.Command; }
|
package/dist-es/index.js
CHANGED
|
@@ -2,5 +2,6 @@ export * from "./PricingClient";
|
|
|
2
2
|
export * from "./Pricing";
|
|
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 { PricingServiceException } from "./models/PricingServiceException";
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { PricingServiceException as __BaseException } from "./PricingServiceException";
|
|
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 ExpiredNextTokenException extends __BaseException {
|
|
17
|
+
name = "ExpiredNextTokenException";
|
|
18
|
+
$fault = "client";
|
|
19
|
+
Message;
|
|
20
|
+
constructor(opts) {
|
|
21
|
+
super({
|
|
22
|
+
name: "ExpiredNextTokenException",
|
|
23
|
+
$fault: "client",
|
|
24
|
+
...opts,
|
|
25
|
+
});
|
|
26
|
+
Object.setPrototypeOf(this, ExpiredNextTokenException.prototype);
|
|
27
|
+
this.Message = opts.Message;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
export class InternalErrorException extends __BaseException {
|
|
31
|
+
name = "InternalErrorException";
|
|
32
|
+
$fault = "server";
|
|
33
|
+
$retryable = {};
|
|
34
|
+
Message;
|
|
35
|
+
constructor(opts) {
|
|
36
|
+
super({
|
|
37
|
+
name: "InternalErrorException",
|
|
38
|
+
$fault: "server",
|
|
39
|
+
...opts,
|
|
40
|
+
});
|
|
41
|
+
Object.setPrototypeOf(this, InternalErrorException.prototype);
|
|
42
|
+
this.Message = opts.Message;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
export class InvalidNextTokenException extends __BaseException {
|
|
46
|
+
name = "InvalidNextTokenException";
|
|
47
|
+
$fault = "client";
|
|
48
|
+
Message;
|
|
49
|
+
constructor(opts) {
|
|
50
|
+
super({
|
|
51
|
+
name: "InvalidNextTokenException",
|
|
52
|
+
$fault: "client",
|
|
53
|
+
...opts,
|
|
54
|
+
});
|
|
55
|
+
Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
|
|
56
|
+
this.Message = opts.Message;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
export class InvalidParameterException extends __BaseException {
|
|
60
|
+
name = "InvalidParameterException";
|
|
61
|
+
$fault = "client";
|
|
62
|
+
Message;
|
|
63
|
+
constructor(opts) {
|
|
64
|
+
super({
|
|
65
|
+
name: "InvalidParameterException",
|
|
66
|
+
$fault: "client",
|
|
67
|
+
...opts,
|
|
68
|
+
});
|
|
69
|
+
Object.setPrototypeOf(this, InvalidParameterException.prototype);
|
|
70
|
+
this.Message = opts.Message;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
export class NotFoundException extends __BaseException {
|
|
74
|
+
name = "NotFoundException";
|
|
75
|
+
$fault = "client";
|
|
76
|
+
Message;
|
|
77
|
+
constructor(opts) {
|
|
78
|
+
super({
|
|
79
|
+
name: "NotFoundException",
|
|
80
|
+
$fault: "client",
|
|
81
|
+
...opts,
|
|
82
|
+
});
|
|
83
|
+
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
84
|
+
this.Message = opts.Message;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
export class ThrottlingException extends __BaseException {
|
|
88
|
+
name = "ThrottlingException";
|
|
89
|
+
$fault = "client";
|
|
90
|
+
$retryable = {
|
|
91
|
+
throttling: true,
|
|
92
|
+
};
|
|
93
|
+
Message;
|
|
94
|
+
constructor(opts) {
|
|
95
|
+
super({
|
|
96
|
+
name: "ThrottlingException",
|
|
97
|
+
$fault: "client",
|
|
98
|
+
...opts,
|
|
99
|
+
});
|
|
100
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
101
|
+
this.Message = opts.Message;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
105
|
+
name = "ResourceNotFoundException";
|
|
106
|
+
$fault = "client";
|
|
107
|
+
Message;
|
|
108
|
+
constructor(opts) {
|
|
109
|
+
super({
|
|
110
|
+
name: "ResourceNotFoundException",
|
|
111
|
+
$fault: "client",
|
|
112
|
+
...opts,
|
|
113
|
+
});
|
|
114
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
115
|
+
this.Message = opts.Message;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
@@ -1,124 +1 @@
|
|
|
1
|
-
|
|
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 ExpiredNextTokenException extends __BaseException {
|
|
17
|
-
name = "ExpiredNextTokenException";
|
|
18
|
-
$fault = "client";
|
|
19
|
-
Message;
|
|
20
|
-
constructor(opts) {
|
|
21
|
-
super({
|
|
22
|
-
name: "ExpiredNextTokenException",
|
|
23
|
-
$fault: "client",
|
|
24
|
-
...opts,
|
|
25
|
-
});
|
|
26
|
-
Object.setPrototypeOf(this, ExpiredNextTokenException.prototype);
|
|
27
|
-
this.Message = opts.Message;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
export class InternalErrorException extends __BaseException {
|
|
31
|
-
name = "InternalErrorException";
|
|
32
|
-
$fault = "server";
|
|
33
|
-
$retryable = {};
|
|
34
|
-
Message;
|
|
35
|
-
constructor(opts) {
|
|
36
|
-
super({
|
|
37
|
-
name: "InternalErrorException",
|
|
38
|
-
$fault: "server",
|
|
39
|
-
...opts,
|
|
40
|
-
});
|
|
41
|
-
Object.setPrototypeOf(this, InternalErrorException.prototype);
|
|
42
|
-
this.Message = opts.Message;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
export class InvalidNextTokenException extends __BaseException {
|
|
46
|
-
name = "InvalidNextTokenException";
|
|
47
|
-
$fault = "client";
|
|
48
|
-
Message;
|
|
49
|
-
constructor(opts) {
|
|
50
|
-
super({
|
|
51
|
-
name: "InvalidNextTokenException",
|
|
52
|
-
$fault: "client",
|
|
53
|
-
...opts,
|
|
54
|
-
});
|
|
55
|
-
Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
|
|
56
|
-
this.Message = opts.Message;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
export class InvalidParameterException extends __BaseException {
|
|
60
|
-
name = "InvalidParameterException";
|
|
61
|
-
$fault = "client";
|
|
62
|
-
Message;
|
|
63
|
-
constructor(opts) {
|
|
64
|
-
super({
|
|
65
|
-
name: "InvalidParameterException",
|
|
66
|
-
$fault: "client",
|
|
67
|
-
...opts,
|
|
68
|
-
});
|
|
69
|
-
Object.setPrototypeOf(this, InvalidParameterException.prototype);
|
|
70
|
-
this.Message = opts.Message;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
export class NotFoundException extends __BaseException {
|
|
74
|
-
name = "NotFoundException";
|
|
75
|
-
$fault = "client";
|
|
76
|
-
Message;
|
|
77
|
-
constructor(opts) {
|
|
78
|
-
super({
|
|
79
|
-
name: "NotFoundException",
|
|
80
|
-
$fault: "client",
|
|
81
|
-
...opts,
|
|
82
|
-
});
|
|
83
|
-
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
84
|
-
this.Message = opts.Message;
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
export class ThrottlingException extends __BaseException {
|
|
88
|
-
name = "ThrottlingException";
|
|
89
|
-
$fault = "client";
|
|
90
|
-
$retryable = {
|
|
91
|
-
throttling: true,
|
|
92
|
-
};
|
|
93
|
-
Message;
|
|
94
|
-
constructor(opts) {
|
|
95
|
-
super({
|
|
96
|
-
name: "ThrottlingException",
|
|
97
|
-
$fault: "client",
|
|
98
|
-
...opts,
|
|
99
|
-
});
|
|
100
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
101
|
-
this.Message = opts.Message;
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
105
|
-
name = "ResourceNotFoundException";
|
|
106
|
-
$fault = "client";
|
|
107
|
-
Message;
|
|
108
|
-
constructor(opts) {
|
|
109
|
-
super({
|
|
110
|
-
name: "ResourceNotFoundException",
|
|
111
|
-
$fault: "client",
|
|
112
|
-
...opts,
|
|
113
|
-
});
|
|
114
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
115
|
-
this.Message = opts.Message;
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
export const FilterType = {
|
|
119
|
-
ANY_OF: "ANY_OF",
|
|
120
|
-
CONTAINS: "CONTAINS",
|
|
121
|
-
EQUALS: "EQUALS",
|
|
122
|
-
NONE_OF: "NONE_OF",
|
|
123
|
-
TERM_MATCH: "TERM_MATCH",
|
|
124
|
-
};
|
|
1
|
+
export {};
|
|
@@ -59,7 +59,7 @@ const _s = "server";
|
|
|
59
59
|
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.pricing";
|
|
60
60
|
const n0 = "com.amazonaws.pricing";
|
|
61
61
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
62
|
-
import { AccessDeniedException as __AccessDeniedException, ExpiredNextTokenException as __ExpiredNextTokenException, InternalErrorException as __InternalErrorException, InvalidNextTokenException as __InvalidNextTokenException, InvalidParameterException as __InvalidParameterException, NotFoundException as __NotFoundException, ResourceNotFoundException as __ResourceNotFoundException, ThrottlingException as __ThrottlingException, } from "../models/
|
|
62
|
+
import { AccessDeniedException as __AccessDeniedException, ExpiredNextTokenException as __ExpiredNextTokenException, InternalErrorException as __InternalErrorException, InvalidNextTokenException as __InvalidNextTokenException, InvalidParameterException as __InvalidParameterException, NotFoundException as __NotFoundException, ResourceNotFoundException as __ResourceNotFoundException, ThrottlingException as __ThrottlingException, } from "../models/errors";
|
|
63
63
|
import { PricingServiceException as __PricingServiceException } from "../models/PricingServiceException";
|
|
64
64
|
export var SynthesizedJsonPriceListJsonItem = [
|
|
65
65
|
0,
|
package/dist-types/index.d.ts
CHANGED
|
@@ -38,5 +38,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
38
38
|
export type { PricingExtensionConfiguration } from "./extensionConfiguration";
|
|
39
39
|
export * from "./commands";
|
|
40
40
|
export * from "./pagination";
|
|
41
|
-
export * from "./models";
|
|
41
|
+
export * from "./models/enums";
|
|
42
|
+
export * from "./models/errors";
|
|
43
|
+
export type * from "./models/models_0";
|
|
42
44
|
export { PricingServiceException } from "./models/PricingServiceException";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const FilterType: {
|
|
6
|
+
readonly ANY_OF: "ANY_OF";
|
|
7
|
+
readonly CONTAINS: "CONTAINS";
|
|
8
|
+
readonly EQUALS: "EQUALS";
|
|
9
|
+
readonly NONE_OF: "NONE_OF";
|
|
10
|
+
readonly TERM_MATCH: "TERM_MATCH";
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
export type FilterType = (typeof FilterType)[keyof typeof FilterType];
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { PricingServiceException as __BaseException } from "./PricingServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p>General authentication failure. The request wasn't signed correctly.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
8
|
+
readonly name: "AccessDeniedException";
|
|
9
|
+
readonly $fault: "client";
|
|
10
|
+
Message?: string | undefined;
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* <p>The pagination token expired. Try again without a pagination token.</p>
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
export declare class ExpiredNextTokenException extends __BaseException {
|
|
21
|
+
readonly name: "ExpiredNextTokenException";
|
|
22
|
+
readonly $fault: "client";
|
|
23
|
+
Message?: string | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* @internal
|
|
26
|
+
*/
|
|
27
|
+
constructor(opts: __ExceptionOptionType<ExpiredNextTokenException, __BaseException>);
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* <p>An error on the server occurred during the processing of your request. Try again later.</p>
|
|
31
|
+
* @public
|
|
32
|
+
*/
|
|
33
|
+
export declare class InternalErrorException extends __BaseException {
|
|
34
|
+
readonly name: "InternalErrorException";
|
|
35
|
+
readonly $fault: "server";
|
|
36
|
+
$retryable: {};
|
|
37
|
+
Message?: string | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* @internal
|
|
40
|
+
*/
|
|
41
|
+
constructor(opts: __ExceptionOptionType<InternalErrorException, __BaseException>);
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* <p>The pagination token is invalid. Try again without a pagination token.</p>
|
|
45
|
+
* @public
|
|
46
|
+
*/
|
|
47
|
+
export declare class InvalidNextTokenException extends __BaseException {
|
|
48
|
+
readonly name: "InvalidNextTokenException";
|
|
49
|
+
readonly $fault: "client";
|
|
50
|
+
Message?: string | undefined;
|
|
51
|
+
/**
|
|
52
|
+
* @internal
|
|
53
|
+
*/
|
|
54
|
+
constructor(opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>);
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* <p>One or more parameters had an invalid value.</p>
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
export declare class InvalidParameterException extends __BaseException {
|
|
61
|
+
readonly name: "InvalidParameterException";
|
|
62
|
+
readonly $fault: "client";
|
|
63
|
+
Message?: string | undefined;
|
|
64
|
+
/**
|
|
65
|
+
* @internal
|
|
66
|
+
*/
|
|
67
|
+
constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* <p>The requested resource can't be found.</p>
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
export declare class NotFoundException extends __BaseException {
|
|
74
|
+
readonly name: "NotFoundException";
|
|
75
|
+
readonly $fault: "client";
|
|
76
|
+
Message?: string | undefined;
|
|
77
|
+
/**
|
|
78
|
+
* @internal
|
|
79
|
+
*/
|
|
80
|
+
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* <p>You've made too many requests exceeding service quotas.
|
|
84
|
+
* </p>
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
export declare class ThrottlingException extends __BaseException {
|
|
88
|
+
readonly name: "ThrottlingException";
|
|
89
|
+
readonly $fault: "client";
|
|
90
|
+
$retryable: {
|
|
91
|
+
throttling: boolean;
|
|
92
|
+
};
|
|
93
|
+
Message?: string | undefined;
|
|
94
|
+
/**
|
|
95
|
+
* @internal
|
|
96
|
+
*/
|
|
97
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* <p>The requested resource can't be found.</p>
|
|
101
|
+
* @public
|
|
102
|
+
*/
|
|
103
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
104
|
+
readonly name: "ResourceNotFoundException";
|
|
105
|
+
readonly $fault: "client";
|
|
106
|
+
Message?: string | undefined;
|
|
107
|
+
/**
|
|
108
|
+
* @internal
|
|
109
|
+
*/
|
|
110
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
111
|
+
}
|
|
@@ -1,18 +1,5 @@
|
|
|
1
|
-
import { AutomaticJsonStringConversion as __AutomaticJsonStringConversion
|
|
2
|
-
import {
|
|
3
|
-
/**
|
|
4
|
-
* <p>General authentication failure. The request wasn't signed correctly.</p>
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export declare class AccessDeniedException extends __BaseException {
|
|
8
|
-
readonly name: "AccessDeniedException";
|
|
9
|
-
readonly $fault: "client";
|
|
10
|
-
Message?: string | undefined;
|
|
11
|
-
/**
|
|
12
|
-
* @internal
|
|
13
|
-
*/
|
|
14
|
-
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
15
|
-
}
|
|
1
|
+
import { AutomaticJsonStringConversion as __AutomaticJsonStringConversion } from "@smithy/smithy-client";
|
|
2
|
+
import { FilterType } from "./enums";
|
|
16
3
|
/**
|
|
17
4
|
* <p>The values of a given attribute, such as <code>Throughput Optimized HDD</code> or <code>Provisioned
|
|
18
5
|
* IOPS</code> for the <code>Amazon EC2</code>
|
|
@@ -92,89 +79,6 @@ export interface DescribeServicesResponse {
|
|
|
92
79
|
*/
|
|
93
80
|
NextToken?: string | undefined;
|
|
94
81
|
}
|
|
95
|
-
/**
|
|
96
|
-
* <p>The pagination token expired. Try again without a pagination token.</p>
|
|
97
|
-
* @public
|
|
98
|
-
*/
|
|
99
|
-
export declare class ExpiredNextTokenException extends __BaseException {
|
|
100
|
-
readonly name: "ExpiredNextTokenException";
|
|
101
|
-
readonly $fault: "client";
|
|
102
|
-
Message?: string | undefined;
|
|
103
|
-
/**
|
|
104
|
-
* @internal
|
|
105
|
-
*/
|
|
106
|
-
constructor(opts: __ExceptionOptionType<ExpiredNextTokenException, __BaseException>);
|
|
107
|
-
}
|
|
108
|
-
/**
|
|
109
|
-
* <p>An error on the server occurred during the processing of your request. Try again later.</p>
|
|
110
|
-
* @public
|
|
111
|
-
*/
|
|
112
|
-
export declare class InternalErrorException extends __BaseException {
|
|
113
|
-
readonly name: "InternalErrorException";
|
|
114
|
-
readonly $fault: "server";
|
|
115
|
-
$retryable: {};
|
|
116
|
-
Message?: string | undefined;
|
|
117
|
-
/**
|
|
118
|
-
* @internal
|
|
119
|
-
*/
|
|
120
|
-
constructor(opts: __ExceptionOptionType<InternalErrorException, __BaseException>);
|
|
121
|
-
}
|
|
122
|
-
/**
|
|
123
|
-
* <p>The pagination token is invalid. Try again without a pagination token.</p>
|
|
124
|
-
* @public
|
|
125
|
-
*/
|
|
126
|
-
export declare class InvalidNextTokenException extends __BaseException {
|
|
127
|
-
readonly name: "InvalidNextTokenException";
|
|
128
|
-
readonly $fault: "client";
|
|
129
|
-
Message?: string | undefined;
|
|
130
|
-
/**
|
|
131
|
-
* @internal
|
|
132
|
-
*/
|
|
133
|
-
constructor(opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>);
|
|
134
|
-
}
|
|
135
|
-
/**
|
|
136
|
-
* <p>One or more parameters had an invalid value.</p>
|
|
137
|
-
* @public
|
|
138
|
-
*/
|
|
139
|
-
export declare class InvalidParameterException extends __BaseException {
|
|
140
|
-
readonly name: "InvalidParameterException";
|
|
141
|
-
readonly $fault: "client";
|
|
142
|
-
Message?: string | undefined;
|
|
143
|
-
/**
|
|
144
|
-
* @internal
|
|
145
|
-
*/
|
|
146
|
-
constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
|
|
147
|
-
}
|
|
148
|
-
/**
|
|
149
|
-
* <p>The requested resource can't be found.</p>
|
|
150
|
-
* @public
|
|
151
|
-
*/
|
|
152
|
-
export declare class NotFoundException extends __BaseException {
|
|
153
|
-
readonly name: "NotFoundException";
|
|
154
|
-
readonly $fault: "client";
|
|
155
|
-
Message?: string | undefined;
|
|
156
|
-
/**
|
|
157
|
-
* @internal
|
|
158
|
-
*/
|
|
159
|
-
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
160
|
-
}
|
|
161
|
-
/**
|
|
162
|
-
* <p>You've made too many requests exceeding service quotas.
|
|
163
|
-
* </p>
|
|
164
|
-
* @public
|
|
165
|
-
*/
|
|
166
|
-
export declare class ThrottlingException extends __BaseException {
|
|
167
|
-
readonly name: "ThrottlingException";
|
|
168
|
-
readonly $fault: "client";
|
|
169
|
-
$retryable: {
|
|
170
|
-
throttling: boolean;
|
|
171
|
-
};
|
|
172
|
-
Message?: string | undefined;
|
|
173
|
-
/**
|
|
174
|
-
* @internal
|
|
175
|
-
*/
|
|
176
|
-
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
177
|
-
}
|
|
178
82
|
/**
|
|
179
83
|
* @public
|
|
180
84
|
*/
|
|
@@ -245,34 +149,6 @@ export interface GetPriceListFileUrlResponse {
|
|
|
245
149
|
*/
|
|
246
150
|
Url?: string | undefined;
|
|
247
151
|
}
|
|
248
|
-
/**
|
|
249
|
-
* <p>The requested resource can't be found.</p>
|
|
250
|
-
* @public
|
|
251
|
-
*/
|
|
252
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
253
|
-
readonly name: "ResourceNotFoundException";
|
|
254
|
-
readonly $fault: "client";
|
|
255
|
-
Message?: string | undefined;
|
|
256
|
-
/**
|
|
257
|
-
* @internal
|
|
258
|
-
*/
|
|
259
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
260
|
-
}
|
|
261
|
-
/**
|
|
262
|
-
* @public
|
|
263
|
-
* @enum
|
|
264
|
-
*/
|
|
265
|
-
export declare const FilterType: {
|
|
266
|
-
readonly ANY_OF: "ANY_OF";
|
|
267
|
-
readonly CONTAINS: "CONTAINS";
|
|
268
|
-
readonly EQUALS: "EQUALS";
|
|
269
|
-
readonly NONE_OF: "NONE_OF";
|
|
270
|
-
readonly TERM_MATCH: "TERM_MATCH";
|
|
271
|
-
};
|
|
272
|
-
/**
|
|
273
|
-
* @public
|
|
274
|
-
*/
|
|
275
|
-
export type FilterType = (typeof FilterType)[keyof typeof FilterType];
|
|
276
152
|
/**
|
|
277
153
|
* <p>The constraints that you want all returned products to match.</p>
|
|
278
154
|
* @public
|
|
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
5
5
|
export { PricingExtensionConfiguration } 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 { PricingServiceException } from "./models/PricingServiceException";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const FilterType: {
|
|
2
|
+
readonly ANY_OF: "ANY_OF";
|
|
3
|
+
readonly CONTAINS: "CONTAINS";
|
|
4
|
+
readonly EQUALS: "EQUALS";
|
|
5
|
+
readonly NONE_OF: "NONE_OF";
|
|
6
|
+
readonly TERM_MATCH: "TERM_MATCH";
|
|
7
|
+
};
|
|
8
|
+
export type FilterType = (typeof FilterType)[keyof typeof FilterType];
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { PricingServiceException as __BaseException } from "./PricingServiceException";
|
|
3
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
4
|
+
readonly name: "AccessDeniedException";
|
|
5
|
+
readonly $fault: "client";
|
|
6
|
+
Message?: string | undefined;
|
|
7
|
+
constructor(
|
|
8
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
9
|
+
);
|
|
10
|
+
}
|
|
11
|
+
export declare class ExpiredNextTokenException extends __BaseException {
|
|
12
|
+
readonly name: "ExpiredNextTokenException";
|
|
13
|
+
readonly $fault: "client";
|
|
14
|
+
Message?: string | undefined;
|
|
15
|
+
constructor(
|
|
16
|
+
opts: __ExceptionOptionType<ExpiredNextTokenException, __BaseException>
|
|
17
|
+
);
|
|
18
|
+
}
|
|
19
|
+
export declare class InternalErrorException extends __BaseException {
|
|
20
|
+
readonly name: "InternalErrorException";
|
|
21
|
+
readonly $fault: "server";
|
|
22
|
+
$retryable: {};
|
|
23
|
+
Message?: string | undefined;
|
|
24
|
+
constructor(
|
|
25
|
+
opts: __ExceptionOptionType<InternalErrorException, __BaseException>
|
|
26
|
+
);
|
|
27
|
+
}
|
|
28
|
+
export declare class InvalidNextTokenException extends __BaseException {
|
|
29
|
+
readonly name: "InvalidNextTokenException";
|
|
30
|
+
readonly $fault: "client";
|
|
31
|
+
Message?: string | undefined;
|
|
32
|
+
constructor(
|
|
33
|
+
opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>
|
|
34
|
+
);
|
|
35
|
+
}
|
|
36
|
+
export declare class InvalidParameterException extends __BaseException {
|
|
37
|
+
readonly name: "InvalidParameterException";
|
|
38
|
+
readonly $fault: "client";
|
|
39
|
+
Message?: string | undefined;
|
|
40
|
+
constructor(
|
|
41
|
+
opts: __ExceptionOptionType<InvalidParameterException, __BaseException>
|
|
42
|
+
);
|
|
43
|
+
}
|
|
44
|
+
export declare class NotFoundException extends __BaseException {
|
|
45
|
+
readonly name: "NotFoundException";
|
|
46
|
+
readonly $fault: "client";
|
|
47
|
+
Message?: string | undefined;
|
|
48
|
+
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
49
|
+
}
|
|
50
|
+
export declare class ThrottlingException extends __BaseException {
|
|
51
|
+
readonly name: "ThrottlingException";
|
|
52
|
+
readonly $fault: "client";
|
|
53
|
+
$retryable: {
|
|
54
|
+
throttling: boolean;
|
|
55
|
+
};
|
|
56
|
+
Message?: string | undefined;
|
|
57
|
+
constructor(
|
|
58
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
59
|
+
);
|
|
60
|
+
}
|
|
61
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
62
|
+
readonly name: "ResourceNotFoundException";
|
|
63
|
+
readonly $fault: "client";
|
|
64
|
+
Message?: string | undefined;
|
|
65
|
+
constructor(
|
|
66
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
67
|
+
);
|
|
68
|
+
}
|
|
@@ -1,16 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
ExceptionOptionType as __ExceptionOptionType,
|
|
4
|
-
} from "@smithy/smithy-client";
|
|
5
|
-
import { PricingServiceException as __BaseException } from "./PricingServiceException";
|
|
6
|
-
export declare class AccessDeniedException extends __BaseException {
|
|
7
|
-
readonly name: "AccessDeniedException";
|
|
8
|
-
readonly $fault: "client";
|
|
9
|
-
Message?: string | undefined;
|
|
10
|
-
constructor(
|
|
11
|
-
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
12
|
-
);
|
|
13
|
-
}
|
|
1
|
+
import { AutomaticJsonStringConversion as __AutomaticJsonStringConversion } from "@smithy/smithy-client";
|
|
2
|
+
import { FilterType } from "./enums";
|
|
14
3
|
export interface AttributeValue {
|
|
15
4
|
Value?: string | undefined;
|
|
16
5
|
}
|
|
@@ -29,56 +18,6 @@ export interface DescribeServicesResponse {
|
|
|
29
18
|
FormatVersion?: string | undefined;
|
|
30
19
|
NextToken?: string | undefined;
|
|
31
20
|
}
|
|
32
|
-
export declare class ExpiredNextTokenException extends __BaseException {
|
|
33
|
-
readonly name: "ExpiredNextTokenException";
|
|
34
|
-
readonly $fault: "client";
|
|
35
|
-
Message?: string | undefined;
|
|
36
|
-
constructor(
|
|
37
|
-
opts: __ExceptionOptionType<ExpiredNextTokenException, __BaseException>
|
|
38
|
-
);
|
|
39
|
-
}
|
|
40
|
-
export declare class InternalErrorException extends __BaseException {
|
|
41
|
-
readonly name: "InternalErrorException";
|
|
42
|
-
readonly $fault: "server";
|
|
43
|
-
$retryable: {};
|
|
44
|
-
Message?: string | undefined;
|
|
45
|
-
constructor(
|
|
46
|
-
opts: __ExceptionOptionType<InternalErrorException, __BaseException>
|
|
47
|
-
);
|
|
48
|
-
}
|
|
49
|
-
export declare class InvalidNextTokenException extends __BaseException {
|
|
50
|
-
readonly name: "InvalidNextTokenException";
|
|
51
|
-
readonly $fault: "client";
|
|
52
|
-
Message?: string | undefined;
|
|
53
|
-
constructor(
|
|
54
|
-
opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>
|
|
55
|
-
);
|
|
56
|
-
}
|
|
57
|
-
export declare class InvalidParameterException extends __BaseException {
|
|
58
|
-
readonly name: "InvalidParameterException";
|
|
59
|
-
readonly $fault: "client";
|
|
60
|
-
Message?: string | undefined;
|
|
61
|
-
constructor(
|
|
62
|
-
opts: __ExceptionOptionType<InvalidParameterException, __BaseException>
|
|
63
|
-
);
|
|
64
|
-
}
|
|
65
|
-
export declare class NotFoundException extends __BaseException {
|
|
66
|
-
readonly name: "NotFoundException";
|
|
67
|
-
readonly $fault: "client";
|
|
68
|
-
Message?: string | undefined;
|
|
69
|
-
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
70
|
-
}
|
|
71
|
-
export declare class ThrottlingException extends __BaseException {
|
|
72
|
-
readonly name: "ThrottlingException";
|
|
73
|
-
readonly $fault: "client";
|
|
74
|
-
$retryable: {
|
|
75
|
-
throttling: boolean;
|
|
76
|
-
};
|
|
77
|
-
Message?: string | undefined;
|
|
78
|
-
constructor(
|
|
79
|
-
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
80
|
-
);
|
|
81
|
-
}
|
|
82
21
|
export interface GetAttributeValuesRequest {
|
|
83
22
|
ServiceCode: string | undefined;
|
|
84
23
|
AttributeName: string | undefined;
|
|
@@ -96,22 +35,6 @@ export interface GetPriceListFileUrlRequest {
|
|
|
96
35
|
export interface GetPriceListFileUrlResponse {
|
|
97
36
|
Url?: string | undefined;
|
|
98
37
|
}
|
|
99
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
100
|
-
readonly name: "ResourceNotFoundException";
|
|
101
|
-
readonly $fault: "client";
|
|
102
|
-
Message?: string | undefined;
|
|
103
|
-
constructor(
|
|
104
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
105
|
-
);
|
|
106
|
-
}
|
|
107
|
-
export declare const FilterType: {
|
|
108
|
-
readonly ANY_OF: "ANY_OF";
|
|
109
|
-
readonly CONTAINS: "CONTAINS";
|
|
110
|
-
readonly EQUALS: "EQUALS";
|
|
111
|
-
readonly NONE_OF: "NONE_OF";
|
|
112
|
-
readonly TERM_MATCH: "TERM_MATCH";
|
|
113
|
-
};
|
|
114
|
-
export type FilterType = (typeof FilterType)[keyof typeof FilterType];
|
|
115
38
|
export interface Filter {
|
|
116
39
|
Type: FilterType | undefined;
|
|
117
40
|
Field: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-pricing",
|
|
3
3
|
"description": "AWS SDK for JavaScript Pricing Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.936.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-pricing",
|
|
@@ -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.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.936.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.936.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.936.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.936.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.936.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.936.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.936.0",
|
|
30
|
+
"@aws-sdk/types": "3.936.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.936.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.936.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.936.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";
|